/* www.hw-schmidt.de – Farben und Schrift aus Fortissimo (docs/konzept/11-design.md).
   Brass ist der einzige Akzent: als Fläche mit Ink-Schrift, als Schrift nur abgedunkelt. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

:root {
  --grund: #F7F4EC;       /* Paper */
  --flaeche: #FFFFFF;
  --text: #1C2A3A;        /* Ink */
  --text-neben: #676E78;  /* Slate als Schrift */
  --link: #84652C;        /* Brass als Schrift; #8B6B30 läge mit 4,50 zu knapp */
  --knopf: #C89A46;       /* Brass */
  --knopf-text: #1C2A3A;
  --linie: #8A93A0;       /* Slate */
  --kopf-grund: #1C2A3A;
  --kopf-text: #F7F4EC;
  --buehne-grund: #1C2A3A;  /* dunkle Bühne der Fortissimo-Seite */
  --buehne-text: #F7F4EC;
  --buehne-neben: #A9B1BC;
  --buehne-akzent: #C89A46;
  --radius: 14px;
  --spalte: 68rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1C2A3A;
    --flaeche: #24364A;
    --text: #F7F4EC;
    --text-neben: #A9B1BC;
    --link: #D9B26A;
    --knopf: #C89A46;
    --knopf-text: #1C2A3A;
    --linie: #4A5868;
    --kopf-grund: #142030;
    --kopf-text: #F7F4EC;
    --buehne-grund: #142030;
    --buehne-text: #F7F4EC;
    --buehne-neben: #A9B1BC;
    --buehne-akzent: #D9B26A;
  }
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--knopf); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.inhalt { max-width: var(--spalte); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 720px) { .inhalt { padding: 0 2rem; } }

/* Kopf */
.seitenkopf { background: var(--kopf-grund); color: var(--kopf-text); }
.seitenkopf .inhalt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.seitenkopf a { color: var(--kopf-text); text-decoration: none; }
.seitenkopf a:hover, .seitenkopf a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--knopf); text-decoration-thickness: 2px; }
.seitenkopf__name { font-weight: 700; font-size: 1.05rem; }
.seitenkopf__nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }

/* Abschnitte */
.abschnitt { padding: 3rem 0; }
@media (min-width: 720px) { .abschnitt { padding: 4.5rem 0; } }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt + .abschnitt:not(.abschnitt--flaeche) { border-top: 1px solid var(--linie); }

.dachzeile { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--link); margin-bottom: 0.5rem; }
.vorspann { font-size: clamp(1.15rem, 2.6vw, 1.35rem); max-width: 40em; }
.nebentext { color: var(--text-neben); font-size: 0.95rem; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--knopf); color: var(--knopf-text); font-weight: 600; text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 999px; border: 2px solid var(--knopf); }
.knopf:hover { filter: brightness(1.06); text-decoration: none; }
.knopf--leise { background: transparent; color: var(--text); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Einstieg */
.held { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .held { grid-template-columns: 5fr 6fr; gap: 3rem; } }
.held__bild img { border-radius: var(--radius); box-shadow: 0 12px 40px rgba(28, 42, 58, 0.18); }
.logo { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 1rem; }

/* Porträt */
.portrait { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--knopf); }
.ueber-mich { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 720px) { .ueber-mich { grid-template-columns: 180px 1fr; } }

/* Raster und Karten */
.raster { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .raster { grid-template-columns: repeat(3, 1fr); } }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; }
.abschnitt--flaeche .karte { background: var(--grund); }
.karte__bild { display: block; margin: -1.25rem -1.25rem 1rem; border-bottom: 1px solid var(--linie); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.karte p:last-child { margin-bottom: 0; }

/* Nummerierte Schritte */
.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
.schritte li { counter-increment: schritt; padding-left: 3.25rem; position: relative; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--knopf); color: var(--knopf-text); font-weight: 700; display: grid; place-items: center; }

/* Fuß */
.seitenfuss { border-top: 1px solid var(--linie); padding: 2rem 0; font-size: 0.9rem; color: var(--text-neben); }
.seitenfuss .inhalt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.seitenfuss a { color: var(--text-neben); }
.seitenfuss nav { display: flex; gap: 1.25rem; }

/* Telefon-Screenshot: nicht höher als der Bildschirm, mittig */
.held__bild--telefon { justify-self: center; }
.held__bild--telefon img { max-height: 80vh; width: auto; }

.mehr { margin: 2rem 0 0; font-weight: 600; }
.ueber-mich .portrait { width: 120px; height: 120px; }
@media (min-width: 720px) { .ueber-mich { grid-template-columns: 140px 1fr; } }
.held h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }

/* Startseite: Überschrift in festen Zeilen. Die Schrift wächst mit der Breite,
   damit "für Spielmannszüge" auf keinem Bildschirm umbricht. */
.held--start h1 { font-size: min(7vw, 2.75rem); }
@media (min-width: 900px) {
  .held--start { grid-template-columns: 1fr 1fr; }
  .held--start h1 { font-size: min(3.3vw, 2.75rem); }
}
.zeile { display: block; white-space: nowrap; }

/* Fortissimo-Seite: eigener Auftakt als dunkle Bühne über die volle Breite */
.pfad { font-size: 0.9rem; margin: 0 0 2rem; color: var(--buehne-neben); }
.pfad a { color: var(--buehne-neben); }
.buehne { background: var(--buehne-grund); color: var(--buehne-text); text-align: center; padding: 2.5rem 0 10.5rem; }
@media (min-width: 720px) { .buehne { padding: 3rem 0 16rem; } }
.buehne .dachzeile { color: var(--buehne-akzent); }
.buehne h1 { max-width: 16em; margin-left: auto; margin-right: auto; font-size: clamp(2rem, 5.5vw, 3.5rem); }
.buehne .vorspann { margin-left: auto; margin-right: auto; }
.buehne .nebentext { color: var(--buehne-neben); }
.buehne .knoepfe { justify-content: center; }
.buehne .knopf--leise { color: var(--buehne-text); }
.buehne .logo { width: 112px; height: 112px; margin: 0 auto 1.25rem; box-shadow: 0 0 0 4px var(--buehne-akzent); }
.buehne__bild { margin-top: -7rem; margin-bottom: 1rem; }
@media (min-width: 720px) { .buehne__bild { margin-top: -11rem; } }
.buehne__bild img { margin: 0 auto; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(28, 42, 58, 0.35); }
