/* Bestellwerk · bestellwerk.ch
   Farben und Schriften aus dem Corporate Design (brand/, bestellwerk/CLAUDE.md).
   Erkennungszeichen: der gedruckte Bon mit Abrisskante. Koralle nur für Handlungen. */

/* ---------- Schriften (lokal, OFL) ---------- */
@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Grundwerte ---------- */
:root {
  --koralle: #FD774E;
  --koralle-tief: #E8602F;
  --schwarz: #171717;
  --dunkel: #272727;
  --greige: #D3CDC6;
  --hell: #E2DEDA;
  --hauch: #F2F0ED;
  --weiss: #FFFFFF;
  --text-leise: #55504B;

  --titel: "Archivo Black", "Arial Black", Impact, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(44px, 6vw, 80px);
  --radius: 14px;
  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--weiss); color: var(--schwarz);
  font: 400 1.0625rem/1.6 var(--text);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--koralle-tief); }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }

h1, h2, h3 { font-family: var(--titel); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.15; }
h4 { font: 700 1.05rem/1.3 var(--text); margin: 0 0 .35em; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
/* Zwei weisse Abschnitte hintereinander: kein Farbwechsel, also nicht den doppelten Leerraum */
.abschnitt:not([class*="abschnitt--"]) + .abschnitt:not([class*="abschnitt--"]) { padding-top: calc(var(--abschnitt) * .4); }
.abschnitt--hell { background: var(--hell); }
.abschnitt--hauch { background: var(--hauch); }
/* Zwei gleichfarbige Abschnitte nacheinander: keine doppelte Lücke */
.abschnitt--hauch + .abschnitt--hauch { padding-top: 0; }
.einleitung { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-leise); max-width: 62ch; }
.kopf-text { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kopf-text p { color: var(--text-leise); font-size: 1.125rem; max-width: 62ch; }
.nur-leser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.knopf:active { transform: translateY(1px); }
.knopf--haupt { background: var(--koralle); color: var(--schwarz); }
.knopf--haupt:hover { background: var(--koralle-tief); color: var(--schwarz); }
.knopf--linie { border-color: var(--schwarz); color: var(--schwarz); background: transparent; }
.knopf--linie:hover { background: var(--schwarz); color: var(--weiss); }
.knopf--klein { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.knopf--breit { width: 100%; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--hell); }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { width: 190px; height: auto; }
.navi { margin-left: auto; }
.navi ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.navi a { display: block; padding: .55em .8em; border-radius: 8px; font-weight: 600; font-size: .98rem; text-decoration: none; }
.navi a:hover { background: var(--hauch); color: var(--schwarz); }
.navi a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--koralle); border-radius: 0; }
.navi .knopf { display: inline-flex; border-radius: 999px; margin-left: 10px; padding: .55em 1.3em; min-height: 44px; }
.navi .knopf:hover { background: var(--koralle-tief); }
.menue-knopf { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 10px; background: var(--hauch); cursor: pointer; }
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { display: block; width: 22px; height: 2.5px; background: var(--schwarz); margin: auto; position: relative; border-radius: 2px; transition: transform .2s, background-color .2s; }
.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); }

@media (max-width: 900px) {
  .logo img { width: 160px; }
  .menue-knopf { display: block; }
  .navi { position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--hell); box-shadow: 0 18px 30px rgba(23,23,23,.08); display: none; }
  .navi.offen { display: block; }
  .navi ul { flex-direction: column; align-items: stretch; padding: 8px var(--rand) 20px; gap: 0; }
  .navi a { padding: .9em .2em; border-bottom: 1px solid var(--hauch); border-radius: 0; font-size: 1.1rem; }
  .navi a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--koralle); padding-left: .8em; }
  .navi .knopf { display: flex; margin: 14px 0 0; padding: .8em 1.5em; min-height: 52px; border-bottom: 0; border-radius: 999px; }
  .js .navi { display: none; } .js .navi.offen { display: block; }
}

