/* Lokale Schriftarten – keine Verbindung zu Google-Servern (DSGVO-konform) */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Light.woff') format('woff'),
       url('../fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Regular.woff') format('woff'),
       url('../fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Medium.woff') format('woff'),
       url('../fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-SemiBold.woff') format('woff'),
       url('../fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #DE4A52;
  --red-light:  rgba(222,74,82,0.09);
  --text:       #1a1a1a;
  --text-sec:   #6b6b6b;
  --border:     #e4e4e4;
  --border-lt:  #f0f0f0;
  --bg:         #ffffff;
  --bg-sec:     #f7f7f7;
  --radius:     8px;
  --radius-sm:  4px;
  --max-w:      780px;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1rem;
  border-bottom: 3px solid var(--red);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-area:hover { text-decoration: none; }

.logo-svg { width: 38px; flex-shrink: 0; }

.site-name h1 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: var(--text);
}
.site-name p {
  font-size: 12px;
  color: var(--text-sec);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* ── Navigation ── */
.site-nav { display: flex; gap: 18px; align-items: center; }
.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--red); text-decoration: none; }
.site-nav a.active { color: var(--red); font-weight: 600; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ── Page Title ── */
.page-title { margin-top: 2rem; margin-bottom: 1.75rem; }
.page-title h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.4px; }
.page-title p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-sec);
  margin-top: 0.4rem;
  line-height: 1.7;
}

/* ── Section Heading ── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}
.section-head h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sec);
}
.section-head a {
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
}

/* ── Tag / Badge ── */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ── Footer ── */
.site-footer {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 0.5px solid var(--border-lt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer p { font-size: 13px; color: var(--text-sec); }
.site-footer nav { display: flex; gap: 16px; }
.site-footer nav a { font-size: 13px; color: var(--text-sec); }
.site-footer nav a:hover { color: var(--red); }

/* ── Slider ── */
.slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 430;
  background: #111;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.05) 60%);
}
.slide-year {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
}
.slide-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: white;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  max-width: 65%;
  line-height: 1.4;
}
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.dot.active { background: white; }

/* ── Hero Text ── */
.hero-text {
  padding: 1.5rem 1.75rem;
  border-top: 0.5px solid var(--border-lt);
}
.hero-text h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0.5rem 0 0.75rem;
}
.hero-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-sec);
}

/* ── Termine on Startseite ── */
.termine-list { display: flex; flex-direction: column; }
.termin-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 1rem;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--border-lt);
  align-items: start;
}
.termin-row:last-child { border-bottom: none; }
.t-date { text-align: center; }
.t-date .d { font-size: 24px; font-weight: 600; color: var(--red); line-height: 1; }
.t-date .m { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-sec); margin-top: 1px; }
.t-info h4 { font-size: 16px; font-weight: 500; margin-bottom: 3px; }
.t-info p { font-size: 14px; color: var(--text-sec); font-weight: 300; line-height: 1.5; }

/* ── Info Cards ── */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.info-card {
  background: var(--bg-sec);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.info-card h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 0.5rem;
}
.info-card p { font-size: 15px; font-weight: 300; line-height: 1.65; }
.info-card strong { font-weight: 600; color: var(--red); }

/* ── YouTube Grid ── */
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.yt-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.yt-card:hover { border-color: var(--red); transform: translateY(-1px); text-decoration: none; }
.yt-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.yt-card:hover .yt-play { background: rgba(0,0,0,0.35); }
.yt-play-btn {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-play-btn svg { width: 14px; height: 14px; fill: white; margin-left: 2px; }
.yt-info { padding: 0.6rem 0.75rem; }
.yt-info .concert { font-size: 11px; font-weight: 600; color: var(--red); margin-bottom: 2px; }
.yt-info .title { font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--text); }
.yt-info .date { font-size: 11px; color: var(--text-sec); margin-top: 3px; }

/* ── Section spacing ── */
.w-section { margin-top: 2.25rem; }

/* ── Hero card border ── */
.hero-card {
  border: 0.5px solid var(--border-lt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.75rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 1rem 1.5rem; border-bottom: 2px solid var(--red); z-index: 100; gap: 12px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 1.25rem; }
  .hero-text h2 { font-size: 19px; }
  /* slider-wrap behält aspect-ratio auch auf mobil */
  .site-header { position: relative; }
}

