/* OD-Sign · Startseite. Idee: „Vom Papier zur Unterschrift in einem Federstrich“ — Tintenstrich und rotes Siegel als einziges Motiv.
   Endzustand ist Standard; Bewegung nur unter html.js und ohne reduzierte Bewegung. */
:root { --rand: clamp(16px, 4vw, 64px); --u: clamp(16px, 3.125vw, 48px); --tinte-blau: #14215a; --vorhang: cubic-bezier(.76, 0, .24, 1); }
body.start { background: var(--papier); overflow-x: clip; }
.mono-marke { font: 500 12.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--siegel); margin: 0 0 18px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px var(--rand); background: #f4f3f0d9; backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s var(--aus); }
.kopf.gescrollt { border-color: var(--linie); }
.kopf-nav { display: flex; gap: 4px; flex: 1; }
.kopf-nav a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--leise); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.kopf-nav a:hover { color: var(--tinte); background: var(--papier-2); }
.kopf-knoepfe { display: flex; gap: 6px; }
.knopf.gross { min-height: 52px; padding: 0 26px; font-size: 16px; }
.knopf.hell { background: #fff; color: var(--tinte); } .knopf.hell:hover { background: #ecebe7; }
@media (max-width: 860px) { .kopf-nav { display: none; } .kopf { justify-content: space-between; } .kopf-knoepfe .still { display: none; } }

/* Held */
.held { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--u); align-items: center; padding: clamp(36px, 8vh, 96px) var(--rand) clamp(48px, 9vh, 110px); max-width: 1560px; margin: 0 auto; }
.held h1 { font-size: clamp(46px, 6.3vw, 116px); font-weight: 720; letter-spacing: -.048em; line-height: .9; font-variation-settings: 'opsz' 96; }
.tinte-wort { color: var(--tinte-blau); }
.strich { display: block; width: min(560px, 100%); height: auto; margin: -6px 0 14px -6px; overflow: visible; }
.strich-pfad { fill: none; stroke: var(--tinte-blau); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.strich-siegel { fill: none; stroke: var(--siegel); stroke-width: 6; transform-box: fill-box; transform-origin: center; }
.held-unter { font-size: clamp(17px, 1.35vw, 20px); color: var(--leise); max-width: 34em; margin: 0 0 26px; }
.held-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.held-bild { position: relative; aspect-ratio: 16 / 11.5; }
.rahmen { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 #15161a14, 0 30px 60px -30px #15161a59, 0 60px 120px -60px #14215a40; border: 1px solid var(--linie); }
.rahmen img { display: block; width: 100%; height: auto; }
.rahmen-desktop { position: absolute; inset: 0 0 auto 6%; transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.rahmen-handy { position: absolute; width: 27%; left: -2%; bottom: -6%; border-radius: 30px; border: 7px solid var(--tinte); box-shadow: 0 40px 80px -30px #15161a80; }
@media (max-width: 960px) {
  .held { grid-template-columns: 1fr; }
  .held-bild { aspect-ratio: auto; height: min(78vw, 560px); }
  .rahmen-desktop { inset: 0 0 auto 10%; transform: none; }
  .rahmen-handy { width: 34%; left: 0; bottom: 0; }
}

/* Fakten */
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1560px; margin: 0 auto; padding: 0 var(--rand); }
.fakten p { margin: 0; padding: 22px 22px 26px 0; border-top: 1px solid var(--tinte); display: grid; gap: 6px; }
.fakten p + p { padding-left: 22px; border-left: 1px solid var(--linie); }
.fakten b { font: 650 19px/1.2 var(--anzeige); letter-spacing: -.02em; }
.fakten span { color: var(--leise); font-size: 15px; }
@media (max-width: 860px) { .fakten { grid-template-columns: 1fr 1fr; } .fakten p:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .fakten { grid-template-columns: 1fr; } .fakten p, .fakten p + p { padding-left: 0; border-left: 0; } }

/* Ablauf: Text links scrollt, Bild rechts klebt */
.ablauf, .funktionen, .l-preise, .ehrlich, .fragen { max-width: 1560px; margin: 0 auto; padding: clamp(80px, 14vh, 160px) var(--rand) 0; }
.ablauf-kopf { margin-bottom: clamp(36px, 6vh, 72px); }
.ablauf-kopf h2, .protokoll h2, .ehrlich h2, .schluss h2 { font-size: clamp(34px, 4.6vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.ablauf-kopf .leise { margin: 16px 0 0; max-width: 40em; }
.ablauf-buehne { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--u); }
.schritte { list-style: none; margin: 0; padding: 0; }
.schritt { min-height: 62vh; padding: 4vh 0; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s var(--aus); }
.schritt.an, html:not(.js) .schritt { opacity: 1; }
.schritt-nr { font: 500 13px var(--mono); color: var(--siegel); letter-spacing: .12em; margin-bottom: 12px; }
.schritt h3 { font-size: clamp(30px, 3vw, 46px); font-weight: 700; letter-spacing: -.035em; margin-bottom: 14px; }
.schritt p { font-size: 18px; color: var(--leise); max-width: 30em; margin: 0; }
.schritt-bild { display: none; }
.ablauf-bild { position: sticky; top: 14vh; height: 72vh; }
.ablauf-bild .rahmen { position: absolute; top: 50%; left: 50%; max-height: 100%; opacity: 0; transform: translate(-50%, -46%) scale(.96); transition: opacity .7s var(--aus), transform .9s var(--aus); }
.ablauf-bild .rahmen.an, html:not(.js) .ablauf-bild .bild-0 { opacity: 1; transform: translate(-50%, -50%); }
.ablauf-bild .bild-0 { width: 100%; }
.rahmen-handy-gross { width: auto; height: 96%; border-radius: 34px; border: 8px solid var(--tinte); } .rahmen-handy-gross img { height: 100%; width: auto; }
.rahmen-papier { width: auto; height: 96%; border-radius: 4px; } .rahmen-papier img { height: 100%; width: auto; }
.ablauf-linie { position: absolute; left: -28px; top: 4%; bottom: 4%; width: 2px; background: var(--linie); border-radius: 2px; }
.ablauf-linie i { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: var(--tinte-blau); border-radius: 2px; }
.ablauf-linie::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 4px solid var(--siegel); background: var(--papier); }
@media (max-width: 960px) {
  .ablauf-buehne { grid-template-columns: 1fr; }
  .ablauf-bild { display: none; }
  .schritt { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .schritt-bild { display: block; margin-top: 22px; border-radius: 12px; border: 1px solid var(--linie); box-shadow: 0 30px 60px -36px #15161a66; max-height: 70vh; width: auto; max-width: 100%; }
}

/* Protokoll: die dunkle Welt */
.protokoll { margin-top: clamp(80px, 14vh, 160px); background: var(--tinte); color: #f4f3f0; padding: clamp(72px, 12vh, 140px) var(--rand); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--u); align-items: center; }
.protokoll > * { max-width: 760px; } .protokoll-text { justify-self: end; }
.protokoll p { color: #c9c8c4; font-size: 18px; }
.protokoll .mono-marke { color: #ff7a5c; }
.haken-liste { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.haken-liste li { padding-left: 34px; position: relative; color: #c9c8c4; font-size: 17px; }
.haken-liste li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--siegel); }
.haken-liste b { color: #fff; font-weight: 600; }
.protokoll-bild { transform: rotate(2deg); width: 100%; height: auto; max-width: 520px; border: 0; box-shadow: 0 60px 120px -40px #000; }
.protokoll-bild img { width: 100%; height: auto; }
@media (max-width: 960px) { .protokoll { grid-template-columns: 1fr; } .protokoll-text { justify-self: start; } .protokoll-bild { transform: none; } }

/* Funktionen */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--tinte); }
.kacheln article { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--linie); }
.kacheln article:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--linie); }
.kacheln h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 10px; }
.kacheln p { color: var(--leise); margin: 0; }
@media (max-width: 860px) { .kacheln { grid-template-columns: 1fr 1fr; } .kacheln article, .kacheln article:not(:nth-child(3n + 1)) { padding: 24px 20px 28px 0; border-left: 0; } .kacheln article:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--linie); } }
@media (max-width: 520px) { .kacheln { grid-template-columns: 1fr; } .kacheln article:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Ehrlich gesagt */
.ehrlich { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--u); }
.ehrlich-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u); }
.ehrlich h3 { font-size: 22px; margin-bottom: 12px; }
.ehrlich ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ehrlich li { padding-left: 28px; position: relative; }
.ehrlich-spalten > div:first-child li::before { content: '✓'; position: absolute; left: 0; color: var(--gut); font-weight: 700; }
.ehrlich-spalten > div:last-child li::before { content: '✕'; position: absolute; left: 0; color: var(--siegel); font-weight: 700; }
@media (max-width: 860px) { .ehrlich, .ehrlich-spalten { grid-template-columns: 1fr; } }

