/* ==========================================================================
   AI-PALS – Stylesheet
   Eine einzige Datei für das gesamte Aussehen der Website.

   Aufbau:
   1. Schriften       5. Kopfbereich (Header)
   2. Variablen       6. Sektionen & Bausteine
   3. Grundlagen      7. Fußbereich (Footer)
   4. Buttons         8. Handy-Leiste & Hilfsklassen

   Klassennamen nach BEM: block__element--variante
   z. B. .hero (Block), .hero__title (Teil davon), .btn--primary (Variante)
   ========================================================================== */


/* 1. SCHRIFTEN – liegen im Ordner /fonts, nicht bei Google (Datenschutz) */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/outfit-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: "Outfit";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/outfit-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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;
}


/* 2. VARIABLEN – Farben, Schriften und Maße an EINER Stelle.
   Willst du z. B. das Blau ändern, änderst du nur --blue.
   Quelle: AI-PALS Brand Foundation + Design System (Ordner 2026_Rebranding).
   Die drei Markenfarben: Core Blue #2400C0, Signal Gold #CDC212, Neutral Sand #DDDD97.
   Alles andere sind hellere/dunklere Abstufungen davon aus dem Design System. */
:root {
  --blue: #2400C0;        /* Core Blue */
  --blue-deep: #1D009C;   /* blue-800: Hover */
  --blue-soft: #ECE9FC;   /* blue-100 */
  --gold: #CDC212;        /* Signal Gold */
  --gold-hover: #DFD540;  /* gold-400 */
  --gold-deep: #A8A00D;   /* gold-600 */
  --sand: #F4F4DC;        /* sand-100: helle Fläche */
  --sand-line: #E8E8B8;   /* sand-200 */
  --paper: #FFFFFF;
  --ground: #F7F7FA;      /* ink-50 */
  --ink: #0C0A1F;         /* ink-900: Überschriften, dunkler Text */
  --ink-2: #2C2A45;       /* ink-700: Fließtext */
  --ink-3: #6B698A;       /* ink-500: leiser Text */
  --line: #E0DFE8;        /* ink-200: Linien, Rahmen */
  --footer-bg: #0C0A1F;
  --footer-text: #C1BFD1;
  --footer-muted: #9290AD;
  --footer-line: #2C2A45;

  --font-h: "Outfit", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-b: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  --radius: 16px;         /* Karten (Design System: r-lg) */
  --radius-sm: 12px;      /* Buttons, Eingabefelder (r-md) */
  --maxw: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 96px);
  --header-h: 72px;
}


/* 3. GRUNDLAGEN */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 {
  font-family: var(--font-h);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); color: var(--blue); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--blue); }
h3 { font-size: 1.35rem; color: var(--ink); line-height: 1.25; }
p { margin: 0; }

/* Inhalt mittig mit Maximalbreite */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Sichtbarer Rahmen, wenn man mit der Tastatur (Tab) navigiert */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* "Zum Inhalt springen" – erscheint nur, wenn man mit Tab darauf kommt */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--blue); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }


/* 4. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-b); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .9rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s;
}
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-soft); }
.btn--gold { background: var(--gold); color: var(--blue-deep); }
.btn--gold:hover { background: var(--gold-hover); }


/* 5. KOPFBEREICH */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
}
.site-header__logo img { height: 34px; width: auto; }
.site-header__cta { display: flex; align-items: center; gap: 1rem; }
.site-header__tel { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }

.nav__list { display: flex; gap: 1.4rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link--active { color: var(--blue); }
.nav__toggle::after { content: "▾"; margin-left: .3rem; font-size: .8em; }

/* Untermenü "Angebote" */
.nav__sub {
  display: none; position: absolute; top: calc(100% + .8rem); left: -1rem; min-width: 260px;
  list-style: none; margin: 0; padding: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(36, 0, 192, .08);
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub,
.nav__item--open .nav__sub { display: block; }
.nav__sublink { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav__sublink:hover, .nav__sublink[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }

/* Burger-Knopf (drei Striche) – nur auf kleinen Bildschirmen */
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer; }
.burger__line { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

@media (max-width: 1320px) {
  .site-header__tel { display: none; }
  .nav__list { gap: 1.1rem; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav { display: none; }
  .nav--open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.4rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link { display: block; width: 100%; text-align: left; padding: .7rem 0; font-size: 1.05rem; }
  .nav__sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 .4rem 1rem; min-width: 0; }
  .nav__toggle::after { content: none; }
  .site-header__cta .btn { display: none; }
}


/* 6. SEKTIONEN & BAUSTEINE */
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* Kleines Etikett über Überschriften */
.eyebrow {
  display: inline-block; align-self: flex-start; width: fit-content;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  color: var(--blue); background: var(--gold); padding: .35rem .7rem; border-radius: 6px;
}
.eyebrow--quiet { background: var(--sand); }
.section--sand .eyebrow--quiet { background: var(--paper); }

/* Elemente untereinander mit gleichmäßigem Abstand */
.stack { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); font-weight: 500; max-width: 62ch; }
.sub { color: var(--ink-2); max-width: 65ch; }

/* Hero – der große Bereich ganz oben */
.hero { padding-block: clamp(40px, 6vw, 80px) 0; background: var(--paper); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 1.4rem; padding-bottom: clamp(40px, 6vw, 80px); }
.hero__highlight { background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 90%, transparent 90%); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 360px; }
.hero__art::before { content: ""; position: absolute; inset: auto 8% 0 8%; height: 78%; background: var(--sand); border-radius: 32px 32px 0 0; }
.hero__img { position: relative; width: min(100%, 420px); }
/* Foto mit eigenem Hintergrund (bild_kasten: nein): ohne Sand-Kasten, nutzt die ganze Spalte */
.hero__art--plain::before { display: none; }
.hero__art--plain .hero__img { width: 100%; max-width: 680px; }
@media (min-width: 901px) { .hero__inner:has(.hero__art--plain) { grid-template-columns: 1fr 1.1fr; } }

/* Vertrauens-Zeile mit goldenen Punkten */
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--ink-3); font-size: .9rem; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.trust__item::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: .5rem; vertical-align: middle; }

/* Sprechblase von Felix */
.bubble {
  position: absolute; left: 0; bottom: 22%; max-width: 230px;
  z-index: 2; /* immer VOR dem Felix-Bild, nie dahinter */
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px; padding: .7rem 1rem; font-size: .95rem;
  box-shadow: 0 8px 24px rgba(36, 0, 192, .08);
}
.bubble__name { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__art { min-height: 300px; margin-top: 1rem; }
  .hero__img { width: min(80%, 340px); }
  .hero__art--plain { min-height: 0; }
  .hero__art--plain .hero__img { width: min(100%, 480px); }
  .bubble { bottom: 12%; max-width: 190px; }
}


/* Hero: Inhalte, die aus Markdown kommen */
.hero__copy h1 { margin: 0; }
.hero__copy > p:not(.actions) { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); font-weight: 500; max-width: 62ch; }
.hero__copy ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--ink-3); font-size: .9rem; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.hero__copy li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: .5rem; vertical-align: middle; }
.hero__inner--text { grid-template-columns: 1fr; }
.hero__inner--text .hero__copy { max-width: 820px; }
.section--hero { padding-block: clamp(40px, 6vw, 80px) 0; background: var(--paper); overflow: hidden; }
.section--hero > .wrap { padding-bottom: 0; }
.highlight { background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 90%, transparent 90%); color: inherit; }

/* Buttons nebeneinander */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.section__foot { margin-top: 1.8rem; }

/* Abschnitts-Kopf: Etikett, Überschrift, Einleitung */
.sec-head { display: flex; flex-direction: column; gap: .9rem; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--ink-2); max-width: 65ch; }

