/* =============================================================
   FAMOWS – Stiftung zur Förderung der Aus- und Weiterbildung
   im Musikinstrumentenbau an der Oscar-Walcker-Schule
   Stylesheet, Entwurf 1 · 2026-07-25
   Designsystem: media/Farben.md, media/Schriften.md, media/symbols/
   Keine externen Ressourcen (Fonts liegen unter /schrift).
   ============================================================= */

/* ---------- 1. Schriften (lokal, kein CDN) ---------- */

/* Cormorant Garamond – variabel 300–700, latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../schrift/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../schrift/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../schrift/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Italiana – Deco-Serife für Überschriften, nah an der Wortmarke */
@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schrift/italiana-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Designtokens ---------- */

:root {
  --creme: #efe6dc;
  --anthrazit: #242424;
  --gold: #bb873f;

  --grund: var(--creme);
  --grund-2: #f6f1e9;
  --text: var(--anthrazit);
  --text-leise: #5d564e;
  --karte: #f7f2ec;
  --linie: rgba(36, 36, 36, 0.16);
  --linie-stark: rgba(36, 36, 36, 0.3);
  /* Hervorgehobene Blöcke – Hero, Spendenabschnitt, Fußzeile. Sie folgen dem
     Thema: im Hellmodus ein tieferer Cremeton, im Dunkelmodus Anthrazit. */
  --betont-grund: #e8dccd;
  --betont-grund-2: #f4eee5;
  --betont-text: var(--anthrazit);
  --betont-leise: #5d564e;
  --betont-linie: rgba(36, 36, 36, 0.18);

  /* Gold als Schriftfarbe. Das Marken-Gold #bb873f erreicht auf hellem Grund
     nur 2,6:1 und ist als Text nicht lesbar; für Linien, Rahmen, Flächen und
     Ornamente bleibt es unverändert. */
  --gold-text: #7f551c;
  --schatten: 0 1px 2px rgba(36, 36, 36, 0.06), 0 8px 24px rgba(36, 36, 36, 0.07);
  --trenner: url("../zier/trenner-hell.svg");

  --schrift-text: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --schrift-display: "Italiana", "Cormorant Garamond", Didot, Georgia, serif;

  --breite: 68rem;
  --breite-schmal: 44rem;
  --radius: 2px;
  --rhythmus: clamp(4rem, 9vw, 7.5rem);
}

/* Im Dunkelmodus bleibt der Grundton exakt bei #242424 – identisch mit dem
   Hintergrund der dunklen Logovariante, damit die Wortmarke randlos sitzt. */
@media (prefers-color-scheme: dark) {
  :root {
    --grund: var(--anthrazit);
    --grund-2: #1c1c1c;
    --text: var(--creme);
    --text-leise: #a79f95;
    --karte: #2c2c2c;
    --linie: rgba(239, 230, 220, 0.16);
    --linie-stark: rgba(239, 230, 220, 0.32);
    --betont-grund: var(--anthrazit);
    --betont-grund-2: #2e2e2e;
    --betont-text: var(--creme);
    --betont-leise: #a79f95;
    --betont-linie: rgba(239, 230, 220, 0.16);
    --gold-text: #c28f45;
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --trenner: url("../zier/trenner-dunkel.svg");
  }
}

/* ---------- 3. Grundlagen ---------- */

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

