/* ==========================================================================
   Sino Bloom Academy – gemeinsames Stylesheet für alle Seiten
   Aufbau:  1 Schriften · 2 Variablen · 3 Grundgerüst · 4 Bauteile
            5 Kopfzeile · 6 Startseite · 7 Aktuelles · 8 Anmeldung
            9 Rechtstexte · 10 Fußzeile · 11 Mobil
   ========================================================================== */

/* ---------- 1 Schriften (lokal eingebunden, kein Google-Fonts-Aufruf) ----- */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('schriften/playfair-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('schriften/playfair-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;
}
/* Nur für den Namenszug „Sino Bloom Academy“.
   ZCOOL XiaoWei (站酷小薇) ist eine chinesische Song-Schrift – eine gesetzte
   Druckschrift, keine Handschrift. Ihre lateinischen Buchstaben sind im
   selben Duktus gezeichnet: hoher Strichkontrast, feine Waagerechte, flache
   Abschlüsse. Dadurch wirkt der Name chinesisch und trotzdem seriös.
   Nur ein Schnitt (400) und nur der lateinische Zeichensatz: 8 KB. */
@font-face {
  font-family: 'ZCOOL XiaoWei';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('schriften/zcool-xiaowei-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: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('schriften/inter-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: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('schriften/inter-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 Variablen --------------------------------------------------- */

:root {
  --creme:      #FBF7F1;
  --creme-warm: #F6EDE1;
  --weiss:      #FFFFFF;
  --rot:        #B4152B;
  --rot-hell:   #D0324A;
  --gold:       #C8A24A;
  --braun:      #2F211C;
  --text:       #2A2320;
  --text-leise: #6B605A;

  /* Chinesische Zeichen stehen hinter den lateinischen Schriften:
     lateinische Buchstaben kommen aus Playfair/Inter, Hanzi aus der
     System-Schrift des jeweiligen Geräts. */
  --serif: 'Playfair Display', 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, 'Times New Roman', serif;
  /* Eigene Schrift nur für den Namenszug – chinesische Song-Anmutung.
     Als Ersatz die Song-Systemschriften mit demselben Duktus. */
  --schrift-marke: 'ZCOOL XiaoWei', 'Songti SC', 'STSong', 'SimSun',
                   'Noto Serif SC', Georgia, serif;
  --sans:  'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC',
           -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --rand:     1px solid #EFE6D9;
  --schatten: 0 2px 10px rgba(47, 33, 28, .05), 0 12px 30px rgba(47, 33, 28, .06);
  --schatten-hoch: 0 6px 16px rgba(47, 33, 28, .09), 0 20px 44px rgba(47, 33, 28, .10);
  --breite: 1180px;
  --radius: 14px;
}

/* ---------- 3 Grundgerüst ------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

/* Wird vom Skript im <head> gesetzt, solange die chinesische Fassung noch
   eingesetzt wird – verhindert kurzes Aufblitzen der deutschen Texte. */
.sprache-wechselt body { visibility: hidden; }

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

a { color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rot-hell); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

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

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.abschnitt { padding: 96px 0; }
.abschnitt--warm { background: var(--creme-warm); }

/* Sprungmarke für Tastaturnutzer */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--rot); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.rot { color: var(--rot); }

/* ---------- 4 Bauteile ---------------------------------------------------- */

/* Buttons -- Pillenform, weiches Anheben beim Überfahren */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease;
}
.btn--primaer {
  background: var(--rot);
  color: var(--weiss);
  box-shadow: 0 6px 18px rgba(180, 21, 43, .25);
}
.btn--primaer:hover,
.btn--primaer:focus-visible {
  background: var(--rot-hell);
  color: var(--weiss);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(180, 21, 43, .32);
}
.btn--sekundaer {
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  border-color: rgba(47, 33, 28, .16);
}
.btn--sekundaer:hover,
.btn--sekundaer:focus-visible {
  background: var(--weiss);
  color: var(--rot);
  border-color: var(--rot);
  transform: translateY(-2px);
  box-shadow: var(--schatten);
}
.btn--breit { width: 100%; justify-content: center; font-size: 17px; padding: 18px 32px; }

/* Der Pfeil steht in keiner der beiden Web-Schriften – bewusst Systemschrift. */
.pfeil {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Symbol', Arial, sans-serif;
  transition: transform .18s ease;
}
.btn:hover .pfeil { transform: translateX(3px); }

/* Karten */
.karte {
  background: var(--weiss);
  border: var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 28px;
}

/* Abschnitts-Kopf */
.kopf { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 14px;
}
.kopf h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: .35em; }
.kopf p  { color: var(--text-leise); font-size: 18px; }

