/* ==========================================================================
   Maroni Aida – maroniaida.at
   Design-System & Styles · Relaunch 2026 · 1.wien
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften (selbst gehostet, DSGVO-konform – kein Google-Fonts-Request)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens
   Farben aus der Welt des Maronistandes: Kastanienschale, Glut, Laub, Kastanienfleisch
   -------------------------------------------------------------------------- */
:root {
  /* Braun – Kastanie */
  --nacht:        #1f140e;   /* Nachtmarkt: tiefster Ton (Footer, Tafel) */
  --kastanie:     #3a2114;   /* Header, Hero */
  --schale:       #5c331a;
  --mahagoni:     #8a5430;
  --holz:         #a98659;   /* Alt-Ton der bisherigen Seite, als Zwischenton erhalten */

  /* Glut – Akzent */
  --glut:         #e08a2e;
  --glut-hell:    #f5b85c;
  --glut-dunkel:  #b86a17;

  /* Laub – aus dem Logo */
  --laub:         #4e6e3c;
  --laub-dunkel:  #3b5530;
  --laub-hell:    #7f9c6a;

  /* Creme – Kastanienfleisch */
  --creme-50:     #fcf6ec;
  --creme-100:    #f6ead6;
  --creme-200:    #eddcc0;
  --creme-300:    #dfc8a4;

  /* Text */
  --text:         #2a1a10;
  --text-muted:   #6e5646;
  --text-on-dark: #f6ead6;
  --text-on-dark-muted: #cdb59a;

  /* Typografie */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.75rem, 2rem + 4vw, 5rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-lead:    clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   .9rem;

  /* Layout */
  --container:  1180px;
  --gutter:     clamp(1rem, 4vw, 2.5rem);
  --section:    clamp(4rem, 9vw, 7.5rem);
  --radius-s:   .5rem;
  --radius:     1rem;
  --radius-l:   1.75rem;
  --header-h:   76px;

  --shadow-warm: 0 20px 50px -20px rgba(58, 33, 20, .45);
  --ring: 0 0 0 3px rgba(224, 138, 46, .45);
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 450;
  line-height: 1.65;
  color: var(--text);
  background: var(--creme-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--laub-dunkel); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--glut-dunkel); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 700; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--glut); color: var(--nacht); padding: .6rem 1rem; border-radius: var(--radius-s);
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--dark { background: var(--nacht); color: var(--text-on-dark); }
.section--creme { background: var(--creme-200); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { font-size: var(--fs-lead); color: var(--text-muted); }
.section--dark .section__head p { color: var(--text-on-dark-muted); }

.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--glut);
  --btn-fg: var(--nacht);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px -14px rgba(224, 138, 46, .9);
}
.btn:hover { background: var(--glut-hell); color: var(--nacht); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text-on-dark);
  border-color: rgba(246, 234, 214, .4); box-shadow: none;
}
.btn--ghost:hover { background: rgba(246, 234, 214, .1); color: var(--text-on-dark); border-color: rgba(246, 234, 214, .7); }

.btn--dark {
  --btn-bg: var(--kastanie); --btn-fg: var(--text-on-dark); box-shadow: none;
}
.btn--dark:hover { background: var(--schale); color: var(--text-on-dark); }

.btn--block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(58, 33, 20, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 234, 214, .08);
  color: var(--text-on-dark);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav__menu {
  display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center;
}
.nav__menu a {
  display: inline-block; padding: .55rem .9rem;
  color: var(--text-on-dark); text-decoration: none; font-weight: 600; font-size: .98rem;
  border-radius: 999px; position: relative;
}
.nav__menu a:hover { background: rgba(246, 234, 214, .1); color: var(--text-on-dark); }
.nav__menu a[aria-current="page"] { color: var(--glut-hell); }
.nav__menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px;
  background: var(--glut); border-radius: 2px;
}
.nav__menu .nav__cta a {
  margin-left: .5rem; background: var(--glut); color: var(--nacht);
}
.nav__menu .nav__cta a:hover { background: var(--glut-hell); color: var(--nacht); }