html {
  /* Grundmaß für alle rem-Angaben. 112,5 % entsprechen 18 px statt der
     üblichen 16 px – die Seite richtet sich an eine überwiegend ältere
     Leserschaft. Prozent statt Pixel, damit eine im Browser eingestellte
     größere Schrift weiterhin durchschlägt. */
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: clamp(1.125rem, 0.6vw + 1rem, 1.3125rem);
  font-weight: 400;
  line-height: 1.7;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

/* Zahlen durchgängig als Versalziffern – lesbarer bei IBAN und Beträgen */
.fakt__wert,
.aufteilung__quote,
.konto__wert,
.pflichthinweise,
.fakt__text {
  font-variant-numeric: lining-nums;
}

.leise {
  font-size: 0.95rem;
  color: var(--text-leise);
}

h1,
h2,
h3 {
  font-family: var(--schrift-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-wrap: balance;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: 0.08em;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  letter-spacing: 0.06em;
}

p {
  margin: 0 0 1.2em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.18s ease;
}
a:hover {
  color: var(--gold-text);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

strong {
  font-weight: 600;
}

abbr[title] {
  text-decoration: none;
  border-bottom: 1px dotted var(--linie-stark);
  cursor: help;
}

/* Sprungmarke für Tastatur- und Screenreader-Nutzung */
.sprunglink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--anthrazit);
  color: var(--creme);
  padding: 0.75rem 1.25rem;
}
.sprunglink:focus {
  left: 1rem;
  top: 1rem;
}

.nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 4. Layout ---------- */

.huelle {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}

.huelle--schmal {
  width: min(100% - 2.5rem, var(--breite-schmal));
  margin-inline: auto;
}

section {
  padding-block: var(--rhythmus);
}

.abschnitt--getont {
  background: var(--grund-2);
}

.abschnitt--betont {
  background: var(--betont-grund);
  color: var(--betont-text);
  border-block: 1px solid var(--betont-linie);
}
.abschnitt--betont .vorzeile,
.abschnitt--betont .leise {
  color: var(--betont-leise);
}

/* .einleitung setzt --text und wäre im Hellmodus Anthrazit auf Anthrazit –
   der Abschnitt ist in beiden Themes dunkel. */
.abschnitt--betont .einleitung {
  color: var(--betont-text);
}

/* Zierlinie zwischen Inhalten */
.zierlinie {
  background: var(--trenner) center / 13.75rem auto no-repeat;
  height: 1rem;
  margin-block: 2.5rem;
}

/* ---------- 5. Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--grund) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}

.kopf__inhalt {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.5rem;
}

/* Nur dort starr, wo die Navigationsliste sichtbar ist – sonst würde sie das
   Logo zusammendrücken. Auf Telefonen darf es schrumpfen, weil dort Logo und
   Spenden-Knopf sich den Platz teilen müssen. */
@media (min-width: 62rem) {
  .kopf__logo {
    flex: none;
  }
}

.kopf__logo img {
  width: auto;
  height: 2.4rem;
}

.kopf__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.2vw, 1.2rem);
}

