/* HB Catering 2026 – Website.
   Gilt fuer Startseite, Rechtstexte und Anmeldung. Kundenbereich und
   Verwaltung haben ihr eigenes Stylesheet im Theme hbcatering.

   Erscheinungsbild: die Farben des Markenbilds vom November 2026 (Pflaume,
   Flieder, Malve, wenig Gold) in einer modernen Fassung – ruhige Flaechen,
   runde Ecken, Ueberschriften in Hanken Grotesk. Cormorant Garamond steht
   nur noch im Logo. */

:root {
  --porzellan: #ffffff;
  --marmor: #faf7f6;
  --nebel: #f5edf1;
  --flieder: #dcc8d8;
  --malve: #8a5f7b;
  --pflaume: #47203a;
  --pflaume-tief: #2c1224;
  --tinte: #2a1c26;
  --grau: #675a63;
  --linie: #e3d6de;
  --gold: #916728;
  --gold-hell: #dcbc7c;
  --hell-gedaempft: rgba(255, 255, 255, 0.78);
  --linie-dunkel: rgba(255, 255, 255, 0.22);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --rand: clamp(1.25rem, 5vw, 5rem);
  --breite: 82rem;
  --abstand: clamp(4.5rem, 10vw, 9rem);
  --kopf-hoehe: 4.75rem;
  --rund: 1.25rem;
  --rund-gross: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--porzellan);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; color: var(--pflaume); text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.7vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; }
/* Auf Pflaume stehen Ueberschriften in Weiss. */
.sortiment :is(h2, h3), .kontakt :is(h2, h3), .fuss h2 { color: #fff; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--porzellan); color: var(--pflaume); }
.sprung:focus { top: 1rem; }

/* ---------- Knoepfe und Links ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95em 1.8em;
  border: 1px solid var(--pflaume); border-radius: 999px;
  background: var(--pflaume); color: #fff;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.knopf:hover { background: var(--pflaume-tief); }
.knopf-klein { padding: 0.7em 1.2em; font-size: 0.9rem; white-space: nowrap; }
.knopf-hell { background: #fff; border-color: #fff; color: var(--pflaume); }
.knopf-hell:hover { background: var(--flieder); border-color: var(--flieder); }
.knopf-linie { background: transparent; color: var(--pflaume); }
.knopf-linie:hover { background: var(--pflaume); color: #fff; }

.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.textlink:hover { text-decoration-thickness: 2px; }
.textlink-hell { color: #fff; }

/* ---------- Kopf ---------- */

.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--porzellan); color: var(--pflaume);
  border-bottom: 1px solid var(--linie);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.kopf-innen {
  display: flex; align-items: center; gap: 2rem;
  height: var(--kopf-hoehe); padding: 0 var(--rand);
}
/* Auf der Startseite liegt der Kopf zunaechst durchsichtig ueber dem Hero. */
.seite-start .kopf:not(.ist-fest):not(.ist-offen) { background: transparent; border-bottom-color: transparent; }

.marke { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.marke-zeichen {
  flex: none; width: 4.6rem; aspect-ratio: 480 / 200;
  background: var(--pflaume);
  -webkit-mask: url('../images/monogramm.png') center / contain no-repeat;
  mask: url('../images/monogramm.png') center / contain no-repeat;
}
/* Das Zeichen sagt schon HB; der Name steht fuer Screenreader am Link. */
.marke-text { display: none; }
.marke-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.marke-zusatz { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--gold); }

