/* moovnao.de · Design-System für alle Seiten
   Regeln: webseite/bildstil/BILDSTIL.md (Bildstil und Seitenlayout) */

:root {
  /* Farben der Live-Seite plus Teal-Schwarz für die eine große dunkle Fläche */
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --sand: #F2F1EC;
  --sand-deep: #E8E6DF;
  --tint: #EFF5F3;
  --dark: #162A26;
  --dark-glow: #24453E;
  --teal: #2A8C7A;
  --teal-light: #3BA594;
  /* Teal für kleine Schrift: erreicht 4,5:1 (WCAG AA) auf Weiß, Hell, Zartgrün und Sand.
     Buttons und Flächen bleiben bewusst --teal (Markus, 2026-11-08: das dunklere Grün gefällt dort nicht). */
  --teal-text: #237867;
  --teal-pale: #8FBFB8;
  --teal-soft: rgba(42, 140, 122, 0.10);
  --teal-border: rgba(42, 140, 122, 0.25);
  --head: #262626;
  --text: #575757;
  --muted: #66716C; /* 4,9:1 auf Hell */
  --rating: #FBBC04;
  --on-dark: #F0EFEB;
  --on-dark-muted: #A8B5AF;
  --border: rgba(26, 31, 29, 0.08);
  --border-strong: rgba(26, 31, 29, 0.14);
  --shadow-bubble: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 30px 70px rgba(22, 42, 38, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout: ein Rhythmus für alle Sections */
  --nav-h: 72px;
  --max: 1200px;
  --max-card: 1360px;
  --pad: 48px;
  --space: 128px;
  --gutter: 24px;
  --radius-card: 36px;
  --radius: 24px;

  /* Schriftgrößen: überall dieselben Stufen */
  --font-display: 'Satoshi Variable', 'Satoshi', sans-serif;
  --font-body: 'Satoshi', sans-serif;
  --fs-h1: clamp(2.4rem, 4.6vw, 3.8rem);
  --fs-h2: clamp(2.1rem, 4.2vw, 3.4rem);
  --fs-h3: 1.45rem;
  --fs-lead: 1.12rem;
  --fs-body: 18px;
  --fs-small: 15px;
}

/* ── Schriften: selbst gehostet, keine Verbindung zu externen Schrift-Diensten ── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--head); color: var(--bg);
  padding: 10px 16px; border-radius: 100px; text-decoration: none; font-size: 15px;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Typografie ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--head); }
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.teal { color: var(--teal); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--teal-text);
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: var(--fs-lead); max-width: 560px; margin-top: 24px; }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
/* Section auf normalem Grund: Abstand nur nach oben */
.section { padding-top: var(--space); }
/* Farbige Fläche über die volle Breite */
.band { margin-top: var(--space); padding: var(--space) 0; }
.band.sand { background: var(--sand); }
.band.tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.page-end { padding-bottom: var(--space); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 100px; border: none; cursor: pointer;
  font: 500 16px var(--font-body); text-decoration: none; white-space: nowrap;
  background: var(--teal); color: var(--white);
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(42,140,122,.25); }
.btn.ghost { background: transparent; color: var(--head); border: 1.5px solid var(--border-strong); }
.btn.ghost:hover { border-color: var(--teal-text); color: var(--teal-text); box-shadow: none; }
.btn.light { background: var(--bg); color: var(--head); }
.btn.light:hover { background: var(--white); }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Hover-Bewegung bleibt auch nach dem Einblenden erhalten */
.btn.reveal.in:hover { transform: translateY(-1px); }
.s-card.reveal.in:hover { transform: translateY(-4px); }
.team-teaser.reveal.in:hover { transform: translateY(-2px); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ── Entwurfs-Hinweise (nur im Entwurf sichtbar, standardmäßig aus) ── */
.note {
  display: none; gap: 8px; align-items: center; margin-top: 18px;
  font-size: 13px; line-height: 1.4; font-weight: 500; color: #8A6D1F;
  background: #FBF6E6; border: 1px dashed #D9C78A; border-radius: 8px; padding: 6px 10px;
}
.note::before { content: "Entwurf"; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
body.show-notes .note { display: inline-flex; }
.notes-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 80;
  font: 500 13px var(--font-body); color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 100px; padding: 8px 14px; cursor: pointer;
}

/* ═══ HEADER ═══ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; padding: 0 48px;
  /* fast deckendes Weiß, damit über dunklen Flächen kein Grünstich entsteht */
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav-inner { display: flex; align-items: center; width: 100%; max-width: var(--max-card); margin: 0 auto; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
/* Icon optisch auf die x-Höhe der Wortmarke statt auf den Textkasten zentrieren */
.brand img { width: 40px; height: 40px; transform: translateY(8.5%); opacity: 0; animation: fadeIn 0.6s ease forwards 0.2s; }
.brand span {
  font-weight: 500; font-size: 24px; color: var(--text); margin-left: 4px; letter-spacing: -0.02em;
  opacity: 0; animation: fadeIn 0.6s ease forwards 0.35s;
}
@keyframes fadeIn { to { opacity: 1; } }
.main-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li > a, .nav-menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 100px;
  border: none; background: none; cursor: pointer; text-decoration: none;
  font: 500 16px var(--font-body); color: var(--text); transition: color .2s, background .2s;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover,
.nav-menu > li > button[aria-expanded="true"] { color: var(--head); background: var(--sand); }
.nav-menu a[aria-current="page"], .nav-menu button.is-current { color: var(--teal-text); }
.nav-menu .chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-menu button[aria-expanded="true"] .chev { transform: rotate(180deg); }
/* LinkedIn zwischen Navigation und Gesprächs-Button, mit feinem Strich von den Menüpunkten abgesetzt */
.nav-social {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 14px;
  border-radius: 50%; color: var(--text); transition: color .2s, background .2s;
}
.nav-social::before { content: ""; position: absolute; left: -14px; top: 50%; width: 1px; height: 20px; transform: translateY(-50%); background: var(--border-strong); }
.nav-social:hover { color: var(--teal-text); background: var(--sand); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--head); margin: 6px auto; transition: transform .3s var(--ease), opacity .3s; }
.progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--teal); transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Mega-Menü: schwebendes Panel, links Bereiche als Reiter, rechts die Versicherungen des Bereichs ── */
.mega {
  position: fixed; top: calc(var(--nav-h) + 10px); left: 50%; z-index: 49;
  width: min(1100px, calc(100vw - 2 * var(--gutter)));
  display: grid; grid-template-columns: 320px 1fr; overflow: hidden;
  background: var(--bg); border-radius: var(--radius-card);
  box-shadow: 0 50px 120px rgba(22, 42, 38, 0.28), 0 0 0 1px rgba(26, 31, 29, 0.06);
  max-height: calc(100vh - var(--nav-h) - 30px);
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px) scale(.985); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .3s;
}
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .45s var(--ease); }

