/* lebe authentisch – eine gemeinsame Stildatei für alle Seiten.

   Bewegung steuert assets/js/main.js über Klassen und CSS-Variablen:
   - html.szenen-an   : Scroll-Szenen sind aktiv (nur mit JavaScript, ohne „Bewegung reduzieren")
   - --p, --a1, --a2  : Fortschritt einer Szene von 0 bis 1
   Ohne diese Klasse ist jede Szene ein ganz normaler, vollständig sichtbarer Abschnitt. */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --burgund: #771854;
  --burgund-dunkel: #5a1040;
  --grund: #faf3f0;
  --sand: #f1e3da;
  --weiss: #ffffff;
  --tinte: #022d3c;
  --tinte-weich: #3d5560;
  --gruen: #4a6657;
  --gruen-hell: #a9bcb4;
  --sonne: #f0bd86;
  --linie: #e3d3c8;
  --schrift-titel: "Playfair Display", Georgia, "Times New Roman", serif;
  --schrift-text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --breite: 1120px;
  --schmal: 44rem;
  --abstand: clamp(4rem, 9vw, 7.5rem);
  --weich: cubic-bezier(0.22, 0.8, 0.26, 1);
  /* Höhenlinien wie auf einer Wanderkarte, als dezentes Muster */
  --hoehenlinien: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='420' viewBox='0 0 600 420' fill='none' stroke='%23022d3c' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-20 80c90-50 160 30 250-10s150-70 240-30 120 60 160 30'/%3E%3Cpath d='M-20 130c100-40 170 40 260 0s140-60 230-20 110 50 150 20'/%3E%3Cpath d='M-20 190c80-30 190 50 280 10s120-70 210-30 110 60 160 30'/%3E%3Cpath d='M-20 250c110-50 180 40 270 0s150-50 220-20 100 60 160 20'/%3E%3Cpath d='M-20 320c90-40 200 30 290-10s130-60 200-20 110 50 160 30'/%3E%3Cpath d='M-20 380c100-30 170 40 260 10s150-70 230-30 100 40 150 20'/%3E%3Cellipse cx='430' cy='205' rx='70' ry='26'/%3E%3Cellipse cx='430' cy='205' rx='38' ry='12'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--burgund); text-underline-offset: 0.18em; }
a:hover { color: var(--burgund-dunkel); }
:focus-visible { outline: 3px solid var(--burgund); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--burgund); color: var(--weiss); }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -0.012em; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.008em; }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1.1em; }
p, li { max-width: 62ch; }
em.akzent { font-style: italic; color: var(--burgund); }
/* Auf dunklem Grund wäre Burgund nicht lesbar: dort bleibt der Akzent kursiv in der Textfarbe. */
.section-dunkel em.akzent, .hero-voll em.akzent, .szene em.akzent { color: inherit; }