/* Referenz-Zeile */
.section--refs { padding-block: 28px; background: var(--paper); border-block: 1px solid var(--line); }
.refs { text-align: center; }
.refs h2 { font-family: var(--font-b); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.refs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.refs li { font-family: var(--font-h); font-weight: 600; color: var(--ink-3); font-size: 1.05rem; }

/* Raster für Karten und Kacheln */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid--4 { grid-template-columns: 1fr; } }

/* Karte */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--blue); }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Kachel (Compliance) */
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.tile__title { font-size: 1.1rem; }
.tile p { color: var(--ink-2); font-size: .95rem; }

/* Text links, Lernzyklus rechts */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.modes__copy, .split__copy, .case__copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.modes__copy p, .split__copy p, .case__copy p { color: var(--ink-2); max-width: 65ch; }
.modes__copy a:not(.btn), .split__copy a:not(.btn), .case__copy a:not(.btn) { font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }

/* Lernzyklus-Baustein */
.cycle__modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.cycle__mode {
  background: var(--blue); color: #fff; border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: 1rem .6rem; text-align: center; cursor: pointer;
  font-family: var(--font-h); font-weight: 600; letter-spacing: .04em; font-size: .95rem;
  transition: transform .15s, background .15s;
}
.cycle__mode small { display: block; font-family: var(--font-b); font-weight: 500; letter-spacing: 0; font-size: .78rem; opacity: .85; margin-top: .25rem; }
.cycle__mode:hover, .cycle__mode--active { background: var(--blue-deep); border-color: var(--gold); transform: translateY(-2px); }
.cycle__back { color: var(--ink-2); font-size: .9rem; margin-top: .8rem; padding-top: .6rem; border-top: 2px dashed var(--gold); }
.cycle__detail {
  margin-top: 1rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; min-height: 120px;
}
.cycle__detail h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--blue); }
.cycle__detail p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 480px) { .cycle__modes { grid-template-columns: 1fr 1fr; } }

/* Angebote */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
.offer { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.offer--featured { border-color: var(--blue); box-shadow: 0 12px 40px rgba(36, 0, 192, .08); }
.offer__tag { position: absolute; top: -14px; left: 2rem; }
.offer h3 { font-size: 1.6rem; color: var(--blue); }
.offer__kicker { color: var(--ink-2); font-weight: 500; margin-top: -.4rem; }
.offer p { color: var(--ink-2); }
.offer ul, .checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; color: var(--ink-2); font-size: .97rem; }
.offer li { padding-left: 1.4rem; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.offer__price { font-family: var(--font-h); font-weight: 600; color: var(--ink); font-size: 1.15rem; padding-top: .8rem; border-top: 1px solid var(--line); margin-top: auto; }
.offer__price small { display: block; font-family: var(--font-b); font-weight: 500; color: var(--ink-3); font-size: .85rem; }

/* Bild und Text nebeneinander */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__art { background: var(--paper); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 1.5rem; display: flex; justify-content: center; }
.split__art img { width: min(100%, 320px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Häkchen-Listen in Text-Spalten */
.split__copy ul, .twocol__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.split__copy li, .twocol__col li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.split__copy li::before, .twocol__col li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px;
  background: var(--blue); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E"); }

/* Text und Kennzahlen */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.kpi { background: var(--sand); border-radius: var(--radius-sm); padding: 1.1rem 1rem; }
.section--sand .kpi { background: var(--paper); }
.kpi__value { display: block; font-family: var(--font-h); font-weight: 600; font-size: 2rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: .4rem; }
.kpi__label { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kpis { grid-template-columns: 1fr; } }

/* Zwei Spalten */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.twocol__col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.twocol__col h3 { color: var(--blue); }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; } }

/* Nummerierte Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; counter-reset: step; }
.steps__item { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.steps__item::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--font-h); font-weight: 600;
}
.steps__item h3 { font-size: 1.1rem; }
.steps__item p { color: var(--ink-2); font-size: .95rem; }

/* Preis-Kacheln */
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.price__value { font-family: var(--font-h); font-weight: 600; font-size: 1.5rem; color: var(--blue); line-height: 1.2; }
.price p:not(.price__value) { color: var(--ink-2); font-size: .95rem; }

/* Fragen zum Aufklappen */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.1rem 0; font-family: var(--font-h); font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--blue); line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.2rem; max-width: 68ch; }

