/* ==========================================================================
   Dogru Foto Film – Stylesheet (dunkel & elegant)
   Handgeschrieben, kein Build-Schritt noetig.
   ========================================================================== */

/* --- Schriften ----------------------------------------------------------- */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Design-Tokens ------------------------------------------------------- */
:root {
    --bg:          #0e0e10;
    --bg-elev:     #16161a;
    --bg-elev-2:   #1f1f25;
    --text:        #e9e7e1;
    --text-muted:  #a8a69f;
    --line:        rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.22);
    --accent:      #c8a96a;
    --accent-hi:   #ddc28a;
    --accent-ink:  #1a1505;
    --danger:      #e07a6b;
    --success:     #7fb98a;

    --font-serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --font-sans:  system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --container: 1200px;
    --radius:    4px;
    --shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
    --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset / Basis ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, video, iframe { max-width: 100%; display: block; height: auto; }
img { background: var(--bg-elev); }
/* Logos haben transparente Hintergruende – kein Lade-Platzhalter dahinter */
.logo img,
.site-footer__logo,
.auth-card__logo,
.admin-brand img { background: transparent; }

a { color: var(--accent-hi); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.2rem; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
    outline: 2px solid var(--accent-hi);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -3rem;
    background: var(--accent); color: var(--accent-ink);
    padding: .6rem 1rem; border-radius: var(--radius); z-index: 200;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --- Layout-Helfer ------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-elev); }

.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .9rem;
}

.lead { font-size: 1.18rem; color: var(--text-muted); }

.text-muted { color: var(--text-muted); }
.center { text-align: center; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .95rem 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent-hi); transform: translateY(-2px); }

.btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}
.btn--accent:hover {
    background: var(--accent-hi);
    border-color: var(--accent-hi);
    color: var(--accent-ink);
}
.btn--ghost { background: transparent; }
.btn--block { width: 100%; justify-content: center; }
.btn--small { padding: .55rem 1rem; font-size: .72rem; }

