@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f4f0e8; --paper-2: #ebe5d8; --ink: #14161c; --ink-2: #4a4f5c; --line: #d6cfbf;
  --blau: #0e3e9b; --blau-tief: #0a2c6e; --orange: #ff6230;
  --serif: "Fraunces", Georgia, serif; --sans: "Bricolage", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px); --max: 1280px;
  --s1: clamp(.9rem, .85rem + .2vw, 1rem); --s2: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --s3: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); --s4: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem); --s5: clamp(3.2rem, 1.4rem + 8vw, 9.5rem);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 var(--s1)/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.kicker { font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: .8em; align-items: center; }
.kicker::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.serif { font-family: var(--serif); font-variation-settings: "SOFT" 50, "WONK" 0; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.mark { font: 600 1.25rem/1 var(--serif); letter-spacing: -.02em; text-decoration: none; display: flex; align-items: baseline; gap: .1em; }
.mark i { font-weight: 400; }
.mark .dot { width: .42em; height: .42em; border-radius: 50%; background: var(--orange); display: inline-block; margin-left: .12em; }
.top nav { display: flex; gap: clamp(14px, 2.5vw, 36px); font-size: .92rem; }
.top nav a { text-decoration: none; position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--ink); transition: right .35s cubic-bezier(.2,.7,.2,1); }
.top nav a:hover::after { right: 0; }
.top nav .cta { padding: .55em 1.1em; border-radius: 99px; background: var(--ink); color: var(--paper); }
.top nav .cta::after { display: none; }
@media (max-width: 720px) { .top nav a:not(.cta) { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 110px); position: relative; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font: 400 var(--s5)/.92 var(--serif); letter-spacing: -.035em; margin: 28px 0 0; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: block; animation: rise 1.1s cubic-bezier(.2,.7,.1,1) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hero h1 em { color: var(--blau); font-variation-settings: "SOFT" 100, "WONK" 1; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lead { font-size: var(--s2); line-height: 1.5; max-width: 34ch; color: var(--ink-2); margin-top: 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: .7em; padding: 1em 1.5em; border-radius: 99px; font-weight: 500; text-decoration: none; transition: transform .3s, background .3s; }
.btn.prim { background: var(--blau); color: #fff; }
.btn.prim:hover { background: var(--blau-tief); transform: translateY(-2px); }
.btn.sek { border: 1px solid var(--ink); }
.btn.sek:hover { background: var(--ink); color: var(--paper); }
.btn .pf { transition: transform .3s; }
.btn:hover .pf { transform: translateX(4px); }

/* Signature: Brief wird Website */
.stage { position: relative; aspect-ratio: 4 / 5; }
.letter, .browser { position: absolute; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(20,22,28,.35), 0 2px 6px rgba(20,22,28,.06); }
.letter { inset: 8% 22% 18% 0; background: #fffdf8; padding: 9% 10%; transform: rotate(-5deg); }
.letter .l-mark { font: 600 .8rem/1 var(--serif); }
.letter .l-addr { margin-top: 18%; display: grid; gap: 5px; width: 55%; }
.letter .l-addr i, .letter .l-text i { display: block; height: 5px; border-radius: 3px; background: var(--paper-2); }
.letter .l-text { margin-top: 16%; display: grid; gap: 7px; }
.letter .l-text i:nth-child(3n) { width: 70%; }
.letter .qr { position: absolute; right: 10%; bottom: 9%; width: 18%; aspect-ratio: 1; background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 34% 34%; border: 3px solid var(--ink); }
.browser { inset: 30% 0 0 18%; background: var(--ink); overflow: hidden; animation: lift 1.4s .5s cubic-bezier(.2,.7,.1,1) both; }
@keyframes lift { from { transform: translateY(14%) rotate(3deg); opacity: 0; } }
.browser .bar { height: 26px; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.browser .bar b { width: 8px; height: 8px; border-radius: 50%; background: #3a3e4a; }
.browser .scr { position: absolute; inset: 26px 0 0; background: var(--blau); padding: 9% 9%; color: #fff; }
.browser .scr .t { font: 400 clamp(1.1rem, 2.4vw, 2rem)/1 var(--serif); letter-spacing: -.02em; }
.browser .scr .t em { color: var(--orange); }
.browser .scr .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12%; }
.browser .scr .row i { aspect-ratio: 3 / 4; border-radius: 3px; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.05)); }
.browser .scr .pill { margin-top: 10%; width: 46%; height: 22px; border-radius: 99px; background: var(--orange); }
.stage .tag { position: absolute; left: -2%; bottom: 6%; background: var(--orange); color: var(--ink); font: 500 .8rem/1.2 var(--sans); padding: .7em 1em; border-radius: 99px; transform: rotate(-4deg); animation: lift 1.2s 1s both; }
@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; }
  .stage { max-width: 420px; width: 100%; justify-self: center; margin-top: 24px; }
}

/* Laufband */
.band { border-block: 1px solid var(--ink); overflow: hidden; white-space: nowrap; padding: 18px 0; font: 400 var(--s3)/1 var(--serif); letter-spacing: -.02em; }
.band .track { display: inline-flex; gap: 1.2em; animation: band 38s linear infinite; }
.band .track span::after { content: "✶"; color: var(--orange); margin-left: 1.2em; font-size: .6em; vertical-align: middle; }
@keyframes band { to { transform: translateX(-50%); } }

/* Abschnitte */
section { padding: clamp(80px, 12vw, 170px) 0; }
.head { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(20px, 4vw, 64px); margin-bottom: clamp(48px, 7vw, 96px); }
.head h2 { font: 400 var(--s4)/.98 var(--serif); letter-spacing: -.03em; }
.head h2 em { color: var(--blau); }
.head .k { padding-top: .8em; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* Ablauf: nummeriert, Linie zeichnet sich beim Scrollen */
.steps { position: relative; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 7rem 1fr 1.2fr; gap: clamp(16px, 3vw, 48px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step .n { font: 300 var(--s4)/.8 var(--serif); color: var(--blau); font-variant-numeric: lining-nums; }
.step h3 { font: 500 var(--s3)/1.05 var(--serif); letter-spacing: -.02em; }
.step p { color: var(--ink-2); max-width: 44ch; }
.step.hl { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--orange) 14%, transparent)); }
@media (max-width: 760px) { .step { grid-template-columns: 4rem 1fr; } .step p { grid-column: 2; } }

/* Leistung: editoriales Raster mit Überlappung */
.dunkel { background: var(--ink); color: var(--paper); }
.dunkel .kicker { color: #a8acb6; }
.dunkel .head h2 em { color: var(--orange); }
.feat { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.f { border-top: 1px solid #343845; padding-top: 22px; }
.f h3 { font: 400 var(--s3)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.f p { color: #b9bdc7; }
.f.a { grid-column: 1 / 7; } .f.b { grid-column: 8 / 13; margin-top: 18%; } .f.c { grid-column: 2 / 7; } .f.d { grid-column: 8 / 12; margin-top: 10%; } .f.e { grid-column: 1 / 6; } .f.g { grid-column: 7 / 13; }
.f.big { background: var(--blau); border: 0; padding: clamp(24px, 3vw, 40px); border-radius: 4px; }
.f.big p { color: #d6def0; }
@media (max-width: 860px) { .f.a, .f.b, .f.c, .f.d, .f.e, .f.g { grid-column: 1 / -1; margin-top: 0; } }

/* Preis */
.preis { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.pcard { border: 1px solid var(--ink); border-radius: 6px; padding: clamp(28px, 4vw, 56px); position: relative; background: #fffdf8; }
.pcard .betrag { font: 300 var(--s5)/.85 var(--serif); letter-spacing: -.05em; display: flex; align-items: flex-start; gap: .1em; }
.pcard .betrag sup { font-size: .32em; margin-top: .25em; font-weight: 400; }
.pcard .unter { margin-top: 18px; font-size: var(--s2); }
.pcard .unter b { font-weight: 600; }
.pcard ul { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.pcard li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.pcard li::before { content: "→"; color: var(--blau); }
.pcard .stempel { position: absolute; top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); width: 118px; aspect-ratio: 1; border-radius: 50%; background: var(--orange); display: grid; place-items: center; text-align: center; font: 500 .78rem/1.2 var(--sans); transform: rotate(10deg); padding: 14px; }
.grundsatz { display: grid; gap: 0; align-content: start; }
.grundsatz div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.grundsatz div:first-child { border-top: 1px solid var(--line); }
.grundsatz b { font: 400 var(--s3)/1 var(--serif); display: block; letter-spacing: -.02em; }
.grundsatz span { color: var(--ink-2); }
@media (max-width: 860px) { .preis { grid-template-columns: 1fr; } .pcard .stempel { position: static; margin-bottom: 20px; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; font: 400 var(--s2)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6em; line-height: .8; transition: transform .3s; color: var(--blau); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; max-width: 64ch; color: var(--ink-2); }

/* Kontakt */
.kontakt { background: var(--blau); color: #fff; }
.kontakt .kicker { color: #c9d4ee; }
.kontakt h2 { font: 400 var(--s5)/.9 var(--serif); letter-spacing: -.04em; margin: 28px 0 48px; }
.kontakt h2 em { color: var(--orange); }
.kontakt .zeilen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 28px; }
.kontakt .zeilen small { display: block; color: #c9d4ee; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-bottom: 8px; }
.kontakt .zeilen a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
@media (max-width: 760px) { .kontakt .zeilen { grid-template-columns: 1fr; } }

/* Fotoflächen: img statt background (srcset, lazy), Lesbarkeit per Verlauf */
.foto { position: relative; isolation: isolate; overflow: hidden; }
.foto .bg { position: absolute; inset: 0; z-index: -1; }
.foto .bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.foto .bg::after { content: ""; position: absolute; inset: 0; background: var(--ov); }
.hero.foto { background: var(--ink); color: var(--paper); --ov: linear-gradient(90deg, rgba(14,16,22,.9) 0%, rgba(14,16,22,.8) 50%, rgba(14,16,22,.45) 100%); }
.hero.foto .bg img { object-position: 50% 55%; }
.hero.foto .kicker { color: #cfcabe; }
.hero.foto h1 em { color: var(--orange); }
.hero.foto .lead { color: #e2ddd1; }
.hero.foto .btn.sek { border-color: var(--paper); }
.hero.foto .btn.sek:hover { background: var(--paper); color: var(--ink); }
.dunkel.foto { --ov: linear-gradient(180deg, rgba(20,22,28,.82) 0%, rgba(20,22,28,.88) 34%, rgba(20,22,28,.96) 62%); }
.dunkel.foto .kicker { color: #c4c8d0; }
.dunkel.foto .bg img { object-position: 50% 35%; }
/* oben fast deckend: Orange auf Blau liegt schon ohne Foto nur bei 3,2:1 */
.kontakt.foto { --ov: linear-gradient(180deg, rgba(14,62,155,.97) 0%, rgba(14,62,155,.9) 30%, rgba(10,44,110,.88) 100%); }
.kontakt.foto .kicker, .kontakt.foto .zeilen small { color: #dbe3f4; }
.kontakt.foto .bg img { filter: grayscale(1) contrast(1.1); }
.kontakt .btn.prim { background: var(--orange); color: var(--ink); }
.kontakt .btn.prim:hover { background: #fff; }
@media (max-width: 860px) {
  .hero.foto { --ov: linear-gradient(180deg, rgba(14,16,22,.84) 0%, rgba(14,16,22,.76) 100%); }
  .dunkel.foto .bg img { object-position: 30% 35%; }
}

footer { background: var(--ink); color: #9aa0ab; padding: 32px 0; font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--paper); margin-left: 20px; }

/* Rechtstexte */
.recht { padding: clamp(48px, 8vw, 110px) 0; }
.recht .wrap { max-width: 760px; }
.recht h1 { font: 400 var(--s4)/1 var(--serif); letter-spacing: -.03em; margin-bottom: 40px; }
.recht h2 { font: 500 var(--s2)/1.3 var(--serif); margin: 36px 0 10px; }
.recht p, .recht li { color: var(--ink-2); margin-bottom: 10px; }
.recht ul { padding-left: 1.2em; }

/* Scroll-Reveal nur wo unterstützt; Standard bleibt sichtbar */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rv { from { opacity: 0; transform: translateY(40px); } }
    .step .n { animation: nr linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes nr { from { color: var(--line); } }
    .stage { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    @keyframes drift { to { transform: translateY(-8%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