/* Goldene Zierlinie */
.zierlinie {
  width: 68px; height: 3px; border-radius: 2px;
  background: var(--gold);
  margin: 24px auto 0;
  border: 0;
}

/* Wasserzeichen 中文 auf den Unterseiten */
.wasserzeichen {
  position: absolute;
  top: -40px; right: -20px;
  font-family: var(--serif);
  font-size: clamp(180px, 30vw, 380px);
  line-height: 1;
  color: var(--rot);
  opacity: .04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Seitenkopf der Unterseiten */
.seitenkopf {
  position: relative;
  overflow: hidden;
  background: var(--creme-warm);
  padding: 80px 0 72px;
  text-align: center;
}
.seitenkopf .inhalt { position: relative; z-index: 1; }
.seitenkopf h1 { font-size: clamp(34px, 5.4vw, 54px); margin-bottom: .3em; }
.seitenkopf p  { color: var(--text-leise); font-size: 18px; max-width: 640px; margin: 0 auto; }

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

.kopfzeile {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--weiss);
  box-shadow: 0 1px 0 rgba(47, 33, 28, .07), 0 4px 14px rgba(47, 33, 28, .05);
}
.kopfzeile__innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.marke__logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: var(--weiss);
  flex: none;
}
.marke__name {
  font-family: var(--schrift-marke);
  /* Nur ein Schnitt vorhanden – 400 verhindert einen künstlichen Fettschnitt,
     der die feinen Waagerechten verschmieren würde. */
  font-weight: 400;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: 0;
}
.marke__claim {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  /* Senkrechter Abstand zwischen dem Namen „Sino Bloom Academy“ und der
     Unterzeile. */
  margin-top: 1px;
  text-transform: uppercase;
  color: var(--text-leise);
  font-weight: 400;
}

.navigation { margin-left: auto; }
.navigation__liste {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation__liste a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.navigation__liste a:hover { color: var(--rot); }
.navigation__liste a[aria-current="page"] { color: var(--rot); border-bottom-color: var(--rot); }

/* Sprachumschalter */
.sprache {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(47, 33, 28, .18);
  background: var(--weiss);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.sprache:hover { border-color: var(--rot); color: var(--rot); box-shadow: var(--schatten); }

/* Burger-Schaltfläche – nur auf schmalen Bildschirmen sichtbar */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(47, 33, 28, .18);
  border-radius: 10px;
  background: var(--weiss);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  position: relative;
  width: 20px; height: 2px;
  background: var(--text);
  transition: background .18s ease;
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--text);
  transition: transform .18s ease, top .18s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 6 Startseite -------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 96px 0;
  /* Dunkler Verlauf von links, damit die weiße Schrift lesbar bleibt. Rechts
     bleibt er hell, dort liegt im Foto die schreibende Hand – die bleibt so
     sichtbar. Der Verlauf ist etwas kräftiger als beim Platzhalter, weil das
     Papier im Foto sehr hell ist. */
  background-image:
    linear-gradient(100deg, rgba(28, 18, 15, .92) 0%, rgba(28, 18, 15, .78) 42%, rgba(28, 18, 15, .34) 100%),
    url('bilder/hero-kalligrafie.jpg');
  background-size: cover;
  /* Der Ausschnitt sitzt etwas rechts, damit Pinsel und Schriftzeichen neben
     dem Text zu sehen sind statt hinter ihm. */
  background-position: 62% center;
}
/* 760px statt 660px, damit „Sino Bloom Academy“ bei voller Schriftgröße auf
   eine Zeile passt (der Namenszug baut 8,97 em, bei 76px also 682px).
   Der Fließtext darunter bleibt über seine eigene max-width bei 560px. */
.hero__inhalt { max-width: 760px; color: var(--weiss); }
.hero__pille {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--rot);
  color: var(--weiss);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero__pille::before { content: '●'; font-size: 10px; line-height: 1; }
.hero h1 {
  font-family: var(--schrift-marke);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--weiss);
  /* Der Name steht immer auf EINER Zeile. Damit er auch auf schmalen Handys
     nicht aus dem Bild läuft, wächst die Schrift bis 76px mit der
     Fensterbreite: 9,2vw × 8,97em Namensbreite bleibt bei jeder Breite
     innerhalb des verfügbaren Platzes (geprüft von 320px bis Desktop). */
  white-space: nowrap;
  font-size: min(76px, 9.2vw);
  margin-bottom: .2em;
}
.hero__claim {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, .92);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