.mega-rail {
  display: flex; flex-direction: column; gap: 22px; padding: 30px 22px 26px;
  background: radial-gradient(130% 90% at 0% 0%, var(--dark-glow) 0%, var(--dark) 70%);
  color: var(--on-dark-muted);
}
.mega-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--teal-pale); }
.mega-kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.mega-tabs { display: grid; gap: 6px; }
.mega-tab {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; text-align: left;
  border: none; border-radius: 18px; background: transparent; color: var(--on-dark); cursor: pointer;
  transition: background .25s var(--ease);
}
.mega-tab:hover { background: rgba(240,239,235,.06); }
.mega-tab.active { background: rgba(240,239,235,.11); }
.mega-tab.active::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 2px solid var(--teal-pale); border-right: 2px solid var(--teal-pale); transform: rotate(45deg);
}
.mega-ico { flex: 0 0 46px; height: 46px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(240,239,235,.12); }
.mega-ico svg, .mega-thumb svg { display: block; width: 100%; height: 100%; }
.mega-tab b { display: block; font: 500 16.5px/1.25 var(--font-body); }
.mega-tab small { display: block; font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }
.mega-rail-foot { margin-top: auto; display: grid; gap: 14px; padding: 18px 12px 0; border-top: 1px solid rgba(240,239,235,.1); }
.mega-all { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 15px; }
.mega-all:hover { color: var(--teal-pale); }
.mega-rail-foot .btn { justify-self: start; }

