/* Shared privacy, dialog and accessibility styles. Navbar/Footer: assets/css/layout.css */
/* Stendel & Peitzmeier | site-shell.css | formatiert, Deklarationen unverändert. */

:root {
    --shell-red: #e31b23;
    --shell-ink: #101212;
    --shell-line: #363d39;
    --shell-text: #f4f5f2;
}

html {
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--shell-ink);
    color: var(--shell-text);
    font-family: Arial,Helvetica,sans-serif;
}

[hidden] {
    display: none !important;
}

.site-dialog {
    background: #181e1a;
    color: #f4f7f3;
    border: 1px solid #546259;
    max-width: min(560px,92vw);
    padding: 30px;
    line-height: 1.75;
}

.site-dialog::backdrop {
    background: #030806d9;
}

.site-dialog h2 {
    font: 700 24px/1.3 Arial,Helvetica,sans-serif;
    margin: 0 30px 18px 0;
    letter-spacing: -.02em;
}

.site-dialog p {
    font-size: 14px;
    color: #c9d6cb;
    margin: 12px 0;
}

.site-dialog a {
    color: white;
    text-decoration: underline;
}

.site-dialog .dialog-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.site-dialog .btn,.cookie-gate__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f44550;
    background: #e31b23;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 20px;
    cursor: pointer;
}

.privacy-option {
    padding: 16px 0;
    border-top: 1px solid #3b4a40;
}

.privacy-option strong {
    font-size: 14px;
}

.privacy-option>span {
    float: right;
    color: #a5d9b6;
    font-size: 12px;
}

.privacy-option p {
    font-size: 12px;
    margin-bottom: 0;
}

.a11y-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.a11y-controls button,.site-dialog .setting-reset {
    background: #27342c;
    border: 1px solid #728778;
    color: #f2f7f2;
    font-size: 12px;
    padding: 12px;
    cursor: pointer;
}

.setting-reset {
    margin: 12px 0 0;
}

.font-display {
    text-align: center;
    font-size: 12px;
    color: #bbc9bd;
}

.privacy-locked {
    overflow: hidden !important;
}

.cookie-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: #050807f7;
    padding: 24px;
    overflow-y: auto;
    color: #eff4ed;
}

.cookie-gate__panel {
    width: min(820px,100%);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    background: #121814;
    border: 1px solid #47574b;
    box-shadow: 0 28px 100px #0009;
}

.cookie-gate__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #3a493e;
    padding: 12px 28px;
    background: #030503;
}

.cookie-gate__brand img {
    width: 130px;
    height: 84px;
    object-fit: cover;
}

.cookie-gate__brand strong {
    font-size: 17px;
    letter-spacing: .03em;
}

.cookie-gate__brand span {
    display: block;
    margin-top: 6px;
    color: #b5c5b8;
    font-size: 10px;
    letter-spacing: .2em;
}

.cookie-gate__body {
    padding: 30px 38px;
}