/* ---------- Der Bon ---------- */
.bon {
  --zacke: 10px;
  position: relative; background: var(--weiss); color: var(--schwarz);
  padding: 26px 24px calc(26px + var(--zacke));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zacke)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zacke) * 2) var(--zacke) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zacke)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zacke) * 2) var(--zacke) repeat-x;
  filter: drop-shadow(0 10px 18px rgba(23,23,23,.10));
}
.bon-schatten { filter: drop-shadow(0 14px 24px rgba(23,23,23,.14)); }
.bon-schatten > .bon { filter: none; }
.bon-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .82rem; color: var(--text-leise); }
.bon-titel { font-family: var(--titel); font-size: 1.5rem; line-height: 1.1; margin: 6px 0 2px; }
.bon-linie { border: 0; border-top: 2px dashed var(--greige); margin: 16px 0; }
.bon-zeilen { list-style: none; display: grid; gap: 8px; }
.bon-zeilen li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; }
.bon-zeilen .menge { font-weight: 700; min-width: 2.2ch; }
.bon-zeilen .betrag { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bon-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.bon-summe strong { font-family: var(--titel); font-weight: 400; font-size: 1.6rem; }
.bon-fuss { font-size: .8rem; color: var(--text-leise); text-align: center; margin-top: 12px; }

/* ---------- Einstieg Startseite ---------- */
.einstieg { padding-block: clamp(28px, 4vw, 56px) clamp(44px, 6vw, 80px); overflow: hidden; }
.einstieg-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.einstieg h1 { margin-bottom: .35em; font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.einstieg .einleitung { margin-bottom: 1.6em; }
.einstieg .einleitung { margin-bottom: .9em; }
.einstieg-preis { font-size: 1.1rem; margin: 0 0 1.6em; }
.einstieg-preis strong { font-family: var(--titel); font-weight: 400; font-size: 1.45rem; }
.zusammen { white-space: nowrap; }
.sterne { color: var(--koralle); letter-spacing: 1px; }
.einstieg-bild { position: relative; }
.einstieg-bild .foto { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 62% center; width: 100%; }
.einstieg-bild .bon { padding: 20px 20px calc(20px + var(--zacke)); font-size: .95rem; }
.einstieg-bild .bon-summe { align-items: flex-end; }
.bon-kassier { font-size: .88em; line-height: 1.3; }
.bon-kassier small { display: block; font-size: 1em; font-weight: 400; color: var(--text-leise); }

/* Bondrucker: der Bon kommt oben aus dem Schlitz */
.drucker { position: absolute; left: clamp(-56px, -4vw, -20px); bottom: -40px; width: min(300px, 64%); }
.drucker-papier { position: relative; z-index: 1; overflow: hidden; width: 84%; margin: -24px auto -15px; padding-top: 24px; }
.drucker-gehaeuse { position: relative; display: block; height: 72px; border-radius: 14px 14px 20px 20px; background: linear-gradient(#BDB5AC, #9C9389); box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 18px 32px rgba(23,23,23,.22); }
.drucker-schlitz { position: absolute; top: 12px; left: 6%; right: 6%; height: 6px; border-radius: 3px; background: var(--dunkel); }
.drucker-name { position: absolute; left: 18px; bottom: 14px; font: 700 .8rem/1 var(--text); color: var(--schwarz); }
.drucker-licht { position: absolute; right: 18px; bottom: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--koralle); box-shadow: 0 0 0 3px rgba(253,119,78,.25); }

/* Ein einziger Moment beim Laden: der Bon wird gedruckt */
@media (prefers-reduced-motion: no-preference) {
  .js .drucker-papier .bon-schatten { animation: drucken 1.8s steps(18, end) .6s both; }
  @keyframes drucken {
    from { transform: translateY(100%); }
    to   { transform: none; }
  }
}

@media (max-width: 860px) {
  .einstieg-raster { grid-template-columns: 1fr; }
  .einstieg-bild { margin: 8px 0 0; }
  .einstieg-bild .foto { aspect-ratio: 4 / 3; }
  .drucker { position: relative; left: auto; bottom: auto; width: min(250px, 72%); margin: calc(-36px - 22vw) auto 0; }
  .drucker-gehaeuse { height: 54px; }
  .drucker-schlitz { top: 9px; height: 5px; }
  .drucker-papier { margin-bottom: -11px; }
  .drucker-name { left: 14px; bottom: 10px; }
  .drucker-licht { right: 14px; bottom: 12px; }
  .einstieg-bild .bon { font-size: .82rem; padding: 14px 14px calc(14px + var(--zacke)); }
  .einstieg-bild .bon-titel { font-size: 1.2rem; }
  .einstieg-bild .bon-linie { margin: 10px 0; }
  .einstieg-bild .bon-summe strong { font-size: 1.25rem; }
  /* Auf dem Handy druckt der Bon erst, wenn der Drucker ins Bild kommt (main.js setzt .los) */
  .js .drucker-papier .bon-schatten { animation-delay: .2s; }
  .js .drucker:not(.los) .bon-schatten { animation-play-state: paused; }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.seitenkopf { padding-block: clamp(32px, 4.5vw, 60px) clamp(28px, 3.5vw, 44px); background: var(--hauch); border-bottom: 1px solid var(--hell); }
.seitenkopf h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 18ch; }
.seitenkopf .einleitung { margin-bottom: 0; }
.seitenkopf .knopf-reihe { margin-top: 28px; }
/* Folgt ein Abschnitt in derselben Farbe, gehen beide ineinander über */
.seitenkopf:has(+ .abschnitt--hauch) { border-bottom: 0; }
.seitenkopf + .abschnitt--hauch { padding-top: 8px; }

/* ---------- Probleme und Lösungen ---------- */
.gegenueber { list-style: none; border-top: 2px solid var(--schwarz); }
.gegenueber li { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(16px, 4vw, 56px); padding: 26px 0; border-bottom: 1px solid var(--greige); }
.gegenueber .problem { font-family: var(--titel); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; color: #6E6862; }
.gegenueber .loesung h3 { font-family: var(--text); font-weight: 700; font-size: 1.15rem; margin-bottom: .3em; letter-spacing: 0; }
.gegenueber .loesung p { margin: 0; color: var(--text-leise); }
.gegenueber-kopf { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(16px, 4vw, 56px); font-weight: 700; font-size: .95rem; padding-bottom: 10px; }
@media (max-width: 700px) {
  .gegenueber li, .gegenueber-kopf { grid-template-columns: 1fr; gap: 8px; }
  .gegenueber-kopf { display: none; }
}

/* ---------- Ablauf in 4 Schritten ---------- */
.schritte { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: schritt; }
.schritt img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; margin-bottom: 18px; background: var(--greige); }
.schritt-nr { font-family: var(--titel); font-size: 2.4rem; line-height: 1; color: var(--koralle); display: block; margin-bottom: 8px; }
.schritt h3 { margin-bottom: .2em; }
.schritt p { color: var(--text-leise); font-size: 1rem; }
.schritt .stichwort { font-weight: 700; font-size: .9rem; white-space: nowrap; margin-bottom: .4em; }
@media (max-width: 1140px) { .schritte { grid-template-columns: repeat(2, 1fr); } .schritt img { aspect-ratio: 4 / 3; } }
@media (max-width: 400px) { .schritt .stichwort { white-space: normal; } }
@media (max-width: 520px) {
  .schritte { grid-template-columns: 1fr; gap: 36px; }
  .schritt img { aspect-ratio: 4 / 3; }
}
.mitte { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Zähler als Bon ---------- */
.zaehler-raster { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(36px, 6vw, 96px); align-items: center; }
.zaehler-raster .bon { padding: 30px 30px calc(30px + var(--zacke)); }
.zaehler-raster .bon-zeilen { gap: 12px; font-size: 1.05rem; }
.zaehler-raster .bon-zeilen li { grid-template-columns: 1fr auto; }
.zaehler-raster .bon-zeilen .betrag { font-family: var(--titel); font-size: 1.35rem; }
.zaehler-raster .bon-summe { flex-direction: column; align-items: flex-start; gap: 4px; }
.zaehler-raster .bon-summe strong { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; }
@media (max-width: 860px) { .zaehler-raster { grid-template-columns: 1fr; } }

/* ---------- Mieten statt kaufen ---------- */
.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--greige); }
.vergleich > div { padding: clamp(24px, 4vw, 44px); }
.vergleich-kaufen { background: var(--weiss); }
.vergleich-mieten { background: var(--hell); }
.vergleich h3 { margin-bottom: 1em; }
.vergleich ul { list-style: none; display: grid; gap: 14px; }
.vergleich li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.vergleich li svg { width: 22px; height: 22px; margin-top: 2px; }
.vergleich-kaufen li { color: var(--text-leise); }
.vergleich-kaufen svg { color: #9A938C; }
.vergleich-mieten svg { color: var(--koralle); }
.vergleich-mieten .knopf { margin-top: 28px; }
@media (max-width: 760px) { .vergleich { grid-template-columns: 1fr; } }

/* ---------- Rezensionen ---------- */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.stimme { margin: 0; background: var(--weiss); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--greige); }
.stimme blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.stimme figcaption { margin-top: auto; font-size: .95rem; color: var(--text-leise); }
.stimme figcaption strong { color: var(--schwarz); display: block; }
.stimme .sterne { font-size: 1.15rem; }
.stimme-quelle { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; color: var(--text-leise); }
.stimmen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.stimmen-kopf h2 { margin: 0; }
.google-wert { display: flex; align-items: center; gap: 14px; }
.google-wert .zahl { font-family: var(--titel); font-size: 2.6rem; line-height: 1; }
.google-wert .sterne { font-size: 1.3rem; display: block; }
.google-wert small { color: var(--text-leise); font-size: .9rem; }
.stimmen--zwei { grid-template-columns: repeat(2, 1fr); }
/* Hauptzitat: die stärkste Bewertung gross, ohne Kärtchen */
.stimme-gross { margin: 0 0 clamp(36px, 5vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 2px solid var(--schwarz); display: grid; gap: 18px; }
.stimme-gross blockquote { margin: 0; font-family: var(--titel); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.01em; max-width: 34ch; text-wrap: pretty; }
.stimme-gross blockquote p { margin: 0; }
.stimme-gross figcaption { color: var(--text-leise); }
.stimme-gross figcaption strong { color: var(--schwarz); display: block; }
.stimme-gross .sterne { font-size: 1.3rem; }
@media (max-width: 900px) { .stimmen, .stimmen--zwei { grid-template-columns: 1fr; } }

/* ---------- Häufige Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.fragen-raster .kopf-text { position: sticky; top: 104px; }
.fragen { border-top: 2px solid var(--schwarz); }
.frage { border-bottom: 1px solid var(--greige); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.1rem; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--hauch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s, background-color .2s; }
.frage[open] summary::after { transform: rotate(45deg); background-color: var(--koralle); }
.frage summary:hover::after { background-color: var(--greige); }
.frage[open] summary:hover::after { background-color: var(--koralle-tief); }
.frage-antwort { padding: 0 48px 24px 0; color: var(--text-leise); }
.frage-antwort p:last-child { margin: 0; }
@media (max-width: 860px) { .fragen-raster { grid-template-columns: 1fr; } .fragen-raster .kopf-text { position: static; } .frage-antwort { padding-right: 0; } }

/* ---------- Anfrage und Formular ---------- */
.anfrage-raster { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.ablauf { list-style: none; counter-reset: ablauf; display: grid; gap: 22px; margin: 28px 0 32px; }
.ablauf li { counter-increment: ablauf; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ablauf li::before { content: counter(ablauf); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--koralle); color: var(--schwarz); font-family: var(--titel); font-size: 1.1rem; }
.ablauf strong { display: block; }
.ablauf span { color: var(--text-leise); }
.direkt { border-top: 1px solid var(--greige); padding-top: 24px; }
.direkt p { margin: 0 0 6px; }
.direkt a { font-weight: 700; font-size: 1.15rem; }

.formular-box { background: var(--weiss); color: var(--schwarz); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 50px rgba(23,23,23,.10); border: 1px solid var(--hell); }
.formular-box h3 { margin-bottom: .2em; }
.formular-box > p { color: var(--text-leise); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 22px; align-items: end; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld .freiwillig { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #BDB6AE; border-radius: 10px; background: var(--weiss);
  font: 400 1rem/1.4 var(--text); color: var(--schwarz); transition: border-color .15s, box-shadow .15s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld select { appearance: none; background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--schwarz); box-shadow: 0 0 0 3px rgba(253,119,78,.45); }
.feld input:user-invalid, .feld textarea:user-invalid { border-color: #C2410C; }
.zustimmung { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--text-leise); }
.zustimmung input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--koralle-tief); }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { grid-column: 1 / -1; display: grid; gap: 12px; }
/* Zweistufiges Formular (Mietpreise): ohne JavaScript sind beide Schritte offen */
.stufe { border: 0; margin: 0; padding: 0; min-width: 0; }
.stufe + .stufe { margin-top: 32px; }
.js .stufe + .stufe { margin-top: 0; }
.stufe[hidden] { display: none; }
.stufe-titel { padding: 0; margin-top: 22px; font-weight: 700; font-size: 1.1rem; outline: none; }
.stufe-titel span { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); margin-bottom: 2px; }
.stufe .felder { margin-top: 14px; }
.zurueck-knopf { justify-self: center; border: 0; background: none; padding: 6px; font: 600 .95rem/1.4 var(--text); color: var(--schwarz); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html:not(.js) [data-weiter], html:not(.js) [data-zurueck] { display: none; }
.formular-fuss small { color: var(--text-leise); }
.meldung { display: none; border-radius: 10px; padding: 14px 16px; font-weight: 600; margin-top: 18px; }
.meldung.zeigen { display: block; }
.meldung-fehler { background: #FDECE6; color: #8A2A0A; border: 1px solid #F6B9A4; }
.danke { text-align: left; }
.danke svg { width: 56px; height: 56px; color: var(--koralle-tief); margin-bottom: 12px; }
.danke h3 { margin-bottom: .4em; }
@media (max-width: 900px) { .anfrage-raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .felder { grid-template-columns: 1fr; } }

/* ---------- Pakete (Mieten) ---------- */
.pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.paket { position: relative; display: flex; flex-direction: column; }
.paket .bon { flex: 1; padding: 26px 24px calc(26px + var(--zacke)); display: flex; flex-direction: column; }
.paket-fuer { color: var(--text-leise); font-size: .95rem; line-height: 1.45; margin: 0; }
/* Nur wo der Untertitel umbrechen kann, Platz für 2 Zeilen reservieren, damit die Preise auf einer Linie bleiben */
@media (min-width: 961px) and (max-width: 1240px) {
  .paket-fuer { min-height: 2.9em; }
  /* Schmale Bons: etwas kleiner, damit die Zeilen gleich umbrechen */
  .paket .bon { padding-inline: 18px; }
  .paket .bon-zeilen { font-size: .88rem; }
  .paket .bon-zeilen li { gap: 6px; }
}
.paket-preis { margin: 10px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.paket-preis .waehrung { font-weight: 700; }
.paket-preis .zahl { font-family: var(--titel); font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 1; }
.paket-dauer { font-weight: 700; margin: 0; }
/* Die Leistungen füllen den freien Platz, damit Inklusive-Liste und Knopf bei allen Bons auf gleicher Höhe stehen */
.paket .bon-zeilen { font-size: .97rem; line-height: 1.4; gap: 6px; flex: 1 0 auto; align-content: start; }
.paket .bon-linie { margin: 12px 0; }
.paket .bon-zeilen li { grid-template-columns: 2.6ch 1fr auto; }
/* Zeilen, die mehr bieten als das kleinere Paket */
.paket .bon-zeilen .mehr { font-weight: 600; }
.paket .bon-zeilen .plus { align-self: center; white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: #FFE3D8; color: var(--schwarz); font-size: .78rem; font-weight: 700; }
.paket .inklusive { list-style: none; display: grid; gap: 2px; font-size: .95rem; color: var(--text-leise); margin-bottom: 18px; }
.paket .inklusive li::before { content: "✓ "; color: var(--koralle-tief); font-weight: 700; }
.paket .knopf { margin-top: 0; }
.paket--empfohlen .bon { outline: 0; }
.paket--empfohlen .bon-titel { color: var(--schwarz); }
.stempel {
  position: absolute; top: 34px; right: 14px; z-index: 2; transform: rotate(8deg);
  border: 3px solid var(--koralle-tief); color: var(--koralle-tief); border-radius: 8px;
  padding: 4px 10px; font-family: var(--titel); font-size: 1rem; background: rgba(255,255,255,.9);
}
/* Medium kommt aus dem Drucker: Schlitz unten, der Bon gleitet nach unten heraus */
/* Der Schlitz liegt genau auf der Oberkante des Bons; das Papier liegt vor dem Gehäuse */
.paket-drucker { position: absolute; z-index: 1; top: -50px; left: -24px; right: -24px; height: 64px; border-radius: 20px 20px 12px 12px; }
.paket-drucker .drucker-name { top: 14px; bottom: auto; left: 26px; }
.paket-drucker .drucker-licht { top: 16px; bottom: auto; right: 26px; }
.paket-drucker .drucker-schlitz { top: auto; bottom: 11px; left: 12px; right: 12px; }
/* Am Schlitz abschneiden, seitlich und unten Platz für Schatten und Stempel lassen */
.paket-papier { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; clip-path: inset(0 -60px -80px -60px); }
/* Abgerissener Bon: Zacken oben und unten */
.bon.bon--abriss {
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zacke) * 2) var(--zacke) repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--zacke)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zacke) * 2) var(--zacke) repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zacke) * 2) var(--zacke) repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--zacke)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zacke) * 2) var(--zacke) repeat-x;
}
.papier-band { position: relative; flex: 1; display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .js .papier-band { animation: drucken-runter 1.6s steps(18, end) .3s both; }
  /* main.js setzt .los, sobald der Drucker ganz im Bild ist */
  .js .paket--empfohlen:not(.los) .papier-band { animation-play-state: paused; }
  @keyframes drucken-runter {
    from { transform: translateY(-100%); }
    to   { transform: none; }
  }
}
@media (max-width: 960px) {
  .pakete { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .paket--empfohlen { margin-top: 72px; }
  /* Auf dem Handy nicht über den Bildschirmrand hinaus */
  .paket-drucker { left: -12px; right: -12px; }
  .paket-drucker .drucker-schlitz { left: 6px; right: 6px; }
  .paket-fuer { min-height: 0; }
}

.tabelle-huelle { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--greige); background: var(--weiss); -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; border-collapse: collapse; min-width: 640px; }
.tabelle td { white-space: nowrap; }
.tabelle th, .tabelle td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--hell); vertical-align: top; }
.tabelle thead th { background: var(--hell); color: var(--schwarz); font-weight: 700; }
.tabelle thead th.hervor { background: var(--koralle); color: var(--schwarz); }
.tabelle tbody th { font-weight: 600; width: 28%; }
.tabelle td.hervor { background: #FFF4EF; }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
.tabelle-hinweis { font-size: .9rem; color: var(--text-leise); margin-top: 10px; }
.tabelle--optionen { min-width: 520px; }
.tabelle--optionen tbody th { width: 40%; }

.hinweise { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; margin-top: 8px; }
.hinweise li { padding-left: 18px; border-left: 3px solid var(--koralle); color: var(--text-leise); }
.hinweise strong { color: var(--schwarz); }
@media (max-width: 760px) { .hinweise { grid-template-columns: 1fr; } }
.hinweise--eine { grid-template-columns: 1fr; max-width: 820px; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.zwei-spalten > *, .anfrage-raster > *, .demo-raster > *, .zaehler-raster > *, .fragen-raster > *, .einstieg-raster > *, .zeitpunkt > * { min-width: 0; }
@media (max-width: 860px) { .zwei-spalten { grid-template-columns: 1fr; } }

/* Feste Leiste unten auf dem Handy (Mieten) */
.cta-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 12px; align-items: center; justify-content: space-between; padding: 12px var(--rand) calc(12px + env(safe-area-inset-bottom)); background: var(--weiss); color: var(--schwarz); border-top: 1px solid var(--greige); box-shadow: 0 -10px 30px rgba(23,23,23,.08); transform: translateY(110%); transition: transform .3s; }
.cta-leiste.zeigen { transform: none; }
.cta-leiste span { font-size: .92rem; line-height: 1.3; }
.cta-leiste strong { display: block; font-size: 1rem; }
@media (max-width: 760px) { .cta-leiste { display: flex; } body.hat-cta-leiste { padding-bottom: 84px; } }

/* Nach oben: kleiner Bon mit Zacken unten, ruhig in Weiss und Schwarz, Pfeil wird beim Zeigen koralle */
.nach-oben {
  position: fixed; right: var(--rand); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45;
  width: 48px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(23,23,23,.14));
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility 0s .25s, bottom .3s;
}
.nach-oben.zeigen { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, bottom .3s; }
.nach-oben svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nach-oben-bon { fill: var(--weiss); stroke: #A49D96; stroke-width: 1.25; stroke-linejoin: round; }
.nach-oben-pfeil { fill: none; stroke: var(--text-leise); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.nach-oben:hover .nach-oben-pfeil, .nach-oben:focus-visible .nach-oben-pfeil { stroke: var(--koralle-tief); }
.nach-oben:hover.zeigen { transform: translateY(-2px); }
.nach-oben:active.zeigen { transform: translateY(1px); }
/* Am Handy über der Anfrage-Leiste */
.cta-leiste.zeigen ~ .nach-oben { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .nach-oben, .nach-oben.zeigen { transition: none; transform: none; } }

/* ---------- Demo ---------- */
.demo-raster { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
/* Handy und Monitor sind Gerätebilder mit durchsichtigem Bildschirm (Masse in Prozent des Bildes).
   Die App liegt darunter und wird von main.js auf die Bildschirmgrösse verkleinert. */
.geraete { display: grid; grid-template-columns: 320px; gap: 28px; justify-items: center; }
.handy, .monitor { position: relative; width: 100%; }
.handy { width: 320px; }
.geraet-bild { position: relative; z-index: 2; width: 100%; pointer-events: none; user-select: none; }
.bildschirm { position: absolute; z-index: 1; overflow: hidden; background: var(--weiss); }
.handy .bildschirm { left: 11%; top: 10.2%; width: 78.2%; height: 78.7%; border-radius: 0 0 12.8% 12.8% / 0 0 6.4% 6.4%; }
.monitor .bildschirm { left: 3.1%; top: 3.4%; width: 93.8%; height: 70.9%; }
.bildschirm iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; border: 0; background: var(--weiss); transform-origin: 0 0; }
.start-schirm { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; background: var(--weiss); }
.start-schirm img { width: 64px; height: 64px; }
.start-schirm p { margin: 0; font-size: .95rem; color: var(--text-leise); max-width: 30ch; }
.geraet-unterschrift { font-size: .9rem; color: var(--text-leise); text-align: center; margin-top: 12px; }
.geraet-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 10px; font-size: .95rem; }
.anleitung { list-style: none; counter-reset: schritt; display: grid; gap: 22px; margin: 24px 0 32px; }
.anleitung li { counter-increment: schritt; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.anleitung li::before { content: counter(schritt); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--koralle); font-family: var(--titel); }
.anleitung strong { display: block; margin-bottom: 2px; }
.anleitung span { color: var(--text-leise); }
.demo-monitor { margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) {
  .demo-raster { grid-template-columns: 1fr; }
  .geraete { justify-self: center; }
  .demo-monitor { grid-template-columns: 1fr; }
}
/* Kleiner Monitor auf dem Handy: nur der Knopf, er öffnet die App in einem neuen Fenster */
@media (max-width: 700px) { .monitor .start-schirm img, .monitor .start-schirm p { display: none; } .monitor .start-schirm { padding: 12px; } }
@media (max-width: 360px) { .handy { width: 270px; } .geraete { grid-template-columns: 270px; } }

/* ---------- Videos ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--schwarz); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: var(--weiss); text-decoration: none; }
.video-start:hover { color: var(--weiss); }
.video-start strong { font-family: var(--titel); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin-top: 10px; }
.video-start small { color: #CFCAC4; font-size: .9rem; }
.video-knopf { width: 72px; height: 72px; border-radius: 50%; background: var(--koralle); position: relative; transition: transform .15s; }
.video-knopf::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--schwarz); }
.video-start:hover .video-knopf { transform: scale(1.06); }
/* Video im Hochformat: im Handy-Rahmen wie beim Demozugang, so hoch, dass das Handy ganz auf den Bildschirm passt.
   Auf dem Handy öffnet der Link YouTube (Vollbild), siehe main.js. */
.video-handy { width: clamp(240px, calc((100vh - 190px) * .505), 320px); margin: 28px 0; }
@supports (height: 100svh) { .video-handy { width: clamp(240px, calc((100svh - 190px) * .505), 320px); } }
.video-handy .bildschirm { background: var(--schwarz); }
.video-handy .video-start { color: var(--schwarz); gap: 10px; }
.video-handy .video-start:hover { color: var(--schwarz); }
.video-handy .video-start img { width: 48px; height: 48px; margin-bottom: 12px; }
.video-handy .video-start strong { font-size: 1.15rem; line-height: 1.2; max-width: 14ch; }
.video-handy .video-start small { color: var(--text-leise); max-width: 22ch; }
.video-handy iframe { transform: none; background: var(--schwarz); }

/* ---------- Dein Fest ---------- */
.sprungleiste { position: sticky; top: 72px; z-index: 30; background: var(--weiss); border-bottom: 1px solid var(--hell); }
.sprungleiste ol { list-style: none; display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.sprungleiste ol::-webkit-scrollbar { display: none; }
.sprungleiste a { display: block; white-space: nowrap; padding: .5em .9em; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; background: var(--hauch); }
.sprungleiste a:hover { background: var(--hell); color: var(--schwarz); }
.zeitleiste { list-style: none; position: relative; }
.zeitpunkt { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: clamp(16px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 96px); }
.zeitpunkt::before { content: ""; position: absolute; left: 35px; top: 72px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--greige) 0 8px, transparent 8px 14px); }
.zeitpunkt:last-child::before { display: none; }
.zeitpunkt-nr { width: 72px; height: 72px; border-radius: 50%; background: var(--koralle); color: var(--schwarz); display: grid; place-items: center; font-family: var(--titel); font-size: 1.6rem; }
.zeitpunkt-inhalt > p, .zeitpunkt-inhalt > .einleitung { max-width: 66ch; }
.zeitpunkt-inhalt h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 10px; }
.zeitpunkt .zeit { display: inline-block; font-weight: 700; background: var(--hell); border-radius: 999px; padding: .25em .8em; font-size: .9rem; margin-bottom: 10px; }
.zeitpunkt .video { margin: 24px 0; max-width: 820px; }
@media (max-width: 640px) {
  .zeitpunkt { grid-template-columns: 1fr; }
  .zeitpunkt::before { display: none; }
  .zeitpunkt-nr { width: 56px; height: 56px; font-size: 1.3rem; }
}
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; max-width: 820px; }
.download { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--greige); text-decoration: none; background: var(--weiss); transition: border-color .15s; }
.download:hover { border-color: var(--schwarz); color: var(--schwarz); }
.download svg { width: 44px; height: 44px; color: var(--koralle-tief); }
.download strong { display: block; }
.download span { font-size: .9rem; color: var(--text-leise); }
@media (max-width: 560px) { .downloads { grid-template-columns: 1fr; } }
.checkliste { list-style: none; display: grid; gap: 4px; margin: 20px 0; max-width: 820px; }
.checkliste label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.checkliste label:hover { background: var(--hauch); }
.checkliste input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--koralle-tief); }
.checkliste input:checked + span { color: var(--text-leise); text-decoration: line-through; text-decoration-color: var(--koralle); }
.checkliste span small { display: block; color: var(--text-leise); font-size: .92rem; }
.aufbau-schritte { counter-reset: aufbau; list-style: none; display: grid; gap: 10px; margin: 20px 0; max-width: 820px; }
.aufbau-schritte li { counter-increment: aufbau; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.aufbau-schritte li::before { content: counter(aufbau); width: 30px; height: 30px; border-radius: 50%; background: var(--hell); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.tipp { max-width: 820px; background: var(--hauch); border-left: 4px solid var(--koralle); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 20px 0; }
.tipp p:last-child { margin: 0; }
.tischplan { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; max-width: 420px; margin: 14px 0 4px; }
.tischplan span { background: var(--weiss); border: 1.5px solid var(--greige); border-radius: 6px; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px 0; }
.tischplan span.markiert { border-color: var(--koralle-tief); background: #FFF4EF; }

/* ---------- Referenzen ---------- */
.feste { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.fest { background: var(--weiss); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--greige); display: flex; flex-direction: column; }
.fest img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fest-inhalt { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fest-inhalt h3 { margin: 0; }
.fest-ort { color: var(--text-leise); font-size: .95rem; margin: 0; }
.fest-zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: auto 0 0; padding-top: 14px; border-top: 2px dashed var(--greige); }
.fest-zahlen div { display: flex; flex-direction: column; }
.fest-zahlen dt { font-size: .8rem; color: var(--text-leise); order: 2; }
.fest-zahlen dd { margin: 0; font-family: var(--titel); font-size: 1.15rem; order: 1; }
.fest--gross { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.fest--gross img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.fest--gross .fest-inhalt { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.fest--gross h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.fest--gross .fest-zahlen { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.fest--gross .fest-zahlen dd { font-size: clamp(1.3rem, 2.2vw, 1.75rem); white-space: nowrap; }
.fest-merkmal { align-self: flex-start; font-size: .78rem; font-weight: 700; background: var(--hauch); border: 1px solid var(--greige); border-radius: 999px; padding: 2px 10px; }
.fest-inhalt > p:not(.fest-ort) { margin: 0; }
.platzhalter { align-self: flex-start; font-size: .78rem; font-weight: 700; background: #FFF4EF; color: #9A3412; border: 1px dashed #F6B9A4; border-radius: 999px; padding: 2px 10px; }
@media (max-width: 960px) { .feste { grid-template-columns: repeat(2, 1fr); } .fest--gross { grid-template-columns: minmax(0, 1fr); } .fest--gross img { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .feste { grid-template-columns: 1fr; } .fest--gross .fest-zahlen dd { white-space: normal; } }

.auswahl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.auswahl-text p { max-width: 60ch; }
.auswahl-text p:last-child { margin: 0; }
.google-box { display: flex; flex-direction: column; gap: 14px; background: var(--hauch); border: 1px solid var(--greige); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); text-decoration: none; }
.google-box:hover { color: inherit; border-color: var(--koralle); }
.google-box strong { text-decoration: underline; text-decoration-color: var(--koralle); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) { .auswahl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Schlussaufruf ---------- */
.schluss { text-align: center; }
.schluss h2 { max-width: 20ch; margin-inline: auto; }
.schluss .einleitung { margin: 0 auto 28px; }
.schluss .knopf-reihe { justify-content: center; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.rechtstext h3 { font-family: var(--text); font-weight: 700; font-size: 1.1rem; margin-top: 1.4em; letter-spacing: 0; }
.rechtstext ol, .rechtstext ul { padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: .5em; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }
.rechtstext .stand { color: var(--text-leise); margin-top: 2.4em; }

/* ---------- Fussbereich ---------- */
.fuss { background: var(--hauch); color: var(--text-leise); border-top: 1px solid var(--greige); padding-block: clamp(44px, 5vw, 64px) 28px; }
.fuss a { color: var(--schwarz); text-decoration: none; }
.fuss a:hover { color: var(--schwarz); text-decoration: underline; text-decoration-color: var(--koralle); text-underline-offset: 3px; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.fuss .fuss-recht { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fuss-marke img { width: 200px; margin-bottom: 18px; }
.fuss-marke p { max-width: 34ch; }
.fuss h2 { font-family: var(--text); font-size: 1rem; font-weight: 700; color: var(--schwarz); letter-spacing: 0; margin-bottom: 14px; }
.fuss ul { list-style: none; display: grid; gap: 10px; }
.fuss-unten { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--greige); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; font-size: .9rem; color: var(--text-leise); }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 460px) { .fuss-raster { grid-template-columns: 1fr; } }

/* Knopf, der wie ein Link aussieht (z. B. «Cookies» im Fussbereich) */
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: var(--schwarz); cursor: pointer; }
.link-knopf:hover { text-decoration: underline; text-decoration-color: var(--koralle); text-underline-offset: 3px; }
.rechtstext .link-knopf { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- Cookie-Banner: ein kleiner Bon unten links ---------- */
.cookie-banner {
  position: fixed; left: var(--rand); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: min(380px, 100% - 2 * var(--rand));
  filter: drop-shadow(0 16px 28px rgba(23,23,23,.18));
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}
.cookie-banner.zeigen { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .bon { filter: none; padding: 20px 22px calc(20px + var(--zacke)); font-size: .95rem; line-height: 1.5; border-top: 4px solid var(--koralle); }
.cookie-banner .bon-titel { font-size: 1.3rem; }
.cookie-banner .bon-linie { margin: 12px 0; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-banner a { color: var(--schwarz); }
.cookie-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-knoepfe .knopf { padding-inline: .6em; }
@media (max-width: 760px) {
  .cookie-banner { left: var(--rand); right: var(--rand); width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  body.hat-cookie-banner .nach-oben { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; transform: none; } }

@media print { .kopf, .fuss, .cta-leiste, .sprungleiste, .nach-oben, .cookie-banner { display: none; } }
