/* ==========================================================================
   Königlich privilegierte Waschhausvereinigung
   Design-System · Typografie: Roboto Slab (Headlines) + Source Sans Pro (Text)
   Farbwelt übernommen vom alten Auftritt: Creme, Holz, Tannengrün, Altgold
   ========================================================================== */

/* ---------- Fonts (lokal) ---------- */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/roboto-slab-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-pro-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-pro-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-pro-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-pro-400.woff2') format('woff2');
}

/* ---------- Variablen ---------- */
:root {
  --cream:      #fcfbf9;  /* Seitenhintergrund (wie altes Template) */
  --paper:      #ffffff;
  --ink:        #26231f;
  --muted:      #6b655d;
  --line:       #e7e1d6;
  --gold:       #9e886a;  /* die alten gepunkteten Linien */
  --gold-soft:  #ddbc6e;  /* Footer-Links wie auf der alten Seite */
  --gold-dark:  #b08d3c;
  --teal:       #3f8c79;  /* Primärakzent des alten Templates */
  --teal-dark:  #2f6b5b;
  --navy:       #30467b;  /* Linkfarbe der alten Seite */
  --wood:       #241a12;  /* Footer in Holzoptik */
  --wood-line:  #3a2c1f;

  --font-head: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', system-ui, sans-serif;

  --container: 1120px;
  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(38, 35, 31, 0.06);
  --shadow-lift: 0 18px 40px rgba(38, 35, 31, 0.12);

  --section-space: clamp(3.5rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  padding-bottom: 0.45em;
  border-bottom: 2px dotted var(--gold); /* das Zitat aus dem alten Design */
  margin-bottom: 1.4rem;
}

h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1.1em; max-width: 65ch; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

ul, ol { padding-left: 1.3rem; }

::selection { background: rgba(63, 140, 121, 0.25); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* Kleines Etikett über Abschnitten */
.kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.kicker::after {
  content: "";
  display: inline-block;
  width: 3em;
  border-top: 2px dotted var(--gold);
  margin-left: 0.9em;
  vertical-align: 0.28em;
}

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 0.72em 1.5em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-small { padding: 0.45em 1em; font-size: 0.85rem; }

/* ---------- Header & Navigation ---------- */
.site-header { position: relative; z-index: 50; }

.brand-banner {
  display: block;
  background: var(--wood);
  line-height: 0;
}
.brand-banner img {
  width: 100%;
  height: auto;
}
@media (min-width: 700px) {
  .brand-banner img {
    height: clamp(90px, 10.5vw, 162px);
    object-fit: cover;
    object-position: center;
  }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 249, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-nav.is-scrolled { box-shadow: var(--shadow-soft); }

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 56px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after  { transform: translateY(-7px) rotate(-45deg); }

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0.9rem;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
}
.nav-list.open { display: flex; }

.nav-list a,
.nav-sub-toggle {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  line-height: inherit;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.2rem;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.nav-list a:hover,
.nav-sub-toggle:hover { color: var(--teal-dark); }

.nav-list a[aria-current="page"] {
  color: var(--teal-dark);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.has-sub { position: relative; }
.nav-sub-toggle::after {
  content: "";
  display: inline-block;
  width: 0.45em; height: 0.45em;
  margin-left: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}
.has-sub.open .nav-sub-toggle::after { transform: rotate(-135deg) translateY(-1px); }

.sub-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  display: none;
}
.has-sub.open > .sub-list { display: block; }
.sub-list a {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.35rem 0.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45em;
  height: 1.45em;
  padding: 0 0.35em;
  margin-left: 0.45em;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  vertical-align: 1px;
}
.badge[hidden] { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex !important;
    flex-direction: row;
    gap: 2.2rem;
    width: auto;
    padding: 0;
    margin-inline: auto;
  }
  .nav-list a, .nav-sub-toggle {
    padding: 0.95rem 0.1rem;
    width: auto;
  }
  .nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
  .sub-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0;
    min-width: 220px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
  }
  .sub-list a { padding: 0.5rem 1.1rem; }
  .sub-list a:hover { background: var(--cream); }
  .has-sub:hover > .sub-list,
  .has-sub:focus-within > .sub-list { display: block; }
}

/* ---------- Sektionen ---------- */
main { flex: 1; }

.section { padding-block: var(--section-space); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--paper { background: var(--paper); border-block: 1px solid var(--line); }

.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 {
  border-bottom: 0;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--teal-dark);
}
.hero .lead { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-figure img { width: 100%; }
.hero-figure figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 2.4rem 1.2rem 0.9rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(transparent, rgba(20, 14, 8, 0.65));
}

/* ---------- Aktuelles / Artikel ---------- */
.news-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 800px) {
  .news-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}