.container { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.section { padding-block: var(--abstand); position: relative; }
.section-weiss { background: var(--weiss); }
.section-sand { background: var(--sand) var(--hoehenlinien); }
.section-dunkel { background: var(--tinte); color: var(--grund); }
.section-dunkel a:not(.button) { color: var(--grund); }

/* Mittig gesetzt: Überschriften und kurze Absätze stehen zentriert,
   Listen und längere Texte bleiben für die Lesbarkeit linksbündig, aber in einer mittigen Spalte. */
.mitte { text-align: center; }
.mitte > h1, .mitte > h2, .mitte > p, .mitte > .lead { margin-inline: auto; }
.mitte > p { max-width: 54ch; }
.spalte { max-width: var(--schmal); margin-inline: auto; }
.kopf { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.kopf > * { margin-inline: auto; }
.kopf p { max-width: 54ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gruen); margin-bottom: 0.9rem; max-width: none;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 1.8rem; height: 1.5px; background: currentColor; flex: none; opacity: 0.6; }
.section-dunkel .eyebrow, .szene .eyebrow, .hero-voll .eyebrow { color: #dfe7e9; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--tinte-weich); }
.section-dunkel .lead { color: #c9d6da; }
.abstand-oben { margin-top: 2.2rem; }
.klein { font-size: 0.92rem; color: var(--tinte-weich); margin-top: 1rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--tinte); color: var(--weiss); padding: 0.6rem 1rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 1rem; color: var(--weiss); }

.scroll-fortschritt {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--burgund), var(--sonne)); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* Knöpfe */
.button {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--burgund); color: var(--weiss);
  font: inherit; font-weight: 600; line-height: 1.3; text-decoration: none;
  padding: 0.85rem 1.5rem; border: 2px solid var(--burgund); border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--weich), box-shadow 0.2s;
}
.button::after { content: "→"; transition: transform 0.25s var(--weich); }
.button:hover {
  background: var(--burgund-dunkel); border-color: var(--burgund-dunkel); color: var(--weiss);
  transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(119, 24, 84, 0.7);
}
.button:hover::after { transform: translateX(5px); }
.button-small { padding: 0.5rem 1.1rem; font-size: 0.98rem; }
.button-small::after { content: none; }
.button-hell { background: var(--grund); color: var(--tinte); border-color: var(--grund); }
.button-hell:hover { background: var(--weiss); border-color: var(--weiss); color: var(--tinte); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.text-link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size 0.3s var(--weich); }
.text-link:hover { background-size: 0 2px; background-position: 100% 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; justify-content: center; margin-top: 2rem; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 240, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--tinte); font-family: var(--schrift-titel); font-size: 1.25rem; font-weight: 600; }
.brand img { transition: transform 0.5s var(--weich); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.7rem; }
.site-nav li { max-width: none; }
.site-nav a:not(.button) { color: var(--tinte); text-decoration: none; font-weight: 600; padding-block: 0.4rem; background: linear-gradient(var(--burgund), var(--burgund)) 0 100% / 0 2px no-repeat; transition: background-size 0.3s var(--weich); }
.site-nav a:not(.button):hover, .site-nav a[aria-current="page"] { background-size: 100% 2px; }
.nav-toggle { display: none; }

.hat-bildhero .site-header { position: fixed; left: 0; right: 0; }
.js .hat-bildhero .site-header:not(.is-scrolled):not(.menu-offen) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.js .hat-bildhero .site-header:not(.is-scrolled):not(.menu-offen) .brand,
.js .hat-bildhero .site-header:not(.is-scrolled):not(.menu-offen) .site-nav a:not(.button) { color: var(--weiss); }
.js .hat-bildhero .site-header:not(.is-scrolled):not(.menu-offen) .nav-toggle { color: var(--weiss); border-color: var(--weiss); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(2, 45, 60, 0.6); }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-block; background: none; border: 2px solid var(--tinte); border-radius: 999px;
    padding: 0.4rem 1rem; font: inherit; font-weight: 600; color: var(--tinte); cursor: pointer;
  }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding-block: 0.6rem 0.8rem; }
  .site-nav a:not(.button) { display: block; padding-block: 0.65rem; }
  .site-nav .button { margin-top: 0.5rem; }
}

/* ---------- Szene 1: Einstieg der Startseite ----------
   Das Bild füllt zuerst den Bildschirm und zieht sich beim Scrollen zu einem gerahmten Bild
   zusammen. Die Überschrift weicht dabei einem zweiten Satz. */