.nav__toggle {
  display: none; background: none; border: 2px solid rgba(246, 234, 214, .3); color: var(--text-on-dark);
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  /* backdrop-filter macht die Kopfzeile zum Bezugsrahmen für position: fixed – das Menü wäre sonst 0 px hoch */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--kastanie); }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--kastanie);
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1.25rem var(--gutter) 2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    overflow: auto;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav__menu a { font-size: 1.35rem; padding: .9rem 1rem; font-family: var(--font-display); font-weight: 600; }
  .nav__menu a[aria-current="page"]::after { left: 1rem; right: auto; width: 2.5rem; bottom: .5rem; }
  .nav__menu .nav__cta { margin-top: 1rem; }
  .nav__menu .nav__cta a { margin: 0; text-align: center; font-family: var(--font-body); font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   6. Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 72% 62%, rgba(224, 138, 46, .28) 0%, rgba(224, 138, 46, 0) 60%),
    linear-gradient(180deg, var(--kastanie) 0%, var(--nacht) 100%);
  color: var(--text-on-dark);
  min-height: calc(100svh - var(--header-h));
  display: grid; align-items: center;
}
.hero::before {
  /* feines Körnungs-Muster wie Holzkohlestaub */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(246, 234, 214, .07) .6px, transparent .7px);
  background-size: 7px 7px;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hero__kicker {
  font-weight: 600; color: var(--glut-hell); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.hero__kicker svg { width: 1.25rem; height: 1.25rem; flex: none; }
.hero h1 { margin-bottom: 1.25rem; max-width: 12ch; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--glut-hell); }
.hero__lead { font-size: var(--fs-lead); color: var(--text-on-dark-muted); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

.hero__art {
  position: relative;
  perspective: 1200px;
}
.hero__art svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  will-change: transform;
}