.figure-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.figure-card img { width: 100%; }
.figure-card figcaption {
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Zitat / Info-Kasten (Termine) */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-soft);
}
.quote-card p { font-size: 1.08rem; }
.quote-card .sign {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gold-dark);
  margin-bottom: 0;
}

/* ---------- Bildreihe ---------- */
.photo-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.photo-strip .figure-card img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Shop ---------- */
.howto {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  counter-reset: step;
}
.howto-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.3rem;
  position: relative;
  counter-increment: step;
}
.howto-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  border: 1.5px dotted var(--gold);
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gold-dark);
}
.howto-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.howto-step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.product-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.product-media {
  background: #f3efe8;
  padding: 1.6rem;
  display: grid;
  place-items: center;
}
.product-media img {
  max-height: 230px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(38, 35, 31, 0.18);
}

.product-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.product-desc { font-size: 0.95rem; color: var(--muted); flex: 1; }

.product-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--teal-dark);
  margin: 0.6rem 0 1rem;
}

.product-details {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.product-details summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.product-details ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 1.6rem; }
.product-details li { padding: 0.05rem 0; break-inside: avoid; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
}
.qty button {
  width: 2.1rem; height: 2.4rem;
  border: 0;
  background: none;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}
.qty button:hover { background: var(--line); }
.qty input {
  width: 2.6rem;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 600;
  background: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.price-note {
  margin-top: clamp(1.6rem, 4vw, 2.5rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}

/* Anfrage-Leiste (schwebend) */
.request-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.9rem;
  width: min(calc(100% - 1.6rem), var(--container));
  z-index: 120;
  background: var(--wood);
  color: #efe9df;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(38, 35, 31, 0.35);
  padding: 0.9rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
}
.request-bar[hidden] { display: none; }
.request-bar .rb-info { font-family: var(--font-head); font-size: 0.95rem; }
.request-bar .rb-info strong { color: var(--gold-soft); }
.request-bar a { color: var(--gold-soft); }
.request-bar a:hover { color: #fff; }
.request-bar .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--wood); }
.request-bar .btn:hover { background: #e9cd8a; border-color: #e9cd8a; color: var(--wood); }
.request-bar .link-reset {
  background: none; border: 0; cursor: pointer;
  color: rgba(239, 233, 223, 0.7);
  font: inherit; font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.request-bar .link-reset:hover { color: #fff; }

/* ---------- Formular ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.form-grid {
  display: grid;
  gap: 1.1rem 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.span-2 { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.form-field .req { color: var(--teal-dark); }

.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 7em; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(63, 140, 121, 0.18);
}
.form-field input:user-invalid,
.form-field textarea:user-invalid { border-color: #b3423a; }

.form-field .error-msg {
  font-size: 0.8rem;
  color: #b3423a;
  display: none;
}
.form-field.is-error input,
.form-field.is-error textarea { border-color: #b3423a; }
.form-field.is-error .error-msg { display: block; }

.consent {
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}
.consent input { margin-top: 0.35rem; accent-color: var(--teal); flex-shrink: 0; width: auto; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.form-hint { font-size: 0.85rem; color: var(--muted); max-width: 42ch; margin: 0; }

/* Zusammenfassung der Anfrage */
.summary {
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.8rem;
  overflow-x: auto;
}
.summary h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.summary table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.summary td:nth-child(2) { word-break: break-word; }
@media (max-width: 520px) {
  .summary { padding: 1rem .9rem; }
  .summary table { font-size: .86rem; }
  .summary td { padding-right: .5rem; }
  .summary .qty-adjust button { width: 1.45rem; height: 1.45rem; }
  .summary .qty-adjust span { min-width: 1.3em !important; }
}
.summary th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0 0.8rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.summary td { padding: 0.55rem 0.8rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td.num, .summary th.num { text-align: right; padding-right: 0; white-space: nowrap; }
.summary tfoot td:first-child { padding-right: .8rem; }
.summary .sum-line td { border-bottom: 0; padding-top: 0.65rem; font-family: var(--font-head); font-size: 1.05rem; }
.summary .empty-note { color: var(--muted); font-size: 0.95rem; margin: 0; }
.summary .qty-adjust { display: flex; gap: 0.3rem; }
.summary .qty-adjust button {
  width: 1.7rem; height: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}
.summary .qty-adjust button:hover { background: var(--line); }

/* Mailto-Fallback */
.fallback {
  margin-top: 1.6rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.fallback[hidden] { display: none; }
.fallback textarea {
  width: 100%;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.8rem;
  background: var(--paper);
  min-height: 12em;
}
.fallback .fallback-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.9rem; }

/* ---------- Galerie ---------- */
.event { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.event:last-child { margin-bottom: 0; }
.event > h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  padding-bottom: 0.35em;
  border-bottom: 2px dotted var(--gold);
  margin-bottom: 0.4rem;
}
.event .event-sub {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.event p { font-size: 0.98rem; }

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  margin-top: 1.2rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid button:hover img { transform: scale(1.04); }
.gallery-grid figure.wide { grid-column: span 2; }
@media (max-width: 560px) {
  .gallery-grid figure.wide { grid-column: auto; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.2rem;
  background: rgba(20, 14, 8, 0.93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: #efe9df;
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
}
.lightbox-caption .counter { color: var(--gold-soft); margin-right: 0.7em; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 1rem;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox-close { right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.2rem; transform: none; }
}

/* ---------- Textseiten ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose dl { margin: 0 0 1.2em; }
.prose dt { font-family: var(--font-head); margin-top: 1.4em; }
.prose dd { margin: 0.2em 0 0; max-width: 70ch; }

.profile {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 860px) {
  .profile { grid-template-columns: 0.9fr 1.1fr; }
  .profile.reversed .profile-media { order: 2; }
}
.profile-media { margin: 0; }
.profile-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}
.profile h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 0.15em; }
.profile .instruments {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 1.2em;
}
.profile blockquote {
  margin: 1.4em 0 0;
  padding-left: 1.1rem;
  border-left: 2px dotted var(--gold);
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.contact-card h2 { font-size: 1.1rem; }
.contact-card .big {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-card .big a { text-decoration: none; }
.contact-card .big a:hover { text-decoration: underline; }
.contact-card p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--wood);
  color: #cfc5b6;
  font-size: 0.95rem;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.8rem;
}
.site-footer .footer-motto {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-soft);
  max-width: 34ch;
}
.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
}
.site-footer a:hover, .site-footer a:focus { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer address { font-style: normal; line-height: 1.8; }

.footer-meta {
  border-top: 1px solid var(--wood-line);
  padding-block: 1.1rem;
  font-size: 0.8rem;
  color: rgba(207, 197, 182, 0.75);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}

/* Nach-oben-Button */
.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: none; }
body:has(.request-bar:not([hidden])) .scroll-top { bottom: 5.2rem; }
.scroll-top::before {
  content: "";
  width: 0.55em; height: 0.55em;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(0.15em);
}

/* ---------- Einblend-Animation (nur mit aktivem JS) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .site-nav, .scroll-top, .request-bar { display: none !important; }
}

/* ---------- Brotkrumen ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 1.4rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-dark); text-decoration: underline; }
.breadcrumb .sep { margin: 0 0.5em; color: var(--gold); }
