@import url("../assets/fonts/fonts.css");

/* ==========================================================================
   Musikverein Renhardsweiler e.V. — Stylesheet
   Design-Tokens, Layout-Primitive und Komponenten.
   ========================================================================== */

:root {
  /* Farben */
  --c-night: #0f1029;
  --c-night-2: #1c2350;
  --c-ink: #14162e;
  --c-brand: #368f8b;
  --c-brand-hover: #3fa19c;
  --c-brand-dark: #2c7570;
  --c-brand-light: #8fcecb;
  --c-bg: #f4f6fa;
  --c-bg-alt: #e9edf4;
  --c-surface: #fff;
  --c-border: #e3e8f1;
  --c-border-strong: #d7dde9;
  --c-rule: #e6ebf3;
  --c-text: #454a63;
  --c-muted: #5f6580;
  --c-faint: #838aa0;
  --c-on-dark: #f4f6fa;
  --c-on-dark-muted: #c7cddd;
  --c-on-dark-faint: #9aa1b8;

  /* Typografie */
  --font-head: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Struktur */
  --w-wide: 1200px;
  --w-page: 1100px;
  --w-narrow: 960px;
  --gutter: 24px;
  --header-h: 74px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 4px 14px rgba(15, 16, 41, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 16, 41, 0.1);
  --shadow-lg: 0 14px 36px rgba(15, 16, 41, 0.18);
  --shadow-xl: 0 12px 32px rgba(15, 16, 41, 0.2);
}

/* ==========================================================================
   Reset & Basis
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--c-brand);
  text-decoration: none;
}

a:hover {
  color: var(--c-brand-dark);
}

::selection {
  background: var(--c-brand);
  color: var(--c-on-dark);
}

/* Sichtbarer Fokus für Tastaturnutzung — im Design-Export fehlte er komplett. */
:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Layout-Primitive
   ========================================================================== */

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--c-bg);
}

.page__main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container--page {
  max-width: var(--w-page);
}

.container--narrow {
  max-width: var(--w-narrow);
}

.section {
  padding-block: 80px;
}

.section--tight {
  padding-block: 70px;
}

.section--alt {
  background: var(--c-bg-alt);
  border-block: 1px solid var(--c-border-strong);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--c-brand);
  color: var(--c-night);
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  color: var(--c-night);
}

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

/* Zwei Spalten, Bild + Text — wechselseitig ausgerichtet. */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: center;
}

.split--reverse {
  flex-direction: row-reverse;
}

.split--top {
  align-items: flex-start;
}

