/* Praxis Sander: eine gemeinsame Stylesheet-Datei. Kein Build, keine externen Requests. */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/open-sans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* Design-Tokens aus der Altseite (Divi-Customizer, Logo). Kontrast gegen Weiß: siehe Kommentar. */
:root {
  --rot: #a73439;          /* 6.58:1 auf Weiß: Links, Buttons, Überschriften */
  --rot-dunkel: #85282c;   /* Hover */
  --gelb: #f9bc33;         /* nur Fläche, Text darauf in --text */
  --teal: #7ebec5;         /* nur Fläche und Linien, nie Text auf Weiß (2.09:1) */
  --teal-hell: #eaf5f7;    /* Flächenhintergrund */
  --text: #2b2b2b;         /* Fließtext */
  --text-leise: #5c5c5c;   /* Nebentext, 6.7:1 auf Weiß */
  --bg: #ffffff;
  --bg-weich: #f6f9fa;
  --linie: #d9e3e5;
  --footer: #3a3a3a;       /* weißer Text darauf */

  --font-text: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Source Sans 3", "Open Sans", system-ui, Arial, sans-serif;

  --maxw: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 0.75rem;
  --schatten: 0 0.125rem 0.75rem rgb(0 0 0 / 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-text);
  color: var(--text);
  background: var(--bg);
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--rot); text-underline-offset: 0.15em; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--rot); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); text-transform: uppercase; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--weich { background: var(--bg-weich); }
.section--teal { background: var(--teal-hell); }
.lead { font-size: 1.2rem; color: var(--text-leise); max-width: 46rem; }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: center; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding-block: 0.6rem; }
.brand { display: block; line-height: 0; }
.brand img { width: 9.5rem; height: auto; }
.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav a, .nav summary {
  display: block; padding: 0.6rem 0.8rem; color: var(--text); text-decoration: none;
  font: 600 1rem/1.2 var(--font-head); border-radius: 0.5rem; cursor: pointer;
}
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: var(--rot); background: var(--teal-hell); }
.nav a.nav-cta { background: var(--rot); color: #fff; margin-left: 0.5rem; }
.nav a.nav-cta:hover { background: var(--rot-dunkel); color: #fff; }
.has-sub { position: relative; }
.has-sub > summary { list-style: none; }
.has-sub > summary::-webkit-details-marker { display: none; }
.has-sub > summary::after { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-left: 0.45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-0.15em) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 16rem; background: var(--bg); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 0.4rem; flex-direction: column; align-items: stretch; }
.has-sub:not([open]) > .sub { display: none; }

/* Buttons und Karten */
.btn { display: inline-block; padding: 0.8rem 1.5rem; background: var(--rot); color: #fff; border-radius: 999px; font: 600 1.05rem/1.2 var(--font-head); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--rot-dunkel); color: #fff; }
.btn--hell { background: #fff; color: var(--rot); border: 2px solid var(--rot); }
.btn--hell:hover { background: var(--teal-hell); color: var(--rot-dunkel); }
.card { background: var(--bg); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--schatten); }
.card h3 { margin-bottom: 0.4em; }
.card--gelb { border-top: 0.4rem solid var(--gelb); }
.card--teal { border-top: 0.4rem solid var(--teal); }

/* Fuß */
.site-footer { background: var(--footer); color: #fff; padding-block: 3rem 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gelb); }
.site-footer h2 { font-size: 1.1rem; color: var(--gelb); text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.35em; }
.site-footer address { font-style: normal; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-copy { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.25); font-size: 0.9rem; color: #d7d7d7; }

/* Mobil */
@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; background: var(--bg); color: var(--rot); border: 2px solid var(--rot); border-radius: 0.5rem; font: 600 1rem/1 var(--font-head); cursor: pointer; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--linie); padding: 0.75rem var(--gutter) 1.25rem; flex-direction: column; align-items: stretch; box-shadow: var(--schatten); max-height: calc(100vh - 4.5rem); overflow-y: auto; }
  .js .nav.is-open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-cta { margin: 0.5rem 0 0; text-align: center; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
}

/* Inhalt */
.foto { margin: 0; }
.foto img { width: 100%; border-radius: var(--radius); background: var(--bg-weich); }
.foto--band img { border-radius: 0; max-height: 28rem; object-fit: cover; }
.hero { padding-block: clamp(2rem, 5vw, 4rem) 0; background: #fff; }
.hero .foto { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.hero .foto img { border-radius: var(--radius) var(--radius) 0 0; background: transparent; }
.kicker { margin: 0 0 0.25rem; font: 600 1rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-leise); }
.cols { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.cols > * > :last-child { margin-bottom: 0; }
.stark { font-weight: 600; }
.liste { padding-left: 1.2em; }
.liste li { margin-bottom: 0.4em; }
.card .stark { margin-bottom: 0.4em; }
.video { display: block; width: 100%; height: auto; background: #000; border-radius: var(--radius); }
.video-wrap { margin: 0 0 2rem; }
.video-wrap figcaption { margin-top: 0.5rem; font-size: 0.95rem; color: var(--text-leise); }
.icons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.icons li { margin: 0; text-align: center; background: var(--bg); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 0.75rem; }
.icons img { margin: 0 auto 0.5rem; width: auto; height: 5rem; max-width: 100%; object-fit: contain; }
.icons span { font: 600 1.05rem/1.2 var(--font-head); }
.galerie { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.galerie li { margin: 0; }
.galerie a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-weich); }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s; }
.galerie a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.88); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4rem 1rem; gap: 0.75rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 0.25rem; }
.lightbox figcaption { text-align: center; max-width: 46rem; font-size: 0.95rem; color: #e6e6e6; }
.lightbox button { position: absolute; background: rgb(255 255 255 / 0.14); color: #fff; border: 0; border-radius: 999px; width: 3rem; height: 3rem; font: 400 2rem/1 var(--font-head); cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgb(255 255 255 / 0.3); }
.lb-close { top: 0.75rem; right: 0.75rem; }
.lb-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) { .lightbox figure { padding: 3.5rem 0.5rem 1rem; } .lb-prev, .lb-next { top: auto; bottom: 0.75rem; transform: none; } .lb-prev { left: 25%; } .lb-next { right: 25%; } }
.paar { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; margin-bottom: 2rem; }
.paar figure { margin: 0; }
.paar figcaption { margin-top: 0.4rem; font: 600 0.95rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-leise); }
.paar img { width: 100%; border-radius: var(--radius); }
.cta { text-align: center; }
.cta .lead { margin-inline: auto; }
.text { max-width: 46rem; }
.text h2 { margin-top: 1.8em; font-size: 1.35rem; }
.h3 { font-size: 1.25rem; }
.quelle { margin: -0.5rem 0 0; color: var(--text-leise); font-style: italic; }
.hinweis { font-size: 0.95rem; color: var(--text-leise); }
.stand { margin-top: 2rem; color: var(--text-leise); font-size: 0.95rem; }
.zeiten { border-collapse: collapse; margin-bottom: 1.5rem; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: 0.5rem 1.5rem 0.5rem 0; border-bottom: 1px solid var(--linie); }
.zeiten th { font-family: var(--font-head); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.logo-partner { width: min(100%, 22rem); height: auto; margin-bottom: 1.25rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
