/* ==========================================================================
   Maklerausbildung.de · Gestaltung
   Stahlblau und Graublau, groß, kaum Rahmen, Tiefe über Schatten.
   Überschriften: Manrope · Text: Plus Jakarta Sans (beide lokal)
   ========================================================================== */

:root {
  --ink: #1f2a37;
  --ink-2: #46566a;
  --muted: #6b7a8c;

  --blau: #3d5a80;          /* Stahlblau: Buttons, Akzente */
  --blau-2: #324b6b;        /* Hover */
  --blau-hell: #8fa6bf;
  --blau-zart: #dfe7f0;
  --dunkel: #1e2a3a;        /* dunkle Flächen */
  --dunkel-2: #2c3e55;

  --bg: #f5f7fa;
  --bg-tint: #e9eef4;
  --bg-tint-2: #dde5ee;
  --karte: #ffffff;
  --feld: #eef2f6;

  --ok: #2f8a5b;
  --fehler: #c0392b;

  --r-xl: 36px;
  --r-lg: 28px;
  --r: 22px;
  --r-sm: 14px;

  --s-1: 0 1px 2px rgba(22, 38, 60, .05), 0 4px 14px rgba(22, 38, 60, .06);
  --s-2: 0 2px 4px rgba(22, 38, 60, .04), 0 14px 34px rgba(22, 38, 60, .08), 0 34px 80px rgba(22, 38, 60, .07);
  --s-3: 0 4px 10px rgba(22, 38, 60, .05), 0 26px 60px rgba(22, 38, 60, .13), 0 70px 130px rgba(22, 38, 60, .12);
  --s-blau: 0 12px 28px rgba(61, 90, 128, .34), 0 3px 8px rgba(61, 90, 128, .22);

  --verlauf: linear-gradient(120deg, #3d5a80 0%, #5f7fa6 55%, #8fa6bf 100%);

  --f-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --logo: 96px;
  --kopf-h: 128px;
  --pad: clamp(16px, 4vw, 40px);
  --sek: clamp(84px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(1.03rem, .98rem + .25vw, 1.15rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-decoration: none; }
a:hover { color: var(--dunkel); }
p { margin: 0 0 1.1em; overflow-wrap: break-word; }
li { overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.45rem, 1.5rem + 4.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.6rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.7rem); letter-spacing: -.025em; line-height: 1.2; font-weight: 700; }
h1 em, h2 em, .verlauf-text {
  font-style: normal;
  background: var(--verlauf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blau);
}

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }
.schmal { max-width: 880px; }

/* Nur für Screenreader und Suchmaschinen sichtbar */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--dunkel); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); }
.skip:focus { top: 16px; color: #fff; }
:focus-visible { outline: 3px solid rgba(61, 90, 128, .5); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* --------------------------------------------------------------- Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 1rem/1.15 var(--f-text);
  padding: 1.05em 1.6em;
  border-radius: var(--r-sm);
  border: 0; cursor: pointer; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-blau { background: var(--blau); color: #fff; box-shadow: var(--s-blau); }
.btn-blau:hover { background: var(--blau-2); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(61, 90, 128, .38), 0 4px 10px rgba(61, 90, 128, .24); }
.btn-hell { background: #fff; color: var(--dunkel); box-shadow: var(--s-2); }
.btn-hell::after { background: linear-gradient(110deg, transparent 30%, rgba(143, 166, 191, .25) 50%, transparent 70%); }
.btn-hell:hover { color: var(--dunkel); transform: translateY(-2px); box-shadow: var(--s-3); }
.btn-gross { font-size: 1.06rem; padding: 1.2em 1.9em; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.textlink { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--blau); }
.textlink .ic { transition: transform .3s var(--ease); }
.textlink:hover { color: var(--dunkel); }
.textlink:hover .ic { transform: translateX(4px); }

/* --------------------------------------------------------------- Siegel (Logo) */
/* Das Siegel ist eine fertige SVG-Datei (Text als Pfade). Effekte: Schatten
   und wandernder Lichtreflex. Kein Hover-Effekt (vom Kunden nicht gewünscht). */
.siegel {
  position: relative; flex: none; display: block;
  width: var(--logo); height: var(--logo);
  filter: drop-shadow(0 10px 18px rgba(30, 50, 80, .26)) drop-shadow(0 3px 6px rgba(30, 50, 80, .14));
  transition: width .45s var(--ease), height .45s var(--ease);
}
.siegel .innen { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.siegel img { width: 100%; height: 100%; max-width: none; }
.siegel .innen::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 160% 0;
  animation: glanz 6s ease-in-out infinite;
}
@keyframes glanz { 0%, 62% { background-position: 160% 0; } 88%, 100% { background-position: -60% 0; } }

/* --------------------------------------------------------------- Kopf */
/* Der Glaseffekt liegt auf einer eigenen Ebene: backdrop-filter direkt auf
   .kopf würde das fest positionierte Handymenü auf die Kopfhöhe beschränken. */
.kopf { position: sticky; top: 0; z-index: 50; transition: box-shadow .4s var(--ease); }
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(245, 247, 250, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  transition: background-color .4s;
}
.kopf.scrolled { --logo: 64px; box-shadow: 0 10px 34px rgba(22, 38, 60, .09); }
.kopf.scrolled::before { background: rgba(255, 255, 255, .92); }
.kopf-in { min-height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; transition: min-height .45s var(--ease); }
.kopf.scrolled .kopf-in { min-height: 88px; }

.marke { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); min-width: 0; }
.marke:hover { color: var(--ink); }
.marke-text { display: flex; flex-direction: column; gap: 3px; font-family: var(--f-head); white-space: nowrap; line-height: 1; }
.marke-text b { font-weight: 800; font-size: 2.06rem; letter-spacing: -.04em; }
.marke-text > span { font-weight: 600; font-size: 1.16rem; letter-spacing: .005em; color: var(--blau); }
.marke-text em { color: var(--blau); }
.marke em { font-style: normal; color: var(--blau); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav ul a {
  position: relative; display: block; padding: 10px 13px;
  font-weight: 600; font-size: .97rem; color: var(--ink-2);
  border-radius: 12px; transition: color .2s;
}
.nav ul a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--verlauf); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav ul a:hover { color: var(--dunkel); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--dunkel); }
.nav-cta { padding: .95em 1.4em; }
.nav-tel { display: none; }
.kopf-rechts, .kopf-tel { display: none; }
.nav-aktion { display: flex; align-items: center; gap: 14px; }
.nav-cta .ic { display: none; }

.burger {
  display: none; width: 54px; height: 54px; border: 0; border-radius: 16px; flex: none;
  background: #fff; color: var(--dunkel); box-shadow: var(--s-1); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger .ic { width: 26px; height: 26px; }
.burger .ic-zu { display: none; }

@media (max-width: 1280px) {
  .marke-text b { font-size: 1.86rem; }
  .marke-text > span { font-size: 1.06rem; }
  .nav { gap: 14px; }
  .nav ul a { padding: 10px 9px; font-size: .94rem; }
  .nav ul a::after { left: 9px; right: 9px; }
  .nav-cta { padding: .9em 1.15em; }
}

@media (max-width: 1120px) {
  :root { --logo: 76px; --kopf-h: 104px; }
  .kopf.scrolled { --logo: 60px; }
  .kopf.scrolled .kopf-in { min-height: 80px; }
  .kopf-rechts { display: flex; align-items: center; gap: 10px; }
  .burger { display: inline-flex; }
  .nav-aktion { flex-direction: column; align-items: stretch; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 92px); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 22px;
    padding: 24px var(--pad) 40px;
    background: #fff;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav ul a { font-family: var(--f-head); font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); padding: 10px 4px; }
  .nav ul a::after { display: none; }
  .nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--blau); }
  .nav-cta { font-size: 1.1rem; padding: 1.2em; }
  .nav-tel { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--dunkel); padding: 10px; }
  body.menue-offen { overflow: hidden; }
  body.menue-offen .nav { opacity: 1; visibility: visible; transform: none; }
  body.menue-offen .burger .ic-auf { display: none; }
  body.menue-offen .burger .ic-zu { display: block; }
}
@media (max-width: 680px) {
  :root { --logo: 68px; --kopf-h: 92px; }
  .kopf.scrolled { --logo: 52px; }
  .kopf.scrolled .kopf-in { min-height: 72px; }
  .kopf-in { gap: 12px; padding-block: 10px; }
  .marke { gap: 12px; }
  .marke-text b { font-size: 1.56rem; }
  .marke-text > span { font-size: .9rem; }
  .burger { width: 48px; height: 48px; border-radius: 14px; }
  .nav ul a { font-size: 1.6rem; }
}
@media (max-width: 359px) {
  .person .schwebe span { display: none; }
  .person .schwebe { padding: 9px 14px 9px 9px; }
  :root { --logo: 60px; }
  .marke-text b { font-size: 1.34rem; }
  .marke-text > span { font-size: .8rem; }
  .marke { gap: 10px; }
}

