/* =========================================================
   Krampushütte Mutters – gemeinsame Styles für alle Seiten
   Farben und Schriften zentral hier ändern (:root).
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Farben */
  --nacht: #17110d;        /* dunkler Grund (Hero, Abschluss) */
  --holz: #2a1f18;         /* dunkle Flächen */
  --holz-hell: #6b5443;
  --creme: #f5eee3;        /* heller Grund */
  --creme-2: #ebe1d2;      /* helle Flächen/Karten */
  --tinte: #231a14;        /* Text auf hell */
  --grau: #6a5d52;         /* Nebentext auf hell */
  --hell-grau: #cbbfb0;    /* Nebentext auf dunkel */
  --rot: #b3262e;          /* Akzent: Hüttenrot – nur einmal pro Fläche */
  --rot-dunkel: #8f1c23;
  --glut: #ffb25c;         /* Funken im Hero */
  --linie: rgba(35, 26, 20, .14);
  --linie-hell: rgba(245, 238, 227, .16);

  /* Schrift */
  --f-titel: "Fraunces", Georgia, serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Maße */
  --breite: 1200px;
  --rand: clamp(16px, 5vw, 48px);
  --radius: 6px;
  --abstand: clamp(64px, 10vw, 128px);
  --header-h: 64px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-titel);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  overflow-wrap: break-word;
}
@media (max-width: 420px) { h1 { hyphens: auto; } }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.sektion { padding: var(--abstand) 0; }
.sektion--dunkel { background: var(--nacht); color: var(--creme); }
.sektion--holz { background: var(--holz); color: var(--creme); }
.sektion--flaeche { background: var(--creme-2); }
.dachzeile {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau); margin-bottom: 1rem;
}
.sektion--dunkel .dachzeile, .sektion--holz .dachzeile { color: var(--hell-grau); }
.einleitung { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40em; color: var(--grau); }
.sektion--dunkel .einleitung, .sektion--holz .einleitung { color: var(--hell-grau); }
.kopf { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--creme); color: var(--tinte); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--glut); outline-offset: 3px; border-radius: 2px; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.5em;
  font: 600 1rem/1 var(--f-text);
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--rot { background: var(--rot); color: #fff; }
.btn--rot:hover { background: var(--rot-dunkel); }
.btn--rand { border-color: currentColor; color: inherit; background: transparent; }
.btn--rand:hover { background: rgba(255,255,255,.08); }
.sektion:not(.sektion--dunkel):not(.sektion--holz) .btn--rand:hover { background: rgba(35,26,20,.05); }
.btn svg { width: 18px; height: 18px; flex: none; }

.textlink {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease; padding-bottom: 2px;
}
.textlink:hover { background-size: 100% 2px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--creme);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.ist-gescrollt, .header--fest { background: rgba(23, 17, 13, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--linie-hell); }
.header__innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: .4em; text-decoration: none; font-family: var(--f-titel); font-weight: 650; font-size: 1.35rem; letter-spacing: -.01em; }
.logo img { height: 52px; width: auto; display: block; }
@media (min-width: 960px) { :root { --header-h: 80px; } .logo img { height: 66px; } }
@media (max-width: 380px) { .logo img { height: 46px; } }
.logo small { font-family: var(--f-text); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--hell-grau); }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; }
.nav a:hover { opacity: 1; }
.header__aktion { display: none; }
.menue-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: var(--radius);
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s ease, opacity .25s;
}
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -7px; } .menue-knopf span::after { top: 7px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobilmenue {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--nacht); color: var(--creme);
  padding: 32px var(--rand); display: none; flex-direction: column; gap: 8px;
}
.mobilmenue.ist-offen { display: flex; }
.mobilmenue a:not(.btn) { font-family: var(--f-titel); font-size: 1.9rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--linie-hell); }
.mobilmenue .btn { margin-top: 24px; }

