
/* removed-external @import */
:root{--brand:#16A0D8;--border:#e6e9ee;--accent:#ff8a65;--hdr-scale:1.5}
*{box-sizing:border-box}
html,body{height:100%;overflow-x:hidden;
}
body{margin:0;font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Inter";color:#0b0d11;background:#fff;-webkit-font-smoothing:antialiased}

.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.95);border-bottom:1px solid var(--border);backdrop-filter:saturate(140%) blur(6px);transition:padding .25s ease}
.header__inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px}
.brand img{height:calc(28px * var(--hdr-scale));transition:height .25s ease}
.header.shrink{--hdr-scale:1.0;} /* shrink by ~1/3 from 1.5 -> 1.0 */
.header.shrink .header__inner{padding:8px 20px}
.nav{display:flex;gap:18px;align-items:center}
.nav a{text-decoration:none;color:#233;  font-size:20px; font-weight:600;white-space:nowrap}
.cta{display:none}
.menu-toggle{display:none;border:0;background:transparent;padding:6px}
.menu-toggle span{display:block;width:24px;height:2px;background:#333;margin:5px 0;border-radius:2px}
@media (max-width:860px){
  .nav{display:none;position:fixed;top:64px;right:12px;left:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px}
  .nav.open{display:flex;flex-direction:column;gap:12px}
  .menu-toggle{display:inline-block}
}
main{padding-top:4.5vh; height: auto;
   overflow: visible;} 
.hero{position:relative;color:#fff; min-height: 100vh; height: auto; display:grid;align-items:center;background:url('../start.webp') center/cover no-repeat}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.18) 45%,transparent 72%)}
.hero__inner{position:relative;z-index:1; margin:0 auto;padding:40px 24px 90px}
.h1{margin:0 0 8px;font-family:'MuseoModerno',system-ui,sans-serif;font-weight:900;font-size:clamp(48px,8vw,120px);line-height:.9}
.h1 
.sub{font-size:clamp(18px,2.4vw,24px);opacity:.95;margin:0 0 18px}
.figure-overlay{position:absolute;right:2.5vw;bottom:-6vw;width:min(40vw,360px)}
.figure-overlay img{width:100%;display:block}
.section{padding:72px 0;background:#f6f8fb}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.h2{font-family:'MuseoModerno',Inter,sans-serif;font-weight:900;font-size:44px;margin:0 0 22px}
/* Desktop 3 columns: two text columns left, portrait right */
.columns{display:grid;grid-template-columns:1fr 1fr 0.9fr;gap:36px;align-items:start}
.columns2{display:grid;grid-template-columns:1.3fr 0.7fr;gap:36px;align-items:start}
.columns3{display:grid;grid-template-columns:1fr 1.2fr 0.8fr;gap:36px;align-items:start}
.col2  {
    max-width: 40vw;
    height: auto;
    border-radius:18px;
}
.col3  {
    max-width: 23vw;
    height: auto;
    border-radius:18px;
}
@media (max-width:1020px){
    .columns{grid-template-columns:1fr;gap:24px}
    .columns2{grid-template-columns:1fr;gap:24px}
    .columns3{grid-template-columns:1fr;gap:24px}
    
	 img.col2 {
    display: none !important;
  }
    
    .col2  {
    max-width: 95vw;
    height: auto;
    max-width:100%;
    
} 
.col3  {
    max-width: 95vw;
    height: auto;
}
    
}
.portrait-card{border:1px solid var(--border);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(30,50,90,.06)}
.portrait-card img{display:block;width:100%;height:auto}
.portrait-meta{padding:12px 16px 16px}
.portrait-meta .name{font-weight:800;font-size:18px}
.portrait-meta .role{color:#667085;font-size:14px}
.textcol{font-size:18px;line-height:1.7;color:#20242a}
.textcol p{margin:.65em 0}
.textcol strong{font-weight:800}
.icon-row{display:grid;grid-template-columns:repeat(4,1fr);gap:48px;margin-top:28px}
.icon-card{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.icon-card img{width:48px;height:48px}
.icon-card .btxt{font-size:18px;line-height:1.35;color:#4a4f55;max-width:320px}
@media (max-width:1020px){.icon-row{grid-template-columns:1fr;gap:20px}}

/* G5: hide Termin CTA per spec */
.nav .cta{display:none !important}

@media (max-width:860px){.menu-toggle{display:inline-block}}

/* enforce MuseoModerno for headings */
h1,h2,h3,h4,h5,h6{font-family:"MuseoModerno", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans" !important; letter-spacing:.01em}

.hero-actions{display:flex;gap:16px;align-items:center;margin-top:18px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:12px;font-weight:700;text-decoration:none;line-height:1;box-shadow:0 2px 0 rgba(0,0,0,.08);transition:transform .05s ease, box-shadow .2s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:#16A0D8;color:#fff;border:1px solid #0e88b8}
.btn-primary:hover{box-shadow:0 4px 14px rgba(22,160,216,.3)}
.btn-ghost{background:rgba(100, 100, 100, .1);color:#fff;border:1px solid rgba(255,255,255,.45);backdrop-filter:blur(6px)}
.btn-ghost:hover{box-shadow:0 4px 14px rgba(0,0,0,.2)}
@media (max-width:520px){
  .hero-actions{gap:12px}
  .btn{width:100%}
}

.btn.is-disabled{opacity:.95;cursor:default;pointer-events:none;filter:grayscale(10%)}

.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:start}
.two-col .col-right .list-block + .list-block{margin-top:28px}
.ul{list-style:none;margin:0;padding:0}
.ul li{margin:6px 0}
@media (max-width:1020px){
  .two-col{grid-template-columns:1fr;gap:20px}
}

#intro{background:#f6f8fb}


/* enforce pure white backgrounds */
body, main{background:#fff !important}
#intro, section#intro{background:#fff !important}
#intro::before, #intro::after{background:transparent !important}



/* G5: Font enforcement (site-wide) */
h1, h2, h3, h4, h5, h6 {
  font-family: "MuseoModerno", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans" !important;
}
/* Everything else defaults to Inter via body inheritance */
html, body, :root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans" !important;
}
/* Ensure common controls inherit Inter */
button, input, select, textarea, .btn, .nav a, .sub, p, li, small, label, td, th, a {
  font-family: inherit !important;
}



/* ==== Local Fonts: MuseoModerno & Inter (no external deps) ==== */
@font-face{
  font-family:"MuseoModerno";
  src: url("../fonts/MuseoModerno-900.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"MuseoModerno";
  src: url("../fonts/MuseoModerno-900.ttf") format('truetype');
  font-weight:900;
  font-style:normal;
  font-display:swap;
}
/* Inter removed by G5 fix: using system sans */

/* Enforce families (headings -> MuseoModerno, body -> Inter) */
html, body { font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Inter"; }
h1,h2,h3,h4,h5,h6 { font-family:"MuseoModerno","Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans" !important; }



/* G5 fix 2025-11-01: Disable italics for Inter (and generally) */
html, body { font-style: normal; }
em, i { font-style: normal !important; }
strong, b { font-style: normal; font-weight: 700; }
/* Avoid synthetic oblique if a browser tries to simulate */
* { font-synthesis-style: none; }



/* G5 fix 2025-11-01 b: hard-disable italics for Inter/text */
body, p, li, a, span, h1, h2, h3, h4, h5, h6, blockquote, figcaption, small, label, input, textarea, button {
  font-style: normal !important;
  font-variation-settings: "slnt" 0 !important;
  font-synthesis: none !important;
}



/* G5 hard override 2025-11-01 c: force non-italic system sans for all body text */
:root { --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }

html, body, p, li, a, span, small, label, input, textarea, button, .btxt, .txt, .lead, .sub, .paragraph {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-variation-settings: normal !important;
  font-synthesis: none !important;
}
/* Keep headings on MuseoModerno */
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3 { font-family: "MuseoModerno", var(--font-sans) !important; font-style: normal !important; }



/* == Therapie-Angebote (G5 add 2025-11-01) == */
.therapy-tabs { display:flex; gap:24px; align-items:center; margin: 8px 0 12px; }
.therapy-tabs .tab { background: none; border: 0; padding: 8px 16px; font-weight: 600; cursor: pointer; color:#0b0d11; opacity: .7; font-size: 22px; }
.therapy-tabs .tab.is-active { opacity: 1; position: relative; }
.therapy-tabs .tab.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-10px; height:2px; background:#0b0d11; border-radius:1px; }
.tab-underline { height:1px; background:#cfd6dd; margin-bottom: 16px; }

.therapy-scroller { position:relative; display:flex; gap:24px; overflow:auto; scroll-snap-type: x mandatory; padding-bottom: 0; }
.therapy-scroller.is-hidden { display:none; }
.therapy-card { flex:0 0 360px; background:#fff; border-radius:18px; box-shadow: 0 8px 18px rgba(17,24,39,.06); scroll-snap-align: start; }

.therapy-img { display:block; width:100%; height: 260px; object-fit: cover; border-radius:18px; }
.therapy-img1 { display:block; width:100%; height: 350px; object-fit: cover; border-radius:18px; }

.therapy-body { padding:14px 16px 18px; }
.therapy-title { margin:0 0 6px; font-weight:700; font-size: 22px; }
.therapy-text { margin:0; color:#4d5561; line-height:1.5; }
.therapy-card1 { flex:0 0 460px; background:#fff; border-radius:18px; box-shadow: 0 8px 18px rgba(17,24,39,.06); scroll-snap-align: start; }


.thera-nav { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:0; background:#fff; box-shadow:0 6px 20px rgba(0,0,0,.12); cursor:pointer; }
.thera-nav.prev { left: -8px; }
.thera-nav.next { right: -8px; }
@media (max-width: 980px){
  .therapy-card { flex-basis: 82vw; }
  .therapy-img { height: 46vw; }
  .thera-nav { display:none; }
}


/* G5 add 2025-11-01: #therapies with white background */
#therapies{background:#fff;}


/* G5 enforce MuseoModerno for .line */




/* G5 exact rule for hero lines */
.line{
  font-family: "MuseoModerno", var(--font-sans) !important;
  font-style: normal !important;
}



/* === Therapie: Pfeile unten rechts, kein Scrollbar (G5 2025-11-01) === */
.therapy-scroller{
  overflow: hidden; /* kein sichtbarer Scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
  padding-bottom: 0; /* Platz für Pfeile */
}
.therapy-scroller::-webkit-scrollbar{ display:none; } /* WebKit */

.thera-controls{
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.thera-btn{
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.thera-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.thera-btn svg{ width: 22px; height: 22px; }

@media (max-width: 980px){
  .thera-controls{ right: 6px; bottom: 6px; gap: 8px; }
  .thera-btn{ width: 40px; height: 40px; }
  .thera-btn svg{ width: 20px; height: 20px; }
}



/* === Therapie: große Center-Buttons (nicht mitscrollend) === */
#therapies .container{ position:relative; }
.thera-overlay{
  position:absolute;
  inset:0;
  pointer-events:none; /* Overlay nimmt keine Events außer Buttons */
}
.thera-btn{
  width:88px; height:88px; /* doppelt so groß */
  border-radius:999px;
  border:0;
  background:#ffffff;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  pointer-events:auto; /* Buttons wieder aktiv */
}
.thera-btn svg{ width:40px; height:40px; }
.thera-prev{ position:absolute; left:12px; top:50%; transform:translateY(-50%); }
.thera-next{ position:absolute; right:12px; top:50%; transform:translateY(-50%); }
.thera-btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0,0,0,.18); }

/* Kein sichtbarer Scrollbar beibehalten */
.therapy-scroller{ overflow:hidden; scrollbar-width:none; -ms-overflow-style:none; }

@media (max-width: 980px){
  .thera-btn{ width:72px; height:72px; }
  .thera-btn svg{ width:34px; height:34px; }
  .thera-prev{ left:8px; }
  .thera-next{ right:8px; }
}



/* === Therapie Overlay & Hover-Zoom (G5 2025-11-01) === */
#therapies .container{ position:relative; }

.thera-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.thera-btn{
  width:88px; height:88px;
  border-radius:999px; border:0;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; pointer-events:auto;
  transition: transform .12s ease, box-shadow .12s ease;
}
.thera-btn:hover{ transform: translateY(-1px); box-shadow:0 14px 36px rgba(0,0,0,.18); }

/* Scroller without visible bar remains */
.therapy-scroller{ overflow:hidden; scrollbar-width:none; -ms-overflow-style:none; }

/* Hover Zoom on therapy images */
.therapy-card{ overflow:hidden; } /* keep card size */


/* Transform origins (JS adds one of these) */
.to-tl .therapy-img{ transform-origin: 0% 0%; }
.to-tr .therapy-img{ transform-origin: 100% 0%; }
.to-bl .therapy-img{ transform-origin: 0% 100%; }
.to-br .therapy-img{ transform-origin: 100% 100%; }
.to-cc .therapy-img{ transform-origin: 50% 50%; }
}



/* === Therapie: Pfeile unterhalb, mittig, ohne Buttons (nur Icons) === */
.therapy-scroller{ overflow:hidden; scrollbar-width:none; -ms-overflow-style:none; }

.thera-controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 36px;
  margin-top: 18px;
}

.thera-btn{
  background: transparent;
  border: 0;
  padding: 0;
  width: 64px; height: 64px; /* Icon hit-area */
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
  color:#0b0d11;
  transition: transform .12s ease, opacity .12s ease;
}
.thera-btn:hover{ transform: translateY(-1px); opacity:.9; }
.thera-btn svg{ width: 56px; height: 56px; } /* sichtbare Pfeile */
@media (max-width: 980px){
  .thera-controls{ gap: 28px; }
  .thera-btn{ width:56px; height:56px; }
  .thera-btn svg{ width:48px; height:48px; }
}



/* === Therapie: Overlay-Chevrons mittig, grau, ohne Buttonlook; Hover-Zoom 1.2 (5s) === */
#therapies .container{ position:relative; }

.therapy-scroller{ overflow:hidden; scrollbar-width:none; -ms-overflow-style:none; }

/* Overlay controls (side-by-side, centered vertically to image center) */
.thera-controls.overlay{
  position:absolute; left:50%;
  transform: translateX(-50%);
  display:flex; gap:40px; align-items:center; justify-content:center;
  pointer-events:none; /* container ignores, buttons re-enable */
}
.thera-controls.overlay .thera-btn{ pointer-events:auto; }

/* Pure icon look */
.thera-btn{
      background: transparent !important;
    border: 0;
    padding: 0;
    box-shadow: none !important;
    color: #4B5563;
    transform: translateY(0);
    transition: opacity .12s ease, color .12s ease;
}
.thera-btn:hover{ transform: translateY(-1px); opacity:.95; color:#374151; } /* darker on hover */
.thera-btn svg{ width:84px; height:84px; } /* 1.5x approx */
@media (max-width: 980px){
  .thera-controls.overlay{ gap:28px; }
  .thera-btn svg{ width:72px; height:72px; }
}

/* Hover Zoom on therapy images (both tabs) */
#therapies .therapy-card{ overflow:hidden; }


/* Random transform-origin classes (kept) */
#therapies .to-tl .therapy-img{ transform-origin: 0% 0%; }
#therapies .to-tr .therapy-img{ transform-origin: 100% 0%; }
#therapies .to-bl .therapy-img{ transform-origin: 0% 100%; }
#therapies .to-br .therapy-img{ transform-origin: 100% 100%; }
#therapies .to-cc .therapy-img{ transform-origin: 50% 50%; }



/* BELOW controls 20px */
#therapies .thera-controls.below{
  margin-top: 0;
  position: relative !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;  /* your request */
  height: auto;      /* compact bar */
}
#therapies .thera-controls.below .thera-btn{
  background: transparent !important;
  border: 0;
  padding: 0;
  box-shadow: none !important;
  color: #4B5563;
  transform: translateY(0);
  transition: opacity .12s ease, color .12s ease;
}
#therapies .thera-controls.below .thera-btn:hover{
  background: transparent !important;
  box-shadow: none !important;
  color: #374151;
  opacity: .95;
}
#therapies .thera-controls.below .thera-btn svg{ width: 96px; height: 96px; }
@media (max-width: 980px){
  #therapies .thera-controls.below{ margin-top: 0; height: auto; }
  #therapies .thera-controls.below .thera-btn svg{ width: 72px; height: 72px; }
}



/* --- CLIP ZOOM static wrap --- */
#therapies .therapy-card .therapy-img-wrap{
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  
  
}
#therapies .therapy-card .therapy-img-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;

    
}





/* === G5 Selbstzahler arrows visibility (desktop hidden) === */
@media (min-width: 769px){
  #therapies .thera-controls[data-for="selbst"]{ display:none !important; }
}
@media (max-width: 768px){
  #therapies .thera-controls[data-for="selbst"]{ display:flex !important; }
}

/* Smooth touch scrolling */
#therapies .therapy-scroller{
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
}


/* === G5: Pinch-zoom styles for therapy images === */
#therapies .therapy-img-wrap{
  overflow: hidden;
  touch-action: none; /* allow custom pinch gestures on image */
}


/* === G5: Controls visibility per active tab === */
#therapies .thera-controls.is-hidden { display: none !important; }
/* Keep Selbstzahler controls mobile-only by default; JS will still hide when inactive */
@media (min-width: 769px){
  #therapies .thera-controls[data-for="selbst"]{ display:none; }
}
@media (max-width: 768px){
  #therapies .thera-controls[data-for="selbst"]{ display:flex; }
}


/* === G5: Disable all image zoom in mobile view === */
@media (max-width: 768px){
  #therapies .therapy-card .therapy-img-wrap img{
    transform: none !important;
  
  transition: transform .08s linear;}
  #therapies .therapy-card.touch-zoom .therapy-img-wrap img{
    transform: none !important;
  
  transition: transform .08s linear;}
}









/* === G5: Ensure swipe works on both tabs (pan-x) === */
#therapies .therapy-scroller{
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
#therapies .therapy-card,
#therapies .therapy-img-wrap,
#therapies .therapy-img-wrap img{
  touch-action: auto; /* don't swallow horizontal pan on scroller */
}

/* --- Reviews Section (G5, Freeze 1) --- */
.reviews-section{background:#0b0f11;color:#fff;padding:80px 0}
.reviews-section .wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.reviews-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.reviews-title{font-size:44px;line-height:1.1;font-weight:900;font-family:"MuseoModerno","Inter",system-ui,sans-serif}
.reviews-stars{display:flex;gap:12px}
.reviews-stars img{width:28px;height:28px}

.reviews-track{display:flex;gap:28px;scroll-behavior:smooth;overflow:hidden}
.review-card{flex:0 0 calc(33.333% - 18.666px);background:#fff;color:#222;border-radius:18px;padding:28px;box-shadow:0 4px 20px rgba(0,0,0,.06)}
.review-name{font-weight:800;font-size:22px;margin-bottom:8px;font-family:"Inter",system-ui,sans-serif}
.review-text{color:#47515a;font-size:17px;line-height:1.55;font-family:"Inter",system-ui,sans-serif}
.review-stars{display:flex;gap:8px;margin-top:14px}

.reviews-nav{display:flex;gap:14px;justify-content:flex-end;margin-top:24px}
.reviews-nav button{width:44px;height:44px;border-radius:999px;border:none;background:#e9eef1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.reviews-nav button:active{transform:translateY(1px)}
.reviews-nav svg{width:20px;height:20px}

@media (max-width:1020px){
  .review-card{flex:0 0 calc(50% - 14px)}
}
@media (max-width:768px){
  .review-card{flex:0 0 100%}
}


/* ==== Reviews (Patienten Bewertungen) ==== */
.section.reviews{ background:#f6f8fb; }
.reviews-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.reviews-head .h2{ margin:0; }
.reviews-stars{ display:flex; gap:12px; }
.reviews-stars img{ width:28px; height:28px; }

.reviews-wrap{ position:relative; }
.reviews-scroller{ position:relative; display:flex; gap:24px; overflow:hidden; scroll-behavior:smooth; scroll-snap-type:x mandatory; }
.review-card{ flex:0 0 360px; background:#fff; border-radius:18px; padding:24px; box-shadow:0 8px 18px rgba(17,24,39,.06); scroll-snap-align:start; }
.review-name{ font-weight:800; font-size:20px; margin-bottom:8px; }
.review-text{ color:#4d5561; line-height:1.55; margin:0 0 10px; }
.review-stars{ display:flex; gap:8px; }
.review-stars img{ width:20px; height:20px; }

/* Pfeile wie Krankenkasse wiederverwenden (.thera-controls/.thera-btn) */
.thera-controls--reviews{ position:relative; inset:0; pointer-events:none; }
.thera-controls--reviews .thera-btn,
.thera-controls--reviews .room-slider__arrow,
.thera-controls--reviews .room-slider__dot{
  pointer-events:auto;
}

@media (max-width:1020px){
  .review-card{ flex:0 0 300px; }
}
@media (max-width:768px){
  .review-card{ flex:0 0 85vw; }
}


/* Vertical relay guard */
#therapies .thera-controls{ pointer-events:none; }
#therapies .thera-controls .thera-btn{ pointer-events:auto; }
#therapies .thera-controls .room-slider__arrow,
#therapies .thera-controls .room-slider__dot{
  pointer-events:auto;
}
#therapies .therapy-scroller{ -webkit-overflow-scrolling:touch; touch-action: auto; }


/* === Mehr… Link & Popup === */
.mehr-link {
  
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  
}
.mehr-link .mehr-icon {
  font-size: 0.85em;
}

.mehr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.mehr-modal-overlay[hidden] {
  display: none;
}
.mehr-modal {
  background: #ffffff;
  border-radius: 22px;
  max-width: 80vw;
  width: calc(100% - 2rem);
  padding: 1.8rem 2rem 2.2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  position: relative;
  
  
}

.mehr-modal-title {
  font-family: "MuseoModerno", var(--font-sans);
  font-size: 1.4rem;
  margin: 0 0 1rem;
}
.mehr-modal-body {
  font-size: 1rem;
  line-height: 1.6;
  max-height:80vh;
  overflow-y:auto;
}

.mehr-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
body.mehr-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .mehr-modal {
    padding: 1.4rem 1.4rem 1.8rem;
    border-radius: 20px;
	  max-width: 96vw;
  }
}



@media (max-width: 600px){
  .reviews-head,
  .reviews-header{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .reviews-stars{
    align-self: flex-start;
  }
}


/* === Praxis-Info / Footer-Section (neue Section) === */
.praxis-info {
  background: #fff;
  padding: 4rem 1.5rem;
}

.praxis-info__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.praxis-info__col {
  flex: 1 1 220px;
  min-width: 0;
}

.praxis-info__col--contact {
  max-width: 320px;
}

.praxis-info__logo img {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.praxis-info__name {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.praxis-info__address,
.praxis-info__contact {
  margin-bottom: 1rem;
}

.praxis-info__heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.praxis-info__times {
  margin: 0;
}

.praxis-info__time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 1.5rem;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.praxis-info__time-row dt {
  font-weight: 500;
}

.praxis-info__time-row dd {
  margin: 0;
}

.praxis-info__subheading {
  margin-top: 1.5rem;
  font-weight: 600;
}

.praxis-info__therapy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.praxis-info__therapy-list li + li {
  margin-top: 0.35rem;
}

/* Icon-Buttons unten links */
.praxis-info__icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.praxis-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.praxis-info__icon span {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
}

/* Einfaches Icon-Styling rein mit CSS, damit keine Bilddateien nötig sind */
.praxis-info__icon--instagram span {
  border-radius: 6px;
  border: 2px solid #111;
}

.praxis-info__icon--instagram span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 2px solid #111;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.praxis-info__icon--mail span {
  border-radius: 4px;
  border: 2px solid #111;
}

.praxis-info__icon--mail span::before,
.praxis-info__icon--mail span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: #111;
}

.praxis-info__icon--mail span::before {
  top: 6px;
  transform: skewY(20deg);
}

.praxis-info__icon--mail span::after {
  top: 6px;
  transform: skewY(-20deg);
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
  .praxis-info__inner {
    flex-direction: column;
  }
  .praxis-info__col--contact {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .praxis-info {
    padding: 3rem 1rem;
  }
  .praxis-info__time-row {
    grid-template-columns: 1fr;
  }
}


ul.dash {list-style-type: '- '; margin-block-start: 0em;}
.mehr-link{font-weight:700;}


/* Cookie-Dialog mobil */
@media (max-width: 768px) {
  .cookie-banner {
    width: 80vw !important;
    left: 0 !important;
    transform: none !important;
  }
  #cookie-dialog {
    background: #ccc; padding: 5%; position: fixed;
    bottom: 20px; left: 5vw; box-shadow: 0 0 12px rgba(0,0,0,0.1);
    border-left: 6px solid #888; z-index: 999;
    width:90vw;
  }
}

/* Cookie-Dialog Desktop */
@media (min-width: 769px) {
  .cookie-banner {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  #cookie-dialog {
    background: #ccc; padding: 20px; position: fixed;
    bottom: 20px; left: 20px; box-shadow: 0 0 12px rgba(0,0,0,0.1);
    border-left: 6px solid #888; z-index: 999;
  }
}

/* Cookie-Banner sichtbar anders */
.cookie-banner {
  background: #fff07a !important;
  border: 2px solid #333 !important;
  color: #000 !important;
  font-weight: bold;
}

/* Mobil: 90% Breite */
@media (max-width: 768px) {
  .cookie-banner {
    width: 90% !important;
    left: 5% !important;
    transform: none !important;
  }
}

/* Desktop: 60% Breite, mittig */
@media (min-width: 769px) {
  .cookie-banner {
    width: 60% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* === Feinschliff: Cookie-Banner === */
.cookie-banner {
  background: rgba(20,20,20,.85);
  color:#fff;
  backdrop-filter: blur(8px);
  border:1px solid rgba(255,255,255,.15);
}

.cookie-banner a { color:#a7e0ff; }

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  padding: 20px;
  max-width: 90%;
  width: 400px;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: transform 3s ease-in-out;
}

.cookie-banner.fall-away {
  transform: perspective(800px) rotateX(90deg);
}

.cookie-banner button {
  margin-top: 10px;
  padding: 10px 16px;
  background: #16A0D8;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner ul {
  list-style: none;
  padding-left: 0;
}

.cookie-banner li {
  margin: 5px 0;
}


/* === Cookie dialog button: brand look to match slider === */
#cookie-dialog button{
  background: #16A0D8;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 -2px 4px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease;
}
#cookie-dialog button:hover{ filter: brightness(0.98); }
#cookie-dialog button:active{ transform: translateY(1px); }


#scrollTopBtn {
  z-index: 900 !important;
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 24px;
  padding: 12px 16px;
  border: none;
  background-color: #16A0D8;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #18A2DA;
}





#scrollDownBtn {
  z-index: 900 !important;
  position: fixed;
  bottom: 40px;
  right: 110px; /* left of scrollTopBtn */
  font-size: 24px;
  padding: 12px 16px;
  border: none;
  background-color: #16A0D8;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  transition: background-color 0.3s ease;
}

#scrollDownBtn:hover {
  background-color: #18A2DA;
}
/* Custom UI tweaks for mehr-modal */
.mehr-modal-title {
  padding-bottom: 12px;
  margin-bottom: 12px;

}

.mehr-modal-close {
  border: 2px solid rgba(0,0,0,0.35);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 26px;
  line-height: 30px;
  text-align: center;
  color: #444;
    z-index:1000;
}

/* Fix close button centering */
.mehr-modal-close {
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
}

/* Extend divider line full width */
.mehr-modal-title {
  width:100%;
  display:block;
}

/* Final tuning: mehr-modal header line & close button centering */
.mehr-modal-title{
  position: relative;
  margin: 0;
  padding-bottom: 0.9rem;
}

/* Full-width divider line under title (inside modal padding) */
.mehr-modal-title::after{
  content: "";
  position: absolute;
  left: -2.6rem;   /* matches horizontal padding of .mehr-modal */
  right: -2.6rem;
  bottom: -0.45rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* Center the "X" visually in its circle */
.mehr-modal-close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.35);
  font-size: 20px;
  padding: 0;
  line-height: 1;
}

/* === Final modal header tweaks === */
.mehr-modal-title{
  padding-bottom: 1.1rem;
}

/* stronger, clearly sichtbarer Schatten über die ganze Linie */
.mehr-modal-title::after{
  border-bottom-color: rgba(0,0,0,0.18);
  box-shadow: 0 3px 8px rgba(15,23,42,0.12);
}

/* mehr Abstand Text unterhalb der Linie */
.mehr-modal-body{
  margin-top: 1.6rem;
}

/* Feintuning Close-X (minimal nach oben) */
.mehr-modal-close{
  width: 36px;
  height: 36px;
  font-size: 18px;
  transform: translateY(-0.5px);
}

/* SVG-Button für Mehr-Modal */
.mehr-modal-close{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.35);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* Text-Inhalt unterdrücken, nur SVG */
}
.mehr-modal-close svg{
  width: 22px;
  height: 22px;
}

/* Separator-Linie unter dem Titel mit leichtem Schatten */
.mehr-modal-title{
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}
.mehr-modal-title::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: rgba(0,0,0,0.18);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Mobile: Dialog etwas niedriger, Inhalt scrollt innerhalb */
@media (max-width: 768px){
  .mehr-modal{
    max-height: 85vh;
    display: flex;
    flex-direction: column;
  }
  .mehr-modal-body{
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
  }
}


.praxis-info__icon--instagram { border: none !important; }
.praxis-info__icon--mail { border: none !important; }


.praxis-info__icon--instagram { border-radius: 0 !important; }
.praxis-info__icon--mail { border-radius: 0 !important; }


/* === UI Tuning: Pfeile größer & zentriert, Bullets höher === */
#therapies .thera-controls.below{
  align-items: center !important; /* alles sauber vertikal mittig */
}

/* Pfeil-ICONS größer & exakt zentriert im Button */
#therapies .room-slider__arrow{
  font-size: 30px;      /* Icon noch größer */
  font-weight: 800;    /* kräftiger */
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bullets etwas höher Richtung Mitte */
#therapies .room-slider__dots{
  transform: translateY(-4px);
}
#therapies .thera-controls.below{
  align-items: center !important; /* Bullets vertikal mittig */
}

#therapies .room-slider__arrow{
  font-size: 26px;      /* Icon größer */
  font-weight: 700;    /* kräftiger */
  line-height: 1;
}

#therapies .room-slider__dots{
  transform: translateY(6px); /* Bullets optisch etwas tiefer */
}


/* === FORCE UI TUNING: Pfeile & Bullets === */
#therapies .thera-controls.below{
  align-items: center !important;
}

/* Button selbst (Kreis) bleibt gleich, nur ICON größer */
#therapies .thera-controls.below .room-slider__arrow{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 34px !important;  /* jetzt deutlich größer */
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Bullets höher in die Mitte */
#therapies .thera-controls.below .room-slider__dots{
  transform: translateY(-10px) !important;
}


/* === FINAL UI TUNING: dezent größere Pfeile, Bullets mittig === */
#therapies .thera-controls.below{
  align-items: center !important;
}

/* Icons nur leicht größer, sauber zentriert */
#therapies .thera-controls.below .room-slider__arrow{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;   /* moderat größer */
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* Bullets ohne Versatz – natürliche Mitte */
#therapies .thera-controls.below .room-slider__dots{
  transform: none !important;
}