.szene { position: relative; --p: 0; --a1: 1; --a2: 1; }
.szene-buehne {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center;
  padding: 7rem 0 4rem; color: var(--weiss); text-align: center;
}
.szene-bild { position: absolute; inset: 0; z-index: -1; background: var(--tinte); }
.szene-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; animation: heranholen 2.4s var(--weich) both; }
.szene-bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(2, 45, 60, 0.72), rgba(2, 45, 60, 0.42) 60%, rgba(2, 45, 60, 0.3)); }
.szene-text { width: min(100% - 2.5rem, 50rem); margin-inline: auto; }
.szene-text > * { margin-inline: auto; }
.szene-text h1 { text-shadow: 0 2px 30px rgba(2, 45, 60, 0.5); }
.szene-text .lead { color: #eef3f4; max-width: 44ch; }
.szene-text .text-link { color: var(--weiss); }
.szene-satz { font-family: var(--schrift-titel); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; max-width: 22ch; margin: 2.5rem auto 0; text-wrap: balance; }
.szene-hinweis { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; display: none; }
.szene-hinweis::after { content: ""; display: block; width: 1.5px; height: 2.4rem; margin: 0.6rem auto 0; background: currentColor; transform-origin: top; animation: tropfen 1.8s var(--weich) infinite; }
@keyframes tropfen { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

.szenen-an .szene-einstieg { height: 210vh; }
.szenen-an .szene-einstieg .szene-buehne { position: sticky; top: 0; height: 100vh; min-height: 0; padding: 0; background: var(--grund); }
.szenen-an .szene-einstieg .szene-bild {
  clip-path: inset(calc(var(--p) * 13vh) calc(var(--p) * 9vw) calc(var(--p) * 9vh) round calc(var(--p) * 36px));
}
.szenen-an .szene-einstieg .szene-bild img { animation: none; transform: scale(calc(1.2 - var(--p) * 0.2)); }
.szenen-an .szene-einstieg .szene-text { grid-area: 1 / 1; }
.szenen-an .szene-einstieg .szene-text-1 { opacity: var(--a1); transform: translateY(calc((1 - var(--a1)) * -50px)); }
.szenen-an .szene-einstieg .szene-text-2 { opacity: var(--a2); transform: translateY(calc((1 - var(--a2)) * 50px)); }
.szenen-an .szene-einstieg .szene-satz { margin-top: 0; max-width: 20ch; font-size: clamp(1.7rem, 4vw, 3.1rem); }
.szenen-an .szene-einstieg .ist-weg { pointer-events: none; visibility: hidden; }
@media (min-width: 760px) and (min-height: 700px) { .szenen-an .szene-hinweis { display: block; opacity: calc(var(--a1) * 0.85); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heranholen { from { transform: scale(1.12); } to { transform: scale(1); } }
.auftakt > * { animation: auftauchen 0.9s var(--weich) both; }
.auftakt > *:nth-child(2) { animation-delay: 0.12s; }
.auftakt > *:nth-child(3) { animation-delay: 0.24s; }
.auftakt > *:nth-child(4) { animation-delay: 0.36s; }
.auftakt > *:nth-child(5) { animation-delay: 0.48s; }

/* ---------- Szene 2: ein Satz nach dem anderen ---------- */
.szene-saetze { background: var(--tinte); color: var(--grund); }
.szene-saetze .szene-buehne { min-height: 0; padding: var(--abstand) 0; overflow: visible; }
.szene-saetze .szene-buehne::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hoehenlinien); filter: invert(1); opacity: 0.9; }
.saetze { list-style: none; padding: 0; margin: 2rem auto 0; width: min(100% - 2.5rem, 46rem); }
.saetze li { font-family: var(--schrift-titel); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.35; max-width: none; padding-block: 1.3rem; border-bottom: 1px solid rgba(250, 243, 240, 0.16); text-wrap: balance; }
.saetze li:last-child { border-bottom: 0; }
.szene-zaehler, .szene-punkte { display: none; }
.saetze li.schluss strong { display: block; margin-top: 0.5em; font-weight: 600; font-style: italic; }

.szenen-an .szene-saetze .szene-buehne { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; }
.szenen-an .szene-saetze .szene-kopf { position: absolute; top: clamp(5.5rem, 16vh, 9rem); left: 0; right: 0; }
.szenen-an .saetze { position: relative; height: 40vh; margin-top: 6vh; }
.szenen-an .saetze li {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0;
  font-size: clamp(1.45rem, 3.3vw, 2.5rem); line-height: 1.28;
  opacity: 0; will-change: opacity, transform;
}
.szenen-an .saetze li.schluss { font-size: clamp(1.6rem, 3.8vw, 2.9rem); }
.szenen-an .szene-punkte { display: flex; gap: 0.6rem; justify-content: center; position: absolute; bottom: clamp(4.5rem, 14vh, 7rem); left: 0; right: 0; }
.szene-punkte span { width: 2rem; height: 3px; border-radius: 3px; background: rgba(250, 243, 240, 0.25); transition: background-color 0.4s, width 0.4s var(--weich); }
.szene-punkte span.ist-aktiv { background: var(--grund); width: 3.2rem; }

/* Großer Einstieg der Unterseiten: Bild über die ganze Breite, Text mittig */
.hero-voll {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 820px); display: grid; place-items: center; text-align: center;
  padding-block: 8rem clamp(6rem, 12vw, 9rem); color: var(--weiss);
}
.hero-medien { position: absolute; inset: -12% 0 0 0; z-index: -2; will-change: transform; }
.hero-medien img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; animation: heranholen 2.4s var(--weich) both; }
.hero-voll::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(2, 45, 60, 0.74), rgba(2, 45, 60, 0.42) 65%, rgba(2, 45, 60, 0.3)); }
.hero-voll .container > * { margin-inline: auto; }
.hero-voll h1 { max-width: 20ch; text-shadow: 0 2px 30px rgba(2, 45, 60, 0.5); }
.hero-voll .lead { color: #eef3f4; max-width: 50ch; }

/* Einstieg ohne großes Bild */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) var(--abstand); position: relative; text-align: center; background: var(--hoehenlinien); }
.hero .container > * { margin-inline: auto; }
.hero .formular-karte { margin-top: 3rem; }
.hero h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.hero h1 { max-width: 22ch; }
.hero .lead { max-width: 52ch; }
.hero-links { text-align: left; }
.hero-links .container > * { margin-inline: 0; }

