/* sigma.css — Layout, Typografie und Komponenten für sigmacommunication.de
   Komponenten gemäß CI-Weiterentwicklung-2026-06-18.md, Abschnitt 2 und 3. */

/* ── Selbst gehostete Schriften ───────────────────────────────
   Dateien liegen unter /static/fonts/. Solange sie fehlen, greift
   der Fallback-Stack aus tokens.css (Georgia / System-Sans).
   Lizenzen: SIL Open Font License, datensparsam selbst gehostet. */
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/playfair-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/static/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/static/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dunkel); text-decoration: underline; }

/* ── Typografie ───────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; color: var(--navy); }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: var(--s2); }
h3 { font-family: var(--cond); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }
p { margin-bottom: var(--s2); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.abschnitt { padding: var(--s6) 0; }
.abschnitt-eng { padding: var(--s5) 0; }
.abschnitt-dunkel { background: var(--navy); color: rgba(255,255,255,.88); }
.abschnitt-dunkel h1, .abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: #fff; }
.abschnitt-sand { background: var(--sand-soft); }
.zentriert { text-align: center; }
.maxw-text { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Kopfleiste / Navigation ──────────────────────────────── */
.kopf {
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 100;
}
.kopf-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  height: 74px; display: flex; align-items: center; gap: 2rem;
}
.logo { display: inline-flex; align-items: baseline; gap: .35rem; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-sigma {
  font-family: var(--cond); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .04em; color: var(--orange);
}
.logo-comm {
  font-family: var(--cond); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .14em; color: var(--navy);
}
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a {
  color: var(--navy); font-weight: 500; font-size: .98rem;
  padding: .4rem .7rem; border-radius: var(--radius);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(26,26,46,.05); color: var(--navy); text-decoration: none; }
.nav a.aktiv { color: var(--orange); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--navy); margin-left: auto; }

/* Untermenü (Dropdown) für Leistungen */
.nav-gruppe { position: relative; display: inline-flex; align-items: center; }
.nav-haupt::after { content: "▾"; margin-left: .3em; font-size: .7em; opacity: .7; }
.untermenu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten-lg); padding: .4rem; min-width: 250px; z-index: 200;
}
.untermenu a { display: block; padding: .55rem .7rem; border-radius: 5px; white-space: nowrap; color: var(--navy); font-size: .95rem; }
.untermenu a:hover { background: rgba(26,26,46,.06); color: var(--orange); text-decoration: none; }
.nav-gruppe:hover .untermenu,
.nav-gruppe:focus-within .untermenu { display: block; }

/* ── Knöpfe ───────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .7rem 1.5rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.knopf-primaer { background: var(--orange); color: #fff; }
.knopf-primaer:hover { background: var(--orange-dunkel); color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(238,128,24,.32); }
.knopf-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.knopf-ghost:hover { background: var(--navy); color: #fff; text-decoration: none; }
.knopf-ghost-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.knopf-ghost-hell:hover { background: #fff; color: var(--navy); text-decoration: none; }

/* ── Hero (dunkel) ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -12%, rgba(238,128,24,.18), transparent 60%),
    var(--navy);
  color: #fff;
  padding: var(--s6) 0 var(--s5);
}

/* Teleskopempfänger rechts, weich in den Navy-Grund eingeblendet.
   Bildebene + zwei Navy-Verläufe (links und unten) zur Tönung,
   zusätzlich eine Maske, die die linke Kante ganz auslaufen lässt. */