/* ── E-Mail Spam-Schutz ── */
/* Adresse steht umgekehrt im HTML-Quelltext, CSS dreht sie visuell zurück.
   Bots lesen ed.ogmw@rekisum – Menschen sehen musiker@wmgo.de */
.email-reverse {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
}

/* ── YouTube kompakte Liste (Startseite) ── */
.yt-list { display: flex; flex-direction: column; gap: 0; }
.yt-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 1rem;
  padding: 0.7rem 0;
  border-bottom: 0.5px solid var(--border-lt);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background 0.15s;
}
.yt-row:last-child { border-bottom: none; }
.yt-row:hover { text-decoration: none; }
.yt-row:hover .yt-row-title { color: var(--red); }
.yt-row-thumb {
  position: relative;
  width: 100px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #111;
  flex-shrink: 0;
}
.yt-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-play-sm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}
.yt-play-sm svg { width: 18px; height: 18px; fill: white; margin-left: 2px; }
.yt-row-info { display: flex; flex-direction: column; gap: 3px; }
.yt-row-concert { font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: 0.04em; }
.yt-row-title { font-size: 16px; font-weight: 400; color: var(--text); line-height: 1.4; }

/* ── Konzert: Mitwirkende & Kommentar ── */
.k-meta-line {
  font-size: 15px;
  color: var(--text-sec);
  font-style: italic;
  margin-top: 3px;
}
.k-kommentar {
  margin: 0.5rem 0 0 74px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.6;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border);
}

/* ── Klickbare Termin-Zeile auf Startseite ── */
a.termin-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 0 1rem;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--border-lt);
  align-items: center;
  transition: background 0.15s;
  border-radius: var(--radius-sm);
}
a.termin-link:last-child { border-bottom: none; }
a.termin-link:hover { text-decoration: none; }
a.termin-link:hover .t-info h4 { color: var(--red); }
a.termin-link:hover .t-arrow { color: var(--red); }
.t-arrow {
  font-size: 20px;
  color: var(--border);
  transition: color 0.15s;
  padding-right: 0.25rem;
}

/* ════════════════════════════════════════════
   KONZERTE-SEITE
   ════════════════════════════════════════════ */
.search-wrap { position: relative; margin-bottom: 0.5rem; }
.search-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--text-sec); pointer-events: none; }
.search-input {
  width: 100%; padding: 0.75rem 2.5rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 16px;
  background: var(--bg); color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--red); }
.search-input::placeholder { color: var(--text-sec); }
.search-clear { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 20px; color: var(--text-sec); display: none; line-height: 1; padding: 0; }
.search-info { font-size: 14px; color: var(--text-sec); min-height: 1.2rem; margin: 0.4rem 0 1.25rem; }

.konzert { border-bottom: 0.5px solid var(--border-lt); padding: 1rem 0; }
.konzert:last-child { border-bottom: none; }
.konzert-head { display: grid; grid-template-columns: 62px 1fr auto; gap: 0 1rem; align-items: start; }
.k-date { text-align: center; }
.k-date .d { font-size: 24px; font-weight: 600; line-height: 1; }
.k-date .m { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-sec); margin-top: 1px; }
.k-date .y { font-size: 12px; color: var(--text-sec); }
.k-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.2px; }
.k-info .meta { font-size: 15px; color: var(--text-sec); font-weight: 300; }
.k-yt a { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--red); font-weight: 500; white-space: nowrap; text-decoration: none; }
.k-yt a:hover { text-decoration: underline; }
.k-programm { margin: 0.5rem 0 0 74px; }
.k-programm ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.k-programm li { font-size: 15px; font-weight: 300; color: var(--text-sec); padding-left: 0.75rem; position: relative; }
.k-programm li::before { content: '·'; position: absolute; left: 0; color: var(--red); }
mark { background: rgba(222,74,82,0.15); color: inherit; border-radius: 2px; }