.haupt-nav ul { display: flex; gap: 1.9rem; }
.haupt-nav a { font-size: 0.95rem; font-weight: 500; text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.haupt-nav a:hover { border-bottom-color: currentColor; }

.kopf-aktionen { display: flex; align-items: center; gap: 1.25rem; }
.kopf-link { font-size: 0.95rem; font-weight: 500; }

.menue-knopf { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.menue-strich, .menue-strich::before, .menue-strich::after { display: block; width: 1.5rem; height: 2px; margin: 0 auto; background: currentColor; transition: transform 0.2s; }
.menue-strich { position: relative; }
.menue-strich::before, .menue-strich::after { content: ''; position: absolute; left: 0; }
.menue-strich::before { top: -7px; }
.menue-strich::after { top: 7px; }
.ist-offen .menue-strich { background: transparent; }
.ist-offen .menue-strich::before { transform: translateY(7px) rotate(45deg); }
.ist-offen .menue-strich::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ----------
   Links Ueberschrift, Text und Leistungen, rechts drei Fotos mit der
   Logokarte davor. Ein weicher Fliederschein liegt hinter den Fotos. */

.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center;
  min-height: min(100svh, 56rem);
  padding: calc(var(--kopf-hoehe) + clamp(1.5rem, 4vw, 3.5rem)) var(--rand) clamp(3rem, 6vw, 5rem);
  background: radial-gradient(52rem 38rem at 88% 18%, rgba(220, 200, 216, 0.75), transparent 68%), var(--marmor);
}
.hero-text { display: grid; justify-items: start; }
.hero-ort {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.8rem; border: 1px solid var(--linie); border-radius: 999px;
  background: #fff; font-size: 0.88rem; font-weight: 600; color: var(--pflaume);
}
.hero-ort::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold-hell); }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 13em; }
.hero-lead { margin-top: 1.6rem; max-width: 34em; font-size: 1.12rem; color: var(--grau); }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.hero-leistungen { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.75rem; }
.hero-leistungen li { padding: 0.4rem 0.95rem; border-radius: 999px; background: rgba(71, 32, 58, 0.07); font-size: 0.9rem; font-weight: 500; color: var(--pflaume); white-space: nowrap; }

.hero-buehne {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1vw, 0.9rem); aspect-ratio: 1 / 1.04; max-height: 42rem; justify-self: end; width: 100%;
}
.hero-foto { height: 100%; border-radius: var(--rund-gross); }
.hero-foto:first-child { grid-row: span 2; }
.hero-foto:only-child { grid-column: 1 / -1; }
.hero-karte {
  position: absolute; z-index: 2; left: clamp(-3rem, -3vw, -1rem); bottom: clamp(1.25rem, 3vw, 2.5rem);
  width: min(15.5rem, 48%); padding: 0.9rem 1.4rem 1rem 0.9rem;
  border-radius: var(--rund); background: #fff;
  box-shadow: 0 24px 60px -24px rgba(71, 32, 58, 0.45);
}
.hb-logo { display: block; width: 100%; height: auto; overflow: visible; }
.hb-logo-gold { stroke: var(--gold); }
.hb-logo-schrift { fill: var(--pflaume); font-family: var(--serif); }
.hb-logo-hb { font-size: 284px; font-weight: 600; }
.hb-logo-schwung { fill: none; stroke: var(--pflaume); stroke-width: 7; stroke-linecap: round; }
.hb-logo-wort { font-size: 54px; font-weight: 600; letter-spacing: 0.3em; }

/* Der eine bewegte Moment der Seite: Beim Laden kommen Text, Fotos und
   Logokarte nacheinander. */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: text-auf 0.8s ease-out both; }
  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-text > :nth-child(5) { animation-delay: 0.32s; }
  .hero-foto { animation: foto-auf 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-foto:nth-child(2) { animation-delay: 0.12s; }
  .hero-foto:nth-child(3) { animation-delay: 0.24s; }
  .hero-karte { animation: text-auf 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }
}
@keyframes foto-auf { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes text-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Abschnitte allgemein ---------- */

.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.abschnitt-kopf p { max-width: 36em; color: var(--grau); }

.strichliste li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; }
.strichliste li::before { content: ''; position: absolute; left: 0.15rem; top: 0.95em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--flieder); }

/* ---------- Intro ---------- */

.intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: var(--abstand) var(--rand); }
.intro-text { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; max-width: 24em; color: var(--pflaume); }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linie); }
.fakten dt { font-size: 1.45rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--pflaume); }
.fakten dd { margin-top: 0.35rem; font-size: 0.92rem; color: var(--grau); }
/* Drei Hochformate nebeneinander ergeben zusammen 16:9. */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: clamp(0.4rem, 0.8vw, 0.75rem); width: 100%; aspect-ratio: 16 / 9; }
.collage .bildrahmen { height: 100%; }