.mega-panels { overflow-y: auto; }
.mega-panel { display: none; padding: 34px 38px 36px; animation: megaIn .45s var(--ease); }
.mega-panel.active { display: block; }
@keyframes megaIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mega-panel-title { display: none; }
.mega-claim { font: 400 clamp(1.5rem, 2.2vw, 1.9rem)/1.15 var(--font-display); color: var(--head); letter-spacing: -0.025em; margin-bottom: 22px; }
.mega-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.mega-list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; text-decoration: none;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.mega-list a:hover { background: var(--white); box-shadow: 0 10px 30px rgba(22,42,38,.08); transform: translateY(-1px); }
.mega-thumb { flex: 0 0 52px; height: 52px; border-radius: 15px; overflow: hidden; }
.mega-list b { display: block; font: 500 16.5px/1.3 var(--font-body); color: var(--head); }
.mega-list small { display: block; font-size: 14px; line-height: 1.4; color: var(--text); margin-top: 2px; }
.mega-list a:hover b { color: var(--teal-text); }

.mega-backdrop {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 48; background: rgba(22, 42, 38, .22);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mega-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

/* ═══ SEITEN-BANNER (Unterseiten): so breit wie die große Karte, rund zwei Drittel der Hero-Höhe ═══ */
.page-banner { padding: calc(var(--nav-h) + var(--gutter)) var(--gutter) 0; }
.banner {
  position: relative; max-width: var(--max-card); margin: 0 auto; overflow: hidden;
  border-radius: var(--radius-card); min-height: clamp(340px, 50vh, 440px);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  background: var(--tint);
}
.banner.g-sand { background: var(--sand); }
.banner.g-sand-deep { background: var(--sand-deep); --teal-text: #206F60; } /* auf Sand tief reicht #237867 nicht für 4,5:1 */
.banner.g-tint { background: var(--tint); }
.banner.g-dark { background: radial-gradient(120% 140% at 85% 0%, var(--dark-glow) 0%, var(--dark) 60%); }
.banner-text { position: relative; z-index: 1; padding: 56px 0 56px clamp(28px, 6vw, 88px); }
.banner h1 { max-width: 640px; }
.banner .lead { margin-top: 20px; }
.banner-art { position: absolute; inset: 0 0 0 42%; }
.banner-art svg { width: 100%; height: 100%; display: block; overflow: hidden; }
.banner.g-dark h1, .banner.g-dark .crumbs a, .banner.g-dark .crumbs { color: var(--on-dark); }
.banner.g-dark .lead { color: var(--on-dark-muted); }
.banner.g-dark .kicker, .banner.g-dark h1 .teal { color: var(--teal-pale); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 18px; list-style: none; }
.crumbs a { padding: 12px 0; color: var(--text); text-decoration: none; } /* größere Klickfläche ohne Einfluss auf die Zeilenhöhe */
.crumbs a:hover { color: var(--teal-text); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }

/* ═══ BAUSTEINE FÜR INHALTSSEITEN ═══ */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
/* Unsere Geschichte (Teamseite): links Überschrift, rechts der Text in einer Größe, Zwischentitel klein in Teal */
.story-text h3 { margin: 32px 0 8px; font: 500 14px var(--font-body); letter-spacing: .04em; color: var(--teal-text); }
.story-text h3:first-child { margin-top: 0; }
.story-text p { font-size: var(--fs-lead); line-height: 1.6; max-width: 600px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.panel h3 { margin-bottom: 18px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%232A8C7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.focus-item { background: var(--sand); border-radius: var(--radius); padding: 32px 34px; }
.focus-item em {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px;
  font-style: normal; font-size: 14px; font-weight: 700; color: var(--white); background: var(--teal);
}
.focus-item h3 { margin-bottom: 8px; }
.focus-item p { font-size: 16.5px; line-height: 1.6; }

/* Ablauf als Linie mit drei Punkten */
.flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.flow::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: var(--teal-border); }
.flow li { position: relative; padding-top: 58px; }
.flow li::before {
  content: attr(data-n); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--white); font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 6px var(--bg);
}
.band.tint .flow li::before { box-shadow: 0 0 0 6px var(--tint); }
.flow h3 { margin-bottom: 6px; }
.flow p { font-size: 16.5px; line-height: 1.6; }

/* Hinweis auf Spezialseite */
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border-radius: var(--radius); padding: 36px 40px; color: var(--on-dark-muted);
  background: radial-gradient(120% 140% at 100% 0%, var(--dark-glow) 0%, var(--dark) 65%);
}
.callout strong { display: block; font: 400 1.6rem/1.2 var(--font-display); color: var(--on-dark); letter-spacing: -0.02em; margin-bottom: 6px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
details { border-bottom: 1px solid var(--border-strong); }
details:first-of-type { border-top: 1px solid var(--border-strong); }
summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 500 1.12rem var(--font-body); color: var(--head); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--teal); transition: transform .4s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 44px 24px 0; }