@media (min-width: 960px) {
  .nav { display: block; }
  .header__aktion { display: inline-flex; min-height: 44px; }
  .menue-knopf, .mobilmenue { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--creme); background: var(--nacht); overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 clamp(96px, 12vh, 120px);
}
.hero__bild { position: absolute; inset: 0; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__bild::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,17,13,.55) 0%, rgba(23,17,13,.15) 30%, rgba(23,17,13,.55) 62%, rgba(23,17,13,.94) 100%);
}
.hero__inhalt { position: relative; z-index: 2; max-width: 820px; }
.hero .dachzeile { color: var(--creme); opacity: .9; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1, .hero__unter { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
@media (max-width: 599px) { .hero__knoepfe .btn { width: 100%; } }
@media (min-width: 900px) { .hero__bild::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,17,13,.7) 0%, rgba(23,17,13,.25) 55%, rgba(23,17,13,0) 80%); } }
.hero h1 { margin-bottom: .35em; text-wrap: balance; }
.hero__unter { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #efe5d6; max-width: 36em; margin-bottom: 1.6em; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.hero__zeiten { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .95rem; color: var(--hell-grau); }

/* Funken (Hero-Effekt) */
.funken { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.funken i {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--glut); box-shadow: 0 0 8px 2px rgba(255, 150, 60, .65);
  opacity: 0; animation: funke 7s linear infinite;
}
@keyframes funke {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  10%  { opacity: .9; }
  70%  { opacity: .5; }
  100% { transform: translate3d(var(--dx, 20px), -70vh, 0) scale(.4); opacity: 0; }
}
.funken.ist-pausiert i { animation-play-state: paused; }

/* Live-Status (offen/geschlossen) */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; font-size: .9rem; font-weight: 600;
  background: rgba(245,238,227,.12); color: var(--creme);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hell-grau); }
.status[data-zustand="offen"]::before { background: #6fd08c; box-shadow: 0 0 0 4px rgba(111,208,140,.2); }
.status[data-zustand="bald"]::before { background: var(--glut); }
.status:empty { display: none; }
.sektion:not(.sektion--dunkel):not(.sektion--holz) .status { background: var(--creme-2); color: var(--tinte); }

/* Hero-Einstieg beim Laden */
.js [data-enter] > * { opacity: 0; transform: translateY(18px); animation: rein .7s cubic-bezier(.2,.7,.2,1) forwards; }
.js [data-enter] > *:nth-child(2) { animation-delay: .08s; }
.js [data-enter] > *:nth-child(3) { animation-delay: .16s; }
.js [data-enter] > *:nth-child(4) { animation-delay: .24s; }
.js [data-enter] > *:nth-child(5) { animation-delay: .32s; }
@keyframes rein { to { opacity: 1; transform: none; } }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-zeigen] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Bilder ---------- */
.foto { overflow: hidden; border-radius: var(--radius); background: var(--holz); }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.foto--ki { position: relative; }
.ki-hinweis {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 3px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  background: rgba(23,17,13,.72); color: var(--creme);
}
.abschluss__bild { aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 699px) { .abschluss__bild { aspect-ratio: 4 / 3; } }
a.foto:hover img, .foto--zoom:hover img { transform: scale(1.03); }