/* ---------- Tagesverlauf ---------- */

.tagesverlauf { padding: var(--abstand) var(--rand); background: var(--nebel); --vorhang: var(--nebel); }
/* Die Linie ueber jeder Zeile zieht sich beim Einblenden von links auf. */
.zeit {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3.2fr);
  gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.zeit::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--flieder); transform-origin: left; }
.zeit-uhr { display: block; overflow: hidden; padding-bottom: 0.08em; font-weight: 300; font-size: clamp(3.25rem, 7.6vw, 7rem); line-height: 0.95; letter-spacing: -0.05em; color: var(--pflaume); font-variant-numeric: tabular-nums; }
.zeit-text h3 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); letter-spacing: -0.025em; }
.zeit-text p { margin-top: 0.9rem; max-width: 34em; color: var(--grau); }
.zeit-text .strichliste { margin-top: 1.4rem; }
.zeit-bild { aspect-ratio: 4 / 5; }
/* Ohne Foto teilen sich Uhrzeit und Text die Zeile. */
.zeit:not(:has(.zeit-bild)) { grid-template-columns: minmax(0, 3fr) minmax(0, 8.2fr); align-items: center; }
.zeit:not(:has(.zeit-bild)) .zeit-text p { max-width: 40em; font-size: 1.08rem; }

/* ---------- Sortiment (Karte) ---------- */

.sortiment { background: var(--pflaume); color: #fff; padding: var(--abstand) var(--rand); }
.sortiment .abschnitt-kopf p { color: var(--hell-gedaempft); }
.karte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem clamp(1.5rem, 3vw, 3rem); }
.karte-art { margin-top: 0.35rem; font-size: 0.9rem; color: var(--flieder); }
.karte-gruppe ul { margin-top: 1.25rem; border-top: 1px solid var(--linie-dunkel); }
.karte-gruppe li { padding: 0.7rem 0; border-bottom: 1px solid var(--linie-dunkel); font-size: 0.98rem; line-height: 1.4; }

/* ---------- Pakete ---------- */

.pakete { padding: var(--abstand) var(--rand); }
.paket-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.paket { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2.25rem); border-radius: var(--rund-gross); background: var(--nebel); }
.paket-bild { aspect-ratio: 4 / 5; margin-bottom: 1.5rem; }
.paket h3 { font-size: 1.7rem; letter-spacing: -0.03em; }
.paket-art { margin: 0.35rem 0 0.9rem; font-size: 0.92rem; color: var(--malve); font-weight: 600; }
.paket > p:not(.paket-art) { color: var(--grau); margin-bottom: 1.5rem; }
.paket .strichliste { margin: 1.2rem 0 1.6rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.paket .textlink { margin-top: auto; align-self: flex-start; color: var(--pflaume); }

.karte-bild { aspect-ratio: 4 / 3; margin-bottom: 1.4rem; }

/* ---------- Anlaesse und Ablauf ---------- */

.ablauf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem clamp(2.5rem, 7vw, 7rem); padding: var(--abstand) var(--rand); }
.ablauf h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.ablauf-lead { margin-top: 1rem; color: var(--grau); }
.anlaesse { margin-top: 2.5rem; border-top: 1px solid var(--linie); }
.anlaesse > div { padding: 1.1rem 0; border-bottom: 1px solid var(--linie); }
.anlaesse dt { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; color: var(--pflaume); }
.anlaesse dd { margin-top: 0.25rem; color: var(--grau); }
.schritte { margin-top: 2.5rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--linie); }
.schritte li:last-child { border-bottom: 1px solid var(--linie); }
.schritte li::before { content: counter(schritt); grid-row: span 2; font-size: 2rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--malve); font-variant-numeric: tabular-nums; }
.schritte h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.schritte p { margin-top: 0.25rem; color: var(--grau); }

/* ---------- Kundenshop ---------- */