/* Karten (Sparten, verwandte Themen, Magazin) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.s-card {
  display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border); transition: opacity 1s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.s-card .cover { aspect-ratio: 16 / 9; overflow: hidden; }
.s-card .cover svg { display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.s-card:hover .cover svg { transform: scale(1.04); }
.s-card .body { padding: 22px 24px 26px; }
.s-card h3 { font-size: 1.2rem; }
.s-card p { font-size: 15px; line-height: 1.55; margin-top: 6px; }
.s-card .go { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--teal-text); }

/* Abschluss-Band mit CTA */
.closing { text-align: center; }
.closing h2 { max-width: 900px; margin: 0 auto; }
.closing .actions { justify-content: center; margin-top: 40px; }
.closing .lead { max-width: 640px; margin: 24px auto 0; }

/* Haken-Liste mit {{fakt-icon}} (Mandat auf der Startseite, Termin, Mandatsseite) */
.facts { list-style: none; margin-top: 36px; display: grid; gap: 12px; max-width: 560px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { flex: 0 0 22px; margin-top: 4px; }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--head); }
.input {
  height: 52px; border: 1.5px solid var(--border-strong); border-radius: 100px; padding: 0 22px;
  font: 400 16px var(--font-body); color: var(--head); background: var(--white); outline: none; width: 100%;
}
.input:focus { border-color: var(--teal); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; flex: 0 0 auto; }
.form-msg { font-size: 14.5px; line-height: 1.5; min-height: 1.5em; }

