/* ============================================================
   KFO-BORGMANN kfo-style.css
   WordPress / Elementor Child-Theme Integration
   Version 1.0

   Aufbau:
   01. CSS Custom Properties (Design Tokens)
   02. Base Reset & Body
   03. Video Background Layer
   04. Page Loader
   05. Custom Cursor
   06. Elementor-Overrides (Sektionen transparent machen etc.)
   07. Navigation (Elementor Nav-Widget Override)
   08. Hero-Sektion
   09. Marquee / Ticker-Band
   10. Buttons
   11. Sektions-Typen (opaque / transparent / glass)
   12. Eyebrow / Titel / Lead
   13. Stats
   14. Treatment-Cards
   15. Invisalign-Features
   16. Timeline / Lebenslauf
   17. Team-Foto-Streifen
   18. Awards / Buchungs-Button
   19. Kontakt-Formular & Öffnungszeiten
   20. Footer
   21. Reveal-Animationen
   22. Responsive
   23. Keyframes
   24. Turning Product Cards
   25. Zeitstrahl CV Dr. Borgmann
   26. Zeitstrahl CV Dr. Krüger
   27. Carousel Indikatoren Frühbehandlung
   28. Titel Behandlung 
   29. Boxen-Behandlungsarten (Kinder & Jugendliche) 
============================================================ */

/* ------------------------------------------------------------------------------------------------------------- */
/* 01. DESIGN TOKENS */
/* ------------------------------------------------------------------------------------------------------------- */

