/* BUFFWEB
   Layout: dunkler Tannengrün-Verlauf oben und beim Kontakt, dazwischen helle, ruhige Abschnitte
   auf einer abgerundeten Fläche. Eine Schrift (Geist, lokal gehostet), viel Luft. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/geist-latin.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 {
  --bg: #F4F5F2;
  --surface: #FFFFFF;
  --ink: #0F1512;
  --muted: #5D6862;
  --line: #E1E5E0;
  --accent: #1E5A41;

  /* Dunkle Flächen bleiben in beiden Modi gleich */
  --night: #050A08;
  --on-night: #F2F5F3;
  --on-night-muted: #9FB2A7;
  --night-line: rgba(255, 255, 255, .14);
  --night-glass: rgba(255, 255, 255, .07);
  --mint: #7FB896;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --gutter: 20px;
  --head-h: 86px;
}
@media (min-width: 720px) { :root { --gutter: 48px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0F0C; --surface: #121915; --ink: #E9EEEB; --muted: #98A59E; --line: #222C27;
    --accent: #7FB896;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F0C; --surface: #121915; --ink: #E9EEEB; --muted: #98A59E; --line: #222C27;
  --accent: #7FB896;
  color-scheme: dark;
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.04em; line-height: 1.04; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 70;
  background: var(--on-night); color: var(--night); padding: .7rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: 1296px; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.label {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .32rem .8rem; justify-self: start; align-self: start;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.night .label { color: var(--on-night); border-color: var(--night-line); background: var(--night-glass); }
.night .label::before { background: var(--mint); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 500 .97rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: .55rem .6rem .55rem 1.25rem; border-radius: 999px; min-height: 48px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.btn .arr { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--surface); font-size: .95rem; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn.plain { padding: .55rem 1.25rem; }
.btn-light { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.btn-light .arr { background: var(--night); color: var(--on-night); }
.btn-ghost { background: transparent; border-color: var(--night-line); color: var(--on-night); }
.btn-ghost:hover { background: var(--night-glass); }

/* Dunkle Flächen */
.night {
  color: var(--on-night); position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 80% at 8% 0%, #2F8C64 0%, #1B5C42 20%, #0C2D20 45%, transparent 72%),
    radial-gradient(60% 60% at 100% 100%, #123826 0%, transparent 70%),
    var(--night);
}
.night::after {
  content: ""; position: absolute; z-index: -1; width: 1600px; height: 1600px; border-radius: 50%;
  border: 1px solid var(--night-line); right: -900px; top: 38%; pointer-events: none;
}

/* Header: fix oben. Über dem Hero transparent, beim Scrollen dunkles Glas und etwas flacher. */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.4rem; transition: padding .3s ease; }
.site-head.is-scrolled {
  background-color: rgba(5, 10, 8, .74); border-bottom-color: var(--night-line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-head.is-scrolled .wrap { padding-block: .7rem; }
.hero, .page-head { padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); }
section, #kontakt { scroll-margin-top: 72px; }
/* Logo: Dach-Zeichen (SVG) + Schriftzug BUFF/WEB in Geist */
.logo { display: inline-flex; align-items: center; gap: .34em; flex: none; font-size: 23px; line-height: 1; text-decoration: none; color: var(--on-night); }
.brand-mark { height: .92em; width: auto; flex: none; overflow: visible; }
.brand-mark .roof { fill: var(--mint); }
.brand-mark .base { fill: currentColor; }
.brand-word { font-weight: 600; letter-spacing: .1em; margin-right: -.1em; }
.brand-word b { font-weight: 600; color: var(--mint); }
.site-head .logo { margin-right: auto; }
.nav { display: flex; gap: .35rem; }
.nav a {
  text-decoration: none; font-size: .88rem; color: var(--on-night); padding: .5rem .95rem; border-radius: 999px;
  background: var(--night-glass); border: 1px solid var(--night-line); transition: background .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .14); }
.site-head .btn { min-height: 40px; padding: .5rem 1.05rem; font-size: .88rem; }
@media (max-width: 900px) { .nav { display: none; } .site-head .logo { font-size: 18px; } }

/* Hero: füllt einen Bildschirm, Titel skaliert mit Breite und Höhe */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero .body { flex: 1; display: grid; align-content: end; gap: clamp(1.4rem, 3.4vh, 2.4rem); padding-block: clamp(2rem, 6vh, 5rem) clamp(2.5rem, 8vh, 5.5rem); }
.hero h1 { display: grid; gap: clamp(1.2rem, 3.4vh, 2.2rem); }
.hero h1 .headline { font-size: clamp(2.4rem, min(6.4vw, 9.5vh), 5.6rem); max-width: 19ch; }
.hero h1 .dim { color: var(--on-night-muted); }
.hero-foot { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; align-items: flex-end; justify-content: space-between; }
.hero-foot .left { display: grid; gap: 1.8rem; max-width: 34rem; }
.hero .lead { font-size: 1.12rem; color: var(--on-night-muted); }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.founder {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1.3rem .7rem .7rem; border-radius: 999px;
  background: var(--night-glass); border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.founder img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 58% 42%; }
.founder b { display: block; font-weight: 500; font-size: .95rem; }
.founder span { font-size: .82rem; color: var(--on-night-muted); }
@media (max-width: 560px) {
  .hero .label { font-size: .75rem; }
  .ctas .btn { flex: 1 1 100%; }
}

/* Helle Fläche */
.sheet { background: var(--bg); border-radius: 28px 28px 0 0; position: relative; }
.sec { padding-block: clamp(3.5rem, 10vh, 7rem); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); max-width: 760px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

/* Leistungen */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, .9fr); gap: .6rem 2rem; align-items: baseline;
  padding-block: clamp(1.3rem, 3vh, 1.9rem); border-bottom: 1px solid var(--line);
}
.services .n { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.services h3 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.services p { color: var(--muted); }
@media (max-width: 820px) { .services li { grid-template-columns: 2.5rem minmax(0, 1fr); } .services p { grid-column: 2; } }

/* Referenz */
.ref-head { display: flex; flex-wrap: wrap; gap: 1.2rem 1.5rem; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(1.5rem, 4vh, 2.2rem); }
.ref-head .sec-head { margin-bottom: 0; }
.browser { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); text-decoration: none; box-shadow: 0 40px 80px -40px rgba(5, 10, 8, .35); }
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.url { flex: 1; min-width: 0; text-align: center; padding: .3rem .8rem; border-radius: 999px; background: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser .spacer { width: 42px; flex: none; }
.browser img { width: 100%; aspect-ratio: 1600 / 912; max-height: 58vh; object-fit: cover; object-position: top; transition: transform .6s ease; }
.browser:hover img { transform: scale(1.015); }
.ref-meta { display: flex; flex-wrap: wrap; gap: .4rem 2.5rem; margin-top: 1.2rem; font-size: .9rem; color: var(--muted); }
.ref-meta b { color: var(--ink); font-weight: 500; }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; }
.about figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.about .txt { display: grid; gap: 1.3rem; }
.about .txt > p { color: var(--muted); font-size: 1.06rem; max-width: 52ch; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .6rem; border-top: 1px solid var(--line); }
.about-facts div { padding: 1.1rem 1rem 0 0; display: grid; gap: .2rem; }
.about-facts div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.about-facts b { font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.04em; line-height: 1.1; }
.about-facts span { font-size: .85rem; color: var(--muted); }
.buff-def { margin: 0; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: .35rem; max-width: 52ch; }
.buff-def dt { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.buff-def dt span { margin-left: .5rem; font-size: .82rem; font-style: italic; letter-spacing: 0; color: var(--muted); }
.buff-def dd { margin: 0; color: var(--muted); }
.buff-def .note { margin-top: .4rem; padding-top: .7rem; border-top: 1px dashed var(--line); color: var(--ink); }
.sign-off { font-size: .95rem; }
.sign-off span { color: var(--muted); }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about figure { aspect-ratio: 4 / 3; max-height: 60vh; }
}
@media (max-width: 520px) {
  .about-facts b { font-size: 1.2rem; }
  .about-facts div + div { padding-left: .8rem; }
}

/* Vergleich */
.vs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vs-row + .vs-row > div { border-top: 1px solid var(--line); }
.vs-row + .vs-row > .us { border-top-color: var(--night-line); }
.vs-row > div { display: flex; gap: .9rem; align-items: flex-start; padding: clamp(.8rem, 1.9vh, 1.15rem) 1.5rem; min-width: 0; }
.vs .them { background: var(--surface); color: var(--muted); }
.vs .us { background: linear-gradient(90deg, rgba(36, 112, 79, .38), rgba(36, 112, 79, .12)), var(--night); color: var(--on-night); }
.vs-head > div { align-items: center; min-height: 3.8rem; font-weight: 500; font-size: 1.1rem; }
.vs-head .them { color: var(--ink); }
.vs-head .us { font-size: 17px; gap: .34em; }
.vs-head .us .brand-word { font-size: 1em; }
.vs .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; margin-top: .15rem; }
.vs .them .ic { border: 1px solid var(--line); color: var(--muted); }
.vs .us .ic { background: var(--mint); color: var(--night); font-weight: 600; }
.vs .who { display: none; }
@media (max-width: 720px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr); }
  .vs-row + .vs-row > div { border-top: 0; }
  .vs-row + .vs-row { border-top: 1px solid var(--line); }
  .vs-row > div { padding: 1rem 1.2rem; }
  .vs .who { display: block; font-size: .72rem; font-weight: 500; margin-bottom: .15rem; opacity: .75; }
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; gap: .6rem; align-content: start; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps .time { font-size: .82rem; color: var(--accent); font-weight: 500; }
.steps h3 { font-size: 1.4rem; letter-spacing: -.03em; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.3rem; background: var(--surface); }
.plan.pro { background: var(--night); color: var(--on-night); border-color: var(--night); position: relative; overflow: hidden; isolation: isolate; }
.plan.pro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 70% at 0% 0%, #22704F 0%, #0E3424 40%, transparent 75%); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 500; }
.plan-top h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.badge { font-size: .75rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; background: var(--night-glass); border: 1px solid var(--night-line); color: var(--on-night); }
.amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; font-size: clamp(2.4rem, 3.4vw, 3rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount small { font-size: .9rem; letter-spacing: 0; color: var(--muted); }
.plan.pro .amount small, .plan.pro .muted, .plan.pro li { color: var(--on-night-muted); }
.plan ul { list-style: none; padding: 1.3rem 0 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
.plan.pro ul { border-top-color: var(--night-line); }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan.pro li::before { color: var(--mint); }
.plan .btn { margin-top: auto; }
.price-note { margin-top: 1.4rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 920px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 540px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); }
.faq-grid .sec-head { align-content: start; margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: 1.05rem; font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.contact .inner { padding-block: clamp(4.5rem, 12vh, 8rem); display: grid; gap: 1.5rem; }
.contact h2 { font-size: clamp(2.8rem, 8vw, 6.2rem); }
.contact .lead { color: var(--on-night-muted); max-width: 46ch; font-size: 1.1rem; }
.mail {
  justify-self: start; display: inline-flex; align-items: center; gap: .5em;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem); letter-spacing: -.03em; text-decoration: none; color: var(--on-night);
  border-bottom: 1px solid var(--on-night-muted); overflow-wrap: anywhere; transition: border-color .2s, color .2s;
}
.mail .arr { font-size: .7em; transition: transform .2s ease; }
.mail:hover { color: #FFFFFF; border-color: var(--mint); }
.mail:hover .arr { transform: translate(3px, -3px); }
.contact .or { margin-top: .9rem; font-size: .95rem; color: var(--on-night-muted); }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: -.6rem; }
.copy { font: 500 .97rem/1 var(--font); min-height: 48px; background: var(--night-glass); color: var(--on-night); border: 1px solid var(--night-line); padding: .55rem 1.25rem; border-radius: 999px; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 560px) { .mailrow > * { flex: 1 1 100%; } }
.contact .founder { justify-self: start; margin-top: .6rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--night-line); color: var(--on-night-muted); }
.site-foot .wrap { padding-block: 2rem 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; font-size: .88rem; }
.site-foot .logo { font-size: 17px; opacity: .9; }
.site-foot nav { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { color: var(--on-night); }

/* Unterseiten (Impressum, Datenschutz, 404) */
.page-head .inner { padding-block: clamp(2.5rem, 8vh, 5rem) clamp(3rem, 9vh, 5.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.page-head p { color: var(--on-night-muted); max-width: 52ch; }
.legal { padding-block: clamp(3rem, 8vh, 5.5rem); }
.legal .content { display: grid; gap: 1rem; }
.legal .content > * { max-width: 720px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.03em; margin-top: 1.6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
.legal a { color: var(--accent); }
.todo { background: #FFE58A; color: #3A2E00; padding: 0 .3em; border-radius: 4px; }

/* Scroll-Fortschritt */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #2F8C64, var(--mint));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Mobile Leiste: Gratis Erstgespräch (erscheint nach dem Hero) */
.cta-bar { display: none; }
@media (max-width: 720px) {
  .cta-bar {
    display: flex; align-items: center; gap: .8rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(5, 10, 8, .88); border-top: 1px solid var(--night-line); color: var(--on-night);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .cta-bar.show { transform: none; }
  .cta-bar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 58% 42%; flex: none; }
  .cta-bar p { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.3; color: var(--on-night-muted); }
  .cta-bar b { display: block; font-weight: 500; font-size: .92rem; color: var(--on-night); }
  .cta-bar .btn { min-height: 44px; padding: .5rem 1.1rem; font-size: .92rem; flex: none; }
}

/* Animationen: Hero beim Laden, Inhalte beim Scrollen. Ohne JS bleibt alles sichtbar. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero h1 > *, .hero .lead, .hero .ctas, .hero .founder { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .headline { animation-delay: .08s; }
.hero .lead { animation-delay: .18s; }
.hero .ctas { animation-delay: .26s; }
.hero .founder { animation-delay: .36s; }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arr, .browser img, summary::after, .mail, .mail .arr, .cta-bar, .site-head, .site-head .wrap { transition: none; }
  .hero h1 > *, .hero .lead, .hero .ctas, .hero .founder { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