.kopf__nav ul {
  display: flex;
  gap: clamp(0.85rem, 1.2vw, 1.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.kopf__nav a:not(.knopf) {
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-leise);
}
.kopf__nav a:not(.knopf):hover {
  color: var(--gold-text);
}

/* Navigationsliste auf kleinen Bildschirmen ausblenden – der
   Spenden-Button und die Fußzeile bleiben als Wege erhalten.
   Hinweis: rem in einer Media Query bezieht sich immer auf 16 px, nicht auf
   die hier gesetzten 112,5 %. Die vergrößerte Kopfzeile braucht gemessene
   974 px, der Punkt liegt daher bei 62rem = 992 px. */
@media (max-width: 62rem) {
  .kopf__nav ul {
    display: none;
  }
}

/* ---------- 6. Schaltflächen ---------- */

.knopf {
  display: inline-block;
  font-family: var(--schrift-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  /* Anthrazit statt Weiß: Weiß auf dem Marken-Gold erreicht nur 3,04:1,
     Anthrazit 4,92:1. Die Fläche bleibt exakt der Goldton der Marke. */
  color: var(--anthrazit);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.knopf:hover {
  /* Beim Überfahren wird aufgehellt, nicht abgedunkelt – mit dunkler Schrift
     steigt der Kontrast dadurch auf 5,68:1 statt auf 3,87:1 zu fallen. */
  background: #c69350;
  border-color: #c69350;
  color: var(--anthrazit);
}
.knopf:active {
  transform: translateY(1px);
}

.knopf--klein {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.knopf--leer {
  background: transparent;
  color: inherit;
}
.knopf--leer:hover {
  background: transparent;
  color: var(--gold-text);
  border-color: var(--gold);
}

/* ---------- 7. Hero ---------- */

/* Der Hero liegt auf einer ruhigen Anthrazitfläche – im gleichen Ton wie die
   dunkle Logovariante, damit die Wortmarke ohne sichtbare Kante sitzt.
   Das Foto folgt darunter als eigenes Bildband. */
.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 7.5rem);
  background: var(--betont-grund);
  color: var(--betont-text);
}

/* Bildband unter dem Hero */
.bildband {
  border-bottom: 1px solid rgba(187, 135, 63, 0.45);
}
.bildband img {
  width: 100%;
  height: clamp(13rem, 34vw, 24rem);
  object-fit: cover;
  /* Klavierbau-Foto: 45 % legt das Band auf die Diagonale von der Tastatur
     unten links zu den Hämmern oben rechts – die arbeitenden Hände bleiben
     vollständig im Bild, die Tasten machen das Motiv sofort erkennbar. */
  object-position: 50% 45%;
}

/* Markenblock im Hero: Wortmarke und Trenner als Vektor, Claim als echter Text.
   Die Anteile stammen aus der Geometrie des Originallogos – Trenner 88,7 % der
   Breite, Abstände 3,07 % und 5,06 % (Prozent von margin-top beziehen sich auf
   die Breite des Elternelements, daher exakt proportional). */
.hero__marke {
  width: min(30rem, 82%);
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  container-type: inline-size;
}

.hero__wortmarke {
  display: block;
  width: 100%;
  height: auto;
}

.hero__marke-trenner {
  display: block;
  width: 88.7%;
  height: auto;
  margin: 3.07% auto 0;
}

.hero__claim {
  margin: 5.06% 0 0;
  font-family: var(--schrift-text);
  font-weight: 400;
  font-size: 1.1rem;          /* Rückfall für Browser ohne Container-Einheiten */
  font-size: 4.15cqw;
  line-height: 1;
  letter-spacing: 0.185em;
  text-indent: 0.185em;       /* gleicht die Sperrung hinter dem letzten Zeichen aus */
  color: var(--betont-text);
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.hero__untertitel {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--betont-text);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

.hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__rechtsform {
  margin: 2.5rem auto 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--betont-leise);
  max-width: 32rem;
}

/* ---------- 8. Abschnittstitel mit C-Schlüssel-Klammern ---------- */

.titelblock {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vorzeile {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 1rem;
}

.geklammert {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
}
.geklammert::before,
.geklammert::after {
  content: "";
  height: clamp(1.6rem, 3.2vw, 2.3rem);
  aspect-ratio: 27.04 / 31.35; /* Seitenverhältnis der Symbol-SVGs */
  flex: none;
}
.geklammert::before {
  background: url("../zier/klammer-links.svg") center / contain no-repeat;
}
.geklammert::after {
  background: url("../zier/klammer-rechts.svg") center / contain no-repeat;
}

.einleitung {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  color: var(--text);
}

/* Initial – erster Buchstabe des Einleitungstexts */
.einleitung--initial::first-letter {
  float: left;
  font-family: var(--schrift-display);
  font-size: 3.6em;
  line-height: 0.78;
  padding: 0.1em 0.12em 0 0;
  color: var(--gold-text);
}

/* ---------- 9. Karten & Raster ---------- */

.raster {
  display: grid;
  gap: 1.5rem;
  /* vier Karten – auf großen Schirmen bewusst 2 × 2 statt einer engen Reihe */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--schatten);
}

.karte__marke {
  width: 1.35rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  background: url("../zier/stimmgabel.svg") center / contain no-repeat;
}

.karte h3 {
  margin-bottom: 0.6rem;
}

.karte p {
  font-size: 1.05rem;
  color: var(--text-leise);
}

/* Zahlen / Fakten */
.fakten {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--linie);
  text-align: center;
}

.fakt__wert {
  display: block;
  font-family: var(--schrift-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--gold-text);
  line-height: 1.1;
}

.fakt__text {
  font-size: 0.98rem;
  color: var(--text-leise);
}

/* ---------- 10. Handwerks-Galerie ---------- */

.gewerke {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 3.5rem;
}

.gewerk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 15rem;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gewerk img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gewerk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.85),
    rgba(20, 20, 20, 0.15) 60%,
    rgba(20, 20, 20, 0.05)
  );
}