/* Bergkamm als Übergang zwischen Abschnitten */
.bergkamm { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 9vw, 130px); color: var(--grund); pointer-events: none; }
.bergkamm-sand { color: var(--sand); }
.bergkamm-weiss { color: var(--weiss); }
.bergkamm-dunkel { color: var(--tinte); }
.bergkamm-oben { bottom: auto; top: -1px; transform: scaleY(-1); }

/* ---------- Bildformen ----------
   Porträt: rund im Kompassring (der Ring dreht sich beim Scrollen).
   Landschaft: unregelmäßige Kieselform wie ein Stein am Bachbett. */
.kompass { position: relative; width: min(100%, 21rem); aspect-ratio: 1; margin-inline: auto; }
.kompass-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--burgund); will-change: transform; }
.kompass-ring text { font-family: var(--schrift-titel); font-size: 10px; font-weight: 600; fill: currentColor; }
.kompass-bild { position: absolute; inset: 16%; border-radius: 50%; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(2, 45, 60, 0.8); }
.kompass-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.kompass-nadel { position: absolute; left: 50%; top: -3%; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top: 0; border-bottom: 13px solid var(--burgund); }

.kiesel { border-radius: 58% 42% 47% 53% / 46% 54% 46% 54%; overflow: hidden; aspect-ratio: 5 / 4; width: min(100%, 30rem); margin-inline: auto; box-shadow: 0 30px 60px -36px rgba(2, 45, 60, 0.75); }
.kiesel img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.kiesel-hoch { aspect-ratio: 4 / 5; width: min(100%, 24rem); border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%; }
.kiesel-rahmen { position: relative; }

/* Raster und Karten */
.grid-2, .grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.9rem; display: flex; flex-direction: column;
  transition: transform 0.35s var(--weich), box-shadow 0.35s var(--weich);
}
.card p:last-child { margin-bottom: 0; }
.card-mitte { text-align: center; align-items: center; }
.card-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--gruen); }
a.card, .card-klick { text-decoration: none; color: inherit; }
.card-klick:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(2, 45, 60, 0.55); color: inherit; }

.angebote { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .angebote { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; } .angebot-gross { grid-row: 1 / 3; } }
.angebote .card p:last-child { margin-top: auto; padding-top: 0.6rem; }
.angebot-gross { padding: 0; overflow: hidden; }
.angebot-bild { flex: 1 1 14rem; min-height: 14rem; overflow: hidden; }
.angebot-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--weich); }
.angebot-gross:hover .angebot-bild img { transform: scale(1.06); }
.angebot-text { padding: 1.7rem 1.9rem 1.9rem; }
.angebot-text p:last-child { margin: 0.8rem 0 0; }
.angebot-gross h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.pfeil { font-weight: 600; display: inline-flex; gap: 0.5rem; align-items: center; }
.pfeil::after { content: "→"; transition: transform 0.25s var(--weich); }
.card-klick:hover .pfeil::after { transform: translateX(6px); }