.cookie-gate__eyebrow {
    color: #f36870;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

.cookie-gate h2 {
    font: 750 clamp(25px,3.4vw,41px)/1.16 Arial,Helvetica,sans-serif;
    letter-spacing: -.04em;
    margin: 16px 0 18px;
}

.cookie-gate p {
    font: 14px/1.85 Arial,Helvetica,sans-serif;
    color: #c1d0c3;
    margin: 10px 0;
}

.cookie-gate__necessary {
    padding: 18px 20px;
    background: #1c2a21;
    border: 1px solid #4e6956;
    margin: 21px 0;
}

.cookie-gate__necessary strong {
    font-size: 14px;
    color: #e1f4e4;
}

.cookie-gate__necessary p {
    margin-bottom: 0;
    font-size: 12px;
}

.cookie-gate__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.cookie-gate__secondary {
    background: transparent;
    border: 1px solid #607665;
    color: #eef4ed;
    padding: 14px 18px;
    font-size: 12px;
    cursor: pointer;
}

.cookie-gate__foot {
    border-top: 1px solid #374b3d;
    padding: 18px 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cookie-gate__foot a {
    font-size: 12px;
    color: #e2eee4;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-gate button:focus-visible,.cookie-gate a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

.contact-address {
    font-style: normal;
    color: #cbd5ce;
    line-height: 1.85;
    margin: 26px 0 18px;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-direct a {
    font-size: 18px !important;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.direct-booking-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 25px;
}

.road-privacy {
    font-size: 12px !important;
    color: #c5ccc7 !important;
    line-height: 1.8 !important;
    margin: 14px 0 !important;
}

.road-privacy a {
    text-decoration: underline;
}

.form-clear {
    justify-self: start;
    text-decoration: underline;
    font-size: 12px;
    color: #ddd;
}

.draft-note {
    font-size: 12px;
    color: #c8d3cb;
}

.feature-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 54px 5% 75px;
}

.feature-eyebrow {
    color: #ff696f;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
}

.feature-page h1 {
    font-family: Arial,Helvetica,sans-serif;
    transform: none;
    width: auto;
    font-size: clamp(35px,4.8vw,68px);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 17px 0 22px;
}

.feature-page h2 {
    font-family: Arial,Helvetica,sans-serif;
    font-size: clamp(24px,2.8vw,38px);
    line-height: 1.2;
    letter-spacing: -.03em;
    margin: 8px 0 18px;
}

.feature-page h3 {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 21px;
    margin: 10px 0 15px;
}

.feature-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #bfcbc2;
    max-width: 800px;
}

.feature-page p {
    line-height: 1.85;
    color: #bfcbc2;
}

.feature-page a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.feature-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 26px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 45px 0;
}

.team-card {
    border: 1px solid #425147;
    background: #19211b;
    padding: 30px;
}

.team-monogram {
    font-size: 65px;
    font-weight: 800;
    letter-spacing: -.08em;
    color: #e2e8e2;
    line-height: 1.2;
    border-bottom: 2px solid #ca2933;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.team-caption {
    color: #f56b71 !important;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.team-story {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 35px;
    align-items: center;
    padding-top: 22px;
}

.team-story img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #434e45;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin: 35px 0;
}

.feature-list article {
    padding: 24px;
    background: #1c241e;
    border: 1px solid #405047;
}

.feature-list p {
    font-size: 14px;
}

.home-extra {
    padding: 44px 5.1%;
    border-top: 1px solid #39433d;
}

.home-extra__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.home-extra article {
    padding: 28px;
    background: #18201b;
    border: 1px solid #3e4c42;
}

.home-extra h2 {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 28px;
    letter-spacing: -.03em;
}

.home-extra p {
    font-size: 14px;
    line-height: 1.85;
    color: #c0ccc2;
}

.home-extra a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-stock-strip {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    border: 1px solid #485d4d;
    background: #1c2820;
    padding: 24px;
    margin-top: 20px;
}

.home-stock-strip p {
    margin: 0;
    color: #c0d0c3;
}

.service-price-note {
    font-size: 12px;
    line-height: 1.75;
    color: #b3c1b7;
    margin-top: 20px;
}

.high-contrast .cookie-gate__panel {
    background: #000 !important;
}

@media (max-width:680px) {
    .feature-page {
        padding-top: 32px;
    }

    .feature-lead {
        font-size: 16px;
    }

    .team-grid,.team-story,.feature-list,.home-extra__grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 24px;
    }

    .team-monogram {
        font-size: 48px;
    }

    .home-extra article {
        padding: 22px;
    }

    .direct-booking-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-gate {
        padding: 14px;
    }

    .cookie-gate__panel {
        max-height: calc(100dvh - 28px);
    }

    .cookie-gate__brand {
        padding: 10px 14px;
        gap: 8px;
    }

    .cookie-gate__brand img {
        width: 100px;
        height: 65px;
    }

    .cookie-gate__brand strong {
        font-size: 12px;
    }

    .cookie-gate__brand span {
        font-size: 8px;
    }

    .cookie-gate__body {
        padding: 24px 21px;
    }

    .cookie-gate p {
        font-size: 13px;
    }

    .cookie-gate__foot {
        padding: 17px 21px;
        gap: 18px;
    }

    .cookie-gate__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-dialog {
        padding: 25px;
    }

    .a11y-controls {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto !important;
    }

    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.reduce-motion * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
}

.reduce-motion {
    scroll-behavior: auto !important;
}

@media print {
    .site-dialog, .cookie-gate {
        display: none !important;
    }

    body {
        zoom: 100% !important;
    }
}

/* Zustandsattribute müssen gegenüber Autor-CSS gewinnen; niemals ein verstecktes Overlay zeigen. */
[hidden] { display: none !important; }