/* Hinweis-Kasten (Beratung) */
.bridge { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; max-width: 900px; }
.bridge p { color: var(--ink-2); max-width: 70ch; }

/* Blauer Abschluss */
.section--cta { background: var(--blue); color: #fff; }
.cta { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; max-width: 760px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); }
.cta a:not(.btn) { color: #fff; }

/* Fließtext (auch Rechtsseiten) */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.prose h1 { margin-bottom: .4rem; }
.prose h2 { margin-top: 1.2rem; }
.prose h3 { margin-top: .8rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.prose .table-wrap { width: 100%; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-h); font-weight: 600; color: var(--blue); background: var(--blue-soft); }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }

/* Ablauf Pfad 2 */
.path, .prose .path { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.path, .prose .path { gap: .6rem 1.8rem; }
.path__step { position: relative; padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
/* Pfeil zwischen den Schritten – steht außerhalb der Kapsel */
.path__step:not(:last-child)::after { content: "→"; position: absolute; right: -1.35rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 400; font-family: var(--font-b); }
/* ".path" davor macht die Regel stärker als die allgemeine Textfarbe in .prose */
.path .path__step--presence { background: var(--paper); color: var(--ink); border: 1px solid var(--sand-line); }
.path .path__step--mode { background: var(--blue); color: #fff; font-family: var(--font-h); letter-spacing: .04em; }
.path .path__step--goal { background: var(--gold); color: var(--blue-deep); }
.path__step--mode::after { color: var(--ink-3); }

/* Zitat */
.quote blockquote { margin: 0; border-left: 4px solid var(--gold); padding-left: 1.4rem; font-family: var(--font-h); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--blue); }

/* Demo-Seite */
.section--booking { background: var(--paper); }
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.booking__copy { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.booking__copy > p { color: var(--ink-2); font-size: 1.1rem; }
.agenda { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .8rem; width: 100%; }
.agenda__item { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: baseline; padding: .9rem 1rem; background: var(--sand); border-radius: var(--radius-sm); color: var(--ink-2); }
.agenda__time { font-family: var(--font-h); font-weight: 600; color: var(--blue); }
.booking__box { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.booking__box p { color: var(--ink-2); }
.booking__calendar { display: flex; flex-direction: column; gap: .8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.booking__note { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

/* Kontaktformular */
.form { display: flex; flex-direction: column; gap: 1rem; margin-top: .6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form__title { font-size: 1.2rem; }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form__field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.form__req { color: var(--blue); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--ink-3); border-radius: var(--radius-sm);
  padding: .75rem .9rem;
}
.form textarea { resize: vertical; min-height: 7rem; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(36, 0, 192, .28); outline-offset: 0; border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: #C81E3A; background: #FFF6F7; }
.form__field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.form__field--check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--blue); flex: none; }
.form__field--check label { font-weight: 400; flex: 1; min-width: 0; color: var(--ink-2); }
.form__field--check .form__error { flex-basis: 100%; }
.form__error { color: #C81E3A; font-size: .88rem; font-weight: 600; }
.form__hint { font-size: .82rem; color: var(--ink-3); }
.form .btn { align-self: flex-start; }
.form .btn:disabled { opacity: .5; cursor: wait; }
.form__status:empty { display: none; }
.form__status { padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form__status--ok { background: #E7F5EC; color: #1E6B3C; }
.form__status--error { background: #FFF0F2; color: #A3172F; }
/* Honigtopf: aus dem sichtbaren Bereich geschoben (nicht display:none, das erkennen manche Roboter) */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Ergänzungen für Briefing v4 ---- */

/* Umrandeter Button auf blauem Grund (z. B. "Pilot anfragen" im Abschluss) */
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* Fließtext in voller Breite (für große Tabellen und Bilder) */
.prose--wide { max-width: none; }
.prose--wide > p, .prose--wide > ul, .prose--wide > h2 { max-width: 780px; }

/* Kleines Etikett auf einer Karte, z. B. "in Entwicklung" */
.card__tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--sand); padding: .25rem .6rem; border-radius: 999px; }
.section--sand .card__tag { background: var(--ground); }

/* Dialog-Ausschnitt: Felix und eine Person im Gespräch */
.dialog { display: flex; flex-direction: column; gap: .45rem; margin: .4rem 0 0; padding: 1rem 1.1rem; background: var(--ground); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); font-size: .92rem; }
.section--sand .dialog { background: var(--paper); }
.dialog__line { color: var(--ink-2); }
.dialog__line--felix strong { color: var(--blue); }

/* Bild aus dem Bilderkatalog */
.figure { margin: 0; }
.figure img { border-radius: var(--radius-sm); }
.card .figure img { max-height: 160px; width: auto; }

/* Abschluss mit Foto (sobald das Headshot da ist) */
.cta .figure img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .6); }

/* Demo-Seite: Vertrauens-Block unter dem Ablauf */
.booking__trust { display: flex; flex-direction: column; gap: .7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); width: 100%; }
.booking__trust p { color: var(--ink-2); font-size: .95rem; }

/* Formular in einem Fließtext-Abschnitt (Demo-Seite unten) */
.prose .form { width: 100%; max-width: 640px; border-top: 0; padding-top: 0; }

/* ---- Etappe 2 ---- */

/* Kursablauf: Präsenz blau, AI-PALS-Phasen weiß mit Gold-Rand, Abschluss gold (design.md) */
.kursablauf { margin: 1.4rem 0 0; width: 100%; }
.kursablauf__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.4rem; }
.kursablauf__step { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .2rem; min-height: 84px; padding: .8rem .7rem; border-radius: var(--radius-sm); text-align: center; border: 2px solid transparent; }
.kursablauf__step:not(:last-child)::after { content: "→"; position: absolute; right: -1.2rem; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 1.25rem; font-weight: 600; }
/* ".kursablauf" davor macht die Regeln stärker als die allgemeine Textfarbe in Fließtext-Abschnitten */
.kursablauf .kursablauf__step--presence { background: var(--blue); color: #fff; }
.kursablauf .kursablauf__step--aipals { background: var(--paper); color: var(--ink); border-color: var(--gold); }
.kursablauf .kursablauf__step--goal { background: var(--gold); color: var(--blue-deep); }
.kursablauf__title { font-family: var(--font-h); font-weight: 600; font-size: .98rem; letter-spacing: .02em; }
.kursablauf__info { font-size: .78rem; opacity: .85; }
.kursablauf__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .9rem; font-size: .85rem; color: var(--ink-2); }
.kursablauf__key::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: .45rem; vertical-align: -2px; }
.kursablauf__key--presence::before { background: var(--blue); }
.kursablauf__key--aipals::before { background: var(--paper); border: 2px solid var(--gold); }
@media (max-width: 960px) {
  .kursablauf__list { grid-template-columns: 1fr; gap: 1.6rem; max-width: 420px; }
  .kursablauf__step { min-height: 0; flex-direction: row; justify-content: space-between; text-align: left; }
  .kursablauf__step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -1.55rem; transform: translateX(-50%); }
}