.check-list, .x-list { list-style: none; padding: 0; text-align: left; }
.check-list li, .x-list li { position: relative; padding-left: 2.2rem; margin-bottom: 0.9rem; }
.check-list li::before, .x-list li::before {
  position: absolute; left: 0; top: 0.2em; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: var(--weiss);
}
.check-list li::before { content: "✓"; background: var(--gruen); }
.x-list li::before { content: "✕"; background: var(--burgund); }

/* ---------- Der Weg ----------
   Am Handy eine gerade Linie links, die sich füllt. Auf breiten Bildschirmen zeichnet
   main.js stattdessen einen geschwungenen Pfad in die Mitte, die Schritte stehen abwechselnd
   links und rechts davon. */
.weg-rahmen { position: relative; margin-top: 3rem; }
.weg { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: schritt; --fortschritt: 1; }
.weg::before, .weg::after { content: ""; position: absolute; left: 1.45rem; top: 0.5rem; bottom: 0.5rem; width: 2px; }
.weg::before { background: rgba(2, 45, 60, 0.16); }
.weg::after { background: var(--burgund); transform: scaleY(var(--fortschritt)); transform-origin: top; }
.weg > li { counter-increment: schritt; position: relative; padding: 0 0 clamp(2.5rem, 6vw, 4rem) 5rem; max-width: 44rem; transition: opacity 0.6s var(--weich); }
.weg > li:last-child { padding-bottom: 0; }
.weg > li::before {
  content: counter(schritt); position: absolute; left: 0; top: -0.3rem; z-index: 1;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--schrift-titel); font-size: 1.3rem; font-weight: 600;
  background: var(--weiss); color: var(--burgund); border: 2px solid rgba(119, 24, 84, 0.35);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--weich);
}
.weg > li.ist-erreicht::before { background: var(--burgund); color: var(--weiss); border-color: var(--burgund); transform: scale(1.12); }
.weg h3 { margin-bottom: 0.3em; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.weg h3 small { display: block; font-family: var(--schrift-text); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgund); margin-bottom: 0.4rem; }
.weg p { margin-bottom: 0; }

.weg-pfad { display: none; }
.weg-geschwungen .weg-pfad { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.weg-pfad .pfad-grund { fill: none; stroke: rgba(2, 45, 60, 0.28); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.weg-pfad .pfad-gegangen { fill: none; stroke: var(--burgund); stroke-width: 3; stroke-linecap: round; }
.weg-pfad .pfad-punkt { fill: var(--weiss); stroke: rgba(119, 24, 84, 0.4); stroke-width: 2; transition: fill 0.4s, stroke 0.4s; }
.weg-pfad .pfad-punkt.ist-erreicht { fill: var(--burgund); stroke: var(--burgund); }
.weg-pfad .pfad-wanderer { fill: var(--burgund); stroke: var(--weiss); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(119, 24, 84, 0.55)); }
.weg-geschwungen .weg::before, .weg-geschwungen .weg::after, .weg-geschwungen .weg > li::before { content: none; }
.weg-geschwungen .weg > li { width: 40%; max-width: none; padding: 0 0 clamp(4rem, 9vw, 7rem); opacity: 0.4; }
.weg-geschwungen .weg > li:last-child { padding-bottom: 2rem; }
.weg-geschwungen .weg > li.ist-erreicht { opacity: 1; }
.weg-geschwungen .weg > li:nth-child(odd) { margin-right: auto; text-align: right; }
.weg-geschwungen .weg > li:nth-child(even) { margin-left: auto; }
.weg-geschwungen .weg > li:nth-child(odd) p { margin-left: auto; }

/* Bildband mit großem Zitat */
.bildband { position: relative; isolation: isolate; overflow: hidden; color: var(--weiss); padding-block: clamp(6rem, 15vw, 11rem); }
.bildband-medien { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.bildband-medien img { width: 100%; height: 100%; object-fit: cover; }
.bildband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2, 45, 60, 0.62); }
.bildband blockquote { border: 0; padding: 0; margin: 0 auto; max-width: 24ch; text-align: center; font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.25; }
.bildband figure { margin: 0; }
.wort { display: inline-block; opacity: 0.18; transition: opacity 0.5s var(--weich); }
.wort.ist-da { opacity: 1; }

