/* ============================================================
   CMYK NOIR — Design System für Druckerei Johann 2026
   Farben: Magenta #ff0090 · Cyan #00d4e8 · Yellow #ffe600
   Background: #080810 · Font: Space Grotesk + Inter
   ============================================================ */

/* Fonts lokal gehostet – kein Google-Fonts-CDN, DSGVO-konform */
/* Inter (SIL Open Font License 1.1) – Rasmus Andersson */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/inter-300.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; font-display: swap;
  src: url('../fonts/inter-400.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: 500; font-display: swap;
  src: url('../fonts/inter-500.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: 600; font-display: swap;
  src: url('../fonts/inter-600.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; }

/* Space Grotesk (SIL Open Font License 1.1) – Florian Karsten */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/space-grotesk-300.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: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/space-grotesk-400.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: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/space-grotesk-500.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: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/space-grotesk-600.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: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/space-grotesk-700.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; }

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080810;
  --bg-card:    rgba(17, 17, 32, 0.85);
  --bg-surface: #111420;
  --magenta:    #ff0090;
  --cyan:       #00d4e8;
  --yellow:     #ffe600;
  /* Dieselben Farben als *Schriftfarbe*. Im dunklen Modus identisch mit den
     Signalfarben; im hellen Modus abgedunkelt, weil das Signal-CMYK auf Weiss
     unlesbar ist (Gelb kam auf 1,3:1, Cyan auf 1,8:1 — AA verlangt 4,5:1).
     Flaechen, Raender und Verlaeufe benutzen weiter --magenta/--cyan/--yellow. */
  --magenta-ink: var(--magenta);
  --cyan-ink:    var(--cyan);
  --yellow-ink:  var(--yellow);
  /* Gruen der Nachhaltigkeitsabschnitte — gleiche Logik wie oben */
  --eco-ink:     #4cde90;
  /* Magenta als *Flaeche mit weisser Schrift darauf* (Buttons, Badges).
     Das Signalmagenta traegt weissen Text nur mit 3,7:1, noetig sind 4,5:1.
     #e40081 ist der hellste Ton, der die Schwelle schafft: 90% der
     Originalhelligkeit, praktisch derselbe Farbeindruck — und ohnehin die
     Nachbarschaft des laengst benutzten Hover-Tons #e0007e. Logo, Verlaeufe,
     Raender und Schriftmagenta bleiben unveraendert bei --magenta. */
  --magenta-solid: #e40081;
  --white:      #f0f0f8;
  --muted:      #888aaa;
  --border:     rgba(255,255,255,0.06);
  --input-bg:   #0d0d1a;
  --input-border: rgba(255,255,255,0.25);
  --glow-m:     rgba(255,0,144,0.18);
  --glow-c:     rgba(0,212,232,0.14);
  --glow-y:     rgba(255,230,0,0.10);
  --gradient:   linear-gradient(90deg, var(--magenta), var(--cyan), var(--yellow));
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     4px;
  --radius-lg:  8px;
}

[data-theme="light"] {
  --bg:         #f4f4f8;
  --bg-card:    rgba(255,255,255,0.9);
  --bg-surface: #eaeaf0;
  --white:      #0d0d1a;
  --muted:      #555568;
  --border:     rgba(0,0,0,0.1);
  --input-bg:   #ffffff;
  --input-border: rgba(0,0,0,0.25);
  --glow-m:     rgba(255,0,144,0.10);
  --glow-c:     rgba(0,180,200,0.10);
  --glow-y:     rgba(200,160,0,0.10);
  /* Gepruefte Kontraste auf Kartenweiss: Beere 5,9:1 · Petrol 5,5:1 · Gold 5,8:1 */
  --magenta-ink: #c2006f;
  --cyan-ink:    #006b76;
  --yellow-ink:  #7d6200;
  --eco-ink:     #1f7043;
}

html { scroll-behavior: smooth; }
/* Die Navigation ist fixiert (~56 px). Ohne diesen Abstand rutscht jedes
   Sprungziel darunter und die Ueberschrift ist beim Ankommen verdeckt. */
[id] { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === SPRUNGLINK ===
   Erste Station der Tab-Reihenfolge, sichtbar nur bei Tastaturfokus. Ohne ihn
   muss sich jeder, der mit der Tastatur navigiert, auf jeder Seite erneut
   durch die fuenf Menuepunkte hangeln (WCAG 2.4.1).
   Nicht auf 404.html: die Seite traegt <base href="/">, dort wuerde "#inhalt"
   zu "/#inhalt" und damit auf die Startseite fuehren. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--magenta-solid);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* === FOKUS ===
   Ein durchgaengiger Fokusrahmen fuer alles Bedienbare. Cyan und Magenta
   liegen beide ueber 3:1 zu ihrem Untergrund (WCAG 1.4.11), im hellen Modus
   uebernimmt der abgedunkelte Ton. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
p  { color: var(--white); line-height: 1.7; }
a  { color: var(--cyan-ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--magenta-ink); }

.label-caps {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === GRADIENT UTILITIES === */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-magenta { color: var(--magenta-ink); }
.text-cyan    { color: var(--cyan-ink); }
.text-yellow  { color: var(--yellow-ink); }

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section   { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* === TOP GRADIENT LINE === */
.top-line {
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--yellow), var(--magenta));
  background-size: 200%;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 40px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 44px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-text small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--cyan-ink);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: flex-start;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan-ink); }
