/* ==========================================================================
   Schneider & Musil – sum-makler.de
   1:1-Nachbau des Webflow-Designs. Farbwerte aus sum-makler.webflow.css.
   ========================================================================== */

:root {
  --blue: #245eed;            /* --sum-blue */
  --blue-btn2: #386be7;
  --circle-blue: #4676ec;
  --ink: #101828;
  --black-section: #0a0a0a;
  --text: #1a1b1f;
  --h1: #343434;
  --muted: #727272;
  --gray600: #475467;
  --cards: #ffffff8a;
  --black-card: #232323d9;
  --radius-pill: 100px;
  --container: 1216px;
  --nav-h: 76px;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p { margin: 0 0 .5em; overflow-wrap: break-word; }
h1, h2, h3 { color: var(--h1); line-height: 1.2; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: .6rem 1.2rem; }
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 96px; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1100; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); animation: dot-pulse 1s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(.55); opacity: .55; }
  50% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }

/* ---------- Buttons (Original: button-5 / arrow-circle) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 500; font-size: 15px;
  border: 1px solid #fff;
  min-height: 52px; padding: 6px 26px 6px 6px; border-radius: 50px;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(36, 94, 237, .35); }
.btn .btn-icon {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: linear-gradient(var(--circle-blue), var(--circle-blue));
  display: grid; place-items: center;
  transition: transform .35s ease;
}
.btn:hover .btn-icon { transform: rotate(45deg); }
.btn .btn-icon img { width: 15px; height: 15px; }
.btn--ghost { background: #fff; color: #141414; border-color: #e5e5e5; }
.btn--ghost:hover { box-shadow: 0 10px 24px rgba(16, 24, 40, .15); }
.btn--ghost .btn-icon { background: #f2f2f2; border: 1px solid #ececec; }
.btn--ghost .btn-icon img { width: 20px; height: 20px; filter: invert(.28); }
.btn--ghost:hover .btn-icon { transform: rotate(135deg); }
.btn--solid { padding: 5px 26px; font-weight: 400; letter-spacing: 1px; }
.btn--solid img { width: 20px; height: 20px; }

/* ---------- Header / Nav (Original: system-ui, gray600, Schatten) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f2f4f7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.nav {
  max-width: 1360px; margin-inline: auto; padding-inline: 20px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 52px; width: auto; }
.nav-socials { display: none; }
@media (min-width: 1200px) {
  .nav-socials { display: flex; align-items: center; gap: 16px; margin-right: 10px; }
  .nav-socials img { width: 24px; height: 24px; transition: transform .2s; }
  .nav-socials a:hover img { transform: scale(1.15); }
}
.nav-menu { display: none; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: var(--ink); transition: transform .3s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: #fff;
    padding: 24px 20px 40px; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-link { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--gray600); border-bottom: 1px solid #f2f4f7; }
  .nav-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
  .nav-social { display: flex; gap: 18px; margin-top: 28px; justify-content: center; }
  .nav-social img { width: 28px; height: 28px; }
  .mega { border-bottom: 1px solid #f2f4f7; }
  .mega > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--gray600); }
  .mega > button svg { transition: transform .3s; }
  .mega.open > button svg { transform: rotate(180deg); }
  .mega-panel { display: none; padding: 8px 0 20px; }
  .mega.open .mega-panel { display: block; }
  .mega-col { margin-bottom: 18px; }
  .mega-col-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .mega-col-head img { width: 30px; height: 30px; }
  .mega-col a { display: block; padding: 6px 0 6px 40px; color: var(--gray600); font-size: .95rem; }
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; flex: 1; gap: 4px; }
  .nav-link, .mega > button {
    padding: 10px 14px; font-weight: 600; color: var(--gray600); font-size: 1rem;
    border-radius: 8px; transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 6px;
  }
  .nav-link:hover, .mega > button:hover { color: var(--ink); background: #f9fafb; }
  .nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
  .nav-portal { font-weight: 600; font-size: 1rem; color: var(--gray600); padding: 10px 8px; }
  .nav-portal:hover { color: var(--ink); }
  .nav-book {
    background: var(--blue); color: #fff; font-weight: 500; font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    padding: 12px 24px; border-radius: var(--radius-pill); transition: background .2s, transform .2s;
  }
  .nav-book:hover { background: var(--blue-btn2); transform: translateY(-1px); }
  .nav-social { display: none; }
  .mega { position: relative; }
  .mega > button svg { transition: transform .3s; }
  .mega.open > button svg { transform: rotate(180deg); }
  .mega-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    width: min(920px, calc(100vw - 40px)); background: #fff; border-radius: 20px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .16); border: 1px solid #eaecf0; padding: 28px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .mega-col-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid #f2f4f7; }
  .mega-col-head img { width: 34px; height: 34px; }
  .mega-col a { display: block; padding: 5px 0; color: var(--gray600); font-size: .875rem; transition: color .15s, transform .15s; }
  .mega-col a:hover { color: var(--blue); transform: translateX(3px); }
}

/* ---------- Hero (Original: heading-43 grau, h1 #343434, bold-Spans blau) ---------- */
.hero { position: relative; overflow: hidden; padding-block: 48px 64px; }
@media (min-width: 992px) { .hero { padding-block: 72px 88px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hero-label { color: #c4c5c8; font-weight: 600; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 600; color: var(--h1); margin-bottom: 20px; }
.hero h1 strong { font-weight: 800; color: var(--blue); }
.hero-sub { font-size: 20px; font-weight: 300; color: var(--muted); margin-bottom: 28px; }
.hero-sub strong { color: var(--h1); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 32px; }
.rating { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; color: #444; font-weight: 400; }
.rating strong { font-size: 1.15rem; font-weight: 600; }
.rating .stars { height: 17px; width: auto; }
.rating .badge { height: 24px; width: auto; }
.rating-count { font-weight: 400; font-size: 1.05rem; white-space: nowrap; }

.hero-visual { position: relative; }
.photo-wrap { position: relative; }
.photo-wrap::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: 0; height: 55%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 82%); z-index: 1; pointer-events: none;
}
.hero-visual .pattern { position: absolute; inset: auto -20% 32% -20%; width: 140%; max-width: none; z-index: 0; pointer-events: none; user-select: none; }
.hero-photo { position: relative; z-index: 1; display: block; margin-inline: auto; }

/* Testimonial-Karte (Original: weiß, Radius 11px, Schatten, Text #909090 14px) */
.slider { position: relative; z-index: 2; max-width: 420px; margin: -72px auto 0; }
@media (min-width: 992px) { .slider { position: absolute; left: 50%; transform: translateX(-50%); bottom: -78px; margin: 0; width: 470px; } }
.slide-track { position: relative; }
.slide {
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(16, 24, 40, .13);
  padding: 18px 26px; display: none;
}
.slide.active { display: block; animation: slide-in .8s cubic-bezier(.22, .61, .36, 1); }
.slide.active.from-left { animation-name: slide-in-left; }
@keyframes slide-in { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-left { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
.slide-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.slide-head .g-logo { width: 20px; height: 20px; }
.slide-verified { font-size: 12px; color: #9aa0a6; white-space: nowrap; }
.slide .stars { height: 18px; width: auto; }
.slide-text { font-size: 14px; line-height: 1.45; color: #6b6b6b; margin-bottom: 11px; }
.slide-person { display: flex; align-items: center; gap: 10px; }
.slide-person img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.slide-person span { font-weight: 600; font-size: 14px; color: var(--h1); }
.slider-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: #d0d5dd; padding: 0; transition: background .2s, transform .2s; }
.slider-dot.active { background: #3b3b3b; transform: scale(1.2); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: none; border: none; box-shadow: none; padding: 6px;
  color: #b6bcc6; transition: color .2s, transform .2s;
}
.slider-arrow--prev { left: -48px; }
.slider-arrow--next { right: -48px; }
@media (max-width: 991px) { .slider-arrow--prev { left: -10px; } .slider-arrow--next { right: -10px; } }
.slider-arrow:hover { color: #6b7280; transform: translateY(-50%) scale(1.12); }

/* ---------- Feature-Leiste (Original: weiß) ---------- */
.feature-bar { background: #fff; padding-block: 22px 30px; }
.feature-bar-inner {
  display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #edeff3; border-radius: 40px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .05); padding: 26px 24px;
}
@media (min-width: 768px) { .feature-bar-inner { flex-direction: row; gap: 0; border-radius: 999px; padding: 30px 28px; } }
.feature-item { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--h1); font-size: 1.1em; }
@media (min-width: 768px) {
  .feature-item { padding-inline: 40px; }
  .feature-item + .feature-item { border-left: 1px solid #d0d5dd; }
}
.check-circle { width: 40px; height: 40px; flex: none; }
.check-circle .halo { fill: #e9efff; }
.check-circle .ring { fill: none; stroke: var(--blue); stroke-width: 3; }
.check-circle .tick { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; }
.revealed .check-circle .tick, .check-circle.play .tick { animation: check-draw .6s ease forwards .2s; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

/* ---------- Video-CTA ---------- */
.video-section { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.video-section video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) { .video-section video { object-position: 100% 50%; } }
.video-section::after { content: ""; position: absolute; inset: 0; background: rgba(36, 94, 237, .55); }
.video-content { position: relative; z-index: 2; padding-block: 96px; text-align: left; }
@media (min-width: 992px) { .video-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .video-text { grid-column: 1; } }
.video-content h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.4em); font-weight: 300; }
.video-content h2 strong { font-weight: 800; }
.video-content p { color: #fff; font-size: 1.5em; font-weight: 300; margin-bottom: 28px; }
.video-content p strong { font-weight: 700; }

/* ---------- Beratungsservice-Timeline (Original: schwarz #0a0a0a) ---------- */
.timeline-section { background: var(--black-section); color: #fff; }
.timeline-head { text-align: center; max-width: 820px; margin-inline: auto; padding-top: 72px; margin-bottom: 24px; }
.timeline-head .eyebrow { color: #929292; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; margin-bottom: 12px; }
.timeline-head h2 { color: #e7e7e7; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 400; line-height: 1.25; }
.timeline { position: relative; max-width: 1060px; margin-inline: auto; padding-inline: 20px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding-block: 44px; }
@media (min-width: 768px) { .timeline-item { grid-template-columns: 1fr 180px 1fr; gap: 0; padding-block: 80px; } }
.timeline-line { position: absolute; top: 0; bottom: 0; width: 3px; background: #414141; left: 41px; }
@media (min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }
.timeline-progress { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(#000, #d8d8d8 48%, var(--blue)); }
.timeline-dot {
  position: relative; z-index: 1; grid-column: 1; justify-self: center; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; margin-top: 12px; box-shadow: 0 0 0 8px var(--black-section);
  transition: background .3s;
}
@media (min-width: 768px) { .timeline-dot { grid-column: 2; } }
.timeline-item.revealed .timeline-dot { background: var(--blue); }
.timeline-step { grid-row: 1; grid-column: 2; font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.75rem); letter-spacing: -.02em; color: #fff; line-height: 1.25; }
@media (min-width: 768px) { .timeline-step { grid-column: 1; text-align: right; padding-right: 8px; position: sticky; top: 140px; align-self: start; } }
.timeline-body { grid-column: 2; }
@media (min-width: 768px) { .timeline-body { grid-column: 3; } }
.timeline-body img { width: 115px; height: auto; margin: 11px 11px 28px; }
.timeline-body p { color: #d1d1d1; font-size: 21px; font-weight: 500; line-height: 1.3; max-width: 560px; }
.timeline-fade-top, .timeline-fade-bottom { position: absolute; left: 0; right: 0; height: 80px; z-index: 2; pointer-events: none; }
.timeline-fade-top { top: 0; background: linear-gradient(var(--black-section), transparent); }
.timeline-fade-bottom { bottom: 0; background: linear-gradient(to top, var(--black-section), transparent); }

.timeline-cta { background: var(--black-section); text-align: center; padding-block: 40px 88px; }
.timeline-cta h2 { color: #e7e7e7; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; margin-bottom: 8px; }
.timeline-cta > .container > p { color: #d1d1d1; font-size: 21px; font-weight: 500; margin-bottom: 28px; }
.timeline-cta .cta-checks { color: #606060; }

.cta-mid { text-align: center; padding-block: 40px 88px; }
.cta-mid h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 8px; }
.cta-mid p { color: var(--muted); margin-bottom: 28px; }
.cta-checks { margin-top: 20px; font-weight: 400; color: #606060; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cta-checks span { white-space: nowrap; }

/* ---------- App-Sektion (Original: weiß, Chip-Headlines, Foto-Collage) ---------- */
.app-section { background: #fff; position: relative; overflow: hidden; }
.app-head { text-align: center; margin-bottom: 56px; position: relative; z-index: 2; }
.app-head h2 {
  display: inline-block; color: #3b3b3b; background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2); border-radius: 6px;
  font-size: clamp(2.2rem, 6vw, 4.7em); font-weight: 700; letter-spacing: .01em;
  padding: .05em .35em; margin-bottom: 14px; text-transform: uppercase;
}
.app-head p {
  display: inline-block; color: #3b3b3b; background: rgba(255, 255, 255, .91);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12); border-radius: 6px;
  font-size: clamp(1.15rem, 3vw, 2em); font-weight: 400; padding: .1em .5em; margin: 0;
}
.app-head p strong { color: var(--blue); font-weight: 600; }
.app-collage { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.app-collage img {
  position: absolute; width: 300px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  will-change: transform;
}
.app-collage img:nth-child(1) { top: 4%; left: -60px; transform: rotate(-6deg); }
.app-collage img:nth-child(2) { top: 40%; left: -90px; transform: rotate(4deg); }
.app-collage img:nth-child(3) { top: 8%; right: -60px; transform: rotate(5deg); }
.app-collage img:nth-child(4) { top: 46%; right: -80px; transform: rotate(-4deg); }
@media (max-width: 1279.98px) { .app-collage { display: none; } }
.app-grid { display: grid; gap: 40px; align-items: start; position: relative; z-index: 1; max-width: 1060px; margin-inline: auto; }
@media (min-width: 768px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app-phone { position: relative; text-align: center; }
.app-phone > img { width: min(250px, 74%); filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .25)); }
.app-feature { padding: 14px 10px 0; text-align: center; max-width: 340px; margin-inline: auto; }
.app-feature h3 { color: var(--blue); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.5em; font-weight: 700; margin-bottom: 6px; }
.app-feature h3 img { width: 26px; height: 26px; }
.app-feature p { color: #797979; font-size: 1em; line-height: 1.3; margin: 0; }

/* App-CTA (Original: cf-cta-wrapper-2 weiß) */
.app-cta { text-align: center; padding-top: 56px; position: relative; z-index: 1; }
.app-cta h2 { color: #3b3b3b; font-size: 2em; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.app-cta p { color: #616161; font-size: 1.15rem; margin-bottom: 24px; }

/* ---------- Team & Vorteile (Original: #f8f8f8, Karten mit 5px blauem Rahmen) ---------- */
.team-section { background: #f8f8f8; }
.split-head { color: #3b3b3b; font-size: 2.1em; font-weight: 600; margin-bottom: 28px; }
.team-intro { text-align: center; margin-bottom: 72px; }
.team-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 56px; }
.vorteile-wrap { position: relative; }
.vorteile-title { text-align: center; position: sticky; top: calc(var(--nav-h) + 20px); z-index: 5; margin-bottom: 44px; }
.team-member { display: flex; align-items: center; gap: 20px; text-align: left; }
.team-member img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: top; background: #eee; flex: none; }
.team-member h3 { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.team-member p { color: var(--gray600); font-size: 1rem; margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Stacking-Cards: jede Karte bleibt gestaffelt kleben, die nächste schiebt sich darüber.
   Wichtig: kein Grid – im Grid hätte jede Karte ihre eigene Zeile als Sticky-Bereich. */
.vorteile-grid { display: block; }
.vorteil-card {
  background: linear-gradient(180deg, #fff 0%, #f4f6fe 100%);
  border: 3px solid var(--blue); border-radius: 14px; padding: 48px 44px;
  margin: 0 auto 48px;
  max-width: 600px; min-height: 620px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  text-align: center;
  position: sticky; top: calc(var(--nav-h) + 92px + var(--i, 0) * 24px);
  box-shadow: 0 -10px 30px rgba(16, 24, 40, .07);
}
.vorteil-card:last-child { margin-bottom: 0; }
@media (max-width: 479.98px) { .vorteil-card { min-height: 500px; padding: 34px 26px; } }
.vorteil-card h3 { font-size: 28px; letter-spacing: -.5px; font-weight: 700; color: #2c2c2c; margin-bottom: 14px; line-height: 1.25; }
.vorteil-card p { color: #6b6b6b; font-size: 1.05rem; line-height: 1.6; max-width: 480px; }
.vorteil-points { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 18px; text-align: left; }
.vorteil-point { display: flex; align-items: center; gap: 12px; font-size: 1.1em; font-weight: 600; color: #3b3b3b; margin-top: 4px; }
.vorteil-point img { width: 26px; height: 26px; }
.kontakt-card { background: var(--black-card); border-color: var(--black-card); color: #fff; }
.kontakt-card h3, .kontakt-card .vorteil-point { color: #fff; }
.kontakt-card p { color: rgba(255, 255, 255, .8); font-size: 1.1em; }
.kontakt-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.kontakt-links a { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.1em; padding: 8px 10px; border-radius: 10px; transition: background .2s; }
.kontakt-links a:hover { background: rgba(255, 255, 255, .1); }
.kontakt-links img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

/* ---------- Vergleich Makler vs. Vertreter (Original: #fbfbfb, blauer vs-Kreis) ---------- */
.vs-section { background: #fbfbfb; }
.vs-head { text-align: center; max-width: 800px; margin-inline: auto; margin-bottom: 48px; }
.vs-head h2 { color: var(--blue); font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 500; margin-bottom: 12px; overflow-wrap: normal; }
.vs-head p { font-size: 20px; line-height: 1.6; color: #1a1b1f; }
.vs-head p strong { font-weight: 700; }
.vs-grid { position: relative; display: grid; gap: 48px; max-width: 980px; margin-inline: auto; }
@media (min-width: 768px) { .vs-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.vs-badge {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 32px;
  box-shadow: 0 10px 26px rgba(36, 94, 237, .4); text-transform: uppercase; letter-spacing: -.01em;
}
.vs-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 30px; box-shadow: 0 2px 5px rgba(0, 0, 0, .08); }
.vs-card > h3 { color: #696969; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 18px; }
.vs-card.makler > h3 { color: var(--blue); }
.vs-point { display: flex; align-items: flex-start; gap: 12px; padding-block: 8px; font-weight: 500; font-size: 18px; line-height: 1.6; color: #1a1b1f; }
.vs-point img { width: 22px; height: 22px; margin-top: 6px; flex: none; }
.vs-law { border: 1px solid #ececec; border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.vs-law summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 13px 16px; font-weight: 400; font-size: 15px; color: #494949; }
.vs-law summary strong { font-weight: 400; }
.vs-law summary::-webkit-details-marker { display: none; }
.vs-law summary img { width: 16px; height: 16px; transition: transform .3s; flex: none; }
.vs-law[open] summary img { transform: rotate(180deg); }
.vs-law-body { padding: 0 16px 14px; color: #6b6b6b; font-size: .88rem; line-height: 1.6; }
.vs-underline { display: block; margin: 18px auto 0; width: 60%; }

/* ---------- Blog (Original: Karten #fbfbfb, Border #e6e6e6, Radius 5px) ---------- */
.blog-head { text-align: center; margin-bottom: 48px; }
.blog-head .eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.blog-head h2, .blog-head h1 { color: var(--blue); font-size: 40px; font-weight: 500; }
.blog-head p { color: #626262; font-weight: 500; max-width: 600px; margin-inline: auto; }
.blog-head p strong { font-weight: 700; }
.blog-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex; flex-direction: column; background: #fbfbfb; border: 1.5px solid #e6e6e6;
  border-radius: 5px; padding: 28px; transition: transform .3s, box-shadow .3s;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(16, 24, 40, .12); }
.blog-tag { align-self: flex-start; background: var(--blue); color: #fff; font-size: .875rem; font-weight: 600; padding: 2px 14px; border-radius: 20px; margin-bottom: 16px; }
.blog-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: #000; margin-bottom: 10px; }
.blog-card p { color: #616161; font-size: .95rem; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: .95rem; margin-top: 16px; }
.blog-more svg { transition: transform .2s; }
.blog-card:hover .blog-more svg { transform: translateX(4px); }
.blog-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.blog-filter button { padding: 9px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; background: #ececec; color: #616161; transition: all .2s; text-transform: uppercase; letter-spacing: .04em; }
.blog-filter button:hover { color: #000; }
.blog-filter button.active { background: var(--blue); color: #fff; }

/* ---------- Seiten-Hero Unterseiten (Original: flaches sum-blue) ---------- */
.page-hero { background: var(--blue); color: #fff; text-align: center; padding-block: 64px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 680px; margin-inline: auto; font-size: 1.2em; font-weight: 500; }
.page-hero p strong { color: #fff; }
.page-hero .hero-label { color: rgba(255, 255, 255, .75); }
.page-hero .btn { border-color: transparent; }
.page-hero .btn--ghost { border-color: #e5e5e5; }

/* ---------- Sparten ---------- */
.sparten-section { background: #f6f6f6; }
.sparten-section:nth-of-type(even) { background: #fbfbfb; }
.sparten-section h2 { color: var(--blue); text-transform: uppercase; font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.sparten-section h2 img { width: 40px; height: 40px; }
.sparten-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .sparten-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .sparten-grid { grid-template-columns: repeat(4, 1fr); } }
.sparte-card { background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 18px; transition: transform .25s, box-shadow .25s, border-color .25s; display: block; }
.sparte-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(16, 24, 40, .1); border-color: var(--blue); }
.sparte-card h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: #1a1b1f; }
.sparte-card p { font-size: 14px; color: #6f6f6f; line-height: 1.35; margin: 0; }

/* Sparten-Detail */
.detail-content { max-width: 820px; margin-inline: auto; }
.detail-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 18px; }
.detail-content p { color: #444; margin-bottom: 1em; }
.faq-section { background: #fbfbfb; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid #ececec; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: #494949; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary img { width: 16px; height: 16px; transition: transform .3s; flex: none; }
.faq-item[open] summary img { transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; color: #6b6b6b; }

/* ---------- Termin (Original: Karte mit 2px blauem Rahmen über Foto) ---------- */
.termin-choose { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.termin-choose .or { color: rgba(255, 255, 255, .7); font-weight: 600; }
.termin-choose a { background: var(--blue-btn2); color: #fff; font-weight: 600; padding: 11px 34px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .5); transition: transform .2s, box-shadow .2s, background .2s; }
.termin-choose a:hover { transform: translateY(-2px); background: #fff; color: var(--blue); }
.termin-section { position: relative; overflow: hidden; }
.termin-section .bg-logo { position: absolute; opacity: .37; width: 50rem; max-width: 90%; left: 50%; top: 126px; transform: translateX(-50%); pointer-events: none; }
.makler-grid { display: grid; gap: 56px; align-items: start; position: relative; }
@media (min-width: 900px) { .makler-grid { grid-template-columns: 1fr auto 1fr; gap: 32px; } }
.makler-logo { display: none; }
@media (min-width: 900px) { .makler-logo { display: block; align-self: center; width: 300px; padding: 8px; } }
.makler-card { text-align: center; scroll-margin-top: 130px; }
.makler-card > img { width: min(357px, 86%); border-radius: 18px; box-shadow: 0 16px 40px rgba(16, 24, 40, .18); }
.makler-card-info {
  position: relative; margin: -80px auto 0; max-width: 400px;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--blue); border-radius: 13px; padding: 21px 30px 26px;
}
.makler-card h2 { text-transform: uppercase; color: var(--blue); font-size: 27px; font-weight: 700; margin-bottom: 0; }
.makler-card .role { font-weight: 500; color: #555; font-size: 15px; margin: 10px 0 0; }
.makler-card .sub { color: #555; font-size: 15px; margin: 4px 0 14px; }
.makler-card .tel { font-weight: 500; font-size: 1.25rem; color: var(--h1); display: block; margin-bottom: 2px; }
.makler-card .mail { color: var(--blue); font-weight: 600; display: inline-block; margin-bottom: 20px; }

/* ---------- Kontakt-Banner (Sparten-Unterseiten) ---------- */
.kontakt-banner {
  background: var(--black-section);
  color: #fff; border-radius: 20px; padding: 40px 28px;
  display: grid; gap: 36px; overflow: hidden; position: relative;
}
@media (min-width: 900px) { .kontakt-banner { grid-template-columns: 320px 1fr; gap: 48px; padding: 56px; align-items: center; } }
.kontakt-banner-left { text-align: center; }
.kontakt-banner-left img { width: min(240px, 70%); height: auto; margin-bottom: 18px; }
.kontakt-banner-left p { color: rgba(255, 255, 255, .75); font-size: .9rem; margin: 0; }
.kontakt-banner-right h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; margin-bottom: 8px; }
.kontakt-banner-right > p { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }
.kontakt-tiles { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .kontakt-tiles { grid-template-columns: repeat(4, 1fr); } }
.kontakt-tile {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: background .25s, transform .25s, border-color .25s;
}
.kontakt-tile:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.kontakt-tile img { width: 22px; height: 22px; filter: brightness(0) invert(1); margin-bottom: 6px; }
.kontakt-tile strong { font-size: .95rem; }
.kontakt-tile span { font-size: .78rem; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.kontakt-checks { justify-content: flex-start; margin-top: 24px; color: rgba(255, 255, 255, .6); font-size: .9rem; }
@media (max-width: 899.98px) { .kontakt-checks { justify-content: center; } }

/* ---------- Legal ---------- */
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2em; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.6em; }
.legal-content p { color: #444; }
.legal-content a { color: var(--blue); word-break: break-word; }
.legal-content a:hover { text-decoration: underline; }

/* ---------- Footer (Original: schwarz #000) ---------- */
.site-footer { background: #000; color: #d3d3d3; font-size: .875rem; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.footer-top { display: grid; gap: 40px; padding-block: 64px 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.site-footer h3 a:hover { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-links a, .footer-contact a, .footer-contact span { display: block; padding-block: 4px; color: rgba(255, 255, 255, .71); font-weight: 400; }
.footer-links a { color: #d3d3d3; font-weight: 500; font-family: 'Montserrat', sans-serif; }
.footer-contact span strong { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: #b4b4b4; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #d3d3d3; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social img { width: 26px; height: 26px; filter: brightness(0) invert(1); opacity: .8; transition: opacity .2s; }
.footer-social a:hover img { opacity: 1; }

/* ---------- 404 ---------- */
.error-hero { text-align: center; padding-block: 120px; }
.error-hero .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--blue); line-height: 1; }
.error-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 12px; }
.error-hero p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.revealed { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .12s; }
  .reveal-d2 { transition-delay: .24s; }
  .reveal-d3 { transition-delay: .36s; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumbs a { color: rgba(255, 255, 255, .9); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; font-weight: 600; }