/* === ARROWS ONLY: größer & perfekt zentriert (Bullets unverändert) === */
#therapies .thera-controls.below .room-slider__arrow{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;   /* deutlich größer */
  font-weight: 800 !important; /* kräftiger */
  line-height: 1 !important;
}


/* === HARD ARROW FIX: deutlich größer & exakt geometrisch zentriert === */
#therapies .thera-controls.below .room-slider__arrow{
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 38px !important;   /* wirklich deutlich größer */
  font-weight: 900 !important;
  line-height: 1 !important;
}


/* Arrow icons as <img> inside buttons */
#therapies .thera-controls.below .room-slider__icon{
  width: 24px;
  height: 24px;
  display: block;
}

\n
/* G5: Bullet-Style für Therapieslider */
.room-slider__dot{
  cursor: pointer;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd5dd;
  border: 0;
  transition: all .15s ease;
}
.room-slider__dot.is-active{
  background: #4d5561;
  width: 16px;
}


/* Reviews: disable snap/smooth during JS step animation */
.reviews-scroller.reviews-no-snap{
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}


/* Generic: disable snap/smooth during JS-driven animations */
.reviews-no-snap{
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

/* Match reviews arrow buttons to therapy arrow size */
.reviews .slider-arrow,
.reviews .arrow,
.reviews-slider .slider-arrow,
.reviews-slider .arrow {
  width: 44px;
  height: 44px;
}


/* G5: Nav underline (hover animated orange; active black; active+hover turns orange) */
nav.nav > a:not(.cta){
  position: relative;
  text-decoration: none;
}
nav.nav > a:not(.cta)::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  background:#ff7a45; /* orange hover */
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform 180ms ease;
}
nav.nav > a:not(.cta):hover::after{
  transform:scaleX(1);
}
/* active baseline */
nav.nav > a:not(.cta).is-active{
  text-decoration:none;
}
nav.nav > a:not(.cta).is-active::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  background:#000; /* black active */
}
/* active + hover => orange line visible as well (orange overlays black) */
nav.nav > a:not(.cta).is-active:hover::after{
  transform:scaleX(1);
}


