/* ==========================================================================
   Wundzentrum Theme - Custom Styles
   ========================================================================== */

/* Ubuntu — self-hosted (SIL Open Font License), subsets via @fontsource/ubuntu */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../Fonts/ubuntu-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../Fonts/ubuntu-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../Fonts/ubuntu-latin-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../Fonts/ubuntu-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../Fonts/ubuntu-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../Fonts/ubuntu-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   CSS Variables Override
   Uses body-level selector to beat Camino's theme class specificity
   -------------------------------------------------------------------------- */
:root {
    --wz-color-primary: #00846f;
    --wz-color-primary-light: #a0c85f;
    --wz-color-lime: #c4e78b;
    --wz-color-partners-bg: rgba(196, 219, 155, 0.3);
    --wz-color-text: #0e0e0e;
    --wz-color-normal-text: #565655;
    --wz-font-family: 'Ubuntu', sans-serif;
    --header-height: 60px;
}

body {
    -webkit-font-smoothing: antialiased;

    /* Override Camino theme colors */
    --color-primary-100: #00846f;
    --color-primary-75: #a0c85f;
    --color-neutral-10: #f5f9ef;

    /* Override Camino fonts — kill Playfair (headline) and Open Sans (body/subline/title)
       by overriding BOTH the base font-family vars AND the resolved chain vars
       (*-medium-family, *-large-family, *-small-family). Camino declares the chain at
       `:root` with var(--…-family), but belt-and-suspenders keeps stale browser/compiled
       values from leaking through. */
    --body-family: 'Ubuntu', sans-serif;
    --body-large-family: 'Ubuntu', sans-serif;
    --body-medium-family: 'Ubuntu', sans-serif;
    --body-small-family: 'Ubuntu', sans-serif;
    --headline-family: 'Ubuntu', sans-serif;
    --headline-large-family: 'Ubuntu', sans-serif;
    --headline-medium-family: 'Ubuntu', sans-serif;
    --headline-small-family: 'Ubuntu', sans-serif;
    --subline-family: 'Ubuntu', sans-serif;
    --subline-large-family: 'Ubuntu', sans-serif;
    --subline-medium-family: 'Ubuntu', sans-serif;
    --subline-small-family: 'Ubuntu', sans-serif;
    --title-family: 'Ubuntu', sans-serif;
    --title-large-family: 'Ubuntu', sans-serif;
    --title-medium-family: 'Ubuntu', sans-serif;
    --title-small-family: 'Ubuntu', sans-serif;
    --label-family: 'Ubuntu', sans-serif;
    font-family: 'Ubuntu', sans-serif;

    /* Typography — match Figma spec (Ubuntu Medium 500, #00846f) */
    --headline-color: var(--wz-color-primary);
    --headline-medium-size: 36px;
    --headline-medium-weight: 500;
    --headline-medium-line-height: 1.25;
    --subline-medium-size: 18px;
    --subline-medium-weight: 500;
    --subline-medium-line-height: 1.25;
}

@media (min-width: 1280px) {
    body {
        --headline-medium-size: 36px;
        --subline-medium-size: 18px;
    }
}

/* Mobile: tighten Camino's spacing between content elements (default 48px is too generous). */
@media (max-width: 767px) {
    body {
        --component-margin-vertical: 24px;
    }
}

/* Subline inherits the headline green; sits tightly above the headline */
.subline {
    color: var(--wz-color-primary);
    margin-bottom: var(--spacing-xs, 4px);
}

/* Headline no longer needs the ":has(+ .subline)" tightening since the subline
   now comes before it — keep it compact when directly following a subline. */
.subline + .headline {
    margin-top: 0;
}

@media (min-width: 1280px) {
    :root {
        --header-height: 70px;
    }
}

/* --------------------------------------------------------------------------
   Header — doubled class for specificity over Camino's .header
   -------------------------------------------------------------------------- */
.header.wz-header {
    background: #fff;
    color: var(--wz-color-primary);
    height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: none;
}

.header.wz-header .header__content {
    max-width: var(--content-max-width);
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
}

.header.wz-header .header__logo {
    height: auto;
    line-height: 1;
}

.header.wz-header .header__logo img,
.header.wz-header .header__logo svg {
    height: 80px;
    width: auto;
    display: block;
}

.header.wz-header .header__menu-button .button {
    --button-color: transparent;
    --button-color-hover: rgba(0, 132, 111, 0.08);
    --button-color-focus: rgba(0, 132, 111, 0.08);
    --button-color-pressed: rgba(0, 132, 111, 0.12);
    --button-border-color: transparent;
    --button-border-color-hover: transparent;
    --button-border-color-pressed: transparent;
    --button-content-border-bottom-color: transparent;
    --button-content-border-bottom-color-hover: transparent;
    background: transparent;
    border-color: transparent;
    color: var(--wz-color-primary);
    padding: var(--spacing-xs);
    min-width: var(--click-targets-default);
}

.header.wz-header .header__menu-button .button__text {
    border-bottom: none;
}

/* Mobile burger — drei dicke grüne Striche statt Wort „Menü“ (wird beim Öffnen zum X) */
.wz-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wz-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 26px;
}

.wz-burger__line {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--wz-color-primary);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Offen-Zustand: Striche werden zum Kreuz */
body.body--menu-open .wz-burger__line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

body.body--menu-open .wz-burger__line:nth-child(2) {
    opacity: 0;
}

body.body--menu-open .wz-burger__line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Navigation items */
.header.wz-header .header__nav-item {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    color: var(--wz-color-primary);
    text-decoration: none;
}

.header.wz-header .header__nav-item:hover {
    background: transparent;
    opacity: 0.7;
}

/* Subnav dropdown */
.header.wz-header .header__subnav {
    background: #fff;
    border: 1px solid rgba(0, 132, 111, 0.1);
}

.header.wz-header .header__subnav-item {
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    font-size: 15px;
}

.header.wz-header .header__subnav-item:hover {
    background: var(--wz-color-partners-bg);
}

/* Kein Seiten-Scroll bei offenem Mobilmenü: Camino setzt nur `body` per Inline-Style;
   der Scroll läuft oft über `html` bzw. weiter mit Overscroll (iOS). */
html:has(body.body--menu-open) {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
}