/* --- Flash-Meldungen ----------------------------------------------------- */
.flash {
    max-width: var(--container);
    margin: 1.2rem auto 0;
    padding: .95rem 1.3rem;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background: var(--bg-elev-2);
    font-size: .95rem;
}
.flash--success { border-color: var(--success); color: #cfe8d4; }
.flash--error   { border-color: var(--danger);  color: #f4d2cc; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
    background: #08080a;
    border-top: 1px solid var(--line);
    margin-top: 3rem;
    color: var(--text-muted);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.site-footer__col p,
.site-footer__col address {
    color: var(--text-muted);
    font-style: normal;
    margin: 0 0 .7rem;
    font-size: .95rem;
    line-height: 1.7;
}
.site-footer__col a { color: var(--text); }
.site-footer__col a:hover { color: var(--accent-hi); }
.site-footer__logo {
    height: 44px;
    width: auto;
    margin-bottom: 1.1rem;
}
.site-footer__claim {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text);
    font-size: 1.05rem;
    max-width: 28ch;
}
.site-footer__heading {
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}
.site-footer__hours { font-size: .88rem; }
.social-list,
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .95rem;
}
.social-list a,
.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.site-footer__bar {
    border-top: 1px solid var(--line);
    padding-block: 1.3rem;
    font-size: .82rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* --- Header / Navigation ------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 14, 16, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
body.home .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: transparent;
    border-bottom-color: transparent;
}
body.home .site-header.is-scrolled {
    position: fixed;
    background: rgba(14, 14, 16, 0.95);
    border-bottom-color: var(--line);
}
body.home { padding-top: 0; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}
.logo img { width: auto; height: 50px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.main-nav__list {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav__list a {
    color: var(--text);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding-block: .4rem;
    position: relative;
}
.main-nav__list a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .25s var(--ease);
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] { color: var(--accent-hi); }
.main-nav__list a:hover::after,
.main-nav__list a[aria-current="page"]::after { width: 100%; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle__bar {
    width: 20px; height: 2px;
    background: var(--text);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(14,14,16,.55) 0%, rgba(14,14,16,.35) 45%, rgba(14,14,16,.95) 100%);
}
.hero__inner { max-width: 760px; padding-block: 8rem 4rem; }
.hero h1 { margin-bottom: 1.3rem; }
.hero__claim {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    color: var(--text);
    margin-bottom: 2.2rem;
    font-style: italic;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
    position: absolute;
    left: 50%; bottom: 1.8rem;
    transform: translateX(-50%);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Generische Inhaltsbloecke ------------------------------------------ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.media-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* --- Leistungs-Karten ---------------------------------------------------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card h3 { margin-bottom: .7rem; }
.card__icon {
    width: 46px; height: 46px;
    margin-bottom: 1.1rem;
    color: var(--accent);
}

/* --- Preisliste (Passfotos) --------------------------------------------- */
.pricelist {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}
.pricelist li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.pricelist__label { color: var(--text); }
.pricelist__price { color: var(--accent-hi); white-space: nowrap; font-weight: 600; }

.info-box {
    background: var(--bg-elev-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
}

/* --- Statistiken --------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    text-align: center;
}
.stat__num {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    color: var(--accent-hi);
    line-height: 1;
}
.stat__label {
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: .5rem;
}

/* --- Team ---------------------------------------------------------------- */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.team__member { text-align: center; }
.team__photo {
    width: 180px; height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.1rem;
    border: 1px solid var(--line-strong);
}
.team__name { font-family: var(--font-serif); font-size: 1.4rem; }
.team__role { color: var(--accent); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* --- Portfolio-Raster ---------------------------------------------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2.5rem;
}
.filter-bar a {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--line);
    padding: .5rem 1rem;
    border-radius: 999px;
}
.filter-bar a:hover { color: var(--accent-hi); border-color: var(--line-strong); }
.filter-bar a.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* Zweite Filterzeile fuer Unter-Themen einer Kategorie */
.filter-bar--sub {
    margin-top: -1.8rem;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.filter-bar--sub a {
    font-size: .72rem;
    color: var(--text-muted);
    border: 0;
    padding: .35rem .8rem;
}
.filter-bar--sub a:hover { color: var(--accent-hi); }
.filter-bar--sub a.is-active {
    background: transparent;
    color: var(--accent-hi);
    border: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Galerie-Header mit Titelbild als Hintergrund */
.gallery-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-color: var(--bg-elev);
    background-size: cover;
    background-position: center;
}
.gallery-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(14,14,16,.45) 0%,
        rgba(14,14,16,.25) 40%,
        rgba(14,14,16,.92) 100%);
}
.gallery-hero__inner {
    position: relative;
    padding-block: clamp(5rem, 10vw, 8rem) clamp(2rem, 5vw, 3rem);
}
.gallery-hero h1 { color: #fff; margin: .6rem 0 .8rem; }
.gallery-hero .eyebrow { color: var(--accent); }
.gallery-hero .breadcrumb,
.gallery-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.gallery-hero .breadcrumb a:hover { color: var(--accent-hi); }
.gallery-hero__sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--text);
}
.gallery-hero__date {
    color: var(--text-muted);
    font-size: .9rem;
    margin-top: .4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.4rem;
}
.gallery-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-elev);
}
.gallery-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(14,14,16,0) 35%, rgba(14,14,16,.9) 100%);
}
.gallery-card__cat {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}
.gallery-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-top: .2rem;
}
.gallery-card__sub { font-size: .9rem; color: var(--text-muted); }

.gallery-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed var(--line-strong);
    color: var(--text-muted);
    padding: 2rem;
}