/* Kontakt: 2/3 Form + 1/3 Info (UI only) */
#kontakt .kontakt__inner{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items:start;
}
#kontakt .kontakt__cols{
  width:auto;
}
@media (max-width: 860px){
  #kontakt .kontakt__inner{
    grid-template-columns: 1fr;
  }
}


/* Kontakt mobile UI: labels as placeholders (more vertical space) */
.g3cf_labeltext{display:block;margin:0 0 6px 0;}
@media (max-width:860px){
  .g3cf_labeltext{display:none;}
}


/* Kontakt: Placeholder nur Mobile, Desktop ohne Text im Feld */
@media (min-width: 769px){
  .g3cf_form input::placeholder,
  .g3cf_form textarea::placeholder{
    color: transparent !important;
  }
  .g3cf_form input::-webkit-input-placeholder,
  .g3cf_form textarea::-webkit-input-placeholder{ color: transparent !important; }
  .g3cf_form input::-moz-placeholder,
  .g3cf_form textarea::-moz-placeholder{ color: transparent !important; opacity:1; }
  .g3cf_form input:-ms-input-placeholder,
  .g3cf_form textarea:-ms-input-placeholder{ color: transparent !important; }
}
@media (max-width: 768px){
  .g3cf_form input::placeholder,
  .g3cf_form textarea::placeholder{
    color: inherit;
    opacity: .65;
  }
  .g3cf_form input::-webkit-input-placeholder,
  .g3cf_form textarea::-webkit-input-placeholder{ color: inherit; opacity:.65; }
  .g3cf_form input::-moz-placeholder,
  .g3cf_form textarea::-moz-placeholder{ color: inherit; opacity:.65; }
}



