/* ==========================================================
   Berndt.Legal | :mandat  –  imandat.eu
   Statische Seite ohne externe Ressourcen.
   Eine Schriftfamilie (Carlito, metrisch identisch mit Calibri),
   durchgehend gerader Schnitt, keine Kursive.
   Farben und Quadrate stammen aus dem Logo „Berndt“.
   ========================================================== */

@font-face {
    font-family: "Carlito";
    src: url("../fonts/carlito-400.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Carlito";
    src: url("../fonts/carlito-700.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}

:root {
    --navy: #252557;          /* großes Quadrat des Logos, zugleich Kopf- und Fußzeile */
    --peri: #7993f4;          /* hellblaues Quadrat */
    --sun: #f1d043;           /* orangenes Quadrat (Goldton des Logos) */
    --ink: #16163a;
    --text: #2b2b4a;
    --muted: #6a6a86;
    --grey: #f3f4f5;          /* neutrales Hellgrau ohne Violettstich */
    --raster-navy: #163d86;   /* Rasterfarben auf hellen Flächen: reine Blautöne, kein Violett */
    --raster-sky: #9ccdf8;
    --raster-sun: #f6e089;
    --white: #ffffff;
    --line: rgba(37, 37, 87, .16);
    --line-light: rgba(255, 255, 255, .22);

    --font: "Carlito", Calibri, "Segoe UI", Candara, Helvetica, Arial, sans-serif;
    --wrap: 1240px;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0; font-family: var(--font); font-size: 1.1875rem; line-height: 1.55;
    color: var(--text); background: var(--white) url("../images/raster.svg") 50% 0 / 896px 560px; -webkit-font-smoothing: antialiased;
}
.nowrap { white-space: nowrap; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font); font-style: normal; font-weight: 400; color: var(--ink); }
ul { padding: 0; list-style: none; }
em, i, cite, address { font-style: normal; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }

.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 200; background: var(--sun); color: var(--ink); padding: .6rem 1rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Kopfzeile: eine Fläche im Dunkelblau des Logos ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); }
.header-inner { display: flex; align-items: stretch; justify-content: space-between; height: var(--header-h); }
.brand { display: block; flex: none; height: var(--header-h); }
.brand img { height: var(--header-h); width: var(--header-h); }

.nav { display: flex; align-items: stretch; gap: clamp(1.4rem, 3.2vw, 2.8rem); }
.nav a {
    position: relative; display: flex; align-items: center;
    font-size: 1.125rem; letter-spacing: .01em; text-decoration: none; color: rgba(255, 255, 255, .86);
    transition: color .2s;
}
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
    background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; align-self: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Bausteine ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .7rem 1.7rem;
    font-size: 1.125rem; font-weight: 700; text-decoration: none; cursor: pointer;
    border: 1.5px solid var(--navy); background: var(--navy); color: var(--white);
    transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-outline { background: var(--white); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }

