/* ============================================================
   DaWi Media v6 – Editorial-Stil mit harten Kanten (Ebene über style-v5.css)
   Quelle: ui-ux-pro-max (Stil „Exaggerated Minimalism“ + „Bauhaus“-Schatten,
   Muster „Trust & Authority“). Gleiche Texte, gleiche Preise.
   Animationen nur mit transform/opacity. Alles aus bei reduzierter Bewegung.
   ============================================================ */

/* Outfit (SIL Open Font License), selbst gehostet: keine Verbindung zu Google beim Aufruf */
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/outfit-latin-variable.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --edge: 4px;
    --hard: 8px 8px 0 var(--ink);
    --hard-sm: 5px 5px 0 var(--ink);
}

/* ----- Typografie: groß, eng, kräftig ----- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: var(--font-display); }
h1, h2, h3, .btn, .badge, .nav-links a, .marquee__track span, .price, .fact-num { font-family: var(--font-display); }
h1 { font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-weight: 800; letter-spacing: -0.01em; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }

/* Fester Akzentbalken unter Titeln, bewusst ohne Verlauf */
.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 8px;
    margin: 1rem auto 0;
    background: var(--brand);
}

.badge { border-radius: 0; font-weight: 800; letter-spacing: 0.08em; border: 2px solid currentColor; background: transparent; }
.section--dark .badge { border-color: var(--brand-bright); background: transparent; }
.hero-photo .badge { color: #fff; border-color: #fff; background: transparent; }

/* ----- Navigation: klar, ohne Unschärfe-Spielerei ----- */
.sticky-nav { background-color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.sticky-nav.is-scrolled { box-shadow: 0 6px 0 rgba(14, 26, 36, 0.5); }
.nav-links a:not(.btn)::after { height: 3px; bottom: -4px; border-radius: 0; }
.nav-links a:not(.btn) { font-weight: 700; }

/* Fortschrittsbalken: solide Linie */
.scroll-progress { height: 6px; background: var(--brand-bright); }

/* ----- Buttons: eckig, harter Schatten, Druck-Effekt ----- */
.btn {
    border-radius: 0;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
    box-shadow: var(--hard-sm);
}
.btn::before { display: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.section--dark .btn { box-shadow: var(--hard-sm) var(--paper-text); }
.section--dark .btn:hover { box-shadow: 7px 7px 0 var(--paper-text); }
.btn--secondary { box-shadow: none; }
.btn--secondary:hover { box-shadow: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 4px; }

/* ----- Karten: eckig, harter Schatten, springt beim Hover ----- */
.card {
    border-radius: var(--edge);
    border: 2px solid var(--ink);
    box-shadow: var(--hard-sm);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.section--dark .card { border-color: var(--paper-text); box-shadow: var(--hard-sm) var(--brand-bright); }
.card::before { display: none; }
@media (hover: hover) {
    .card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
    .section--dark .card:hover { box-shadow: 8px 8px 0 var(--brand-bright); }
}
.card .step-visual { border-radius: 0; transition: transform 0.3s var(--ease-out), background-color 0.2s ease, color 0.2s ease; }
@media (hover: hover) { .card:hover .step-visual { transform: none; background: var(--brand); color: #fff; } }

/* Empfohlenes Paket: volle Akzentfarbe statt Glow */
.card--featured { background: var(--brand); color: #fff; border-color: var(--ink); transform: translateY(-8px); box-shadow: var(--hard); }
.card--featured h3, .card--featured p, .card--featured .package-meta, .card--featured .package-for { color: #fff; }
.card--featured .badge { background: #fff; color: var(--brand); border: 0; }
.card--featured .price { color: #fff; }
.section--dark .card--featured { color: var(--ink); }
@media (hover: hover) { .card--featured:hover { transform: translate(-3px, -11px); box-shadow: 8px 8px 0 var(--ink); } }

/* ----- Hero: großes Typo-Statement, Bild mit hartem Rahmen ----- */
.hero-photo { position: relative; overflow: hidden; }
.hero-photo::before,
.hero-photo::after { display: none; }
.hero-photo .container { position: relative; z-index: 1; }
.hero-photo h1 { text-shadow: none; max-width: 14ch; }
.hero-photo .lead { max-width: 46ch; font-weight: 500; }
.hero-photo .btn--primary { border-color: var(--ink); }

.js .hero-photo .badge,
.js .hero-photo h1,
.js .hero-photo .lead,
.js .hero-photo .hero-buttons,
.js .hero-photo .hero-phone { opacity: 0; transform: translateY(14px); animation: rise 0.7s var(--ease-out) forwards; }
.js .hero-photo .badge { animation-delay: 0.05s; }
.js .hero-photo h1 { animation-delay: 0.12s; }
.js .hero-photo .lead { animation-delay: 0.26s; }
.js .hero-photo .hero-buttons { animation-delay: 0.36s; }
.js .hero-photo .hero-phone { animation-delay: 0.46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero-Bild: Parallax per JS, sanfter Hintergrund */
.hero-photo { background-position: center calc(60% + var(--py, 0px)); }

/* ----- Laufband: solider Streifen in Akzentfarbe ----- */
.marquee {
    background: var(--ink);
    border-bottom: 0;
    padding: 1rem 0;
    -webkit-mask-image: none;
    mask-image: none;
}
.marquee__track { gap: 2.25rem; }
.marquee__track span { color: var(--paper-text); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.marquee__track span::before { width: 10px; height: 10px; border-radius: 0; background: var(--brand-bright); }

/* ----- Zahlen: solide, groß ----- */
.fact-card .fact-num { color: var(--brand); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -0.04em; }
.section--sand .fact-card .fact-num { color: var(--ink); }

/* ----- Sektionen: flach, mit klaren Blöcken ----- */
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--ink); }
.section--light { background: var(--paper); }

/* ----- Schritte ----- */
.step__num { color: var(--brand); font-size: 0.9rem; }
.step .step-visual { border-radius: 0; }

/* ----- FAQ: eckig, Pfeil dreht sich ----- */
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details { border-radius: 0; border: 2px solid var(--ink); box-shadow: var(--hard-sm); background: #fff; transition: box-shadow 0.25s ease; }
.faq details[open] { box-shadow: 8px 8px 0 var(--brand); }

/* ----- Bilder: harter Rahmen, kein Verlauf ----- */
.hero-split__photo img,
.split-media img,
.photo-band img { border-radius: 0; box-shadow: var(--hard); transition: transform 0.6s var(--ease-out); }
@media (hover: hover) {
    .split-media:hover img,
    .photo-band:hover img { transform: translate(-3px, -3px); }
}

/* ----- Footer-Links ----- */
.footer-col ul a { transition: color 0.2s ease, transform 0.2s ease; }
@media (hover: hover) { .footer-col ul a:hover { transform: translateX(3px); } }

/* ----- Handy: ruhiger, mehr Platz zum Lesen ----- */
@media (max-width: 768px) {
    h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
    .card--featured { transform: none; }
    .card, .btn { box-shadow: 4px 4px 0 var(--ink); }
    .section-title::after { width: 56px; height: 6px; }
}

/* ----- Reduzierte Bewegung: sofort sichtbar, keine Schleifen ----- */
@media (prefers-reduced-motion: reduce) {
    .scroll-progress { display: none; }
    .badge::before, .marquee__track { animation: none; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
    .js .hero-photo .badge, .js .hero-photo h1, .js .hero-photo .lead,
    .js .hero-photo .hero-buttons, .js .hero-photo .hero-phone { opacity: 1; transform: none; animation: none; }
    .card, .card .step-visual, .btn, .faq summary::after, .faq details,
    .hero-split__photo img, .split-media img, .photo-band img { transition: none !important; }
    .card:hover, .card--featured:hover, .btn:hover, .btn:active { transform: none; }
}

/* ============================================================
   v6-Startseite: Hero mit MacBook (Midnight, geschlossen -> offen -> rechts).
   Hintergrund: img/watt-pfaehle.webp. Die Scroll-Werte stehen in --p (0 bis 1),
   gesetzt von js/laptop.js. Ohne JS, auf dem Handy und bei reduzierter
   Bewegung steht das MacBook offen und ruhig.
   Bewegung nur mit transform und opacity.
   ============================================================ */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grid-2 { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.section-lead { max-width: 60ch; margin: 1.25rem auto 2.5rem; text-align: center; font-size: 1.05rem; }

/* Laufband: nur drei Kernaussagen, mit Pfeilen, normale Schreibweise */
.marquee__track span { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; }
.marquee__track span::before { content: "\2192"; width: auto; height: auto; background: none; color: var(--brand-bright); font-size: 1.1rem; }

/* Hintergrund: Watt, dunkler Verlauf von links für die Lesbarkeit */
.hero-photo {
    background: linear-gradient(90deg, rgba(14, 26, 36, 0.9) 0%, rgba(14, 26, 36, 0.7) 45%, rgba(14, 26, 36, 0.35) 100%), url('../img/watt-pfaehle.webp') center / cover no-repeat;
}
@media (max-width: 768px) {
    .hero-photo { background: linear-gradient(rgba(14, 26, 36, 0.82), rgba(14, 26, 36, 0.9)), url('../img/watt-pfaehle.webp') 65% center / cover no-repeat; }
}

.hero-scene { position: relative; height: 220vh; }
.hero-scene .hero-photo { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; align-items: center; padding: 3rem 0; }
.hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
/* Headline blendet beim Öffnen aus, die Kurzaussage kommt links ins Bild */
.hero-photo__text { opacity: clamp(0, calc(1 - (var(--p, 0) - 0.12) * 4), 1); transition: none; }

.hero-device { position: relative; margin: 0; perspective: 1600px; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-device__moving {
    width: min(620px, 100%);
    transform: translate3d(calc(var(--move, 0) * 10%), 0, 0);
    will-change: transform;
}

/* Gruppe: leicht schräg von der Seite, wird beim Wandern gerade */
.macbook {
    transform-style: preserve-3d;
    transform: translateY(calc((1 - var(--open, 1)) * -100%)) rotateX(12deg) rotateY(calc(-30deg + var(--move, 0) * 18deg));
    will-change: transform;
}

/* Deckel: Scharnier an der Unterkante. --open: 0 zu, 1 offen */
.macbook__lid {
    position: relative;
    aspect-ratio: 16 / 10;
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    transform: rotateX(calc(180deg - var(--open, 1) * 200deg));
    will-change: transform;
}
.macbook__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px 14px 6px 6px; }
.macbook__face--screen {
    background: #0c0f16;
    padding: 2.4% 2.4% 2.2%;
    border: 2px solid #050608;
    box-shadow: 0 0 0 1px #1d2431 inset;
}
.macbook__face--back {
    transform: rotateY(180deg);
    background: linear-gradient(150deg, #3b4560 0%, #1d2435 45%, #2a3247 60%, #121724 100%);
    border: 2px solid #0a0d14;
}
.macbook__notch { position: absolute; top: 0; left: 50%; width: 15%; height: 4.2%; transform: translateX(-50%); background: #000; border-radius: 0 0 9px 9px; z-index: 2; }
.macbook__screen { position: relative; width: 100%; height: 100%; background: #000; border-radius: 6px; overflow: hidden; }
.macbook__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* Unterteil: Midnight-Aluminium, flach, mit Trackpad-Kerbe */
.macbook__base { opacity: var(--open, 1);
    position: relative;
    height: 16px;
    margin: 0 -5%;
    border-radius: 0 0 14px 14px / 0 0 12px 12px;
    background: linear-gradient(180deg, #2b3347 0%, #161b28 100%);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}
.macbook__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 5px; transform: translateX(-50%); background: #0e1220; border-radius: 0 0 6px 6px; }

.hero-device__caption {
    position: absolute; top: 50%; right: calc(100% + 2.5rem); width: min(360px, 34vw); transform: translateY(-50%); margin: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.9rem;
    color: #fff;
    opacity: clamp(0, calc((var(--p, 1) - 0.62) * 3.2), 1);
    pointer-events: none;
}
.hero-device__caption p { margin: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.25; max-width: 22ch; }
.hero-device .ref-tag { background: var(--brand-bright, #22B8E0); color: var(--ink, #0E1A24); }

.ref-card { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: inherit; }
.ref-tag { align-self: flex-start; background: var(--ink, #0E1A24); color: #fff; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.6rem; }
.ref-link { margin-top: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Handy, Tablet und reduzierte Bewegung: statisch, MacBook offen */
@media (max-width: 900px) {
    .hero-scene { height: auto; }
    .hero-scene .hero-photo { position: relative; height: auto; min-height: 0; padding: 4rem 0; }
    .hero-stage { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-photo__text { opacity: 1; }
    .hero-device { min-height: 0; perspective: 1000px; }
    .hero-device__moving { width: min(540px, 100%); transform: none; }
    .macbook { transform: rotateX(4deg) rotateY(-8deg); }
    .macbook__lid { --open: 1; }
    .hero-device__caption { position: static; transform: none; right: auto; width: 100%; opacity: 1; padding: 1rem 0 0; align-items: center; text-align: center; }
    .hero-device__caption p { max-width: none; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scene { height: auto; }
    .hero-scene .hero-photo { position: relative; height: auto; min-height: 0; padding: 4rem 0; }
    .hero-stage { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-photo__text { opacity: 1; }
    .hero-device { min-height: 0; perspective: 1000px; }
    .hero-device__moving { width: min(540px, 100%); transform: none; }
    .macbook { transform: rotateX(4deg) rotateY(-8deg); }
    .macbook__lid { --open: 1; }
    .hero-device__caption { position: static; transform: none; right: auto; opacity: 1; padding: 1rem 0 0; align-items: center; text-align: center; }
    .hero-device__caption p { max-width: none; font-size: 1.1rem; }
}
/* Häkchen-Leiste: drei Kernaussagen, die beim Scrollen von links nach rechts einlaufen.
   --cp: 0 bis 1, gesetzt von js/laptop.js. Ohne JS sind alle Punkte sichtbar. */
.checkstrip { background: var(--ink, #0E1A24); color: #fff; padding: 1.1rem 0; overflow: hidden; }
.checkstrip__list { list-style: none; margin: 0 auto; padding: 0 1rem; max-width: 1140px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; }
.checkstrip__item {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-weight: 700; font-size: 1rem;
    opacity: clamp(0, calc(var(--cp, 1) * 1.6), 1);
    transform: translate3d(calc((1 - var(--cp, 1)) * -60px), 0, 0);
    will-change: transform, opacity;
}
.checkstrip__item:nth-child(2) { transition-delay: 0s; }
.checkstrip__tick {
    display: inline-grid; place-items: center; flex: none;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--brand-bright, #22B8E0); color: var(--ink, #0E1A24);
    font-size: 0.85rem; font-weight: 900; line-height: 1;
}
@media (prefers-reduced-motion: reduce) { .checkstrip__item { opacity: 1; transform: none; } }
/* Hero-Gerät: MacBook als Bild (Lizenz: Mockup-Generator, kommerziell erlaubt).
   Leicht schräg von der Seite; beim Scrollen wandert es nach rechts und dreht sich mit. */
.macbook {
    transform-style: flat;
    transform: rotateX(7deg) rotateY(calc(-24deg + var(--move, 0) * 14deg));
    filter: drop-shadow(0 38px 46px rgba(0, 0, 0, 0.5));
}
.macbook__img { display: block; width: 100%; height: auto; }
.hero-device__moving { width: min(640px, 100%); }
@media (max-width: 900px) {
    .macbook { transform: rotateX(4deg) rotateY(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
    .macbook { transform: rotateX(4deg) rotateY(-8deg); }
}
/* Hero-Gerät, gerade von vorn. Der Deckel ist eine Platte über dem Bildschirm
   (Position aus dem Mockup gemessen). --open: 0 zu, 1 offen. Ohne JS offen. */
.macbook { transform: none; filter: drop-shadow(0 38px 46px rgba(0, 0, 0, 0.5)); }
.macbook { position: relative; }
.macbook__lid {
    position: absolute;
    left: 9.8%; top: 1.9%; width: 80.5%; height: 89.9%;
    transform-origin: 50% 100%;
    transform: rotateX(calc(var(--open, 1) * -90deg)); opacity: calc(1 - var(--open, 1));
    background: linear-gradient(160deg, #e6e7eb 0%, #c7c8cf 50%, #b5b7bf 100%);
    border-radius: 14px 14px 4px 4px;
    box-shadow: inset 0 0 0 2px #9a9ca4;
    will-change: transform;
}
@media (max-width: 900px) { .macbook { transform: none; } .macbook__lid { transform: rotateX(-90deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .macbook { transform: none; } .macbook__lid { transform: rotateX(-90deg); opacity: 0; } }
/* Mit Bildsequenz (js/laptop.js) ist die Platte überflüssig, das Frame zeigt den Deckel. */
.macbook.has-frames .macbook__lid { display: none; }

/* Übergang geschlossen -> offen: das geschlossene Bild liegt über dem offenen und
   blendet mit --open aus. Ohne JS bleibt das offene Bild sichtbar. */
.macbook { position: relative; }
.macbook__closed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; opacity: calc(1 - var(--open, 1)); }
.macbook__img { position: relative; }
/* v6-Hero mit Konzept-Karte: Landschaftsfoto oben, Karte darunter richtet sich beim Scrollen auf.
   Ohne JS ist die Karte gerade. */
.hero2 { display: block; min-height: 0; padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero2__text { max-width: 760px; }
.hero2__card-wrap { margin-top: clamp(2.5rem, 6vw, 4rem); perspective: 1400px; }
.hero2__frame {
    --tilt: 0deg;
    --s: 1;
    transform: rotateX(var(--tilt)) scale(var(--s));
    transform-origin: 50% 0;
    padding: 12px;
    border: 4px solid #6C6C6C;
    border-radius: 30px;
    background: #222222;
    box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a;
    will-change: transform;
}
.hero2__frame img { display: block; width: 100%; height: auto; border-radius: 18px; }
.hero2__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 1.5rem 0 0; color: #fff; font-weight: 700; font-size: 1.1rem; }
.hero2 .ref-tag { background: var(--brand-bright, #22B8E0); color: var(--ink, #0E1A24); }
/* Liquid-Glass-Buttons in den Firmenfarben: transparente Tönung, Glanzkante, Unschärfe dahinter.
   Ohne Unterstützung für backdrop-filter bleibt die Tönung als normale Fläche. */
.btn--primary, .btn--secondary {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s var(--ease-out, ease), box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn--primary {
    background: linear-gradient(180deg, rgba(120, 220, 245, 0.92) 0%, rgba(34, 184, 224, 0.78) 100%);
    color: var(--ink, #0E1A24);
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--secondary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
    color: #fff;
}
.btn--primary::before, .btn--secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
    z-index: -1;
}
.btn--primary:hover, .btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 14px 32px rgba(0, 0, 0, 0.3);
}
@media (prefers-reduced-motion: reduce) { .btn--primary:hover, .btn--secondary:hover { transform: none; } }
/* Hero-Buttons mit Vorrang vor älteren Button-Regeln */
.hero-photo .btn--primary {
    background: linear-gradient(180deg, rgba(120, 220, 245, 0.9) 0%, rgba(34, 184, 224, 0.7) 100%);
    color: var(--ink, #0E1A24);
    border: 1px solid rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
}
.hero-photo .btn--secondary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
}

/* Pionier Programm: Spotlight folgt dem Mauszeiger (nur mit Maus, nur mit html.js) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 184, 224, 0.22), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .spotlight::before { transition: none; } }

/* Hervorgehobene Karte im Sand-Abschnitt: Hintergrund und Schrift bleiben lesbar */
.section--sand .card--featured,
.section--light .card--featured { background: var(--brand); color: #fff; }
.card--featured .checks li::before { background-color: #fff; color: #fff; }

/* Kleine Vorschau der Konzept-Seiten: verkleinerte Live-Ansicht im Rahmen */
.ref-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 2px solid var(--ink);
    background: var(--paper-2);
    margin-bottom: 1.25rem;
}
.ref-preview {
    display: flex;
    flex-direction: column;
}
.ref-preview img {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.ref-preview__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.75rem;
    background: #F4F1EA;
    color: #1E2A24;
    border-bottom: 1px solid #D8D3C8;
    font-size: 0.72rem;
    font-weight: 600;
}
.ref-preview__logo { font-weight: 800; font-size: 0.9rem; letter-spacing: -0.01em; }
.ref-preview__nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}
.ref-preview__btn {
    background: #2D5544;
    color: #fff;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .ref-preview__nav { display: none; }
}
@media (max-width: 900px) {
    .about-portrait { display: block; margin-left: auto; margin-right: auto; }
}
.field--check { margin-top: 0.5rem; }
.check-label { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; }
.check-label input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.check-label a { text-decoration: underline; }

/* ----- Social-Icons in der Fußzeile ----- */
.footer-col ul.footer-social { flex-direction: row; gap: 0.75rem; margin-top: 1.25rem; }
.footer-col ul.footer-social li { display: block; }
.footer-col .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    color: var(--paper-text-soft);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-col .footer-social a:hover { color: var(--beacon-bright); border-color: var(--beacon-bright); transform: none; }
.footer-col .footer-social a:focus-visible { outline: 3px solid var(--beacon-bright); outline-offset: 3px; }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg .fill { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .footer-col .footer-social a { transition: none; } }