/* ── Termin-Widget (Startseite und Kontakt) ── */
.booking { padding: var(--space) 0 0; }
.booking .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.widget { background: var(--white); border-radius: 28px; padding: 34px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.widget-head { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.widget-head .avatar { width: 48px; height: 48px; }
.widget-head strong { display: block; color: var(--head); font-weight: 500; }
.widget-head span { font-size: 14px; color: var(--muted); }
.toggle { display: inline-flex; background: var(--sand); border-radius: 100px; padding: 4px; margin-bottom: 22px; }
.toggle button { border: none; background: none; font: 500 14px var(--font-body); color: var(--text); padding: 8px 16px; border-radius: 100px; cursor: pointer; transition: background .2s, color .2s; }
.toggle button.on { background: var(--white); color: var(--head); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--head); margin-bottom: 12px; }
.cal-head span:last-child { color: var(--muted); letter-spacing: .3em; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.cal button { aspect-ratio: 1; border: none; border-radius: 10px; background: none; font: 400 14px var(--font-body); color: #C4C9C6; }
.cal button.free { color: var(--head); background: var(--teal-soft); cursor: pointer; transition: background .2s; }
.cal button.free:hover { background: var(--teal-border); }
.cal button.sel { background: var(--teal); color: var(--white); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.slots button { border: 1.5px solid var(--border-strong); background: none; border-radius: 100px; padding: 8px 16px; font: 500 14px var(--font-body); color: var(--head); cursor: pointer; transition: border-color .2s, color .2s; }
.slots button:hover, .slots button.sel { border-color: var(--teal); color: var(--teal); }
.widget .btn { width: 100%; justify-content: center; margin-top: 24px; }
.widget .btn + .btn { margin-top: 12px; }
.widget-text { color: var(--text); line-height: 1.55; }
.mag-pending { max-width: 640px; margin-bottom: 40px; }


/* Einstiegstext auf Inhaltsseiten */
.intro-text { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.5 var(--font-display); color: var(--head); letter-spacing: -0.015em; }

/* ── Magazin ── */
.mag-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.mag-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mag-filter, .mag-sort {
  height: 42px; padding: 0 18px; border-radius: 100px; border: 1.5px solid var(--border-strong); background: var(--white);
  font: 500 15px var(--font-body); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.mag-filter:hover, .mag-sort:hover { border-color: var(--teal); color: var(--teal); }
.mag-filter.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.mag-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
/* Beitragskarte „Bild im Bild“ (build.js magCard): der Rahmen trägt den Stil, das Foto darf alles sein */
.mag-card { display: block; text-decoration: none; }
.mag-card[hidden] { display: none; }
.mag-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.mag-frame.g-dark { background: var(--dark); }
.mag-frame.g-tint { background: var(--tint); }
.mag-frame.g-sand-deep { background: var(--sand-deep); }
.mag-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mag-photo {
  position: absolute; right: 10%; top: 15%; width: 64%; aspect-ratio: 4 / 5; margin: 0;
  transform: rotate(var(--tilt, -3deg)); transition: transform .8s var(--ease);
}
.mag-card:hover .mag-photo, .mag-card:focus-visible .mag-photo { transform: rotate(0deg) scale(1.02); }
.mag-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.mag-icon {
  position: absolute; left: -22px; top: -22px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--white); box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}
.mag-icon svg { width: 24px; height: 24px; }
.mag-icon.logo { background: var(--bg); }
.mag-icon.logo img { width: 28px; height: 28px; }
.mag-date, .mag-author { position: absolute; border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--head); background: rgba(250, 250, 247, .92); }
.mag-date { right: 18px; top: 18px; padding: 6px 12px; }
.mag-author { left: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; }
.mag-author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.mag-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.mag-tag { font-weight: 500; font-size: 14px; letter-spacing: .04em; color: var(--teal-text); }
.mag-card h3 { margin-top: 8px; font-size: 1.25rem; line-height: 1.3; transition: color .2s; }
a.mag-card:hover h3 { color: var(--teal-text); }
.mag-teaser { margin-top: 10px; font-size: var(--fs-small); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .mag-photo { transform: none; transition: none; }
  .mag-card:hover .mag-photo, .mag-card:focus-visible .mag-photo { transform: none; }
}
.mag-empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ── Artikel ── */
.article { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 80px; justify-content: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ol li::marker { color: var(--teal-text); font-weight: 700; }
/* Vergleichstabellen im Fließtext: ruhige Linien statt Kästen, auf dem Handy waagerecht scrollbar */
.prose .table-scroll { overflow-x: auto; margin: 1.5em 0; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-strong); }
.prose thead th { color: var(--head); font-weight: 500; }
.prose tbody th { color: var(--head); font-weight: 500; white-space: nowrap; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 2.4em; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.author-box img { width: 48px; height: 48px; flex: 0 0 auto; }
.author-box strong { display: block; color: var(--head); font-weight: 500; }
.author-box span { font-size: 15px; }
.aside-cta .actions { margin-top: 18px; gap: 8px; }
.aside-cta .actions .btn { margin-top: 0; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 26px 30px; border-radius: var(--radius); background: var(--tint);
  font: 400 1.3rem/1.5 var(--font-display); color: var(--head);
}
.prose a { color: var(--teal-text); }
.article-aside { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 24px; }
.toc { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.toc a { padding: 12px 0; text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--teal-text); }
.aside-cta { border-radius: var(--radius); padding: 28px; color: var(--on-dark-muted); background: radial-gradient(120% 120% at 100% 0%, var(--dark-glow) 0%, var(--dark) 65%); font-size: 15px; line-height: 1.55; }
.aside-cta strong { display: block; font: 400 1.35rem/1.25 var(--font-display); color: var(--on-dark); margin-bottom: 8px; }
.aside-cta .btn { margin-top: 18px; }

/* ── Rechtliches (Impressum, Datenschutz, Erstinformation): ruhiger Kopf statt Bildbanner, Lesespalte wie im Artikel ── */
.legal { padding-top: calc(var(--nav-h) + 72px); }
.legal-head, .legal-body { max-width: 760px; margin: 0 auto; }
.legal-head { padding-bottom: 36px; margin-bottom: 48px; border-bottom: 1px solid var(--sand-deep); }
.legal-sub { margin-top: 14px; color: var(--muted); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
.legal-tabs a {
  display: inline-block; padding: 9px 18px; border-radius: 100px; font-size: 15px;
  background: var(--sand); color: var(--text); text-decoration: none; transition: background .2s, color .2s;
}
.legal-tabs a:hover { background: var(--sand-deep); color: var(--head); }
.legal-tabs a[aria-current="page"] { background: var(--dark); color: var(--on-dark); }
.legal-body h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.person-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.person-card .photo { aspect-ratio: 4 / 5; background: var(--tint); }
.person-card .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person-card .body { padding: 22px 24px 26px; }
.person-card .role { font-size: 14px; color: var(--teal-text); font-weight: 500; margin-top: 2px; }
.person-card p { font-size: 15px; line-height: 1.55; margin-top: 10px; }
.person-card.more { display: grid; place-items: center; text-align: center; padding: 40px; background: var(--sand); border-style: dashed; border-color: var(--border-strong); }

/* ── Kontakt ── */
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); text-decoration: none; transition: border-color .2s; }
a.contact-item:hover { border-color: var(--teal); }
.contact-item i { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); }
.contact-item b { display: block; color: var(--head); font-weight: 500; }
.contact-item span { font-size: 15px; }

/* ═══ FOOTER ═══ */
.site-footer { padding: var(--space) var(--gutter) var(--gutter); }
.footer-card {
  max-width: var(--max-card); margin: 0 auto; border-radius: var(--radius-card); overflow: hidden;
  color: var(--on-dark-muted); font-size: 15px; line-height: 1.6;
  background: radial-gradient(100% 80% at 100% 0%, var(--dark-glow) 0%, var(--dark) 60%);
}
.footer-news {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
  padding: 64px clamp(28px, 6vw, 88px); border-bottom: 1px solid rgba(240,239,235,.1);
}
.footer-news h2 { color: var(--on-dark); font-size: var(--fs-h2); }
.footer-news h2 .accent { color: var(--teal-pale); }
.footer-news p { margin-top: 14px; max-width: 440px; }
.news-form { display: grid; gap: 14px; }
.news-row { display: flex; gap: 10px; }
.news-row .input { background: rgba(240,239,235,.06); border-color: rgba(240,239,235,.2); color: var(--on-dark); }
.news-row .input::placeholder { color: var(--on-dark-muted); }
.news-row .input:focus { border-color: var(--teal-pale); }
.news-form .consent a { color: var(--on-dark); }
.news-form .form-msg { color: var(--teal-pale); }
.footer-cols {
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px;
  padding: 56px clamp(28px, 6vw, 88px) 48px;
}
.footer-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; margin-bottom: 18px; }
.footer-brand i { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; transform: translateY(8.5%); }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand span { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--on-dark); }
.footer-col h3 { font: 500 14px var(--font-body); letter-spacing: .04em; color: var(--teal-pale); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-card a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer-card a:hover { color: var(--on-dark); }
.footer-contact { display: grid; gap: 4px; margin-top: 4px; }
.footer-brands {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  padding: 22px clamp(28px, 6vw, 88px); border-top: 1px solid rgba(240,239,235,.1); font-size: 14px;
}
.footer-brands span { color: var(--teal-pale); font-weight: 500; }
/* Registerzeile in derselben Zeile wie die Fachseiten, mit senkrechtem Strich abgesetzt; bricht sie um, steht sie ohne Strich darunter */
.footer-register { flex: 1 1 auto; margin-left: auto; padding-left: 28px; border-left: 1px solid rgba(240,239,235,.18); text-align: right; font-size: 13.5px; }
.footer-legal {
  padding: 22px clamp(28px, 6vw, 88px) 30px; border-top: 1px solid rgba(240,239,235,.1);
  font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
}
/* Abspann der Agentur: Logo ist weiß, per Filter in den gedämpften Ton des Footers */
.footer-credit { white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.footer-credit a { display: inline-block; line-height: 0; }
.footer-credit img { height: 16px; width: auto; filter: brightness(.7); transition: filter .2s; }
.footer-credit a:hover img, .footer-credit a:focus-visible img { filter: brightness(1); }

/* Schwebender Gesprächs-Button: unten rechts ab einer gewissen Scrolltiefe, ausgeblendet, solange ein eigener Buchungsbereich im Bild ist */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  transform: translateY(calc(100% + 32px)); opacity: 0; transition: transform .5s var(--ease), opacity .3s;
}
.float-cta.show { transform: none; opacity: 1; }
.float-cta .btn { box-shadow: 0 12px 30px rgba(42,140,122,.3); }
.float-cta svg { flex: 0 0 auto; transform-origin: 50% 20%; }
.float-cta.ring svg { animation: cta-ring 3.4s var(--ease) 3; }
@keyframes cta-ring {
  0%, 30%, 100% { transform: rotate(0); }
  5% { transform: rotate(-14deg); }
  10% { transform: rotate(12deg); }
  15% { transform: rotate(-9deg); }
  20% { transform: rotate(6deg); }
  25% { transform: rotate(-3deg); }
}

/* Info-Feld: Lasche am rechten Rand, öffnet ein Seitenfeld mit mehr Text zur Seite */
.info-tab {
  position: fixed; right: 0; top: 50%; z-index: 44; transform: translateY(-50%);
  writing-mode: vertical-lr; padding: 20px 9px; border: none; border-radius: 10px 0 0 10px; cursor: pointer;
  background: var(--teal); color: var(--white); font: 700 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s;
}
.info-tab:hover { background: var(--teal-light); }
.info-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(22, 42, 38, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.info-overlay.open { opacity: 1; pointer-events: auto; }
.info-panel {
  position: fixed; top: 0; right: 0; z-index: 91; width: min(480px, 92vw); height: 100%; overflow-y: auto;
  padding: 40px 36px 48px; background: var(--bg); box-shadow: var(--shadow-soft);
  transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
}
.info-panel.open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.info-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border-strong); }
.info-panel-head h2 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; }
.info-close { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: none; border-radius: 50%; background: transparent; color: var(--head); cursor: pointer; }
.info-close:hover { background: var(--teal-soft); }
.info-panel h3 { margin: 28px 0 8px; font: 500 14px var(--font-body); letter-spacing: .04em; color: var(--teal-text); }
.info-panel p { font-size: var(--fs-small); line-height: 1.7; }
.info-panel p a { color: var(--teal-text); }
.info-panel .btn { margin-top: 32px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: 0; }
  /* Auf Tablet und Handy steht LinkedIn rechts neben dem Menü-Knopf, ohne Trennstrich */
  .nav-social { margin-left: auto; }
  .nav-social::before { display: none; }
  /* backdrop-filter macht den Header zum Bezugsrahmen für position: fixed, darum im offenen Zustand aus */
  .site-nav.open { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* Mobiles Menü: volle Fläche unter dem Header */
  .site-nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; overflow-y: auto;
    background: var(--white); padding: 12px var(--pad) 120px;
  }
  .site-nav.open .nav-menu > li { border-bottom: 1px solid var(--border); }
  .site-nav.open .nav-menu > li > a, .site-nav.open .nav-menu > li > button {
    width: 100%; height: 60px; padding: 0; font-size: 20px; justify-content: space-between; border-radius: 0; background: none;
  }
  .site-nav.open .nav-cta { display: inline-flex; position: fixed; left: var(--pad); right: var(--pad); bottom: 24px; justify-content: center; margin: 0; }
  .site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* Mega-Menü wird im mobilen Menü zur aufklappbaren Liste aller Bereiche */
  .mega {
    position: static; transform: none; width: auto; max-height: none; overflow: visible; box-shadow: none; border-radius: 0;
    background: transparent; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transition: none;
  }
  .mega.open { display: block; transform: none; }
  .mega-rail { display: none; }
  .mega-panels { overflow: visible; }
  .mega-panel, .mega-panel.active { display: block; padding: 4px 0 18px; animation: none; }
  .mega-panel-title { display: block; font: 500 14px var(--font-body); letter-spacing: .04em; color: var(--teal-text); margin: 10px 0 6px; }
  .mega-claim, .mega-list small { display: none; }
  .mega-list { grid-template-columns: 1fr; gap: 0; }
  .mega-list a { padding: 8px 0; gap: 12px; }
  .mega-list a:hover { box-shadow: none; transform: none; background: none; }
  .mega-thumb { flex-basis: 36px; height: 36px; border-radius: 11px; }
  .mega-backdrop { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-cols .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .split, .faq-grid, .footer-news, .booking .wrap, .article { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .article-aside { position: static; }
  .mag-list { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: minmax(0, 1fr); }
  .banner-art { inset: auto 0 0 auto; width: 46%; height: 70%; opacity: .55; }
}
@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .flow li { padding: 0 0 0 64px; }
}
@media (max-width: 640px) {
  /* Fließtext trennt automatisch. Überschriften und große Sätze trennen nur an den Stellen, die der Build als
     weiche Trennstelle setzt (softHyphens in build.js, z. B. Betriebs·unterbrechungs·versicherung): sonst entstehen
     Trennungen wie „dei-nen“ mitten in der Überschrift. Lange Buttontexte dürfen umbrechen. */
  p, li, summary { overflow-wrap: break-word; hyphens: auto; }
  h1, h2, h3, .scrub { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
  .btn { max-width: 100%; height: auto; min-height: 52px; padding-block: 12px; white-space: normal; text-align: center; }
  .btn.small { min-height: 44px; padding-block: 10px; }
  /* „Versicherungsmakler“ bleibt als Suchbegriff ungetrennt (SOFT_HYPHEN_KEEP in build.js). Mit Satzzeichen ist das
     Wort rund 8,93 em breit: Überschriften werden auf schmalen Handys nur so groß, dass es in eine Zeile passt. */
  :root {
    --pad: 16px; --space: 88px; --gutter: 12px; --radius-card: 24px; --radius: 20px;
    --keyword-em: 9; --banner-pad: 24px;
    --fs-h1: min(2.4rem, calc((100vw - 2 * var(--pad)) / var(--keyword-em)));
    --fs-h2: min(2.1rem, calc((100vw - 2 * var(--pad)) / var(--keyword-em)));
  }
  body { font-size: 17px; }
  .focus-grid, .mag-list { grid-template-columns: 1fr; }
  .widget { padding: 22px; }
  .panel { padding: 28px 24px; }
  .banner { min-height: 0; }
  .banner-text { padding: 40px var(--banner-pad) 150px; }
  .banner h1 { font-size: min(2.4rem, calc((100vw - 2 * var(--gutter) - 2 * var(--banner-pad)) / var(--keyword-em))); }
  .banner-art { width: 70%; height: 150px; opacity: 1; }
  .news-row { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; }
  .footer-register { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; text-align: left; }
  .float-cta { left: 16px; right: 16px; bottom: 16px; }
  /* Auf dem Handy würde die Lasche am Rand Text verdecken; der Text bleibt im Dokument für Suche und KI */
  .info-tab { display: none; }
  .float-cta .btn { width: 100%; justify-content: center; }
  .notes-toggle { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