.nav-links a.active { color: var(--cyan-ink); }
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta-ink) !important;
  border: 1px solid var(--magenta);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--magenta-solid) !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--glow-m);
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  width: 56px; height: 28px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
}
.theme-toggle:hover { border-color: var(--cyan); }
.tt-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: transform 0.25s, background 0.2s;
  color: #080810;
}
.tt-knob svg { width: 15px; height: 15px; display: block; }
[data-theme="light"] .theme-toggle {
  background: rgba(0,212,232,0.15);
  border-color: var(--cyan);
}
[data-theme="light"] .tt-knob {
  transform: translateX(28px);
  background: var(--yellow);
  color: #080810;
}
[data-theme="light"] .nav {
  background: rgba(244,244,248,0.9);
}

/* Mobile Nav Toggle — ein echtes <button>, damit die Navigation auf dem Handy
   per Tastatur erreichbar ist. Als <div> war sie es bis 15.08.2026 nicht: die
   Tab-Reihenfolge sprang vom Theme-Schalter direkt in den Seiteninhalt.
   Deshalb hier die Button-Vorgaben des Browsers zuruecksetzen. */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--magenta-solid);
  color: #fff;
}
.btn-primary:hover {
  background: #e0007e;
  color: #fff;
  box-shadow: 0 0 30px var(--glow-m);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cyan-ink);
  border: 1.5px solid var(--cyan);
}
.btn-ghost:hover {
  background: rgba(0,212,232,0.1);
  color: var(--cyan-ink);
  box-shadow: 0 0 20px var(--glow-c);
}
.btn-ghost-m {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-m:hover {
  border-color: var(--magenta);
  color: var(--magenta-ink);
}

/* === TAGS / PILLS === */
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.tag-m { color: var(--magenta-ink); background: rgba(255,0,144,0.1); border-left: 2px solid var(--magenta); }
.tag-c { color: var(--cyan-ink);    background: rgba(0,212,232,0.1); border-left: 2px solid var(--cyan); }
.tag-y { color: var(--yellow-ink);  background: rgba(255,230,0,0.1); border-left: 2px solid var(--yellow); }

/* === BADGE === */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta-ink);
  border: 1px solid rgba(255,0,144,0.3);
  background: rgba(255,0,144,0.06);
  padding: 5px 14px;
  border-radius: 2px;
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Der Verlaufsrahmen liegt ueber dem Karteninhalt und schluckte bis 07.08.2026
     jeden Klick auf Links in der Karte ("Mehr erfahren"). Rein dekorativ, also
     fuer Maus und Finger unsichtbar. */
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan) 0%, transparent 50%, var(--magenta) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-3px); }
.card:hover::before { opacity: 0.5; }

/* === ZWEISPALTIGE ABSCHNITTE ===
   Text neben Bild oder Kachelblock. Dieses Muster stand bis 09.08.2026 an fuenf
   Stellen als Inline-Style im HTML und war damit fuer Media Queries unerreichbar:
   auf dem Handy blieb es zweispaltig und quetschte den Text auf 193 px, das Bild
   auf 69 px — die rechte Spalte war praktisch leer. */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-grid-start { align-items: start; }