/* Einmalige Einstiegs-Sequenz */
.hero__copy > * { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__art { animation: art-in 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes art-in  { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }

/* SVG-Animationen im Ofen */
.steam { animation: steam 4.5s ease-in-out infinite; transform-origin: center bottom; transform-box: fill-box; }
.steam--2 { animation-delay: -1.5s; animation-duration: 5.2s; }
.steam--3 { animation-delay: -3s; animation-duration: 4s; }
@keyframes steam {
  0%   { opacity: 0;  transform: translateY(10px) scale(.9); }
  25%  { opacity: .6; }
  80%  { opacity: .15; }
  100% { opacity: 0;  transform: translateY(-70px) scale(1.25); }
}
.ember { animation: ember 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ember--2 { animation-delay: -.9s; animation-duration: 3.1s; }
.ember--3 { animation-delay: -1.7s; animation-duration: 2.3s; }
.ember--4 { animation-delay: -2.2s; animation-duration: 3.4s; }
@keyframes ember {
  0%   { opacity: 0; transform: translate(0, 0) scale(.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(6px, -70px) scale(1.1); }
}
.glow { animation: glow 2.2s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
.coal { animation: coal 1.4s ease-in-out infinite alternate; }
.coal--2 { animation-delay: -.5s; }
.coal--3 { animation-delay: -.9s; }
@keyframes coal { from { opacity: .55; } to { opacity: 1; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__art { max-width: 520px; margin-inline: auto; order: -1; }
  .hero h1 { max-width: 16ch; }
}

/* --------------------------------------------------------------------------
   7. Laufband (Saison & Speisen)
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--glut); color: var(--nacht);
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid rgba(31, 20, 14, .15);
}
.ticker__track {
  display: inline-flex; gap: 0; width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 1.1rem;
  padding: .7rem 1.1rem 0.7rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.ticker__item svg { width: 1.1rem; height: 1.1rem; opacity: .75; flex: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   8. Über uns
   -------------------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
  box-shadow: var(--shadow-warm);
}
.about__badge {
  position: absolute; right: -1rem; bottom: 2rem;
  background: var(--kastanie); color: var(--text-on-dark);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-warm);
  font-family: var(--font-display); line-height: 1.1;
}
.about__badge strong { display: block; font-size: 2.2rem; font-weight: 700; color: var(--glut-hell); }
.about__badge span { font-family: var(--font-body); font-size: .9rem; color: var(--text-on-dark-muted); }
.about__text p + p { margin-top: .25em; }

.quote {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.2;
  color: var(--schale); margin: 1.75rem 0 0; padding-left: 1.25rem;
  border-left: 4px solid var(--glut); max-width: 24ch;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__badge { right: 0; }
}

/* --------------------------------------------------------------------------
   9. Speisen-Tafel (Chalkboard)
   -------------------------------------------------------------------------- */
.board {
  background:
    radial-gradient(60% 80% at 20% 10%, rgba(246, 234, 214, .05), transparent 60%),
    var(--nacht);
  color: var(--text-on-dark);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(246, 234, 214, .1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), var(--shadow-warm);
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
}
.board h2 { color: var(--glut-hell); }
.board__intro { color: var(--text-on-dark-muted); }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.board__item { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.board__item svg { width: 44px; height: 44px; }
.board__item h3 { font-size: 1.2rem; margin: 0 0 .15em; color: var(--creme-50); }
.board__item p { margin: 0; color: var(--text-on-dark-muted); font-size: .95rem; }
.board__season {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px dashed rgba(246, 234, 214, .25);
  font-family: var(--font-display); font-size: 1.15rem; color: var(--creme-50);
}
/* Getränk bei ungerader Anzahl über die ganze Breite, damit keine Lücke bleibt */
.board__list > .board__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Wann & wo: eigene Reihe über die ganze Tafel */
.board__dates {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 1.75rem 0 0;
  border-top: 1px dashed rgba(246, 234, 214, .25);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem 2rem;
}
.board__dates h3 { font-size: 1.1rem; }
.board__dates a { color: var(--glut-hell); font-weight: 600; }
.board__dates a:hover { color: var(--creme-50); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .board__list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   10. Leistungen
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.service { display: flex; flex-direction: column; }
.service__media {
  overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 4.6; background: var(--creme-300);
}
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { padding: 1.25rem .25rem 0; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--text-muted); margin-bottom: .75em; }
.service__meta { font-weight: 700; color: var(--laub-dunkel); font-size: .95rem; margin-bottom: .75rem; display: flex; gap: .5rem; align-items: center; }
.service__meta svg { width: 1.1rem; height: 1.1rem; flex: none; }
.service__link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--schale); }
.service__link:hover { color: var(--glut-dunkel); text-decoration: underline; }
.service__link svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .15s; }
.service__link:hover svg { transform: translateX(3px); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; gap: 1.5rem; }
  .service { display: grid; grid-template-columns: 128px 1fr; gap: 1rem; align-items: start; }
  .service__media { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-s) var(--radius-s); }
  .service__body { padding: 0; }
  .service h3 { font-size: 1.2rem; }
  .service p { font-size: .95rem; }
}

/* --------------------------------------------------------------------------
   11. Galerie
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.5vw, 1.1rem);
}
.gallery-grid--full { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery-grid a {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius-s);
  aspect-ratio: 4 / 5; background: var(--creme-300);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.05); }
.gallery-grid a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31, 20, 14, .35), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-more { margin-top: 2rem; text-align: center; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31, 20, 14, .94);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto;
  border-radius: var(--radius-s); box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  object-fit: contain;
}
.lightbox__caption {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  color: var(--text-on-dark-muted); font-size: .95rem; text-align: center; max-width: 80vw;
}
.lightbox__btn {
  position: absolute; background: rgba(246, 234, 214, .12); border: 0; color: var(--creme-50);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.lightbox__btn:hover { background: rgba(246, 234, 214, .25); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev { left: .4rem; } .lightbox__next { right: .4rem; }
  .lightbox__btn { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   12. Kontakt & Formular
   -------------------------------------------------------------------------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.contact__details { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.contact__details li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.contact__details svg { width: 44px; height: 44px; }
.contact__details .label { display: block; font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: .1rem; }
.contact__details a { font-weight: 700; text-decoration: none; color: var(--schale); font-size: 1.1rem; }
.contact__details a:hover { color: var(--glut-dunkel); text-decoration: underline; }
.contact__email a { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.2vw, 1.8rem); word-break: break-all; }

.form {
  background: var(--kastanie); color: var(--text-on-dark);
  border-radius: var(--radius-l); padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-warm);
}
.form h2 { color: var(--glut-hell); margin-bottom: .3em; }
.form > p { color: var(--text-on-dark-muted); margin-bottom: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { color: var(--text-on-dark-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text);
  background: var(--creme-50); border: 2px solid transparent;
  border-radius: var(--radius-s); padding: .8rem .95rem; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%232a1a10' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--glut); box-shadow: var(--ring); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e26a4a; }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--glut); flex: none; }
.field--check label { font-weight: 500; font-size: .92rem; color: var(--text-on-dark-muted); }
.field--check label a { color: var(--glut-hell); }
.form__hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-s); font-weight: 600; display: none; }
.form__status.is-success { display: block; background: rgba(127, 156, 106, .22); color: #d9efc8; border: 1px solid rgba(127, 156, 106, .5); }
.form__status.is-error { display: block; background: rgba(226, 106, 74, .18); color: #ffd3c6; border: 1px solid rgba(226, 106, 74, .5); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--nacht); color: var(--text-on-dark-muted); padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer img { height: 40px; width: auto; margin-bottom: 1rem; }
.site-footer h3 { color: var(--creme-50); font-size: 1.1rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--glut-hell); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer__bottom {
  grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 234, 214, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .88rem;
}
.site-footer__bottom .heart { color: var(--glut); }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   14. Unterseiten
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(60% 80% at 85% 50%, rgba(224, 138, 46, .22), transparent 60%),
    linear-gradient(180deg, var(--kastanie), var(--nacht));
  color: var(--text-on-dark);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.page-hero h1 { max-width: 18ch; margin-bottom: .6em; }
.page-hero p { color: var(--text-on-dark-muted); font-size: var(--fs-lead); max-width: 56ch; }
.page-hero .breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb a:hover { color: var(--glut-hell); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.breadcrumb [aria-current] { color: var(--creme-50); }

.page-hero--split .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.page-hero__art svg { width: 100%; max-width: 360px; height: auto; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
@media (max-width: 860px) {
  .page-hero--split .container { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
}

/* Textabschnitte mit Bild */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-l); box-shadow: var(--shadow-warm);
}
.split__media--arch img { border-radius: 999px 999px var(--radius-l) var(--radius-l); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media { max-width: 460px; }
}