.shop-band { padding: 0 var(--rand) var(--abstand); }
.shop-band-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 4rem; padding: clamp(2rem, 4vw, 3.5rem); background: var(--flieder); border-radius: var(--rund-gross); }
.shop-band h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.shop-band p { margin-top: 0.75rem; max-width: 40em; color: var(--tinte); }

/* ---------- Kontakt ---------- */

.kontakt { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem clamp(2.5rem, 7vw, 7rem); padding: var(--abstand) var(--rand); background: var(--pflaume); color: #fff; }
.kontakt-text > p { margin-top: 1.5rem; max-width: 30em; color: var(--hell-gedaempft); }
.kontakt-wege { margin-top: 3rem; border-top: 1px solid var(--linie-dunkel); }
.kontakt-wege > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie-dunkel); }
.kontakt-wege dt { color: var(--hell-gedaempft); }
.kontakt-wege dd { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.kontakt-wege a { text-decoration: none; }
.kontakt-wege a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }

.kontakt-formular form { display: grid; gap: 1.25rem; }
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.feld { display: grid; gap: 0.4rem; }
.feld > span { font-size: 0.92rem; font-weight: 500; }
.feld small { font-size: 0.85em; font-weight: 400; color: var(--hell-gedaempft); margin-left: 0.3em; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06); color: #fff;
  font: inherit; font-size: 1rem;
}
.feld textarea { resize: vertical; min-height: 7rem; }
.feld select option { color: var(--tinte); background: #fff; }
.feld ::placeholder { color: rgba(255, 255, 255, 0.5); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 1px; border-color: transparent; }
.kontakt-formular .knopf { justify-self: start; margin-top: 0.5rem; }
.kontakt :focus-visible { outline-color: var(--gold-hell); }

.meldungen { margin-bottom: 1.5rem; }
.meldung { padding: 1rem 1.2rem; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.1); }
.meldung-error { background: rgba(240, 160, 140, 0.22); }

/* ---------- Fuss ---------- */

.fuss { background: var(--pflaume-tief); color: var(--hell-gedaempft); padding: clamp(3rem, 6vw, 5rem) var(--rand) 2rem; font-size: 0.95rem; }
.fuss-innen { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.marke-zeichen-gross { display: block; width: 6.5rem; background: var(--gold-hell); margin-bottom: 1.25rem; }
.fuss-marke p { max-width: 24em; }
.fuss h2 { font: 600 0.95rem/1.4 var(--sans); letter-spacing: 0; color: #fff; margin-bottom: 0.9rem; }
.fuss li { padding: 0.2rem 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); font-size: 0.88rem; }
.fuss :focus-visible { outline-color: var(--gold-hell); }

/* ---------- Schmale Seiten: Rechtstexte und Anmeldung ---------- */

.seite-schmal main { padding-top: var(--kopf-hoehe); min-height: 70vh; }

.rechtstext { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--rand) var(--abstand); }
.zurueck { display: inline-block; margin-bottom: 2rem; font-size: 0.95rem; color: var(--grau); text-underline-offset: 0.3em; }
.rechtstext h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.6rem; margin: 2.75rem 0 0.75rem; }
.rechtstext h3 { font: 600 1.05rem/1.4 var(--sans); letter-spacing: 0; margin: 1.75rem 0 0.5rem; }
.rechtstext p, .rechtstext ul, .rechtstext ol { margin-bottom: 1rem; }
.rechtstext ul, .rechtstext ol { padding-left: 1.3rem; }
.rechtstext ul { list-style: disc; }
.rechtstext ol { list-style: decimal; }
.rechtstext li { margin-bottom: 0.35rem; }
.rechtstext em { color: var(--grau); }
.rechtstext a { text-underline-offset: 0.25em; }
.rechtstext table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.95rem; }
.rechtstext th, .rechtstext td { padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }

.anmeldung { display: grid; place-items: start center; padding: clamp(3rem, 8vw, 6rem) var(--rand) var(--abstand); background: var(--nebel); min-height: 70vh; }
.anmeldung-karte { width: 100%; max-width: 28rem; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--porzellan); border-radius: var(--rund-gross); box-shadow: 0 30px 70px -40px rgba(71, 32, 58, 0.4); }
.anmeldung-karte h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.anmeldung-karte p { margin-bottom: 1rem; }
.anmeldung-karte label { display: block; margin-bottom: 0.4rem; font-size: 0.92rem; font-weight: 500; }
.anmeldung-karte .form-field, .anmeldung-karte .form-group { margin-bottom: 1.1rem; }
.anmeldung-karte input[type='text'], .anmeldung-karte input[type='email'], .anmeldung-karte input[type='password'] {
  width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #ab9aa5; border-radius: 0.75rem; background: #fff; color: var(--tinte); font: inherit; font-size: 1rem;
}
.anmeldung-karte input:focus-visible { outline: 2px solid var(--pflaume); outline-offset: 1px; }
.anmeldung-karte .form-actions, .anmeldung-karte .form-button-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin-top: 1.5rem; }
.anmeldung-karte button, .anmeldung-karte .button {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.9em 1.6em;
  border: 1px solid var(--pflaume); border-radius: 999px; background: var(--pflaume); color: #fff;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.anmeldung-karte button:hover, .anmeldung-karte .button:hover { background: var(--pflaume-tief); }
.anmeldung-karte .button.secondary, .anmeldung-karte a.button:not(.primary) { background: transparent; color: var(--pflaume); }
.anmeldung-karte .rememberme { display: flex; align-items: center; gap: 0.5rem; }
.anmeldung-karte .rememberme label { margin: 0; font-weight: 400; }
.anmeldung-karte .notices, .anmeldung-karte .alert, .anmeldung-karte .toast { margin-bottom: 1.25rem; padding: 0.9rem 1.1rem; border-radius: 0.75rem; background: var(--nebel); }
.anmeldung-karte .notices p { margin: 0; }
.login-hinweis { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--linie); font-size: 0.92rem; color: var(--grau); }

/* ---------- Effekte ----------
   Einblenden beim Scrollen (js/hb.js setzt .ist-da), Bildeffekte, Hover. Die Ausgangszustaende gelten nur mit html.js: ohne JavaScript ist
   alles sofort sichtbar. Bei "Bewegung reduzieren" entfaellt der ganze Block. */

.bildrahmen { display: block; position: relative; overflow: hidden; width: 100%; border-radius: var(--rund); background: var(--nebel); }
.bildrahmen img, .bildrahmen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Bildwechsel: mehrere Fotos im selben Rahmen blenden nacheinander ueber
   (ausgelegt auf drei Fotos, 15 Sekunden je Durchlauf). Ohne Animation
   bleibt das erste Foto stehen. */
.ist-wechsel img:not(:first-child) { opacity: 0; }

/* Unterstreichung der Navigation waechst von links. */
.haupt-nav a { position: relative; }