/* Pilotplätze: Kreise, vergebene gefüllt */
.pilots { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .4rem 0 0; }
.pilots__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--blue); background: var(--paper); }
.pilots__dot--taken { background: var(--blue); }
.pilots__text { margin-left: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }

/* Felix-Hinweis: kleines Gesicht + Sprechblase (statisch, kein Chatbot) */
.felix-tip { display: flex; align-items: flex-end; gap: .8rem; margin-top: 1.2rem; max-width: 640px; }
.felix-tip__face { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--sand); border: 2px solid var(--paper); box-shadow: 0 2px 8px rgba(12, 10, 31, .08); }
.felix-tip__bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: .8rem 1rem; color: var(--ink-2); box-shadow: 0 8px 24px rgba(36, 0, 192, .06); }
.felix-tip__bubble a { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Satz unter dem Haupt-Button */
.btn-note { font-size: .85rem; color: var(--ink-3); margin-top: -.4rem; }
.cta .btn-note { color: rgba(255, 255, 255, .75); }

/* Weiterleiten-Button */
.btn--share::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--mail) center / contain no-repeat; mask: var(--mail) center / contain no-repeat; }
:root { --mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.site-header--small .nav--open { top: 60px; }

/* Bookings: Platzhalter und eingebetteter Kalender */
.booking__placeholder { display: flex; flex-direction: column; gap: .8rem; padding: 1.2rem; background: var(--sand); border-radius: var(--radius-sm); }
.booking__placeholder p { color: var(--ink-2); font-size: .95rem; }
.booking__frame { width: 100%; height: 720px; border: 0; border-radius: var(--radius-sm); background: var(--paper); }

/* Faktenliste vor dem Footer */
.section--fakten { padding-block: 24px; background: var(--ground); border-top: 1px solid var(--line); }
.facts p { font-size: .8rem; color: var(--ink-3); max-width: none; }

/* Formular: Zusage, optionale Felder, Auswahlliste */
.form__promise { font-weight: 600; color: var(--ink); }
.form__opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.form select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--ink-3); border-radius: var(--radius-sm); padding: .75rem .9rem; }
.form select:focus { outline: 3px solid rgba(36, 0, 192, .28); outline-offset: 0; border-color: var(--blue); }