/* --------------------------------------------------------------- Kopf und Menü auf Handy und Tablet */
/* Dunkle Leiste mit weißer Schrift und Telefonknopf, Menü als dunkles Vollbild
   mit großen nummerierten Einträgen (gewählt aus drei Vorschlägen). */
@media (max-width: 1120px) {
  .nav-cta .ic { display: inline-block; }
  .kopf::before { background: linear-gradient(135deg, rgba(27, 38, 54, .97), rgba(44, 62, 85, .97)); }
  .kopf.scrolled::before, body.menue-offen .kopf::before { background: linear-gradient(135deg, rgba(27, 38, 54, .98), rgba(44, 62, 85, .98)); }
  .kopf { --logo: 77px; box-shadow: 0 10px 30px rgba(15, 24, 36, .25); }
  /* Siegel ragt 10 px über den unteren Rand der Leiste (Leiste 70 px hoch, 8 px Innenabstand) */
  .kopf .siegel { align-self: flex-start; margin-top: calc(72px - var(--logo)); margin-bottom: -18px; transition: width .45s var(--ease), height .45s var(--ease), margin-top .45s var(--ease); }
  .kopf .marke, .kopf-rechts { position: relative; z-index: 51; }
  .kopf.scrolled { --logo: 66px; }
  .kopf-in, .kopf.scrolled .kopf-in { min-height: 70px; padding-block: 8px; }
  .kopf .marke-text b { color: #fff; font-size: 1.25rem; }
  .kopf .marke-text > span, .kopf .marke em { color: var(--blau-hell); font-size: .8rem; }
  .kopf-tel { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: transparent; color: #fff; box-shadow: none; }
  .burger { width: 44px; height: 44px; border-radius: 12px; background: transparent; color: #fff; box-shadow: none; }
  .burger .ic { width: 29px; height: 29px; }
  .nav {
    top: 0; left: 0; right: 0; bottom: 0; z-index: 49; justify-content: space-between; gap: 28px;
    padding: calc(var(--nav-top, 86px) + 26px) 24px calc(28px + env(safe-area-inset-bottom));
    background: radial-gradient(600px 420px at 100% 0%, rgba(143, 166, 191, .3), transparent 65%), linear-gradient(160deg, #1b2636 0%, #24344a 55%, #33496a 100%);
    transform: none;
  }
  .nav ul { counter-reset: navnr; gap: 4px; }
  .nav li { counter-increment: navnr; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  body.menue-offen .nav li { opacity: 1; transform: none; }
  body.menue-offen .nav li:nth-child(2) { transition-delay: .05s; } body.menue-offen .nav li:nth-child(3) { transition-delay: .1s; }
  body.menue-offen .nav li:nth-child(4) { transition-delay: .15s; } body.menue-offen .nav li:nth-child(5) { transition-delay: .2s; }
  body.menue-offen .nav li:nth-child(6) { transition-delay: .25s; }
  .nav ul a { display: flex; align-items: baseline; gap: 16px; color: #fff; font-size: 2rem; padding: 8px 0; }
  .nav ul a::before { content: counter(navnr, decimal-leading-zero); font-family: var(--f-text); font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--blau-hell); }
  .nav ul a:hover, .nav ul a[aria-current="page"] { color: #a9bfd8; }
  .nav-aktion { gap: 12px; }
  .nav-cta { background: #fff; color: var(--dunkel); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); padding: 1.15em; }
  .nav-tel { color: #fff; border-radius: 12px; padding: 1em; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
}

/* --------------------------------------------------------------- Sektionen */
.sektion { padding-block: var(--sek); position: relative; }
.sektion-tint { background: var(--bg-tint); }
.sektion-eng { padding-block: clamp(56px, 7vw, 96px); }

.kopfzeile { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.kopfzeile.mitte { margin-inline: auto; text-align: center; }
.kopfzeile p { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-2); line-height: 1.65; }

.lead { font-size: clamp(1.12rem, 1rem + .55vw, 1.38rem); line-height: 1.6; color: var(--ink-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 112px); align-items: center; }
.split.bild-rechts .split-bild { order: 2; }
.split-text h2 { margin-bottom: .45em; }
.split-text p { color: var(--ink-2); }

.bildkarte { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--s-3); background: var(--bg-tint-2); }
.bildkarte img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; }
.bildkarte.hoch { aspect-ratio: 4 / 4.6; }
.bildkarte.quer { aspect-ratio: 4 / 3; }

.hervor {
  margin: 1.8rem 0 0; padding: 26px 30px 26px 34px;
  background: #fff; border-radius: var(--r);
  box-shadow: var(--s-2);
  font-family: var(--f-head); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.3;
  color: var(--dunkel); letter-spacing: -.025em;
  position: relative; overflow: hidden;
}
.hervor::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--verlauf); }

/* --------------------------------------------------------------- Start: Held */
.held {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 84px) 0 clamp(120px, 13vw, 190px);
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-tint) 100%);
}
.held::before, .held::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.held::before { width: 760px; height: 760px; right: -180px; top: -280px; background: radial-gradient(circle, rgba(95, 127, 166, .34), transparent 64%); animation: schweben1 18s ease-in-out infinite alternate; }
.held::after { width: 640px; height: 640px; left: -240px; bottom: -300px; background: radial-gradient(circle, rgba(143, 166, 191, .32), transparent 64%); animation: schweben2 22s ease-in-out infinite alternate; }
@keyframes schweben1 { to { transform: translate(-120px, 80px) scale(1.12); } }
@keyframes schweben2 { to { transform: translate(140px, -60px) scale(1.08); } }

.held-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.held h1 { margin-bottom: .38em; }
.held .lead { max-width: 34ch; }
.held-punkte { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.held-punkte li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.held-punkte .ic { color: var(--blau); width: 1.35em; height: 1.35em; }

.schwebe {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--r);
  box-shadow: var(--s-3);
  animation: schwebe 6s ease-in-out infinite;
}
.schwebe strong { display: block; font-family: var(--f-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--dunkel); white-space: nowrap; font-variant-numeric: tabular-nums; }
.schwebe span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.3; }
.schwebe-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); flex: none; }
.schwebe-ic .ic { width: 26px; height: 26px; }
@keyframes schwebe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* --------------------------------------------------------------- Start: Held mit Thomas Steffens */
.person { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 600px; margin-left: auto; }
.person-kreis { position: absolute; left: 6%; right: 6%; bottom: 4%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(150deg, #8fa6bf 0%, #5f7fa6 45%, #2c3e55 100%); box-shadow: 0 40px 90px rgba(22, 38, 60, .3), inset 0 -30px 60px rgba(0, 0, 0, .18); }
.person-kreis::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.person-bild { position: absolute; left: 50%; bottom: 4%; width: 74%; translate: -50% 0; filter: drop-shadow(0 30px 40px rgba(22, 38, 60, .3)); border-radius: 0 0 50% 50% / 0 0 22% 22%; }
.person-k1 { left: -30px; bottom: 16%; z-index: 3; }
.person-k2 { right: -24px; top: 44%; z-index: 3; animation-delay: -3s; }
.person-name { position: absolute; right: 2%; bottom: 0; z-index: 3; background: #fff; border-radius: var(--r); padding: 14px 20px; box-shadow: var(--s-3); line-height: 1.3; }
.person-name b { display: block; font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; }
.person-name span { color: var(--muted); font-size: .88rem; }
@media (min-width: 961px) and (max-width: 1180px), (max-width: 359px) { .person-name .lang { display: none; } }


/* --------------------------------------------------------------- Fakten */
.fakten { margin-top: calc(clamp(56px, 7vw, 96px) * -1); position: relative; z-index: 3; }
.fakten-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fakt { background: #fff; border-radius: var(--r-lg); padding: 30px 30px 28px; box-shadow: var(--s-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fakt:hover { transform: translateY(-4px); box-shadow: var(--s-3); }
.fakt strong {
  display: block; font-family: var(--f-head); font-weight: 800;
  font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3.4rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 12px;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau);
  font-variant-numeric: tabular-nums;
}
.fakt span { color: var(--ink-2); font-weight: 500; line-height: 1.45; display: block; }

/* --------------------------------------------------------------- Start: Einstieg (Bild mit schwebender Karte) */
.buehne-c { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.buehne-c .bildkarte { grid-column: 1 / span 7; grid-row: 1; aspect-ratio: 4 / 3.3; }
.buehne-c .text-karte { grid-column: 6 / span 7; grid-row: 1; position: relative; z-index: 2; background: #fff; border-radius: var(--r-xl); padding: clamp(30px, 4vw, 60px); box-shadow: var(--s-3); }
.buehne-c .text-karte h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem); }
.buehne-c .text-karte .haken { margin: 1.6rem 0 1.8rem; }

/* --------------------------------------------------------------- Bausteine */
.bausteine { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.baustein {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--r-lg); padding: 34px 26px 32px;
  box-shadow: var(--s-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.baustein::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 170px;
  background: radial-gradient(240px 150px at 15% 0%, rgba(95, 127, 166, .22), transparent 70%);
  pointer-events: none;
}
.baustein:hover { transform: translateY(-8px); box-shadow: var(--s-3); }
.baustein .nr {
  display: block; font-family: var(--f-head); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.06em; margin-bottom: 22px;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau);
}
.baustein h3 { font-size: 1.28rem; margin-bottom: .55em; }
.baustein p { font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
.unter-aktion { margin-top: clamp(36px, 4vw, 56px); display: flex; justify-content: center; }

/* --------------------------------------------------------------- Themen */
.themen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.thema { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 46px); box-shadow: var(--s-2); }
.thema-kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.thema-kopf h3 { margin: 0; }
.symbol { width: 60px; height: 60px; border-radius: 18px; flex: none; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); }
.symbol .ic { width: 28px; height: 28px; }
.symbol.voll { background: linear-gradient(140deg, #5f7fa6, #3d5a80); color: #fff; box-shadow: 0 10px 22px rgba(61, 90, 128, .3); }

.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.haken li { position: relative; padding-left: 36px; color: var(--ink-2); line-height: 1.55; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blau-zart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d5a80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hinweis-zeile { margin-top: 40px; text-align: center; color: var(--ink-2); font-size: 1.06rem; }
.hinweis-zeile a { font-weight: 700; white-space: nowrap; }

/* --------------------------------------------------------------- Dunkle Fläche */
.dunkel {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #1b2636 0%, #24344a 55%, #2f4560 100%);
  color: rgba(255, 255, 255, .82);
}
.dunkel::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 166, 191, .28), transparent 62%);
  animation: schweben1 20s ease-in-out infinite alternate;
}
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel h2 em { background: linear-gradient(120deg, #a9bfd8, #e3ecf6); -webkit-background-clip: text; background-clip: text; }
.dunkel .split-text .lead, .dunkel .split-text p { color: rgba(255, 255, 255, .78); }

.rechnung {
  background: #fff; color: var(--ink); border-radius: var(--r-xl);
  padding: clamp(24px, 3.6vw, 48px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .16);
  min-width: 0;
}
.preis-grid .rechnung { box-shadow: var(--s-3); }
.rechnung h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.rechnung > p { color: var(--ink-2); }
.rechnung .zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; }
.rechnung .zeile + .zeile { box-shadow: 0 -1px 0 var(--bg-tint-2); }
.rechnung .zeile span { color: var(--ink-2); font-weight: 500; }
.rechnung .zeile b { font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rechnung .summe { margin-top: 10px; padding: 24px 26px; border-radius: var(--r); background: var(--bg-tint); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rechnung .summe span { font-weight: 700; color: var(--dunkel); }
.rechnung .summe b {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); letter-spacing: -.045em; line-height: 1.05; white-space: nowrap;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau);
  font-variant-numeric: tabular-nums;
}
.rechnung .klein { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.rechnung .klein b { color: var(--dunkel); }

.regler { margin: 8px 0 18px; }
.regler label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 700; color: var(--dunkel); margin-bottom: 14px; }
.regler output { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--blau) var(--p, 30%), var(--bg-tint-2) var(--p, 30%)); outline-offset: 6px; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(22, 38, 60, .28), 0 0 0 6px rgba(61, 90, 128, .14); }
input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(22, 38, 60, .28), 0 0 0 6px rgba(61, 90, 128, .14); }

