/* ============================================================
   1., 2., 3., Larifari Zauberei — Stylesheet
   Farben und Maße stehen gesammelt unter :root.
   ============================================================ */

@font-face {
  font-family: "Poppins";
  src: url("schrift/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("schrift/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --tinte:   #171412;
  --papier:  #ffffff;
  --schild:  #fbf0d5;   /* Gelb der handgemalten Schilder */
  --magenta: #d6187e;   /* Sakko */
  --grau:    #6b6560;
  --linie:   #e4e0d8;
  --buehne:  #212121;   /* Hintergrund der Studiofotos */

  --breite: 1080px;
  --luft:   clamp(3rem, 7vw, 5.5rem);

  --anzeige: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lauf: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-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(--papier);
  color: var(--tinte);
  font-family: var(--lauf);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--anzeige);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 62ch; }

.bereich { padding: var(--luft) 0; }
main > .bereich:first-child { padding-top: clamp(1.6rem, 3vw, 2.4rem); }

/* Überschrift und Einleitung laufen über die volle Breite */
.seitenkopf { margin-bottom: clamp(2rem, 4vw, 3rem); }
.seitenkopf .vorspann { max-width: none; font-size: clamp(1.15rem, 2vw, 1.3rem); }
.bahn { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.vorspann { font-size: 1.2rem; color: var(--grau); }
.hinweis { font-size: 0.95rem; color: var(--grau); }

/* Karomuster der Hose: Erkennungszeichen der Seite */
.karo {
  height: 14px;
  background-image: repeating-conic-gradient(var(--tinte) 0% 25%, var(--papier) 0% 50%);
  background-size: 16px 16px;
}

.sprung { position: absolute; left: -9999px; background: var(--tinte); color: #fff;
          padding: 0.7rem 1.1rem; z-index: 10; }
.sprung:focus { left: 1rem; top: 1rem; }

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

.kopf {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.8rem 2rem;
  padding: 1rem 0;
}

.marke {
  display: flex; align-items: baseline; gap: 0.4rem;
  text-decoration: none; color: var(--tinte); white-space: nowrap;
  font-family: var(--anzeige); font-weight: 700; letter-spacing: -0.03em;
}
.marke-zahlen { color: var(--magenta); font-size: 1.05rem; letter-spacing: 0; }
.marke-name { font-size: 1.25rem; }

.menue { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.menue a {
  font-family: var(--anzeige); font-weight: 500; font-size: 0.97rem;
  color: var(--tinte); text-decoration: none;
  padding-bottom: 3px; border-bottom: 3px solid transparent;
}
.menue a:hover { border-bottom-color: var(--linie); }
.menue a[aria-current="page"] { border-bottom-color: var(--magenta); }

/* ---------- Bühne: schwarzer Kopfbereich der Startseite ---------- */

.buehne { background: var(--buehne); color: #fff; }
.buehne h1 { color: #fff; }
.buehne .vorspann { color: #bdb8b1; }
.buehne .knopf-leer { color: #fff; border-color: #fff; }
.buehne .knopf-leer:hover { background: #fff; color: var(--buehne); }

.auftritt {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ---------- Knöpfe ---------- */

.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.knopf {
  display: inline-block; padding: 0.8rem 1.5rem; border-radius: 999px;
  font-family: var(--anzeige); font-weight: 700; font-size: 0.97rem;
  text-decoration: none; border: 2px solid var(--tinte);
}
.knopf-voll { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.knopf-voll:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.knopf-leer { background: transparent; color: var(--tinte); }
.knopf-leer:hover { background: var(--tinte); color: #fff; }

/* ---------- Bild-Text-Reihen ---------- */

.reihe {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.reihe:last-child { margin-bottom: 0; }

/* Textspalte breiter, Bildspalte schmaler: weniger Leerlauf bei Hochformaten */
.reihe.eng { grid-template-columns: 1.35fr 1fr; }
.reihe.eng .bild { position: sticky; top: 1.5rem; }
.reihe .bild img { border-radius: 4px; max-height: 380px; width: auto; }

.breitbild { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.breitbild img { border-radius: 4px; width: 100%; }
.breitbild figcaption,
.paar figcaption { font-size: 0.93rem; color: var(--grau); padding-top: 0.5rem; }

.paar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.5rem); }
.paar figure { margin: 0; }
.paar img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Zitate ---------- */

blockquote {
  margin: 1.8rem 0 0; padding-left: 1.2rem;
  border-left: 4px solid var(--magenta);
  font-family: var(--anzeige); font-weight: 500;
  font-size: 1.1rem; line-height: 1.45; max-width: 46ch;
}
blockquote cite {
  display: block; margin-top: 0.7rem;
  font-family: var(--lauf); font-weight: 400; font-style: normal;
  font-size: 0.92rem; color: var(--grau); line-height: 1.5;
}

/* Leitsatz: eigene Stimme, kein Zitat, daher ohne Randmarkierung */
.leitsatz {
  margin: 1.8rem 0 0; max-width: 42ch;
  padding-left: 1.2rem; border-left: 4px solid var(--magenta);
  font-family: var(--anzeige); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.3; letter-spacing: -0.01em;
}

blockquote.breit { max-width: 60ch; margin-top: 2.5rem; }

/* Prägnantes Zitat als Auftakt eines Abschnitts */
.grosszitat {
  margin: 2.2rem 0 clamp(2.2rem, 4vw, 3.2rem); padding-left: 0; border-left: none;
  max-width: 24ch;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -0.02em;
}
.grosszitat::before { content: "„"; color: var(--magenta); }
.grosszitat .schluss { color: var(--magenta); }
.grosszitat cite { margin-top: 0.9rem; }

/* Breites Zitatband mit Foto */
.zitatband { background: var(--schild); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.zitatband .bahn {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.zitatband img { border-radius: 4px; width: 100%; }
.zitatband blockquote {
  margin: 0; border-left: none; padding-left: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25; max-width: none;
}

/* ---------- Gelber Hinweiskasten ---------- */

.schildkasten {
  background: var(--schild); padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: 6px; margin-top: clamp(2.5rem, 5vw, 4rem);
}
.schildkasten p:last-child { margin-bottom: 0; }
.schildkasten .knopf { margin-top: 0.4rem; }

/* ---------- Drei Programmkacheln ---------- */

.dreispalt {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.dreispalt article > a { display: block; }
.dreispalt img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dreispalt h3 { margin: 0.9rem 0 0.4rem; }
.dreispalt h3 a { color: var(--tinte); text-decoration: none; }
.dreispalt h3 a:hover { color: var(--magenta); }
.dreispalt p { font-size: 0.98rem; color: var(--grau); margin: 0; }

/* ---------- Presseausschnitte ---------- */

.presse {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem); margin-top: 2rem;
}
.presse figure { margin: 0; }
.presse a { display: block; }
.presse img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top;
  border: 1px solid var(--linie); border-radius: 3px;
}
.presse a:hover img { border-color: var(--magenta); }
.presse figcaption { font-size: 0.95rem; color: var(--grau); padding-top: 0.8rem; }
.presse figcaption b {
  display: block; font-family: var(--anzeige); font-size: 1.05rem;
  color: var(--tinte); letter-spacing: -0.01em;
}
.presse .quelle { display: block; color: var(--magenta); font-size: 0.85rem; padding-bottom: 0.4rem; }

/* ---------- Kontakt ---------- */

.visitenkarte { border-radius: 6px; width: 100%; max-width: 460px; }

/* ---------- Textseiten ---------- */

.schmal h1 { margin-bottom: 1.5rem; }
.schmal h2 { font-size: 1.15rem; margin-top: 2.2rem; }
.schmal p { max-width: 65ch; }

.bildnachweis { font-size: 0.9rem; color: var(--grau); margin-top: 2.5rem; }

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

.fuss { background: var(--tinte); color: #cfc9c2; padding: 2.5rem 0 3rem; margin-top: var(--luft); }
.fuss a { color: #fff; }
.fuss .bahn {
  display: flex; flex-wrap: wrap; gap: 1.8rem 2rem;
  justify-content: space-between; align-items: start;
}
.fuss p { margin: 0; max-width: none; }
.fussmarke { font-family: var(--anzeige); font-weight: 700; font-size: 1.05rem; color: #fff; }
.fussname { font-size: 0.95rem; color: #9d968e; }
.fussmenue { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: 0.95rem; }

.fuss-marke { display: flex; align-items: center; gap: 0.9rem; }
.fuss-hase {
  width: auto; height: 44px;
  background: var(--papier); border-radius: 5px; padding: 5px 7px;
}

.zirkel { display: flex; align-items: center; gap: 0.8rem; }
.zirkel img { width: 44px; height: 44px; border-radius: 3px; flex: none; }
.zirkel span { font-size: 0.78rem; line-height: 1.35; color: #9d968e; }
.zirkel b { color: #fff; font-family: var(--anzeige); font-weight: 700; }

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 800px) {
  .auftritt, .reihe, .reihe.eng, .zitatband .bahn { grid-template-columns: 1fr; }
  .presse { grid-template-columns: 1fr; }
  .reihe.eng .bild { position: static; }
  .reihe .bild img { max-height: 420px; }
  .auftritt .bild img { max-height: none; }
  .menue { gap: 0.9rem; font-size: 0.92rem; }
  .fuss .bahn { flex-direction: column; }
}

@media (max-width: 520px) {
  .paar { grid-template-columns: 1fr; }
}