/* ---------- Kiachl & Glühwein ---------- */
.offen { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.zeiten { list-style: none; margin: 24px 0 28px; border-top: 1px solid var(--linie-hell); }
.zeiten li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie-hell); }
.zeiten span:last-child { font-weight: 600; text-align: right; }
.offen .foto { aspect-ratio: 4 / 3; }
.offen__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 900px) { .offen { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Kennst du das ---------- */
.probleme { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.probleme__liste { list-style: none; border-top: 1px solid var(--linie); }
.probleme__liste li { padding: 22px 0; border-bottom: 1px solid var(--linie); display: grid; gap: 6px; }
.probleme__frage { font-family: var(--f-titel); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; }
.probleme__antwort { color: var(--grau); }
.probleme__antwort strong { color: var(--tinte); }
.probleme .foto { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) { .probleme { grid-template-columns: 1.15fr .85fr; } }

.anlaesse { margin-top: clamp(40px, 6vw, 72px); }
.anlaesse h3 { margin-bottom: 16px; }
.anlaesse ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.anlaesse li {
  padding: 10px 18px; border: 1px solid var(--linie); border-radius: 99px; font-weight: 500; background: var(--creme);
  scroll-margin-top: calc(var(--header-h) + 80px);
}

/* ---------- Die Hütte ---------- */
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.galerie .foto { aspect-ratio: 4 / 3; }
.galerie .foto--gross { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .galerie { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .galerie .foto { aspect-ratio: auto; min-height: 220px; }
  .galerie .foto--gross { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; min-height: 460px; }
}
.huette-text { display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .huette-text { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ausstattung { list-style: none; display: grid; gap: 10px; }
.ausstattung li { display: flex; gap: 12px; align-items: flex-start; }
.ausstattung li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 2px; background: var(--holz-hell); }

.zahlen { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--linie); }
.zahlen strong { display: block; font-family: var(--f-titel); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.zahlen span { color: var(--grau); font-size: .95rem; }
@media (min-width: 760px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Preise ---------- */
.varianten { display: grid; gap: 20px; }
@media (min-width: 860px) { .varianten { grid-template-columns: 1fr 1fr; } }
.karte {
  background: var(--creme); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column;
}
.sektion--holz .karte { background: rgba(245,238,227,.05); border-color: var(--linie-hell); }
.karte__preis { font-family: var(--f-titel); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; margin: 8px 0 4px; }
.karte__preis small { font-family: var(--f-text); font-size: 1rem; font-weight: 500; color: var(--hell-grau); }
.karte__hinweis { color: var(--hell-grau); font-size: .95rem; margin-bottom: 20px; }
.karte ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.karte li { padding-left: 26px; position: relative; }
.karte li::before { content: "✓"; position: absolute; left: 0; color: var(--glut); font-weight: 700; }
.karte .btn { margin-top: auto; align-self: flex-start; }
.preis-fuss { margin-top: 24px; color: var(--hell-grau); font-size: .95rem; }
.extras-preise { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--linie-hell); }
.extras-preise h3 { margin-bottom: 0; }
.extras-preise .preis-fuss { margin-top: 8px; max-width: 46em; }
.pauschalen { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .pauschalen { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pauschale { position: relative; padding: 24px; border: 1px solid var(--linie-hell); border-radius: var(--radius); background: rgba(245,238,227,.04); }
.pauschale h4 { font-family: var(--f-titel); font-size: 1.3rem; margin: 0 0 6px; font-weight: 600; }
.pauschale__preis { font-family: var(--f-titel); font-size: 2.2rem; font-weight: 600; line-height: 1; margin-bottom: 12px; }
.pauschale__preis small { font-family: var(--f-text); font-size: .9rem; font-weight: 500; color: var(--hell-grau); }
.pauschale p:last-child { margin: 0; color: var(--hell-grau); }
.pauschale--tipp { border: 2px solid var(--glut); background: rgba(255,178,92,.08); }
@media (min-width: 760px) { .pauschale--tipp { transform: scale(1.04); } }
.pauschale__tipp { position: absolute; top: -12px; left: 20px; background: var(--glut); color: var(--nacht); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.extras-liste { list-style: none; margin-top: 28px; border-top: 1px solid var(--linie-hell); }
.extras-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie-hell); }
.extras-liste span { color: var(--hell-grau); text-align: right; }
.wahl--vier { grid-template-columns: repeat(2, 1fr); }

/* ---------- Konfigurator ---------- */
.konfig { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 980px) { .konfig { grid-template-columns: 1.5fr 1fr; } }
.konfig__form { background: var(--creme); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.fortschritt { display: flex; gap: 6px; margin-bottom: 24px; }
.fortschritt span { flex: 1; height: 4px; border-radius: 2px; background: var(--creme-2); transition: background-color .3s; }
.fortschritt span.ist-aktiv { background: var(--tinte); }
.fortschritt-text { font-size: .85rem; color: var(--grau); margin-bottom: 8px; }
fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
legend { font-family: var(--f-titel); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; margin-bottom: 16px; padding: 0; }
.js .konfig__form.ist-schritte fieldset[data-schritt] { display: none; }
.js .konfig__form.ist-schritte fieldset[data-schritt].ist-aktiv { display: block; animation: rein .35s ease forwards; }

.wahl { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wahl--zwei { grid-template-columns: 1fr; }
@media (min-width: 560px) { .wahl--zwei { grid-template-columns: 1fr 1fr; } }
.wahl label {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 54px;
  padding: 12px 16px; border: 1.5px solid var(--linie); border-radius: var(--radius); cursor: pointer; background: #fff;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.wahl label:hover { border-color: var(--grau); transform: translateY(-2px); }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label:has(input:checked) { border-color: var(--tinte); background: var(--creme-2); box-shadow: inset 0 0 0 1px var(--tinte); }
.wahl label:has(input:focus-visible) { outline: 3px solid var(--glut); outline-offset: 2px; }
.wahl b { font-weight: 600; }
.wahl small { color: var(--grau); font-size: .88rem; }

.feld { display: grid; gap: 6px; margin-bottom: 16px; }
.feld label, .feld__titel { font-weight: 600; font-size: .95rem; }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld input[type="date"], .feld input[type="number"], .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--tinte);
  background: #fff; border: 1.5px solid var(--linie); border-radius: var(--radius);
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus { border-color: var(--tinte); outline: none; box-shadow: 0 0 0 3px rgba(255,178,92,.45); }
.feld--zwei { display: grid; gap: 16px; }
@media (min-width: 560px) { .feld--zwei { grid-template-columns: 1fr 1fr; } }
.feld__hilfe { font-size: .88rem; color: var(--grau); }
.feld__fehler { font-size: .9rem; color: var(--rot-dunkel); font-weight: 600; min-height: 0; }
.feld__fehler:empty { display: none; }
.ist-fehler input, .ist-fehler textarea { border-color: var(--rot-dunkel) !important; }
.ist-fehler .wahl label { border-color: rgba(143,28,35,.5); }

.regler { display: flex; align-items: center; gap: 16px; }
.regler input[type="range"] { flex: 1; accent-color: var(--tinte); height: 44px; }
.regler input[type="number"] { width: 92px; text-align: center; font-weight: 600; }
.haekchen { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.haekchen input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--tinte); flex: none; }
.extras { margin-top: 20px; display: grid; gap: 2px; }
.hinweis-box { padding: 12px 14px; border-radius: var(--radius); background: var(--creme-2); font-size: .93rem; margin-top: 12px; }
.hinweis-box:empty { display: none; }

.schritt-knoepfe { display: none; gap: 12px; justify-content: space-between; margin-top: 8px; }
.js .ist-schritte .schritt-knoepfe { display: flex; }
.js .ist-schritte .absenden-ohne-js { display: none; }
.btn--zurueck { background: transparent; color: var(--tinte); border-color: var(--linie); }
.schritt-knoepfe [data-weiter], .schritt-knoepfe [data-absenden] { margin-left: auto; }

.richtpreis {
  background: var(--nacht); color: var(--creme); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px);
}
@media (min-width: 980px) { .richtpreis { position: sticky; top: calc(var(--header-h) + 24px); } }
.richtpreis h3 { font-size: 1.1rem; font-family: var(--f-text); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hell-grau); }
.richtpreis__summe { font-family: var(--f-titel); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; line-height: 1; margin: 8px 0 16px; font-variant-numeric: tabular-nums; }
.richtpreis dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 16px; font-size: .95rem; }
.richtpreis dt { color: var(--hell-grau); }
.richtpreis dd { margin: 0; text-align: right; font-weight: 600; }
.richtpreis__info { font-size: .88rem; color: var(--hell-grau); border-top: 1px solid var(--linie-hell); padding-top: 14px; margin: 0; }
.richtpreis__info + .richtpreis__info { border: 0; padding-top: 6px; }

/* ---------- Ablauf ---------- */
.schritte { list-style: none; display: grid; gap: 16px; counter-reset: schritt; }
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritte li { counter-increment: schritt; padding: 28px 24px; border-radius: var(--radius); background: var(--creme); border: 1px solid var(--linie); }
.schritte li::before {
  content: counter(schritt); display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px;
  font-family: var(--f-titel); font-weight: 600; font-size: 1.3rem; background: var(--tinte); color: var(--creme);
}
.schritte h3 { margin-bottom: .4em; }
.schritte p { color: var(--grau); margin: 0; }

/* ---------- Eindrücke ---------- */
.eindruecke { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.eindruecke .foto { aspect-ratio: 4 / 3; }
.eindruecke .foto--video { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.foto video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .eindruecke { grid-template-columns: repeat(4, 1fr); }
  .eindruecke .foto--video { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.schriftzug { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 24px; align-items: center; }
.schriftzug .foto { aspect-ratio: 16 / 9; }
.schriftzug__text { font-family: var(--f-titel); font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.15; font-weight: 500; }
.schriftzug__text em { font-style: italic; color: var(--glut); }
@media (min-width: 900px) { .schriftzug { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-titel); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--holz-hell); }
.faq details > div { padding: 0 0 22px; color: var(--grau); max-width: 680px; }

/* ---------- Abschluss / Kontakt ---------- */
.abschluss { position: relative; overflow: hidden; }
.abschluss__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .abschluss__grid { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.abschluss h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.kontaktliste { list-style: none; display: grid; gap: 4px; border-top: 1px solid var(--linie-hell); }
.kontaktliste li { border-bottom: 1px solid var(--linie-hell); }
.kontaktliste a, .kontaktliste span { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; min-height: 44px; }
.kontaktliste a:hover b { color: var(--glut); }
.kontaktliste small { color: var(--hell-grau); font-size: .9rem; }
.kontaktliste b { font-weight: 600; text-align: right; transition: color .2s; }

/* ---------- Footer ---------- */
.footer { background: var(--nacht); color: var(--hell-grau); padding: 40px 0 120px; font-size: .92rem; border-top: 1px solid var(--linie-hell); }
.footer__logo { flex: 0 0 100%; width: 100%; height: 120px; object-fit: contain; object-position: left center; margin-bottom: 8px; }
.footer__innen { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer a, .footer button { color: inherit; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 10px 0; display: inline-block; }
.footer a:hover, .footer button:hover { color: var(--creme); }
@media (min-width: 960px) { .footer { padding-bottom: 40px; } }

/* ---------- Handy-Aktionsleiste ---------- */
.aktionsleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23,17,13,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--linie-hell);
  transform: translateY(110%); transition: transform .35s ease;
}
.aktionsleiste.ist-sichtbar { transform: none; }
.aktionsleiste .btn { min-height: 48px; padding: 0 8px; min-width: 0; }
@media (max-width: 380px) { .aktionsleiste { gap: 6px; padding-left: 8px; padding-right: 8px; } .aktionsleiste .btn { font-size: .88rem; padding: 0 4px; } }
.aktionsleiste .btn--rand { color: var(--creme); }
@media (min-width: 960px) { .aktionsleiste { display: none; } }

/* ---------- Cookie-Banner ---------- */
.cookie {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 12px;
  max-width: 520px; margin-left: auto;
  background: var(--creme); color: var(--tinte); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 22px;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.25rem; margin-bottom: .4em; }
.cookie p { font-size: .92rem; color: var(--grau); }
.cookie__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie .btn { min-height: 46px; padding: 0 12px; font-size: .95rem; }
.cookie .btn--rand { color: var(--tinte); }

/* ---------- Unterseiten ---------- */
.seite-kopf { background: var(--nacht); color: var(--creme); padding: calc(var(--header-h) + 64px) 0 56px; }
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2em; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.6em; }
.rechtstext ul { padding-left: 1.2em; margin-bottom: 1em; }
.platzhalter { background: #fff3c4; padding: 0 .25em; border-radius: 3px; }

/* ---------- Ruhige Fassung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .funken { display: none; }
  .js [data-zeigen], .js [data-enter] > * { opacity: 1 !important; transform: none !important; }
}
