/* Kleine Korrekturen gegenüber dem Ursprungs-Template */
html, body { overflow-x: clip; }

/* Logo: Schramm-Logo ist breiter als das Original */
.navigation_logo-image { height: 32px; width: auto; max-width: 180px; }
.navigation_logo-link, .navigation_logo { margin-right: 1.5rem; }

/* Navigationspunkte nicht umbrechen */
.navigation_link, .footer_link { white-space: nowrap; }

/* leere Logo-Leiste im Footer ausblenden */
.footer_legal-icons:empty { display: none; }
.footer_legal-icons { min-height: 0; }

/* Platzhalter-Portraits in den Kundenstimmen */
.testimonials_item_single-image, .testimonials_item_image { object-fit: cover; background: #f3eaea; }

/* Hero: Schramm hat nur Portraitfotos, kein separates Raum-Bild.
   Darum ein Foto als Hintergrund, Vordergrund-Freisteller aus, Text links lesbar halten. */
.section_hero { position: relative; }
.hero_image { display: none !important; }
.hero_background-image { object-position: 74% 16%; }
.section_hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(247,249,252,.97) 0%,
    rgba(247,249,252,.95) 30%,
    rgba(247,249,252,.62) 52%,
    rgba(247,249,252,.12) 72%,
    rgba(247,249,252,0) 86%);
}
.section_hero > .padding-global,
.section_hero > .kc-hero_bottom-cards_wrapper { position: relative; z-index: 2; }
@media (max-width: 991px) {
  .section_hero::after {
    background: linear-gradient(180deg, rgba(247,249,252,.96) 0%, rgba(247,249,252,.9) 55%, rgba(247,249,252,.72) 100%);
  }
  .hero_background-image { object-position: 70% 12%; }
}

/* ersetzte Logo-SVGs (jetzt Bilder) auf sinnvolle Größe bringen */
.comparison-cards_logo { height: 38px; width: auto; max-width: 220px; }
img.footer_logo { height: 34px; width: auto; max-width: 230px; }
.kc-concept_animation img.footer_logo { height: auto; width: 34%; max-width: 160px; }

/* CTA-Boxen: Philipp als Freisteller statt Foto mit Hintergrund */
.cta_image { height: auto; width: clamp(200px, 26vw, 340px); object-fit: contain; filter: drop-shadow(0 24px 40px rgba(11,36,71,.35)); }
.cta_image-container { inset: auto 6% 0% auto; }
@media (max-width: 991px){ .cta_image, .cta_image-arrow { display: none; } }