/* Hover UI: buttons & icons slightly darker and larger */
.team-member__btn,
.praxis-info__icon {
  transition: transform .18s ease, filter .18s ease;
}

.team-member__btn:hover,
.praxis-info__icon:hover {
  transform: scale(1.1);
  filter: brightness(0.9);
}


/* Hover UI: primary buttons & scroll buttons */
.btn-primary,
#scrollTopBtn,
#scrollDownBtn {
  transition: transform .18s ease, filter .18s ease, background-color .25s ease;
}

.btn-primary:hover,
#scrollTopBtn:hover,
#scrollDownBtn:hover {
  transform: scale(1.1);
  filter: brightness(0.9);
}

/* Impressum Modal Formatting */
.impressum-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 10px 0;
}
.impressum-table .key {
  font-weight: 600;
}
.impressum-table hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 6px 0;
}

/* Impressum Modal Formatting (Mobile) */
@media (max-width: 600px) {
  .impressum-table .row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
  }
  .impressum-table .key {
    font-weight: 700;
  }
  .impressum-table .val {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .impressum-table a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .impressum-table hr {
    margin: 8px 0;
  }
}

/* Footer Impressum / Datenschutz */
.footer-impressum {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
}
.footer-impressum a,
.footer-impressum button {
  font-size: 14px;
}
.footer-copy {
  opacity: 0.8;
}