/* Raster „Was uns ausmacht" */
.raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.raster--drei { grid-template-columns: repeat(3, 1fr); }

.merkmal__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(180, 21, 43, .09);
  color: var(--rot);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.merkmal__icon svg { width: 26px; height: 26px; }
.merkmal h3 { font-size: 21px; margin-bottom: .45em; }
.merkmal p  { color: var(--text-leise); font-size: 16px; }

/* Karten „Offen für alle Familien" */
.zielgruppe { text-align: center; }
.zielgruppe__emoji { font-size: 44px; line-height: 1; display: block; margin-bottom: 16px; }
.zielgruppe h3 { font-size: 21px; margin-bottom: .45em; }
.zielgruppe p  { color: var(--text-leise); font-size: 16px; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.galerie img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

/* Abschlussbanner */
.banner {
  position: relative;
  text-align: center;
  padding: 108px 0;
  /* Roter Schleier über dem Foto. Die Deckkraft ist so gewählt, dass weiße
     Schrift auch über den hellen Stellen des Fotos (der weißen Wand) noch
     einen Kontrast von 4,5:1 erreicht – die Grenze der Barrierefreiheits-
     Richtlinie WCAG AA. Mehr Deckkraft macht den Text sicherer, lässt aber
     weniger vom Foto erkennen. */
  background-image:
    linear-gradient(rgba(180, 21, 43, .74), rgba(122, 14, 30, .80)),
    url('bilder/banner-unterricht.jpg');
  background-size: cover;
  /* Das Foto ist deutlich hochformatiger als das schmale Banner – der
     Ausschnitt wird oben und unten beschnitten. 38 % legt ihn auf die
     Lehrerin und den Bildschirm. */
  background-position: center 38%;
  color: var(--weiss);
}
.banner h2 {
  color: var(--weiss);
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: .1em;
}
.banner__gold {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: .5em;
}
.banner p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
}

/* ---------- 7 Aktuelles --------------------------------------------------- */

.meldungen { display: flex; flex-direction: column; gap: 24px; max-width: 860px; margin: 0 auto; }

.meldung { position: relative; }
.meldung--neu { border-left: 5px solid var(--rot); }

.meldung__zeile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.pille {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.pille--unterricht    { background: rgba(180, 21, 43, .10); color: var(--rot); }
.pille--veranstaltung { background: rgba(208, 50, 74, .12); color: #A8324A; }
.pille--allgemein     { background: rgba(200, 162, 74, .18); color: #8A6C21; }
.pille--neu {
  background: var(--rot);
  color: var(--weiss);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 11px;
}
.meldung__datum {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-leise);
  font-size: 14px;
}
.meldung__datum svg { width: 15px; height: 15px; flex: none; }
.meldung h2 { font-size: 25px; margin-bottom: .4em; }
.meldung p  { color: var(--text-leise); }

/* Abschlusskarte */
.aufruf {
  max-width: 860px;
  margin: 48px auto 0;
  text-align: center;
  background: var(--creme-warm);
  border-color: #EADFCB;
  padding: 44px 28px;
}
.aufruf h2 { font-size: 28px; }
.aufruf p  { color: var(--text-leise); margin-bottom: 26px; }

/* ---------- 8 Anmeldung --------------------------------------------------- */

.formularkarte { max-width: 780px; margin: 0 auto; padding: 44px; }

.formularblock { margin-bottom: 44px; }
.formularblock:last-of-type { margin-bottom: 32px; }

.blockkopf { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.nummer {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--weiss);
  font-size: 15px;
  font-weight: 500;
  flex: none;
}
.nummer--1 { background: var(--rot); }
.nummer--2 { background: var(--gold); }
.nummer--3 { background: var(--braun); }
.blockkopf h2 { font-size: 22px; margin: 0; }

.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feld { margin-bottom: 20px; }
.feld:last-child { margin-bottom: 0; }
.feld label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--text);
}
.feld .pflicht { color: var(--rot); }

/* Eingabefeld mit kleinem Symbol links im Feld */
.eingabe { position: relative; display: block; }
.eingabe__icon {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 18px; height: 18px;
  color: #9A8F88;
  pointer-events: none;
}
.eingabe__icon svg { width: 18px; height: 18px; display: block; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--weiss);
  border: 1px solid #E2D9CD;
  border-radius: 8px;
  padding: 13px 15px 13px 44px;
  transition: border-color .16s ease, box-shadow .16s ease;
  -webkit-appearance: none;
  appearance: none;
}
select, textarea { padding-left: 15px; }
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236B605A' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rot);
  box-shadow: 0 0 0 3px rgba(180, 21, 43, .12);
}
::placeholder { color: #A79C94; opacity: 1; }

/* Honeypot – für Menschen unsichtbar, für Bots verlockend */
.honigtopf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Pflicht-Checkbox */
.zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--creme);
  border: var(--rand);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.zustimmung input {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--rot);
  flex: none;
  cursor: pointer;
}
.zustimmung label { font-size: 15px; color: var(--text-leise); line-height: 1.6; margin: 0; }