/* --------------------------------------------------------------- Karten, Garantie, Referent */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.duo.breit-rechts { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.karte { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 56px); box-shadow: var(--s-2); position: relative; overflow: hidden; }
.karte p { color: var(--ink-2); }
.karte .symbol { margin-bottom: 26px; }

.referent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 0; padding: 0; background: linear-gradient(160deg, #fff 30%, var(--bg-tint) 100%); }
.referent-bild { align-self: end; padding: 36px 0 0 12px; }
.referent-bild img { width: 100%; max-width: 380px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(22, 38, 60, .2)); }
.referent-text { padding: clamp(26px, 4vw, 56px) clamp(26px, 4vw, 56px) clamp(26px, 4vw, 56px) 8px; align-self: center; }
.zitat { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.32; color: var(--dunkel); letter-spacing: -.025em; margin: 0 0 22px; }
.name { font-weight: 700; color: var(--ink); margin: 0; }
.rolle { color: var(--muted); font-size: .95rem; margin: 2px 0 22px; }

/* --------------------------------------------------------------- Abschluss */
.abschluss { padding: clamp(40px, 6vw, 72px) 0 var(--sek); }
.abschluss-karte {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: center;
  padding: clamp(36px, 5.5vw, 80px);
  border-radius: var(--r-xl);
  color: #fff;
  background: linear-gradient(135deg, #1e2a3a 0%, #2c3e55 60%, #3d5a80 100%);
  box-shadow: 0 30px 70px rgba(22, 38, 60, .24), 0 10px 24px rgba(22, 38, 60, .14);
}
.abschluss-karte::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 166, 191, .4), transparent 65%);
  animation: schweben2 16s ease-in-out infinite alternate;
}
.abschluss-karte h2 { color: #fff; margin-bottom: .35em; max-width: 18ch; }
.abschluss-karte p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 52ch; }
.abschluss-aktion { display: flex; flex-direction: column; gap: 14px; }
/* Buttons auf dunklem Grund: hell statt Stahlblau, damit sie sich abheben */
.dunkel .btn-blau, .abschluss-karte .btn-blau { background: #fff; color: var(--dunkel); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.dunkel .btn-blau:hover, .abschluss-karte .btn-blau:hover { background: #fff; color: var(--blau); }
.dunkel .btn-blau::after, .abschluss-karte .btn-blau::after { background: linear-gradient(110deg, transparent 30%, rgba(143, 166, 191, .3) 50%, transparent 70%); }
.abschluss-karte .btn-hell { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.abschluss-karte .btn-hell:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* --------------------------------------------------------------- Unterseiten: Kopf */
.seitenkopf {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 92px) 0 clamp(64px, 8vw, 124px);
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-tint) 100%);
}
.seitenkopf::before {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 127, 166, .3), transparent 64%);
  animation: schweben1 18s ease-in-out infinite alternate;
}
.seitenkopf-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.seitenkopf h1 { font-size: clamp(2.35rem, 1.5rem + 3.8vw, 4.8rem); margin-bottom: .4em; }
.seitenkopf .lead { max-width: 40ch; }
.seitenkopf .bildkarte { aspect-ratio: 5 / 4; }
.seitenkopf.ohne-bild .wrap > div { max-width: 900px; }
.seitenkopf + .sektion { padding-top: clamp(64px, 8vw, 112px); }

