/* Hot Pott Sound Orchestra – Stylesheet
   Dunkles Farbschema rund um das Bordeaux des Logos (#981f38). */

:root {
  color-scheme: dark;
  --bordeaux: #981f38;
  --bordeaux-dunkel: #b3274a;
  --bordeaux-zart: rgba(152, 31, 56, .32);
  --link: #f0a3b2;
  --grund: #161213;
  --grund-tief: #0f0c0d;
  --flaeche: #211a1c;
  --text: #f3ece8;
  --grau: #b7aaa7;
  --linie: #3a2f32;
  --linie-stark: #5a4a4e;
  --messing: #d9b56c;
  --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
  --radius: 10px;
  --breite: 1120px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 700; line-height: 1.2; color: var(--text); text-wrap: balance; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p, li { max-width: 68ch; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--bordeaux); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; color: #fff; }
::selection { background: var(--bordeaux); color: #fff; }

/* ---------- Kopfzeile ---------- */

.kopf {
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 50;
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: block; flex: none; padding: 8px 0; margin-right: auto; }
.logo img { width: 100px; height: 60px; }

.menue { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menue a {
  display: block; padding: 10px 13px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.menue a:hover { background: var(--bordeaux-zart); color: #fff; }
.menue a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--bordeaux-dunkel); border-radius: 6px 6px 0 0; }

.fb-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--text); }
.fb-icon:hover { color: #fff; background: var(--bordeaux-zart); }
.mit-icon { display: inline-flex; align-items: center; gap: 8px; }
.mit-icon svg, .knopf svg { flex: none; }

.menue-knopf {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--linie); border-radius: 8px;
  padding: 9px 13px; font: inherit; font-weight: 600; color: var(--text); cursor: pointer;
}
.menue-knopf span.balken, .menue-knopf span.balken::before, .menue-knopf span.balken::after {
  display: block; width: 20px; height: 2px; background: var(--link); border-radius: 2px; content: ""; position: relative;
}
.menue-knopf span.balken::before { position: absolute; top: -6px; }
.menue-knopf span.balken::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .fb-icon { order: 1; }
  .menue-knopf { order: 2; }
  .kopf nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--flaeche); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); display: none; }
  .kopf nav.offen { display: block; }
  .menue { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 0; }
  .menue a { padding: 13px 8px; border-bottom: 1px solid var(--linie); border-radius: 0; }
  .menue li:last-child a { border-bottom: 0; }
  .menue a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--bordeaux); border-radius: 0; padding-left: 16px; }
  /* Ohne JavaScript bleibt das Menü einfach sichtbar */
  .kein-js .kopf nav { display: block; position: static; box-shadow: none; }
  .kein-js .menue-knopf { display: none; }
  .kein-js .kopf .wrap { flex-wrap: wrap; }
}

/* ---------- Aufmacher Startseite ---------- */

.aufmacher { padding: clamp(32px, 6vw, 72px) 0 0; }
.aufmacher .text { max-width: 760px; }
.dach { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--messing); margin: 0 0 14px; }
.aufmacher p.gross { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--grau); max-width: 60ch; }
.aufmacher-bild { margin: clamp(24px, 4vw, 44px) 0 0; }
.aufmacher-bild img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 20 / 9; object-fit: cover; }
@media (max-width: 600px) {
  .aufmacher-bild { margin-left: -20px; margin-right: -20px; }
  .aufmacher-bild img { border-radius: 0; }
}

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--bordeaux);
  background: var(--bordeaux); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.knopf:hover { background: var(--bordeaux-dunkel); border-color: var(--bordeaux-dunkel); color: #fff; }
.knopf.hell { background: transparent; color: var(--text); border-color: var(--bordeaux-dunkel); }
.knopf.hell:hover { background: var(--bordeaux-zart); color: #fff; }
.knopf[disabled] { opacity: .6; cursor: progress; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: clamp(40px, 6vw, 76px) 0; }
.abschnitt + .abschnitt { padding-top: 0; }
.abschnitt.band { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: clamp(40px, 6vw, 76px) 0; margin-bottom: clamp(40px, 6vw, 76px); }
.abschnitt.band:last-child { margin-bottom: 0; border-bottom: 0; }

.seitenkopf { padding-top: clamp(32px, 5vw, 60px); padding-bottom: clamp(20px, 3vw, 32px); }
.seitenkopf h1 { margin-bottom: .3em; }
.seitenkopf h1::after, .titel-linie::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--bordeaux); margin-top: .45em;
}
.seitenkopf p { color: var(--grau); font-size: 1.15rem; max-width: 60ch; margin: 0; }

.spalten { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr 1fr; align-items: start; }
.spalten.breit-schmal { grid-template-columns: 3fr 2fr; }
@media (max-width: 800px) { .spalten, .spalten.breit-schmal { grid-template-columns: 1fr; } }