.split > * {
  flex: 1 1 340px;
  min-width: min(300px, 100%);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.stack--sm {
  gap: 18px;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--tight {
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ==========================================================================
   Typografie
   ========================================================================== */

.eyebrow {
  margin-bottom: 12px;
  color: var(--c-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow--sm {
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: 1.5px;
}

h1,
h2,
h3,
h4,
blockquote {
  font-family: var(--font-head);
  color: var(--c-ink);
  margin: 0;
}

.h-xl {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
}

.h-lg {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
}

.h-md {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
}

.h-sm {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.h-xs {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  max-width: 62ch;
  color: var(--c-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.prose p {
  max-width: 70ch;
  margin: 0 0 14px;
  color: var(--c-text);
  font-size: 1.03rem;
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--c-ink);
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.625rem;
  font-weight: 700;
}

.caption {
  margin: 10px 0 0;
  color: var(--c-faint);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--c-brand);
  color: var(--c-night);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.btn--primary:hover {
  background: var(--c-brand-hover);
  color: var(--c-night);
}

/* Auf hellem Grund braucht Türkis dunklen Text zu wenig Kontrast — daher weiß. */
.btn--brand {
  background: var(--c-brand);
  color: var(--c-on-dark);
}

.btn--brand:hover {
  background: var(--c-brand-dark);
  color: var(--c-on-dark);
}

.btn--ghost {
  background: rgba(240, 243, 250, 0.14);
  border: 1.5px solid rgba(240, 243, 250, 0.55);
  color: var(--c-on-dark);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(240, 243, 250, 0.26);
  color: var(--c-on-dark);
}

.btn--outline {
  padding: 12px 24px;
  background: none;
  border: 2px solid var(--c-night-2);
  color: var(--c-night-2);
}

.btn--outline:hover {
  background: var(--c-night-2);
  color: var(--c-on-dark);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.link-more {
  color: var(--c-brand);
  font-size: 0.875rem;
  font-weight: 700;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
}

.pager--end {
  justify-content: flex-end;
}

/* ==========================================================================
   Kopfzeile & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 16, 41, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--c-brand);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.site-header__bar {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand:hover {
  color: inherit;
}

.brand__crest {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

/* Diese Elemente sind Spans in Spans/Absätzen — sie brauchen eigene Zeilen. */
.brand__name,
.brand__sub,
.card__badge-day,
.card__badge-month,
.event-row__day,
.event-row__month,
.figure-tile__value,
.figure-tile__label,
.contact-list__label,
.contact-list__value {
  display: block;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-on-dark);
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--c-brand);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: block;
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--c-on-dark-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover {
  background: rgba(54, 143, 139, 0.22);
  color: var(--c-on-dark);
}

.site-nav__link[aria-current="page"] {
  background: var(--c-brand);
  color: var(--c-night);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: var(--c-brand);
  color: var(--c-night);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-toggle:hover {
  background: var(--c-brand-hover);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: relative;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 4px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav__panel {
  display: none;
}

/* Unter 1024px wandert die Navigation in ein aufklappbares Panel. */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  /* Ohne JavaScript bleibt das Attribut gesetzt: dann kein toter Button,
     sondern das dauerhaft offene Panel darunter. */
  .nav-toggle[hidden] {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav__panel {
    display: block;
    background: var(--c-night);
    border-top: 1px solid rgba(54, 143, 139, 0.3);
    animation: mv-drop 0.2s ease both;
  }

  .site-nav__panel[hidden] {
    display: none;
  }

  .site-nav__panel .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 18px;
  }

  .site-nav__panel .site-nav__link {
    padding: 13px 14px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .site-nav__panel .btn {
    margin-top: 8px;
    width: 100%;
  }
}

/* Zurück-Link auf den Unterseiten statt der vollen Navigation. */
.site-header__back {
  white-space: nowrap;
}

/* ==========================================================================
   Seitenkopf (Unterseiten)
   ========================================================================== */

.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-night) 0%, var(--c-night-2) 100%);
  border-bottom: 3px solid var(--c-brand);
}

.page-header__bg {
  position: absolute;
  inset: 0;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.page-header__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 16, 41, 0.94) 0%,
    rgba(15, 16, 41, 0.82) 45%,
    rgba(28, 35, 80, 0.7) 100%
  );
}

.page-header::before {
  content: "\266A";
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: var(--font-head);
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  color: rgba(54, 143, 139, 0.08);
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 64px var(--gutter) 56px;
}

.page-header__title {
  margin-bottom: 16px;
  color: var(--c-on-dark);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.page-header__subtitle {
  max-width: 600px;
  margin: 0;
  color: var(--c-on-dark-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

/* ==========================================================================
   Startseite: Hero, Kennzahlen
   ========================================================================== */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  overflow: hidden;
  background: var(--c-night);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 16, 41, 0.35) 0%,
    rgba(15, 16, 41, 0.15) 40%,
    rgba(15, 16, 41, 0.85) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
  padding-top: 96px;
}

.hero__body {
  max-width: 680px;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 15px;
  border-radius: 4px;
  background: var(--c-brand);
  color: var(--c-on-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 18px;
  color: var(--c-on-dark);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__title em {
  color: var(--c-brand);
  font-style: normal;
}

.hero__text {
  max-width: 540px;
  margin: 0 0 30px;
  color: #e8ecf5;
  font-size: 1.1875rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.stats-bar {
  background: var(--c-night);
  border-bottom: 3px solid var(--c-brand);
}

.stats-bar__grid {
  display: grid;
  gap: 20px;
  padding-block: 26px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

/* Semantisch steht das Label (dt) vor der Zahl (dd); angezeigt wird es darunter. */
.stat {
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
}

.stat dd {
  margin: 0;
}

.stat__num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-brand);
}

.stat__label {
  margin-top: 6px;
  color: var(--c-on-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

/* ==========================================================================
   Karten
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 16, 41, 0.18);
}

.card__media {
  position: relative;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ccd3e0;
}

.card__media--tall {
  height: 200px;
}

.card__media--wide {
  height: 160px;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--c-night);
  color: var(--c-on-dark);
  text-align: center;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.card__badge-day {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-brand);
}

.card__badge-month {
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px;
}

.card__title {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card__text {
  flex: 1;
  margin: 0 0 14px;
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--c-rule);
  color: var(--c-night-2);
  font-size: 0.8125rem;
  font-weight: 600;
}

.card__date {
  margin-bottom: 10px;
  color: var(--c-faint);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Flache Karte ohne Bild — z. B. Register-Übersicht, Traditionskacheln. */
.tile {
  display: block;
  padding: 28px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.tile:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 16, 41, 0.16);
}

.tile--alt {
  background: var(--c-bg-alt);
  border-color: var(--c-border-strong);
}

.tile--center {
  text-align: center;
}

.tile__icon {
  margin-bottom: 12px;
  font-size: 2.5rem;
  line-height: 1;
}

.tile__title {
  margin-bottom: 8px;
  font-size: 1.1875rem;
}

.tile__text {
  margin: 0 0 12px;
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tile__text:last-child {
  margin-bottom: 0;
}

/* Kennzahl-Kachel (Blutritt, Fahne, Vatertagsfest …) */
.figure-tile {
  padding: 26px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.figure-tile--alt {
  padding: 16px;
  background: var(--c-bg-alt);
  border-color: var(--c-border-strong);
  border-radius: 10px;
}

.figure-tile__value {
  font-family: var(--font-head);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-brand);
}

.figure-tile__value--sm {
  font-size: 1.25rem;
  line-height: 1.25;
}

.figure-tile--alt .figure-tile__value {
  font-size: 1.375rem;
}

.figure-tile__label {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 12px 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(15, 16, 41, 0.06);
}

/* ==========================================================================
   Bilder
   ========================================================================== */

/* Weißer Rahmen mit Schlagschatten — das Bildmotiv des Designs. */
.framed {
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 14px;
  background: #ccd3e0;
  box-shadow: var(--shadow-lg);
}

.framed img {
  width: 100%;
  height: auto;
  display: block;
}

.framed--ratio-4x5 {
  aspect-ratio: 4 / 5;
}

.framed--ratio-5x4 {
  aspect-ratio: 5 / 4;
}

.framed--ratio-4x5 img,
.framed--ratio-5x4 img {
  height: 100%;
  object-fit: cover;
}

.figure {
  margin: 0;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.figure img {
  width: 100%;
  display: block;
}

.figure--crop img {
  height: 260px;
  object-fit: cover;
}

.figure figcaption {
  padding: 16px 18px;
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.figure figcaption strong {
  color: var(--c-ink);
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #ccd3e0;
  box-shadow: 0 3px 12px rgba(15, 16, 41, 0.1);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Platzhalter für noch fehlende Bilder. Siehe TODO.md. */
.img-placeholder {
  display: flex;
  height: 100%;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: repeating-linear-gradient(
    45deg,
    #dfe4ee,
    #dfe4ee 10px,
    #d6dce8 10px,
    #d6dce8 20px
  );
  color: #6b7288;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Panels & Aufrufe
   ========================================================================== */

.panel {
  padding: 44px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-lg);
}

.panel--dark {
  background: linear-gradient(135deg, var(--c-night) 0%, var(--c-night-2) 100%);
  border: none;
  box-shadow: var(--shadow-xl);
}

.panel--dark .panel__title {
  color: var(--c-on-dark);
}

.panel--dark p {
  color: var(--c-on-dark-muted);
}

.panel--brand {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dark) 100%);
  border: none;
  box-shadow: var(--shadow-xl);
}

.panel--brand .panel__title {
  color: var(--c-on-dark);
}

.panel--brand p {
  color: #dcefee;
}

.panel__title {
  margin-bottom: 12px;
  font-size: 1.625rem;
  font-weight: 700;
}

.panel p {
  max-width: 80ch;
  margin: 0 0 14px;
  color: var(--c-text);
  font-size: 1.03rem;
  line-height: 1.65;
}

.panel p:last-child {
  margin-bottom: 0;
}

/* Aufruf-Streifen: Text links, Button rechts. */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta__body {
  flex: 1 1 380px;
}

.cta-band {
  background: var(--c-brand);
  color: var(--c-on-dark);
  text-align: center;
}

.cta-band .eyebrow {
  color: var(--c-brand-light);
}

.cta-band__title {
  margin-bottom: 18px;
  color: var(--c-on-dark);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
}

.cta-band__text {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #dcefee;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Auf dem türkisfarbenen Band braucht der Hauptbutton eigenen Kontrast. */
.cta-band .btn--primary {
  background: var(--c-night);
  color: var(--c-on-dark);
}

.cta-band .btn--primary:hover {
  background: var(--c-night-2);
  color: var(--c-on-dark);
}

/* ==========================================================================
   Hörprobe
   ========================================================================== */

.audio {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 48px;
}

.audio__note {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(54, 143, 139, 0.35);
  text-align: center;
}

.audio__player {
  display: flex;
  align-items: center;
  gap: 18px;
}

.audio__button {
  display: flex;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-night);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.audio__button:hover {
  background: var(--c-brand-hover);
}

.audio__button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.audio__button .icon-pause,
.audio__button[aria-pressed="true"] .icon-play {
  display: none;
}

.audio__button[aria-pressed="true"] .icon-pause {
  display: block;
}

.audio__meter {
  flex: 1;
  min-width: 220px;
}

.audio__bars {
  display: flex;
  height: 44px;
  align-items: flex-end;
  gap: 4px;
}

.audio__bar {
  flex: 1;
  border-radius: 2px;
  background: rgba(54, 143, 139, 0.4);
  transform-origin: bottom;
}

.audio.is-playing .audio__bar {
  background: var(--c-brand);
  animation: mv-bar 1s ease-in-out infinite;
}

.audio__label {
  margin-top: 10px;
  color: var(--c-brand);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ==========================================================================
   Terminliste, Programm, Tabellen
   ========================================================================== */

.event-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 3px 14px rgba(15, 16, 41, 0.08);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.event-row:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 16, 41, 0.15);
}

.event-row__date {
  min-width: 78px;
  flex-shrink: 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--c-night);
  color: var(--c-on-dark);
  text-align: center;
  line-height: 1;
}

.event-row__day {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-brand);
}

.event-row__month {
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.event-row__body {
  flex: 1 1 300px;
}

.event-row__title {
  margin-bottom: 5px;
  font-size: 1.3125rem;
}

.event-row__text {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.event-row__meta {
  flex-shrink: 0;
  text-align: right;
}

.event-row__meta strong {
  display: block;
  color: var(--c-night-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.event-row__meta span {
  display: block;
  margin-top: 4px;
  color: var(--c-faint);
  font-size: 0.8125rem;
}

.program {
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.program__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
}

.program__row + .program__row {
  border-top: 1px solid var(--c-rule);
}

.program__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-ink);
}

.program__info {
  margin-top: 4px;
  color: var(--c-muted);
  font-size: 0.875rem;
}

.schedule-item {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 26px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.schedule-item__when {
  flex: 0 0 160px;
  min-width: 140px;
}

.schedule-item__label {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}

.schedule-item__note {
  margin-top: 4px;
  color: var(--c-faint);
  font-size: 0.85rem;
}

.schedule-item p {
  flex: 1 1 300px;
  margin: 0;
  color: var(--c-text);
  font-size: 0.97rem;
  line-height: 1.65;
}

.table-wrap {
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th {
  padding: 14px 20px;
  background: var(--c-night);
  color: var(--c-on-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: left;
  text-transform: uppercase;
}

.table td {
  padding: 13px 20px;
  border-top: 1px solid var(--c-rule);
  color: var(--c-muted);
}

.table td:first-child {
  color: var(--c-ink);
  font-weight: 600;
}

.table__accent {
  color: var(--c-brand);
  font-weight: 600;
}

.table__nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Ablauf-Schritte, Kontaktzeilen
   ========================================================================== */

.step {
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.step__num {
  display: flex;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-on-dark);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-list__icon {
  display: flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--c-bg-alt);
  font-size: 1.25rem;
}

.contact-list__label {
  margin-bottom: 3px;
  color: var(--c-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-list__value {
  color: var(--c-ink);
  font-size: 1rem;
  font-weight: 600;
}

.contact-card {
  padding: 36px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(15, 16, 41, 0.1);
}

/* ==========================================================================
   Formular
   ========================================================================== */

.field {
  margin-bottom: 16px;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  color: #4a5068;
  font-size: 0.78rem;
  font-weight: 700;
}

.field__control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: 8px;
  background: #f5f7fb;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.field__control:focus {
  border-color: var(--c-brand);
  outline: 2px solid var(--c-brand);
  outline-offset: 1px;
}

textarea.field__control {
  resize: vertical;
}

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--c-brand);
  border-radius: 0 8px 8px 0;
  background: var(--c-bg-alt);
  color: var(--c-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.site-footer {
  background: var(--c-night);
  color: var(--c-on-dark-muted);
  border-top: 3px solid var(--c-brand);
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  padding: 56px var(--gutter) 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-on-dark);
}

.site-footer__brand img {
  height: 48px;
  width: auto;
}

.site-footer__text {
  max-width: 280px;
  margin: 0 0 16px;
  color: var(--c-on-dark-faint);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__heading {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  color: var(--c-on-dark-muted);
  font-size: 0.875rem;
}

.site-footer__list a:hover {
  color: var(--c-on-dark);
}

.site-footer__address {
  color: var(--c-on-dark-faint);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.7;
}

.site-footer__address a {
  color: var(--c-on-dark-faint);
}

.site-footer__address a:hover {
  color: var(--c-on-dark);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  padding: 18px var(--gutter);
  border-top: 1px solid rgba(54, 143, 139, 0.2);
  color: #868da5;
  font-size: 0.78rem;
  text-align: center;
}

.site-footer__bottom a {
  color: #868da5;
}

.site-footer__bottom a:hover {
  color: var(--c-on-dark);
}

.site-footer--slim {
  padding: 20px var(--gutter);
  color: #868da5;
  font-size: 0.78rem;
  text-align: center;
}

/* ==========================================================================
   Animationen
   ========================================================================== */

@keyframes mv-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mv-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mv-bar {
  0%,
  100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1);
  }
}

.fade-in {
  animation: mv-fade 0.45s ease both;
}

/* ==========================================================================
   Enge Viewports
   ========================================================================== */

@media (max-width: 720px) {
  .section {
    padding-block: 56px;
  }

  .section--tight {
    padding-block: 48px;
  }

  .panel,
  .audio {
    padding: 28px;
  }

  .page-header__inner {
    padding-block: 48px 40px;
  }

  .hero {
    min-height: 520px;
  }

  .event-row__meta {
    text-align: left;
  }

  .split {
    gap: 28px;
  }

  .stack {
    gap: 44px;
  }
}