/* Große Überschriften richten sich nach der Spaltenbreite, damit lange
   Wörter wie „Immobilienmakler“ nie über den Rand ragen. */
@supports (container-type: inline-size) {
  .held-text, .seitenkopf .wrap > div { container-type: inline-size; }
  .held h1 { font-size: clamp(2.1rem, 11.2cqi, 5rem); }
  .seitenkopf h1 { font-size: clamp(2.1rem, 10.6cqi, 4.6rem); }
}

.infozeile { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.info {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--r); padding: 12px 20px 12px 12px; box-shadow: var(--s-1);
  font-weight: 600; color: var(--ink-2); line-height: 1.35; max-width: 100%;
}
.info .symbol { width: 44px; height: 44px; border-radius: 13px; }
.info .symbol .ic { width: 22px; height: 22px; }

/* --------------------------------------------------------------- Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.kacheln.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kachel { background: #fff; border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--s-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); min-width: 0; }
.kachel:hover { transform: translateY(-6px); box-shadow: var(--s-3); }
.kachel .symbol { margin-bottom: 22px; }
.kachel h3 { font-size: 1.22rem; margin-bottom: .45em; }
.kachel p { font-size: .98rem; color: var(--ink-2); line-height: 1.6; }

/* --------------------------------------------------------------- Tagungsablauf (Stapel) */
.tage { display: grid; gap: 26px; }
.tag {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4.2vw, 56px);
  box-shadow: var(--s-2); position: relative; overflow: hidden;
  transform-origin: 50% 0;
}
.tag::before {
  content: ""; position: absolute; left: -140px; top: -140px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 127, 166, .2), transparent 70%); pointer-events: none;
}
.tag-nr {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(3.6rem, 3rem + 3vw, 6rem); line-height: .9; letter-spacing: -.07em;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blau);
}
.tag-nr small { display: block; font-family: var(--f-text); font-size: 1rem; letter-spacing: 0; font-weight: 700; -webkit-text-fill-color: var(--muted); color: var(--muted); margin-top: 14px; }
.tag h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); margin-bottom: .55em; }
.tag p { color: var(--ink-2); }
.tag .haken { margin-top: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.tag-schleier { position: absolute; inset: 0; z-index: 2; background: var(--dunkel); opacity: 0; pointer-events: none; border-radius: inherit; }

@media (min-width: 961px) and (min-height: 760px) {
  .tage.stapel { gap: 48px; }
  .tage.stapel .tag { position: sticky; top: calc(112px + var(--i, 0) * 16px); }
}

/* --------------------------------------------------------------- Termine */
.termine { display: grid; gap: 22px; }
.termin {
  display: grid; grid-template-columns: 200px 88px minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  background: #fff; border-radius: var(--r-lg); padding: 28px clamp(22px, 3vw, 40px);
  box-shadow: var(--s-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.termin:hover { transform: translateY(-3px); box-shadow: var(--s-3); }
.termin.voll { background: #fbfcfd; }
.termin-datum { font-family: var(--f-head); line-height: 1; color: var(--dunkel); white-space: nowrap; }
.termin-datum b { font-weight: 800; font-size: 2.6rem; letter-spacing: -.05em; }
.termin-datum i { font-style: normal; font-size: 1.05rem; color: var(--muted); margin: 0 .35em; font-family: var(--f-text); font-weight: 600; }
.termin-datum span { display: block; font-family: var(--f-text); font-size: .98rem; font-weight: 700; color: var(--ink-2); margin-top: 10px; }
.stadt {
  width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--c2, #5f7fa6), var(--c, #3d5a80));
  color: #fff;
  font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em;
  box-shadow: 0 14px 30px rgba(45, 70, 105, .32);
}
.termin h3 { margin: 0 0 .3em; font-size: 1.6rem; }
.termin-info { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); font-size: .98rem; }
.termin-info span { display: inline-flex; align-items: center; gap: 8px; }
.termin-info .ic { color: var(--muted); width: 1.1em; height: 1.1em; }
.termin-status { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(107, 122, 140, .16); }
.status.frei { color: var(--ok); }
.status.frei::before { box-shadow: 0 0 0 5px rgba(47, 138, 91, .16); animation: puls 2s ease-in-out infinite; }
.status.voll { color: var(--muted); }
@keyframes puls { 50% { box-shadow: 0 0 0 9px rgba(47, 138, 91, .06); } }

.preisband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 28px 36px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--s-1); }
.preisband p { margin: 0; color: var(--ink-2); font-size: 1.06rem; }

/* --------------------------------------------------------------- Kosten */
.preis-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px; align-items: start; }
.preiskarte { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 56px); box-shadow: var(--s-3); min-width: 0; }
.preis {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(3.2rem, 2.6rem + 3.4vw, 5.6rem); line-height: .95; letter-spacing: -.06em; margin: 0 0 6px;
  color: var(--dunkel); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.preis small { display: block; font-family: var(--f-text); font-size: 1.05rem; letter-spacing: 0; color: var(--muted); font-weight: 600; margin-top: 12px; }
.preis-zusatz { color: var(--ink-2); font-weight: 600; margin-bottom: 30px; }
.preiskarte .haken { margin-bottom: 34px; }
.zahlung { margin-top: 30px; padding: 24px 26px; border-radius: var(--r); background: var(--bg-tint); }
.zahlung h3 { font-size: 1.15rem; margin-bottom: .5em; }
.zahlung p { font-size: .98rem; color: var(--ink-2); margin: 0; }

/* --------------------------------------------------------------- Über uns */
.brief { background: #fff; border-radius: var(--r-xl); box-shadow: var(--s-3); padding: clamp(84px, 9vw, 130px) clamp(24px, 6vw, 88px) clamp(32px, 6vw, 88px); position: relative; }
.brief::before {
  content: "\201C"; position: absolute; top: clamp(4px, 1.5vw, 16px); left: clamp(20px, 6vw, 84px);
  font-family: Georgia, serif; font-size: 8rem; line-height: 1;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .45;
}
.brief p { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); line-height: 1.8; }
.brief .anrede { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); color: var(--ink); line-height: 1.25; letter-spacing: -.03em; }
.brief .frage { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); color: var(--blau); line-height: 1.25; letter-spacing: -.03em; margin-top: 1.6em; }
.unterschrift { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.unterschrift img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: var(--s-2); }
.unterschrift b { display: block; font-size: 1.1rem; }
.unterschrift span { color: var(--muted); font-size: .95rem; }

