/*
 * Hero DE + Lernpfad-Balken (CEO-Auftrag 06.11.2026).
 * Wird nur von der deutschen Startseite geladen. home-v16.css bleibt unverändert,
 * damit EN/MK (LocalizedHome) nicht betroffen sind.
 */

.home-v16 .h16-hero--de { overflow-x: clip; }
.home-v16 .h16-hero--de .hd-grid { gap: 24px; }
.hd-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-v16 .h16-hero--de .h16-lead strong { color: var(--ink); font-weight: 700; }
.home-v16 .hd-sources { margin: -6px 0 0; color: var(--berry); font-family: var(--font-manrope), sans-serif; font-size: 14px; font-weight: 700; }

/* ---------- Person im Hero (Feedback Maya, CEO 10.11.2026: Foto B Creme; Karte rechteckig statt Pille) ---------- */
.home-v16 .hd-person { display: inline-grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "img text more"; align-items: center; column-gap: 14px; align-self: flex-start; max-width: 100%; padding: 12px 16px 12px 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: #FFFFFF; color: var(--ink); text-decoration: none; box-shadow: none; }
.home-v16 .hd-person:hover { border-color: var(--rose); color: var(--ink); }
.home-v16 .hd-person img { grid-area: img; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.hd-person-text { grid-area: text; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hd-person-text strong { font-size: 15px; font-weight: 700; }
.hd-person-quali { display: flex; flex-direction: column; color: var(--ink-soft); font-size: 13px; }
@media (min-width: 560px) { .hd-person-quali > span { white-space: nowrap; } }
.home-v16 .hd-person-more { grid-area: more; align-self: end; margin-left: 12px; color: var(--berry); font-family: var(--font-manrope), sans-serif; font-size: 13px; font-weight: 700; white-space: nowrap; }
@media (max-width: 559.98px) {
  /* Mobil: volle Breite wie das Suchfeld; „Über mich →“ rechts neben der letzten Qualifikationszeile */
  .home-v16 .hd-person { display: grid; width: 100%; box-sizing: border-box; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "img name name" "img quali more"; column-gap: 12px; padding: 10px 14px 10px 10px; line-height: 1.3; }
  .home-v16 .hd-person-text { display: contents; }
  .hd-person-text strong { grid-area: name; }
  .hd-person-quali { grid-area: quali; min-width: 0; }
  .home-v16 .hd-person img { width: 48px; height: 48px; }
  .home-v16 .hd-person-more { justify-self: end; margin: 0; font-size: 12px; }
}

/* ---------- Kartenstapel ---------- */
.hd-deck-wrap { min-width: 0; }
.hd-deck { position: relative; isolation: isolate; margin: 0 12px 12px 0; }
.hd-deck::before,
.hd-deck::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: #FFFFFF; }
.hd-deck::before { transform: translate(6px, 6px); opacity: .7; }
.hd-deck::after { transform: translate(12px, 12px); opacity: .4; }

.hd-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 20px 50px rgba(22, 32, 59, .10); }
.hd-card.is-leaving { animation: hd-out .5s ease-in forwards; }
.hd-card.is-entering { animation: hd-in .55s ease-out both; }
@keyframes hd-out { to { opacity: 0; transform: translateX(-40px) rotate(-2deg); } }
@keyframes hd-in { from { opacity: 0; transform: translate(12px, 12px) scale(.97); } }

.hd-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home-v16 .hd-eyebrow { margin: 0; color: var(--rose-dark); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hd-badge { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--rose-pale); color: var(--berry); font-family: var(--font-manrope), sans-serif; font-size: 12px; font-weight: 700; }
.home-v16 .hd-product { display: grid; margin: 0; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }

.hd-product > span { grid-area: 1 / 1; }
.hd-product-sizer { visibility: hidden; }
.hd-chain { --hd-step-h: 66px; --hd-gap: 8px; position: relative; display: flex; flex-direction: column; gap: var(--hd-gap); padding-left: 28px; }
.hd-rail { position: absolute; left: 9px; top: calc(var(--hd-step-h) / 2); bottom: calc(var(--hd-step-h) / 2); width: 2px; border-radius: 2px; background: #EADDE1; }
.hd-dot { position: absolute; left: 3px; top: calc(var(--hd-step-h) / 2 - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(198, 66, 121, .16); transform: translateY(calc(var(--hd-active) * (var(--hd-step-h) + var(--hd-gap)))); transition: transform .7s cubic-bezier(.4, 0, .2, 1); }

.hd-step { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: var(--hd-step-h); box-sizing: border-box; padding: 8px 12px; border: 1px solid #EADDE1; border-radius: 12px; background: #FFFFFF; transition: border-color .4s, box-shadow .4s, background-color .4s; }
.hd-step > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hd-step-kicker { color: var(--rose-dark); font-family: var(--font-manrope), sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hd-step-label { color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 13px; font-weight: 700; line-height: 1.25; }
.hd-step-num { flex: none; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hd-step-num.is-cost { color: var(--rose-dark); }
.hd-step.is-wait { border-style: dashed; background: #FCF8F9; }
.hd-step.is-on { border-color: var(--rose); box-shadow: 0 10px 24px rgba(22, 32, 59, .10); }
.hd-step.is-value { border-color: var(--ink); background: var(--ink); }
.hd-step.is-value .hd-step-kicker,
.hd-step.is-value .hd-step-num { color: #F5A8BC; }
.hd-step.is-value .hd-step-label { color: #FFFFFF; }

.hd-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.hd-foot-text { display: flex; flex-direction: column; gap: 2px; }
.home-v16 .hd-foot-text a { font-family: var(--font-manrope), sans-serif; font-size: 15px; font-weight: 700; }
.home-v16 .hd-foot-text a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.home-v16 .hd-disclaimer { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.home-v16 .hd-pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #E6DCE0; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; }
.home-v16 .hd-pause:hover { border-color: var(--rose-dark); }
.home-v16 .hd-pause:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 999px; }

/* ---------- Lernpfad-Balken ---------- */
.hd-path-band { padding-top: 20px; }
.home-v16 a.hd-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #FFFFFF; text-decoration: none; }
.home-v16 a.hd-path:hover { color: #FFFFFF; background: #1E2A4A; }
.home-v16 a.hd-path:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.hd-path-tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--berry); color: #FFFFFF; font-family: var(--font-manrope), sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hd-path-text { flex: 1 1 260px; font-size: 15px; line-height: 1.5; }
.hd-path-text strong { color: #FFFFFF; font-family: var(--font-manrope), sans-serif; font-weight: 700; }
.hd-path-text > span { color: #C9CEDA; }
.home-v16 a.hd-path b { flex: none; color: #F5A8BC; font-family: var(--font-manrope), sans-serif; font-size: 15px; font-weight: 700; }
/* Lernpfad-Block v2 (CEO 10.11.2026): Bezeichnung oben, Text über die volle Breite, Link darunter */
.home-v16 a.hd-path--v2 { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 28px; }
.hd-path--v2 .hd-path-text { flex: none; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.hd-path--v2 .hd-path-text strong { font-size: 20px; line-height: 1.3; }
.hd-path--v2 .hd-path-note { color: #E3E6EE; }
@media (max-width: 759.98px) {
  .home-v16 a.hd-path--v2 { padding: 18px; }
  .hd-path--v2 .hd-path-text strong { font-size: 17px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 760px) {
  .hd-deck { margin: 0 20px 20px 0; }
  .hd-deck::before { transform: translate(10px, 10px); }
  .hd-deck::after { transform: translate(20px, 20px); }
  .hd-card { padding: 24px 26px; border-radius: 26px; gap: 14px; }
  .hd-deck::before, .hd-deck::after { border-radius: 26px; }
  .home-v16 .hd-product { font-size: 22px; }
  .hd-chain { --hd-step-h: 68px; --hd-gap: 10px; padding-left: 34px; }
  .hd-rail { left: 12px; }
  .hd-dot { left: 6px; }
  .hd-step { padding: 10px 16px; border-radius: 14px; }
  .hd-step-kicker { font-size: 11px; }
  .hd-step-label { font-size: 15px; }
  .hd-step-num { font-size: 24px; }
  .hd-path-band { padding-top: 28px; }
  .home-v16 a.hd-path { padding: 18px 24px; }
  .hd-path-text { font-size: 16px; }
}

/* ---------- Desktop: zwei Spalten ---------- */
@media (min-width: 1024px) {
  .home-v16 .h16-hero--de .hd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 48px; }
  .home-v16 .h16-hero--de h1 { font-size: 50px; }
  .home-v16 .h16-hero--de .h16-lead { font-size: 17px; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .hd-card.is-leaving, .hd-card.is-entering { animation: none; }
  .hd-dot, .hd-step { transition: none; }
}

/* =====================================================================
 * Nachbesserung CEO-Geräteprüfung 07.11.2026
 * ===================================================================== */

/* Hero: Suchvorschläge im Hero ausblenden (Suchfeld bleibt) */
.home-v16 .h16-hero--de .knowledge-search-examples { display: none; }

/* Wartende Schritte blass wie im Entwurf statt gestrichelt */
.hd-step.is-wait { border-style: solid; background: #FFFFFF; opacity: .55; }

/* Kompakte Kartenansicht (nur mobil) */
.hd-compact { display: flex; flex-direction: column; gap: 12px; }
.hd-chips { display: flex; gap: 6px; }
.hd-chip { flex: 1 1 0; min-width: 0; padding: 8px 0; border: 1px solid #EADDE1; border-radius: 10px; background: #FFFFFF; color: var(--ink-soft); font-family: var(--font-manrope), sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; transition: background-color .4s, color .4s, border-color .4s; }
.hd-chip.is-on { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.hd-chip.is-done { border-color: var(--rose-pale); background: var(--rose-pale); color: var(--berry); }
.hd-compact-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 36px; }
.hd-compact-label { color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 15px; font-weight: 700; line-height: 1.25; }
.hd-compact-num { flex: none; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hd-compact-num.is-cost { color: var(--rose-dark); }
.hd-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--rose-pale); }
.hd-bar > span { display: block; height: 8px; border-radius: 999px; background: var(--rose); transition: width .3s linear; }

@media (max-width: 759.98px) {
  .hd-chain { display: none; }
  /* Reihenfolge wie Entwurf „A+B mobil“: Suche → Karte → Kennzahlen */
  .home-v16 .h16-hero--de .hd-grid { gap: 16px; }
  .home-v16 .h16-hero--de .hd-copy { display: contents; }
  .home-v16 .h16-hero--de .hd-deck-wrap { order: 1; }
  .home-v16 .h16-hero--de .h16-stats { order: 2; }
  .hd-card { gap: 12px; padding: 16px; }
  .home-v16 .hd-product { font-size: 17px; }
  .home-v16 .hd-pause { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .hd-pause-long { display: none; }
  .home-v16 .hd-foot-text a { font-size: 14px; }
}
@media (min-width: 760px) {
  .hd-compact { display: none; }
  .hd-pause-short { display: none; }
}

/* ---------- Themenkacheln: Hover und einmaliges Einblenden ---------- */
.home-v16 #themen .h16-topic { transition: transform .25s ease, box-shadow .25s ease; }
.home-v16 #themen .h16-topic-link span { display: inline-block; transition: transform .25s ease; }
@media (hover: hover) {
  .home-v16 #themen .h16-topic:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22, 32, 59, .10); }
  .home-v16 #themen .h16-topic:hover .h16-topic-link span { transform: translateX(5px); }
}
.home-v16 #themen .h16-topic:focus-within { box-shadow: 0 18px 40px rgba(22, 32, 59, .10); }
.home-v16 #themen .h16-topic-link:focus-visible span { transform: translateX(5px); }
.hd-reveal .h16-topic { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
.hd-reveal.is-in .h16-topic { opacity: 1; transform: none; }
.hd-reveal.is-in .h16-topic:nth-child(2) { transition-delay: .12s; }
.hd-reveal.is-in .h16-topic:nth-child(3) { transition-delay: .24s; }
.hd-reveal.is-in .h16-topic:nth-child(4) { transition-delay: .36s; }
@media (hover: hover) {
  .home-v16 #themen .hd-reveal.is-in .h16-topic:hover { transform: translateY(-5px); transition-delay: 0s; }
}

/* ---------- Wendekarte „Begriff einfach erklärt“ ---------- */
.home-v16 .tf-section .tf-grid { display: flex; flex-direction: column; gap: 24px; }
.tf-copy { display: flex; flex-direction: column; gap: 12px; }
.home-v16 .tf-section h2 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--rose); }
.tf-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tf-scene { perspective: 1400px; }
.tf-inner { display: grid; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.4, 0, .2, 1); }
.tf-inner.is-flipped { transform: rotateY(180deg); }
.tf-face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; padding: 22px 20px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 20px 50px rgba(22, 32, 59, .10); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tf-sizer { visibility: hidden; box-shadow: none; }
.tf-front { justify-content: space-between; }
.tf-back:not(.tf-sizer) { transform: rotateY(180deg); }
.tf-rose { background: #F8E7ED; } .tf-peach { background: #FBF0E8; } .tf-blue { background: #EAF0F5; } .tf-violet { background: #F0EAF2; }
.tf-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tf-theme { color: var(--berry); font-family: var(--font-manrope), sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tf-level { padding: 3px 9px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 11px; font-weight: 700; }
.tf-count { color: var(--berry); font-family: var(--font-manrope), sans-serif; font-size: 12px; font-weight: 700; }
.home-v16 .tf-term { margin: 0; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.home-v16 .tf-hint { margin: 0; color: var(--ink-soft); font-family: var(--font-manrope), sans-serif; font-size: 14px; font-weight: 600; }
.tf-back-term { color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 19px; font-weight: 800; }
.home-v16 .tf-text { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.5; }
.home-v16 .tf-example { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--rose-pale); color: var(--ink); font-size: 15px; line-height: 1.5; }
.tf-example b { color: var(--berry); font-family: var(--font-manrope), sans-serif; }
.tf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-v16 .tf-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #E6DCE0; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; }
.home-v16 .tf-btn:hover { border-color: var(--rose-dark); }
.home-v16 .tf-btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (min-width: 760px) {
  .tf-face { padding: 30px 34px; border-radius: 28px; }
  .home-v16 .tf-term { font-size: 52px; }
  .home-v16 .tf-text { font-size: 19px; }
}
@media (min-width: 1024px) {
  .home-v16 .tf-section .tf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-chip, .hd-bar > span, .tf-inner { transition: none; }
  .home-v16 #themen .h16-topic, .home-v16 #themen .h16-topic-link span { transition: none; }
  .home-v16 #themen .h16-topic:hover { transform: none; }
  .hd-reveal .h16-topic { opacity: 1; transform: none; }
}

/* =====================================================================
 * CEO-Wunsch 07.11.2026 (nur DE-Startseite)
 * ===================================================================== */

/* Kopfzeile scrollt mit (nicht fixiert). Diese Datei wird nur auf der DE-Startseite geladen. */
/* höhere Spezifität, weil site-header.css nach dieser Datei geladen wird */
html body .shared-site-header .platform-header { position: relative; } /* relative statt static (10.11.2026): scrollt weiter mit, aber z-index greift, Wissen-Menü liegt über dem Hero */

/* Suchfeld: nur ein ruhiger Fokus-Rahmen am Feld, kein zusätzlicher innerer Rahmen */
.home-v16 .h16-hero--de .knowledge-search-field input:focus,
.home-v16 .h16-hero--de .knowledge-search-field input:focus-visible { outline: none; box-shadow: none; }
.home-v16 .h16-hero--de .knowledge-search-field:focus-within { border-color: var(--rose-dark); box-shadow: 0 0 0 2px rgba(184, 46, 97, .18); }

/* CEO 07.11.2026: Lernpfad-Balken – Frage in eigener Zeile */
.hd-path-text strong { display: block; }

/* CEO 08.11.2026: Über-Abschnitt – Qualifikation/Fakten als ruhige Textzeilen (keine Kästen), Unabhängigkeit hervorgehoben */
.home-v16 .h16-about-facts { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.home-v16 .h16-about-claim { margin: 12px 0 0; color: var(--ink); font-family: var(--font-manrope), sans-serif; font-size: 15px; font-weight: 800; }
.home-v16 .h16-about .h16-intro strong { color: var(--ink); font-weight: 700; }
@media (min-width: 760px) {
  .home-v16 .h16-about-facts { font-size: 15px; }
  .home-v16 .h16-about-claim { font-size: 17px; }
}

/* Niedrige Laptop-Bildschirme (CEO 10.11.2026): weniger Luft über und unter dem Hero, damit die Kennzahlen ganz sichtbar sind */
@media (min-width: 1024px) and (max-height: 720px) and (hover: hover) and (pointer: fine) {
  .home-v16 .h16-hero--de .h16-hero-inner { padding-top: 28px; padding-bottom: 32px; }
}
/* Sehr schmale Handys (< 380 px): „Über mich →“ in eigener Zeile unten rechts, damit die Qualifikationen nicht umbrechen */
@media (max-width: 379.98px) {
  .home-v16 .hd-person { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "img name" "img quali" "img more"; }
  .home-v16 .hd-person-more { margin-top: 2px; }
}
