/* Layout: dunkler Einseiter nach Tobias' Entwurf. Farben aus dem Vereinslogo: Logo-Grün, Gold, Creme, Logo mit Stuttgarter Skyline, Icon-Navigation, Skyline als Abschluss.
   Bewusst nur ein (dunkles) Farbschema. */
:root {
  color-scheme: dark;
  --bg: #152b22;
  --bg-2: #1f3b2f;
  --surface: #22402f;
  --fg: #f1e9d8;
  --muted: #bdb5a2;
  --line: #34503f;
  --green: #c49a5a;
  --green-deep: #9c7741;
  --gold: #c49a5a;
  --gold-soft: #dcc293;
  --on-green: #152b22;
  --font-display: "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap {
  max-width: 68rem; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: 0; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; max-width: 65ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: var(--gold); opacity: .8; }
.ph { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold-soft); padding: 0 .25em; border-radius: 3px; }

/* Kopf mit Logo */
.top {
  background: radial-gradient(120% 140% at 50% 0%, #1f3b2f 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--line);
}
.logo { display: grid; justify-items: center; padding-block: 1.5rem 1.1rem; text-decoration: none; color: var(--fg); }
.logo-img { width: clamp(110px, 28vw, 150px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(196,154,90,.35), 0 8px 30px rgba(0,0,0,.45); margin-bottom: .8rem; }
.logo-name { font-family: var(--font-display); font-weight: 900; letter-spacing: .06em; text-align: center; line-height: 1.05; font-size: clamp(1.1rem, 3.4vw, 1.4rem); }
.logo-sub { display: flex; align-items: center; gap: .6rem; color: var(--gold-soft); font-size: .78rem; letter-spacing: .32em; margin-top: .35rem; }
.logo-sub::before, .logo-sub::after { content: ""; width: 1.4rem; height: 1px; background: currentColor; }

.iconnav ul {
  list-style: none; margin: 0; padding: .5rem 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .35rem;
}
.iconnav a {
  display: grid; justify-items: center; gap: .3rem; padding: .7rem .25rem;
  text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: 10px;
  color: var(--fg); border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.iconnav svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.iconnav a:hover { background: var(--surface); border-color: var(--line); }
.iconnav a[aria-current="true"] { background: linear-gradient(180deg, var(--green), var(--green-deep)); color: var(--on-green); border-color: var(--green); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(196,154,90,.20), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(196,154,90,.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero .wrap { padding-block: 3rem 5.5rem; display: grid; gap: 1.4rem; position: relative; z-index: 1; }
.badge {
  justify-self: start; display: inline-flex; align-items: center; gap: .65rem;
  border: 1.5px solid var(--green); border-radius: 999px; padding: .3rem 1rem .3rem .3rem;
  font-size: .95rem; font-weight: 600; background: rgba(21,43,34,.6);
}
.badge b {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green); font-size: .85rem; box-shadow: 0 0 12px rgba(196,154,90,.5);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.3rem, 9vw, 5rem); line-height: 1.02; letter-spacing: .01em;
  background: linear-gradient(180deg, #fbf7ee 0%, var(--gold-soft) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.swoosh { width: min(420px, 85%); height: 14px; display: block; color: var(--green); }
.hero p { font-size: 1.15rem; color: var(--fg); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem;
  border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 1rem;
}
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: linear-gradient(180deg, #d6b077, var(--green-deep)); color: var(--on-green); box-shadow: 0 6px 20px rgba(196,154,90,.25); }
.btn-ghost { border: 1.5px solid var(--gold); color: var(--fg); }
.btn:hover { filter: brightness(1.08); }
.hero-sky { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; color: var(--bg); }
.hero-sky .edge { stroke: var(--gold); stroke-width: 1.5; fill: none; opacity: .9; }

/* Abschnitte */
section.block .wrap { padding-block: 4rem; display: grid; gap: 1.4rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem;
  display: grid; gap: .5rem; align-content: start; min-width: 0;
}
.card svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); }

.notice {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: 10px; padding: 1.4rem 1.6rem; display: grid; gap: .6rem;
}
.notice ul { margin: 0; padding-left: 1.2rem; }
.notice a { color: var(--gold-soft); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-soft); }
p.small { font-size: .92rem; color: var(--muted); }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Skyline-Abschluss */
.skyline { display: block; width: 100%; height: auto; max-height: 160px; color: #0e1e17; margin-top: 2rem; }
.skyline .glow { fill: url(#dusk); }
.skyline .edge { stroke: var(--gold); stroke-width: 1.2; fill: none; }
.skyline .win { fill: var(--gold); opacity: .75; }
footer { background: #0e1e17; color: var(--muted); font-size: .9rem; }
footer .wrap { padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
footer a:hover { color: var(--gold-soft); }

/* Rechtstexte */
.legal .wrap { padding-block: 3rem 4rem; display: grid; gap: 1.1rem; max-width: 46rem; margin-left: auto; margin-right: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1rem; color: var(--gold-soft); }

@media (max-width: 34rem) {
  .iconnav a { font-size: .68rem; padding: .55rem .05rem; hyphens: auto; -webkit-hyphens: auto; text-align: center; overflow-wrap: anywhere; }
  .iconnav svg { width: 22px; height: 22px; }
  dl.contact { grid-template-columns: 1fr; gap: .1rem; }
  dl.contact dd { margin-bottom: .6rem; }
  .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Öffnungszeiten */
table.hours { width: auto; font-size: 1rem; }
table.hours th, table.hours td { border: 0; padding: .1rem 1.25rem .1rem 0; text-transform: none; letter-spacing: 0; font-size: 1rem; }
table.hours th { color: var(--muted); font-weight: 400; }
table.hours td { color: var(--fg); font-weight: 400; white-space: nowrap; }
dl.contact dd a { color: var(--gold-soft); }

/* Termine */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.events li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; }
.events li > div { display: grid; gap: .3rem; min-width: 0; }
.events p { color: var(--muted); }
.events time { display: grid; justify-items: center; min-width: 3.6rem; padding: .4rem .5rem; border: 1.5px solid var(--gold); border-radius: 10px; line-height: 1; }
.events time b { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; color: var(--gold-soft); }
.events time span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)); gap: .9rem; }
.gallery li { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery a { display: block; position: relative; height: 100%; color: var(--fg); text-decoration: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(14,30,23,.85)); }
.gallery .placeholder div {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: .35rem; text-align: center;
  background: radial-gradient(80% 90% at 70% 20%, rgba(196,154,90,.14), transparent 70%), repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 28px);
}
.gallery .placeholder svg { width: 34px; height: 34px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.gallery .placeholder span { font-weight: 600; }
.gallery .placeholder small { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; color: var(--fg); }
.lightbox::backdrop { background: rgba(9,20,15,.88); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 8px; margin: 0 auto; }
.lb-cap { text-align: center; margin: .6rem auto 0; color: var(--gold-soft); }
.lb-close { position: absolute; top: .4rem; right: .4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--gold); background: rgba(21,43,34,.8); color: var(--fg); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* Alben */
.gallery li.album { position: relative; border-color: var(--gold); }
.gallery a span small { display: block; font-weight: 400; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); margin-top: .1rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--gold); background: rgba(21,43,34,.8); color: var(--fg); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-prev { left: .4rem; }
.lb-next { right: .4rem; }
.lightbox button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