/* Anlässe (Vermietung) */
.occasions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.occasions li {
  background: var(--creme-50); border: 1px solid var(--creme-300); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; display: flex; gap: .8rem; align-items: center; font-weight: 600;
  hyphens: auto; overflow-wrap: anywhere; min-width: 0;
}
.occasions svg { width: 32px; height: 32px; flex: none; }

/* Schritte (echte Reihenfolge → nummeriert) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 1.5rem 1.5rem; background: var(--kastanie); color: var(--text-on-dark); border-radius: var(--radius-l); }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; margin-bottom: 1rem;
  background: var(--glut); color: var(--nacht); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
}
.steps h3 { color: var(--creme-50); margin-bottom: .3em; }
.steps p { color: var(--text-on-dark-muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* CTA-Band */
.cta-band {
  background: var(--glut); color: var(--nacht);
  border-radius: var(--radius-l); padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
}
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; color: rgba(31, 20, 14, .8); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal address { font-style: normal; line-height: 1.7; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--creme-300); vertical-align: top; }
.legal th { color: var(--text-muted); font-weight: 600; width: 32%; }

/* --------------------------------------------------------------------------
   15. Reduzierte Bewegung & Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__art svg { transform: none !important; }
  .ticker__track { animation: none; }
}
@media print {
  .site-header, .nav__toggle, .ticker, .hero__art, .form, .site-footer__bottom, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* --------------------------------------------------------------------------
   WhatsApp-Knopf & Datenschutzhinweis
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; z-index: 90;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--banner-h, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  transition: transform .2s ease, bottom .25s ease;
}
.wa-float svg { width: 100%; height: 100%; display: block; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--glut); outline-offset: 3px; }
.privacy-banner {
  position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
  padding: 1rem max(1rem, env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  background: var(--kastanie); color: var(--text-on-dark);
  border-top: 1px solid rgba(246, 234, 214, .15); box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
}
.privacy-banner__inner { max-width: var(--container); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.privacy-banner p { margin: 0; flex: 1 1 28rem; font-size: .95rem; color: var(--text-on-dark-muted); }
.privacy-banner strong { color: var(--creme-50); }
.privacy-banner a { color: var(--glut-hell); }
.privacy-banner .btn { flex: none; }
@media (max-width: 560px) { .privacy-banner p { font-size: .85rem; } .privacy-banner .btn { padding-block: .6rem; } }
@media print { .wa-float, .privacy-banner { display: none !important; } }