/* Bild und Text */
.media { display: grid; gap: 2.5rem; align-items: center; }
.media > img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@media (min-width: 860px) { .media { grid-template-columns: 1fr 1fr; gap: 4rem; } .media-schmal { grid-template-columns: 0.8fr 1.2fr; } }
@media (max-width: 859px) { .media { text-align: center; } .media > div > * { margin-inline: auto; } }
blockquote { margin: 1.5rem 0; padding-left: 1.4rem; border-left: 4px solid var(--burgund); font-family: var(--schrift-titel); font-size: 1.3rem; line-height: 1.4; max-width: 34ch; }

/* Drei Schritte nebeneinander */
.ablauf { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2.2rem 1.5rem; counter-reset: ablauf; }
@media (min-width: 860px) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.ablauf li { counter-increment: ablauf; background: var(--weiss); border-radius: var(--radius); padding: 2.6rem 1.6rem 1.8rem; position: relative; max-width: none; text-align: center; }
.ablauf li::before {
  content: counter(ablauf); position: absolute; top: -1.5rem; left: 50%; margin-left: -1.5rem;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--schrift-titel); font-size: 1.35rem; font-weight: 600; color: var(--weiss); background: var(--burgund);
  box-shadow: 0 0 0 6px var(--sand);
}
.ablauf h3 { font-size: 1.2rem; }
.ablauf p { margin: 0 auto; }