.arrow-link { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; text-decoration: none; color: var(--navy); }
.arrow-link::after { content: ""; width: 2.4rem; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.arrow-link:hover::after { width: 3.6rem; }
.arrow-link-light { color: var(--white); }

.bar { display: inline-block; width: 2px; height: .95em; margin: 0 .5em; background: var(--peri); vertical-align: -.1em; }

/* Abschnittsmarke: Mini-Logo aus den drei Quadraten */
.kicker { display: flex; align-items: center; gap: .8rem; font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.kicker::before {
    content: ""; flex: none; width: 30px; height: 30px;
    background:
        linear-gradient(var(--peri), var(--peri)) 9px 100% / 6px 6px no-repeat,
        linear-gradient(var(--sun), var(--sun)) 15px 100% / 6px 6px no-repeat,
        var(--navy);
}
.section-navy .kicker { color: var(--white); }
.section-navy .kicker::before, .page-hero .kicker::before { box-shadow: 0 0 0 1px var(--line-light); }

/* Quadratpaar mit Linie, als Abschluss dunkler Flächen */
.mark-rule { position: relative; height: 28px; margin-top: clamp(3rem, 6vw, 5rem); }
.mark-rule::before { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 28px; background: var(--peri); box-shadow: 28px 0 0 var(--sun); }
.mark-rule::after { content: ""; position: absolute; left: 72px; right: calc((100vw - 100%) / -2); bottom: 0; height: 1px; background: var(--line); }
.mark-rule-light::after { background: rgba(255, 255, 255, .4); }

/* ---------- Einstieg ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 68%; z-index: -1; overflow: hidden; }
.hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 0; transition: opacity 1.4s ease; }
.hero-media .slide:nth-child(2) { object-position: 50% 40%; }
.hero-media .slide:nth-child(3) { object-position: 60% 35%; }
.hero-media .slide.is-active { opacity: 1; animation: drift 9s ease-out both; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("../images/raster-dunkel.svg") 0 0 / 896px 560px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 62%);
    mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 62%);
}
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--navy) 0%, rgba(37, 37, 87, .9) 22%, rgba(37, 37, 87, .35) 62%, rgba(37, 37, 87, .15) 100%),
        linear-gradient(0deg, var(--navy) 0%, rgba(37, 37, 87, 0) 34%);
}

.hero-inner { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.hero-brand { display: flex; align-items: center; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.colon { display: inline-block; width: .26em; height: .62em; margin-right: .1em; background: linear-gradient(var(--peri), var(--peri)) 0 0 / .26em .26em no-repeat, linear-gradient(var(--sun), var(--sun)) 0 100% / .26em .26em no-repeat; }
.hero-title { color: var(--white); font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: 1; letter-spacing: -.025em; max-width: 12ch; }
.hero-lines { display: grid; gap: .3rem; margin-top: clamp(1.6rem, 3.5vw, 2.6rem); font-size: clamp(1.15rem, 1.9vw, 1.45rem); color: rgba(255, 255, 255, .92); }
.hero-lines li:nth-child(2) .bar { background: var(--sun); }
.hero-lines li { transition: opacity .8s ease; }
.js .hero-lines.is-sliding li { opacity: .5; }
.js .hero-lines.is-sliding li.is-active { opacity: 1; }
.hero-brand-name { margin-left: .3em; }

.slider-ui { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.slider-dot, .slider-pause { position: relative; width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dot::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--white); transition: background .3s, border-color .3s; }
.slider-dot:nth-child(1).is-active::before { background: var(--white); }
.slider-dot:nth-child(2).is-active::before { background: var(--peri); border-color: var(--peri); }
.slider-dot:nth-child(3).is-active::before { background: var(--sun); border-color: var(--sun); }
.slider-pause { margin-left: .6rem; }
.slider-pause::before { content: ""; position: absolute; left: 11px; top: 10px; width: 12px; height: 14px; border-left: 4px solid var(--white); border-right: 4px solid var(--white); }
.slider-pause[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--white); left: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.hero .mark-rule { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }

/* Farbige Rasterzellen (dunkelblau, hellblau, orange) werden per JavaScript nur dort gesetzt,
   wo keine Schrift darüber liegt. Unter Schrift bleibt die blassgrüne Zelle des Grundrasters stehen. */
.has-raster { position: relative; isolation: isolate; }
.raster-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.raster-layer span { position: absolute; background: var(--raster-navy); }
.raster-layer .is-sky { background: var(--raster-sky); }
.raster-layer .is-sun { background: var(--raster-sun); }
.section-grey { background: var(--grey) url("../images/raster.svg") calc(50% + 280px) 112px / 896px 560px; }
.section-navy { background: var(--navy) url("../images/raster-dunkel.svg") calc(50% - 168px) 56px / 896px 560px; color: rgba(255, 255, 255, .88); padding-bottom: 0; overflow: hidden; }
.section-navy h2, .section-navy h3, .section-navy strong { color: var(--white); }

.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.split-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-side { display: grid; gap: 2rem; }
.side-photo { aspect-ratio: 1; overflow: hidden; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

.statement { font-size: clamp(1.7rem, 3.3vw, 2.75rem); line-height: 1.18; letter-spacing: -.015em; max-width: 26ch; }
.headline { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; }
.lead { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; margin-top: 1.6rem; max-width: 40ch; }

.columns { columns: 2 22rem; column-gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3.2rem); }
.columns p { break-inside: avoid; margin-bottom: 1.1em; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.facts li { display: grid; gap: .15rem; align-content: start; padding: 1.5rem 1.5rem 1.5rem 0; position: relative; }
.facts li::before { content: ""; width: 14px; height: 14px; background: var(--navy); margin-bottom: .9rem; }
.facts li:nth-child(2)::before { background: var(--peri); }
.facts li:nth-child(3)::before { background: var(--sun); }
.facts strong { font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.facts span { font-size: 1.05rem; color: var(--muted); }

.areas { margin-top: clamp(1.6rem, 3vw, 2.4rem); max-width: 46rem; color: var(--navy); }
.areas + .note { margin-top: 1rem; }
.note { display: inline-flex; align-items: center; gap: .9rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy); }
.note::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--peri); box-shadow: 12px 0 0 var(--sun); margin-right: 12px; }

/* ---------- Tätigkeitsgebiete ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); color: var(--white); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--navy) 0%, rgba(37, 37, 87, .82) 26%, rgba(37, 37, 87, 0) 62%); }
.tile::after { content: ""; position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; background: var(--sun); box-shadow: -24px 0 0 var(--peri); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.4rem); padding-right: 4.5rem; }
.tile-no, .row-no { font-weight: 700; letter-spacing: .1em; font-size: 1rem; }
.tile-no { color: var(--sun); }
.tile h3 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.015em; margin: .3rem 0 .5rem; }
.tile p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .92); }

.row { display: grid; grid-template-columns: 4rem minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; padding: clamp(2rem, 4vw, 3.2rem) 0; border-bottom: 1px solid var(--line); }
.tiles + .row { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.row-no { color: var(--navy); padding-top: .55rem; }
.row h3 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.015em; }
.row-text p { margin-bottom: 1em; }
.row-text > :last-child { margin-bottom: 0; }
.row-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video figcaption { display: grid; gap: .1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.video figcaption strong { font-size: 1.35rem; font-weight: 400; }
.video figcaption span { color: rgba(255, 255, 255, .7); font-size: 1.05rem; }

/* ---------- Kontakt: drei Kacheln nach dem Logo ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.trio { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.trio-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; min-width: 0; aspect-ratio: 1; padding: clamp(1rem, 2vw, 1.5rem); text-decoration: none; color: var(--ink); transition: filter .2s; }
a.trio-tile:hover { filter: brightness(1.1); }
.trio-navy { grid-column: 1 / -1; aspect-ratio: 2 / 1.1; background: var(--navy); color: var(--white); }
.trio-peri { background: var(--raster-sky); }   /* derselbe Hellblauton wie die hellblauen Rasterfelder */
.trio-sun { background: var(--sun); }
.trio-label { font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.trio-value { font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.trio-navy .trio-value { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -.01em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 1.0625rem; }
.site-footer { position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 84px 0; z-index: -1; pointer-events: none; background: url("../images/raster-dunkel.svg") calc(50% + 112px) 0 / 896px 560px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2rem; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.footer-claim { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; color: var(--white); }
.footer-links { display: grid; gap: .45rem; align-content: start; justify-items: start; }
.footer-links a, .link-button { text-decoration: none; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer-links a:hover, .link-button:hover { color: var(--white); border-bottom-color: var(--sun); }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line-light); }
.footer-bottom img { width: 84px; height: 84px; }
.footer-bottom span { padding-bottom: 1.4rem; opacity: .7; }

/* ---------- Rechtstexte ---------- */
.page-hero { background: var(--navy) url("../images/raster-dunkel.svg") calc(50% + 224px) 0 / 896px 560px; color: var(--white); padding-top: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.page-hero .kicker { color: var(--white); margin-bottom: 1.2rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.page-hero .mark-rule { margin-top: clamp(2.5rem, 5vw, 4rem); }
.prose { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 9vw, 7rem); }
.prose-inner { max-width: 46rem; margin-left: 25%; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em; margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 .6rem; }
.prose p, .prose li { overflow-wrap: anywhere; margin-bottom: 1.05em; }
.prose a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.info-box { background: var(--grey); padding: 1.6rem 1.8rem; margin-bottom: 2rem; border-bottom: 6px solid var(--navy); }
.info-box p:last-child { margin-bottom: 0; }

/* ---------- Cookie-Hinweis ---------- */
.consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 100dvh; overflow-y: auto;
    background: var(--white); color: var(--text); font-size: 1.0625rem; line-height: 1.5;
    border-top: 6px solid var(--navy); box-shadow: 0 -20px 60px rgba(22, 22, 58, .28);
    transform: translateY(100%); transition: transform .45s var(--ease);
}
.consent.is-open { transform: none; }
.consent-inner { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2.2rem) 0; }
.consent h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; font-weight: 700; margin-bottom: .6rem; }
.consent h2::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--peri); box-shadow: 12px 0 0 var(--sun); margin-right: 12px; }
.consent p { max-width: 95ch; }
.consent a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.consent-actions { display: grid; gap: .6rem; align-content: start; }
.consent-actions .btn { width: 100%; min-height: 3rem; font-size: 1.0625rem; }
.consent-options { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.switch { position: relative; display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; flex: none; width: 46px; height: 24px; background: #b9b9c8; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .switch-track { background: var(--navy); }
.switch input:checked + .switch-track::after { transform: translateX(22px); }
.switch input:disabled + .switch-track { background: var(--peri); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--sun); outline-offset: 3px; }
.consent-toggle { margin-left: auto; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .6rem; }
.consent-toggle::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.consent-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.consent-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.consent-details h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .3rem; }
.consent-details p { font-size: 1rem; color: var(--muted); }