/* Preise */
.l-tarife { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.l-tarife > div { position: relative; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 26px 22px; display: grid; gap: 10px; align-content: start; transition: transform .3s var(--aus), box-shadow .3s var(--aus); }
.l-tarife > div:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -36px #15161a55; }
.l-tarife .hervor { border-color: var(--siegel); box-shadow: 0 0 0 1px var(--siegel); }
.l-tarife h3 { font-size: 22px; }
.l-preis { font: 720 40px/1 var(--anzeige); letter-spacing: -.045em; margin: 0; } .l-preis span { font: 400 15px var(--schrift); color: var(--leise); letter-spacing: 0; }
.l-tarife ul { margin: 0; padding-left: 18px; color: var(--leise); display: grid; gap: 5px; font-size: 15px; }
.l-tarife .knopf { margin-top: 6px; }
.l-beliebt { position: absolute; top: -12px; left: 20px; background: var(--siegel); color: #fff; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1060px) { .l-tarife { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .l-tarife { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { max-width: 980px; }
.fragen h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.04em; margin-bottom: 24px; }
.fragen details { border-top: 1px solid var(--linie); padding: 4px 0; }
.fragen details:last-of-type { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 19px/1.3 var(--anzeige); letter-spacing: -.02em; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 26px var(--schrift); color: var(--siegel); transition: transform .3s var(--aus); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { color: var(--leise); margin: 0 0 20px; max-width: 46em; }

/* Schluss */
.schluss { margin-top: clamp(80px, 14vh, 160px); background: var(--tinte); color: #fff; text-align: center; padding: clamp(80px, 14vh, 160px) var(--rand); display: grid; justify-items: center; gap: 28px; position: relative; overflow: hidden; }
.schluss-siegel { width: 96px; height: 96px; } .schluss-siegel circle { fill: none; stroke: var(--siegel); stroke-width: 12; }
.schluss .held-knoepfe { justify-content: center; }

/* Fuß */
.fuss { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 28px var(--rand); border-top: 1px solid var(--linie); }
.fuss-zeile { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fuss-marke { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fuss-recht { display: flex; gap: 16px; } .fuss-recht a { color: var(--leise); font-size: 14px; }
.marke-knopf { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 7px; border-radius: 999px; font-weight: 600; font-size: 14.5px; text-decoration: none; border: 1px solid currentColor; transition: transform .2s var(--aus), background .2s; }
.marke-knopf img { width: 26px; height: 26px; border-radius: 6px; }
.marke-knopf:hover { transform: translateY(-1px); }
.marke-knopf--webliq { color: #8a6a10; background: #e8c14a1a; } .marke-knopf--webliq:hover { background: #e8c14a33; }
.marke-knopf--otaku { color: #2f5fb8; background: #7ba9f51a; } .marke-knopf--otaku:hover { background: #7ba9f533; }

/* ── Bewegung: nur mit JS und ohne reduzierte Bewegung ── */
@media (prefers-reduced-motion: no-preference) {
  html.js .strich-pfad { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zug 1.7s cubic-bezier(.6, 0, .3, 1) .35s forwards; }
  html.js .strich-siegel { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: siegel .55s var(--feder) 1.95s forwards; }
  html.js .held h1, html.js .held-unter, html.js .held-knoepfe { animation: auf .9s var(--aus) both; }
  html.js .held-unter { animation-delay: .12s; } html.js .held-knoepfe { animation-delay: .2s; }
  html.js .rahmen-desktop { animation: kippen 1.3s var(--aus) .1s both; }
  html.js .rahmen-handy { animation: auf 1.1s var(--aus) .45s both, schweben 7s ease-in-out 1.6s infinite; }
  html.js .zeige { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--aus), transform .9s var(--aus); }
  html.js .zeige.da { opacity: 1; transform: none; }
}
@keyframes zug { to { stroke-dashoffset: 0; } }
@keyframes siegel { 0% { opacity: 1; stroke-dashoffset: 1; transform: scale(1.5); } 100% { opacity: 1; stroke-dashoffset: 0; transform: scale(1); } }
@keyframes auf { from { transform: translateY(26px); } }
@keyframes kippen { from { transform: perspective(1800px) rotateY(-22deg) rotateX(8deg) translateY(30px); } }
@keyframes schweben { 50% { translate: 0 -10px; } }
@media (max-width: 960px) { html.js .rahmen-desktop { animation: none; } }