.split-grid-wide  { gap: 80px; }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid-wide { gap: 40px; }
}
/* Zwei Eingabefelder nebeneinander (z.B. Vor- und Nachname) — auf dem Handy
   untereinander, sonst bleiben unter 500 px zwei unbrauchbar schmale Felder. */
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .pair-grid { grid-template-columns: 1fr; } }
/* Kompakte Kacheln (Emoji + zwei Zeilen) bleiben dagegen auch auf dem Handy
   zweispaltig — einspaltig wirken sie leer und machen den Abschnitt unnoetig
   lang. minmax(0,…) haelt sie in jeder Breite im Rahmen. */
.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* === KLICKBARE KARTEN ===
   Macht eine ganze Box zum Link, ohne ihr Aussehen zu veraendern. Die
   Akzentfarbe kommt je Variante ueber --lc-accent; ohne Variante ist es Cyan. */
.link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.link-card:hover {
  border-color: var(--lc-accent, var(--cyan));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.link-card:focus-visible {
  outline: 2px solid var(--lc-accent, var(--cyan));
  outline-offset: 3px;
}
.link-card-m { --lc-accent: var(--magenta-ink); }
.link-card-c { --lc-accent: var(--cyan-ink); }
.link-card-y { --lc-accent: var(--yellow-ink); }
/* Dezenter Hinweis, dass die Karte weiterfuehrt — auch ohne Maus sichtbar */
.link-card-more {
  display: block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lc-accent, var(--cyan));
  opacity: 0.65;
  transition: opacity 0.3s;
}
/* Eigener Abstand statt Leerzeichen im content — das letter-spacing der
   Grossbuchstaben laesst den Pfeil sonst am Wort kleben. */
.link-card-more::after { content: '→'; display: inline-block; margin-left: 0.4em; transition: transform 0.3s; }
.link-card:hover .link-card-more { opacity: 1; }
.link-card:hover .link-card-more::after { transform: translateX(4px); }
/* Im hellen Modus voll deckend — die Schriftfarbe kommt schon abgedunkelt
   aus --*-ink, ein zusaetzlicher Schleier waere zu blass. */
[data-theme="light"] .link-card-more { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon-m { background: rgba(255,0,144,0.12); box-shadow: 0 0 20px var(--glow-m); }
.card-icon-c { background: rgba(0,212,232,0.12);  box-shadow: 0 0 20px var(--glow-c); }
.card-icon-y { background: rgba(255,230,0,0.12);  box-shadow: 0 0 20px var(--glow-y); }

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}
.stat-item {
  padding: 28px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
/* Klickbare Kennzahl: kein Anheben wie bei den Karten — das saehe in der
   durchgehenden Leiste falsch aus. Stattdessen Flaeche und Pfeil. */
a.stat-item {
  display: block;
  text-decoration: none;
  transition: background 0.3s;
}
a.stat-item:hover { background: rgba(255,255,255,0.035); }
a.stat-item:hover .stat-label { color: var(--white); }
a.stat-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
a.stat-item .stat-label::after {
  content: '→';
  display: inline-block;
  margin-left: 0.4em;
  opacity: 0.45;
  transition: opacity 0.3s, transform 0.3s;
}
a.stat-item:hover .stat-label::after { opacity: 1; transform: translateX(3px); }

/* === GLOW BLOBS (decorative) === */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.glow-blob-m { background: var(--glow-m); }
.glow-blob-c { background: var(--glow-c); }
.glow-blob-y { background: var(--glow-y); }

/* === SECTION TITLES === */
.section-title { margin-bottom: 16px; }
.section-sub   { color: var(--muted); margin-bottom: 56px; max-width: 560px; font-size: 1.05rem; }

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0.9); }
.footer-brand p  { font-size: 0.9rem; color: var(--muted); max-width: 280px; }
.footer-col h3 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan-ink); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

/* Ersteller-Credit. Die Wortmarke ist Inline-SVG mit fill="currentColor" --
   deshalb stimmt sie im dunklen wie im hellen Modus, ohne zweite Datei. */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit .credit-mark {
  width: 84px;
  height: auto;
  display: block;
}
.footer-credit:hover,
.footer-credit:focus-visible { color: var(--cyan-ink); }