.karten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; box-shadow: var(--schatten); }
.band .karte { background: var(--grund); box-shadow: none; }
.karte h3 { margin-bottom: .4em; }
.karte p:last-child { margin-bottom: 0; }
.karte .mehr { font-weight: 700; text-decoration: none; }
.karte .mehr::after { content: " →"; }

.infobox { background: var(--flaeche); border: 1px solid var(--linie); border-left: 5px solid var(--bordeaux); border-radius: var(--radius); padding: 24px 26px; }
.infobox h2, .infobox h3 { margin-bottom: .5em; }
.infobox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.infobox dt { font-weight: 700; color: var(--grau); }
.infobox dd { margin: 0; }
.infobox address { font-style: normal; }

figure { margin: 0; }
figure img { border-radius: var(--radius); border: 1px solid var(--linie); }
figcaption { font-size: .88rem; color: var(--grau); margin-top: 8px; }

/* ---------- Termine ---------- */

.termine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.termin h3, .termin p { overflow-wrap: anywhere; }
.termin {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 18px 14px 14px; max-width: none;
}
.termin .datum {
  text-align: center; background: var(--bordeaux); color: #fff; border-radius: 8px; padding: 9px 6px; line-height: 1.1;
}
.termin .tag { display: block; font-family: var(--schrift-titel); font-size: 1.75rem; font-weight: 700; }
.termin .monat { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.termin h3 { font-size: 1.15rem; margin: 0 0 2px; }
.termin .wann { color: var(--messing); font-weight: 700; font-size: .95rem; margin: 0; }
.termin .ort { color: var(--grau); margin: 2px 0 0; font-size: .98rem; }
.termine-leer { background: var(--flaeche); border: 1px dashed var(--linie); border-radius: var(--radius); padding: 22px 24px; color: var(--grau); }
.termine-leer p { margin: 0; }

/* ---------- Bilder und Aufnahmen ---------- */

.karte.mit-bild { padding-top: 0; overflow: hidden; }
.karte.mit-bild img { width: calc(100% + 52px); max-width: none; margin: 0 -26px 22px; aspect-ratio: 3 / 2; object-fit: cover; }
.breitbild { margin-bottom: 24px; }
.breitbild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.aufnahmen { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.aufnahme { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 22px; }
.aufnahme h3 { margin-bottom: 10px; }
.aufnahme audio { width: 100%; display: block; }

/* ---------- Formular ---------- */

.formular { display: grid; gap: 16px; }
.formular label { display: grid; gap: 6px; font-weight: 600; }
.formular .hinweis { font-weight: 400; color: var(--grau); font-size: .9rem; }
.formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--flaeche);
  border: 1px solid var(--linie-stark); border-radius: 8px; padding: 11px 13px;
}
.formular textarea { min-height: 170px; resize: vertical; }
.formular input:focus, .formular textarea:focus { outline: 3px solid rgba(240, 163, 178, .35); border-color: var(--link); }
.formular .haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.formular .haken input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--bordeaux); flex: none; }
/* Falle für Bots: für Menschen unsichtbar */
.formular .extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { border-radius: 8px; padding: 13px 16px; font-weight: 600; border: 1px solid; }
.meldung[hidden] { display: none; }
.meldung.gut { background: #15301c; border-color: #2f6b3a; color: #b4e6bd; }
.meldung.fehler { background: var(--bordeaux-zart); border-color: var(--bordeaux-dunkel); color: #ffd9e0; }
.meldung.info { background: var(--grund-tief); border-color: var(--linie); color: var(--text); }

/* ---------- Rechtstexte ---------- */

.text-seite h2 { margin-top: 1.6em; font-size: 1.4rem; }
.text-seite h3 { margin-top: 1.4em; font-size: 1.1rem; }
.text-seite ul { padding-left: 1.2em; }
.text-seite address { font-style: normal; margin-bottom: 1em; }
.text-seite pre { white-space: pre-wrap; word-break: break-word; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; padding: 12px 14px; font-size: .85rem; max-width: 68ch; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--grund-tief); border-top: 4px solid var(--bordeaux); margin-top: clamp(40px, 6vw, 76px); padding: 36px 0 28px; font-size: .97rem; }
.band + .fuss, main > .band:last-child { margin-bottom: 0; }
.fuss.ohne-abstand { margin-top: 0; }
.fuss .wrap { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .fuss .wrap { grid-template-columns: 1fr; } }
.fuss img { width: 130px; height: 78px; margin-bottom: 10px; }
.fuss h2 { font-family: var(--schrift); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); margin-bottom: 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss address { font-style: normal; }
.fuss p { margin: 0 0 .4em; }
.fuss .klein { grid-column: 1 / -1; border-top: 1px solid var(--linie); padding-top: 16px; color: var(--grau); font-size: .88rem; max-width: none; }