.jahr-block { margin-top: 1.5rem; }
.jahr-toggle {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 0.6rem 0;
  border-bottom: 0.5px solid var(--border);
  user-select: none; background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
}
.jahr-toggle h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-sec); }
.jahr-toggle .j-right { display: flex; gap: 8px; align-items: center; }
.jahr-toggle .count { font-size: 13px; color: var(--text-sec); }
.jahr-toggle .arrow { font-size: 16px; color: var(--text-sec); transition: transform 0.2s; }
.jahr-toggle.open .arrow { transform: rotate(90deg); }
.jahr-inhalt { display: none; }
.jahr-inhalt.open { display: block; }
.keine-ergebnisse { padding: 2rem 0; text-align: center; color: var(--text-sec); font-size: 16px; }
.upcoming-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-sec); padding-bottom: 0.5rem; border-bottom: 0.5px solid var(--border); margin-bottom: 0.75rem; }

/* ════════════════════════════════════════════
   CHRONIK-SEITE
   ════════════════════════════════════════════ */
.timeline { position: relative; }
.tl-entry { display: grid; grid-template-columns: 90px 1fr; gap: 0 1.5rem; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-year { font-size: 15px; font-weight: 600; color: var(--red); letter-spacing: 0.02em; padding-top: 0.15rem; white-space: nowrap; text-align: center; width: 100%; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 6px; }
.tl-line { flex: 1; width: 1.5px; background: var(--border-lt); margin-top: 5px; min-height: 20px; }
.tl-entry:last-child .tl-line { display: none; }
.tl-content { padding: 0 0 2.25rem; }
.tl-content p { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--text); }
.tl-content p + p { margin-top: 0.75rem; }
.tl-content strong { font-weight: 600; color: var(--text); }
.tl-intro .tl-year { color: var(--text-sec); font-size: 13px; font-weight: 400; }
.tl-intro .tl-dot { background: var(--border); }

/* ════════════════════════════════════════════
   KONTAKT-SEITE
   ════════════════════════════════════════════ */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; margin-top: 0.5rem; }
.info-block { margin-bottom: 1.5rem; }
.info-block h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-sec); margin-bottom: 0.4rem; }
.info-block p { font-size: 16px; font-weight: 300; line-height: 1.7; }

.f-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.f-group label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-sec); }
.f-group input,
.f-group textarea,
.f-group select {
  width: 100%; padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 300;
  background: var(--bg); color: var(--text); outline: none;
  transition: border-color 0.2s; appearance: none;
}
.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus { border-color: var(--red); }
.f-group textarea { resize: vertical; min-height: 130px; }
.f-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.f-note { font-size: 13px; color: var(--text-sec); font-weight: 300; line-height: 1.6; margin-bottom: 1rem; }
.f-btn {
  background: var(--red); color: white; border: none;
  border-radius: var(--radius); padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s; letter-spacing: 0.02em;
}
.f-btn:hover { opacity: 0.88; }
.f-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.f-success {
  display: none; background: rgba(222,74,82,0.06);
  border: 1.5px solid var(--red); border-radius: var(--radius);
  padding: 1.25rem; font-size: 16px; line-height: 1.6;
}
.f-success.show { display: block; }

/* ════════════════════════════════════════════
   IMPRESSUM & DATENSCHUTZ
   ════════════════════════════════════════════ */
.legal-section { margin-top: 2.5rem; }
.legal-section h2 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.2px;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--red);
  margin-bottom: 1.25rem;
}
.legal-section h3 { font-size: 16px; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.legal-section p { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--text); margin-bottom: 0.75rem; }
.legal-section ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.legal-section ol li { font-size: 16px; font-weight: 300; line-height: 1.8; }
.legal-section ol li strong { font-weight: 600; }
.legal-divider { border: none; border-top: 0.5px solid var(--border-lt); margin: 3rem 0 0; }
.toc { background: var(--bg-sec); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1.75rem; }
.toc p { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-sec); margin-bottom: 0.6rem; }
.toc a { display: block; font-size: 15px; font-weight: 400; color: var(--red); margin-bottom: 0.3rem; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ════════════════════════════════════════════ */
@media (max-width: 580px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .konzert-head { grid-template-columns: 52px 1fr; }
  .k-yt { display: none; }
  .k-programm { margin-left: 64px; }
  .k-kommentar { margin-left: 64px; }
  .tl-entry { grid-template-columns: 70px 1fr; gap: 0 1rem; }
  .tl-year { font-size: 13px; }
  .tl-content p { font-size: 15px; }
}
.legal-stand { margin-top: 2rem; font-size: 13px; color: var(--text-sec); }