body.body--menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Mobile: Full-viewport menu (Camino = area below header + 380px panel right) */
@media (max-width: 1279px) {
    .header.wz-header {
        --wz-mobile-header-stack-height: calc(24px + 80px + 24px);
    }

    /* Menu toggle bottom-aligned with the logo baseline */
    .header.wz-header .header__content {
        align-items: flex-end;
    }

    body.body--menu-open .header.wz-header {
        position: relative;
        z-index: 10020;
    }

    body.body--menu-open .header.wz-header .header__logo,
    body.body--menu-open .header.wz-header .header__menu-button {
        position: relative;
        z-index: 10022;
    }

    .header.wz-header .header__menu.header__menu--open {
        --nav-width: 100%;
        --nav-position: relative;
        --nav-right: auto;
        --nav-margin-top: 0;
        --nav-padding-bottom: 0;
        --nav-list-border: none;
        --nav-list-border-radius: 0;
        --nav-list-box-shadow: none;
        --nav-list-background: transparent;
        --nav-list-overflow: visible;
        --nav-item-background-hover: var(--wz-color-partners-bg);

        position: fixed;
        inset: 0;
        top: 0 !important;
        z-index: 10021;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        color: var(--wz-color-primary);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .header.wz-header .header__menu.header__menu--open .header__nav {
        width: 100%;
        max-width: var(--content-max-width);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: calc(var(--wz-mobile-header-stack-height) + env(safe-area-inset-top, 0px) + 16px);
        padding-bottom: 40px;
    }

    .header.wz-header .header__menu.header__menu--open .header__nav-list {
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .header.wz-header .header__menu.header__menu--open .header__nav-list-item {
        display: block;
        white-space: normal;
        border-bottom: 1px solid rgba(0, 132, 111, 0.12);
    }

    .header.wz-header .header__menu.header__menu--open .header__nav-list-item:last-child {
        border-bottom: none;
    }

    .header.wz-header .header__menu.header__menu--open .header__nav-item {
        padding-top: 18px;
        padding-bottom: 18px;
        font-size: 18px;
        line-height: 1.4;
        min-height: 52px;
        box-sizing: border-box;
    }

    .header.wz-header .header__menu.header__menu--open .header__nav-item:hover {
        opacity: 1;
        background: var(--wz-color-partners-bg);
    }

    .header.wz-header .header__menu.header__menu--open .header__subnav {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (min-width: 1280px) {
    .header.wz-header {
        --menu-display: block;
        --menu-button-display: none;
        padding-top: 32px;
        padding-bottom: 20px;
    }

    .header.wz-header .header__content {
        padding-left: 40px;
        padding-right: 40px;
        align-items: flex-end;
    }

    .header.wz-header .header__logo img,
    .header.wz-header .header__logo svg {
        height: 100px;
    }

    .header.wz-header .header__nav {
        --link-color: var(--wz-color-primary);
        --link-color-hover: var(--wz-color-primary);
    }

    .header.wz-header .header__nav-list-item {
        --icon-position: relative;
        --icon-top: 10px;
    }

    .header.wz-header .header__nav-item {
        color: var(--wz-color-primary);
        padding-bottom: 4px;
    }

    .header.wz-header .header__nav-item:hover:before,
    .header.wz-header .header__nav-item--active:before {
        background-color: var(--wz-color-primary);
    }
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.wz-logo {
    display: block;
    height: auto;
    max-height: 100%;
    width: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.wz-footer {
    font-family: var(--wz-font-family);
}

/* Partners section */
.wz-footer__partners {
    background: var(--wz-color-partners-bg);
    padding: 40px 24px;
}

.wz-footer__partners-inner {
    --max-width-paragraph: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.wz-footer__partners-inner * {
    --max-width-paragraph: 100%;
}

.wz-footer__partners-title {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: var(--wz-color-primary-light);
    margin: 0 auto 32px;
    max-width: 100%;
    text-align: center;
}

.wz-footer__partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 40px;
}

.wz-footer__partners-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .wz-footer__partners {
        padding: 48px 40px;
    }

    .wz-footer__partners-title {
        font-size: 30px;
    }

    .wz-footer__partners-logos img {
        height: 60px;
    }
}

@media (min-width: 1280px) {
    .wz-footer__partners {
        padding: 56px 60px;
    }

    .wz-footer__partners-title {
        font-size: 36px;
        line-height: 70px;
    }

    .wz-footer__partners-logos {
        gap: 32px 60px;
    }

    .wz-footer__partners-logos img {
        height: 70px;
    }
}

/* Meta section (legal, logo, copyright) */
.wz-footer__meta {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 32px 24px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Legal navigation */
.wz-footer__legal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.wz-footer__legal a {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 14px;
    color: var(--wz-color-primary);
    text-decoration: none;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.wz-footer__legal a:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .wz-footer__legal a {
        font-size: 18px;
    }

    .wz-footer__legal ul {
        gap: 16px 48px;
    }
}

/* Footer logo */
.wz-footer__logo {
    margin: 40px auto;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.wz-footer__logo a {
    display: inline-block;
}

.wz-footer__logo img,
.wz-footer__logo svg {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Copyright */
.wz-footer__copyright {
    font-family: var(--wz-font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: var(--wz-color-text);
    margin: 0;
}

.wz-footer__copyright-highlight {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .wz-footer__copyright {
        font-size: 15px;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.wz-hero {
    --wz-hero-bg: rgba(160, 200, 95, 0.2);
    --wz-hero-radius: 20px;
    --wz-hero-image-overhang-x: 55px;
    --wz-hero-image-overhang-y: 80px;
    background: var(--wz-hero-bg);
    overflow: hidden;
}

.wz-hero__inner {
    display: flex;
    flex-direction: column;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Content area */
.wz-hero__content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

/* Image area */
.wz-hero__image {
    order: 1;
}

.wz-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title */
.wz-hero__title {
    font-family: var(--wz-font-family);
    font-weight: 500;
    margin: 0 0 24px;
    line-height: 1.15;
}

/* Buttons */
.wz-hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    /* Nicht-Default: Desktop wieder kompakte Pill-Breite (volle Breite nur mobil). */
    .wz-hero:not(.wz-hero--default) .wz-hero__pill {
        width: auto;
        max-width: none;
        min-width: 220px;
        align-self: flex-start;
    }
}

/* Pill buttons */
.wz-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 24px 7px 7px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-family: var(--wz-font-family);
    transition: opacity 0.2s;
    align-self: flex-start;
    position: relative;
}

/* Subpage/simple: zentrierter Pill-Inhalt; volle Breite nur unter max-width 767px. */
.wz-hero:not(.wz-hero--default) .wz-hero__pill {
    justify-content: center;
    padding: 10px 24px;
    min-height: 40px;
    text-align: center;
}

/* Neutralize Camino's global a:hover color override (would darken the sublabel
   which inherits white from .wz-hero__pill) + use a brightness-based hover
   instead of opacity so the pill doesn't wash out on dark backgrounds. */
.wz-hero__pill {
    --link-color-hover: #fff;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.wz-hero__pill:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* 4 color variants matching Figma pill palette */
.wz-hero__pill--teal {
    background: #00909d;
}

.wz-hero__pill--primary {
    background: var(--wz-color-primary);
}

.wz-hero__pill--sage {
    background: #2fa794;
}

.wz-hero__pill--light {
    background: #75c2a3;
}

/* Sickle leaf on the first button — same positioning as services grid label-icon. */
.wz-hero__pill-sickle {
    position: absolute;
    left: -18px;
    bottom: -10px;
    width: 70px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}

.wz-hero__pill-icon {
    flex-shrink: 0;
    display: block;
    width: 42px;
    height: 42px;
}

.wz-hero__pill-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.wz-hero__pill-sublabel {
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
}

.wz-hero__pill-label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wz-color-lime);
}

/* --------------------------------------------------------------------------
   Variant: default — title on image, buttons on left
   -------------------------------------------------------------------------- */
.wz-hero--default .wz-hero__title {
    color: #fff;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.08;
    text-transform: uppercase;
}

/* Default variant: circle+chevron icon from shared asset. */
.wz-hero--default .wz-hero__pill-icon {
    width: 42px;
    height: 42px;
}

/* Default / „Text auf Bild“: mobil steht die Headline unter dem Bild auf hellem
   Hero-Hintergrund — weiße Schrift wäre dort nicht lesbar. */
@media (max-width: 767px) {
    .wz-hero--default .wz-hero__title {
        color: var(--wz-color-primary);
    }

    /* Subpage o. Ä.: kompaktere Abstände, Pills volle Breite (Desktop: min-width 220). */
    .wz-hero--subpage .wz-hero__content {
        justify-content: flex-start;
    }

    .wz-hero--subpage .wz-hero__buttons {
        margin-top: 20px;
    }

    .wz-hero:not(.wz-hero--default) .wz-hero__buttons {
        gap: 12px;
    }

    .wz-hero:not(.wz-hero--default) .wz-hero__pill {
        align-self: stretch;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        min-height: 40px;
        padding: 9px 18px;
        box-sizing: border-box;
    }
}

/* --------------------------------------------------------------------------
   Variant: simple — image only, no content
   -------------------------------------------------------------------------- */
.wz-hero--simple .wz-hero__content {
    display: none;
}

/* --------------------------------------------------------------------------
   Variant: subpage — green title on left, buttons without icon
   -------------------------------------------------------------------------- */
.wz-hero--subpage .wz-hero__title {
    color: var(--wz-color-primary-light);
    font-size: 28px;
    text-transform: uppercase;
}

.wz-hero--subpage .wz-hero__pill-icon {
    display: none;
}

/* Subpage: headline at top, buttons at bottom (space-between) */
.wz-hero--subpage .wz-hero__content {
    justify-content: space-between;
}

.wz-hero--subpage .wz-hero__buttons {
    margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Desktop layout
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .wz-hero__inner {
        flex-direction: row;
        min-height: 400px;
        position: relative;
    }

    .wz-hero__content {
        order: 1;
        width: 33.333%;
        flex-shrink: 0;
        padding: 40px 24px 40px 0px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Subpage o. Ä.: ohne „Text auf Bild“ braucht die linke Spalte Seitenabstand
       (Default behält 0 — dort sitzt Titel/Buttons anders). */
    .wz-hero:not(.wz-hero--default) .wz-hero__content {
        padding-left: 24px;
    }

    .wz-hero__image {
        order: 2;
        flex: 1;
        position: relative;
        /* Nur bei Viewport > content-max negativer Rand (Bild bis zum Viewport-Rand).
           Darunter wäre der Wert positiv → Layout bricht, Bild wirkt nach rechts weg. */
        margin-right: min(0px, calc((var(--content-max-width) - 100vw) / 2));
    }

    .wz-hero__image img {
        border-radius: var(--wz-hero-radius) 0 0 var(--wz-hero-radius);
        position: absolute;
        inset: 0;
    }

    .wz-hero__title {
        font-size: 32px;
    }

    /* Default variant: title overlays the image, image peeks out at bottom-left */
    .wz-hero--default {
        overflow: visible;
    }

    .wz-hero--default .wz-hero__image img {
        top: 0;
        left: calc(-1 * var(--wz-hero-image-overhang-x));
        right: auto;
        bottom: auto;
        width: calc(100% + var(--wz-hero-image-overhang-x));
        height: calc(100% + var(--wz-hero-image-overhang-y));
        max-width: none;
    }

    .wz-hero--default .wz-hero__content {
        position: static;
    }

    .wz-hero--default .wz-hero__buttons {
        position: absolute;
        bottom: 40px;
        left: 24px;
        z-index: 4;
    }

    .wz-hero--default .wz-hero__title {
        position: absolute;
        left: 26%;
        top: 12%;
        width: 40%;
        padding-left: 150px;
        font-weight: 500;
        font-size: 44px;
        line-height: 1.08;
        z-index: 3;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    }

    /* Simple variant */
    .wz-hero--simple .wz-hero__content {
        display: none;
    }

    .wz-hero--simple .wz-hero__image {
        width: 63%;
        margin-left: auto;
    }

    /* Subpage: on desktop — headline at top, buttons at bottom */
    .wz-hero--subpage .wz-hero__content {
        justify-content: space-between;
    }
}

@media (min-width: 1280px) {
    .wz-hero__inner {
        min-height: 580px;
    }

    /* Subpages (alles außer Home/„Text auf Bild“): Headerbild/-fläche schmaler laufen lassen.
       Hinweis: Auf Seiten mit vielen Buttons (z. B. Patienten) kann die Inhaltsspalte die
       Höhe weiterhin nach unten treiben. */
    .wz-hero:not(.wz-hero--default) .wz-hero__inner {
        min-height: 548px;
    }

    .wz-hero__content {
        padding: 48px 24px 48px 0px;
    }

    /* Großer Desktop: wie zuvor ohne extra linkes Padding (768–1279 bleibt 24px). */
    .wz-hero:not(.wz-hero--default) .wz-hero__content {
        padding-left: 0;
    }

    .wz-hero--default .wz-hero__buttons {
        bottom: 48px;
        left: 40px;
    }

    .wz-hero__image img {
        border-radius: var(--wz-hero-radius) 0 0 var(--wz-hero-radius);
    }

    .wz-hero--default .wz-hero__buttons {
        bottom: 48px;
        left: 0px;
    }

    .wz-hero--default .wz-hero__title {
        font-size: 60px;
        line-height: 65px;
        left: 25%;
        top: 10%;
        width: 32%;
        padding-left: 150px;
    }

    .wz-hero--subpage .wz-hero__title {
        font-size: 36px;
    }

    .wz-hero__pill {
        padding: 7px 28px 7px 7px;
    }

    .wz-hero__pill-sublabel {
        font-size: 14px;
    }

    .wz-hero__pill-label {
        font-size: 16px;
    }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.wz-contact {
    --max-width-paragraph: 100%;
}

/* ==========================================================================
   Fullwidth Image
   ========================================================================== */
.wz-fullwidth-image {
    line-height: 0;
}

.wz-fullwidth-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Services Grid (Mosaic)
   ========================================================================== */
.wz-services-grid {
    --max-width-paragraph: 100%;
}

.wz-services-grid__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.wz-services-grid__heading {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.35;
    color: var(--wz-color-primary);
    margin: 0 0 32px;
    max-width: 320px;
}

.wz-services-grid__bg {
    background: rgba(199, 209, 173, 0.2);
    padding: 40px 0 60px;
}

.wz-services-grid__mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 8px;
}

.wz-services-grid__card {
    --wz-col-shift: 0px;
    position: relative;
    align-self: start;
    opacity: 0;
    transform: translateY(calc(var(--wz-col-shift) + 96px)) scale(0.97);
    transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.wz-services-grid__mosaic.is-visible .wz-services-grid__card {
    opacity: 1;
    transform: translateY(var(--wz-col-shift)) scale(1);
}

.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(1) { transition-delay: 0ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(2) { transition-delay: 220ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(3) { transition-delay: 440ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(4) { transition-delay: 660ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(5) { transition-delay: 880ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(6) { transition-delay: 1100ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(7) { transition-delay: 1320ms; }
.wz-services-grid__mosaic.is-visible .wz-services-grid__card:nth-child(8) { transition-delay: 1540ms; }

/* Reduced-Motion: ohne Versatz, aber dennoch sanftes sequenzielles Einblenden,
   damit auch auf entsprechend eingestellten Rechnern (z. B. Fr. Meiburg) etwas passiert. */
@media (prefers-reduced-motion: reduce) {
    .wz-services-grid__card {
        opacity: 0;
        transform: none;
        transition: opacity 0.6s ease;
    }

    .wz-services-grid__mosaic.is-visible .wz-services-grid__card {
        opacity: 1;
    }
}

/* Mobile: shift right column down to create a staggered mosaic effect */
.wz-services-grid__card:nth-child(2n) {
    margin-top: 40px;
}

.wz-services-grid__card-frame {
    border: 6px solid var(--wz-color-lime);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    aspect-ratio: 3 / 4;
}

.wz-services-grid__card-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wz-services-grid__label {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.wz-services-grid__label-pill {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 18px;
    border-radius: 40px;
    white-space: nowrap;
    min-width: 130px;
    text-align: center;
}

.wz-services-grid__label-icon {
    position: absolute;
    left: -18px;
    bottom: -10px;
    width: 70px;
    height: auto;
    display: none; /* hidden on mobile, shown on tablet/desktop */
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 768px) {
    .wz-services-grid__inner {
        padding: 0 40px;
    }

    .wz-services-grid__heading {
        font-size: 32px;
        margin-bottom: 40px;
        transform: translateY(-50px);
    }

    .wz-services-grid__mosaic {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .wz-services-grid__label-icon {
        display: block;
    }

    /* Reset mobile-only even-column offset — per-card --N rules below take over */
    .wz-services-grid__card:nth-child(2n) {
        margin-top: 0;
    }

    /* Column-wise vertical shift: col1 up 100, col2 down 100, col3 up 200.
       Using translateY (via --wz-col-shift) instead of margin-top so row 2
       keeps its natural grid gap regardless of row 1's shifts. */
    .wz-services-grid__card--1,
    .wz-services-grid__card--4 { --wz-col-shift: -100px; }
    .wz-services-grid__card--2,
    .wz-services-grid__card--5 { --wz-col-shift: 50px; }
    .wz-services-grid__card--3,
    .wz-services-grid__card--6 { --wz-col-shift: -200px; }

    .wz-services-grid__card-frame {
        border-width: 8px;
    }

    .wz-services-grid__label-pill {
        font-size: 13px;
        padding: 10px 16px;
    }

    /* Tablet/desktop: all labels anchored on the left with sickle icon */
    .wz-services-grid__label {
        left: -10px;
        transform: none;
    }

    .wz-services-grid__bg {
        padding: 48px 0 80px;
    }
}

@media (min-width: 1280px) {
    .wz-services-grid__heading {
        font-size: 36px;
        line-height: 50px;
        margin-bottom: 48px;
    }

    .wz-services-grid__mosaic {
        gap: 40px;
    }

    .wz-services-grid__card-frame {
        border-width: 10px;
    }

    .wz-services-grid__label-pill {
        font-size: 16px;
        padding: 12px 28px;
    }

    .wz-services-grid__bg {
        padding: 56px 0 100px;
    }
}

/* ==========================================================================
   Text element — 3-column layout (1/3 headline + 2/3 body)
   ========================================================================== */
.wz-text-columns {
    --max-width-paragraph: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.wz-text-columns__header {
    --max-width-paragraph: 100%;
    min-width: 0;
    max-width: 100%;
}

.wz-text-columns__header > * {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.25;
    color: var(--wz-color-primary);
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
}

.wz-text-columns__body {
    --max-width-paragraph: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: var(--wz-font-family);
    font-size: 18px;
    line-height: 1.45;
    color: var(--wz-color-normal-text);
    overflow-wrap: break-word;
}

/* Mobile: chevron sits to the LEFT of the body text (mirrors desktop, just
   inline with the first line instead of in a side column). */
.wz-text-columns__body::before {
    content: "";
    float: left;
    width: 36px;
    height: 36px;
    margin: 8px 14px 4px 0;
    background: url("../Icons/chevron-circle.svg") no-repeat center / contain;
}

.wz-text-columns--no-chevron .wz-text-columns__body::before {
    content: none;
    display: none;
}

.wz-text-columns__body > * {
    max-width: 100%;
}

/* RTE headings — subordinate to the left-column title, clearly above body copy */
.wz-text-columns__body :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--wz-font-family);
    color: var(--wz-color-normal-text);
    font-weight: 600;
    max-width: var(--max-width-paragraph, 100%);
}

.wz-text-columns__body :is(h1, h2) {
    font-size: 22px;
    line-height: 1.28;
    margin: 26px 0 10px;
}

.wz-text-columns__body h3 {
    font-size: 20px;
    line-height: 1.32;
    margin: 22px 0 8px;
}

.wz-text-columns__body h4 {
    font-size: 18px;
    line-height: 1.35;
    margin: 20px 0 6px;
}

.wz-text-columns__body h5 {
    font-size: 17px;
    line-height: 1.38;
    margin: 18px 0 6px;
}

.wz-text-columns__body h6 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 18px 0 6px;
}

.wz-text-columns__body > :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}

.wz-text-columns__body p,
.wz-text-columns__body ul,
.wz-text-columns__body ol,
.wz-text-columns__body li {
    font-family: var(--wz-font-family);
    font-size: 18px;
    line-height: 1.45;
    color: var(--wz-color-normal-text);
}

.wz-text-columns__body p {
    margin: 0 0 26px;
}

.wz-text-columns__body p:last-child {
    margin-bottom: 0;
}

/* Restore list styling — Camino's _minireset strips list-style globally and
   only restores it inside .rich-text, which our two-column Text template
   doesn't emit. */
.wz-text-columns__body ul,
.wz-text-columns__body ol {
    margin: 0 0 26px;
    padding-left: 24px;
}

.wz-text-columns__body ul {
    list-style: disc outside;
}

.wz-text-columns__body ol {
    list-style: decimal outside;
}

.wz-text-columns__body li {
    margin: 0 0 6px;
}

.wz-text-columns__body li::marker {
    color: var(--wz-color-primary);
}

.wz-text-columns__body :is(ul, ol):last-child {
    margin-bottom: 0;
}

.wz-text-columns__body strong,
.wz-text-columns__body b {
    color: var(--wz-color-primary);
    font-weight: 700;
}

.wz-text-columns__body a {
    color: var(--wz-color-primary);
    font-weight: 500;
}

@media (min-width: 768px) {
    .wz-text-columns__header > * {
        font-size: 32px;
        line-height: 40px;
    }

    .wz-text-columns__body :is(h1, h2) {
        font-size: 24px;
        line-height: 1.28;
        margin-top: 30px;
    }

    .wz-text-columns__body h3 {
        font-size: 21px;
        line-height: 1.32;
        margin-top: 26px;
    }

    .wz-text-columns__body h4 {
        font-size: 19px;
    }

    .wz-text-columns__body h5 {
        font-size: 17px;
    }

    .wz-text-columns__body h6 {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .wz-text-columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 48px;
        align-items: start;
    }

    .wz-text-columns__header {
        padding-right: 64px;
    }

    .wz-text-columns__body {
        font-size: 18px;
        position: relative;
    }

    .wz-text-columns__body::before {
        content: "";
        position: absolute;
        left: -68px;
        top: -8px;
        width: 42px;
        height: 42px;
        float: none;
        max-width: none;
        margin: 0;
        aspect-ratio: auto;
        background: url("../Icons/chevron-circle.svg") no-repeat center / contain;
    }

    /* When a subline is present in the left column, shift the body down so its
       top aligns with the headline (not the subline above it). */
    .wz-text-columns:has(.wz-text-columns__header .subline) .wz-text-columns__body {
        padding-top: 60px;
    }

    .wz-text-columns:has(.wz-text-columns__header .subline) .wz-text-columns__body::before {
        top: 53px;
    }
}

@media (min-width: 1280px) {
    .wz-text-columns__header > * {
        font-size: 36px;
        line-height: 45px;
    }
}

/* Contained layout wrapper — reusable for custom CEs without Camino's component wrapper */
.wz-contained__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1280px) {
    .wz-contained__inner {
        padding: 0 40px;
    }
}

/* Contact map — break out of contained wrapper to full viewport width */
.wz-contact-map {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 420px;
    background: #e9eef0;
    overflow: hidden;
    z-index: 0;
}

@media (min-width: 768px) {
    .wz-contact-map {
        height: 520px;
    }
}

/* MapLibre popup — themed */
.wz-contact-map .maplibregl-popup-content {
    font-family: var(--wz-font-family);
    font-size: 14px;
    line-height: 1.4;
    color: var(--wz-color-text);
    padding: 12px 16px;
    border-radius: 8px;
}

.wz-contact-map .maplibregl-popup-tip {
    border-top-color: #fff;
}

/* Custom marker — white teardrop pin with favicon inside */
.wz-contact-map__marker {
    position: relative;
    width: 88px;
    height: 112px;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    cursor: pointer;
}

.wz-contact-map__marker-pin {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.wz-contact-map__marker-icon {
    position: absolute;
    left: 50%;
    top: 39%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: auto;
    pointer-events: none;
}

.wz-contact__inner {
    display: flex;
    flex-direction: column;
    margin: 60px 0;
    gap: 32px;
}

.wz-contact__heading {
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.25;
    color: var(--wz-color-primary);
    margin: 0;
}

.wz-contact__details {
    font-family: var(--wz-font-family);
    font-size: 16px;
    line-height: 28px;
    color: var(--wz-color-normal-text);
}

.wz-contact__details p {
    margin: 0 0 20px;
    max-width: 100%;
    color: var(--wz-color-normal-text);
}

.wz-contact__details strong,
.wz-contact__details b {
    color: var(--wz-color-primary);
    font-weight: 700;
}

.wz-contact__details a {
    color: var(--wz-color-primary);
    font-weight: 700;
}

/* Action buttons */
.wz-contact__actions-pin {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wz-contact__actions-pin.is-floating {
    position: fixed;
    bottom: 100px;
    z-index: 10;
}

.wz-contact__action {
    display: inline-flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    padding: 1px 56px 1px 20px;
    border: 2.5px solid var(--wz-color-lime);
    border-radius: 40px;
    background: #fff;
    text-decoration: none;
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 16px;
    min-height: 40px;
    width: 200px;
    max-width: 200px;
    align-self: flex-end;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        max-width 0.4s ease,
        min-width 0.4s ease,
        padding 0.4s ease;
}

.wz-contact__action:hover {
    background: rgba(196, 231, 139, 0.1);
}

.wz-contact__action-label {
    display: block;
    text-align: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}

/* Floating state: collapse to icon-only — slide the pill out to the left on
   hover/focus, and the same expansion plays when the pin "lands" (is-floating
   class removed) thanks to the transitions above. */
.wz-contact__actions-pin.is-floating .wz-contact__action {
    width: 40px;
    max-width: 40px;
    min-width: 40px;
    padding: 1px 40px 1px 0;
    border-color: transparent;
    background: transparent;
}

.wz-contact__actions-pin.is-floating .wz-contact__action-label {
    opacity: 0;
    pointer-events: none;
}

.wz-contact__actions-pin.is-floating .wz-contact__action:hover,
.wz-contact__actions-pin.is-floating .wz-contact__action:focus-visible {
    max-width: 200px;
    min-width: 200px;
    padding: 1px 56px 1px 20px;
    border-color: var(--wz-color-lime);
    background: #fff;
}

/* Staggered landing animation — delays apply only to the parked (non-floating)
   target state, so the cascade fires when .is-floating is removed. While
   floating (and during hover), delays are reset to 0 for instant response. */
.wz-contact__actions-pin .wz-contact__action:nth-child(2),
.wz-contact__actions-pin .wz-contact__action:nth-child(2) .wz-contact__action-label {
    transition-delay: 140ms;
}

.wz-contact__actions-pin .wz-contact__action:nth-child(3),
.wz-contact__actions-pin .wz-contact__action:nth-child(3) .wz-contact__action-label {
    transition-delay: 280ms;
}

.wz-contact__actions-pin .wz-contact__action:nth-child(4),
.wz-contact__actions-pin .wz-contact__action:nth-child(4) .wz-contact__action-label {
    transition-delay: 420ms;
}

.wz-contact__actions-pin.is-floating .wz-contact__action,
.wz-contact__actions-pin.is-floating .wz-contact__action-label {
    transition-delay: 0ms;
}

.wz-contact__actions-pin.is-floating .wz-contact__action:hover .wz-contact__action-label,
.wz-contact__actions-pin.is-floating .wz-contact__action:focus-visible .wz-contact__action-label {
    opacity: 1;
}

/* Last action: tighter horizontal padding (label is longer / needs more breathing room). */
.wz-contact__actions-pin .wz-contact__action:last-child {
    padding-left: 15px;
    padding-right: 51px;
}

.wz-contact__actions-pin.is-floating .wz-contact__action:last-child:hover,
.wz-contact__actions-pin.is-floating .wz-contact__action:last-child:focus-visible {
    padding-left: 15px;
    padding-right: 51px;
}

.wz-contact__action-icon {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background: var(--wz-color-lime);
    border-radius: 50%;
    color: var(--wz-color-primary);
    flex-shrink: 0;
}

.wz-contact__action-icon svg {
    width: 30px;
    height: 30px;
}

/* Mobile: full-width pills, smaller icons */
@media (max-width: 767px) {
    .wz-contact__actions-pin {
        gap: 14px;
    }

    .wz-contact__action {
        align-self: stretch;
        width: auto;
        max-width: 100%;
        min-width: 0;
        padding: 1px 56px 1px 16px;
        min-height: 40px;
        font-size: 14px;
        border-width: 2px;
    }

    .wz-contact__action-icon {
        width: 44px;
        height: 44px;
        right: -6px;
    }

    .wz-contact__action-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Desktop: title 1/3, content 2/3 — matches .wz-text-columns proportions */
@media (min-width: 768px) {
    .wz-contact__inner {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 48px;
        align-items: start;
    }

    .wz-contact__title {
        padding-right: 32px;
    }

    .wz-contact__heading {
        font-size: 32px;
        line-height: 45px;
    }

    .wz-contact__content {
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .wz-contact__details {
        flex: 1;
        font-size: 18px;
    }

    .wz-contact__actions {
        flex-shrink: 0;
    }
}

@media (min-width: 1280px) {
    .wz-contact__heading {
        font-size: 36px;
    }
}

/* ==========================================================================
   Process Flow (Behandlungsprozess – overlapping circle chain)
   ========================================================================== */
.wz-process-flow {
    --wz-pf-size: 170px;
    --wz-pf-overlap: 44px;
    --max-width-paragraph: 100%;
    background: transparent;
}

.wz-process-flow__inner {
    --max-width-paragraph: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px 32px;
}

.wz-process-flow__heading {
    margin: 0 0 20px;
    text-align: center;
    color: var(--wz-color-primary);
    font-size: 28px;
    font-weight: 500;
}

.wz-process-flow__chain {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    isolation: isolate;
    counter-reset: wz-pf-step;
}

.wz-process-flow__step {
    --max-width-paragraph: 100%;
    position: relative;
    width: var(--wz-pf-size);
    height: var(--wz-pf-size);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    counter-increment: wz-pf-step;
    opacity: 0;
    transform: translateY(48px) scale(0.7);
    transition:
        opacity 0.7s ease,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wz-process-flow__chain.is-visible .wz-process-flow__step {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(1) { transition-delay: 0ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(2) { transition-delay: 300ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(3) { transition-delay: 600ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(4) { transition-delay: 900ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(5) { transition-delay: 1200ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(6) { transition-delay: 1500ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(7) { transition-delay: 1800ms; }
.wz-process-flow__chain.is-visible .wz-process-flow__step:nth-child(8) { transition-delay: 2100ms; }

/* Reduced-Motion: kein Versatz/Skalierung, aber dennoch ein sanftes Nacheinander-Einblenden,
   damit auch auf entsprechend eingestellten Rechnern (z. B. Fr. Meiburg) „etwas passiert“. */
@media (prefers-reduced-motion: reduce) {
    .wz-process-flow__step {
        opacity: 0;
        transform: none;
        transition: opacity 0.6s ease;
    }

    .wz-process-flow__chain.is-visible .wz-process-flow__step {
        opacity: 1;
    }
}

.wz-process-flow__step + .wz-process-flow__step {
    margin-top: calc(var(--wz-pf-overlap) * -1);
}

.wz-process-flow__step-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(90deg,
        #C4DB9B -0.19%,
        #BFD99A 12.81%,
        #B2D397 26.81%,
        #9CCA92 41.81%,
        #7EBD8C 56.81%,
        #56AC84 72.81%,
        #27977A 88.81%,
        #008772 99.81%);
    z-index: 0;
}

.wz-process-flow__step-label {
    --max-width-paragraph: 100%;
    position: relative;
    z-index: 2;
    display: block;
    max-width: calc(100% - var(--wz-pf-overlap) * 2);
    padding: 0 4px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: break-word;
    hyphens: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.wz-process-flow__step:not(:last-child) .wz-process-flow__step-label {
    transform: translateX(-10px);
}

.wz-process-flow__step-chevron {
    position: absolute;
    top: calc(var(--wz-pf-overlap) / 2);
    left: 50%;
    width: 18px;
    height: 22px;
    transform: translate(-50%, -50%) rotate(90deg);
    color: #fff;
    z-index: 3;
    opacity: 0.95;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.wz-process-flow__step-chevron svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 768px) {
    .wz-process-flow {
        --wz-pf-size: 160px;
        --wz-pf-overlap: 38px;
    }

    .wz-process-flow__inner {
        padding: 0 40px 96px;
    }

    .wz-process-flow__chain {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wz-process-flow__step + .wz-process-flow__step {
        margin-top: 0;
        margin-left: calc(var(--wz-pf-overlap) * -1);
    }

    .wz-process-flow__step-chevron {
        top: 50%;
        left: calc(var(--wz-pf-overlap) / 2);
        transform: translate(-50%, -50%);
    }

    .wz-process-flow__step-label {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .wz-process-flow {
        --wz-pf-size: 190px;
        --wz-pf-overlap: 46px;
    }

    .wz-process-flow__heading {
        font-size: 32px;
    }

    .wz-process-flow__step-label {
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
    .wz-process-flow {
        --wz-pf-size: 200px;
        --wz-pf-overlap: 48px;
    }
}

/* ==========================================================================
   Accordion (Wundlexikon-Pills)
   ========================================================================== */
.wz-accordion {
    --max-width-paragraph: 100%;
    background: var(--wz-color-lime);
    padding: 64px 24px;
}

.wz-accordion__inner {
    --max-width-paragraph: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.wz-accordion__heading {
    margin: 0 0 32px;
    text-align: center;
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
}

.wz-accordion__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wz-accordion__item {
    background: #fff;
    border-radius: 33px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wz-accordion__summary {
    --max-width-paragraph: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 8px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-family: var(--wz-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: var(--wz-color-text);
}

.wz-accordion__summary::-webkit-details-marker {
    display: none;
}

.wz-accordion__summary:focus-visible {
    outline: 2px solid var(--wz-color-primary);
    outline-offset: 2px;
}

.wz-accordion__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.wz-accordion__icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.wz-accordion__item[open] .wz-accordion__icon {
    transform: rotate(90deg);
}

.wz-accordion__title {
    --max-width-paragraph: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.wz-accordion__content {
    --max-width-paragraph: 100%;
    padding: 0 32px 24px;
    color: var(--wz-color-text);
    font-family: var(--wz-font-family);
    font-size: 16px;
    line-height: 1.6;
}

.wz-accordion__content :first-child {
    margin-top: 0;
}

.wz-accordion__content :last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .wz-accordion {
        padding: 96px 40px;
    }

    .wz-accordion__heading {
        font-size: 32px;
    }

    .wz-accordion__summary {
        font-size: 20px;
        padding-right: 32px;
    }

    .wz-accordion__content {
        padding: 0 24px 24px 90px;
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .wz-accordion {
        padding: 120px 60px;
    }

    .wz-accordion__heading {
        font-size: 36px;
    }
}

/* ==========================================================================
   Team
   ========================================================================== */
.wz-team {
    --max-width-paragraph: 100%;
    padding-bottom: 72px;
}

.wz-team__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.wz-team__columns {
    --max-width-paragraph: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.wz-team__columns-header {
    display: none;
}

.wz-team__columns-body {
    --max-width-paragraph: 100%;
    min-width: 0;
    max-width: 100%;
}

.wz-team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.wz-team__card {
    --max-width-paragraph: 100%;
    position: relative;
    align-self: start;
    padding-bottom: 28px;
}

.wz-team__card-frame {
    position: relative;
    box-sizing: border-box;
    border: 8px solid var(--wz-color-lime);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    aspect-ratio: 3 / 4;
    background: transparent;
}

.wz-team__card-frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.wz-team__label {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wz-team__label-icon {
    position: absolute;
    left: -18px;
    bottom: -10px;
    width: 70px;
    height: auto;
    display: block;
    pointer-events: none;
    z-index: 5;
}

.wz-team__label-pill {
    position: relative;
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    padding: 10px 24px;
    border-radius: 40px;
    text-align: center;
    min-width: 180px;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wz-team__label-role {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}

.wz-team__label-name {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.wz-team__label--link .wz-team__label-pill {
    padding-right: 42px;
}

.wz-team__label-chevron {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    z-index: 4;
    pointer-events: none;
}

.wz-team__label-chevron img {
    width: 100%;
    height: 100%;
    display: block;
}

.wz-team__label--link:hover .wz-team__label-chevron,
.wz-team__label--link:focus-visible .wz-team__label-chevron {
    transform: translateY(-50%) translateX(3px);
    transition: transform 0.2s ease;
}

@media (min-width: 768px) {
    .wz-team__inner {
        padding: 0 40px;
    }

    .wz-team__grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        row-gap: 0;
    }

    .wz-team__label-pill {
        padding: 12px 28px;
        min-width: 200px;
    }

    .wz-team__label-role {
        font-size: 13px;
    }

    .wz-team__label-name {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .wz-team__columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 48px;
        align-items: start;
    }

    .wz-team__columns-header {
        display: block;
    }

    .wz-team__grid {
        column-gap: 48px;
    }
}

@media (min-width: 1280px) {
    .wz-team {
        padding-bottom: 100px;
    }
}

/* ==========================================================================
   CTA Card (Ablauf für Zuweiser)
   ========================================================================== */
.wz-cta {
    --max-width-paragraph: 100%;
    position: relative;
    padding: 56px 16px;
    overflow: hidden;
}

.wz-cta__bg {
    --max-width-paragraph: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.wz-cta__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.wz-cta__inner {
    --max-width-paragraph: 100%;
    position: relative;
    z-index: 1;
    max-width: 1260px;
    margin: 0 auto;
}

.wz-cta__card {
    --max-width-paragraph: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 6px solid var(--wz-color-lime);
    border-radius: 28px;
    padding: 40px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.wz-cta__layout {
    --max-width-paragraph: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wz-cta__heading-col,
.wz-cta__body-col {
    --max-width-paragraph: 100%;
}

.wz-cta__heading {
    --max-width-paragraph: 100%;
    margin: 0;
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    color: var(--wz-color-primary);
}

.wz-cta__subtitle {
    --max-width-paragraph: 100%;
    margin: 0 0 24px;
    font-family: var(--wz-font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.45;
    color: var(--wz-color-primary);
}

.wz-cta__steps {
    --max-width-paragraph: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wz-cta__step {
    --max-width-paragraph: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Step badge — lime outer disc (var(--wz-color-lime)) with an inner dark-green ring, matches Figma */
.wz-cta__step-num {
    flex: 0 0 auto;
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wz-color-lime);
    border-radius: 999px;
    color: var(--wz-color-primary);
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 1;
}

.wz-cta__step-num::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 3px solid var(--wz-color-primary);
    border-radius: 999px;
    pointer-events: none;
}

.wz-cta__step-body {
    --max-width-paragraph: 100%;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--wz-color-normal-text);
}

.wz-cta__step-title {
    --max-width-paragraph: 100%;
    margin: 0 0 4px;
    font-family: var(--wz-font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    color: var(--wz-color-primary);
}

.wz-cta__step-desc {
    --max-width-paragraph: 100%;
    margin: 0;
    font-family: var(--wz-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: var(--wz-color-normal-text);
}

.wz-cta__step-desc p,
.wz-cta__step-desc ul,
.wz-cta__step-desc ol,
.wz-cta__step-desc li {
    color: var(--wz-color-normal-text);
}

@media (min-width: 768px) {
    .wz-cta {
        padding: 80px 40px;
    }

    .wz-cta__card {
        padding: 56px 64px;
        border-radius: 36px;
    }

    .wz-cta__layout {
        flex-direction: row;
        gap: 64px;
    }

    .wz-cta__heading-col {
        flex: 0 0 28%;
    }

    .wz-cta__body-col {
        flex: 1 1 auto;
    }

    .wz-cta__heading {
        font-size: 36px;
    }

    .wz-cta__step-title {
        font-size: 18px;
    }

    .wz-cta__step-desc {
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .wz-cta {
        padding: 120px 60px;
    }

    .wz-cta__card {
        padding: 72px 88px;
        border-width: 8px;
        border-radius: 43px;
    }

    .wz-cta__heading {
        font-size: 42px;
    }
}

/* ==========================================================================
   Image-CTA Card (Bullet-Listen mit Chevron-Headline)
   ========================================================================== */
.wz-image-cta {
    --max-width-paragraph: 100%;
    position: relative;
    pointer-events: none;
    padding: 60px 16px 0;
    z-index: 2;
}

.wz-image-cta__bg {
    --max-width-paragraph: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.wz-image-cta__inner {
    position: relative;
    z-index: 1;
}

.wz-image-cta__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.wz-image-cta__inner {
    --max-width-paragraph: 100%;
    position: relative;
    z-index: 1;
    max-width: 1260px;
    margin: 0 auto;
    bottom: -100px;
}

.wz-image-cta__card {
    --max-width-paragraph: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 6px solid var(--wz-color-lime);
    border-radius: 28px;
    padding: 40px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.wz-image-cta__layout {
    --max-width-paragraph: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wz-image-cta__heading-col,
.wz-image-cta__body-col {
    --max-width-paragraph: 100%;
}

.wz-image-cta__heading {
    --max-width-paragraph: 100%;
    margin: 0;
    font-family: var(--wz-font-family);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    color: var(--wz-color-primary);
}

.wz-image-cta__sections {
    --max-width-paragraph: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wz-image-cta__section {
    --max-width-paragraph: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.wz-image-cta__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.wz-image-cta__icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.wz-image-cta__section-body {
    --max-width-paragraph: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.wz-image-cta__section-title {
    --max-width-paragraph: 100%;
    margin: 0 0 16px;
    font-family: var(--wz-font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.45;
    color: var(--wz-color-primary);
}

.wz-image-cta__section-content {
    --max-width-paragraph: 100%;
    color: var(--wz-color-normal-text);
    font-family: var(--wz-font-family);
    font-size: 16px;
    line-height: 1.5;
}

/* Camino's _base.css sets color on p/ul/ol directly — override it so the
   section-content color wins. Leave font-size/line-height alone so the
   inherited Camino paragraph size keeps applying. */
.wz-image-cta__section-content p,
.wz-image-cta__section-content ul,
.wz-image-cta__section-content ol,
.wz-image-cta__section-content li {
    color: var(--wz-color-normal-text);
}

.wz-image-cta__section-content :first-child {
    margin-top: 0;
}

.wz-image-cta__section-content :last-child {
    margin-bottom: 0;
}

.wz-image-cta__section-content ul {
    list-style: none;
    padding-left: 1.25em;
    margin: 0;
}

.wz-image-cta__section-content li {
    position: relative;
    margin: 4px 0;
    padding-left: 0;
}

.wz-image-cta__section-content li::before {
    content: "•";
    position: absolute;
    left: -1.1em;
    top: 0;
    color: currentColor;
    line-height: 1.5;
}

.wz-image-cta__section-content p {
    margin: 0 0 12px;
}

@media (max-width: 767px) {
    .wz-image-cta__section {
        gap: 22px;
    }

    .wz-image-cta__icon {
        display: none;
    }
}

@media (min-width: 768px) {
    .wz-image-cta {
        padding: 80px 40px 0;
    }

    .wz-image-cta__card {
        padding: 56px 64px;
        border-radius: 36px;
    }

    .wz-image-cta__layout {
        flex-direction: row;
        gap: 64px;
    }

    .wz-image-cta__heading-col {
        flex: 0 0 28%;
    }

    .wz-image-cta__body-col {
        flex: 1 1 auto;
    }

    .wz-image-cta__heading {
        font-size: 36px;
    }

    .wz-image-cta__icon {
        width: 42px;
        height: 42px;
    }

    .wz-image-cta__section-title {
        font-size: 18px;
    }

    .wz-image-cta__section-content {
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .wz-image-cta {
        padding: 120px 60px 0;
    }

    .wz-image-cta__card {
        padding: 72px 88px;
        border-width: 8px;
        border-radius: 43px;
    }

    .wz-image-cta__heading {
        font-size: 42px;
    }
}