/* moderne Line-Icons sauber dimensionieren */
.benefits-cards_icon { width: 40px !important; height: 40px; flex: none; color: #2f7be0; stroke: #2f7be0; fill: none; }
.kc-concept_animation-icon-svg { width: 30px !important; height: 30px; }

/* Versicherer-Logoleiste unter dem Hero: transparente Glaskarten wie im Original */
.kc-hero_bottom-cards_item {
  flex: 0 0 200px;          /* sonst staucht flex-shrink die Karten unterschiedlich und sie überlappen */
  background-color: rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(11,36,71,.14);
  box-shadow: none;
}
.kc-hero_bottom-cards, .kc-hero_bottom-cards_container { flex: 0 0 auto; }
@media (max-width: 991px){ .kc-hero_bottom-cards_item { flex: 0 0 150px; } }
.kc-hero_bottom-cards_image {
  height: 40px;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .3s, opacity .3s;
}
.kc-hero_bottom-cards_item:hover .kc-hero_bottom-cards_image { filter: none; opacity: 1; }

/* Konzept-Ring: Icons immer blau auf hellem Glas, nie das alte Rot aus dem Template */
.kc-concept_animation-icon { background-color: rgba(255,255,255,.9) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #2f7be0 !important; }
.kc-concept_animation-icon svg,
.kc-concept_animation-icon-svg { stroke: #2f7be0 !important; fill: none !important; color: #2f7be0 !important; }
.kc-concept_animation img.footer_logo { opacity: .95; }

/* Solar-Duotone: zweite Ebene etwas kräftiger als die Iconify-Vorgabe */


/* Rest-Rot aus Template-Animationen: die Farben werden per JS inline gesetzt,
   stehen in keiner Datei und lassen sich nur mit !important überschreiben. */
.process_blob { background-color: #fff !important; }
.process_timeline_progress { background-color: #fff !important; }

/* dunkle Akzent-Karte ohne sichtbaren Rahmen */
.layout_card.style-accent { border-color: transparent !important; }

/* handgezeichnete Pfeile und Schriftzüge aus dem Ursprungs-Template */
.cta_image-arrow, .problems_arrow, .comparison-cards_arrow,
.global_title-handwritten, .text-style-handwritten { display: none !important; }

/* ---- Zielgruppe direkt im Hero ---- */
.hero_zielgruppe { max-width: none; font-size: .8125rem; line-height: 1.4; opacity: .55;
  margin: 0; white-space: nowrap; letter-spacing: .01em; }
@media (max-width: 991px){ .hero_zielgruppe { white-space: normal; font-size: .75rem; } }

/* ---- Unterpunkte in den beiden Themen ---- */
.kc-concept_list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.kc-concept_list li { position: relative; padding-left: 1.1rem; font-size: .9375rem; line-height: 1.55; opacity: .8; }
.kc-concept_list li::before { content: ""; position: absolute; left: 0; top: .62em;
  width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; opacity: .45; }

/* ---- Ring-Grafik tiefer setzen und Punkte mitlaufen lassen ---- */
.kc-concept_animation { margin-top: 7rem !important; top: 38vh !important; }
.kc-concept_animation-icon {
  transition: background-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.kc-concept_animation-icon.is-active {
  background-color: #fff !important;
  transform: scale(1.12);
  box-shadow: 0 12px 34px rgba(11,36,71,.28);
}
.kc-concept_animation-icon.is-active svg,
.kc-concept_animation-icon.is-active .kc-concept_animation-icon-svg { stroke: #2f7be0 !important; }

/* ---- Vergleichskarten: links blass, rechts prominent ---- */
.comparison-cards_container > .layout_card:not(.style-accent) {
  background-color: #f6f7f9 !important;
  border-color: rgba(11,36,71,.08) !important;
  box-shadow: none !important;
  filter: grayscale(1);
  transform: scale(.97);
  transform-origin: center right;
  transition: opacity .3s ease, transform .3s ease;
}
.comparison-cards_container > .layout_card.style-accent {
  transform: scale(1.05);
  transform-origin: center left;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px){
  .comparison-cards_container > .layout_card:not(.style-accent),
  .comparison-cards_container > .layout_card.style-accent { transform: none; }
}

/* ---- Vergleichskarte links: Text blass, Haken grau ---- */
.comparison-cards_container > .layout_card:not(.style-accent) h3 { color: rgba(11,36,71,.42) !important; }
.comparison-cards_container > .layout_card:not(.style-accent) p { color: rgba(11,36,71,.38) !important; }
.comparison-cards_container > .layout_card:not(.style-accent) svg { opacity: .3; }

/* ---- rechte Karte groesser statt skaliert (IX2 ueberschreibt transform) ---- */
.comparison-cards_container > .layout_card.style-accent {
  padding: 2.75rem 2.5rem !important;
  margin: -1rem 0 !important;
}
@media (max-width: 767px){
  .comparison-cards_container > .layout_card.style-accent { padding: 1.75rem 1.5rem !important; margin: 0 !important; }
}

/* ---- Akzentkarte: kein Rahmen, kein Schatten ---- */
.comparison-cards_container > .layout_card.style-accent,
.layout_card.style-accent {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* ---- Vergleichspunkte einzeilig ---- */
@media (min-width: 992px){
  .comparison-cards_container .global_icon-text_item p { white-space: nowrap; }
}

/* ---- Karte links niedriger halten, rechte darf groesser sein ---- */
.comparison-cards_container { align-items: flex-start !important; }
.comparison-cards_container > .layout_card:not(.style-accent) {
  align-self: flex-start !important;
  height: auto !important;
  padding: 2rem 2.25rem !important;
  margin-top: 1.5rem !important;
}
@media (max-width: 767px){
  .comparison-cards_container > .layout_card:not(.style-accent) { margin-top: 0 !important; padding: 1.5rem 1.25rem !important; }
}

/* header: transparent glass with backdrop blur */
.navigation{background-color:rgba(255,255,255,.22)!important;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border:0!important;box-shadow:none!important;padding-top:1rem!important;padding-bottom:1rem!important}

/* hero stats: dividers fade out top and bottom */
.hero_stats-divider{background:linear-gradient(180deg,rgba(17,27,43,0) 0%,rgba(17,27,43,.18) 50%,rgba(17,27,43,0) 100%)!important}
/* hero stats: soft rolling slide-up on load */
.hero_stats-stat .roll{display:inline-flex;overflow:hidden;vertical-align:top;line-height:1.15;padding-bottom:.04em}
.hero_stats-stat .roll i{display:inline-block;font-style:normal;transform:translateY(105%);opacity:0;animation:statRoll 1.1s cubic-bezier(.16,1,.3,1) forwards;animation-delay:calc(var(--d) * 1ms)}
.hero_stats-item .lbl{display:block;opacity:0;transform:translateY(14px);animation:statLbl .9s cubic-bezier(.16,1,.3,1) forwards;animation-delay:calc(var(--d) * 1ms)}
@keyframes statRoll{to{transform:none;opacity:1}}
@keyframes statLbl{to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.hero_stats-stat .roll i,.hero_stats-item .lbl{animation:none;transform:none;opacity:1}}

/* hero h1: bigger, fixed 3 lines */
.section_hero .max-width-large:has(> h1){max-width:none}
.section_hero h1{font-size:clamp(38px,4.1vw,64px);line-height:1.04;white-space:nowrap}
@media (max-width:767px){.section_hero h1{white-space:normal;font-size:clamp(32px,8.5vw,44px)}.section_hero h1 .h1br{display:none}}
.section_hero .max-width-large:has(> h1) > p{max-width:640px}

/* benefit cards: 4 cards, 2x2, no entrance animation */
@media (min-width:992px){.benefits-cards_grid.hide-mobile-landscape{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.benefits-cards_grid .layout_card{opacity:1!important;transform:none!important}
@media (min-width:992px){.overlap-top{margin-top:-120px!important}}

/* process timeline: progress fades in from transparent, whole line fades out at both ends */
.process_timeline_progress{background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 45%,#fff 100%)!important}
.process_timeline_container{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 88%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 88%,transparent 100%)}

/* FAQ: two columns, sticky intro left */
.faq_split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(40px,6vw,96px);align-items:start}
.faq_left{position:sticky;top:120px}
.faq_left .global_title-underline{margin-left:0}
.faq_intro{max-width:26em;opacity:.8}
@media (max-width:991px){.faq_split{grid-template-columns:minmax(0,1fr)}.faq_left{position:static}}

/* ---- Vergleich: Aufbau wie Referenz (linke Karte hell, mittig, unter der dunklen Karte) ---- */
@media (min-width:992px){
  .comparison-cards_container{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;gap:0!important;align-items:center!important}
  .comparison-cards_container>.layout_card:not(.style-accent){align-self:center!important;margin:0 -56px 0 0!important;padding:3rem 6.5rem 3rem 3rem!important;background:#ececee!important;filter:none!important;transform:none!important;border:0!important;border-radius:28px!important;position:relative;z-index:1}
  .comparison-cards_container>.layout_card.style-accent{margin:0!important;padding:3.75rem 3.25rem!important;border-radius:28px!important;transform:none!important;z-index:2;
    background:radial-gradient(120% 90% at 12% 0%,rgba(255,255,255,.09),rgba(255,255,255,0) 55%),linear-gradient(120deg,rgba(255,255,255,0) 14%,rgba(255,255,255,.06) 27%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 55%,rgba(255,255,255,.05) 68%,rgba(255,255,255,0) 82%),linear-gradient(160deg,#16335c 0%,#0e2645 45%,#0b1f3b 100%)!important}
}
.comparison-cards_container>.layout_card:not(.style-accent) h3{color:#0b2447!important;text-transform:uppercase;font-size:1.15rem!important;font-weight:700!important;letter-spacing:.02em;line-height:1.3}
.comparison-cards_container>.layout_card:not(.style-accent) p{color:#1d2b40!important}
.comparison-cards_container>.layout_card:not(.style-accent) svg{opacity:1;color:#0b2447}
.comparison-cards_container .global_icon-text_list{gap:1.6rem!important}
.comparison-cards_container .global_icon-text_item p{margin:0}
@media (min-width:992px){.comparison-cards_container .global_icon-text_item p{font-size:1.0625rem;line-height:1.45}.comparison-cards_container .global_icon-text_item-icon{width:26px;height:26px}}

/* FAQ questions a bit smaller */
.faq_accordion-header h3{font-size:clamp(1.125rem,1.45vw,1.375rem)!important;line-height:1.3!important}

/* header: white as soon as the page is scrolled */
.navigation{transition:background-color .35s ease}
.navigation.is-scrolled{background-color:#fff!important}

/* Ablauf: no line after "Schritt X" */
.section_process .global_overline-line{display:none!important}

/* no white gap between hero and the next section */
.section_hero{margin-bottom:0!important}

/* footer: section links removed, contact right-aligned */
.footer_contact{text-align:right;margin-left:auto}
@media (max-width:767px){.footer_contact{text-align:left;margin-left:0}}

/* Ablauf: same brushed-metal navy as the comparison card */
.section_process{background:radial-gradient(120% 60% at 12% 0%,rgba(255,255,255,.09),rgba(255,255,255,0) 55%),linear-gradient(120deg,rgba(255,255,255,0) 14%,rgba(255,255,255,.06) 27%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 55%,rgba(255,255,255,.05) 68%,rgba(255,255,255,0) 82%),linear-gradient(160deg,#16335c 0%,#0e2645 45%,#0b1f3b 100%)!important}
.process_blob{box-shadow:0 0 0 5px #0e2645!important}

/* ---- Philipp-Feedback: Badge statt Avatar-Reihe, groessere Logos ---- */
.sf-badge{display:inline-flex!important;align-items:center;gap:.6rem;padding:.5rem 1rem .5rem .6rem;border-radius:999px;background:rgba(255,255,255,.75);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#0b2447;font-size:.875rem;font-weight:500;line-height:1.3;width:auto!important}
.sf-badge_icon{width:22px;height:22px;flex:none;color:#2f7be0}
.cta_button-description{display:flex;align-items:center;gap:.5rem}
.sf-check{width:20px;height:20px;flex:none;color:#fff}
.navigation_logo-image{height:44px!important;max-width:260px!important}
footer .footer_logo{height:52px!important;width:auto!important;max-width:300px!important}
.comparison-cards_logo{height:54px!important;max-width:320px!important}
@media (max-width:767px){
  .navigation_logo-image{height:36px!important;max-width:210px!important}
  footer .footer_logo{height:44px!important}
  .comparison-cards_logo{height:44px!important}
  .sf-badge{font-size:.8125rem}
}
@media (max-width:767px){.navigation{padding-top:.8rem!important;padding-bottom:.8rem!important}}