/* ---------- Einblenden (nur mit JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Schmalere Bildschirme ---------- */
@media (max-width: 1000px) {
    .split, .contact { grid-template-columns: 1fr; }
    .split-head { margin-bottom: 2rem; }
    .side-photo { aspect-ratio: 16 / 9; }
    .row { grid-template-columns: 3rem minmax(0, 1fr); }
    .row h3 { grid-column: 2; }
    .row-text, .row-img { grid-column: 1 / -1; }
    .row-img { aspect-ratio: 16 / 9; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-claim { grid-column: 1 / -1; }
    .prose-inner { margin-left: 0; }
    .trio { max-width: 26rem; }
    .consent-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    :root { --header-h: 68px; }
    body { font-size: 1.125rem; }
    .wrap { width: min(100% - 2.5rem, var(--wrap)); }
    .nav-toggle { display: block; }
    .nav {
        position: absolute; left: 0; right: 0; top: var(--header-h); display: none;
        flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; background: var(--navy);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 1rem 0; font-size: 1.3rem; border-top: 1px solid var(--line-light); }
    .nav a::after { display: none; }
    .hero-media { width: 100%; }
    .hero-media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(37, 37, 87, .82) 45%, rgba(37, 37, 87, .7) 100%); }
    .hero::after { -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 55%); mask-image: linear-gradient(0deg, #000 0%, transparent 55%); }
    .site-footer::before { bottom: 68px; }
    .hero-inner { min-height: 0; }
    .slider-ui { margin-left: 0; width: 100%; }
    .headline { font-size: clamp(1.6rem, 8.4vw, 2.1rem); }
    .tiles, .video-grid, .facts { grid-template-columns: 1fr; }
    .facts li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
    .tile { aspect-ratio: 1; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom img { width: 68px; height: 68px; }
    .consent-inner { grid-template-columns: 1fr; }
    .consent-toggle { margin-left: 0; }
    .consent-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    @view-transition { navigation: none; }
}

@media print {
    body, .section-grey, .section-navy, .page-hero { background-image: none; }
    .hero::after, .site-footer::before, .raster-layer { display: none; }
    .site-header, .hero-actions, .hero-media, .video-grid, .nav-toggle, .consent, .footer-links { display: none; }
    .hero, .page-hero, .section-navy, .site-footer { background: none; color: #000; }
    .hero-title, .page-hero h1, .section-navy h2 { color: #000; }
    .js .reveal { opacity: 1; transform: none; }
}