/* Mobile: scroll buttons separated horizontally (final tuning) */
@media (max-width: 768px) {
  #scrollTopBtn {
    transform: scale(0.55) !important;
    right: -7px; /* requested */
  }
  #scrollDownBtn {
    transform: scale(0.55) !important;
    right: 30px;
  }
}


/* Footer UI cosmetics */
.footer-copy {
  color: #000;
  font-weight: 400;
}

/* Make Datenschutz look like .mehr-link */
.footer-impressum .footer-datenschutz {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover effect for Mehr links and Datenschutz */
.mehr-link:hover,
.footer-impressum .footer-datenschutz:hover {
  color: #1da1f2;
  transform: scale(1.1);
}




/* Praxis Slider Popup Icons (only for misaligned glyph-buttons; reset stays original) */
#slider-popup-zoom-in,
#slider-popup-zoom-out,
#slider-popup-prev,
#slider-popup-next,
#slider-popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0;           /* remove text-node width so icon is truly centered */
  color: transparent;      /* safety */
}

#slider-popup-zoom-in::before,
#slider-popup-zoom-out::before,
#slider-popup-prev::before,
#slider-popup-next::before,
#slider-popup-close::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* plus */
#slider-popup-zoom-in::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 5h2v14h-2zM5 11h14v2H5z'/></svg>");
}
/* minus */
#slider-popup-zoom-out::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 11h14v2H5z'/></svg>");
}
/* prev */
#slider-popup-prev::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>");
}
/* next */
#slider-popup-next::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='m8.59 16.59 1.41 1.41 6-6-6-6-1.41 1.41L13.17 12z'/></svg>");
}
/* close */
#slider-popup-close::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M18.3 5.71 12 12l6.3 6.29-1.41 1.42L10.59 13.4 4.29 19.71 2.88 18.29 9.17 12 2.88 5.71 4.29 4.29l6.3 6.3 6.29-6.3z'/></svg>");
}