/* --- Einzelne Galerie / Masonry ----------------------------------------- */
.masonry {
    columns: 3 280px;
    column-gap: 1.1rem;
}
.masonry__item {
    margin-bottom: 1.1rem;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
}
.masonry__item img { width: 100%; transition: opacity .2s var(--ease); }
.masonry__item:hover img { opacity: .85; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.4rem;
}
.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Lightbox ------------------------------------------------------------ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 9, 0.96);
    padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox__btn {
    position: absolute;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: border-color .2s var(--ease);
}
.lightbox__btn:hover { border-color: var(--accent); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev  { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* --- Formulare ----------------------------------------------------------- */
.form-grid { display: grid; gap: 1.3rem; }
.form-row { display: grid; gap: .45rem; }
.form-row label {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-row label .req { color: var(--accent); }
.input, .textarea, .select {
    width: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--text);
    font: inherit;
    padding: .85rem 1rem;
    transition: border-color .2s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--accent);
}
.textarea { resize: vertical; min-height: 150px; }
.field-error { color: var(--danger); font-size: .85rem; }
.form-note { font-size: .85rem; color: var(--text-muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Kontakt-Layout ------------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.contact-aside {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-aside h3 { margin-bottom: .3rem; }
.contact-aside dl { margin: 1.4rem 0 0; }
.contact-aside dt {
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 1.1rem;
}
.contact-aside dd { margin: .2rem 0 0; }

/* --- Karte (Anfahrt) ----------------------------------------------------- */
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* --- Rechtstexte --------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { margin: 2.2rem 0 .8rem; }
.legal h3 { margin: 1.6rem 0 .6rem; }
.legal p, .legal ul { color: var(--text-muted); }

/* --- Cookie-/Datenschutz-Banner ----------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 740px;
    margin-inline: auto;
    z-index: 200;
    background: rgba(22, 22, 26, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    color: var(--text);
    font-size: .92rem;
    line-height: 1.55;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}
.cookie-banner__text {
    flex: 1;
    min-width: 0;
    color: var(--text-muted);
}
.cookie-banner__text strong { color: var(--text); display: block; margin-bottom: .25rem; }
.cookie-banner__text a { color: var(--accent-hi); text-decoration: underline; }
.cookie-banner__text .nowrap { white-space: nowrap; }
.cookie-banner__actions { flex-shrink: 0; }

@media (max-width: 640px) {
    .cookie-banner { padding: 1rem 1.1rem; bottom: .8rem; left: .8rem; right: .8rem; }
    .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: .9rem; }
    .cookie-banner__actions .btn { width: 100%; justify-content: center; }
}

/* --- CTA-Band ------------------------------------------------------------ */
.cta-band {
    background: var(--bg-elev);
    border-block: 1px solid var(--line);
    text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }

/* --- Seiten-Kopf (Innenseiten) ------------------------------------------ */
.page-hero {
    padding-block: clamp(7rem, 12vw, 9.5rem) clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    background: var(--bg-elev);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p { max-width: 620px; color: var(--text-muted); }

/* --- Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
    letter-spacing: .04em;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-hi); }

/* --- Utilities ----------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 2rem; }
.empty-state {
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    padding: 3rem 1.5rem;
}

/* --- Responsiv ----------------------------------------------------------- */
@media (max-width: 900px) {
    .split,
    .contact-grid { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .masonry { columns: 2 200px; }

    /* Hamburger sichtbar und ueber dem Drawer */
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 120;
    }

    /* Drawer: per default KOMPLETT versteckt, sichtbar nur bei .is-open.
       Hoehe explizit 100vh/100dvh, weil iOS Safari bei top:0+bottom:0
       die Hoehe nicht zuverlaessig setzt. */
    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(320px, 82vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.2rem;
        /* Top-Padding reserviert Platz fuer URL-Leiste + Notch + Toggle-Button,
           damit alle Eintraege sicher unter der iOS-Adressleiste liegen */
        padding:
            calc(env(safe-area-inset-top, 0px) + 5.5rem)
            2rem
            calc(env(safe-area-inset-bottom, 0px) + 2rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--bg-elev);
        border-left: 1px solid var(--line);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
        z-index: 115;
    }
    .main-nav.is-open { display: flex !important; }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        width: 100%;
    }
    .main-nav__list a {
        font-size: 1.05rem;
        display: block;
        width: 100%;
        padding: .9rem 0;
    }
    .main-nav .nav-cta { margin-top: 1.4rem; }

    /* Auf der Home-Seite ist der Header transparent – Hamburger
       deutlich sichtbar in Akzentfarbe */
    body.home .nav-toggle {
        background: var(--accent);
        border-color: var(--accent);
    }
    body.home .nav-toggle .nav-toggle__bar { background: var(--accent-ink); }

    body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
    .masonry { columns: 1; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
    .pricelist li { flex-direction: column; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
