/* =========================================================
   Christbaumverkauf Mutters & Axams – gemeinsame Styles
   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 {
  --wald: #14271d;        /* dunkler Grund */
  --wald-2: #1d3628;      /* dunkle Flächen */
  --tanne: #2f5a41;
  --creme: #f6f1e7;       /* heller Grund */
  --creme-2: #ece4d4;     /* Karten */
  --tinte: #1b231e;
  --grau: #5b6359;
  --hell-grau: #c3cbbf;
  --rot: #b3262e;         /* Akzent – nur einmal pro Fläche */
  --rot-dunkel: #8f1c23;
  --linie: rgba(27, 35, 30, .14);
  --linie-hell: rgba(246, 241, 231, .16);
  --f-titel: "Fraunces", Georgia, serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1160px;
  --rand: clamp(16px, 5vw, 48px);
  --radius: 8px;
  --abstand: clamp(64px, 10vw, 120px);
  --header-h: 64px;
}

*, *::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; min-height: 100svh; display: flex; flex-direction: column; font-family: var(--f-text); font-size: 17px; line-height: 1.6; color: var(--tinte); background: var(--creme); -webkit-font-smoothing: antialiased; }
img, svg { 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; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.platzhalter { background: #fff3b0; color: #5a4300; padding: 0 .25em; border-radius: 3px; font-size: .9em; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--dunkel { background: var(--wald); color: var(--creme); }
.abschnitt--karte { background: var(--creme-2); }
.oberzeile { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tanne); margin-bottom: .8em; }
.abschnitt--dunkel .oberzeile, .hero .oberzeile { color: #9fc4a8; }
.einleitung { font-size: 1.12rem; max-width: 640px; color: var(--grau); }
.abschnitt--dunkel .einleitung { color: var(--hell-grau); }
.kopf { margin-bottom: clamp(32px, 5vw, 56px); }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); background: #fff; color: var(--tinte); padding: 12px 14px; z-index: 100; }
.skip:focus { transform: none; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; font: 600 1rem/1 var(--f-text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s; }
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rot:hover { background: var(--rot-dunkel); }
.knopf--hell { background: var(--creme); color: var(--wald); }
.knopf--rand { border-color: currentColor; background: transparent; }
.knopf:active { transform: scale(.97); }
.textlink { font-weight: 600; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; transition: background-color .3s, box-shadow .3s; color: var(--creme); }
.header.ist-gescrollt { background: rgba(20, 39, 29, .96); box-shadow: 0 1px 0 var(--linie-hell); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-titel); font-weight: 600; font-size: 1.15rem; }
.marke svg { width: 28px; }
.nav { display: none; gap: 28px; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.header-tel { font-weight: 600; text-decoration: none; font-size: .95rem; }
.header-tel .nur-klein { border: 1px solid var(--linie-hell); padding: 6px 14px; border-radius: 999px; }
.nur-gross { display: none; }
@media (min-width: 560px) { .nur-gross { display: inline; } .nur-klein { display: none; } }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: linear-gradient(180deg, #0d1a13 0%, #183324 70%, #1f3d2b 100%); color: var(--creme); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 56px; }
.hero-bild { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; pointer-events: none; }
.hero-bild svg { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,19,.15) 0%, rgba(13,26,19,0) 35%, rgba(13,26,19,.55) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 13ch; }
.hero h1 span { display: block; color: #cfe3d3; font-weight: 400; font-style: italic; }
.hero-text { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 560px; color: #e3eadf; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; background: rgba(246,241,231,.1); border: 1px solid var(--linie-hell); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e8c36a; }
.status[data-zustand="offen"]::before { background: #6fd18f; box-shadow: 0 0 0 4px rgba(111,209,143,.2); }
.status[data-zustand="zu"]::before { background: #9aa39a; }

/* Schnee */
.schnee { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.schnee i { position: absolute; top: -10px; border-radius: 50%; background: #fff; opacity: .75; animation: fallen linear infinite; will-change: transform; }
.schnee.ist-pausiert i { animation-play-state: paused; }
@keyframes fallen { to { transform: translate3d(var(--dx, 0), 105svh, 0); } }

/* ---------- Eckdaten ---------- */
.eckdaten { background: var(--wald-2); color: var(--creme); border-top: 1px solid var(--linie-hell); }
.eckdaten ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.eckdaten li { font-size: .9rem; color: var(--hell-grau); line-height: 1.35; }
.eckdaten strong { display: block; color: var(--creme); font-family: var(--f-titel); font-size: 1.25rem; font-weight: 600; }
@media (min-width: 800px) { .eckdaten ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Kennst du das ---------- */
.probleme { display: grid; gap: 16px; }
.problem { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; }
.problem p:first-child { font-family: var(--f-titel); font-size: 1.2rem; font-weight: 600; margin-bottom: .4em; }
.problem p:last-child { margin: 0; color: var(--grau); }
.problem b { color: var(--tinte); }
@media (min-width: 800px) { .probleme { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Standorte ---------- */
.standorte { display: grid; gap: 20px; }
.standort { background: var(--wald-2); border: 1px solid var(--linie-hell); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; }
.standort h3 { font-size: 1.6rem; margin-bottom: .2em; }
.standort .adresse { color: var(--hell-grau); }
.standort dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 8px 0 24px; }
.standort dt { color: var(--hell-grau); }
.standort dd { margin: 0; font-weight: 600; }
.standort .knopf { margin-top: auto; align-self: flex-start; }
.standort .extra { font-size: .95rem; color: #cfe3d3; }
@media (min-width: 800px) { .standorte { grid-template-columns: 1fr 1fr; } }

/* ---------- Preise ---------- */
.preis-raster { display: grid; gap: 28px; align-items: start; }
.preistabelle { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
.preistabelle caption { text-align: left; font-family: var(--f-titel); font-size: 1.3rem; font-weight: 600; padding-bottom: 12px; }
.preistabelle th, .preistabelle td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--linie); }
.preistabelle thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); background: var(--creme-2); }
.preistabelle td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.preistabelle tr:last-child td { border-bottom: 0; }
.preis-hinweis { font-size: .9rem; color: var(--grau); margin-top: 12px; }
.leistungen { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.leistungen li { display: flex; gap: 12px; align-items: flex-start; }
.leistungen svg { flex: none; width: 22px; margin-top: 3px; color: var(--tanne); }
@media (min-width: 900px) { .preis-raster { grid-template-columns: 1.3fr 1fr; gap: 56px; } }

/* Gutschein */
.gutschein { margin-top: 28px; border: 2px dashed var(--rot); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; align-items: center; background: #fff; }
.gutschein strong { font-family: var(--f-titel); font-size: 2.4rem; color: var(--rot); line-height: 1; flex: none; }
.gutschein p { margin: 0; font-size: .95rem; }
.js .gutschein.ist-sichtbar { animation: wackeln .7s ease .2s 1; }
@keyframes wackeln { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-1.5deg); } 60% { transform: rotate(1deg); } }

/* ---------- Hotels ---------- */
.hotel-raster { display: grid; gap: 40px; }
.hotel-punkte { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.hotel-punkte li { padding-left: 28px; position: relative; color: #e3eadf; }
.hotel-punkte li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 2px; background: #9fc4a8; transform: rotate(45deg); }
@media (min-width: 960px) { .hotel-raster { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* Formular */
.formular { background: var(--creme); color: var(--tinte); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.formular h3 { margin-bottom: 0; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld input, .feld select, .feld textarea { font: inherit; padding: 12px 14px; border: 1px solid #b9b2a3; border-radius: 6px; background: #fff; color: var(--tinte); width: 100%; min-height: 48px; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--tanne); outline-offset: 1px; border-color: var(--tanne); }
.feld .fehler { display: none; color: var(--rot); font-size: .88rem; }
.feld.hat-fehler input, .feld.hat-fehler select, .feld.hat-fehler textarea { border-color: var(--rot); }
.feld.hat-fehler .fehler { display: block; }
.zwei { display: grid; gap: 16px; }
@media (min-width: 560px) { .zwei { grid-template-columns: 1fr 1fr; } }
.formular .knopf { width: 100%; }
.klein { font-size: .85rem; color: var(--grau); margin: 0; }
.versteckt { position: absolute; left: -9999px; }

/* ---------- Ablauf ---------- */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.schritt { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; counter-increment: s; }
.schritt::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wald); color: var(--creme); font-family: var(--f-titel); font-weight: 600; margin-bottom: 14px; }
.schritt p { margin: 0; color: var(--grau); }
@media (min-width: 800px) { .schritte { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--grau); padding-right: 24px; }

/* ---------- Abschluss & Footer ---------- */
.abschluss { text-align: center; }
.abschluss .einleitung { margin: 0 auto 28px; }
.kontakt-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer { background: #0d1a13; color: var(--hell-grau); padding: 40px 0 100px; font-size: .9rem; }
.footer .wrap { display: grid; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
@media (min-width: 800px) { .footer { padding-bottom: 40px; } .footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Aktionsleiste Handy ---------- */
.aktionsleiste { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transform: translateY(140%); transition: transform .35s ease; }
.aktionsleiste.ist-sichtbar { transform: none; }
.aktionsleiste .knopf { min-height: 50px; padding: 0 1em; font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (min-width: 800px) { .aktionsleiste { display: none; } }

/* ---------- Einblenden ---------- */
.js [data-zeigen] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Unterseiten ---------- */
.seite { padding: calc(var(--header-h) + 48px) 0 var(--abstand); }
.seite .wrap { max-width: 780px; }
.seite h2 { font-size: 1.4rem; margin-top: 1.6em; }
.header--fest { background: var(--wald); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-zeigen] { opacity: 1; transform: none; }
}

/* ---------- Erlebnis Kiachl & Glühwein ---------- */
.erlebnis { display: grid; gap: 36px; align-items: center; }
.erlebnis-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.erlebnis-punkte li { padding-left: 28px; position: relative; }
.erlebnis-punkte li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 2px; background: var(--tanne); transform: rotate(45deg); }
.erlebnis-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.erlebnis-bilder figure { margin: 0; }
.erlebnis-bilder figure:nth-child(2) { margin-top: 40px; }
.erlebnis-bilder img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.erlebnis-bilder figcaption { font-size: .82rem; color: var(--grau); margin-top: 8px; line-height: 1.35; }
@media (min-width: 960px) { .erlebnis { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Große Bilder ---------- */
.bild-breit { margin: 0 0 clamp(24px, 4vw, 40px); }
.bild-breit img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.bild-breit figcaption, .erlebnis-gross figcaption { font-size: .75rem; color: var(--grau); margin-top: 6px; }
.erlebnis-gross { grid-column: 1 / -1; margin: 0; }
.erlebnis-gross img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.erlebnis-bilder figure:nth-child(2) { margin-top: 0; }
.erlebnis-bilder figure:nth-child(3) { margin-top: 28px; }

/* ---------- Preistabelle: Etikettfarben ---------- */
.preistabelle + .preistabelle { margin-top: 28px; }
.preistabelle caption small { display: block; font-family: var(--f-text); font-size: .85rem; font-weight: 400; color: var(--grau); margin-top: 2px; }
.preistabelle td:nth-child(2) { white-space: nowrap; color: var(--grau); }
.etikett { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 8px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.15); }
.etikett--rosa { background: #f3a9c6; } .etikett--lila { background: #a77bd1; } .etikett--gruen { background: #5fae6b; } .etikett--gelb { background: #f2d14b; }
.etikett--hellblau { background: #8fcbef; } .etikett--dunkelblau { background: #24477f; } .etikett--silber { background: linear-gradient(135deg,#e6e8ea,#a9aeb3); } .etikett--sandgelb { background: #d8bd7a; }
@media (max-width: 420px) { .preistabelle th, .preistabelle td { padding: 12px 10px; font-size: .95rem; } }

/* ---------- Teilen-Gutschein ---------- */
.gutschein { align-items: flex-start; }
.gutschein > div { display: grid; gap: 12px; }
.knopf--klein { min-height: 46px; font-size: .95rem; justify-self: start; }
.gutschein-code { background: var(--creme); border-radius: 6px; padding: 14px 16px; }
.gutschein-code p { margin: 0 0 6px; }
.gutschein-code .code { font-family: var(--f-titel); font-size: 1.8rem; font-weight: 700; letter-spacing: .12em; color: var(--rot); }
.eckdaten a { text-decoration: none; color: inherit; display: block; }
@media (max-width: 560px) { .gutschein { flex-direction: column; gap: 8px; } .knopf--klein { justify-self: stretch; } }

/* ---------- Hotel-Hinweis + Hotel-Seite ---------- */
.hotel-hinweis { padding: clamp(40px, 6vw, 64px) 0; }
.hotel-hinweis .wrap { display: grid; gap: 24px; align-items: center; }
.hotel-hinweis h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.hotel-hinweis .einleitung { margin: 0; }
.hotel-hinweis .knopf { justify-self: start; }
@media (min-width: 900px) { .hotel-hinweis .wrap { grid-template-columns: 1fr auto; } }
.hotel-seite { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px)); }
.hotel-seite h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.header--fest .nav a[href="#anfrage"] { opacity: 1; }

/* Handy-Leiste mit drei Knöpfen */
.aktionsleiste { grid-template-columns: 1fr 1fr 1fr; }
.aktionsleiste .knopf { padding: 0 .4em; font-size: .9rem; }
.preis-hinweis a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- Kleine Korrekturen (26.11.) ---------- */
main { flex: 1 0 auto; }
:focus-visible { outline: 2.5px solid var(--tanne); outline-offset: 3px; }
.abschnitt--dunkel :focus-visible, .hero :focus-visible, .header :focus-visible, .footer :focus-visible, .eckdaten :focus-visible { outline-color: var(--creme); }
::selection { background: var(--tanne); color: #fff; }
.knopf:disabled { opacity: .6; cursor: progress; transform: none; }
.linkknopf { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.marke { min-height: 44px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
