/* Showcase Gratwerk (30.11.2026): nur zeigen. Dunkle Bühne oben und unten, dazwischen hell und ruhig.
   Hausschrift Maison Neue (Kaufschrift, nicht im Repo, fonts/maison/), Inter dahinter für U+202F. Keine negative Laufweite,
   keine Etiketten über Überschriften, keine Einblende-Effekte: Die Bewegung kommt aus den Clips. */

@font-face { font-family: 'Maison Neue'; src: url(fonts/maison/MaisonNeue-Book.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Maison Neue'; src: url(fonts/maison/MaisonNeue-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Maison Neue'; src: url(fonts/maison/MaisonNeue-Demi.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/InterVariable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --dunkel: #121615;
  --grund: #f2efe8;
  --tinte: #1b2120;
  --grau: #434c49;
  --linie: rgba(27, 33, 32, .14);
  --hell-linie: rgba(255, 255, 255, .16);
  --akzent: #e2965a;
  --schrift: 'Maison Neue', 'Inter', system-ui, sans-serif;
  --breite: 1280px;
  --rand: clamp(20px, 5vw, 80px);
  --kante: max(var(--rand), calc((100% - var(--breite)) / 2));
  --r: 7px;
  --weich: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--grund); color: var(--tinte); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.55 var(--schrift); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
/* Große Titel in Book: Medium wirkt ab etwa 40 px schwer. Zwischentitel bleiben Medium. */
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, h2 { font-weight: 400; }
h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.05; }
h3 { font-size: 20px; line-height: 1.25; }
p { text-wrap: pretty; }
.wrap { padding: 0 var(--kante); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--tinte); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px;
  background: var(--grund); color: var(--tinte); font: 500 16px/1 var(--schrift); text-decoration: none; transition: transform .25s var(--weich), background .25s, box-shadow .25s; }