/* Kopfbereich beim Scrollen etwas schmaler */
.site-header__inner { transition: height .2s; }
.site-header--small .site-header__inner { height: 60px; }
.site-header--small .site-header__logo img { height: 28px; }

/* Fehlerseite */
.section--404 { min-height: 50vh; }

/* "hidden" muss immer gewinnen, auch gegen display:flex weiter oben */
[hidden] { display: none !important; }

/* ---- Etappe 3: die Checks ---- */
.check { width: 100%; max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); }
.check__form { display: flex; flex-direction: column; gap: 1.2rem; }
.check__progress { height: 6px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.check__bar { display: block; height: 100%; width: 0; background: var(--blue); transition: width .25s; }
.check__count { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.check:not(.check--js) .check__progress, .check:not(.check--js) .check__count, .check:not(.check--js) .check__nav { display: none; }
.check__question { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.check:not(.check--js) .check__question { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.check__legend { font-family: var(--font-h); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.3; padding: 0; }
.check__hint { display: block; font-family: var(--font-b); font-weight: 500; font-size: .85rem; color: var(--ink-3); margin-top: .2rem; }
.check__options { display: grid; gap: .55rem; }
.check__option { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.check__option:hover { border-color: var(--blue); background: var(--blue-soft); }
.check__option input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--blue); flex: none; }
.check__option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.check__error { color: #C81E3A; font-weight: 600; font-size: .9rem; }
.check__nav { display: flex; justify-content: space-between; gap: .8rem; }
.check__nav .check__next { margin-left: auto; }
.check__noscript { color: var(--ink-2); }

/* Ergebnis */
.check__result { display: flex; flex-direction: column; gap: 1.2rem; }
.check__result:focus { outline: none; }
.check__title { font-size: 1.6rem; }
.check__level { display: inline-flex; align-items: baseline; gap: .6rem; align-self: flex-start; padding: .5rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
.check__level b { font-family: var(--font-h); font-size: 1.5rem; text-transform: capitalize; }
.check__level--hoch { background: #E7F5EC; color: #1E6B3C; }
.check__level--mittel { background: var(--gold-hover); color: var(--ink); }
.check__level--gering { background: var(--ground); color: var(--ink-2); border: 1px solid var(--line); }
.check__reason { color: var(--ink-2); font-size: 1.05rem; }
.check__conditions { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.check__conditions li { position: relative; padding-left: 1.8rem; color: var(--ink-2); }
.check__conditions li::before { position: absolute; left: 0; font-weight: 700; }
.check__conditions .is-ok::before { content: "✓"; color: #1E6B3C; }
.check__conditions .is-missing::before { content: "–"; color: var(--ink-3); }
.check__block { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.check__block h3 { font-size: 1.1rem; color: var(--blue); }
.check__block p, .check__block li { color: var(--ink-2); }
.check__block ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.check__note { font-size: .9rem; color: var(--ink-3); }
.check__ampel { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: .7rem !important; }
.check__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .9rem; align-items: start; padding: .8rem; border-radius: var(--radius-sm); background: var(--ground); }
.check__row p { margin-top: .3rem; font-size: .93rem; }
.check__light { display: inline-block; text-align: center; padding: .3rem .5rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.check__row--gruen .check__light { background: #E7F5EC; color: #1E6B3C; }
.check__row--gelb .check__light { background: #FFF4CC; color: #6B5300; }
.check__row--rot .check__light { background: #FFE5E9; color: #A3172F; }
.check__row--info .check__light { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 520px) { .check__row { grid-template-columns: 1fr; } }
.check__tools .btn { padding: .6rem 1rem; font-size: .9rem; }
.check__copied { font-size: .9rem; color: #1E6B3C; font-weight: 600; }

/* Nur für Bildschirmleser sichtbar */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Markennamen nie am Bindestrich umbrechen (G1/G2) */
.nowrap { white-space: nowrap; }

/* Fußnote unter einem Absatz ({{fussnote: …}}) */
.footnote { font-size: .85em; color: var(--ink-3); margin-top: .4rem; }

/* Nur auf Papier / im PDF */
.print-only { display: none; }

/* Drucken (Check-Ergebnis als PDF speichern): nur das Ergebnis, auf eine A4-Seite */
@page { size: A4 portrait; margin: 12mm; }
@media print {
  .site-header, .site-footer, .mobile-bar, .skip-link, .cta-bar, .exit, .check__form, .check__tools, .check__copied, .check__block .actions,
  .section:not(:has(.check__result:not([hidden]))) { display: none !important; }
  html, body { padding: 0; background: #fff; font-size: 10pt; }
  .section { padding-block: 0; background: #fff !important; }
  .section .sec-head, .section .prose > :not(.check) { display: none !important; }
  .check { border: 0; padding: 0; max-width: none; }
  .check__result { gap: .5rem; }
  .print-only { display: block; }
  .check__print-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--blue); padding-bottom: 3mm; margin-bottom: 2mm; }
  .check__print-head img { width: 38mm; height: auto; }
  .check__print-title { font-family: var(--font-h); font-weight: 600; font-size: 14pt; color: var(--blue); margin: 0; }
  .check__result > .check__title { display: none; }
  .check__block { padding-top: 2.5mm; gap: 1mm; break-inside: avoid; }
  .check__block h3 { font-size: 11pt; }
  .check__block p, .check__block li { font-size: 9.5pt; line-height: 1.35; }
  .check__qr { display: flex; align-items: center; gap: 5mm; margin-top: 1mm; }
  .check__qr .qr { width: 28mm; height: 28mm; flex: none; }
  .check__qr p { font-size: 9.5pt; margin: 0; }
  .nowrap { white-space: nowrap; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- Etappe 4 ---- */

/* Icons aus Dateien (img/icons/…) in Karten und Kacheln */
.icon--file { width: 32px; height: 32px; }
.tile .card__icon { margin-bottom: .2rem; }

/* Hinweis-Leiste unter dem Kopf */
/* steht im HTML am Seitenende, wird aber fest direkt unter dem Kopf angezeigt */
.cta-bar { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 45; background: var(--sand); border-bottom: 1px solid var(--sand-line); box-shadow: 0 6px 16px rgba(12, 10, 31, .06); }
body:has(.site-header--small) .cta-bar { top: 60px; }
.cta-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.cta-bar__text { font-size: .95rem; color: var(--ink-2); }
.cta-bar__text a { font-weight: 700; text-decoration: none; }
.cta-bar__text a::after { content: " →"; }
.cta-bar__close { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--ink-2); cursor: pointer; padding: .2rem .5rem; border-radius: 6px; }
.cta-bar__close:hover { background: var(--paper); }

/* Fenster beim Verlassen */
.exit { border: 0; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); max-width: 560px; width: calc(100% - 32px); box-shadow: 0 24px 56px rgba(36, 0, 192, .18); color: var(--ink); }
.exit::backdrop { background: rgba(12, 10, 31, .6); }
.exit__close { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; background: var(--ground); border: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.exit__close:hover { background: var(--blue-soft); color: var(--blue); }
.exit__title { font-size: clamp(1.4rem, 3vw, 1.8rem); padding-right: 2.5rem; margin-bottom: 1.2rem; }
.exit__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.exit__tile { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--paper); }
.exit__tile:hover { border-color: var(--blue); background: var(--blue-soft); }
.exit__tile b { font-family: var(--font-h); font-weight: 600; color: var(--blue); }
.exit__tile span { font-size: .88rem; color: var(--ink-3); }
.exit__more { margin-top: 1.2rem; }

/* ---- Team und Porträts ---- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.team__person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.2rem; }
.team__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sand); }
.team__photo--empty { display: block; background: var(--sand); }
.team__name { font-family: var(--font-h); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-top: .4rem; }
.team__person p { color: var(--ink-2); font-size: .95rem; }
.team__person a { font-size: .9rem; text-decoration: none; }

/* Porträt im Fließtext (Über uns, Gründer): nicht über die ganze Breite */
.figure--portrait { max-width: 300px; }
.figure--portrait img { border-radius: var(--radius); }
/* Rundes Porträt (Demo-Seite) */
.figure--round img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
/* Porträt im blauen Abschluss: rund, Gesicht oben im Bild */
.cta .figure--portrait img { width: 120px; height: 120px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; }

/* Kennzeichnung KI-erstellter Fotos */
.ki-note { font-size: .78rem; color: var(--ink-3); margin-top: .6rem; }
.cta .ki-note { color: rgba(255, 255, 255, .7); }
.team + .ki-note { text-align: center; }

/* Grafik in voller Breite über den Kästchen (z. B. Roadmap auf /compliance) */
.section__graphic { margin: 0 0 1.4rem; overflow: hidden; }
/* Roadmap: Die Symbole liegen in der Grafik bei 300 / 800 / 1300 von 1600 Pixeln.
   Damit sie genau über der Mitte der drei Kästchen stehen, wird die Grafik etwas breiter
   gezogen und nach links verschoben (Ränder der Linie werden dabei abgeschnitten). */
.section__graphic--aip-comp-05-roadmap-linie img { width: 108.8%; max-width: none; margin-left: -4.4%; border-radius: 0; }
/* Stehen die Kästchen untereinander, passt der Strahl nicht mehr – dann ausblenden */
@media (max-width: 900px) { .section__graphic--aip-comp-05-roadmap-linie { display: none; } }

/* Video */
.video { width: 100%; max-width: 780px; border-radius: var(--radius); background: var(--ink); }

/* Fehlender Text – gut sichtbar, damit er nicht vergessen wird */
.missing { background: #FFE9A8; color: #6B4E00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }


/* 7. FUSSBEREICH */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-block: 48px 28px; font-size: .92rem; }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer__logo { height: 30px; width: auto; margin-bottom: 1rem; }
.site-footer__title { font-family: var(--font-h); font-weight: 600; color: #fff; margin: 0 0 .7rem; font-size: .95rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  border-top: 1px solid var(--footer-line); margin-top: 2rem; padding-top: 1.2rem;
  font-size: .82rem; color: var(--footer-muted);
}
@media (max-width: 900px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr; } }


/* 8. HANDY-LEISTE & HILFSKLASSEN */
.mobile-bar { display: none; }
@media (max-width: 1100px) {
  .mobile-bar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bar .btn { flex: 1; padding: .8rem 1rem; }
  body { padding-bottom: 76px; }
}

/* Weniger Bewegung für Menschen, die das im System eingestellt haben */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