/* === CONTACT FORM === */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,232,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* === HERO === */
/* Einheitliche Einstiegshoehe auf allen Seiten und Logo rechts neben dem Text.
   Die Startseite ueberschreibt die Logo-Groesse in ihrem eigenen <style> und
   ist damit bewusst groesser als die Unterseiten. */
.page-hero { padding: 110px 0 60px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  /* Oben ausgerichtet, damit das Logo unabhaengig von der Textlaenge
     auf jeder Unterseite an derselben Stelle sitzt */
  align-items: start;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-logo { display: flex; align-items: flex-start; justify-content: center; padding-top: 24px; }
/* Auf den Unterseiten ist das Logo ein Link zur Startseite */
.hero-logo a { display: block; max-width: 100%; transition: opacity 0.2s; }
.hero-logo a:hover { opacity: 0.75; }
.hero-logo img {
  max-width: 100%;
  width: 380px;
  opacity: 0.92;
  filter: drop-shadow(0 0 48px rgba(0,180,255,0.12));
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 220px; }
}
@media (max-width: 480px) {
  .hero-logo img { width: 175px; }
}

/* === TEAM / ANSPRECHPARTNER === */
/* Gemeinsame Kartenoptik fuer "Ueber uns" und "Kontakt" */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,144,0.2), rgba(0,212,232,0.2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-family: var(--font-head); font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; line-height: 1.4; }
.team-mail { font-size: 0.8rem; color: var(--cyan-ink); }
.team-tel { font-size: 0.8rem; color: var(--muted); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 14px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  /* === Mobiles Menue === */
  .nav-links {
    display: none;
    position: fixed;
    top: 69px; left: 0; right: 0;
    flex-direction: column;
    /* stretch statt des zentrierten Desktop-Wertes, sonst sind die Zeilen
       nur so breit wie ihr Text */
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: var(--bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    max-height: calc(100vh - 69px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: navSlide 0.22s ease-out; }
  @keyframes navSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }

  /* Zeile statt Wort: grosse Tippflaeche, Farbbalken links, Pfeil rechts */
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 24px 0 20px;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
  }
  .nav-links a::after {
    content: '→';
    font-family: var(--font-head);
    color: var(--border);
    transition: transform 0.2s, color 0.2s;
  }
  .nav-links a:active { background: rgba(255,255,255,0.04); }
  /* Akzentfarben im CMYK-Rhythmus */
  .nav-links li:nth-child(3n+1) a { border-left-color: rgba(255,0,144,0.35); }
  .nav-links li:nth-child(3n+2) a { border-left-color: rgba(0,212,232,0.35); }
  .nav-links li:nth-child(3n)   a { border-left-color: rgba(255,230,0,0.35); }
  /* li mitschreiben, sonst gewinnt die nth-child-Regel oben */
  .nav-links li a.active {
    border-left-color: var(--cyan);
    background: rgba(0,212,232,0.07);
    color: var(--cyan-ink);
  }
  .nav-links li a.active::after { content: '●'; color: var(--cyan-ink); font-size: 0.6rem; }

  /* Burger wird zum Kreuz */
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* === Inline-Icons (Lucide, ISC — lokal eingebettet, kein externer Dienst) ===
   Groesse kommt aus der font-size des Containers (1em), Farbe aus dessen
   color — so bleiben die vorhandenen Abstufungen erhalten. */
.ico { width: 1em; height: 1em; display: block; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; }
.ico-inline { display: inline-block; vertical-align: -0.14em; margin-right: 7px; }
.card-icon, .info-icon, .format-icon, .cert-icon, .team-avatar, .stat-num {
  display: flex; align-items: center; justify-content: center; }
.card-icon-m, .info-icon-m { color: var(--magenta-ink); }
.card-icon-c, .info-icon-c { color: var(--cyan-ink); }
.card-icon-y, .info-icon-y { color: var(--yellow-ink); }
.format-icon { color: var(--cyan-ink); }
.cert-icon   { color: var(--yellow-ink); }
.team-avatar { color: var(--muted); }