.knopf:hover { transform: translateY(-2px); background: #fff; }
.knopf-hell { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf-hell:hover { background: rgba(255, 255, 255, .08); }
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Kopf: keine eigene Fläche, nur die Collab-Zeile „made in × Frontify“ über dem Hero */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 28px var(--kante); color: #fff; }
.absender { line-height: 0; color: #fff; }
.logo-wort { height: 26px; width: auto; }
.kreuz { font-size: 22px; line-height: 1; color: rgba(255, 255, 255, .55); }
.fy { display: inline-flex; align-items: center; gap: 9px; }
.fy-zeichen { width: 26px; height: 26px; }
.fy-name { font-size: 21px; font-weight: 500; line-height: 1; }

/* Kleiner Link hinter Highlight-Titeln: führt zur Gratwerk-Seite mit dem Effekt */
.zu-gratwerk { position: relative; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-left: .2em; vertical-align: -.12em; border-radius: 50%;
  color: var(--grau); box-shadow: inset 0 0 0 1px var(--linie); transition: color .2s, background .2s, box-shadow .2s, transform .2s var(--weich); }
.zu-gratwerk svg { width: 62%; height: 62%; }
.zu-gratwerk:hover, .zu-gratwerk:focus-visible { color: #fff; background: var(--tinte); box-shadow: none; transform: translate(1px, -1px); }
/* Eigener Hinweis statt Browser-Tooltip (der kommt erst nach rund einer Sekunde) */
.zu-gratwerk[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 6px 10px; border-radius: 6px;
  background: var(--tinte); color: #fff; font: 500 13px/1.2 var(--schrift); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .15s, transform .2s var(--weich); }
.zu-gratwerk:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0); }

/* Hero */
.hero { background: var(--dunkel); color: #fff; padding: clamp(72px, 13vh, 150px) 0 clamp(56px, 9vh, 110px); }
.hero-text { max-width: calc(var(--breite) * .78 + 2 * var(--kante)); margin-bottom: clamp(36px, 6vh, 64px); }
.hero h1 { font-size: clamp(44px, 6.4vw, 100px); line-height: .98; }
.hero .lead { margin-top: 32px; max-width: 33em; font-size: clamp(18px, 1.45vw, 21px); color: rgba(255, 255, 255, .74); }
.buehne { position: relative; border-radius: var(--r); overflow: hidden; background: #0b0e0d;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--hell-linie); }
.buehne video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Rahmen für alle Clips */
.rahmen { position: relative; border-radius: var(--r); overflow: hidden; background: #1b2120; box-shadow: 0 0 0 1px var(--linie); }
.rahmen video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Mediathek im Rampenlicht */
.spot { padding: clamp(72px, 11vh, 140px) 0 clamp(56px, 8vh, 96px); }
.spot > .wrap > h2 { margin-bottom: clamp(28px, 4vh, 44px); }
.spot-titel { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; }
.spot-raster { display: grid; grid-template-columns: 4fr 7fr; gap: 48px clamp(40px, 5vw, 80px); align-items: center; }
.spot-text p { margin-top: 18px; color: var(--grau); font-size: 19px; }
.fakten { margin-top: 28px; border-top: 1px solid var(--linie); }
.fakten li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--linie); position: relative; font-size: 17px; }
.fakten li::before { content: ''; position: absolute; left: 2px; top: calc(13px + .775em); width: 12px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--akzent); }
.spot .rahmen { box-shadow: 0 30px 70px -30px rgba(27, 33, 32, .45), 0 0 0 1px var(--linie); }

/* Interaktive Werkzeuge: Bildcheck groß, darunter Sticker und 3D-Telefon */
.interaktiv { border-top: 1px solid var(--linie); }
.interaktiv-kopf { margin-bottom: clamp(28px, 4vh, 44px); }
.spot.interaktiv > .wrap > h2 { margin-bottom: 0; }
.interaktiv-lead { margin-top: 16px; max-width: 33em; font-size: clamp(18px, 1.45vw, 21px); color: var(--grau); }
.interaktiv-zwei { margin-top: clamp(56px, 8vh, 96px); }
.interaktiv .kachel .rahmen { box-shadow: 0 30px 70px -30px rgba(27, 33, 32, .45), 0 0 0 1px var(--linie); }

/* Highlights: Mediathek, dann zwei große Szenen, darunter acht kleine (alles ein Abschnitt, Interactive tools danach) */
.gross { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.gross h3 { margin-top: 18px; font-size: clamp(22px, 1.9vw, 28px); }
.gross p { margin-top: 8px; color: var(--grau); font-size: 18px; max-width: 34em; }
.klein { margin-top: clamp(64px, 9vh, 104px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--linie);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px clamp(16px, 1.8vw, 28px); }
.klein h3 { margin-top: 14px; font-size: 18px; }
.klein p { margin-top: 4px; color: var(--grau); font-size: 16px; line-height: 1.5; }
.klein video { object-position: top; }
.highlights-mehr { margin-top: clamp(80px, 12vh, 140px); }
/* Kleine Highlights laufen nacheinander (showcase.js): Linie im Bild unten füllt sich mit dem Clip, dann springt sie weiter */
.fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.fortschritt i { display: block; height: 100%; background: var(--akzent); transform: scaleX(0); transform-origin: left; }
.klein .kachel .rahmen { transition: opacity .3s; }
.klein:has(.is-aktiv) .kachel:not(.is-aktiv) .rahmen { opacity: .72; }

/* Ebenen: was der Kunde davon hat, alles im Frontify-Editor pflegbar */
.ebenen { padding: clamp(80px, 13vh, 160px) 0; border-top: 1px solid var(--linie); }
.ebenen-kopf { display: grid; grid-template-columns: 7fr 5fr; gap: 20px clamp(40px, 5vw, 80px); align-items: end; }
.ebenen-kopf h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; }
.ebenen-lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--grau); }
.drei { margin-top: clamp(48px, 7vh, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.drei li { padding-top: 26px; border-top: 1px solid var(--linie); position: relative; }
.drei li::before { content: ''; position: absolute; left: 0; top: -2px; width: 36px; height: 3px; border-radius: 2px; background: var(--akzent); }
.drei h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; }
.drei p { margin-top: 12px; color: var(--grau); font-size: 18px; }

/* Häufige Fragen: offen lesbar für Suchmaschinen (Inhalt steht im HTML), FAQPage im JSON-LD spiegelt dieselben Texte */
.faq { padding: clamp(80px, 13vh, 160px) 0; border-top: 1px solid var(--linie); }
.faq-raster { display: grid; grid-template-columns: 4fr 7fr; gap: 28px clamp(40px, 5vw, 80px); align-items: start; }
.faq h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; }
.fragen { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; }
.frage summary::after { content: ''; flex: none; width: 14px; height: 14px; transform: translateY(1px);
  background: linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--weich); }
.frage[open]:not(.is-schliesst) summary::after { transform: translateY(1px) rotate(45deg); }
.frage summary:hover h3 { color: var(--grau); }
.frage p { padding: 0 48px 26px 0; max-width: 40em; color: var(--grau); font-size: 18px; }

/* Schluss */
.schluss { background: var(--dunkel); color: #fff; padding: clamp(72px, 11vh, 130px) 0; }
.schluss-raster { display: grid; grid-template-columns: 6fr 5fr; gap: 28px clamp(40px, 5vw, 80px); align-items: end; }
.schluss p { color: rgba(255, 255, 255, .74); font-size: 18px; }
.kontakt { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 2px; align-items: center; font-size: 16px; color: rgba(255, 255, 255, .74); }
.kontakt > :not(.kontakt-bild) { grid-column: 2; }
.kontakt-bild { grid-column: 1; grid-row: 1 / span 4; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.kontakt-label { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.kontakt b { font-weight: 500; font-size: 20px; color: #fff; }
.kontakt a { color: #fff; text-decoration: none; margin-top: 6px; width: fit-content; }
.kontakt a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fuss a { color: inherit; text-underline-offset: 3px; }
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; font-size: 13px;
  color: rgba(255, 255, 255, .55); background: var(--dunkel); }

/* Tablet und Handy */
@media (max-width: 960px) {
  .spot-raster, .schluss-raster { grid-template-columns: 1fr; }
  .gross { grid-template-columns: 1fr; }
  .klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drei, .ebenen-kopf, .faq-raster { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .frage p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .frage summary::after { transition: none; }
}
