/* ========================= BASIS ========================= */
/* overflow-x: clip verhindert den horizontalen Mini-Scroll, der durch die
   100vw-Full-Bleed-Blöcke (Slider, Bänder) + Scrollbar-Breite entsteht.
   clip statt hidden: erzeugt KEINEN Scroll-Container → sticky-Menü bleibt. */
html { overflow-x: clip; }
body { color: #1c2a3f; display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
#page-footer { margin-top: auto; }

/* ========================= KARTEN ========================= */
.card { border: none; border-radius: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.10), 0 6px 6px rgba(0,0,0,0.10); }
.card-body { text-align: center; }
.card-footer { border: none; background-color: transparent; padding: 0 2rem 1rem 2rem; }
.card-menu .card-link {
    display: block; width: 100%; text-align: center;
    background-color: #133d77; color: #eaebec;
    padding: 0.5rem; border-radius: 10px;
}
.card-menu .card-link:hover { background-color: #b83034; color: #eaebec; }
/* Button-artige Karten-Links: heller Text gegen Theme-Navy durchgesetzt */
.card a.card-link,
.card a.card-link:hover { color: #eaebec !important; }
.card a { color: #333; }
.card a:hover { color: #b83034; }
.card-footer a { color: white; }

/* ========================= FARBEN & TYPO ========================= */
.primary { color: #133d77; }
.secondary { color: #b83034; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 { font-weight: 500; }
a { transition: all 0.2s ease-in-out; }
a:hover { text-decoration: none; color: #b83034; }
.element-subheader { font-size: 20px; }

/* ========================= ALLGEMEIN ========================= */
.icongroup-item { flex-direction: column; }
.icongroup-item-icon { margin: 0 0 20px 0; }
.icongroup-item-text-header { font-weight: 400; font-size: 18px; text-align: center; }
.frame-type-icon_group .element-header { margin-bottom: 4rem; }
.icongroup-align-center { justify-content: initial; }
.frame-type-image img { border-radius: 4px; }
figure .caption { margin-top: -24px; color: #fff; background-color: #133d77; border-radius: 0 0 4px 4px; padding: 2px 0; }
.image .caption { text-align: center; }
.table > tbody > tr:first-child td { border-top: none; }

/* ========================= TELEFON-BUTTON ========================= */
.tel-href-wrapper { display: flex; align-items: center; justify-content: center; margin-top: 20px; width: 100%; }
.tel-href {
    background-color: #fff; color: #133d77; padding: 5px 25px 5px 70px;
    border-radius: 999px; font-size: 2rem; position: relative;
}
.tel-href:before {
    position: absolute; top: 13px; right: calc(100% - 55px); content: '';
    background-image: url(/fileadmin/bilder/physio-nw/phone-solid.svg);
    background-position: center; background-repeat: no-repeat; background-size: contain;
    width: 30px; height: 30px;
}
.tel-href:hover { box-shadow: 0 12px 16px 0 rgba(0,0,0,0.15), 0 17px 50px 0 rgba(0,0,0,0.15); }
.tel-href.dark { background-color: #eaeaea; }

/* ========================= BILD-COLLAGE ========================= */
.collage-wrapper, .bottom-row, .top-row { width: 100%; }
.collage-wrapper { margin-top: 5px; }
.collage-wrapper img { border-radius: 4px; }
.top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.img-full-width { width: 100%; height: auto; }
.img-half-width { width: calc(50% - 5px); height: auto; }

/* ========================= NAVIGATION ========================= */
.navbar-mainnavigation .dropdown-menu { border: 0; border-bottom: 1px solid #b83034; width: auto }

@media all and (max-width: 991px) {
    #page-header {
        --mainnavigation-link-height: 70px;
    }
    .navbar-mainnavigation .dropdown-menu {
        border: 0;
        border-bottom: 1px solid #b83034;
        box-shadow:none;  width: 100%;
        border-radius: 0;
        padding: 0 0 0 0;
    }
}
@media all and (min-width: 992px) {
    .navbar-mainnavigation .navbar-nav{
        justify-content: flex-end;
        align-items: center;
    }
}

/* Telefon-Button.
   DESKTOP: erster Menuepunkt (Verweis auf externe URL -> tel:+49632112227),
            gestylt als abgerundete "Pille" wie der Button auf dem Slide.
   MOBIL:   per physio-nw.js ausserhalb des Menues neben dem Burger
            eingefuegt (.hd-phone) und nur dort sichtbar; der Menuepunkt
            selbst wird mobil ausgeblendet (sonst doppelt + im Burger versteckt).
   Trubka-Icon ueber mask -> garantiert weiss. */

/* --- Desktop: tel:-Menuepunkt als Pille --- */
/* den Menuepunkt vertikal mittig in der Leiste ausrichten (sonst sitzt
   die Pille hoeher als die uebrigen Menue-Texte) */

.navbar-mainnavigation .navbar-nav .nav-item:has(> a[href^="tel:"]) {
    display: flex; align-items: center;
}
.navbar-mainnavigation .navbar-nav a[href^="tel:"] {
    display: inline-flex; align-items: center; gap: 8px;
    background: #133d77;
    padding: 8px 18px; border-radius: 50px;   /* Pille wie auf dem Slide */
    font-weight: 600; line-height: 1; text-decoration: none;
    margin: 0 10px 0 0;
}
.navbar-mainnavigation .navbar-nav a[href^="tel:"],
.navbar-mainnavigation .navbar-nav a[href^="tel:"] .nav-link-text { color: #fff; }
.navbar-mainnavigation .navbar-nav a[href^="tel:"] .nav-link-text { font-size: 15px; }
.navbar-mainnavigation .navbar-nav a[href^="tel:"]::before {
    content: ""; width: 17px; height: 17px; flex: none;
    background: #fff;                          /* Icon-Farbe garantiert weiss */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M18.6 24.6l104-24c11.3-2.6 22.9 3.3 27.5 13.9l48 112c4.2 9.8 1.4 21.3-6.9 28l-60.6 49.6c36 76.7 98.9 140.5 177.2 177.2l49.6-60.6c6.8-8.3 18.2-11.1 28-6.9l112 48c10.7 4.7 16.6 16.3 14 27.6l-24 104c-2.5 10.8-12.1 18.6-23.4 18.6C207.9 512 0 304.5 0 48 0 36.8 7.7 27.1 18.6 24.6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M18.6 24.6l104-24c11.3-2.6 22.9 3.3 27.5 13.9l48 112c4.2 9.8 1.4 21.3-6.9 28l-60.6 49.6c36 76.7 98.9 140.5 177.2 177.2l49.6-60.6c6.8-8.3 18.2-11.1 28-6.9l112 48c10.7 4.7 16.6 16.3 14 27.6l-24 104c-2.5 10.8-12.1 18.6-23.4 18.6C207.9 512 0 304.5 0 48 0 36.8 7.7 27.1 18.6 24.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.navbar-mainnavigation .navbar-nav a[href^="tel:"]:hover,
.navbar-mainnavigation .navbar-nav a[href^="tel:"]:focus { background: #b83034; }
.navbar-mainnavigation .navbar-nav a[href^="tel:"]:hover .nav-link-text,
.navbar-mainnavigation .navbar-nav a[href^="tel:"]:focus .nav-link-text { color: #fff; }

/* --- Mobil-Telefon (per Script, ausserhalb des Menues) --- */
.navbar-mainnavigation .hd-phone { display: none; }   /* Standard aus */
@media (max-width: 991.98px) {
    /* den tel:-Menuepunkt im (eingeklappten) Menue nicht zeigen */
    .navbar-mainnavigation .navbar-nav a[href^="tel:"] { display: none; }
    /* stattdessen die immer sichtbare Pille neben dem Burger */
    .navbar-mainnavigation .hd-phone {
        display: inline-flex; align-items: center; gap: 7px;
        margin-left: auto; margin-right: 10px;
        background: #133d77; color: #fff; text-decoration: none;
        padding: 8px 15px; border-radius: 50px; font-weight: 600;
        font-size: 15px; line-height: 1; white-space: nowrap;
    }
    /* Text + Icon garantiert weiss (Theme-Linkfarbe ueberschreiben) */
    .navbar-mainnavigation .hd-phone,
    .navbar-mainnavigation .hd-phone span,
    .navbar-mainnavigation .hd-phone svg { color: #fff !important; }
    .navbar-mainnavigation .hd-phone:hover,
    .navbar-mainnavigation .hd-phone:focus { background: #b83034; color: #fff; }
    .navbar-mainnavigation .hd-phone svg { flex: none; }
}
.navbar-mainnavigation .nav-link-text { font-size: 18px; }
.navbar-light .navbar-nav .nav-link,
.navbar-default .navbar-nav .nav-link { color: #2b2b2b; }
.navbar-light .navbar-nav .active > .nav-link,
.navbar-default .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-default .navbar-nav .nav-link.active { color: #b83034; }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-default .navbar-nav .nav-link:hover { color: #133d77; }
.navbar-mainnavigation .navbar-nav > li > .nav-link:hover::before,
.navbar-mainnavigation .navbar-nav > li:hover > .nav-link::before,
.navbar-mainnavigation .navbar-nav > li.active > .nav-link::before { opacity: 0; display: none; }

/* ========================= LOGO ========================= */
@media (min-width: 1200px) {
    .navbar-mainnavigation:not(.navbar-transition) .navbar-brand { height: 130px; }
    .navbar-transition .navbar-brand { height: 70px; }
}
@media (min-width: 992px) {
    .navbar-mainnavigation .navbar-brand-image img { max-height: 80%; }
}

/* ========================= LIGHTBOX ========================= */
.pswp__bg { opacity: 0.7; }

/* ========================= ICON-GRUPPEN ========================= */
@media (min-width: 768px) {
    .icongroup-columns-3 .icongroup-item { width: calc(100% / 2 - 20px * 2); }
}

/* =====================================================================
   HERO-SLIDER (Carousel)
   ===================================================================== */
#page-header { margin-bottom: 0; padding: 0 0 0 0; }
/* Greift auf ALLE Karussell-Typen: frame-type-carousel UND
   frame-type-carousel_fullscreen (Vollbild). Sonst behält das Vollbild-
   Karussell sein Theme-Padding und es entsteht ein Spalt unter dem Menü. */
[class*="frame-type-carousel"],
[class*="frame-type-carousel"] .frame-group-container,
[class*="frame-type-carousel"] .frame-group-inner,
[class*="frame-type-carousel"] .frame-container,
[class*="frame-type-carousel"] .frame-inner {
    margin-top: 0; padding-top: 0; margin-bottom: 0; padding-bottom: 0;
}
[class*="frame-type-carousel"].frame-background-primary { padding-top: 0; padding-bottom: 0; }

.carousel {
    --hero-blur: 5px;
    --hero-tint: 0.25;
    --hero-tint-light: 0.40;
    /* Slider-Höhe ≈ Fensterhöhe minus Kopfzeile. Hier zentral justieren:
       Zahl = ungefähre Höhe der Kopfzeile (mobil). svh = stabile mobile
       Fensterhöhe (springt nicht mit der Browser-Adressleiste). */
    --hero-h: calc(100svh - 80px);
    position: relative; left: 50%; right: 50%; width: 100vw; margin: 0 -50vw; animation: heroFirstEntry 1.2s ease-out both;
}
/* Desktop: Kopfzeile (Logo) ist höher → mehr abziehen.
   Abzug ≈ Höhe der Kopfzeile, damit der Slider bündig bis ans Fensterende
   reicht (kein grauer Streifen darunter). Bei Overshoot (Slider ragt über)
   Zahl leicht erhöhen, bei Lücke leicht verringern. */
@media (min-width: 768px)  { .carousel { --hero-h: calc(100svh - 120px); } }
@media (min-width: 1200px) { .carousel { --hero-h: calc(100svh - 150px); } }
@keyframes heroFirstEntry { from { opacity: 0; } to { opacity: 1; } }
.carousel .carousel-item { min-height: 380px; position: relative; }
@media (min-width: 768px) { .carousel .carousel-item { min-height: 520px; } }
/* Vollbild-Karussell (carousel_fullscreen): das Theme setzt hier eine feste
   height:100vh, die jede min-height aussticht. Deshalb height neutralisieren
   (auto) und die Höhe wieder über min-height (= --hero-h) steuern. NUR hier –
   reguläre Karussells bleiben bei 380/520 (sonst würde alles Vollbild). */
.carousel.carousel-fullscreen,
.carousel.carousel-fullscreen .carousel-inner,
.carousel.carousel-fullscreen .carousel-item,
.carousel.carousel-fullscreen .carousel-content {
    height: auto;
    min-height: max(380px, var(--hero-h));
}

/* Kein schwarzes Aufblitzen vor dem ersten Video-Frame: heller Grund im
   Slider statt Theme-/Video-Schwarz. Das Video wird per Script erst beim
   Abspielen sichtbar (opacity 0 -> 1); dahinter liegt dieser helle Ton. */
.carousel,
.carousel .carousel-item { background-color: #4d4d4d; }
.carousel .carousel-item.carousel-item-layout-light { background-color: #f4f4f4; }
.carousel .carousel-item video { transition: opacity .6s ease; }

.carousel .carousel-backgroundimage-container { background-size: cover; background-position: center; z-index: 0; }
.carousel .carousel-item-layout-custom .carousel-backgroundimage-fade { opacity: 0.7; }
.carousel .carousel-item:not(.carousel-item-layout-custom) .carousel-backgroundimage-fade { opacity: 1; }

.carousel .carousel-item:not(.carousel-item-layout-custom)::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-color: var(--carousel-item-background, transparent);
    opacity: 0;
}
.carousel .carousel-item:not(.carousel-item-layout-custom):not(.carousel-item-layout-light).active::before {
    animation: layoutTint 8s ease-out forwards;
}
@keyframes layoutTint {
    from { opacity: 0; }
    to   { opacity: var(--hero-tint, 0.25); }
}

.carousel .carousel-item-layout-light.active::before {
    animation: layoutTintLight 8s ease-out forwards;
}
@keyframes layoutTintLight {
    from { opacity: 0; }
    to   { opacity: var(--hero-tint-light, 0.40); }
}
/* Einheitliche Textfarbe (Navy) ohne Schatten für die Layouts LIGHT und
   PRIMARY – deckt alle echten Klassen ab: Titel (carousel-item-header),
   Untertitel (carousel-item-subheader) UND Fließtext (carousel-item-
   bodytext). Vorher griff die Farbe nur am Titel → Untertitel/Text
   behielten die Theme-Farben (schwarz/grau) = Farb-Mischmasch. */
.carousel .carousel-item-layout-light .carousel-header,
.carousel .carousel-item-layout-light .carousel-item-header,
.carousel .carousel-item-layout-light .carousel-text-inner h1,
.carousel .carousel-item-layout-light .carousel-subheader,
.carousel .carousel-item-layout-light .carousel-item-subheader,
.carousel .carousel-item-layout-light .carousel-text-inner h2,
.carousel .carousel-item-layout-light .carousel-item-bodytext,
.carousel .carousel-item-layout-light .carousel-item-bodytext p,
.carousel .carousel-item-layout-light .carousel-text-inner > p,
.carousel .carousel-item-layout-light .carousel-text-inner p,
.carousel .carousel-item-layout-primary .carousel-header,
.carousel .carousel-item-layout-primary .carousel-item-header,
.carousel .carousel-item-layout-primary .carousel-text-inner h1,
.carousel .carousel-item-layout-primary .carousel-subheader,
.carousel .carousel-item-layout-primary .carousel-item-subheader,
.carousel .carousel-item-layout-primary .carousel-text-inner h2,
.carousel .carousel-item-layout-primary .carousel-item-bodytext,
.carousel .carousel-item-layout-primary .carousel-item-bodytext p,
.carousel .carousel-item-layout-primary .carousel-text-inner > p,
.carousel .carousel-item-layout-primary .carousel-text-inner p {
    color: #0c264bdb !important;
    text-shadow: none !important;
}

.carousel .carousel-item-layout-custom::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-color: rgba(14,44,84,.18);
}
.carousel .carousel-item-layout-custom.active::before {
    animation: heroDarken 8s linear forwards;
}
@keyframes heroDarken {
    0%   { background-color: rgba(14,44,84,0); }
    25%  { background-color: rgba(14,44,84,0); }
    100% { background-color: rgba(14,44,84,.28); }
}

.carousel .carousel-item .carousel-backgroundimage-blur { filter: blur(0); }
.carousel .carousel-item.active .carousel-backgroundimage-blur {
    animation: blurIn 8s ease-out forwards;
}
@keyframes blurIn {
    0%   { filter: blur(0); }
    25%  { filter: blur(0); }
    60%  { filter: blur(var(--hero-blur, 5px)); }
    100% { filter: blur(var(--hero-blur, 5px)); }
}

.carousel .carousel-content {
    position: relative; z-index: 2; margin: 0;
    min-height: 380px;
    display: flex; align-items: center; justify-content: center;
}
.carousel-content { margin-top: 0; }
.carousel .carousel-item-type-html .carousel-content {
    margin: 0; min-height: 380px; display: flex; align-items: center;
}
@media (min-width: 768px) {
    .carousel .carousel-content,
    .carousel .carousel-item-type-html .carousel-content { min-height: 520px; }
}

.carousel .carousel-text-inner {
    max-width: 1200px; width: 100%; text-align: left; color: #fff;
    display: flex; flex-direction: column; align-items: flex-start;
}
.carousel-text-inner h1, .carousel-text-inner h2 { font-weight: 500; }

/* Lange deutsche Komposita (z. B. "Behandlungsmöglichkeiten") brachen nicht
   um und ragten über die Plakette/den Textkasten hinaus. Silbentrennung +
   Umbruch langer Wörter (lang="de" steht im <html>, daher saubere Trennung). */
.carousel .carousel-header,
.carousel .carousel-item-header,
.carousel .carousel-text-inner h1,
.carousel .carousel-subheader,
.carousel .carousel-item-subheader,
.carousel .carousel-text-inner h2,
.carousel .carousel-item-bodytext,
.carousel .carousel-item-bodytext p {
    overflow-wrap: break-word;
    hyphens: auto;
}

.carousel .carousel-header,
.carousel .carousel-item-header,
.carousel .carousel-text-inner h1 {
    color: #fff;
    font-size: clamp(1.9rem, calc(1.425rem + 1.4vw), 3rem) !important;
    line-height: 1.1; font-weight: 500 !important;
    margin: 0 0 .3rem 0; max-width: 1200px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.carousel .carousel-subheader,
.carousel .carousel-text-inner > p {
    color: rgba(255,255,255,.92);
    font-size: clamp(15px, 2.4vw, 17px); font-weight: 400; line-height: 1.6;
    margin: .2rem 0 0 0; max-width: 490px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.30);
}
@media (max-width: 575px) {
    .carousel .carousel-header,
    .carousel .carousel-item-header,
    .carousel .carousel-text-inner h1 {
        font-size: 1.7rem !important; line-height: 1.2;
    }
    .carousel .carousel-subheader,
    .carousel .carousel-text-inner > p { font-size: 14px; }
}
.carousel .carousel-text-inner .hero-eyebrow {
    order: -1; display: inline-block;
    background: #fae3e8; color: #9E0E2E;
    font-size: 12px; font-weight: 600; line-height: 1.4;
    letter-spacing: .01em; padding: 5px 13px; border-radius: 20px;
    margin: 0 0 14px 0; text-shadow: none;
}
.carousel .carousel-content a:not(.hero-btn):not(.tel-href),
.carousel .carousel-content a:not(.hero-btn):not(.tel-href):hover { color: #fff; }

.carousel .carousel-content .hero-box {
    width: 100%; max-width: 720px; margin: 0 auto; padding: 20px 22px;
    display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: #fff; text-shadow: 0 0 3px black;
}
.carousel .hero-eyebrow {
    display: inline-block; background: #fae3e8; color: #9E0E2E;
    font-size: 12px; font-weight: 600; line-height: 1.4;
    padding: 5px 13px; border-radius: 20px; margin: 0; text-shadow: none;
}
.carousel .hero-box > p:first-child { margin: 0 0 16px 0; }
.carousel .hero-cta p { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.carousel .hero-title {
    color: #fff; font-size: clamp(1.9rem, calc(1.425rem + 1.4vw), 3rem);
    line-height: 1.1; font-weight: 500; margin: 0; max-width: 720px;
}
.carousel .hero-text {
    color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.4;
    margin: 10px 0 0 0; max-width: 490px;
}
.carousel .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; margin-top: 28px; text-shadow: none; }
.carousel .hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 9px; font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease; text-shadow: none;
}
.carousel .hero-btn--white { background: #fff; color: #1b3f6e; }
.carousel .hero-btn--white:hover { background: #fff; color: #1b3f6e; transform: translateY(-1px); }
.carousel .hero-btn--outline { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.85); }
.carousel .hero-btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.carousel .hero-btn--phone {
    background: #fff; color: #143D72;
    border-radius: 50px;
    font-size: clamp(18px, 5vw, 30px);
    font-weight: 700; padding: 10px 30px;
    gap: 10px; letter-spacing: .02em;
    white-space: nowrap; justify-content: center;
    align-self: flex-start;
}
.carousel .hero-btn--phone img { width: clamp(22px, 4vw, 36px); height: clamp(22px, 4vw, 36px); }
.carousel .hero-btn--phone:hover { background: #fff; color: #143D72; transform: translateY(-1px); }

.carousel-item-type-call_to_action .carousel-box { border-radius: 4px; max-width: 65%; }

.carousel-item-type-html .carousel-content { position: relative; padding: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,44,84,.95), rgba(14,44,84,.25)); z-index: 1; }
.hero-box { position: relative; z-index: 2; }

.carousel .carousel-control-prev, .carousel .carousel-control-next { width: 44px; opacity: 1; z-index: 5; }
.carousel .carousel-control-prev { left: 24px; right: auto; }
.carousel .carousel-control-next { right: 24px; left: auto; }
.carousel .carousel-control-icon::before, .carousel .carousel-control-icon::after,
.carousel .carousel-control-prev::before, .carousel .carousel-control-prev::after,
.carousel .carousel-control-next::before, .carousel .carousel-control-next::after { content: none; display: none; }
.carousel .carousel-control-prev-icon, .carousel .carousel-control-next-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background-color: rgba(255,255,255,.95);
    background-repeat: no-repeat; background-position: center; background-size: 42%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.28);
    transition: background-color .2s ease, transform .2s ease;
}
.carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10 3.5 5.5 8 10 12.5' fill='none' stroke='%231b3f6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%231b3f6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.carousel .carousel-control-next:hover .carousel-control-next-icon { background-color: #fff; transform: translate(0, -50%) scale(1.06); }
@media (max-width: 575px) {
    .carousel .carousel-control-prev, .carousel .carousel-control-next { width: 54px; }
    .carousel .carousel-control-prev-icon, .carousel .carousel-control-next-icon { width: 38px; height: 38px; }
}

@media all and (max-width: 767px) {
    .carousel-control {
        display: none !important;
    }
}

.carousel .carousel-indicators { margin-bottom: 14px; }
.carousel .carousel-indicators [data-bs-target],
.carousel .carousel-indicators li,
.carousel .carousel-indicators button {
    width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid #fff; background-color: transparent; opacity: 1; margin: 0 5px;
}
.carousel .carousel-indicators .active { background-color: #fff; }
.carousel .carousel-indicators .active { background-color: #fff; }
.carousel .carousel-indicators li::marker { content:''; }

.carousel .carousel-item { opacity: 0; transition-property: opacity; transition-duration: 0.8s; transform: none; }
.carousel .carousel-item.active,
.carousel .carousel-item-next.carousel-item-start,
.carousel .carousel-item-prev.carousel-item-end { z-index: 1; opacity: 1; }
.carousel .active.carousel-item-start,
.carousel .active.carousel-item-end { z-index: 0; opacity: 0; transition: opacity 0s 0.8s; }

.carousel .carousel-item.active .carousel-backgroundimage-container { animation: kenburns 7s ease-out both; background: #e9eef4; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.03); } }
.carousel .carousel-item.carousel-item-next .carousel-text-inner > *,
.carousel .carousel-item.carousel-item-prev .carousel-text-inner > *,
.carousel .carousel-item.carousel-item-next .hero-box > *,
.carousel .carousel-item.carousel-item-prev .hero-box > * { opacity: 0; }
.carousel .carousel-item.active .carousel-text-inner > *,
.carousel .carousel-item.active .hero-box > * { animation: textIn 0.8s ease-out both; }
.carousel .carousel-item.active .carousel-text-inner > *:nth-child(1),
.carousel .carousel-item.active .hero-box > *:nth-child(1) { animation-delay: 2.00s; }
.carousel .carousel-item.active .carousel-text-inner > *:nth-child(2),
.carousel .carousel-item.active .hero-box > *:nth-child(2) { animation-delay: 2.30s; }
.carousel .carousel-item.active .carousel-text-inner > *:nth-child(3),
.carousel .carousel-item.active .hero-box > *:nth-child(3) { animation-delay: 2.60s; }
.carousel .carousel-item.active .hero-box > *:nth-child(4) { animation-delay: 2.90s; }
@keyframes textIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }

/* =====================================================================
   CTA-SLIDES (Typ "Aufruf zum Handeln" / call_to_action)
   Ablauf: 0–1,5 s nur Foto → bei 1,5 s blendet die Plakette + Text ein →
   danach setzt der Blur ein (läuft global ab ~2 s, also direkt nach dem
   Text – und nur, wenn der Blur für den Slide aktiviert ist).
   ===================================================================== */
.carousel .carousel-item-type-call_to_action.active .carousel-box {
    animation: ctaBoxIn 0.6s ease-out both;
    animation-delay: 1.5s;
}
/* Inhalt der Plakette NICHT zusätzlich staffeln – sonst wäre die Plakette
   kurz leer (die Kinder hätten sonst die generischen 2.0/2.3/2.6s-Delays).
   Die Plakette erscheint als eine Einheit. */
.carousel .carousel-item-type-call_to_action.active .carousel-box .carousel-text-inner > *,
.carousel .carousel-item-type-call_to_action.active .carousel-box > *,
.carousel .carousel-item-type-call_to_action.active .carousel-text-inner > * {
    animation: none;
    opacity: 1;
}
@keyframes ctaBoxIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel .carousel-item .carousel-backgroundimage-container { filter: none; }
    .carousel .carousel-item.active .carousel-backgroundimage-container { animation: none; }
    .carousel .carousel-item .carousel-text-inner > *,
    .carousel .carousel-item .hero-box > * { opacity: 1; animation: none; }
    .carousel .carousel-item-layout-custom.active::before { animation: none; }
    .carousel .carousel-item:not(.carousel-item-layout-custom).active::before { animation: none; opacity: var(--hero-tint, 0.25); }
    .carousel .carousel-item-layout-light.active::before { animation: none; opacity: var(--hero-tint-light, 0.40); }
    .carousel .carousel-item .carousel-backgroundimage-blur { animation: none; filter: blur(var(--hero-blur, 5px)); }
    .carousel .carousel-item-type-call_to_action .carousel-box { animation: none; opacity: 1; transform: none; }
    .carousel { animation: none; }
}

/* =====================================================================
   TRUST-BAR
   ===================================================================== */
.frame-type-icon_group {
    padding: 24px 0;
    border-bottom: 1px solid rgba(20,61,114,.14);
}

.frame-type-icon_group .element-header {
    display: none;
}

.frame-type-icon_group .icongroup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 38px;
}

.frame-type-icon_group .icongroup-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
}

.frame-type-icon_group .icongroup-item-icon {
    margin: 0;
    flex: none;
    line-height: 0;
}

.frame-type-icon_group .icongroup-item-icon img,
.frame-type-icon_group .icongroup-item-icon svg {
    width: 22px;
    height: 22px;
    max-width: none;
}

/* Alle Icons einheitlich blau (Navy). Icons mit fill="currentColor" folgen
   dieser color; fest auf #133D77 codierte (.st0) sind ohnehin blau. */
.frame-type-icon_group .icongroup-item-icon,
.frame-type-icon_group .icongroup-item-icon svg {
    color: #133D77;
}
.frame-type-icon_group .icongroup-item-icon svg [fill="currentColor"] {
    fill: #133D77;
}

.frame-type-icon_group .icongroup-item .icongroup-item-text,
.frame-type-icon_group .icongroup-item .icongroup-item-text-header,
.frame-type-icon_group .icongroup-item a {
    color: #1c2a3f;
}

.frame-type-icon_group .icongroup-item-text-header {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    text-align: left;
    margin: 0;
}

@media (min-width: 1200px) {
    .frame-type-icon_group .icongroup {
        flex-wrap: nowrap;
        gap: 34px;
    }

    .frame-type-icon_group .icongroup-item {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .frame-type-icon_group .icongroup {
        flex-wrap: nowrap;
        gap: 24px;
    }

    .frame-type-icon_group .icongroup-item {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .frame-type-icon_group .icongroup-item-text-header {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .frame-type-icon_group .icongroup {
        justify-content: flex-start;
        gap: 16px;
    }

    .frame-type-icon_group .icongroup-item {
        width: 100%;
    }
}

/* ---------------------------------------------------------------------
   Größere Icon-Gruppen (>= 5 Punkte) – das ist KEINE Trust-Bar, sondern
   eine Aufzählung wie die Benefit-Liste auf /physios. Sie soll als sauberes
   Raster (1/2/3 Spalten) umbrechen statt in eine zu breite Zeile gequetscht
   zu werden, und ihre Überschrift soll sichtbar bleiben.
   Erkennung automatisch über die Anzahl der Punkte via :has() – kein Klick
   im Backend nötig. Trust-Bars (<= 4 Punkte) bleiben unverändert einzeilig.
   --------------------------------------------------------------------- */
.frame-type-icon_group:has(.icongroup-item:nth-child(5)) {
    border-bottom: none;
}
.frame-type-icon_group:has(.icongroup-item:nth-child(5)) .element-header {
    display: block;
    text-align: center;
    color: #143D72;
    font-weight: 600;
    margin-bottom: 24px;
}
.frame-type-icon_group:has(.icongroup-item:nth-child(5)) .icongroup {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px 30px;
    align-items: start;
    flex-wrap: initial;
}
@media (min-width: 576px) {
    .frame-type-icon_group:has(.icongroup-item:nth-child(5)) .icongroup { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .frame-type-icon_group:has(.icongroup-item:nth-child(5)) .icongroup { grid-template-columns: repeat(3, 1fr); }
}
.frame-type-icon_group:has(.icongroup-item:nth-child(5)) .icongroup-item {
    width: auto;
    flex: initial;
    white-space: normal;
    align-items: flex-start;
}
.frame-type-icon_group:has(.icongroup-item:nth-child(5)) .icongroup-item-icon {
    margin-top: 2px;
}

/* =====================================================================
   LEISTUNGEN (pw-leistungen)
   ===================================================================== */
.pw-leistungen {
    position: relative; left: 50%; right: 50%; width: 100vw;
    margin-left: -50vw; margin-right: -50vw;
    background: #f4f6f9; padding: 48px 0;
}
.pw-leistungen .wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.pw-leistungen .sec-head { text-align: center; margin-bottom: 30px; }
.pw-leistungen .sec-head .kick {
    display: block; font-size: 12px; color: #C8123A; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
}
.pw-leistungen .sec-head h2 { font-size: 26px; color: #1b3f6e; line-height: 1.18; margin: 6px 0 0; }
.pw-leistungen .cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 576px) { .pw-leistungen .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .pw-leistungen .cards { grid-template-columns: repeat(3, 1fr); } }
.pw-leistungen a.card {
    display: block; background: #fff; border: 1px solid rgba(20,61,114,.14);
    border-radius: 12px; padding: 22px; text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}
.pw-leistungen a.card:hover { transform: translateY(-3px); border-color: #1b3f6e; }
.pw-leistungen a.card .card-ico { display: block; width: 26px; height: 26px; }
.pw-leistungen a.card h3 { font-size: 19px; color: #1b3f6e; font-weight: 600; margin: 12px 0 6px; }
.pw-leistungen a.card p { font-size: 16px; color: #5f6b7e; line-height: 1.5; margin: 0 0 12px; }
.pw-leistungen a.card .more { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: #C8123A; font-weight: 600; }
.pw-leistungen a.card .more::after { content: "\2192"; }
.pw-leistungen .center-link { text-align: center; margin: 28px 0 0; }
.pw-leistungen .center-link a { color: #1b3f6e; font-weight: 600; text-decoration: none; }
.pw-leistungen .center-link a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .pw-leistungen a.card:hover { transform: none; } }

/* =====================================================================
   TELEFON-BAND (pw-band)
   ===================================================================== */
.pw-band {
    background: #143D72; color: #fff;
    position: relative; left: 50%; right: 50%;
    width: 100vw; margin-left: -50vw; margin-right: -50vw;
    padding: 40px 0;
}
.pw-band-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.pw-band h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }
.pw-band p { color: #c5d2e6; font-size: 15px; max-width: 460px; margin: 0; }
.pw-btn-light {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; color: #143D72; font-weight: 700; font-size: 32px;
    padding: 5px 40px; border-radius: 50px; text-decoration: none;
    transition: transform .15s ease;
}
.pw-btn-light:hover { transform: translateY(-1px); color: #143D72; }

/* =====================================================================
   CTA-BAND (pw-cta) – z. B. Karriere-Abschluss vor dem Footer
   ===================================================================== */
.pw-cta {
    background: #143D72; color: #fff;
    position: relative; left: 50%; right: 50%;
    width: 100vw; margin-left: -50vw; margin-right: -50vw;
    padding: 48px 0; text-align: center;
}
.pw-cta .kick {
    display: block; font-size: 12px; color: #fae3e8; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase; margin-bottom: 6px;
}
.pw-cta h2 { color: #fff; font-size: 26px; line-height: 1.18; margin: 0 0 10px; }
.pw-cta p { color: #c5d2e6; font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto 22px; }
.pw-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #C8123A; color: #fff; font-weight: 600; font-size: 16px;
    padding: 13px 26px; border-radius: 50px; text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}
.pw-cta-btn:hover { background: #9E0E2E; color: #fff; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .pw-cta-btn:hover { transform: none; } }

/* =====================================================================
   ABLAUF-SCHRITTE (pw-steps) – helle nummerierte Karten
   ===================================================================== */
.pw-steps { padding: 48px 0; }
.pw-steps .wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.pw-steps .sec-head { text-align: center; margin-bottom: 30px; }
.pw-steps .sec-head .kick {
    display: block; font-size: 12px; color: #C8123A; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
}
.pw-steps .sec-head h2 { font-size: 26px; color: #1b3f6e; line-height: 1.18; margin: 6px 0 0; }
.pw-steps .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 576px) { .pw-steps .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .pw-steps .steps { grid-template-columns: repeat(4, 1fr); } }
.pw-steps .steps li {
    background: #fff; border: 1px solid rgba(20,61,114,.14);
    border-radius: 12px; padding: 22px; text-align: center;
}
.pw-steps .steps .num {
    width: 40px; height: 40px; border-radius: 50%;
    background: #143D72; color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.pw-steps .steps h3 {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #1b3f6e;
    font-weight: 600;
    margin: 0 0 6px;
}
.pw-steps .steps p { font-size: 15px; color: #5f6b7e; line-height: 1.5; margin: 0; }

/* =====================================================================
   TEASER (pw-teaser) – heller Block mit Link, z. B. Hausbesuche
   ===================================================================== */
.pw-teaser { padding: 48px 0; }
.pw-teaser .kick {
    display: block; font-size: 12px; color: #C8123A; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
}
.pw-teaser h2 { font-size: 24px; color: #143D72; margin: 6px 0 12px; }
.pw-teaser p { font-size: 16px; color: #5f6b7e; line-height: 1.7; margin: 0 0 18px; max-width: 720px; }
.pw-teaser-btn { display: inline-flex; align-items: center; gap: 6px; color: #143D72; font-weight: 600; text-decoration: none; }
.pw-teaser-btn:hover { text-decoration: underline; color: #143D72; }

/* =====================================================================
   SEO-TEXT (pw-seo)
   ===================================================================== */
.pw-seo { padding: 48px 0 24px; }
.pw-seo h2 { font-size: 24px; color: #143D72; margin: 0 0 16px; }
.pw-seo p { font-size: 16px; color: #5f6b7e; line-height: 1.7; margin: 0 0 12px; max-width: 780px; }

/* =====================================================================
   WRAP HELPER
   ===================================================================== */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* =====================================================================
   INFO-KARTEN (pw-info) – Öffnungszeiten + So finden Sie uns
   ===================================================================== */
.pw-info { padding: 24px 0 48px; }
.pw-info-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 768px) { .pw-info-grid { grid-template-columns: 1fr 1fr; } }
.pw-info-card {
    background: #fff; border: 1px solid rgba(20,61,114,.14);
    border-radius: 12px; padding: 24px;
}
.pw-info-card h3 {
    font-size: 19px; color: #143D72;
    display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 600;
}
.pw-info-card p { font-size: 16px; color: #1c2a3f; margin: 0 0 8px; line-height: 1.6; }
.pw-info-card a { color: #143D72; font-weight: 600; text-decoration: none; font-size: 16px; }
.pw-info-card a:hover { text-decoration: underline; }
.pw-row {
    display: flex; justify-content: space-between;
    font-size: 16px; padding: 7px 0;
    border-top: 1px solid rgba(20,61,114,.1);
}
.pw-row:first-of-type { border-top: none; }

/* =====================================================================
   HTML-FRAMES – kein globaler Hintergrund mehr (ab v3)
   ===================================================================== */
.pw-surf { background: #f4f6f9; }

.pw-script { display: none; }

/* =====================================================================
   FOOTER – Theme-Footer neu gestaltet
   ===================================================================== */
.footer-section-content { background: #f4f6f9; padding: 48px 0; }
.footer-section-content > .container { border-top: none; }
.footer-section-content .section-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.footer-section-content-column {
    flex: 1 1 200px; background: #fff;
    border: 1px solid rgba(20,61,114,.14); border-radius: 12px;
    padding-top: 22px; padding-bottom: 10px;
    padding-left: 34px; padding-right: 24px;
    text-align: left;
}

.footer-section-content-column .frame,
.footer-section-content-column .frame-group-container,
.footer-section-content-column .frame-group-inner,
.footer-section-content-column .frame-container,
.footer-section-content-column .frame-inner,
.footer-section-content-column .frame-header,
.footer-section-content-column [class*="frame-space-before"],
.footer-section-content-column [class*="frame-space-after"],
.footer-section-content-column [class*="frame-size"] { padding: 0; margin: 0; }

.footer-section-content h4.element-header {
    font-size: 19px; font-weight: 600; color: #143D72;
    text-align: left; margin: 0 0 14px;
    display: flex; align-items: center; gap: 8px;
}
.footer-section-content h4.element-header::before {
    content: ''; display: inline-block; width: 20px; height: 20px; flex-shrink: 0;
    background-size: contain; background-repeat: no-repeat; background-position: center;
}
.footer-section-content-column-left h4.element-header::before {
    background-image: url('/fileadmin/bilder/physio-nw/vorschau-neueskonzept/phone-red.svg');
}
.footer-section-content-column-middle h4.element-header::before {
    background-image: url('/fileadmin/bilder/physio-nw/vorschau-neueskonzept/map-pin-red.svg');
}
.footer-section-content-column-right h4.element-header::before {
    background-image: url('/fileadmin/bilder/physio-nw/vorschau-neueskonzept/clock-red.svg');
}
.footer-section-content p { font-size: 16px; color: #1c2a3f; line-height: 1.6; text-align: left !important; margin: 0 0 6px; }
.footer-section-content .text-center { text-align: left !important; }
.footer-section-content a { color: #143D72 !important; font-weight: 600; text-decoration: underline; }
.footer-section-content a:hover { text-decoration: underline; color: #143D72; }

.footer-section-meta { background-color: #0E2C54; color: #fff; padding: 25px 0; border-top: 4px solid #C8123A; }
.footer-section-meta > .frame { padding-top: 0; }
.footer-section-meta .frame-inner {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 0; text-align: center;
}
.footer-meta .meta-menu { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-meta .meta-menu > li { padding: 0; }
.footer-meta .meta-menu a { color: #fff; font-size: 13px; text-decoration: none; }
.footer-meta .meta-menu a:hover { color: #fff; }
.footer-copyright { margin-top: -4px; }
.footer-copyright, .footer-copyright p { color: #7E94B4; font-size: 13px; margin: .5rem 0 0 0; }
.footer-section-meta a:hover, .footer-section-meta a:focus { color: #fff; }

.news, .frame-type-list {
    --nw-accent: #133d77;
    --nw-accent-dark: #b83034;
    --nw-title: #1b3f6e;
    --nw-dummy-bg: #eef2f7;
}

.navbar-nav .dropdown-menu {
  top: 100%;
  left: 0;
  right: auto;
  margin-top: 0;
}