.hero-bild {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 64%;
  z-index: 0;
  background-image:
    linear-gradient(90deg, var(--navy) 0%, rgba(26,26,46,.55) 30%, rgba(26,26,46,0) 78%),
    linear-gradient(0deg, var(--navy) 2%, rgba(26,26,46,0) 46%),
    var(--hero-img);
  background-size: cover, cover, cover;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 52%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .uebersetzung {
  font-size: 1.25rem; color: rgba(255,255,255,.82);
  max-width: 42ch; margin-top: var(--s2);
}
/* Textspalte bleibt links, läuft nicht unter die Schüssel */
.hero .container > * { max-width: 620px; }

/* Reifegrad-Sortierer */
.sortierer { margin-top: var(--s4); }
.sortierer-label {
  font-family: var(--cond); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .85rem;
  color: var(--orange); margin-bottom: var(--s1);
}
.sortierer-wege { display: flex; flex-wrap: wrap; gap: .6rem; }
.weg-knopf {
  background: var(--navy-soft); color: #fff;
  border: 1px solid rgba(255,255,255,.18); border-radius: 30px;
  padding: .55rem 1.25rem; font-family: var(--sans); font-weight: 600;
  font-size: .95rem; cursor: pointer; transition: border-color .15s, background .15s;
}
.weg-knopf:hover { border-color: var(--orange); background: #2c2c4d; color: #fff; text-decoration: none; }
.hero-cta { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ── Unterseiten-Hero ──────────────────────────────────────────
   Gleiche Komposition wie die Startseite: Titel links auf Navy,
   Bild rechts (über die Basis-Regel .hero-bild), das nach links in
   den Navy-Grund einfadet. Hier nur etwas knapper und mit oranger
   Unterkante als Akzent. Ohne Bild bleibt der schlichte Navy-Grund. */
.hero--seite { padding: var(--s5) 0; border-bottom: 3px solid var(--orange); }

/* ── Porträt-Hero (Profil): Titel links auf Navy, Porträt rechts in
   voller Höhe, weich nach links in den Grund eingeblendet. Anders als
   das Querband zeigt es eine Person als Hochformat ohne Gesichts-Beschnitt. */
.hero--portraet { padding: var(--s5) 0; border-bottom: 3px solid var(--orange); }
.hero--portraet .container { position: relative; z-index: 1; }
.hero--portraet .hero-inhalt { max-width: 60%; }
.hero-portraet-bild {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  z-index: 0;
  background-image:
    linear-gradient(90deg, var(--navy) 0%, rgba(26,26,46,.55) 26%, rgba(26,26,46,0) 64%),
    var(--hero-img);
  background-size: cover, cover;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 24%, #000 46%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 24%, #000 46%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero--portraet .hero-inhalt { max-width: 100%; }
  .hero-portraet-bild { width: 100%; opacity: .32;
    -webkit-mask-image: linear-gradient(0deg, var(--navy) 6%, rgba(0,0,0,.35) 55%, #000 100%);
            mask-image: linear-gradient(0deg, var(--navy) 6%, rgba(0,0,0,.35) 55%, #000 100%); }
}

/* ── Kundenwand (Referenzen): Logo-Kacheln auf weißem Feld ──── */
.kundenwand {
  margin: var(--s4) 0;
  padding: var(--s3);
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.kundenwand img { display: block; width: 100%; height: auto; }
.kundenwand figcaption { margin-top: var(--s2); font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ── Kontaktdaten-Box (Kontaktseite) ───────────────────────── */
.kontaktdaten {
  font-style: normal;
  background: var(--sand-soft);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: var(--s3);
  margin: var(--s4) 0;
  line-height: 1.9;
}
.kontaktdaten hr { border: none; border-top: 1px solid var(--linie); margin: var(--s2) 0; }
.kontaktdaten strong { font-size: 1.1rem; }

/* ── Not-Streifen ─────────────────────────────────────────── */
.not-streifen { background: var(--sand-soft); border-bottom: 1px solid var(--linie); }
.not-streifen .container { padding-top: var(--s4); padding-bottom: var(--s4); }
.not-zahl { font-family: var(--serif); font-weight: 700; color: var(--orange); font-size: 1.4rem; }
.quelle { font-size: .85rem; color: var(--muted); }

/* ── Drei Wege (Karten) ───────────────────────────────────── */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.karte {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: var(--s3);
  box-shadow: var(--schatten); display: flex; flex-direction: column;
}
.karte h3 { color: var(--navy); margin-bottom: var(--s1); }
.karte p { color: var(--muted); flex: 1; }
.karte .karte-marke {
  font-family: var(--cond); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; font-size: .8rem; color: var(--orange); margin-bottom: .4rem;
}

/* ── Beweis-Kasten (Sand) ─────────────────────────────────── */
.beweise { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.beweis {
  background: var(--sand); border-radius: var(--radius);
  padding: var(--s3) var(--s4); display: flex; flex-direction: column;
}
.beweis h3 { color: var(--navy); }
.beweis p { color: #4a4330; flex: 1; }

/* ── Zwei Türen (zwei gleichwertige Zielgruppen, Startseite) ── */
.tueren { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.tuer {
  background: var(--weiss); border: 1px solid var(--linie);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius); padding: var(--s4);
  display: flex; flex-direction: column;
}
.tuer-marke {
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .8rem; font-weight: 600; color: var(--orange-dunkel);
  margin-bottom: var(--s1);
}
.tuer h3 { color: var(--navy); margin-bottom: var(--s2); }
.tuer p { color: var(--muted); flex: 1; margin-bottom: var(--s3); }
@media (max-width: 760px) { .tueren { grid-template-columns: 1fr; } }

/* ── Wegweiser-Kacheln (Unterseiten-Überblick) ────────────── */
.wegweiser { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.wegw-kachel {
  display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: var(--s3);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wegw-kachel:hover {
  border-color: var(--orange); box-shadow: var(--schatten);
  transform: translateY(-2px); text-decoration: none;
}
.wegw-kachel h3 { color: var(--navy); margin-bottom: var(--s1); font-size: 1.15rem; }
.wegw-kachel p { color: var(--muted); flex: 1; font-size: .92rem; line-height: 1.6; margin-bottom: var(--s2); }
.wegw-link { color: var(--orange-dunkel); font-weight: 600; font-size: .9rem; }
.wegw-kachel:hover .wegw-link { color: var(--orange); }

/* ── Zitatbalken ──────────────────────────────────────────── */
.zitat {
  border-left: 4px solid var(--orange);
  padding: var(--s1) 0 var(--s1) var(--s3);
  margin: var(--s4) 0;
}
.zitat blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.5rem; line-height: 1.4; color: var(--navy);
}
.abschnitt-dunkel .zitat blockquote { color: #fff; }
.zitat cite { display: block; margin-top: var(--s1); font-style: normal; font-size: .95rem; color: var(--muted); }

/* ── Handlungsaufruf-Block ────────────────────────────────── */
.cta-block { text-align: center; }
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.8); max-width: 50ch; margin: 0 auto var(--s3); }

/* ── Inhaltsseite (Artikel: Säule, Ratgeber) ──────────────── */
.artikel p { margin-bottom: var(--s2); line-height: 1.75; }
.artikel > p:first-of-type { font-size: 1.2rem; color: var(--text); }
.artikel h2 {
  font-family: var(--serif); color: var(--navy);
  font-size: 1.7rem; line-height: 1.25; margin: var(--s4) 0 var(--s2);
}
.artikel a { color: var(--orange-dunkel); text-decoration: underline; text-underline-offset: 2px; }
.artikel a:hover { color: var(--orange); }

/* Merkmalsliste, zweispaltig mit Orange-Marker (Leistungen, Branchen) */
.merkmale { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); list-style: none; padding: 0; margin: var(--s4) auto 0; max-width: 760px; }
.merkmale li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid var(--linie); position: relative; line-height: 1.5; }
.merkmale li::before { content: "›"; position: absolute; left: .3rem; top: .5rem; color: var(--orange); font-weight: 700; }
@media (max-width: 640px) { .merkmale { grid-template-columns: 1fr; } }
.merkmale--eng { grid-template-columns: 1fr; max-width: none; margin-top: var(--s2); }

/* ── Augenbraue: kleine Orange-Überzeile über Abschnittstiteln ── */
.augenbraue { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 600; color: var(--orange); margin-bottom: .55rem; }

/* ── Bild-Text-Split: Foto neben Text, wechselseitig ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.split--bild { grid-template-columns: 1.2fr .8fr; gap: var(--s4); }
.split--portraet { grid-template-columns: .8fr 1.2fr; gap: var(--s4); }
.split-bild { position: relative; width: 100%; aspect-ratio: 4 / 3; max-width: 390px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-lg); }
.split--portraet .split-bild { aspect-ratio: 3 / 4; max-width: 260px; }
.split-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.split-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); }
.split-text h2 { margin-bottom: var(--s2); }
@media (max-width: 860px) {
  .split, .split--bild, .split--portraet { grid-template-columns: 1fr; gap: var(--s3); }
  .split-bild { max-width: 340px; }
}

/* Vorteile-Liste mit Orange-Punkt (im Split-Text) */
.vorteile { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.vorteile li { position: relative; padding: .7rem 0 .7rem 1.7rem; border-top: 1px solid var(--linie); color: var(--muted); line-height: 1.55; }
.vorteile li:first-child { border-top: none; }
.vorteile li::before { content: ""; position: absolute; left: .15rem; top: 1.15rem; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.vorteile strong { color: var(--navy); font-weight: 600; }

/* ── System-Karten mit Screenshot ── */
.systeme { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.system-karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); transition: box-shadow .15s, transform .15s; }
.system-karte:hover { box-shadow: var(--schatten-lg); transform: translateY(-2px); }
.system-karte .schuss { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-soft); border-bottom: 1px solid var(--linie); }
.system-karte .schuss img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.system-karte .inhalt { display: flex; flex-direction: column; flex: 1; padding: var(--s3); }
.system-karte h3 { color: var(--navy); margin-bottom: var(--s1); }
.system-karte p { color: var(--muted); flex: 1; font-size: .95rem; line-height: 1.6; margin-bottom: var(--s2); }
@media (max-width: 860px) { .systeme { grid-template-columns: 1fr; } }

/* ── Motivband: vollflächiges Foto mit Navy-Schleier, als Übergang/Zitat ── */
.motivband { position: relative; overflow: hidden; }
.motivband .bild { position: absolute; inset: 0; background-size: cover; background-position: center; }
.motivband .bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,46,.82), rgba(26,26,46,.9)); }
.motivband .container { position: relative; z-index: 1; padding-top: var(--s5); padding-bottom: var(--s5); }
.motivband blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.7rem; line-height: 1.42; color: #fff; max-width: 26ch; margin: 0; }
.motivband cite { display: block; margin-top: var(--s2); font-style: normal; font-size: .95rem; color: rgba(255,255,255,.7); }
@media (max-width: 680px) { .motivband blockquote { font-size: 1.35rem; } }

/* ── Sitemap-Übersicht ── */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s4); }
.sitemap-spalte h2 { font-size: 1rem; color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: .4rem; margin-bottom: var(--s2); display: inline-block; }
.sitemap-spalte ul { list-style: none; padding: 0; margin: 0; }
.sitemap-spalte li { padding: .35rem 0; border-bottom: 1px solid var(--linie); }
.sitemap-spalte li:last-child { border-bottom: none; }
.sitemap-spalte--breit { grid-column: 1 / -1; }

/* Spalten-Vergleich (95 % vs 5 %) */
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s4) 0; }
.spalte { border-radius: var(--radius); padding: var(--s3) var(--s4); }
.spalte p { margin: 0; line-height: 1.65; }
.spalte--schwach { background: var(--sand-soft); color: #4a4330; }
.spalte--stark { background: var(--navy); color: rgba(255,255,255,.9); }
.spalte h3 {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1rem; margin-bottom: var(--s1);
}
.spalte--schwach h3 { color: var(--navy); }
.spalte--stark h3 { color: var(--orange); }

/* FAQ */
.faq { margin-top: var(--s4); }
.faq-item { border-top: 1px solid var(--linie); padding: var(--s3) 0; }
.faq-item:last-child { border-bottom: 1px solid var(--linie); }
.faq-item h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .4rem; }
.faq-item p { margin: 0; line-height: 1.7; }

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

/* ── Fußzeile (Orange-Block + dunkle Leiste, wie alte Seite) ── */
.fuss-orange { background: var(--orange); color: #fff; padding: var(--s5) 0 var(--s4); }
.fuss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.fuss-orange h4 {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--navy); font-size: .92rem; margin-bottom: .6rem;
}
.fuss-orange p { color: rgba(255,255,255,.96); margin-bottom: .25rem; line-height: 1.5; }
.fuss-orange a { color: #fff; text-decoration: underline; }
.fuss-orange a:hover { color: var(--navy); }
.social { display: flex; gap: .5rem; margin-top: .5rem; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--cond); font-weight: 600; font-size: .85rem;
  text-decoration: none; transition: background .15s;
}
.social a:hover { background: var(--navy); text-decoration: none; }
.fuss-unten { background: var(--navy); color: rgba(255,255,255,.6); padding: var(--s2) 0; font-size: .85rem; }
.fuss-unten-inner { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; align-items: center; }
.fuss-unten a { color: rgba(255,255,255,.6); }
.fuss-unten a:hover { color: var(--orange); text-decoration: none; }
.fuss-unten .rechts a { margin-left: .9rem; }

/* ── KI-Reifegrad-Test ────────────────────────────────────── */
.rg { background: var(--sand-soft); padding: var(--s5) 0 var(--s6); min-height: 70vh; }
.rg-wrap { max-width: 760px; }
.rg-card {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten-lg); padding: var(--s4) var(--s4) var(--s4);
}
.rg-auge { font-family: var(--cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-size: .85rem; margin-bottom: .4rem; }
.rg-achsen { list-style: none; margin: .4rem 0 var(--s2); padding: 0; }
.rg-achsen li { padding: .5rem 0; border-bottom: 1px solid var(--linie); color: var(--muted); }
.rg-achse-name { display: inline-block; min-width: 100px; font-family: var(--cond); font-weight: 600; color: var(--navy); }
.rg-felder { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.rg-feld label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; color: var(--navy); }
.rg-feld input {
  width: 100%; padding: .6rem .75rem; border: 1.5px solid var(--linie);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: #fff;
}
.rg-feld input:focus { outline: none; border-color: var(--orange); }

/* Quiz */
.rg-progress { margin-bottom: var(--s3); }
.rg-progress-zeile { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.rg-achse-label { font-family: var(--cond); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); font-size: .85rem; }
.rg-bar { height: 6px; background: var(--linie); border-radius: 4px; overflow: hidden; }
.rg-bar-fill { height: 100%; background: var(--orange); width: 0; transition: width .3s ease; }
.rg-frage { color: var(--navy); margin-bottom: var(--s3); }
.rg-opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--linie); border-radius: var(--radius);
  padding: .85rem 1rem; margin-bottom: .6rem; font-family: inherit; font-size: 1rem;
  color: var(--text); transition: border-color .15s, background .15s;
}
.rg-opt:hover { border-color: var(--orange); background: var(--sand-soft); }
.rg-opt.gewaehlt { border-color: var(--orange); background: var(--sand-soft); }
.rg-zurueck { background: none; border: none; cursor: pointer; color: var(--muted); font-family: inherit; font-size: .9rem; padding: .4rem 0; }
.rg-zurueck:hover { color: var(--orange); }