.hinweis-pflicht { font-size: 14px; color: var(--text-leise); text-align: center; margin-top: 18px; }

/* Fehlermeldung von anmeldung.php */
.fehler {
  max-width: 780px;
  margin: 0 auto 24px;
  background: #FCEFF1;
  border: 1px solid rgba(180, 21, 43, .3);
  border-left: 5px solid var(--rot);
  border-radius: 10px;
  padding: 18px 22px;
  color: #85101F;
}
.fehler strong { display: block; margin-bottom: 4px; }

/* Danke-Seite */
.danke { text-align: center; max-width: 640px; margin: 0 auto; padding: 52px 40px; }
.danke__haken {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(180, 21, 43, .09);
  color: var(--rot);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}
.danke__haken svg { width: 38px; height: 38px; }
.danke h1 { font-size: clamp(30px, 4.6vw, 42px); }
.danke p { color: var(--text-leise); margin-bottom: 28px; }

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

.rechtstext { max-width: 820px; margin: 0 auto; }
.rechtstext h2 {
  font-size: 26px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #EFE6D9;
}
.rechtstext h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.rechtstext h3 { font-size: 19px; margin-top: 28px; }
.rechtstext ul { padding-left: 22px; color: var(--text-leise); }
.rechtstext li { margin-bottom: .5em; }
.rechtstext p { color: var(--text-leise); }
/* Noch auszufüllende Angaben deutlich markiert */
.platzhalter {
  background: rgba(200, 162, 74, .22);
  border-bottom: 1px dashed var(--gold);
  color: var(--text);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
}

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

.fusszeile {
  background: var(--braun);
  color: rgba(251, 247, 241, .78);
  padding: 72px 0 32px;
  font-size: 15px;
}
.fusszeile__spalten {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
}
.fusszeile h3 {
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fusszeile a { color: rgba(251, 247, 241, .78); text-decoration: none; }
.fusszeile a:hover { color: var(--gold); text-decoration: underline; }
.fusszeile ul { list-style: none; margin: 0; padding: 0; }
.fusszeile li { margin-bottom: 11px; }

.fusszeile__marke { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fusszeile__marke img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex: none;
}
.fusszeile__marke span {
  font-family: var(--schrift-marke);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--weiss);
}
.fusszeile__claim { color: rgba(251, 247, 241, .68); max-width: 340px; }

.fusszeile__unten {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 247, 241, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: rgba(251, 247, 241, .62);
}
.fusszeile__unten nav { display: flex; gap: 22px; }

/* ---------- 11 Mobil ------------------------------------------------------ */