/* Ensure reset button is untouched / uses its existing glyph */
#slider-popup-zoom-reset {
  font-size: inherit;
  color: inherit;
}
#slider-popup-zoom-reset::before {
  content: none;
}



@media (max-width: 768px) {
  #scrollTopBtn,
  #scrollDownBtn {
    transform: scale(0.7) !important;
  }

  #scrollDownBtn {
    left: 0px;
    right: unset;
  }
}


/* Mobile: Index-Intro exakt wie Therapie-Intro + Schrift kleiner (nur mobile, nur diese beiden Seiten) */
@media (max-width: 768px){
  body.page-index .hero{
   
    background-position: center top !important;
    height: 90vh !important;
    min-height: 90vh !important;
    margin-top: 0 !important;
  }

  /* Schrift kleiner (Index + Therapie) */
  body.page-index .hero .h1,
  body.page-therapie .hero .h1{
    font-size: 2.05rem !important;
    line-height: 1.05 !important;
  }
  body.page-index .hero h2.line,
  body.page-therapie .hero h2.line{
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
  }
  body.page-index .hero .sub,
  body.page-therapie .hero .sub{
    font-size: 1.55rem !important;
    line-height: 1.12 !important;
  }

  /* Inline font-sizes auf h2/h3 neutralisieren */
  body.page-index .hero h2.line[style],
  body.page-therapie .hero h2.line[style],
  body.page-index .hero .sub[style],
  body.page-therapie .hero .sub[style]{
    font-size: inherit !important;
  }
}