:root {
  --accent:       #01A4A3;          /* Türkis auf Kopfleiste Logo   */
  --accent2:      #0064B4;          /* Dunkelblau auf Logo-Quadrat  */
  --lightblue:    #28A0DC;          /* Hellblau auf Logo-Quadrat    */
  --black:        #080E12;
  --white:        #F2F8FB;
  --dark-bg:      #0A1520;
  --mid-gray:     #122030;
  --text-muted:   rgba(242, 248, 251, 0.60);
  --navy-blue:    rgba(8, 38, 65, 1);

  --font-display: 'Bebas Neue',       sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans',          sans-serif;

  --nav-height-1:   35px;
  --nav-height-2:   95px;
  --footer-height:  40px;
  --section-pad:  clamp(60px, 9vw, 110px);
  --radius:       6px;

  --eybrow-size: 20px;

  /* Shorthand fÃ¼r Seitenrand auf gleich wie Elementor-Container */
  --side-pad:     clamp(20px, 8vw, 120px);
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 02. BASE RESET & BODY */
/* ------------------------------------------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  background: var(--dark-bg);
}

/* Im Frontend: dunkler Hintergrund, kein Cursor */
body.kfo-theme {
  font-family:            var(--font-body);
  background:             transparent;   /* Video-BG dahinter */
  color:                  var(--white);
  overflow-x:             hidden;
  -webkit-font-smoothing: antialiased;
  cursor:                 none;          /* Custom Cursor aktiv */
}

/* Im Elementor-Editor: normaler Cursor, heller Hintergrund */
body.elementor-editor-active {
  cursor:     auto !important;
  background: var(--dark-bg) !important;
}

body.kfo-theme a { color: inherit; }
body.kfo-theme img { max-width: 100%; }

/* ------------------------------------------------------------------------------------------------------------- */
/* 03. FIXED VIDEO BACKGROUND */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-video-bg {
  position: fixed;
  inset:    0;
  z-index:  -2;
  overflow: hidden;
}

.kfo-video-bg video {
  width:      100%;
  height:     100%;
  object-fit: cover;
  opacity:    .55;
  filter:     saturate(1.1) contrast(1.05) brightness(.8) hue-rotate(155deg);
}

.kfo-video-bg__grain {
  position:         absolute;
  inset:            0;
  opacity:          .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:  256px;
  pointer-events:   none;
}

.kfo-video-bg__dimmer {
  position:   absolute;
  inset:      0;
  background: rgba(8, 14, 20, .22);
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 04. PAGE LOADER */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-loader {
  position:   fixed;
  inset:      0;
  background: var(--black);
  z-index:    9999;
  display:    flex;
  align-items:     center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.kfo-loader--out {
  opacity:    0;
  visibility: hidden;
}

.kfo-loader__text {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 8vw, 5rem);
  letter-spacing: .15em;
  color:          var(--accent);
  animation:      kfoPulseLoader .9s ease infinite alternate;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 05. CUSTOM CURSOR */
/* ------------------------------------------------------------------------------------------------------------- */

@media (min-width: 1025px) {
.kfo-cursor {
  width:          10px;
  height:         10px;
  background:     var(--accent);
  border-radius:  50%;
  position:       fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index:        9999;
  transform:      translate(-50%, -50%);
  transition:     width .15s, height .15s, background .2s;
}

.kfo-cursor-ring {
  width:          34px;
  height:         34px;
  border:         2px solid var(--accent);
  border-radius:  50%;
  position:       fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index:        9998;
  transform:      translate(-50%, -50%);
  opacity:        .45;
}
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 06. ELEMENTOR BASE OVERRIDES */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Elementor-Sektionen haben standardmÃ¤ÃŸig weiÃŸen Hintergrund.
  Alle Sektionen auf transparent setzen auf du steuerst HintergrÃ¼nde
  ausschlieÃŸlich Ã¼ber deine Klassen (kfo-opaque, kfo-glass etc.)
*/

/* Elementor v3: Section / Container */
/* GHR am 30.04.2026: transparen
body.kfo-theme .elementor-section,
body.kfo-theme .transparent .e-con,
body.kfo-theme .e-con-inner{
  background-color: transparent !important;
  background-image: none !important;
}
*/

/* Elementor-eigener Widget-Wrapper: kein overflow hidden */
body.kfo-theme .elementor-widget-wrap {
  overflow: visible;
}

/* Elementor setzt manchmal z-index auf Sektionen auf zurÃ¼cksetzen */
body.kfo-theme .elementor-section.kfo-glass,
body.kfo-theme .elementor-section.kfo-transparent,
body.kfo-theme .e-con.kfo-glass,
body.kfo-theme .e-con.kfo-transparent {
  z-index: 1;
}

/* Elementor-Heading-Widget: unsere Fonts Ã¼bernehmen lassen */
body.kfo-theme .elementor-widget-heading .elementor-heading-title {
  font-family: inherit;
  line-height:  inherit;
}

/* Elementor-Text-Widget */
body.kfo-theme .elementor-widget-text-editor p {
  font-family: var(--font-body);
  color:       var(--text-muted);
  line-height: 1.75;
}

/* Elementor-Nav: Standard-Styles entfernen */
body.kfo-theme .elementor-nav-menu {
  padding: 0;
  margin:  0;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 07. NAVIGATION */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Die Navigation wird als Elementor-Section mit
  der CSS-Klasse "kfo-nav" gebaut.
  Innen: Logo (Text/HTML-Widget) + Nav-MenÃ¼-Widget + Button-Widget
*/

.kfo-nav-1 {
  position:   fixed !important;   /* Elementor-Section fixiert */
  top:        0;
  left:       0;
  right:      0;
  height:     var(--nav-height-1);
  z-index:    1000;
  transition: background .4s ease, backdrop-filter .4s ease;
}

.kfo-nav {
  position:   fixed !important;   /* Elementor-Section fixiert */
  top:        var(--nav-height-1);
  left:       0;
  right:      0;
  height:     var(--nav-height-2);
  z-index:    1000;
  transition: background 0.8s ease, backdrop-filter 0.8s ease;
}

.kfo-nav.scrolled {
  background: rgba(8, 47, 80, 1) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(1, 164, 163, .2);
}

/* Logo-Text im HTML-Widget */
.kfo-nav .kfo-logo {
  font-family:    var(--font-display);
  font-size:      1.45rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--accent);
  text-decoration: none;
}

.kfo-nav .kfo-logo span { color: var(--lightblue); }

/* Nav-Links (Elementor Nav-MenÃ¼-Widget) */
.kfo-nav .elementor-nav-menu--main .elementor-item {
  font-family:    var(--font-heading);
  font-size:      .82rem;
  font-weight:    700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color:          rgba(245, 249, 251, .8) !important;
  padding:        0 !important;
  position:       relative;
}

.kfo-nav .elementor-nav-menu--main .elementor-item::after {
  content:    '';
  position:   absolute;
  bottom:     -4px;
  left:       0;
  width:      0;
  height:     2px;
  background: var(--accent);
  transition: width .3s ease;
}

.kfo-nav .elementor-nav-menu--main .elementor-item:hover,
.kfo-nav .elementor-nav-menu--main .elementor-item:focus {
  color: var(--accent) !important;
}

@media (max-width: 1366px) {
  .kfo-display-up-to-1366 .elementor-nav-menu--main { display: none !important; }
}

@media (max-width: 1366px) {
  .kfo-display-up-to-1366 .elementor-menu-toggle
    { 
    display: block !important;
    }
}

@media (min-width: 1025px) {
  .kfo-display-up-to-1366 .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--dropdown 
    {
        display: block !important;
    }
}


.kfo-nav .elementor-nav-menu--main .elementor-item:hover::after {
  width: 100%;
}

/* CTA-Button in der Nav (Elementor Button-Widget mit Klasse kfo-nav-cta) */
.kfo-nav-cta,
.kfo-nav-cta.elementor-button {
  font-family:     var(--font-heading) !important;
  font-size:       .78rem !important;
  font-weight:     700 !important;
  letter-spacing:  .15em !important;
  text-transform:  uppercase !important;
  border:          2px solid var(--accent) !important;
  color:           var(--accent) !important;
  background:      transparent !important;
  padding:         8px 20px !important;
  border-radius:   var(--radius) !important;
  transition:      background .25s, color .25s !important;
}

.kfo-nav-cta:hover,
.kfo-nav-cta.elementor-button:hover {
  background: var(--accent) !important;
  color:      var(--dark-bg) !important;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 08. HERO */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Hero = Elementor-Section mit Klasse "kfo-hero".
  Höhe: 100vh. Hintergrund: transparent (Video dahinter).
  Inner: HTML-Widget mit hero__content-Markup.
*/

.kfo-hero {
  min-height:      calc(100vh - var(--footer-height)) !important;
  padding-top:     calc(var(--nav-height-1) + var(--nav-height-2)) !important;
  display:         flex !important;
  align-items:     center !important;
  background:      transparent !important;
  position:        relative;
}

/* Gradient-Overlay über dem Video im Hero */
.kfo-hero::before {
  content:          '';
  position:         absolute;
  inset:            0;
  pointer-events:   none;
  z-index:          0;
  background:       linear-gradient(
    135deg,
    rgba(0, 100, 180, .35)   0%,
    rgba(8,  14,  20, .28)  45%,
    rgba(1, 164, 163, .10) 100%
  );
}

.kfo-hero .e-con-inner,
.kfo-hero .elementor-container {
  position: relative;
  z-index:  1;
}

/* Hero-Content (HTML-Widget-Inhalt) */
.hero__eyebrow {
  font-family:    var(--font-heading);
  font-size:      clamp(1.1rem, 2.8vw, 2rem);
  font-weight:    700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  1rem;
  opacity:        0;
  animation:      kfoFadeUp .8s .3s ease forwards;
}

@media (max-width: 1024px) {
  .hero__eyebrow {
    font-size: var(--eybrow-size);
  }
}

@media (max-width: 767px) {
  .hero__eyebrow {
    font-size: var(--eybrow-size);
  }
}

.hero__title {
  font-family:    var(--font-display);
  font-size:      130px;
  line-height:    1.08;
  letter-spacing: .04em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  .4rem;
  opacity:        0;
  animation:      kfoFadeUp .9s .5s ease forwards;
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 10vw;
  }
}

@media (max-width: 767px) {
  .hero__title {
    font-size: 54px;
  }
}




.hero__title .outline {
  -webkit-text-stroke: 2px var(--accent);
  color:               transparent;
  display:             block;
}

.hero__title .lightblue { color: var(--lightblue); }

.hero__sub {
  font-family:    var(--font-heading);
  font-size:      clamp(1.1rem, 2.8vw, 2rem);
  font-weight:    600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color:          rgba(245, 249, 251, .65);
  margin-bottom:  2.5rem;
  opacity:        0;
  animation:      kfoFadeUp .9s .7s ease forwards;
}

.hero__actions {
  display:   flex;
  gap:       1rem;
  flex-wrap: wrap;
  opacity:   0;
  animation: kfoFadeUp .9s .9s ease forwards;
}

/* Scroll-Indikator */
.hero__scroll {
  position:  absolute;
  bottom:    40px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   3;
  display:   flex;
  flex-direction: column;
  align-items:    center;
  gap:       8px;
  opacity:   0;
  animation: kfoFadeIn 1s 1.4s ease forwards;
}

.hero__scroll span {
  font-family:    var(--font-heading);
  font-size:      .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color:          rgba(245, 249, 251, .4);
}

.hero__scroll-line {
  width:      1px;
  height:     50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation:  kfoScrollPulse 2s ease infinite;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 09. MARQUEE / TICKER */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Marquee = Elementor-Section mit Klasse "kfo-marquee".
  Innen: HTML-Widget mit .kfo-marquee-track.
*/

  .kfo-wordband {
    width: 100%;
    height: 70px;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    background: #08a6a4;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  .kfo-marquee-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    height: 100%;
    animation: kfo-marquee-scroll 35s linear infinite;
    will-change: transform;
 }

  .kfo-marquee-track.kfo-fast {
	animation: kfo-marquee-scroll 30s linear infinite !important;
}

  .kfo-marquee-track.kfo-very-fast {
	animation: kfo-marquee-scroll 25s linear infinite !important;
}

  .kfo-marquee-track.kfo-slow {
	animation: kfo-marquee-scroll 40s linear infinite !important;
}

  .kfo-marquee-track.kfo-very-slow {
	animation: kfo-marquee-scroll 45s linear infinite !important;
}

  .kfo-marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family:    var(--font-display);
    font-size:      clamp(.9rem, 2.2vw, 1.6rem);
    letter-spacing: .1em;
    font-weight: 800;
    text-transform: uppercase;
    color: #06121b;
    line-height: 1;
    padding: 0 52px;
    white-space: nowrap;
    height: 100%;
    box-sizing: border-box;
  }

  .kfo-wordband__dot {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: #0A1520;
    flex: 0 0 auto;
  }

  @keyframes kfo-marquee-scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }
  
  .kfo-wordband-blue .kfo-wordband__plus {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .kfo-wordband-blue .kfo-wordband__plus::before,
  .kfo-wordband-blue .kfo-wordband__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ff0000 !important;
    transform: translate(-50%, -50%);
  }

  .kfo-wordband-blue .kfo-wordband__plus::before {
    width: 18px;
    height: 4px;
  }

  .kfo-wordband-blue .kfo-wordband__plus::after {
    width: 4px;
    height: 18px;
  }

/* ------------------------------------------------------------------------------------------------------------- */
/* 10. BUTTONS */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-btn,
.kfo-btn.elementor-button {
  display:        inline-block;
  font-family:    var(--font-heading) !important;
  font-size:      .84rem !important;
  font-weight:    700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  padding:        13px 30px !important;
  border-radius:  var(--radius) !important;
  cursor:         none;
  transition:     transform .2s, box-shadow .2s, background .2s, color .2s !important;
}

.kfo-btn:hover { transform: translateY(-3px); }

.kfo-btn--primary,
.kfo-btn--primary.elementor-button {
  background: var(--accent) !important;
  color:      var(--dark-bg) !important;
  border:     none !important;
}

.kfo-btn--primary:hover {
  background:  #02bfbe !important;
  box-shadow:  0 12px 36px rgba(1, 164, 163, .45);
}

.kfo-btn--outline,
.kfo-btn--outline.elementor-button {
  background:   transparent !important;
  border:       2px solid rgba(242, 248, 251, .5) !important;
  color:        var(--white) !important;
}

.kfo-btn--outline:hover {
  border-color: var(--accent) !important;
  color:        var(--accent) !important;
}

.kfo-btn--blue {
  background: var(--lightblue) !important;
  color:      var(--white) !important;
}

.kfo-btn--blue:hover {
  box-shadow: 0 12px 36px rgba(40, 160, 220, .35);
}

.elementor-menu-toggle {
  padding: 0px !important;
}

.elementor-button {
  padding: 5px !important;
}

@media (max-width: 767px) {
    .elementor-22 .elementor-element.elementor-element-cb55455 {
      --width: 120px !important;
    }
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 11. SEKTIONS-TYPEN */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Trage diese Klassen im Elementor-Abschnitt unter
  "Erweitert â†’ CSS-Klassen" ein.
*/

/* Opake Sektionen decken Video ab */
.kfo-opaque {
  background: var(--dark-bg) !important;
}

.kfo-opaque-mid {
  background: var(--mid-gray) !important;
}

/* Transparente Sektionen auf leichtes Overlay, Video scheint durch */
.kfo-transparent {
  background: transparent !important;
  position:   relative;
}

.kfo-transparent::before {
  content:        '';
  position:       absolute;
  inset:          0;
  pointer-events: none;
  background:     linear-gradient(
    180deg,
    rgba(8, 14, 20, .05)  0%,
    rgba(8, 14, 20, .30) 50%,
    rgba(8, 14, 20, .05) 100%
  );
}

.kfo-transparent > .e-con-inner,
.kfo-transparent > .elementor-container {
  position: relative;
  z-index:  1;
}

/* Teal-TÃ¶nung */
.kfo-transparent-teal::before {
  background: linear-gradient(
    180deg,
    rgba(1, 164, 163, .12)  0%,
    rgba(0, 100, 180, .15) 50%,
    rgba(1, 164, 163, .08) 100%
  );
}

/* Navy-TÃ¶nung */
.kfo-transparent-navy::before {
  background: linear-gradient(
    180deg,
    rgba(8, 14, 20, .05)   0%,
    rgba(0, 100, 180, .20) 50%,
    rgba(8, 14, 20, .05)  100%
  );
}

/* Glass auf fast kein Overlay */
.kfo-glass {
  background: transparent !important;
  position:   relative;
}

.kfo-glass::before {
  content:        '';
  position:       absolute;
  inset:          0;
  pointer-events: none;
  background:     linear-gradient(
    180deg,
    transparent              0%,
    rgba(8, 14, 20, .08)    50%,
    transparent             100%
  );
}

.kfo-glass > .e-con-inner,
.kfo-glass > .elementor-container {
  position: relative;
  z-index:  1;
}

html,
body{
  scroll-snap-type: y mandatory;
}

.kfo-full-height {
  min-height: calc(100vh - var(--nav-height-1) + var(--nav-height-2)) !important;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 12. EYEBROW / TITEL / LEAD */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  In Elementor: Heading-Widget fÃ¼r Eyebrow mit Klasse "kfo-eyebrow".
  Heading-Widget fÃ¼r Titel mit Klasse "kfo-title".
  Text-Widget fÃ¼r Lead mit Klasse "kfo-lead".
*/

.kfo-eyebrow,
.kfo-eyebrow .elementor-heading-title {
  font-family:    var(--font-heading) !important;
  font-size:      var(--eybrow-size);
  font-weight:    700 !important;
  letter-spacing: .3em !important;
  text-transform: uppercase !important;
  color:          var(--accent) !important;
  margin-bottom:  .75rem;
}

.kfo-title,
.kfo-title .elementor-heading-title {
  font-family:    var(--font-display) !important;
  font-size:      clamp(2.4rem, 6.5vw, 7.5rem) !important;
  line-height:    1.06 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color:          var(--white) !important;
  margin-bottom:  clamp(28px, 5vw, 56px);
}

/* Variante: kleinere Titel z.B. im Lebenslauf */
.kfo-title--md .elementor-heading-title {
  font-size: clamp(2rem, 4.5vw, 5rem) !important;
}

/* Text-Farb-Hilfsklassen fÃ¼r Spans im HTML-Widget */
.kfo-text-teal   { color: var(--accent); }
.kfo-text-blue   { color: var(--lightblue); }
.kfo-text-white  { color: var(--white); }
.kfo-outline {
  -webkit-text-stroke: 2px var(--white);
  color:               transparent;
}
.kfo-outline-teal {
  -webkit-text-stroke: 2px var(--accent);
  color:               transparent;
}

.kfo-lead,
.kfo-lead p {
  font-family:   var(--font-body) !important;
  font-size:     clamp(.95rem, 1.4vw, 1.1rem) !important;
  line-height:   1.75 !important;
  color:         var(--text-muted) !important;
  max-width:     560px;
  margin-bottom: 2rem;
}

.kfo-divider {
  width:        56px;
  height:       4px;
  background:   var(--accent);
  margin:       1.5rem 0;
  border:       none;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 13. STATS */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Stats-Bereich: Elementor-Section mit Klasse "kfo-glass".
  Innen: 4 Spalten, je eine Spalte = HTML-Widget mit .kfo-stat.
*/

.kfo-stat {
  text-align: left;
}

.kfo-stat__number {
  font-family:    var(--font-display);
  font-size:      clamp(3rem, 7vw, 6.5rem);
  line-height:    1.1;
  letter-spacing: .04em;
  color:          var(--lightblue);
  display:        block;
}

.kfo-stat__label {
  font-family:    var(--font-heading);
  font-size:      .82rem;
  font-weight:    700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          rgba(245, 249, 251, .65);
  margin-top:     .5rem;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 14. TREATMENT CARDS */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Treatment-Card: Elementor-Image-Box-Widget oder
  eigenes HTML-Widget mit Klasse "kfo-treatment-card".
*/

.kfo-treatment-card {
  background:    rgba(8, 38, 65, 1);
  border-radius: var(--radius);
  overflow:      hidden;
  border:        1px solid rgba(255, 255, 255, .06);
  display:       flex;
  flex-direction: column;
  transition:    transform .3s, box-shadow .3s, border-color .3s;
  height:        100%;
}

.kfo-treatment-card:hover {
  transform:    translateY(-7px);
  box-shadow:   0 20px 50px rgba(1, 164, 163, .22);
  border-color: rgba(1, 164, 163, .35);
}

.kfo-treatment-card__img {
  width:       100%;
  aspect-ratio: 4/3;
  object-fit:  cover;
  transition:  transform .4s ease;
  display:     block;
}

.kfo-treatment-card:hover .kfo-treatment-card__img { transform: scale(1.04); }

.kfo-treatment-card__body {
  padding:        1.4rem;
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            .6rem;
}

.kfo-tag {
  display:        inline-block;
  font-family:    var(--font-heading);
  font-size:      .68rem;
  font-weight:    700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          var(--accent);
  border:         1px solid var(--accent);
  padding:        3px 10px;
  border-radius:  2px;
}

.kfo-card-title {
  font-family:    var(--font-heading);
  font-size:      clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight:    700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color:          var(--white);
  line-height:    1.2;
}

.kfo-card-text {
  font-size:   .88rem;
  line-height: 1.65;
  color:       rgba(245, 249, 251, .55);
  flex:        1;
}

.kfo-card-link {
  font-family:    var(--font-heading);
  font-size:      .78rem;
  font-weight:    700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          var(--accent);
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  transition:     gap .2s;
  margin-top:     auto;
  padding-top:    .6rem;
}

.kfo-card-link:hover { gap: 14px; color: var(--accent); }
.kfo-card-link::after { content: '\2192'; }

/* Hinweis-Box (Call-to-Action Streifen) */
.kfo-hint-box {
  background:    rgba(1, 164, 163, .08);
  border:        1px solid rgba(1, 164, 163, .25);
  border-radius: var(--radius);
  padding:       2rem 2.5rem;
  display:       flex;
  align-items:   center;
  gap:           2rem;
  flex-wrap:     wrap;
  margin-top:    3rem;
}

@media (max-width: 767px) {
   .kfo-hint-box {
    flex-direction: column;
    align-items:    flex-start;
  }
}


.kfo-hint-box__title {
  font-family:    var(--font-heading);
  font-size:      1.1rem;
  font-weight:    700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  .4rem;
}

.kfo-hint-box__text {
  font-size:  .9rem;
  color:      var(--text-muted);
  max-width:  550px;
}


/* Treatment Cards: responsive, gleich hoch, kein Text-Abschneiden */


.kfo-treatment-card {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;

  display: flex !important;
  flex-direction: column !important;

  background: rgba(8, 38, 65, 1);
  border-radius: var(--radius, 6px);
  border: 1px solid rgba(255, 255, 255, .06);

  overflow: hidden;
  box-sizing: border-box;
}

/* Bild immer proportional und sauber */
.kfo-treatment-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto !important;

  object-fit: cover;
  display: block;

  flex: 0 0 auto;
}

/* Inhalt darf wachsen */
.kfo-treatment-card__body {
  flex: 1 1 auto !important;

  display: flex !important;
  flex-direction: column !important;

  height: auto !important;
  min-height: 0 !important;

  padding: clamp(1.25rem, 2vw, 1.7rem) !important;
  box-sizing: border-box;

  overflow: visible !important;
}

/* Titel */
.kfo-card-title {
  flex: 0 0 auto;

  margin: 0 0 1rem 0 !important;

  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.2;

  color: var(--white, #F2F8FB);

  white-space: normal !important;
  overflow: visible !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Text */
.kfo-card-text {
  flex: 1 1 auto;

  margin: 0 !important;

  font-size: clamp(.86rem, 1vw, .94rem);
  line-height: 1.65;
  color: rgba(245, 249, 251, .55);

  overflow: visible !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Elementor: HTML-Widget und Container auf volle Höhe ziehen */
.elementor-widget-container:has(> .kfo-treatment-card) {
  height: 100% !important;
}

.elementor-widget:has(.kfo-treatment-card) {
  height: 100% !important;
}

.e-con:has(.kfo-treatment-card),
.e-con-inner:has(.kfo-treatment-card),
.elementor-column:has(.kfo-treatment-card),
.elementor-widget-wrap:has(.kfo-treatment-card) {
  align-items: stretch !important;
}


/* Tablet */

@media (max-width: 1024px) {
  .kfo-treatment-card {
    height: 100% !important;
  }

  .kfo-treatment-card__body {
    padding: 1.35rem !important;
  }

  .kfo-card-title {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
  }

  .kfo-card-text {
    font-size: .9rem !important;
    line-height: 1.65 !important;
  }
}

/* Smartphone */


@media (max-width: 767px) {
  .kfo-treatment-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .kfo-treatment-card__img {
    aspect-ratio: 16 / 10;
    height: auto !important;
  }

  .kfo-treatment-card__body {
    padding: 1.25rem !important;
    overflow: visible !important;
  }

  .kfo-card-title {
    font-size: 1.08rem !important;
    line-height: 1.25 !important;
    margin-bottom: .85rem !important;
  }

  .kfo-card-text {
    font-size: .88rem !important;
    line-height: 1.65 !important;
    overflow: visible !important;
  }
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 15. INVISALIGN FEATURES */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-features-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:                   1.2rem;
  margin-top:            2rem;
}

.kfo-feature {
  background:    rgba(1, 164, 163, .08);
  border:        1px solid rgba(1, 164, 163, .2);
  border-radius: var(--radius);
  padding:       1.4rem;
  transition:    background .3s, border-color .3s;
}

.kfo-feature:hover {
  background:   rgba(1, 164, 163, .15);
  border-color: rgba(1, 164, 163, .4);
}

.kfo-feature__icon {
  font-size:     1.8rem;
  margin-bottom: .75rem;
  display:       block;
}

.kfo-feature__title {
  font-family:    var(--font-heading);
  font-size:      1rem;
  font-weight:    700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          var(--white);
  margin-bottom:  .4rem;
}

.kfo-feature__text {
  font-size:   .85rem;
  color:       var(--text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 16. TIMELINE / LEBENSLAUF */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-timeline {
  position:     relative;
  padding-left: 2rem;
  max-width:    700px;
}

.kfo-timeline::before {
  content:    '';
  position:   absolute;
  top:        0;
  bottom:     0;
  left:       0;
  width:      2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
}

.kfo-timeline-item {
  position:      relative;
  margin-bottom: 2rem;
}

.kfo-timeline-item::before {
  content:       '';
  position:      absolute;
  left:          -2.35rem;
  top:           .35rem;
  width:         10px;
  height:        10px;
  background:    var(--accent);
  border-radius: 50%;
  border:        2px solid var(--dark-bg);
}

.kfo-timeline-item__year {
  font-family:    var(--font-heading);
  font-size:      .75rem;
  font-weight:    700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  .2rem;
}

.kfo-timeline-item__text {
  font-size:   .92rem;
  line-height: 1.7;
  color:       var(--text-muted);
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 17. TEAM-NAMEN-STREIFEN */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-team-names {
  display:       grid;
  grid-template-columns: repeat(8, 1fr);
  gap:           0;
  border-radius: var(--radius);
  overflow:      hidden;
  border:        1px solid rgba(255, 255, 255, .07);
  margin-top:    1.5rem;
}

@media (max-width: 1024px) {
  .kfo-team-names {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .kfo-team-names {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kfo-team-name-item {
  padding:    .9rem .7rem;
  background: var(--mid-gray);
  border-right: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
}

.kfo-team-name-item:last-child { border-right: none; }

.kfo-team-name-item--primary { background: var(--accent); }
.kfo-team-name-item--secondary { background: var(--accent2); }

.kfo-team-person-name {
  font-family:    var(--font-heading);
  font-size:      .78rem;
  font-weight:    700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color:          var(--white);
  line-height:    1.3;
  margin-bottom:  .2rem;
}

.kfo-team-name-item--primary .kfo-team-person-name,
.kfo-team-name-item--primary .kfo-team-person-role { color: var(--dark-bg); }

.kfo-team-person-role {
  font-size:   .68rem;
  color:       var(--text-muted);
  line-height: 1.4;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 18. AWARDS / BUCHUNGS-BUTTON */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-awards-section {
  padding:       1.8rem var(--side-pad);
  border-bottom: 1px solid rgba(1, 164, 163, .15);
}

.kfo-awards-inner {
  display:         grid;
  grid-template-columns: 1fr auto;
  gap:             3rem;
  align-items:     center;
  max-width:       1400px;
  margin:          0 auto;
}

@media (max-width: 1024px) {
  .kfo-awards-inner {
    grid-template-columns: 1fr;
  }
}
 


.kfo-booking-btn {
  display:     flex;
  align-items: center;
  gap:         1rem;
  background:  var(--accent);
  color:       var(--dark-bg);
  padding:     1rem 1.6rem;
  border-radius: var(--radius);
  cursor:      none;
  transition:  background .25s, box-shadow .25s, transform .2s;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .kfo-booking-btn {
    white-space: normal;
  }
}


.kfo-booking-btn:hover {
  background: #02bfbe;
  box-shadow: 0 10px 30px rgba(1, 164, 163, .4);
  transform:  translateY(-2px);
  color:      var(--dark-bg);
}

.kfo-booking-btn__icon {
  flex-shrink:    0;
  width:          48px;
  height:         48px;
  background:     rgba(0, 0, 0, .12);
  border-radius:  8px;
  display:        flex;
  align-items:    center;
  justify-content: center;
}

.kfo-booking-btn__text {
  display:        flex;
  flex-direction: column;
  gap:            .15rem;
}

.kfo-booking-btn__sub {
  font-family:    var(--font-heading);
  font-size:      .7rem;
  font-weight:    700;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity:        .7;
}

.kfo-booking-btn__main {
  font-family:    var(--font-heading);
  font-size:      clamp(.95rem, 1.5vw, 1.15rem);
  font-weight:    700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height:    1.25;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 19. KONTAKT-FORMULAR & ÖFFNUNGSZEITEN */
/* ------------------------------------------------------------------------------------------------------------- */

/* Elementor Form-Widget mit Klasse kfo-form */
.kfo-form .elementor-field-group label {
  font-family:    var(--font-heading) !important;
  font-size:      .73rem !important;
  font-weight:    700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color:          var(--text-muted) !important;
}

.kfo-form .elementor-field {
  background:    rgba(255, 255, 255, .05) !important;
  border:        1px solid rgba(255, 255, 255, .1) !important;
  border-radius: var(--radius) !important;
  color:         var(--white) !important;
  font-family:   var(--font-body) !important;
  font-size:     1rem !important;
  padding:       12px 16px !important;
}

.kfo-form .elementor-field:focus {
  border-color: var(--accent) !important;
  box-shadow:   0 0 0 3px rgba(1, 164, 163, .15) !important;
  outline:      none !important;
}

.kfo-form .elementor-button {
  background:   var(--accent) !important;
  color:        var(--dark-bg) !important;
  font-family:  var(--font-heading) !important;
  font-weight:  700 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius) !important;
  width:        100% !important;
}

/* Ã–ffnungszeiten-Tabelle (HTML-Widget) */
.kfo-hours-table {
  width:           100%;
  border-collapse: collapse;
}

.kfo-hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.kfo-hours-table tr:last-child { border-bottom: none; }

.kfo-hours-table td {
  padding:  .75rem 0;
  font-size: .9rem;
  color:    var(--text-muted);
}

.kfo-hours-table td:first-child {
  font-family:    var(--font-heading);
  font-weight:    700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--white);
  width:          130px;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 20. FOOTER */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Footer = Elementor-Section mit Klasse "kfo-footer".
*/

.kfo-footer {
  background:  var(--black) !important;
  border-top:  1px solid rgba(255, 255, 255, .07);
}

.kfo-footer__logo {
  font-family:    var(--font-display);
  font-size:      1.8rem;
  letter-spacing: .05em;
  color:          var(--accent);
  margin-bottom:  1rem;
  display:        block;
}

.kfo-footer__col-title {
  font-family:    var(--font-heading);
  font-size:      .73rem;
  font-weight:    700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color:          var(--accent);
  margin-bottom:  1.25rem;
}

.kfo-footer__links {
  list-style:     none;
  display:        flex;
  flex-direction: column;
  gap:            .7rem;
  padding:        0;
  margin:         0;
}

.kfo-footer__links a {
  font-size:  .88rem;
  color:      rgba(245, 249, 251, .45);
  transition: color .2s, padding-left .2s;
}

.kfo-footer__links a:hover {
  color:        var(--white);
  padding-left: 6px;
}

.kfo-footer__copy {
  font-size:      .78rem;
  color:          rgba(245, 249, 251, .28);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 21. REVEAL-ANIMATIONEN */
/* ------------------------------------------------------------------------------------------------------------- */

/*
  Klasse "reveal" auf Elementor-Widgets per "CSS-Klassen" eintragen.
  JS-Datei Ã¼berwacht via IntersectionObserver und setzt "revealed".
*/

.reveal {
  opacity:    0;
  transform:  translateY(38px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.revealed {
  opacity:   1;
  transform: translateY(0);
}

.reveal--left             { transform: translateX(-48px); }
.reveal--left.revealed    { transform: translateX(0); }
.reveal--right            { transform: translateX(48px); }
.reveal--right.revealed   { transform: translateX(0); }
.reveal--scale            { transform: scale(.9); }
.reveal--scale.revealed   { transform: scale(1); }

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ------------------------------------------------------------------------------------------------------------- */
/* 22. RESPONSIVE */
/* ------------------------------------------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------------------------------------------- */
/* 23. KEYFRAMES */
/* ------------------------------------------------------------------------------------------------------------- */

@keyframes kfoPulseLoader {
  from { opacity: .3; transform: scale(.97); }
  to   { opacity:  1; transform: scale(1);   }
}

@keyframes kfoFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes kfoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes kfoMarquee {
  from { transform: translateX(0);    }
  to   { transform: translateX(-50%); }
}

@keyframes kfoScrollPulse {
  0%,  100% { opacity: 1;  transform: scaleY(1);   transform-origin: top; }
  50%        { opacity: .3; transform: scaleY(.6); transform-origin: top; }
}


/* 24. Turning Product Cards by Gero und Basti am 13.05.2026 */
.team-loop-carousel .swiper-slide {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.team-loop-carousel .uv-card,
.team-loop-carousel .uv-card-inner {
  height: 100%;
  transform-style: preserve-3d;
}

.team-loop-carousel .uv-card-inner {
  min-height: 420px;
  transform-origin: center center;
  backface-visibility: hidden;
  transition:
    transform 2.0s cubic-bezier(.16, 1, .3, 1),
    opacity 2.0s ease !important;
}

/* Default/Fallback: sichtbar lassen */
.team-loop-carousel .swiper-slide .uv-card-inner {
  transform: perspective(1200px) rotateY(0deg) scale(0.86) !important;
  opacity: 0.75 !important;
}

/* links sichtbar */
.team-loop-carousel .swiper-slide.uv-pos-left .uv-card-inner {
  transform: perspective(1200px) rotateY(32deg) scale(0.92) !important;
  opacity: 0.75 !important;
}

/* Mitte */
.team-loop-carousel .swiper-slide.uv-pos-center .uv-card-inner {
  transform: perspective(1200px) rotateY(0deg) scale(1) !important;
  opacity: 1 !important;
}

/* rechts sichtbar */
.team-loop-carousel .swiper-slide.uv-pos-right .uv-card-inner {
  transform: perspective(1200px) rotateY(-32deg) scale(0.92) !important;
  opacity: 0.75 !important;
}

/* rechts herein */
.team-loop-carousel .swiper-slide.uv-pos-enter-right .uv-card-inner {
  transform: perspective(1200px) rotateY(75deg) scale(0.72) !important;
  opacity: 0.15 !important;
}

/* links herein */
.team-loop-carousel .swiper-slide.uv-pos-enter-left .uv-card-inner {
  transform: perspective(1200px) rotateY(-75deg) scale(1.72) !important;
  opacity: 0.15 !important;
}

/* links raus */
.team-loop-carousel .swiper-slide.uv-pos-exit-left .uv-card-inner {
  transform: perspective(1200px) rotateY(-75deg) scale(0.72) !important;
  opacity: 0 !important;
}

/* rechts raus */
.team-loop-carousel .swiper-slide.uv-pos-exit-right .uv-card-inner {
  transform: perspective(1200px) rotateY(75deg) scale(0.72) !important;
  opacity: 0 !important;
}

/* Fallback, falls JS nicht greift */
.team-loop-carousel .swiper-slide.swiper-slide-active .uv-card-inner {
  transform: perspective(1200px) rotateY(32deg) scale(0.92) !important;
  opacity: 0.75 !important;
}

.team-loop-carousel .swiper-slide.swiper-slide-active + .swiper-slide .uv-card-inner {
  transform: perspective(1200px) rotateY(0deg) scale(1) !important;
  opacity: 1 !important;
}

.team-loop-carousel .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide .uv-card-inner {
  transform: perspective(1200px) rotateY(-32deg) scale(0.92) !important;
  opacity: 0.75 !important;
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 25. Zeitstrahl CV Dr. Borgmann */
/* ------------------------------------------------------------------------------------------------------------- */

.borgmann-cv-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 58px 40px;
  box-sizing: border-box;
}

.borgmann-cv-slider__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0px 26px;
  scrollbar-width: none;
}

.borgmann-cv-slider__track::-webkit-scrollbar {
  display: none;
}

/* Keine Zusatzfläche am Ende */
.borgmann-krueger-cv-slider__track::after {
  display: none !important;
  content: none !important;
}

.borgmann-cv-slider__slide {
  position: relative;
  flex: 0 0 33.333%;
  min-height: 260px;
  scroll-snap-align: start;
  padding: 0 18px;
  box-sizing: border-box;
  background: transparent !important;
}

/* Horizontale Linie Desktop */
.borgmann-cv-slider__slide::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lightblue, #28A0DC);
  z-index: 1;
}

/* Punkt Desktop */
.borgmann-cv-slider__slide::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 38px;

  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lightblue, #28A0DC);
  border: 3px solid var(--white, #F2F8FB);
  z-index: 3;
  box-sizing: border-box;
}

.borgmann-cv-slider__content {
  position: relative;
  z-index: 2;

  min-height: 230px;
  padding: 76px 20px 20px;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  text-align: left;
  box-sizing: border-box;
}

.borgmann-cv-slider__year {
  font-family: var(--font-heading, sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lightblue, #28A0DC);
  margin: 0 0 18px;
  text-align: left;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.borgmann-cv-slider__text {
  font-family: var(--font-body, sans-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white, #ffffff);
  margin: 0;
  max-width: 380px;
  text-align: left;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Navigation links/rechts exakt auf Höhe des Zeitstrahls */
.borgmann-cv-slider__nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  pointer-events: none;
}

.borgmann-cv-slider__button {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;

  border: 1px solid #28A0DC !important;
  background-color: rgba(10, 21, 32, 0.35) !important;
  background-image: none !important;

  color: #28A0DC !important;
  cursor: pointer !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 22px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease !important;

  pointer-events: auto !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.borgmann-cv-slider__button span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  top: -1px;
}

.borgmann-cv-slider__button:hover,
.borgmann-cv-slider__button:focus,
.borgmann-cv-slider__button:focus-visible,
.borgmann-cv-slider__button:active,
.borgmann-cv-slider__button.is-active {
  background-color: #01A4A3 !important;
  background-image: none !important;
  border-color: #01A4A3 !important;
  color: #0A1520 !important;
  box-shadow: none !important;
  outline: none !important;
}

.borgmann-cv-slider__button:focus-visible {
  outline: 2px solid #01A4A3 !important;
  outline-offset: 4px !important;
}

/* Deaktivierter Button am Anfang/Ende */
.borgmann-cv-slider__button.is-disabled,
.borgmann--cv-slider__button:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  background-color: rgba(10, 21, 32, 0.25) !important;
  background-image: none !important;
  border-color: rgba(40, 160, 220, 0.45) !important;
  color: rgba(40, 160, 220, 0.55) !important;
  pointer-events: none !important;
}

/* Tablet: zwei Zeitpunkte sichtbar */
@media (max-width: 1024px) {
  .borgmann-cv-slider__slide {
    flex: 0 0 50%;
  }
}

/* Mobile: horizontales 1-Kachel-Karussell mit breiterer Textfläche */
@media (max-width: 767px) {
  .borgmann-cv-slider {
    padding: 24px 36px 48px;
    overflow: hidden;
  }

  .borgmann-cv-slider__track {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0 26px;
  }

  .borgmann-cv-slider__slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: auto !important;

    padding: 0 4px !important;
    box-sizing: border-box !important;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Mobile: horizontale Linie bleibt erhalten */
  .borgmann-cv-slider__slide::before {
    display: block !important;
    content: "";
    position: absolute;
    top: 38px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--lightblue, #28A0DC);
    z-index: 1;
  }

  /* Mobile: Punkt auf horizontalem Zeitstrahl */
  .borgmann-cv-slider__slide::after {
    content: "";
    position: absolute;
    top: 29px;
    left: 24px;

    width: 20px;
    height: 20px;
    border-radius: 50%;

    background: var(--lightblue, #28A0DC);
    border: 3px solid var(--white, #F2F8FB);

    z-index: 4;
    box-sizing: border-box;
  }

  .borgmann-cv-slider__content {
    position: relative;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: auto !important;

    padding: 76px 8px 32px !important;
    box-sizing: border-box !important;

    overflow: visible !important;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .borgmann-cv-slider__content::before {
    display: none !important;
    content: none !important;
  }

  .borgmann-cv-slider__year {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .borgmann-cv-slider__text {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 15px !important;
    line-height: 1.7 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;

    overflow: visible !important;
    margin: 0 !important;
  }

  .borgmann-cv-slider__nav {
    top: 70px;
    left: 6px;
    right: 6px;
  }

  .borgmann-cv-slider__button {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 17px !important;
  }

  .borgmann-cv-slider__button span {
    top: -1px;
  }
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 26. Zeitstrahl CV Dr. Krüger */
/* ------------------------------------------------------------------------------------------------------------- */

.krueger-cv-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 58px 40px;
  box-sizing: border-box;
}

.krueger-cv-slider__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0px 26px;
  scrollbar-width: none;
}

.krueger-cv-slider__track::-webkit-scrollbar {
  display: none;
}

/* Keine Zusatzfläche am Ende */
.krueger-cv-slider__track::after {
  display: none !important;
  content: none !important;
}

.krueger-cv-slider__slide {
  position: relative;
  flex: 0 0 33.333%;
  min-height: 260px;
  scroll-snap-align: start;
  padding: 0 18px;
  box-sizing: border-box;
  background: transparent !important;
}

/* Horizontale Linie Desktop */
.krueger-cv-slider__slide::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lightblue, #28A0DC);
  z-index: 1;
}

/* Punkt Desktop */
.krueger-cv-slider__slide::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 38px;

  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lightblue, #28A0DC);
  border: 3px solid var(--white, #F2F8FB);
  z-index: 3;
  box-sizing: border-box;
}

.krueger-cv-slider__content {
  position: relative;
  z-index: 2;

  min-height: 230px;
  padding: 76px 20px 20px;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  text-align: left;
  box-sizing: border-box;
}

.krueger-cv-slider__year {
  font-family: var(--font-heading, sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lightblue, #28A0DC);
  margin: 0 0 18px;
  text-align: left;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.krueger-cv-slider__text {
  font-family: var(--font-body, sans-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white, #ffffff);
  margin: 0;
  max-width: 380px;
  text-align: left;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Navigation links/rechts exakt auf Höhe des Zeitstrahls */
.krueger-cv-slider__nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  pointer-events: none;
}

.krueger-cv-slider__button {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;

  border: 1px solid #28A0DC !important;
  background-color: rgba(10, 21, 32, 0.35) !important;
  background-image: none !important;

  color: #28A0DC !important;
  cursor: pointer !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 22px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease !important;

  pointer-events: auto !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.krueger-cv-slider__button span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  top: -1px;
}

.krueger-cv-slider__button:hover,
.krueger-cv-slider__button:focus,
.krueger-cv-slider__button:focus-visible,
.krueger-cv-slider__button:active,
.krueger-cv-slider__button.is-active {
  background-color: #01A4A3 !important;
  background-image: none !important;
  border-color: #01A4A3 !important;
  color: #0A1520 !important;
  box-shadow: none !important;
  outline: none !important;
}

.krueger-cv-slider__button:focus-visible {
  outline: 2px solid #01A4A3 !important;
  outline-offset: 4px !important;
}

/* Deaktivierter Button am Anfang/Ende */
.krueger-cv-slider__button.is-disabled,
.krueger-cv-slider__button:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  background-color: rgba(10, 21, 32, 0.25) !important;
  background-image: none !important;
  border-color: rgba(40, 160, 220, 0.45) !important;
  color: rgba(40, 160, 220, 0.55) !important;
  pointer-events: none !important;
}

/* Tablet: zwei Zeitpunkte sichtbar */
@media (max-width: 1024px) {
  .krueger-cv-slider__slide {
    flex: 0 0 50%;
  }
}

/* Mobile: horizontales 1-Kachel-Karussell mit breiterer Textfläche */
@media (max-width: 767px) {
  .krueger-cv-slider {
    padding: 24px 36px 48px;
    overflow: hidden;
  }

  .krueger-cv-slider__track {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0 26px;
  }

  .krueger-cv-slider__slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: auto !important;

    padding: 0 4px !important;
    box-sizing: border-box !important;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Mobile: horizontale Linie bleibt erhalten */
  .krueger-cv-slider__slide::before {
    display: block !important;
    content: "";
    position: absolute;
    top: 38px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--lightblue, #28A0DC);
    z-index: 1;
  }

  /* Mobile: Punkt auf horizontalem Zeitstrahl */
  .krueger-cv-slider__slide::after {
    content: "";
    position: absolute;
    top: 29px;
    left: 24px;

    width: 20px;
    height: 20px;
    border-radius: 50%;

    background: var(--lightblue, #28A0DC);
    border: 3px solid var(--white, #F2F8FB);

    z-index: 4;
    box-sizing: border-box;
  }

  .krueger-cv-slider__content {
    position: relative;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: auto !important;

    padding: 76px 8px 32px !important;
    box-sizing: border-box !important;

    overflow: visible !important;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .krueger-cv-slider__content::before {
    display: none !important;
    content: none !important;
  }

  .krueger-cv-slider__year {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .krueger-cv-slider__text {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 15px !important;
    line-height: 1.7 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;

    overflow: visible !important;
    margin: 0 !important;
  }

  .krueger-cv-slider__nav {
    top: 70px;
    left: 6px;
    right: 6px;
  }

  .krueger-cv-slider__button {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 17px !important;
  }

  .krueger-cv-slider__button span {
    top: -1px;
  }
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 27. Carousel Indikatoren Frühbehandlung */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
    padding: 0 64px;
    box-sizing: border-box;
  }

  .kfo-carousel-window {
    width: 100%;
    overflow: hidden;
  }

  .kfo-carousel-track {
    display: flex;
    gap: 36px;
    align-items: stretch;
    transition: transform 0.45s ease;
    will-change: transform;
  }

  .kfo-carousel-card {
    flex: 0 0 calc((100% - 36px) / 2);
    height: 550px !important;
    min-height: 550px !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
  }

  .kfo-carousel-card .kfo-treatment-card__img {
    width: 100%;
    height: 180px !important;
    flex: 0 0 180px !important;
    object-fit: cover;
    display: block;
  }

  .kfo-carousel-card .kfo-treatment-card__body {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 28px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .kfo-carousel-card .kfo-card-title {
    flex: 0 0 auto;
  }

  .kfo-carousel-card .kfo-card-text {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .kfo-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: 46px !important;
    height: 46px !important;
    border: 1px solid #01A4A3 !important;
    border-radius: 50% !important;

    background-color: rgba(8, 20, 31, 0.85) !important;
    background-image: none !important;
    color: #ffffff !important;

    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .kfo-carousel-arrow:hover,
  .kfo-carousel-arrow:focus,
  .kfo-carousel-arrow:active,
  .kfo-carousel-arrow.is-active {
    background-color: #01A4A3 !important;
    background-image: none !important;
    border-color: #01A4A3 !important;
    color: #0A1520 !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .kfo-carousel-arrow--prev {
    left: 0;
  }

  .kfo-carousel-arrow--next {
    right: 0;
  }

  @media (max-width: 767px) {
    .kfo-carousel-wrapper {
      padding: 0 48px;
    }

    .kfo-carousel-track {
      gap: 24px;
    }

    .kfo-carousel-card {
      flex: 0 0 100%;
      height: 580px !important;
      min-height: 580px !important;
    }

    .kfo-carousel-card .kfo-treatment-card__img {
      height: 190px !important;
      flex-basis: 190px !important;
    }

    .kfo-carousel-arrow {
      width: 42px !important;
      height: 42px !important;
      font-size: 28px !important;
    }

    .kfo-carousel-arrow--prev {
      left: 0;
    }

    .kfo-carousel-arrow--next {
      right: 0;
    }
  }

/* ------------------------------------------------------------------------------------------------------------- */
/* 28. Titel Behandlung */
/* ------------------------------------------------------------------------------------------------------------- */

.behandlung-hero__content {
  max-width: 680px;
}

.section__title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.1rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;

  color: #28A0DC;
  opacity: 0.95;
  letter-spacing: 0.18em;

  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  margin: 0 0 28px 0;
}

.section__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: #01A4A3;
  opacity: 0.85;
  margin-top: 14px;
}

.behandlung-hero__content .behandlung-hero__text {
  font-family: var(--font-body, sans-serif) !important;
  font-size: clamp(.82rem, 1.05vw, .95rem) !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;

  color: var(--text-muted) !important;

  margin: 0 0 20px 0 !important;
  max-width: 560px !important;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45) !important;
}

.behandlung-hero__content,
.behandlung-hero__text,
.section__title {
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 29. Boxen-Behandlungsarten (Kinder & Jugendliche) */
/* ------------------------------------------------------------------------------------------------------------- */

.behandlung-button-grid {
  width: 100% !important;
  max-width: 100% !important;

  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;

  box-sizing: border-box !important;
}

.behandlung-button-grid__item {
  width: 100% !important;
  max-width: 260px !important;
  min-width: 260px !important;
  min-height: 86px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 20px 24px !important;
  box-sizing: border-box !important;

  font-family: var(--font-heading, sans-serif) !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;

  color: var(--white, #F2F8FB) !important;
  background-color: transparent !important;
  background-image: none !important;

  border: 2px solid rgba(242, 248, 251, .5) !important;
  border-radius: var(--radius, 6px) !important;

  box-shadow: none !important;

  transition:
    transform .25s ease,
    border-color .25s ease,
    color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease !important;
}

.behandlung-button-grid__item:hover {
  transform: translateY(-3px) !important;

  border-color: #01A4A3 !important;
  color: #01A4A3 !important;
  background-color: rgba(1, 164, 163, .08) !important;

  box-shadow: 0 12px 30px rgba(1, 164, 163, .20) !important;
}

@media (max-width: 1024px) {
  .behandlung-button-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .behandlung-button-grid {
    grid-template-columns: 1fr !important;
  }

  .behandlung-button-grid__item {
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

/* ------------------------------------------------------------------------------------------------------------- */
/* 30. Info-Boxen */
/* ------------------------------------------------------------------------------------------------------------- */

.kfo-info-box {
   background-color: var(--navy-blue) !important;
} 