@media (max-width: 980px) {
  .raster, .raster--drei { grid-template-columns: repeat(2, 1fr); }
  .fusszeile__spalten { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fusszeile__marke-spalte { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; margin-left: auto; }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--weiss);
    border-top: var(--rand);
    box-shadow: 0 14px 24px rgba(47, 33, 28, .10);
    padding: 10px 24px 22px;
  }
  .navigation.offen { display: block; }
  .navigation__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .navigation__liste li { border-bottom: var(--rand); }
  .navigation__liste li:last-child { border-bottom: 0; }
  .navigation__liste a {
    display: block;
    padding: 15px 2px;
    border-bottom: 0;
  }
  .navigation__liste a[aria-current="page"] { border-bottom: 0; }

  .kopfzeile__innen { position: relative; gap: 12px; }
  .sprache { order: 2; padding: 8px 13px; font-size: 13px; }
  .burger { order: 3; margin-left: 0; }
  .marke { margin-right: auto; }
  .marke__logo { width: 44px; height: 44px; }
  .marke__name { font-size: 17px; }

  .abschnitt { padding: 72px 0; }
  .galerie { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 84px 0 72px; }
  .formularkarte { padding: 30px 22px; }
  .meldung__datum { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .inhalt { padding: 0 18px; }
  .raster, .raster--drei { grid-template-columns: 1fr; }
  .feldpaar { grid-template-columns: 1fr; gap: 0; }
  .feldpaar .feld { margin-bottom: 20px; }
  .fusszeile__spalten { grid-template-columns: 1fr; gap: 34px; }
  .abschnitt { padding: 60px 0; }
  .hero__knoepfe .btn { width: 100%; justify-content: center; }
  .marke__claim { display: none; }
  .banner { padding: 76px 0; }
  .aufruf { padding: 34px 22px; }
  .danke { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .kopfzeile, .fusszeile, .burger, .sprache { display: none; }
  body { background: #fff; }
}

/* Nachtrag: zweisprachiger Hinweiskasten auf den Rechtstextseiten */
.hinweis-box {
  background: rgba(200, 162, 74, .12);
  border: 1px solid rgba(200, 162, 74, .45);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Nachtrag: feststehendes Logo-Wasserzeichen
   Auf „Aktuelles“ und „Anmeldung“ liegt das Logo groß und sehr blass hinter
   dem gesamten Inhalt. Es scrollt nicht mit (position: fixed).

   Das Logo hat einen weißen Hintergrund. Ohne Weiteres läge auf der cremefarbenen
   Seite ein weißes Quadrat. „mix-blend-mode: multiply“ multipliziert das Bild mit
   dem Untergrund: Weiß bleibt dabei unsichtbar, nur die Zeichnung selbst wird
   sichtbar. Browser ohne diese Eigenschaft zeigen lediglich einen kaum
   wahrnehmbaren hellen Schimmer – die Seite bleibt in jedem Fall lesbar.
   -------------------------------------------------------------------------- */

.logo-wasserzeichen {
  position: fixed;
  inset: 0;
  z-index: -1;                 /* hinter allen Inhalten, über dem Seitenhintergrund */
  pointer-events: none;
  background-image: url('bilder/logo.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(640px, 72vw, 72vh);
  opacity: .10;
  mix-blend-mode: multiply;
}

/* Seitenkopf leicht durchscheinend, damit das Wasserzeichen auch dort
   hindurchschimmert und nicht an einer Kante abgeschnitten wirkt. */
.seitenkopf--durchscheinend { background: rgba(246, 237, 225, .72); }

@media (max-width: 620px) {
  .logo-wasserzeichen { background-size: min(340px, 80vw); opacity: .085; }
}

/* Beim Drucken stört das Wasserzeichen nur. */
@media print {
  .logo-wasserzeichen { display: none; }
}

/* --------------------------------------------------------------------------
   Nachtrag: Logo-Wasserzeichen auf der Startseite

   Das Wasserzeichen liegt auch dort fest hinter dem Inhalt. Hero,
   Abschlussbanner und Fußzeile haben eigene deckende Hintergründe und
   verdecken es von selbst – es erscheint also nur in den hellen Abschnitten
   „Was uns ausmacht“, „Offen für alle Familien“ und „Die Akademie in Bildern“.

   Der Abschnitt „Offen für alle Familien“ war bisher deckend cremefarben und
   hätte das Wasserzeichen verschluckt. Er ist jetzt durchscheinend. Damit die
   Farbe dabei exakt gleich bleibt, ist der Ton entsprechend nachgerechnet:
   rgba(243,230,214,.6) ergibt über dem Seitenhintergrund #FBF7F1 wieder
   genau #F6EDE1 – optisch also unverändert.
   -------------------------------------------------------------------------- */

.abschnitt--warm { background: rgba(243, 230, 214, .6); }

/* Hinweiskarte auf „Aktuelles“, solange es noch keine Meldungen gibt.
   Sie wird gelöscht, sobald die erste echte Meldung eingetragen wird. */
.meldung--hinweis { text-align: center; padding: 44px 32px; }
.meldung--hinweis .meldung__zeile { justify-content: center; margin-bottom: 20px; }
.meldung--hinweis p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Aktionshinweis (Frühanmelder-Rabatt) über dem Anmeldeformular.
   Wenn die 100 Plätze vergeben sind: den ganzen Block <div class="aktion">…
   </div> in anmeldung.html löschen.
   -------------------------------------------------------------------------- */

.aktion {
  max-width: 780px;
  margin: 0 auto 26px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(180, 21, 43, .06);
  border: 1px solid rgba(180, 21, 43, .22);
  border-left: 5px solid var(--rot);
  border-radius: 12px;
  padding: 18px 22px;
}
.aktion__zeichen { color: var(--gold); font-size: 24px; line-height: 1.25; flex: none; }
.aktion p { margin: 0; color: var(--text-leise); font-size: 15px; }
.aktion strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--rot);
  margin-bottom: 2px;
}