.gewerk__name {
  font-family: var(--schrift-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--creme);
}

/* ---------- 11. Spendenabschnitt ---------- */

.spenden__kopf {
  text-align: center;
}

.spenden__gitter {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 3rem;
}

@media (min-width: 52rem) {
  .spenden__gitter {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
    gap: 3.5rem;
  }
}

/* Linke Spalte des Spendengitters: Konto und Online-Weg stehen untereinander,
   rechts daneben laufen die Pflichttexte der Treuhänderin durch. Ohne diese
   Spalte läge der Online-Block erst unterhalb der gesamten rechten Spalte. */
.spenden__spalte {
  display: grid;
  align-content: start;
  gap: 2.5rem;
}

.konto {
  /* Rasterzellen haben min-width:auto und werden dadurch von langen Wörtern
     wie „Körperschaftsteuergesetzes“ über die Spaltenbreite hinausgedrückt. */
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
  background: var(--betont-grund-2);
  border: 1px solid rgba(187, 135, 63, 0.4);
  border-radius: var(--radius);
  padding: 2rem;
}

.konto h3 {
  color: var(--gold-text);
  margin-bottom: 1.5rem;
}

.konto dl {
  margin: 0;
  display: grid;
  gap: 0.35rem 1.25rem;
}

@media (min-width: 30rem) {
  .konto dl {
    grid-template-columns: auto 1fr;
  }
}

.konto dt {
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--betont-leise);
  padding-top: 0.35em;
}

.konto dd {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.konto dd:last-of-type {
  margin-bottom: 0;
}

.konto__wert {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
}

.konto__hinweis {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(187, 135, 63, 0.3);
  font-size: 0.98rem;
  color: var(--betont-text);
}

/* Folgeabsatz gehört zum selben Hinweis – nur eine Trennlinie darüber */
.konto__hinweis + .konto__hinweis {
  margin-top: 0.9rem;
  padding-top: 0;
  border-top: 0;
}

/* ---------- Online-Spende über das Portal der Stiftergemeinschaften ---------- */

.onlinespende {
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: start;
  border: 1px solid rgba(187, 135, 63, 0.4);
  border-radius: var(--radius);
  /* Schmaler als .konto, damit „Zum Spendenformular“ auf kleinen
     Telefonen (390 px) einzeilig in den Knopf passt. */
  padding: 1.5rem;
}

@media (min-width: 46rem) {
  .onlinespende {
    grid-template-columns: 1fr auto;
    padding: 2rem;
  }
  /* Überschrift, Text, Knopf und Fußnote in der linken Spalte;
     der QR-Code steht rechts daneben über alle Zeilen. */
  .onlinespende > :not(.onlinespende__qr) {
    grid-column: 1;
  }
  .onlinespende__qr {
    grid-column: 2;
    grid-row: 1 / span 4;
    text-align: center;
  }
}

/* Ab 52rem sitzt der Block in der linken Spalte und ist nur noch etwa halb so
   breit. Der QR-Code rückt deshalb wieder unter den Text – nebeneinander bliebe
   für Fließtext und Knopf zu wenig Platz. */
@media (min-width: 52rem) {
  .onlinespende {
    grid-template-columns: minmax(0, 1fr);
  }
  .onlinespende > :not(.onlinespende__qr),
  .onlinespende__qr {
    grid-column: 1;
  }
  .onlinespende__qr {
    grid-row: auto;
    justify-self: center;
  }
}

.onlinespende h3 {
  color: var(--gold-text);
  margin: 0;
}

.onlinespende p {
  color: var(--betont-text);
  margin: 0;
}

.onlinespende .knopf {
  justify-self: start;
}

/* Gestapelt (Mobil) läuft der QR-Block linksbündig mit dem übrigen Text;
   erst in der zweispaltigen Fassung steht er als eigene Spalte zentriert. */
.onlinespende__qr {
  margin: 0;
}

/* Weißer Rahmen: der QR-Code braucht eine helle Ruhezone, um auf dem
   anthrazitfarbenen Grund zuverlässig scanbar zu bleiben. */
.onlinespende__qr img {
  display: block;
  width: 9.5rem;
  height: auto;
  background: #fff;
  padding: 0.6rem;
  border-radius: var(--radius);
}

.onlinespende__qr figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--betont-leise);
}