.referenten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ref { background: #fff; border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--s-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); min-width: 0; }
.ref:hover { transform: translateY(-6px); box-shadow: var(--s-3); }
.ref .symbol { margin-bottom: 20px; }
.ref h3 { font-size: 1.22rem; margin-bottom: .4em; }
.ref p { font-size: .97rem; color: var(--ink-2); line-height: 1.55; }
.ref-foto { width: 60px; height: 60px; border-radius: 18px; object-fit: cover; margin-bottom: 20px; box-shadow: var(--s-1); }

/* --------------------------------------------------------------- Formulare */
.form-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.formular { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 56px); box-shadow: var(--s-3); min-width: 0; }
.formular h2 { font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.4rem); margin-bottom: .3em; }
.formular form > p { color: var(--ink-2); margin-bottom: 28px; }
.felder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 18px; }
.feld { grid-column: span 6; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feld.halb { grid-column: span 3; }
.feld.drittel { grid-column: span 2; }
.feld.zweidrittel { grid-column: span 4; }
/* Sicherheitsfrage: Beschriftung über die volle Breite, Eingabe so breit wie ein halbes Feld */
.feld.frage input { max-width: calc(50% - 9px); }
.feld label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-width: 0; font: 500 1.02rem/1.4 var(--f-text); color: var(--ink);
  background-color: var(--feld); border: 0; border-radius: var(--r-sm);
  padding: 17px 18px;
  box-shadow: inset 0 1px 2px rgba(22, 38, 60, .06);
  transition: background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld select {
  padding-right: 48px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2a3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.feld input:hover, .feld select:hover, .feld textarea:hover { background-color: #e6ebf1; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; background-color: #fff; box-shadow: 0 0 0 4px rgba(61, 90, 128, .2), 0 6px 18px rgba(22, 38, 60, .08); }
.feld.fehler input, .feld.fehler select, .feld.fehler textarea { box-shadow: 0 0 0 3px rgba(192, 57, 43, .3); background-color: #fdf5f4; }
.fehlertext { color: var(--fehler); font-size: .9rem; font-weight: 600; }
.fehlertext:empty { display: none; }

.check { grid-column: span 6; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; color: var(--ink-2); font-size: .97rem; line-height: 1.55; position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.check .kasten {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--feld); margin-top: 1px;
  box-shadow: inset 0 1px 2px rgba(22, 38, 60, .1);
  display: grid; place-items: center; transition: background-color .2s, box-shadow .2s;
}
.check .kasten .ic { width: 16px; height: 16px; color: #fff; opacity: 0; stroke-width: 3; }
.check input:checked + .kasten { background: var(--blau); box-shadow: 0 6px 14px rgba(61, 90, 128, .32); }
.check input:checked + .kasten .ic { opacity: 1; }
.check input:focus-visible + .kasten { box-shadow: 0 0 0 4px rgba(61, 90, 128, .28); }
.check.fehler .kasten { box-shadow: 0 0 0 3px rgba(192, 57, 43, .38); }
.check a { font-weight: 700; }

.falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.senden { grid-column: span 6; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.senden .btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.pflicht { color: var(--muted); font-size: .9rem; }
.formmeldung { grid-column: span 6; padding: 16px 20px; border-radius: var(--r-sm); background: #fdf1ef; color: #a1301f; font-weight: 600; }
.formmeldung:empty { display: none; }

.erfolg { text-align: center; padding: clamp(20px, 3vw, 40px) 0; }
.erfolg .symbol { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 26px; background: #e4f3ea; color: var(--ok); }
.erfolg .symbol .ic { width: 40px; height: 40px; }
.erfolg h2 { margin-bottom: .4em; }
.erfolg p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }

.seiteninfo { display: grid; gap: 20px; min-width: 0; }
.infokarte { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--s-2); min-width: 0; }
.infokarte > .symbol { margin-bottom: 20px; }
.infokarte h3 { font-size: 1.26rem; margin-bottom: .55em; }
.infokarte p { color: var(--ink-2); font-size: 1rem; }
.kontaktliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kontaktliste li { display: flex; align-items: center; gap: 16px; min-width: 0; }
.kontaktliste li > div { min-width: 0; }
.kontaktliste .symbol { width: 52px; height: 52px; border-radius: 16px; }
.kontaktliste .symbol .ic { width: 24px; height: 24px; }
.kontaktliste small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.kontaktliste a, .kontaktliste span { font-weight: 700; color: var(--ink); font-size: 1.04rem; overflow-wrap: anywhere; }
.kontaktliste a:hover { color: var(--blau); }

/* --------------------------------------------------------------- Rechtliches */
.recht { max-width: 860px; }
.recht h2 { font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem); margin: 2.2em 0 .6em; }
.recht h2:first-child { margin-top: 0; }
.recht h3 { font-size: 1.24rem; margin: 1.8em 0 .5em; }
.recht p, .recht li { color: var(--ink-2); overflow-wrap: anywhere; }
.recht .adresse { background: var(--bg); border-radius: var(--r); padding: 24px 28px; box-shadow: var(--s-1); margin: 1.2em 0 1.6em; }
.recht .adresse p { margin: 0 0 .3em; }
.recht-karte { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 5vw, 72px); box-shadow: var(--s-2); }

/* --------------------------------------------------------------- Fuß */
.fuss { background: linear-gradient(160deg, #1b2636, #243349); color: rgba(255, 255, 255, .7); padding: clamp(64px, 7vw, 100px) 0 0; font-size: 1rem; }
.fuss-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
.fuss h3 { font-family: var(--f-text); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: .01em; margin: 0 0 18px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.fuss a:hover { color: #fff; }
.marke-hell { color: #fff; margin-bottom: 20px; --logo: 68px; }
.fuss .marke-hell, .fuss .marke-hell:hover { color: #fff; }
.marke-hell em, .marke-hell .marke-text > span { color: var(--blau-hell); }
.fuss-marke p { max-width: 36ch; line-height: 1.65; }
.fuss-kontakt li { display: flex; gap: 12px; align-items: flex-start; }
.fuss-kontakt .ic { color: var(--blau-hell); margin-top: .2em; }
.fuss-kontakt a { overflow-wrap: anywhere; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 28px 34px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); font-size: .92rem; }
.fuss-unten img { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .7; }

/* --------------------------------------------------------------- Effekte beim Scrollen */
/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }

/* Bilder: aufdecken und heranzoomen */
.js .bildkarte.reveal { opacity: 1; transform: none; clip-path: inset(9% 7% 9% 7% round var(--r-xl)); transition: clip-path 1.4s var(--ease-out); }
.js .bildkarte.reveal.in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js .bildkarte img { scale: 1.3; transition: scale 1.8s var(--ease-out); }
.js .bildkarte.in img, .js .reveal.in .bildkarte img { scale: 1.14; }

/* Überschriften Wort für Wort */
.js .worte .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.js .worte .wi { display: inline-block; transform: translateY(110%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--n, 0) * 60ms + var(--d, 0ms)); }
.js .worte.in .wi { transform: none; }
.js .worte em { display: inline; background: none; }
.js .worte em .wi {
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.js .dunkel .worte em .wi { background: linear-gradient(120deg, #a9bfd8, #e3ecf6); -webkit-background-clip: text; background-clip: text; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .bildkarte.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .worte .wi { transform: none; transition: none; }
  .js .bildkarte img { scale: 1.14; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- Responsiv */
@media (max-width: 1240px) {
  .bausteine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kacheln, .referenten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fakten-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .termin { grid-template-columns: 180px 76px minmax(0, 1fr); }
  .termin-status { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .stadt { width: 76px; height: 76px; border-radius: 22px; font-size: 1.35rem; }
}

@media (max-width: 960px) {
  .held-grid, .seitenkopf-grid, .split, .duo, .duo.breit-rechts, .preis-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .split.bild-rechts .split-bild { order: 0; }
  .themen { grid-template-columns: minmax(0, 1fr); }
  .person { margin: 40px auto 0; max-width: 480px; }
  .person-k1 { left: -6px; }
  .person-k2 { right: -6px; }
  .buehne-c .bildkarte { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
  .buehne-c .text-karte { grid-column: 1 / -1; grid-row: 2; margin: -80px 16px 0; }
  .abschluss-karte { grid-template-columns: minmax(0, 1fr); }
  .abschluss-aktion { flex-direction: row; flex-wrap: wrap; }
  .referent { grid-template-columns: minmax(0, 1fr); }
  .referent-bild { padding: 30px 30px 0; }
  .referent-bild img { max-width: 300px; }
  .referent-text { padding: 8px clamp(24px, 5vw, 56px) clamp(28px, 5vw, 56px); }
  .tag { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tag-nr small { display: inline-block; margin: 0 0 0 14px; vertical-align: middle; }
  .fuss-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fuss-marke { grid-column: 1 / -1; }
  .form-grid .seiteninfo { order: 2; }
}

@media (max-width: 680px) {
  /* Einheitliche Ecken auf dem Handy: Boxen 16 px, Buttons, Felder und kleine Symbol-Kacheln 12 px */
  :root { --r-xl: 16px; --r-lg: 16px; --r: 16px; --r-sm: 12px; }
  .symbol, .info .symbol, .kontaktliste .symbol, .schwebe-ic, .stadt, .burger, .ref-foto, .erfolg .symbol { border-radius: 12px; }
  .bausteine, .kacheln, .kacheln.zwei, .referenten, .fakten-grid { grid-template-columns: minmax(0, 1fr); }
  .fakt { padding: 22px 24px; display: flex; align-items: center; gap: 20px; }
  .fakt strong { margin: 0; min-width: 2.6ch; font-size: 2.4rem; }
  .tag .haken { grid-template-columns: minmax(0, 1fr); }
  .termin { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 18px; padding: 24px 22px; }
  .termin-datum { grid-column: 1; }
  .termin-datum b { font-size: 2.2rem; }
  .stadt { grid-column: 2; grid-row: 1; width: 62px; height: 62px; border-radius: 18px; font-size: 1.15rem; }
  .termin-text { grid-column: 1 / -1; }
  .termin-status { flex-direction: column; align-items: flex-start; }
  .termin-status .btn { width: 100%; }
  .feld.halb, .feld.drittel, .feld.zweidrittel { grid-column: span 6; }
  .feld.frage input { max-width: none; }
  .btn-reihe .btn, .abschluss-aktion .btn, .preiskarte > .btn, .preisband .btn { width: 100%; }
  .btn { white-space: normal; }
  .schwebe { padding: 11px 14px 11px 11px; gap: 10px; }
  .schwebe strong { font-size: 1.12rem; }
  .schwebe span { font-size: .78rem; }
  .schwebe-ic { width: 40px; height: 40px; border-radius: 12px; }
  .schwebe-ic .ic { width: 21px; height: 21px; }
  .rechnung .zeile b { font-size: 1.2rem; }
  .rechnung .summe { flex-direction: column; align-items: flex-start; padding: 20px 22px; }
  .regler output { font-size: 1.35rem; }
  .preisband { padding: 24px; }
  .fuss-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hervor { padding: 20px 22px 20px 28px; }
  .abschluss-karte { padding: 36px 24px; gap: 28px; }
  .abschluss-karte h2 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .infozeile .info { width: 100%; }
  .thema-kopf { gap: 14px; }
  .symbol { width: 52px; height: 52px; border-radius: 16px; }
  .symbol .ic { width: 24px; height: 24px; }
  .karte .symbol { margin-bottom: 20px; }
  .brief::before { font-size: 6rem; }
  .person-name { padding: 10px 14px; }
  .person-k1 { bottom: 16%; }
  .buehne-c .text-karte { margin: -56px 8px 0; }
}

@media (max-width: 400px) {
  .held-punkte { gap: 10px 18px; }
  .haken li { font-size: .95rem; padding-left: 32px; }
  .termin-datum b { font-size: 1.95rem; }
  .preis { font-size: 3rem; }
  .regler label { flex-direction: column; gap: 4px; }
}