@media (prefers-reduced-motion: no-preference) {

  @supports (animation-timeline: scroll()) {
    /* Feine Goldlinie unter dem Kopf zeigt den Lesefortschritt. */
    .kopf::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
      background: var(--gold); transform-origin: left;
      animation: fortschritt linear both; animation-timeline: scroll(root);
    }
    /* Bilder im Tagesverlauf und in den Paketen verschieben sich leicht im Rahmen. */
    .zeit-bild img, .paket-bild img {
      inset: -8% 0; height: 116%;
      animation: bild-zug linear both; animation-timeline: view(); animation-range: entry 0% exit 100%;
    }
  }

  /* Bildwechsel. Steht nach dem Parallax-Block, damit diese Animation fuer
     die Wechselbilder gilt und nicht die Verschiebung im Rahmen. */
  .ist-wechsel img, .ist-wechsel img:not(:first-child) {
    inset: 0; height: 100%; opacity: 0;
    animation: wechsel 15s infinite both; animation-timeline: auto;
  }
  .ist-wechsel img:nth-child(2) { animation-delay: 5s; }
  .ist-wechsel img:nth-child(3) { animation-delay: 10s; }

  /* Einblenden: Text */
  .js [data-zeig], .js [data-zeig-kinder] > * {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s ease-out, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js [data-zeig].ist-da, .js [data-zeig-kinder].ist-da > * { opacity: 1; transform: none; }
  .js [data-zeig-kinder] > :nth-child(2) { transition-delay: 0.08s; }
  .js [data-zeig-kinder] > :nth-child(3) { transition-delay: 0.16s; }
  .js [data-zeig-kinder] > :nth-child(4) { transition-delay: 0.24s; }
  .js [data-zeig-kinder] > :nth-child(5) { transition-delay: 0.32s; }
  .js [data-zeig-kinder] > :nth-child(6) { transition-delay: 0.4s; }
  .js [data-zeig-kinder] > :nth-child(n + 7) { transition-delay: 0.48s; }
  .js [data-zeig-kinder] > :nth-child(n + 5) .bildrahmen::after { transition-delay: 0.4s; }

  /* Einblenden: Ein Vorhang in der Farbe des Abschnitts gibt das Bild von
     unten nach oben frei. Bewusst eine Abdeckung und kein clip-path auf dem
     Rahmen: ein weggeschnittenes Bild gilt dem Browser als unsichtbar und
     wuerde mit loading="lazy" erst nach der Animation geladen. */
  .js [data-zeig-bild]::after, .js [data-zeig-kinder] .bildrahmen::after, .js [data-zeig-zeile] .bildrahmen::after {
    content: ''; position: absolute; inset: -1px; z-index: 1;
    background: var(--vorhang, var(--porzellan));
    transform-origin: top; transition: transform 1.1s cubic-bezier(0.65, 0, 0.2, 1);
  }
  .js [data-zeig-bild].ist-da::after, .js [data-zeig-kinder].ist-da .bildrahmen::after, .js [data-zeig-zeile].ist-da .bildrahmen::after { transform: scaleY(0); }
  .js [data-zeig-kinder] > :nth-child(2) .bildrahmen::after { transition-delay: 0.1s; }
  .js [data-zeig-kinder] > :nth-child(3) .bildrahmen::after { transition-delay: 0.2s; }
  .js [data-zeig-kinder] > :nth-child(4) .bildrahmen::after { transition-delay: 0.3s; }
  .js [data-zeig-zeile] .bildrahmen::after { transition-delay: 0.25s; }

  /* Tagesverlauf: Linie zieht auf, Uhrzeit faehrt hoch, Text folgt. */
  .js [data-zeig-zeile]::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js [data-zeig-zeile].ist-da::before { transform: none; }
  .js [data-zeig-zeile] .zeit-uhr span { display: block; transform: translateY(105%); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
  .js [data-zeig-zeile].ist-da .zeit-uhr span { transform: none; }
  .js [data-zeig-zeile] .zeit-text { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease-out 0.3s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
  .js [data-zeig-zeile].ist-da .zeit-text { opacity: 1; transform: none; }

  /* Hover: Bilder zoomen sanft im Rahmen. */
  .bildrahmen img { transition: scale 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .collage .bildrahmen:hover img, .paket:hover img, .zeit:hover img, .karte-gruppe:hover .karte-bild img { scale: 1.06; }

  /* Hover: Karte des Sortiments */
  .karte-gruppe li { transition: padding-left 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s, border-color 0.3s; }
  .karte-gruppe li:hover { padding-left: 0.75rem; color: var(--flieder); border-bottom-color: var(--flieder); }

  /* Hover: Anlaesse und Schritte */
  .anlaesse > div, .schritte li { transition: opacity 0.8s ease-out, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), padding-left 0.35s, background-color 0.35s; }
  .anlaesse > div:hover { padding-left: 1rem; }
  .schritte li::before { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); transform-origin: left center; }
  .schritte li:hover::before { transform: scale(1.25); }

  /* Knoepfe: Flaeche fuellt sich von links. */
  .knopf { position: relative; overflow: hidden; z-index: 0; }
  .knopf::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.16); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .knopf:hover::before { transform: none; }
  .knopf-hell::before { background: rgba(255, 255, 255, 0.45); }
  .knopf-linie::before { background: var(--pflaume); }
  .knopf-linie:hover { background: transparent; }
  .knopf:active { transform: translateY(1px); }

  /* Navigation und Textlinks */
  .haupt-nav a { border-bottom-color: transparent !important; }
  .haupt-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .haupt-nav a:hover::after { transform: none; transform-origin: left; }
  .textlink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 0.3em; transition: background-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .textlink:hover { background-size: 0 1px; background-position: 100% 100%; }

  /* Formular: Felder heben sich beim Fokus leicht ab. */
  .feld input, .feld select, .feld textarea { transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s; }
  .feld input:hover, .feld select:hover, .feld textarea:hover { border-color: rgba(255, 255, 255, 0.7); }
  .feld input:focus, .feld select:focus, .feld textarea:focus { background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 4px rgba(220, 200, 216, 0.3); }

  /* Kopf: Logo dreht sich beim Ueberfahren einmal um die Hochachse. */
  .marke-zeichen { transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .marke:hover .marke-zeichen { transform: rotateY(180deg); }
}

@keyframes wechsel { 0% { opacity: 0; } 8%, 33.3% { opacity: 1; } 41.3%, 100% { opacity: 0; } }
@keyframes fortschritt { from { transform: scaleX(0); } to { transform: none; } }
@keyframes bild-zug { from { translate: 0 -6%; } to { translate: 0 6%; } }

/* Kopf bekommt nach dem Scrollen Milchglas. */
.kopf.ist-fest { background: rgba(253, 250, 248, 0.88); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }

/* ---------- Kleinere Bildschirme ---------- */

@media (max-width: 68rem) {
  .haupt-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--porzellan); color: var(--pflaume);
    border-bottom: 1px solid var(--linie); padding: 0.5rem var(--rand) 1.5rem;
  }
  .ist-offen .haupt-nav { display: block; }
  .kopf.ist-offen { background: var(--porzellan); }
  .haupt-nav a::after { display: none; }
  .haupt-nav ul { flex-direction: column; gap: 0; }
  .haupt-nav a { display: block; padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--linie); }
  .menue-knopf { display: block; }
  .karte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-innen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}

