/* =========================================================
   Black Forest Office – Stylesheet
   Alle Farben stammen aus dem Logo und sind hier zentral änderbar.
   ========================================================= */
:root {
  --forest: #21372f;      /* dunkles Tannengrün */
  --forest-2: #2e4a3d;
  --night: #17271f;       /* sehr dunkles Grün (Footer) */
  --moss: #547258;        /* mittleres Grün */
  --sage: #7c9a83;        /* Salbeigrün */
  --sand: #bcaa83;        /* Gold-Beige (Logo) – Akzentfarbe */
  --gold: #8a7444;        /* dunkleres Gold für Text auf hellem Grund */
  --sand-soft: #efe8d8;   /* sehr helles Gold für Flächen */
  --stone: #d5d4ce;       /* Logo-Hintergrund */
  --mist: #e8e7e1;        /* helles Stein-Grau */
  --paper: #f5f4f0;       /* heller Seitenhintergrund */
  --white: #ffffff;
  --ink: #18211d;
  --muted: #56625c;
  --line: #dcdad3;
  --todo-bg: #fff3b0;
  --todo-line: #d9a400;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(24,33,29,.05), 0 10px 30px rgba(24,33,29,.08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3 { line-height: 1.15; color: var(--forest); margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 760; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); font-weight: 730; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; position: relative; z-index: 1; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* Offene Platzhalter – vor Veröffentlichung entfernen */
.todo { background: var(--todo-bg); outline: 1px dashed var(--todo-line); border-radius: 4px; padding: 0 .25em; color: #5c4500; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(213,212,206,.95); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(33,55,47,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand img { width: 62px; height: auto; }
.brand-name { font-weight: 760; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; line-height: 1.15; }
.brand-name small { display: block; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); font-size: .78rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(33,55,47,.25); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--forest); cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--forest); font-weight: 560; font-size: .95rem; white-space: nowrap; transition: background .2s; }
.main-nav a:hover { background: rgba(33,55,47,.08); }
.main-nav a[aria-current="page"] { background: rgba(33,55,47,.12); }
.main-nav .btn { margin-left: 8px; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--stone); border-bottom: 1px solid rgba(33,55,47,.15); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; }
  .main-nav a { padding: 12px; }
  .main-nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 480px) { .brand-name small { display: none; } .brand img { width: 52px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--sand); background: var(--sand); color: var(--forest); cursor: pointer; font: inherit; font-weight: 650; line-height: 1.2; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: #cdbd97; border-color: #cdbd97; color: var(--forest); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(23,39,31,.18); }
.main-nav a.btn { color: var(--forest); padding: 9px 18px; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: rgba(33,55,47,.08); color: var(--forest); box-shadow: none; }
.btn-sand { background: var(--sand); border-color: var(--sand); color: var(--forest); }
.btn-sand:hover { background: #cdbd97; color: var(--forest); }
.btn-light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-mist { background: var(--mist); }
.bg-white { background: var(--white); }
.bg-stone { background: var(--stone); }
.pt-0 { padding-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .7; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 700px; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .7; }

/* Tannen-Ornament wie im Logo: Linie – drei Tannen – Linie */
.tannen { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.tannen::before, .tannen::after { content: ""; flex: 0 0 70px; height: 1.5px; background: var(--forest); opacity: .7; }
.tannen span { width: 66px; height: 22px; background: url("../img/tannen.svg") center/contain no-repeat; }
.center .tannen, .tannen.center { justify-content: center; }
.on-dark .tannen::before, .on-dark .tannen::after { background: var(--white); }
.on-dark .tannen span { filter: brightness(0) invert(1); opacity: .9; }

/* ---------- Berg-Übergänge (Logo-Silhouette) ---------- */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(56px, 9vw, 140px); pointer-events: none; z-index: 0; }
.ridge svg { width: 100%; height: 100%; display: block; }
.ridge.top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ---------- Hero mit Foto ---------- */
.hero { color: #e9eee9; padding: clamp(70px, 10vw, 140px) 0 clamp(120px, 15vw, 210px); background-color: var(--forest); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,35,29,.94) 0%, rgba(33,55,47,.82) 42%, rgba(33,55,47,.35) 100%); }
.hero h1 { color: var(--white); max-width: 760px; }
.hero .lead { color: #dfe7e1; font-size: 1.22rem; }
.hero .eyebrow { color: var(--sand); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero-badge { justify-self: end; width: min(320px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--stone); display: grid; place-items: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); border: 6px solid rgba(255,255,255,.25); }
.hero-badge img { width: 92%; border-radius: 50%; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 560; }
.hero-points li::before { content: "✓"; margin-right: 6px; color: var(--sand); }
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 13vw, 180px); }
.page-hero h1 { max-width: 820px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-badge { display: none; } }

/* ---------- „Auf einen Blick“ ---------- */
.glance { margin-top: clamp(-120px, -9vw, -60px); position: relative; z-index: 2; padding-top: 0; }
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(23,39,31,.14); overflow: hidden; }
.glance-item { padding: 34px 30px; position: relative; }
.glance-item + .glance-item { border-left: 1px solid var(--line); }
.glance-item .num { font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.glance-item h2 { font-size: 1.35rem; margin: 6px 0 10px; }
.glance-item ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.glance-item li { padding-left: 22px; position: relative; color: #33403a; }
.glance-item li::before { content: ""; position: absolute; left: 0; top: .55em; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--sand); }
.glance-item p { color: #33403a; margin: 0; }
@media (max-width: 860px) { .glance-grid { grid-template-columns: 1fr; } .glance-item + .glance-item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Fotos mit Grünstich ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.03) brightness(1.02); transition: transform .8s ease; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(124,154,131,.28), rgba(33,55,47,.30)); mix-blend-mode: multiply; pointer-events: none; }
.photo:hover img { transform: scale(1.03); }
.photo.slant { clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%); border-radius: 0; }
.photo.slant-r { clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 93%); border-radius: 0; }
.photo.peak { clip-path: polygon(0 14%, 30% 0, 55% 10%, 78% 2%, 100% 12%, 100% 100%, 0 100%); border-radius: 0 0 var(--radius) var(--radius); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo-credit { font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* Bild mit Logo-Akzent */
.photo-wrap { position: relative; }
.photo-wrap .mark-accent { position: absolute; width: 38%; right: -6%; bottom: -8%; z-index: 2; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.photo-wrap .mark-accent.left { right: auto; left: -6%; }

/* ---------- Logo als Deko (hochkant / schräg / Muster) ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; opacity: .08; background: url("../img/logo-berge.png") center/contain no-repeat; }
.deco.hochkant { width: 520px; height: 320px; transform: rotate(-90deg); }
.deco.schraeg { width: 460px; height: 280px; transform: rotate(-14deg) skewX(-10deg); }
.deco.gespiegelt { width: 420px; height: 260px; transform: scaleX(-1) rotate(8deg); }
.deco.r { right: -170px; top: 30%; }
.deco.l { left: -160px; top: 20%; }
.deco.bl { left: -80px; bottom: 30px; }
.deco.tr { right: -60px; top: 40px; }
.pattern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90' viewBox='0 0 120 90'%3E%3Cg fill='%2321372f' fill-opacity='.045'%3E%3Cpolygon points='10,80 30,40 50,80'/%3E%3Cpolygon points='38,80 62,30 86,80'/%3E%3Cpolygon points='76,80 92,50 108,80'/%3E%3C/g%3E%3C/svg%3E"); }
@media (max-width: 700px) { .deco { display: none; } }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(24,33,29,.12); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); margin-bottom: 16px; background: var(--moss); clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 14px; }
.card .icon svg { width: 20px; height: 20px; }
.card:nth-child(3n+2) .icon { background: var(--forest); }
.card:nth-child(3n+3) .icon { background: var(--sand); color: var(--forest); }

/* Zielgruppen-Karten mit Bild */
.audience { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.audience:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(24,33,29,.16); color: inherit; }
.audience .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.audience .body { padding: 8px 30px 30px; }
.audience .tag { display: inline-block; font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.audience ul { margin: 10px 0 0; padding-left: 1.1em; color: #33403a; }
.audience .more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--moss); }

/* Listen */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321372f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.x-list li::before { background: #b9b4a6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Ablauf als Bergpfad */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; border-top: 2px dashed rgba(84,114,88,.45); }
.steps li { counter-increment: step; position: relative; text-align: center; padding: 0 8px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; background: var(--forest); color: var(--white); font-weight: 750; font-size: 1.1rem; clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 16px; }
.steps li:nth-child(2)::before { background: var(--moss); }
.steps li:nth-child(3)::before { background: var(--sage); }
.steps li:nth-child(4)::before { background: var(--sand); color: var(--forest); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Preise */
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-size: 1.7rem; font-weight: 760; color: var(--forest); margin: 4px 0 2px; }
.price-card .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card ul { padding-left: 1.1em; margin: 12px 0 0; }
.price-card li { margin-bottom: 6px; }
.price-card .badge { align-self: flex-start; background: var(--sand); color: var(--forest); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.price-card { border-top: 5px solid var(--sand); }
.price-card .more-link { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--forest); }
.price-card::after { content: ""; position: absolute; right: 18px; top: 18px; width: 54px; height: 33px; background: url("../img/logo-berge.png") center/contain no-repeat; opacity: .16; }
.note { font-size: .92rem; color: var(--muted); }

.notice { border-left: 4px solid var(--sand); background: rgba(188,170,131,.16); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.notice p:last-child { margin: 0; }

/* Team */
.person { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: start; }
.avatar { width: 128px; height: 128px; display: grid; place-items: center; background: var(--stone) url("../img/logo-berge.png") center 85%/80% no-repeat; color: var(--forest); font-size: 1.8rem; font-weight: 780; letter-spacing: .04em; border-radius: 50%; border: 3px dashed var(--todo-line); object-fit: cover; padding-bottom: 46px; }
img.avatar { border: none; padding: 0; }
.person .role { color: var(--moss); font-weight: 640; margin: -6px 0 10px; }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 600; color: var(--forest); }
.tags li.primary { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* Schwarzwald-Band mit Foto */
.band { color: #e9eee9; background-color: var(--forest); background-size: cover; background-position: center; padding: clamp(130px, 16vw, 220px) 0; text-align: center; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,55,47,.78), rgba(23,39,31,.86)); }
.band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.band p { max-width: 640px; margin-inline: auto; color: #d9e2dc; font-size: 1.15rem; }
.band .container { z-index: 2; }

/* CTA */
.cta-band { background: var(--forest); color: #e7ece8; border-radius: 26px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: 340px; height: 210px; background: url("../img/logo-berge-hell.png") center/contain no-repeat; opacity: .35; transform: rotate(-6deg); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band .btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-band .btn-light { text-align: center; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Formular */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--forest); }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid #c9c7bf; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(124,154,131,.25); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .88rem; color: var(--muted); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form.card:hover { transform: none; }
.contact-box dt { font-weight: 650; color: var(--forest); margin-top: 12px; }
.contact-box dd { margin: 0; }

.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; color: var(--forest); padding: 15px 0; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #c8d1cb; padding: 40px 0 28px; font-size: .95rem; position: relative; }
.site-footer a { color: #e7ece8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-logo { width: 150px; opacity: .9; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #9fb0a6; font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hilfsklassen */
.mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.top { align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Sanftes Einblenden beim Scrollen ----------
   Inhalte sind immer sichtbar; beim Hineinscrollen gleiten sie nur sanft hoch. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.in { animation: none; }
  .card, .audience, .btn, .photo img { transition: none; }
}

main { overflow-x: clip; }
@media (max-width: 700px) { .photo-wrap .mark-accent { right: -2%; width: 32%; } .photo-wrap .mark-accent.left { left: -2%; } }

/* ===== Ergänzungen Version 3 ===== */
/* Gold-Unterstreichung für Schlüsselwörter */
.hl { background: linear-gradient(transparent 62%, rgba(188,170,131,.55) 62%, rgba(188,170,131,.55) 92%, transparent 92%); padding: 0 .08em; }
.hero .hl, .band .hl { background: none; color: var(--sand); }

/* „Kurz gesagt“-Leiste – auf jeder Unterseite gleich */
.intro { background: var(--white); border-left: 5px solid var(--sand); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; box-shadow: var(--shadow); font-size: 1.12rem; }
.intro strong { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; display: block; margin-bottom: 4px; }
.intro p { margin: 0; }
.intro-wrap { margin-top: clamp(-90px, -7vw, -50px); position: relative; z-index: 2; padding-top: 0; padding-bottom: 20px; }

/* Backoffice-Baukasten */
.bk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .bk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bk-grid { grid-template-columns: 1fr; } }
.bk-chip { display: flex; gap: 12px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.bk-chip:hover { border-color: var(--sand); transform: translateY(-2px); }
.bk-chip .box { flex: 0 0 26px; height: 26px; border-radius: 8px; border: 2px solid var(--sand); display: grid; place-items: center; margin-top: 2px; transition: background .2s; }
.bk-chip .box::after { content: "✓"; font-weight: 800; color: var(--forest); opacity: 0; }
.bk-chip b { display: block; color: var(--forest); }
.bk-chip small { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; }
.bk-chip[aria-pressed="true"] { border-color: var(--sand); background: var(--sand-soft); }
.bk-chip[aria-pressed="true"] .box { background: var(--sand); }
.bk-chip[aria-pressed="true"] .box::after { opacity: 1; }
.bk-chip.static { cursor: default; }
.bk-chip.static:hover { transform: none; border-color: var(--line); }
.bk-bar { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; background: var(--forest); color: #e3eae5; border-radius: 18px; padding: 18px 22px; }
.bk-bar strong { color: var(--sand); font-size: 1.2rem; }

/* Kontakt-Bausteine */
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: .95rem; color: var(--forest); margin-bottom: 8px; }
.form .bk-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .bk-checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; font-size: .92rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.form .bk-checks input { width: auto; accent-color: var(--sand); }
.form .bk-checks label:has(input:checked) { background: var(--sand-soft); border-color: var(--sand); }

/* Vorher/Nachher */
.before-after .photo figcaption { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--sand); color: var(--forest); font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px; }
.label-pill { display: inline-block; background: var(--forest); color: var(--white); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.label-pill.gold { background: var(--sand); color: var(--forest); }

/* Footer-Logo auf dunklem Grund */
.footer-logo { opacity: 1; }

/* ===== Version 4: Auswahl direkt unter dem Startbild ===== */
.picker-wrap { margin-top: clamp(-130px, -10vw, -64px); position: relative; z-index: 2; padding: 0 0 clamp(50px, 7vw, 80px); }
.picker { background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(23,39,31,.16); padding: clamp(24px, 4vw, 40px); border-top: 6px solid var(--sand); }
.picker-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.picker-head h2 { margin-bottom: .3em; }
.picker-head p { color: var(--muted); margin: 0; }
.picker-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; }
.picker-col { border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.picker-col.onb { background: var(--sand-soft); border-color: #e2d6b9; }
.picker-col .note { margin: 2px 0 14px; }
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.picker-col.onb .picks { grid-template-columns: 1fr; }
.pick { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-weight: 600; color: var(--forest); background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pick:hover { border-color: var(--sand); }
.pick .box { flex: 0 0 22px; height: 22px; border-radius: 6px; border: 2px solid var(--sand); display: grid; place-items: center; }
.pick .box::after { content: "✓"; font-weight: 800; font-size: .8rem; color: var(--forest); opacity: 0; }
.pick[aria-pressed="true"] { border-color: var(--sand); background: var(--sand-soft); }
.picker-col.onb .pick[aria-pressed="true"] { background: var(--white); }
.pick[aria-pressed="true"] .box { background: var(--sand); }
.pick[aria-pressed="true"] .box::after { opacity: 1; }
.picker .bk-bar { margin-top: 22px; }
@media (max-width: 860px) { .picker-cols { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .picks { grid-template-columns: 1fr; } }

/* Gruppen-Überschrift bei den Leistungen */
.split-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; }
.split-head .label-pill { margin: 0; }
.split-head p { margin: 0; color: var(--muted); }
.form .bk-checks .grp { flex-basis: 100%; font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

/* ===== Version 5: Auswahl als Karten im gleichen Stil wie die Leistungs-Karten ===== */
.hero:not(.page-hero) { padding-bottom: clamp(100px, 11vw, 160px); }
.picker-sec { padding-top: clamp(48px, 6vw, 80px); }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; font: inherit; color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: var(--shadow);
  cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .2s, background .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(24,33,29,.12); border-color: var(--sand); }
.tile .icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); margin-bottom: 14px; background: var(--moss);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 14px; }
.tile:nth-child(3n+2) .icon { background: var(--forest); }
.tile:nth-child(3n+3) .icon { background: var(--sand); color: var(--forest); }
.tile .icon svg { width: 20px; height: 20px; }
.tile b { display: block; font-size: 1.12rem; color: var(--forest); margin: 6px 0 4px; line-height: 1.25; }
.tile small { display: block; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.tile-badge { display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--forest); }
.tile-badge.plain { background: rgba(84,114,88,.12); color: var(--moss); }
.tile .tick { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--sand); display: grid; place-items: center; transition: background .2s; }
.tile .tick::after { content: "✓"; font-weight: 800; color: var(--forest); opacity: 0; }
.tile[aria-pressed="true"] { border-color: var(--sand); background: var(--sand-soft); }
.tile[aria-pressed="true"] .tick { background: var(--sand); }
.tile[aria-pressed="true"] .tick::after { opacity: 1; }
.tile.static { cursor: default; }
.tile.static .tick { display: none; }
.tile.static:hover { border-color: var(--line); }
.picker-sec .bk-bar { margin-top: 24px; }

/* ===== Version 6: kompakte Auswahl, runde Symbole statt Dreiecke ===== */
.tile { padding: 16px 44px 16px 16px; box-shadow: 0 1px 2px rgba(24,33,29,.05), 0 6px 18px rgba(24,33,29,.06); border-width: 1.5px; }
.tile:hover { transform: translateY(-2px); }
.tile-top { display: flex; align-items: center; gap: 12px; }
.tile .icon, .card .icon { width: 40px; height: 40px; flex: 0 0 40px; margin: 0; padding: 0; clip-path: none; border-radius: 50%;
  background: var(--sand-soft); color: var(--forest); display: grid; place-items: center; }
.tile:nth-child(n) .icon, .card:nth-child(n) .icon { background: var(--sand-soft); color: var(--forest); }
.card .icon { margin-bottom: 14px; width: 46px; height: 46px; }
.tile .icon svg, .card .icon svg { width: 20px; height: 20px; }
.tile b { margin: 0; font-size: 1.02rem; }
.tile small { margin-top: 8px; font-size: .92rem; }
.tile-badge { margin-top: 8px; font-size: .66rem; }
.tile .tick { top: 14px; right: 14px; width: 22px; height: 22px; }
.tile .tick::after { font-size: .75rem; }
.tile-grid { gap: 12px; max-width: 980px; margin-inline: auto; }
.picker-sec .bk-bar { max-width: 980px; margin-inline: auto; margin-top: 18px; padding: 14px 18px; }
.picker-sec .section-head { margin-bottom: 26px; }
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 12px 12px 12px; }
  .tile-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tile .icon { width: 34px; height: 34px; flex-basis: 34px; }
  .tile .icon svg { width: 17px; height: 17px; }
  .tile b { font-size: .92rem; padding-right: 18px; }
  .tile small { display: none; }
  .tile-badge { font-size: .6rem; padding: 2px 8px; }
  .tile .tick { top: 10px; right: 10px; width: 20px; height: 20px; }
  .picker-sec .lead { font-size: 1rem; }
  .picker-sec .bk-bar { flex-direction: column; align-items: stretch; text-align: center; }
}
/* Ablauf-Schritte: Kreise statt Dreiecke */
.steps li::before { clip-path: none; border-radius: 50%; padding-top: 0; width: 48px; height: 48px; }
.steps::before { top: 23px; }

/* ================= Version 7: Animationen (nur transform/opacity – bleibt flüssig) ================= */
/* 1 – Logo zeichnet sich selbst (Startseite) */
.hero-badge .logo-draw { width: 88%; height: auto; }
.hero-mark { display: none; width: 96px; height: auto; margin-bottom: 14px; }
@media (max-width: 860px) { .hero-mark { display: block; } }
.lg-txt { font: 600 54px var(--font); letter-spacing: 2px; fill: #18211d; }
.js .logo-draw .lg-mtn > * { fill-opacity: 0; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 1500; stroke-dashoffset: 1500;
  animation: lg-draw 1.1s cubic-bezier(.6,0,.2,1) forwards, lg-fill .6s ease forwards;
  animation-delay: calc(.15s + var(--i) * .07s), calc(.95s + var(--i) * .05s); }
.js .hero-mark .lg-mtn > * { stroke: var(--sand); }
.js .logo-draw .lg-txt { opacity: 0; transform-box: fill-box; transform: translateY(14px); animation: lg-rise .6s ease 1.35s forwards; }
.js .logo-draw .lg-line { transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: lg-grow-x .7s ease 1.55s forwards; }
.js .logo-draw .lg-tree path { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: lg-grow-y .5s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: calc(1.75s + var(--t) * .12s); }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes lg-rise { to { opacity: 1; transform: none; } }
@keyframes lg-grow-x { to { transform: scaleX(1); } }
@keyframes lg-grow-y { to { transform: scaleY(1); } }

/* 3 – Bergschichten im Seitenkopf bewegen sich leicht versetzt */
.hero-ridge .rl { will-change: transform; }

/* 2 – Scroll-Geschichte (Startseite) */
.story { position: relative; height: 280vh; background: var(--mist); }
.story-stage { position: sticky; top: var(--hdr, 75px); height: calc(100vh - var(--hdr, 75px)); height: calc(100svh - var(--hdr, 75px)); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.story-head { text-align: center; padding-top: clamp(28px, 6vh, 70px); }
.story-head h2 { margin: .25em 0 .35em; }
.story-caps { position: relative; min-height: 3.4em; max-width: 560px; margin: 0 auto; }
.story-cap { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; color: var(--muted); font-size: 1.05rem; }
.story-cap.on { opacity: 1; transform: none; }
.story-scene { position: relative; width: min(900px, 94vw); margin: 0 auto; height: 100%; }
.story-beleg { position: absolute; left: 0; top: 0; width: 56px; height: 72px; background: #fff; border-radius: 6px; border-top: 4px solid var(--sand); box-shadow: 0 4px 14px rgba(24,33,29,.10); will-change: transform; }
.story-beleg::before, .story-beleg::after { content: ""; position: absolute; left: 9px; right: 9px; height: 4px; border-radius: 2px; background: var(--stone); }
.story-beleg::before { top: 12px; box-shadow: 0 10px 0 var(--stone), 0 20px 0 var(--mist); }
.story-beleg::after { bottom: 10px; left: 28px; background: var(--sage); }
.story-ordner { position: absolute; width: 160px; height: 126px; left: 50%; top: 40%; margin: -63px 0 0 -80px; will-change: transform; }
.story-ordner .tab { position: absolute; left: 0; top: 0; width: 64px; height: 26px; background: var(--forest-2); border-radius: 9px 9px 0 0; }
.story-ordner .body { position: absolute; inset: 14px 0 0; background: var(--forest-2); border-radius: 12px; box-shadow: 0 14px 30px rgba(24,33,29,.22); }
.story-ordner .front { position: absolute; inset: 34px 0 0; background: var(--forest); border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--sand); font-weight: 700; font-size: .8rem; }
.story-ordner .front img { width: 56px; height: auto; }
.story-chip { position: absolute; left: 50%; top: 40%; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--sand); color: var(--forest); font-weight: 700; font-size: .85rem; white-space: nowrap; opacity: 0; will-change: transform, opacity; box-shadow: var(--shadow); }
.story-chip::before { content: "✓ "; color: var(--gold); }
.story-stb { position: absolute; left: 50%; bottom: 5%; width: 150px; margin-left: -75px; text-align: center; opacity: 0; will-change: opacity, transform; }
.story-stb .ic { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(188,170,131,.28); }
.story-stb svg { width: 38px; height: 38px; stroke: var(--sand); }
.story-stb span { display: block; font-weight: 700; color: var(--forest); font-size: .92rem; }
.story-done { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--forest); font-weight: 700; font-size: .82rem; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.story-done.on { opacity: 1; transform: none; }
.story-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--sand); transform-origin: left; transform: scaleX(0); }
html:not(.js) .story { height: auto; }
html:not(.js) .story-stage { position: relative; height: auto; padding-bottom: 40px; }
html:not(.js) .story-scene { display: none; }
.story.static { height: auto; }
.story.static .story-stage { position: relative; height: 600px; }
@media (max-width: 560px) { .story { height: 240vh; } .story-beleg { width: 44px; height: 58px; } .story-chip { font-size: .78rem; padding: 6px 10px; } }

/* 5 – Auswahl-Karten: Haken springt, Zähler hüpft */
.tile.pop .tick { animation: tick-pop .4s cubic-bezier(.3,1.8,.5,1); }
@keyframes tick-pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
#bk-count { display: inline-block; }
#bk-count.bump { animation: count-bump .35s ease; }
@keyframes count-bump { 40% { transform: translateY(-4px) scale(1.12); } }

/* 6 – Mitlaufender Button „Erstgespräch“ (nur Handy) */
.float-cta { display: none; }
@media (max-width: 860px) {
  .float-cta { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; box-shadow: 0 10px 26px rgba(24,33,29,.28);
    transform: translateY(160%); opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.3,1.3,.5,1), opacity .3s; }
  .float-cta.show { transform: none; opacity: 1; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .js .logo-draw .lg-mtn > * { animation: none; fill-opacity: 1; stroke: none; }
  .js .logo-draw .lg-txt, .js .logo-draw .lg-line, .js .logo-draw .lg-tree path { animation: none; opacity: 1; transform: none; }
  .tile.pop .tick, #bk-count.bump { animation: none; }
  .float-cta { transition: none; }
}

/* ================= Version 8: größer, flüssiger, mehr Fokus ================= */
/* Logo: größer, schwebt leicht, Antippen spielt es erneut ab */
.js .logo-draw:not(.play) .lg-mtn > *, .js .logo-draw:not(.play) .lg-txt, .js .logo-draw:not(.play) .lg-line, .js .logo-draw:not(.play) .lg-tree path { animation: none; }
@media (min-width: 861px) { .hero-grid { grid-template-columns: 1.2fr .8fr; } }
.hero-badge { position: relative; width: min(400px, 100%); cursor: pointer; transition: box-shadow .3s; }
.js .hero-badge { animation: badge-in .7s cubic-bezier(.3,1.3,.5,1) both, badge-float 7s ease-in-out 2.6s infinite; }
.hero-badge:hover { box-shadow: 0 24px 70px rgba(0,0,0,.4), 0 0 0 10px rgba(188,170,131,.25); }
.hero-badge::after { content: "↻ Nochmal ansehen"; position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%); font-size: .8rem; font-weight: 600; color: var(--sand); opacity: .75; white-space: nowrap; }
@keyframes badge-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-mark { width: 150px; cursor: pointer; margin-bottom: 18px; }

/* Berg-Übergänge: Schichten wachsen vom Boden aus */
.ridge svg { overflow: visible; }
.ridge .rl { transform-box: view-box; transform-origin: 50% 140px; will-change: transform; }

/* Scroll-Geschichte: größer und voller */
.story { height: 300vh; }
.story-head { padding-top: clamp(20px, 4vh, 48px); }
.story-cap { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink); }
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.story-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--stone); transition: background .3s; }
.story-dots i.on { background: var(--sand); }
.story-scene { width: min(1100px, 96vw); }
.story-glow { position: absolute; left: 50%; top: 42%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, rgba(188,170,131,.45) 0%, rgba(188,170,131,.18) 45%, rgba(188,170,131,0) 70%); will-change: transform, opacity; }
.story-beleg { width: 78px; height: 100px; border-radius: 8px; border-top-width: 5px; }
.story-beleg::before { top: 30px; box-shadow: 0 12px 0 var(--stone), 0 24px 0 var(--mist); }
.story-beleg::after { bottom: 12px; left: 36px; height: 6px; }
.story-beleg i { position: absolute; left: 9px; top: 9px; font: 700 .58rem/1 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.story-ordner { width: 230px; height: 180px; margin: -90px 0 0 -115px; top: 42%; }
.story-ordner .tab { width: 92px; height: 34px; border-radius: 12px 12px 0 0; }
.story-ordner .body { inset: 20px 0 0; border-radius: 16px; }
.story-ordner .front { inset: 50px 0 0; border-radius: 16px; font-size: 1rem; gap: 8px; }
.story-ordner .front img { width: 84px; }
.story-chip { top: 42%; font-size: 1rem; padding: 10px 18px; }
.story-stb { width: 200px; margin-left: -100px; bottom: 3%; }
.story-stb .ic { width: 110px; height: 110px; }
.story-stb svg { width: 50px; height: 50px; }
.story-stb span { font-size: 1.05rem; }
.story-done { font-size: .95rem; padding: 8px 16px; }
@media (max-width: 560px) {
  .story { height: 260vh; }
  .story-beleg { width: 56px; height: 72px; }
  .story-beleg::before { top: 22px; box-shadow: 0 9px 0 var(--stone), 0 18px 0 var(--mist); }
  .story-beleg::after { left: 26px; }
  .story-beleg i { font-size: .45rem; top: 7px; left: 7px; }
  .story-glow { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .story-ordner { width: 176px; height: 138px; margin: -69px 0 0 -88px; }
  .story-ordner .tab { width: 70px; height: 28px; }
  .story-ordner .body { inset: 16px 0 0; }
  .story-ordner .front { inset: 40px 0 0; font-size: .85rem; }
  .story-ordner .front img { width: 64px; }
  .story-chip { font-size: .82rem; padding: 7px 12px; }
  .story-stb .ic { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { .js .hero-badge { animation: none; } }
.story { padding: 0; }
.story-caps { min-height: 4.2em; max-width: 720px; }
.story-cap { line-height: 1.45; }

/* ================= Version 9: echtes Logo statt Nachzeichnung ================= */
/* Startseite: das Original-Logo baut sich auf – Berge wachsen von unten, dann Schriftzug, dann Linie mit Tannen */
.hero-badge .logo-draw { position: relative; width: 92%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.hero-badge .logo-draw img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.logo-draw .lg-a { clip-path: inset(19% 0 38.5% 0); }
.logo-draw .lg-b { clip-path: inset(62% 0 30% 0); }
.logo-draw .lg-c { clip-path: inset(70% 0 22% 0); }
.js .logo-draw .lg-a { clip-path: inset(61.5% 0 38.5% 0); transform: translateY(3%); }
.js .logo-draw .lg-b { opacity: 0; transform: translateY(2.5%); }
.js .logo-draw .lg-c { clip-path: inset(70% 50% 22% 50%); }
.js .logo-draw.play .lg-a { animation: lga 1.4s cubic-bezier(.55,0,.2,1) .2s forwards; }
.js .logo-draw.play .lg-b { animation: lgb .7s ease 1.3s forwards; }
.js .logo-draw.play .lg-c { animation: lgc .8s cubic-bezier(.4,0,.2,1) 1.7s forwards; }
@keyframes lga { to { clip-path: inset(19% 0 38.5% 0); transform: none; } }
@keyframes lgb { to { opacity: 1; transform: none; } }
@keyframes lgc { to { clip-path: inset(70% 0 22% 0); } }
@media (max-width: 860px) {
  .hero-badge { display: grid; order: -1; width: 124px; justify-self: start; margin-bottom: 20px; border-width: 3px; }
  .hero-badge::after { display: none; }
}
/* Footer: Original-Logo im runden Feld, gut erkennbar auf Dunkelgrün */
.site-footer .footer-logo { width: 110px; height: 110px; border-radius: 50%; border: 4px solid rgba(255,255,255,.18); opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .logo-draw .lg-a { clip-path: inset(19% 0 38.5% 0); transform: none; animation: none; }
  .js .logo-draw .lg-b { opacity: 1; transform: none; animation: none; }
  .js .logo-draw .lg-c { clip-path: inset(70% 0 22% 0); animation: none; }
}

/* ================= Version 10: Logo-Animation wie früher (Umrisse → Berge → Schrift → Linie → Tannen), aber mit dem echten Logo ================= */
/* Ablauf ca. 6 s, danach Pause; main.js startet sie alle 10 s neu (weich aus- und wieder eingeblendet) */
.hero-badge { cursor: default; }
.hero-badge::after { content: none; display: none; }
.hero-badge .logo-draw { position: relative; width: 92%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.logo-svg { display: block; width: 100%; height: 100%; transition: opacity .7s ease; }
.logo-svg.fade { opacity: 0; }
.logo-svg .lg-out polygon { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.js .logo-draw .lg-m, .js .logo-draw .lg-all, .js .logo-draw .lg-text { opacity: 0; }
.js .logo-draw .lg-l1, .js .logo-draw .lg-l2, .js .logo-draw .lg-t { transform: scale(0); }
.js .logo-draw .lg-l1 { transform-origin: 270px 467px; transform: scaleX(0); }
.js .logo-draw .lg-l2 { transform-origin: 370px 467px; transform: scaleX(0); }
.js .logo-draw .lg-t { transform: scaleY(0); }
.js .logo-draw.play .lg-out polygon { stroke-dashoffset: 1; animation: lg-draw 1.8s cubic-bezier(.55,0,.25,1) forwards, lg-out-fade .8s ease forwards;
  animation-delay: calc(.3s + var(--i) * .28s), calc(4.1s + var(--i) * .05s); }
.js .logo-draw.play .lg-m { transform: translateY(14px); animation: lg-up 1.1s cubic-bezier(.3,.7,.3,1) forwards; animation-delay: calc(1.5s + var(--i) * .28s); }
.js .logo-draw.play .lg-all { animation: lg-show .8s ease 3.7s forwards; }
.js .logo-draw.play .lg-text { transform: translateY(16px); animation: lg-up 1s cubic-bezier(.3,.7,.3,1) 4.3s forwards; }
.js .logo-draw.play .lg-l1, .js .logo-draw.play .lg-l2 { animation: lg-grow 1.1s cubic-bezier(.5,0,.2,1) 5s forwards; }
.js .logo-draw.play .lg-t { animation: lg-grow .7s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: calc(5.6s + var(--t) * .3s); }
@keyframes lg-draw { 0% { opacity: 1; stroke-dashoffset: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes lg-out-fade { 0% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes lg-up { to { opacity: 1; transform: none; } }
@keyframes lg-show { to { opacity: 1; } }
@keyframes lg-grow { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .logo-draw .lg-m, .js .logo-draw .lg-all, .js .logo-draw .lg-text { opacity: 1; transform: none; animation: none; }
  .js .logo-draw .lg-l1, .js .logo-draw .lg-l2, .js .logo-draw .lg-t { transform: none; animation: none; }
  .js .logo-draw .lg-out polygon { display: none; }
}

/* ================= Version 11: Kontaktformular über Resend ================= */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: .95rem; line-height: 1.5; }
.form-status.ok { background: #e6efe7; color: var(--forest); border: 1px solid #b9cfbd; }
.form-status.err { background: #f6ece3; color: #6b3d1f; border: 1px solid #e2c7ad; }
.form-status a { color: inherit; font-weight: 650; }
.form button[disabled] { opacity: .7; cursor: wait; }

/* ================= Version 12: Logo – Buchstaben fliegen einzeln ein, Linie unterstreicht von links nach rechts ================= */
.js .logo-draw .lg-ch { opacity: 0; }
.js .logo-draw.play .lg-ch { transform: translate(-26px, -70px) rotate(-28deg) scale(.4);
  animation: lg-fly .75s cubic-bezier(.2,1.25,.4,1) forwards; animation-delay: calc(3.9s + var(--c) * .08s); }
@keyframes lg-fly { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.js .logo-draw .lg-l1 { transform-origin: 138px 468px; }
.js .logo-draw .lg-l2 { transform-origin: 368px 468px; }
.js .logo-draw.play .lg-l1 { animation: lg-grow .7s cubic-bezier(.6,0,.4,1) 5.75s forwards; }
.js .logo-draw.play .lg-t { animation-delay: calc(6.3s + var(--t) * .16s); }
.js .logo-draw.play .lg-l2 { animation: lg-grow .7s cubic-bezier(.6,0,.4,1) 6.75s forwards; }
@media (prefers-reduced-motion: reduce) { .js .logo-draw .lg-ch { opacity: 1; transform: none; animation: none; } }

/* ================= Version 13: Ordner-Story kürzer + neue Texte deutlich animiert ================= */
.story { height: 210vh; }
@media (max-width: 860px) { .story { height: 190vh; } }
.story-beleg, .story-ordner, .story-chip, .story-glow { will-change: transform, opacity; }
.story-cap { transform: translateY(20px); transition: opacity .4s ease, transform .55s cubic-bezier(.2,.9,.3,1); }
.story-cap.past { transform: translateY(-16px); }
.story-cap.on { opacity: 1; transform: none; animation: cap-in .9s cubic-bezier(.2,.9,.3,1); }
@keyframes cap-in {
  0% { opacity: 0; transform: translateY(20px) scale(.97); color: var(--gold); }
  45% { opacity: 1; color: var(--gold); }
  100% { opacity: 1; transform: none; color: var(--ink); }
}
.story-dots i.on { animation: dot-pop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes dot-pop { 0% { transform: scaleX(.3); } 60% { transform: scale(1.25, 1.8); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .story-cap.on, .story-dots i.on { animation: none; } }