/* Ergebnis */
.rg-stufe-unter { font-family: var(--cond); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; color: var(--muted); margin-bottom: var(--s3); }
.rg-stufe-unter.revier { color: var(--orange); }
.rg-balken-row { margin-bottom: var(--s2); }
.rg-balken-row.schwach .rg-balken-fill { background: var(--orange); }
.rg-balken-kopf { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: .25rem; }
.rg-balken-kopf span:first-child { font-family: var(--cond); font-weight: 600; color: var(--navy); }
.rg-balken-spur { height: 10px; background: var(--linie); border-radius: 5px; overflow: hidden; }
.rg-balken-fill { height: 100%; background: var(--navy); border-radius: 5px; transition: width .5s ease; }
.rg-risiko { background: var(--navy); color: #fff; border-radius: var(--radius); padding: var(--s2) var(--s3); margin: var(--s3) 0; line-height: 1.5; }
.rg-risiko strong { color: var(--orange); }
.rg-empfehlung { border-top: 1px solid var(--linie); padding-top: var(--s3); margin-top: var(--s3); }
.rg-empfehlung h3 { color: var(--navy); margin-bottom: .4rem; }
.rg-mail { background: var(--sand-soft); border-radius: var(--radius); padding: var(--s2) var(--s3); margin-top: var(--s3); }
.rg-mail label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--navy); }
.rg-mail-zeile { display: flex; gap: .6rem; }
.rg-mail-zeile input { flex: 1; padding: .55rem .75rem; border: 1.5px solid var(--linie); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.rg-mail-zeile input:focus { outline: none; border-color: var(--orange); }

@media (max-width: 640px) {
  .rg-felder { grid-template-columns: 1fr; }
  .rg-card { padding: var(--s3) var(--s2); }
  .rg-mail-zeile { flex-direction: column; }
}

/* ── Platzhalter-Seite ────────────────────────────────────── */
.platzhalter { text-align: center; padding: var(--s6) 0; }
.platzhalter .marke { font-family: var(--cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-size: .9rem; }

/* ── Cookie-Banner ────────────────────────────────────────── */
#cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9980;
  background: var(--navy); color: #fff; padding: 1rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3); font-size: .92rem; line-height: 1.5;
}
#cookie-banner a { color: var(--orange); text-decoration: underline; }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { color: #fff; }
.cookie-btns { display: flex; gap: .65rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Responsiv ────────────────────────────────────────────── */
@media (max-width: 820px) {
  .karten { grid-template-columns: 1fr; }
  .beweise { grid-template-columns: 1fr; }
}
@media (max-width: 980px) { .wegweiser { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wegweiser { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  /* Bild schmaler Schirme: ganz hinter den Text als dezenter Grund */
  .hero-bild {
    width: 100%;
    opacity: .5;
    -webkit-mask-image: linear-gradient(0deg, var(--navy) 6%, rgba(0,0,0,.35) 55%, #000 100%);
            mask-image: linear-gradient(0deg, var(--navy) 6%, rgba(0,0,0,.35) 55%, #000 100%);
  }
  .hero .container > * { max-width: 100%; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero-bild { opacity: .38; }
  .nav { display: none; }
  .nav.offen {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--linie);
    padding: .5rem 1.5rem 1rem; gap: 0;
  }
  .nav.offen a { padding: .7rem 0; border-bottom: 1px solid var(--linie); }
  .nav.offen .nav-gruppe { flex-direction: column; align-items: stretch; }
  .nav.offen .untermenu {
    display: block; position: static; border: none; box-shadow: none;
    padding: 0 0 0 1rem; min-width: 0;
  }
  .nav.offen .untermenu a { padding: .55rem 0; font-size: .9rem; }
  .nav-burger { display: block; }
  .fuss-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .fuss-unten-inner { flex-direction: column; align-items: flex-start; }
  .fuss-unten .rechts a { margin-left: 0; margin-right: .9rem; }
  .abschnitt { padding: var(--s5) 0; }
  .cookie-inner { flex-direction: column; gap: 1rem; }
  .cookie-btns { width: 100%; }
  .cookie-btns .knopf { flex: 1; justify-content: center; }
}

/* ── Phase 4: Blog/Ratgeber-Listing ─────────────────────────────────────────── */
.seiten-hero--slim { padding: var(--s4) 0 var(--s3); }

.artikel-liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1080px;        /* fasst genau drei 320er-Karten plus Lücken */
  margin: 0 auto;
}
.artikel-karte {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 0 1 320px;          /* immer drei pro Reihe; unvollständige Reihe wird zentriert */
  max-width: 320px;
}
@media (max-width: 720px) { .artikel-karte { flex-basis: 100%; max-width: 420px; } }
.artikel-karte:hover { border-color: var(--color-orange); }
.artikel-karte__meta { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: #888; }
.artikel-karte__titel { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.artikel-karte__titel a { text-decoration: none; color: inherit; }
.artikel-karte__titel a:hover { color: var(--color-orange); }
.artikel-karte__teaser { margin: 0; font-size: .88rem; color: #555; line-height: 1.55; }
.artikel-karte__link { font-size: .85rem; color: var(--color-orange); text-decoration: none; margin-top: auto; }
.badge-typ { background: #e9ecef; color: #333; border-radius: 99px; padding: .1rem .55rem; font-size: .72rem; font-weight: 600; }
.badge-typ--ratgeber { background: #d4edda; color: #155724; }
.badge-typ--blog { background: #e2dcf3; color: #3b2b6b; }
.badge-blog { background: #cce5ff; color: #004085; }
.badge-ratgeber { background: #d4edda; color: #155724; }

/* ── DB-gesteuerter Seiteninhalt (inhalt_md) ── */
.db-inhalt { max-width: 760px; line-height: 1.75; }
.db-inhalt h1 { font-size: 1.6rem; margin: 1.5rem 0 .6rem; }
.db-inhalt h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.db-inhalt h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.db-inhalt h4 { font-size: .95rem; margin: 1.2rem 0 .3rem; font-weight: 700; }
.db-inhalt p  { margin-bottom: 1rem; }
.db-inhalt a  { color: var(--orange, #EE8018); }
.db-inhalt ul, .db-inhalt ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.db-inhalt li { margin-bottom: .3rem; }
.db-inhalt blockquote { border-left: 4px solid var(--orange, #EE8018); margin: 1.5rem 0;
  padding: .6rem 1.25rem; color: #444; font-style: italic; background: #fafafa; }
.db-inhalt strong { font-weight: 700; }
.db-inhalt hr { border: none; border-top: 1px solid #e4e1da; margin: 2rem 0; }
.db-col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0; }
.db-col3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
@media (max-width: 640px) {
  .db-col2, .db-col3 { grid-template-columns: 1fr; }
}