@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-buehne { aspect-ratio: 1 / 0.9; max-height: none; }
  .hero-karte { left: 0.75rem; bottom: 0.75rem; width: min(13rem, 44%); }
  .abschnitt-kopf { grid-template-columns: 1fr; align-items: start; }
  .intro { grid-template-columns: 1fr; }
  .zeit { grid-template-columns: minmax(0, 1fr) minmax(0, 9rem); }
  .zeit:not(:has(.zeit-bild)) { grid-template-columns: 1fr; gap: 1rem; }
  .zeit-uhr { grid-column: 1 / -1; }
  .zeit-bild { aspect-ratio: 3 / 4; }
  .paket-reihe { grid-template-columns: 1fr; max-width: 30rem; }
  .ablauf, .kontakt { grid-template-columns: 1fr; }
}

@media (max-width: 36rem) {
  body { font-size: 1rem; }
  .kopf-innen { gap: 0.75rem; }
  .kopf-aktionen { gap: 0.5rem; }
  .kopf-link { display: none; }
  .knopf-klein { padding: 0.65em 0.9em; font-size: 0.85rem; }
  .marke-zeichen { width: 4rem; }
  .hero-karte { padding: 0.5rem 0.8rem 0.6rem 0.5rem; border-radius: 0.9rem; }
  .hero-foto { border-radius: var(--rund); }
  .fakten { grid-template-columns: 1fr; gap: 1.1rem; }
  .zeit { grid-template-columns: 1fr; }
  .zeit-bild { aspect-ratio: 4 / 3; order: 2; }
  .zeit-text { order: 3; }
  .karte { grid-template-columns: 1fr; }
  .feld-reihe { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .kopf, .menue-knopf, .kontakt-formular, .sprung { display: none; }
  .hero, .sortiment, .kontakt, .fuss { background: none; color: #000; }
}