/* Fragen und Antworten */
.faq-liste { max-width: var(--schmal); margin-inline: auto; }
.faq { border-bottom: 1px solid rgba(2, 45, 60, 0.18); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 1.15rem 2.5rem 1.15rem 0; list-style: none; position: relative; transition: color 0.2s; }
.faq summary:hover { color: var(--burgund); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.75rem; font-size: 1.7rem; color: var(--burgund); transition: transform 0.3s var(--weich); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq > *:not(summary) { margin-right: 2rem; animation: auftauchen 0.4s var(--weich) both; }

/* Formular */
.form { display: grid; gap: 1.2rem; max-width: 38rem; text-align: left; }
.form label { font-weight: 600; display: block; margin-bottom: 0.35rem; }
.form .hint { font-size: 0.92rem; color: var(--tinte-weich); margin: 0.3rem 0 0; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--grund);
  border: 1.5px solid #b9a79b; border-radius: 12px; padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--burgund); background: var(--weiss); box-shadow: 0 0 0 4px rgba(119, 24, 84, 0.15); }
.form textarea { min-height: 7rem; resize: vertical; }
.form .check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.form .check input { width: 1.25rem; height: 1.25rem; margin-top: 0.3rem; accent-color: var(--burgund); }
.form .check label { font-weight: 400; margin: 0; }
.form .falle { position: absolute; left: -9999px; }
.form-fehler { color: #9b1c1c; font-weight: 600; margin: 0; }
.newsletter { margin: 1.5rem auto 0; }
.newsletter-zeile { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .newsletter-zeile { grid-template-columns: 1fr auto; align-items: center; } }
.form-fehler:empty { display: none; }
.formular-karte { box-shadow: 0 30px 60px -40px rgba(2, 45, 60, 0.6); max-width: 40rem; margin: 3rem auto 0; }
.kontakt-reihe { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: center; }
.merkmale { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; gap: 1rem; max-width: 54rem; }
@media (min-width: 760px) { .merkmale { grid-template-columns: repeat(3, 1fr); } }
.merkmale li { background: var(--weiss); border-radius: var(--radius); padding: 1.3rem 1.2rem; font-size: 0.98rem; max-width: none; }
.merkmale strong { display: block; font-family: var(--schrift-titel); font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ---------- Bergpanorama zum Abschluss ----------
   Drei Bergketten und die Sonne bewegen sich unterschiedlich schnell. */
.panorama {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(5rem, 11vw, 8rem) 0 clamp(15rem, 36vw, 27rem);
  background: linear-gradient(180deg, var(--grund) 0%, #f6dfd0 55%, #f3cdb4 100%);
  --p: 1;
}
.panorama-sand { background: linear-gradient(180deg, var(--sand) 0%, #f6dfd0 55%, #f3cdb4 100%); }
.panorama-weiss { background: linear-gradient(180deg, var(--weiss) 0%, #f6dfd0 55%, #f3cdb4 100%); }
.panorama .container > * { margin-inline: auto; }
.panorama h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; }
.panorama p { max-width: 48ch; }
.panorama-sonne {
  position: absolute; left: 50%; bottom: clamp(4.5rem, 13vw, 10rem); z-index: -3;
  width: clamp(9rem, 20vw, 16rem); aspect-ratio: 1; margin-left: clamp(-8rem, -10vw, -4.5rem); border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0%, var(--sonne) 55%, rgba(240, 189, 134, 0) 72%);
  transform: translateY(calc((1 - var(--p)) * 85%));
}
.panorama-ebene { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; z-index: -2; pointer-events: none; }
.panorama-fern { height: clamp(9rem, 26vw, 20rem); color: var(--gruen-hell); transform: translateY(calc((1 - var(--p)) * 10%)); }
.panorama-mitte { height: clamp(7rem, 20vw, 15rem); color: var(--gruen); transform: translateY(calc((1 - var(--p)) * 24%)); }
.panorama-nah { height: clamp(4.5rem, 13vw, 10rem); color: var(--tinte); transform: translateY(calc((1 - var(--p)) * 42%)); z-index: -1; }

/* Platzhalter und interne Hinweise: müssen vor dem Go-live verschwinden */
.platzhalter { background: #fff4c2; outline: 2px dashed #b58900; outline-offset: 2px; padding: 0.1em 0.35em; border-radius: 4px; color: #4d3b00; }
div.platzhalter, p.platzhalter { padding: 1rem 1.2rem; max-width: 70ch; margin-inline: auto; text-align: left; }
.hinweis-intern { background: #fff4c2; border: 2px dashed #b58900; border-radius: 8px; padding: 1rem 1.2rem; color: #4d3b00; }

/* Übernommene Textseiten */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin: 1.5em 0 0.4em; }
.prose p, .prose li { max-width: 72ch; overflow-wrap: anywhere; }

/* Fußbereich */
.site-footer { background: var(--tinte); color: #d9e2e5; padding-block: 3rem 6rem; font-size: 0.98rem; position: relative; }
.site-footer a { color: #d9e2e5; text-decoration-color: rgba(217, 226, 229, 0.4); }
.site-footer a:hover { color: var(--weiss); text-decoration-color: currentColor; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; } .site-footer { padding-bottom: 3rem; } }
.footer-brand { font-family: var(--schrift-titel); font-size: 1.4rem; color: var(--weiss); }
.footer-title { font-weight: 700; color: var(--weiss); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer-legal p { margin: 0; }

/* Fester Knopf am Handy, erscheint erst nach dem Einstieg */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--burgund); color: var(--weiss); text-align: center; font-weight: 600;
    text-decoration: none; padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    transition: transform 0.4s var(--weich);
  }
  .js .sticky-cta:not(.ist-da) { transform: translateY(110%); }
  .sticky-cta:hover { color: var(--weiss); }
}

/* Einblenden beim Scrollen. Die Klasse setzt main.js, ohne Skript bleibt alles sichtbar. */
.einblenden { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--weich), transform 0.8s var(--weich); }
.einblenden.von-links { transform: translateX(-40px); }
.einblenden.von-rechts { transform: translateX(40px); }
.einblenden.wachsen { transform: scale(0.92); }
.einblenden.ist-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .einblenden { opacity: 1; transform: none; }
  .wort { opacity: 1; }
  .js .sticky-cta:not(.ist-da) { transform: none; }
}