/* Mobile: Index-Inhalt/Buttons wie Therapie (Index hatte breite H1 -> Offscreen) */
@media (max-width: 768px){
  body.page-index .hero{
    justify-items: start !important;
  }
  body.page-index .hero__inner{
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
  }
  body.page-index .hero .h1 .line{
    display:block !important;
    white-space: normal !important;
  }
  body.page-index .hero .h1{
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  body.page-index .hero-actions{
    width: 100% !important;
  }
  body.page-index .hero-actions .btn{
    max-width: 100% !important;
  }
}


/* Mobile: Index-Intro Layout exakt wie Therapie-Intro (Buttons/Text zentriert, keine seitliche Verschiebung) */
@media (max-width: 768px){
  body.page-index .hero__inner{
    padding: 40px 24px 90px !important; /* wie Standard-Hero */
    max-width: 560px !important;
    margin: 0 auto !important;
  }
  body.page-index .hero__inner,
  body.page-index .hero__inner *{
    box-sizing: border-box !important;
  }
  body.page-index .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
  body.page-index .hero-actions .btn,
  body.page-index .hero-actions .phone-pill{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }

  /* Text sauber umbrechen wie bei Therapie */
  body.page-index .hero .h1{max-width: 22ch !important;}
  body.page-index .hero h3.sub{
    max-width: 30ch !important;
    white-space: normal !important;
  }
}


/* Mobile: Index-Intro Inhalt exakt wie Therapie (Zeilenumbruch + kein horizontaler Überlauf) */
@media (max-width: 768px){
  body.page-index .hero{
    justify-items: stretch !important; /* wie Standard */
  }
  body.page-index .hero__inner{
    margin: 0 auto !important;
    width: 100% !important;
  }
  body.page-index .hero .h1 .line{
    display: block !important; /* wie echte Zeilen */
  }
  body.page-index .hero .h1{
    max-width: 22ch !important;
  }
  body.page-index .hero h3.sub{
    max-width: 30ch !important;
  }
}


/* Mobile: Praxisbild – umschließendes Hero-DIV exakt auf Bildhöhe schrumpfen */
@media (max-width: 768px){
  body.page-index .hero[style*="praxis2.webp"]{
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;

    padding: 0 !important;
    margin: 0 !important;

    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;

    /* Höhe ausschließlich über Seitenverhältnis bestimmen */
    aspect-ratio: 1600 / 765 !important;
  }
}




/* === Unified button hover (Kontakt Senden + Cookie OK) === */
.g3cf_form button,
#cookie-dialog button{
  background:#16A0D8;
  color:#fff;
  border:none;
  border-radius:12px;
  padding:10px 18px;
  cursor:pointer;
  transition: transform .18s ease, filter .18s ease, background-color .25s ease;
}

.g3cf_form button:hover,
#cookie-dialog button:hover{
  transform: scale(1.1);
  filter: brightness(0.9);
}

/* remove grey button borders */
button, a.button, .mehr-link {border:none !important; outline:none !important;}
button:focus, a:focus {outline:none !important; box-shadow:none !important;}


/* G5 fix: remove gray background in slider */
.room-slider__slide > div {background: transparent !important;}


/* G5 fix: therapy buttons stay clickable but no native grey background */
.therapy-body > button {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 10px 0 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  display: inline-block !important;
}

.therapy-body > button .mehr-pill {
  margin-top: 0 !important;
}