.pflichthinweise {
  font-size: 1.02rem;
  color: var(--betont-text);
}

.pflichthinweise h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--gold-text);
}
.pflichthinweise h3:first-child {
  margin-top: 0;
}

.pflichthinweise p {
  color: var(--betont-text);
  margin-bottom: 1rem;
}

.aufteilung {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.aufteilung__teil {
  flex: 1 1 8rem;
  /* min-width: auto ist die Vorgabe für Flex-Elemente und verhindert, dass sie
     unter die Breite ihres längsten Wortes schrumpfen. „Grundstockvermögen“ und
     „Zweckverwirklichung“ sprengten dadurch auf schmalen Geräten die Seite. */
  min-width: 0;
  border: 1px solid rgba(187, 135, 63, 0.35);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  text-align: center;
}

.aufteilung__quote {
  display: block;
  font-family: var(--schrift-display);
  font-size: 1.8rem;
  color: var(--gold-text);
  line-height: 1.2;
}

.aufteilung__was {
  font-size: 0.9rem;
  color: var(--betont-leise);
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ---------- 11b. Partnerlogos auf heller Plakette ---------- */

/* Die Treuhänderin schreibt zwei Logos vor (Merkblatt vom 18.05.2026, S. 1).
   Beide stehen in der Fußzeile beim Hinweis auf die Unterstiftung – so wie im
   Flyer-Muster der Treuhänderin, wo sie klein und auf weißem Feld am Fuß der
   Panels sitzen. Sie kamen als EPS in den Hausfarben – Grau mit Rot bzw.
   Orange – und dürfen nicht umgefärbt werden.
   Auf dem anthrazitfarbenen Grund des Dunkelmodus wäre das Grau unlesbar.
   Deshalb stehen sie in beiden Themes auf demselben hellen Feld: das Logo
   bleibt unverändert, die Lesbarkeit hängt nicht am Farbschema, und die
   Fremdmarke setzt sich sichtbar von unserer eigenen ab. */
.plakette {
  display: inline-block;
  margin: 0;
  padding: 0.8rem 1.1rem;
  background: #f6f1e9;
  border: 1px solid rgba(36, 36, 36, 0.12);
  border-radius: var(--radius);
  line-height: 0;
}

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

/* Die beiden Marken haben sehr verschiedene Proportionen (6,3:1 gegenüber
   3,6:1) und tragen ihre Schrift in ganz unterschiedlicher relativer Größe.
   Deshalb sind sie nicht auf gleiche Höhe gebracht, sondern auf gleich große
   *Schrift* – erst dann wirken sie nebeneinander gleich gewichtig. */
.plakette--fuss {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plakette--fuss img {
  width: 11rem;
}

.plakette--fuss-dt img {
  width: 15rem;
}

@media (max-width: 26rem) {
  .plakette--fuss img {
    width: 100%;
  }
  .plakette--fuss-dt img {
    width: 100%;
  }
}

/* ---------- 12. Platzhalter (nur im Entwurf sichtbar) ---------- */

.platzhalter {
  display: inline-block;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 0.05em 0.5em;
  color: var(--gold-text);
  font-style: italic;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

.platzhalter-block {
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-block: 1.5rem;
  font-size: 1rem;
}

.platzhalter-block > :first-child {
  margin-top: 0;
}

.platzhalter-block__marke {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.6rem;
}

/* ---------- 13. Unterstützer & Grußworte ---------- */

.grussworte {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.grusswort {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}

.grusswort[open] {
  border-color: rgba(187, 135, 63, 0.55);
}

.grusswort summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.grusswort summary::-webkit-details-marker {
  display: none;
}

.grusswort__portrait {
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  background: var(--grund-2);
  border: 1px solid var(--linie);
}

.grusswort__portrait--fehlt {
  display: grid;
  place-items: center;
  font-family: var(--schrift-display);
  font-size: 1.4rem;
  color: var(--gold-text);
  border-style: dashed;
  border-color: var(--gold);
}

.grusswort__person {
  flex: 1 1 auto;
  min-width: 0;
  /* lange Komposita wie „Musikinstrumentenmacher-Innung“ sonst die Breite
     der Zeile bestimmen und auf kleinen Geräten die Seite sprengen */
  hyphens: auto;
  overflow-wrap: break-word;
}

.grusswort__name {
  display: block;
  font-family: var(--schrift-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.grusswort__rolle {
  display: block;
  font-size: 0.95rem;
  color: var(--text-leise);
  line-height: 1.4;
}

.grusswort__pfeil {
  flex: none;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}
.grusswort[open] .grusswort__pfeil {
  color: var(--text-leise);
}
.grusswort__pfeil::after {
  content: " ＋";
}
.grusswort[open] .grusswort__pfeil::after {
  content: " −";
}

@media (max-width: 34rem) {
  .grusswort__pfeil {
    display: none;
  }
}

.grusswort[open] summary {
  border-bottom: 1px solid var(--linie);
}

.grusswort__text {
  max-width: 48rem; /* Zeilenlänge begrenzen – die Grußworte sind lang */
  padding: 1.4rem 1.4rem 1.6rem;
}

.grusswort__text p {
  font-size: 1.08rem;
}

.grusswort__text blockquote {
  margin: 0 0 1.2em;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-text);
}

.grusswort__signatur {
  font-size: 0.98rem;
  color: var(--text-leise);
  border-top: 1px solid var(--linie);
  padding-top: 1rem;
}

/* ---------- 14. Kontakt ---------- */

.kontakt__gitter {
  display: grid;
  gap: 2.5rem;
  /* min(17rem, 100%) statt 17rem: Bei der größeren Grundschrift sind 17rem
     306 px und damit breiter als ein schmales Telefon – die Spalte muss
     darunter schrumpfen dürfen. */
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  margin-top: 3rem;
  hyphens: auto;
  overflow-wrap: break-word;
}

.kontakt address {
  font-style: normal;
}

.kontakt h3 {
  margin-bottom: 0.75rem;
}

/* ---------- 15. Fußzeile ---------- */

.fuss {
  background: var(--betont-grund);
  color: var(--betont-text);
  padding-block: 3.5rem 2.5rem;
  font-size: 1rem;
}

.fuss__gitter {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.fuss__logo img {
  height: 2.6rem;
  width: auto;
  margin-bottom: 1rem;
}

.fuss p {
  color: var(--betont-leise);
  font-size: 0.98rem;
}

.fuss h2 {
  font-size: 1rem;
  font-family: var(--schrift-text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--betont-leise);
  margin-bottom: 0.9rem;
}

.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.fuss a {
  text-decoration: none;
}
.fuss a:hover {
  color: var(--gold-text);
}

.fuss__schluss {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--betont-linie);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--betont-leise);
}

.fuss__partner {
  flex: 1 1 100%;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

/* ---------- 16. Rechtstexte (Impressum, Datenschutz) ---------- */

.rechtstext {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.rechtstext h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.rechtstext h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-top: 2.75rem;
}

.rechtstext h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.rechtstext ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2em;
}

.rechtstext li {
  margin-bottom: 0.4em;
}

.rechtstext .stand {
  color: var(--text-leise);
  font-size: 0.95rem;
}

.zurueck {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-leise);
}
.zurueck::before {
  content: "← ";
}

/* ---------- 17. Druck ---------- */

@media print {
  .kopf,
  .hero__aktionen,
  .knopf {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  .grusswort__text {
    display: block !important;
  }
}
