/* ==========================================================================
   Entwurf-Stylesheet fuer die Startseiten-Muster (Oldsen)
   Mobile-first. Farben und Schriften aus dem Marken-Handbuch (siehe CLAUDE.md).
   Schriften sind hier noch System-Platzhalter (Cormorant/Nunito folgen lokal).
   ========================================================================== */

:root {
  /* Markenfarben */
  --navy:   #2F4156;
  --rose:   #CFA8A6;
  --beige:  #F5EEE7;
  --taupe:  #B9AEA4;
  --greige: #EAE5DF;
  --gold:   #C7A257;
  --text:   #2F4156;
  --muted:  #746E69;
  --border: rgba(185,174,164,0.55);

  /* Schriften: echte Marken-Schriften zuerst, dann System-Platzhalter */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Grund-Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;          /* mobil gut lesbar */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

/* Ueberschriften */
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); font-weight: 700; margin: 0; line-height: 1.12; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2rem; }

/* Sichtbarer Fokus (Barrierefreiheit) */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* Layout-Hilfen */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 72px; }
.measure { max-width: 42rem; }
.eyebrow {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.lead { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }

/* Farbflaechen */
.bg-beige  { background: var(--beige); }
.bg-white  { background: #fff; }
.bg-greige { background: var(--greige); }
.bg-navy   { background: var(--navy); color: var(--beige); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--beige); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; padding: 16px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--rose); color: var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--navy); color: var(--beige); }
.btn-secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--navy); color: var(--beige); }
.bg-navy .btn-secondary { border-color: var(--beige); color: var(--beige); }
.bg-navy .btn-secondary:hover { background: var(--beige); color: var(--navy); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.btn-row .btn { width: 100%; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245,238,231,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.main-nav { display: none; }              /* mobil: Navigation ausgeblendet, Fokus auf CTA */
.header-actions .btn { padding: 12px 18px; font-size: 0.95rem; white-space: nowrap; }

/* Sehr schmale Handys: Kopfzeile kompakter, damit nichts umbricht */
@media (max-width: 420px) {
  .brand-name { font-size: 1.1rem; }
  .header-actions .btn { padding: 10px 14px; font-size: 0.85rem; }
}

/* Hero */
.hero { padding-block: 44px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 18px; }
.hero .lead { margin-bottom: 12px; }
.hero-media { display: flex; justify-content: center; }
.hero-media img { border-radius: 22px; box-shadow: 0 12px 40px rgba(47,65,86,0.10); }
.hero-media svg { width: 100%; max-width: 520px; }

/* Video-Platzhalter */
.video-figure { position: relative; margin: 0; width: 100%; max-width: 560px; }
.video-figure figcaption {
  margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Wiedererkennung */
.recognition { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.recognition li { display: flex; gap: 12px; align-items: flex-start; }
.recognition .dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--rose); }

/* Ansatz: drei Schritte */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.step .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 6px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; }

/* Programm-Karte */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; box-shadow: 0 8px 30px rgba(47,65,86,0.06); margin-top: 26px;
}
.program-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.program-list li { display: flex; gap: 12px; align-items: flex-start; }
.program-list .check { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

/* Team */
.team-photo-full { margin: 28px 0 0; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 40px rgba(47,65,86,0.10); }
.team-photo-full img { width: 100%; display: block; }
.team { display: grid; gap: 18px; margin-top: 28px; }
.team-card { background: var(--greige); border-radius: 18px; padding: 22px; }
.team-card h3 { margin-bottom: 4px; }
.team-role { font-weight: 700; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }

/* Abschluss */
.final { text-align: center; }
.final h2 { margin-inline: auto; max-width: 20ch; }
.final p { margin-inline: auto; max-width: 44ch; color: rgba(245,238,231,0.85); }
.final .btn-row { align-items: center; }
.final .btn-row .btn { width: auto; }

/* Fusszeile */
.site-footer { background: var(--navy); color: var(--beige); border-top: 2px solid var(--gold); padding-block: 40px; }
.site-footer a { color: var(--beige); }
.footer-note { font-size: 0.85rem; color: rgba(245,238,231,0.75); margin-top: 18px; }

/* Muster-Hinweis oben auf der Seite */
.variant-flag {
  background: var(--navy); color: var(--beige); text-align: center;
  font-size: 0.85rem; padding: 8px 16px; letter-spacing: 0.04em;
}
.variant-flag strong { color: var(--gold); }

/* ==== Ab Tablet/Desktop: zweispaltig, mehr Luft ==== */
@media (min-width: 800px) {
  body { font-size: 19px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.6rem; }
  .section { padding-block: 112px; }
  .main-nav { display: block; }
  .main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
  .main-nav a { text-decoration: none; font-weight: 600; color: var(--navy); }
  .main-nav a:hover { color: var(--gold); }
  .hero { padding-block: 80px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero h1 { font-size: 3.4rem; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { width: auto; }
  .recognition { grid-template-columns: 1fr 1fr; gap: 14px 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .team { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Weniger Bewegung, wenn gewuenscht */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }

/* =========================================================================
   ELEVIERTER STIL  (warm, editorial — nach Look & Feel / Beispielseiten)
   ========================================================================= */

/* Echtes Logo in der Kopfzeile */
.brand .logo { height: 48px; width: auto; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; }

/* Feine, elegante Trennlinie unter Ueberschriften (wie in den Beispielseiten) */
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 22px 0; }
.rule.center { margin-inline: auto; }

/* Eyebrow etwas edler (weiter gesperrt) */
.eyebrow { letter-spacing: 0.24em; font-size: 0.78rem; }

/* Elegantes "fading" Button (Vorbild: fav Teil 1) */
.btn-elegant {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-decoration: none;
  padding: 17px 34px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(118deg, #E3C7A2 0%, #CFA8A6 42%, #2F4156 100%);
  box-shadow: 0 14px 30px rgba(47,65,86,0.18);
  text-shadow: 0 1px 2px rgba(47,65,86,0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-elegant:hover, .btn-elegant:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(47,65,86,0.24); filter: brightness(1.03); }
.btn-elegant .check { width: 18px; height: 18px; flex: 0 0 auto; }

/* Dezenter Textlink mit Pfeil */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: 0.02em; }
.arrow-link:hover { color: var(--gold); }

/* --- Editorial-Hero: grosses Foto + Text (randlos) --- */
.hero-editorial { display: grid; grid-template-columns: 1fr; background: var(--beige); }
.hero-editorial .media { min-height: 56vw; }
.hero-editorial .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-editorial .copy { padding: 3rem 24px 3.5rem; }
.hero-editorial .copy h1 { font-size: clamp(2.5rem, 8vw, 3rem); line-height: 1.06; margin-bottom: 6px; }
.hero-editorial .copy .lead { margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

@media (min-width: 820px) {
  .hero-editorial { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 86vh; }
  .hero-editorial .media { min-height: auto; }
  .hero-editorial .copy {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(3rem, 6vw, 6rem); padding-right: clamp(3rem, 8vw, 8rem);
  }
  .hero-editorial .copy .inner { max-width: 34rem; }
  .hero-editorial .copy h1 { font-size: clamp(3rem, 3.6vw, 4rem); }
}

/* --- Vertrauensleiste (Qualifikationen) --- */
.trust { background: var(--navy); }
.trust .container { padding-block: 22px; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 30px; text-align: center; }
.trust-item { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--beige); }
.trust-item .accent { color: var(--gold); }
.trust-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
@media (max-width: 620px) { .trust-sep { display: none; } .trust-inner { gap: 8px 0; flex-direction: column; } }

/* Kopfzeile mobil aufraeumen (Ueberlappung vermeiden) */
body { overflow-x: hidden; }
@media (max-width: 800px) { .brand-name { font-size: 1.2rem; } }
@media (max-width: 600px) {
  .brand .logo { height: 38px; }
  .brand-name { font-size: 1.05rem; }
  .header-actions .btn { display: none; }   /* grosser CTA steht im Hero */
}

/* --- Dein System: Kompass mit echten Marken-Icons --- */
.system-intro { text-align: center; }
.system-intro h2 { max-width: 16ch; margin-inline: auto; }
.system-intro .lead { margin: 18px auto 0; }

/* Mobil: Mittelstueck oben, dann 2-spaltiges Raster */
.kompass { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 14px; max-width: 460px; margin: 40px auto 0; }
.k-center { grid-column: 1 / -1; background: var(--navy); border-radius: 18px; padding: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.k-center .k-title { font-family: var(--font-display); color: var(--gold); font-size: 1.7rem; line-height: 1.04; }
.k-center .k-sub { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 10px; color: rgba(245,238,231,0.85); }
.k-node { text-align: center; }
.k-node .ico { height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.k-node .ico img { max-height: 54px; max-width: 58px; width: auto; object-fit: contain; }
.k-node span:last-child { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.k-ring { display: none; }

/* Desktop: echter Ring mit acht Icons rundherum */
@media (min-width: 820px) {
  .kompass { display: block; position: relative; width: 600px; height: 600px; max-width: none; margin: 54px auto 0; }
  .k-ring { display: block; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid var(--border); }
  .k-ring.gold { inset: 15%; border: 1px dashed rgba(199,162,87,0.55); }
  .k-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 208px; height: 208px; border-radius: 50%; padding: 0; }
  .k-node { position: absolute; transform: translate(-50%,-50%); width: 122px; margin: 0; }
  .k-node.pos-t  { left: 50%; top: 8%; }
  .k-node.pos-tr { left: 82%; top: 20%; }
  .k-node.pos-r  { left: 92%; top: 50%; }
  .k-node.pos-br { left: 82%; top: 80%; }
  .k-node.pos-b  { left: 50%; top: 92%; }
  .k-node.pos-bl { left: 18%; top: 80%; }
  .k-node.pos-l  { left: 8%;  top: 50%; }
  .k-node.pos-tl { left: 18%; top: 20%; }
}
/* Flammen-Icon (Entzuendung) optisch groesser */
.k-node.ico-lg .ico img { max-height: 74px; max-width: 78px; }

/* --- Abwechselnde Foto-/Text-Bloecke (randlos) --- */
.feature { display: grid; grid-template-columns: 1fr; background: var(--beige); }
.feature.bg-white { background: #fff; }
.feature .f-media { min-height: 62vw; }
.feature .f-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .f-copy { padding: 3rem 24px 3.5rem; }
.feature .f-copy h2 { margin-bottom: 4px; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .feature .f-media { min-height: auto; }
  .feature .f-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 5vw, 5.5rem); }
  .feature .f-copy .inner { max-width: 34rem; }
  .feature.reverse .f-media { order: 2; }
  .feature.reverse .f-copy { order: 1; }
}

/* --- Zitat mit senkrechtem Gold-Balken --- */
.quote-bar { border-left: 3px solid var(--gold); padding-left: 22px; margin: 26px 0; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--navy); }
.quote-bar cite { display: block; font-style: normal; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--muted); margin-top: 12px; }

/* --- Stimmen (Karten) --- */
.voices { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 38px; }
@media (min-width: 760px) { .voices { grid-template-columns: 1fr 1fr; } }
.voice-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px 32px; box-shadow: 0 8px 30px rgba(47,65,86,0.06); }
.voice-card .q { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.42; color: var(--navy); margin: 0 0 16px; }
.voice-card .who { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.voice-card .who .ctx { color: var(--muted); font-weight: 400; }
.voice-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* --- Externe Bewertungen (ProvenExpert / Google) --- */
.review-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.review-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--greige); border: 1px solid var(--border); border-radius: 999px; padding: 12px 22px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.review-chip .stars { color: var(--gold); letter-spacing: 2px; }
.review-chip:hover { background: var(--navy); color: var(--beige); }
.review-chip:hover .stars { color: var(--gold); }

/* --- Footer-Raster --- */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a { color: var(--beige); text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand span { font-family: var(--font-display); font-size: 1.5rem; color: var(--beige); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(199,162,87,0.35); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; color: rgba(245,238,231,0.72); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* =========================================================================
   HEADER & HANDY-MENÜ (final, gilt auf allen Seiten identisch)
   ========================================================================= */
.header-inner { position: relative; }

/* Menü-Knopf (nur mobil) */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 11px; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* Navigations-Container (mobil eingeklappt) */
.nav-wrap { display: none; }
.main-nav { display: block; }                 /* alte mobile-Regel aufheben */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.main-nav a {
  display: block; text-decoration: none; font-weight: 600; color: var(--navy);
  padding: 12px 4px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta { margin-top: 10px; }

/* Seiten-Kopf (Unterseiten) */
.page-hero { padding-block: 56px 8px; }
.page-hero .eyebrow { margin-bottom: 12px; }

/* Beschrifteter Foto-Platzhalter (bis echte Fotos vorliegen) */
.photo-ph { background: linear-gradient(135deg, var(--greige), var(--taupe)); display: flex; align-items: center; justify-content: center; }
.photo-ph span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(47,65,86,0.32); padding: 8px 14px; border-radius: 999px; margin: 24px; text-align: center; }
.ph-box { border-radius: 22px; overflow: hidden; min-height: 240px; }

/* Karten-Raster (z. B. Programm-Bausteine) */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: 0 8px 30px rgba(47,65,86,0.05); }
.tile .ic { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c2 { grid-template-columns: repeat(2, 1fr); } }

/* Kontaktzeilen */
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--gold); }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; }
.form-ph { margin-top: 34px; border: 2px dashed var(--border); border-radius: 18px; padding: 40px 24px; text-align: center; color: var(--muted); background: var(--greige); }

/* --- Kompass-Grafik mit Hover-Bereichen (fuehren zum Wissens-Blog) --- */
.kompass-bild { position: relative; width: min(700px, 100%); margin: 38px auto 0; }
/* Keine abgerundeten Ecken mehr — die Grafik ist freigestellt und ist keine Kachel */
.kompass-bild img { width: 100%; height: auto; display: block; }
/* Die Klickflaeche selbst bleibt unsichtbar — keine Kachel, kein Rahmen. */
.kompass-hot {
  position: absolute; transform: translate(-50%, -50%);
  width: 23%; height: 18%; display: block; cursor: pointer;
}

/* Hervorhebung des ICONS statt einer Kachel:
   Ueber jedem Bereich liegt ein passgenauer Ausschnitt DERSELBEN Grafik.
   Im Ruhezustand unsichtbar. Beim Hovern wird er eingeblendet — der
   Goldschein legt sich dank drop-shadow um die FORM des Icons, weil die
   Grafik freigestellt ist. Deckungsgleich mit dem Original darunter,
   deshalb entsteht kein Doppelbild.

   Rechenweg (wichtig, falls die Kaestchengroesse je geaendert wird):
   Breite 23% / Hoehe 18%  ->  background-size: 100/0,23 = 434,783%  und  100/0,18 = 555,556%
   Position:  X% = (Mitte-x − 11,5) / 0,77      Y% = (Mitte-y − 9) / 0,82           */
@media (hover: hover) and (pointer: fine) {
  .kompass-hot::before {
    content: ""; position: absolute; inset: 0;
    background-repeat: no-repeat;
    background-size: 434.783% 555.556%;
    background-position: var(--bx) var(--by);
    /* Aufloesung passend zum Bildschirm — dieselbe Datei, die das Bild schon geladen hat */
    background-image: url("/images/regulationskompass.png");
    background-image: -webkit-image-set(url("/images/regulationskompass-800.webp") 1x, url("/images/regulationskompass.webp") 2x);
    background-image: image-set(url("/images/regulationskompass-800.webp") 1x, url("/images/regulationskompass.webp") 2x);
    /* Drei gestaffelte Schleier: Gold auf Beige hat wenig Kontrast und braucht sie alle drei */
    filter: drop-shadow(0 0 4px rgba(199,162,87,1))
            drop-shadow(0 0 10px rgba(199,162,87,0.9))
            drop-shadow(0 0 20px rgba(199,162,87,0.55));
    opacity: 0; transition: opacity .22s ease;
    pointer-events: none;
  }
  .kompass-hot:hover::before, .kompass-hot:focus-visible::before { opacity: 1; }
}

/* Tastatur-Bedienung: sichtbare Markierung, auch ohne Maus */
.kompass-hot:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
/* Nur fuer Screenreader sichtbar */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kompass-hinweis { text-align: center; color: var(--muted); font-size: 1rem; margin-top: 18px; }

/* --- Grafik-Platzhalter (z. B. Arbeitsweise) --- */
.graphic-ph {
  width: 100%; min-height: 62vw; background: var(--greige);
  border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.graphic-ph span { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 820px) { .graphic-ph { min-height: 100%; height: 100%; } }

/* --- Ordnungs-Animation: aus einem verstreuten Feld wird ein Fokus ---
   Uebernommen aus dem Entwurf „Editorial Noir". Zwei Anpassungen:
   1. Umgefaerbt fuer unseren hellen Hintergrund (dort war sie fuer Dunkelblau gebaut).
   2. Sie startet erst, wenn die Grafik ins Bild scrollt — sonst waere sie
      laengst vorbei, bevor die Besucherin unten ankommt. Siehe js/animation.js
   ------------------------------------------------------------------ */
/* Eigene Section nur fuer die Ordnungs-Animation: ruhiges Scharnier, viel Weissraum */
.ordnung-sektion { padding-block: clamp(56px, 9vw, 104px); }
.ordnung-sektion .ordnung { max-width: 640px; }

/* Sitzt eine Grafik statt eines Fotos in der Bildhaelfte: zentriert, mit Luft ringsum */
.feature .f-media--grafik { min-height: auto; display: flex; align-items: center; justify-content: center; padding: clamp(40px, 7vw, 72px) 24px; }

.ordnung { width: 100%; max-width: 540px; margin: 0 auto; }
.ordnung svg { width: 100%; height: auto; overflow: visible; }

/* Die verstreuten Punkte finden ihre Ordnung */
.ordnung .p { animation: ordnung-ein 2400ms cubic-bezier(.2,.6,.35,1) both; }
@keyframes ordnung-ein {
  from { transform: translate(var(--dx,0), var(--dy,0)); opacity: 0; }
  to   { transform: translate(0,0); opacity: 1; }
}
/* Linie und Pfeil zeigen die Richtung */
.ordnung .pfeil { opacity: 0; animation: ordnung-blende 1000ms ease both; animation-delay: 2600ms; }
@keyframes ordnung-blende { to { opacity: 0.7; } }
/* Der Fokus glimmt auf ... */
.ordnung .glow { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ordnung-schein 1600ms ease both; animation-delay: 3050ms; }
@keyframes ordnung-schein { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 0.32; } }
.ordnung .fokus { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ordnung-auf 1200ms cubic-bezier(.2,.7,.3,1) both; animation-delay: 3150ms; }
@keyframes ordnung-auf { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* ... und pulsiert danach ganz langsam weiter (Leben, keine Hektik) */
.ordnung .puls { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ordnung-ring 3800ms ease-out 3600ms infinite; }
@keyframes ordnung-ring {
  0%   { transform: scale(0.7); opacity: 0.45; }
  70%  { opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Alles steht still, bis die Grafik ins Bild scrollt.
   WICHTIG: Diese beiden Regeln muessen NACH den animation-Kurzschreibweisen
   oben stehen — sonst setzt die Kurzschreibweise die Pause wieder zurueck. */
.ordnung .p, .ordnung .pfeil, .ordnung .glow, .ordnung .fokus, .ordnung .puls { animation-play-state: paused; }
.ordnung.laeuft .p, .ordnung.laeuft .pfeil, .ordnung.laeuft .glow,
.ordnung.laeuft .fokus, .ordnung.laeuft .puls { animation-play-state: running; }

/* Barrierefreiheit: Wer im Betriebssystem „Bewegung reduzieren" eingestellt hat,
   sieht sofort das ruhige Endbild — ohne jede Animation. */
@media (prefers-reduced-motion: reduce) {
  .ordnung .p, .ordnung .fokus { animation: none; opacity: 1; transform: none; }
  .ordnung .pfeil { animation: none; opacity: 0.7; }
  .ordnung .glow  { animation: none; opacity: 0.32; }
  .ordnung .puls  { animation: none; opacity: 0; }
}

/* --- Qualifikations-Siegel als Streifen (Vorbild: „bekannt aus"-Leiste) ---
   Keine Kaestchen: die Siegel stehen frei nebeneinander. Das geht auf, weil
   der Abschnitt weiss ist und die Siegel weisse oder freigestellte
   Hintergruende haben — sie verschmelzen mit der Flaeche. */
.logos-streifen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: clamp(30px, 5vw, 62px); row-gap: 30px; margin-top: 40px;
}
.logos-streifen img { height: 96px; width: auto; max-width: 42vw; }
/* Noch fehlendes Siegel: nur ein zurueckhaltender Hinweis, kein Kasten */
.logo-offen {
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center; line-height: 1.6;
  border-left: 1px solid var(--border); padding-left: clamp(30px, 5vw, 62px);
}
@media (max-width: 620px) { .logos-streifen img { height: 74px; } .logo-offen { border-left: 0; padding-left: 0; } }

/* Checkliste einspaltig (wenn neben einem Bild) */
.check-list { display: grid; gap: 16px; margin-top: 24px; }

/* --- Section 4: „Du bist hier richtig, wenn ..." — zwei Spalten mit goldenen Haken --- */
.check-cols { display: grid; grid-template-columns: 1fr; gap: 20px 44px; margin-top: 34px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item svg { width: 30px; height: 30px; color: var(--gold); flex: 0 0 auto; margin-top: 1px; }
.check-item span { line-height: 1.6; }
@media (min-width: 760px) { .check-cols { grid-template-columns: 1fr 1fr; } }

/* --- Section 5: die fünf Schritte --- */
.schritte { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.schritt { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; }
.schritt .nr { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 12px; }
.schritt h3 { font-size: 1.2rem; margin-bottom: 6px; }
.schritt p { margin: 0; color: var(--muted); font-size: 1.125rem; }   /* mind. 18px, auch mobil */
@media (min-width: 700px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .schritte { grid-template-columns: repeat(5, 1fr); gap: 14px; } .schritt { padding: 22px 16px; } }
/* Stehen die Schritte neben einer Grafik, bleiben sie immer untereinander */
.f-copy .schritte { grid-template-columns: 1fr !important; gap: 14px; }
.f-copy .schritt { padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; }
.f-copy .schritt .nr { grid-row: 1 / span 2; }
.f-copy .schritt h3 { margin-bottom: 2px; }

/* --- Einwilligungs-Banner (Analytics) ---
   Schmale Leiste unten: verdeckt die Seite NICHT, Impressum/Datenschutz bleiben
   erreichbar (zusätzlich direkt im Banner verlinkt). */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 2px solid var(--gold); box-shadow: 0 -10px 30px rgba(47,65,86,0.14); }
.consent-inner { width: 100%; max-width: 1120px; margin-inline: auto; padding: 20px 24px 22px; }
.consent-titel { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin: 0 0 8px; outline: none; }
.consent-text { font-size: 0.95rem; line-height: 1.6; margin: 0 0 16px; max-width: 74ch; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Beide Buttons sind GLEICHWERTIG: identischer Stil, gleiche Größe, gleiche Trefferfläche */
.consent-btn {
  flex: 1 1 auto; min-width: 150px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px;
  border: 2px solid var(--navy); background: var(--navy); color: var(--beige);
  cursor: pointer; transition: filter .15s ease;
}
.consent-btn:hover { filter: brightness(1.12); }
.consent-links { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
.consent-links a { color: var(--navy); }
@media (min-width: 700px) { .consent-btn { flex: 0 0 auto; min-width: 180px; } }

/* Footer-Schalter „Cookie-Einstellungen" – sieht aus wie ein Link, ist aber ein Button */
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-grid .linklike { color: var(--beige); }
.footer-grid .linklike:hover { color: var(--gold); }

/* --- Kontaktformular --- */
.kontakt-form { margin-top: 10px; }
.kontakt-form .field { margin-bottom: 18px; }
.kontakt-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.kontakt-form .req { color: #b07c77; }
.kontakt-form .opt { color: var(--muted); font-weight: 400; }
.kontakt-form input, .kontakt-form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--greige);
  border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px;
}
.kontakt-form textarea { resize: vertical; min-height: 140px; }
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; background: #fff; }
.field-check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.field-check input { margin-top: 4px; width: 20px; height: 20px; flex: 0 0 auto; }
.field-check label { font-weight: 400; margin: 0; }
.form-note { font-size: 0.85rem; margin-top: 14px; }
/* Honeypot: bewusst off-screen (NICHT display:none), zusätzlich aria-hidden + tabindex=-1 im HTML */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Status nach dem Absenden */
.form-status { border-radius: 12px; padding: 16px 18px; margin-bottom: 24px; font-weight: 600; }
.form-status.ok { background: #e7f0e7; border: 1px solid #b9d3b9; color: #2f5233; }
.form-status.err { background: #f6e4e2; border: 1px solid #e0b6b0; color: #8a3b31; }

/* Notiz-/Platzhalter-Hinweis */
.soon { text-align: center; }
.soon .badge { display: inline-block; background: var(--greige); border: 1px solid var(--border); color: var(--navy); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }

/* geöffnetes Menü (mobil): Panel unter der Kopfzeile */
.nav-wrap.open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--beige); border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(47,65,86,0.08); padding: 16px 24px 22px;
}

/* Ab Desktop: Menü immer sichtbar, waagerecht, kein Knopf */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-wrap { display: flex !important; align-items: center; gap: 30px;
    position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .main-nav ul { flex-direction: row; gap: 26px; }
  .main-nav a { padding: 6px 0; }
  .nav-cta { margin-top: 0; }
}

/* --- Grafik: Kreislauf der Arbeitsweise (Section „So arbeiten wir") ---
   Bewusst ein Kreis: Schritt 5 fuehrt zurueck zum Anfang.
   Die Schriften muessen ueber CSS gesetzt werden — font-family="var(...)"
   direkt im SVG-Attribut funktioniert nicht. */
.arbeitsweise-grafik { width: 100%; max-width: 520px; height: auto; margin: 0 auto; display: block; }
.arbeitsweise-grafik text { font-family: var(--font-body); }
.arbeitsweise-grafik .zahl,
.arbeitsweise-grafik .mitte { font-family: var(--font-display); }
