:root {
    --petrol: #17384d;
    --blue: #1D4F91;
    --blue-light: #EAF3FA;
    --blue-soft: #F5F9FC;
    --text: #233746;
    --muted: #667985;
    --line: #D8E3EA;
    --white: #fff;
    --shadow: 0 14px 35px rgba(47,85,110,.12);
    --radius: 18px;
    --max: 1120px;
}


/* ========================================
   GRUNDLAGEN
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: 60px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
}


/* =========================================================
   HERO-MAIN
   Eigene Hero-Section nur für die Homepage
========================================================= */

.hero-main {
    width: 100%;
    margin: 0;

    background: #17384d;
    background-image: url("../img/BG_LWS2607-Cover_Web.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: #fff;
    text-align: center;

    padding: 80px 0 160px;
}


/* =========================================================
   HERO-MAIN CONTAINER
========================================================= */

.hero-main-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   LOGO
========================================================= */

.hero-main-logo {
    display: block;

    width: 100%;
    max-width: 320px;
    height: auto;

    margin: 0 auto;

    animation: slideDown 1s ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}


/* =========================================================
   TITEL
========================================================= */

.hero-main-title {
    font-size: clamp(1.8rem, 4.5vw, 42px);
    line-height: 1.15;

    color: #fff;

    /*
       Mehr Abstand zum Logo und zum Untertitel
    */
    margin: 0;
    padding: 28px 0 30px;

    /*
       Einflug von links
    */
    animation: slideLeft 1.2s ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}


/* =========================================================
   UNTERTITEL
========================================================= */

.hero-main-sub {
    font-size: clamp(1rem, 2vw, 20px);
    line-height: 1.6;

    color: #fff;

    margin: 0 auto 40px;

    max-width: 820px;

    text-shadow:
        0 1px 3px rgba(0,0,0,0.5),
        0 4px 12px rgba(0,0,0,0.35);

    animation: slideRight 1.4s ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.8s;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto;

    background: white;
    color: #2F556E;

    padding: 15px 30px;

    text-decoration: none;
    font-weight: 600;

    border-radius: 15px;

    box-shadow: 0 8px 18px rgba(255,255,255,0.3);
    filter: brightness(1.05);

    transition: all 0.25s ease;
	
	animation: slideUp 1.6s ease-out;
    animation-fill-mode: forwards;
    animation-delay: 1.1s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}


/* =========================================================
   HERO-MAIN ANIMATIONEN
========================================================= */

@keyframes slideDown {

    from {
        opacity: 0;
        transform: translateY(-80px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


@keyframes slideLeft {

    from {
        opacity: 0;
        transform: translateX(-100px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}


@keyframes slideRight {

    from {
        opacity: 0;
        transform: translateX(100px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}


@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .hero-main {
        padding: 50px 0 90px;
        background-attachment: scroll;
    }

    .hero-main-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-main-logo {
        max-width: 260px;
    }

    .hero-main-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.15;

        /*
           Auf Mobile etwas weniger Abstand,
           damit die Hero nicht unnötig hoch wird.
        */
        padding: 22px 0 24px;
    }

    .hero-main-sub {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
        line-height: 1.5;

        margin-bottom: 30px;
    }
}


/* =========================================================
   SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 400px) {

    .hero-main {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .hero-main-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-main-logo {
        max-width: 220px;
    }

    .hero-main-title {
        font-size: 1.8rem;
        padding: 20px 0 22px;
    }

    .hero-main-sub {
        font-size: 1rem;
    }
}
```


/* ========================================
   LANDINGPAGE
   Nur für die praxis4U.pro Startseite
   ======================================== */

body.landingpage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landingpage main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.landingpage .hero {
    flex: 1;
    display: flex;
    align-items: center;
}


/* ========================================
   CONTAINER
   ======================================== */

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.container-impressum {
    width: min(700px, calc(100% - 40px));
    margin: 0 auto;
}


/* ========================================
   TOPBAR
   ======================================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;

    background: var(--petrol);
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 0;
    font-size: .92rem;
}


/* ========================================
   TOPBAR INNER
   ======================================== */

.topbar-inner {
    height: 50px;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;

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


/* ========================================
   BRAND
   ======================================== */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand a {
    display: flex;
    align-items: center;
}

.brand img {
    display: block;

    width: 38px;
    height: 34px;

    object-fit: contain;
}

.brand span {
    font-size: 1.02rem;
    line-height: 1;
}


/* ========================================
   HAMBURGER BUTTON
   ======================================== */

.menu-toggle {
    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    margin-left: auto;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    background: #fff;

    border-radius: 2px;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* ========================================
   HAMBURGER → X
   ======================================== */

.topbar.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   SLIDE-IN NAVIGATION
   ======================================== */

.main-navigation {
    position: fixed;

    top: 0;
    right: 0;

    width: min(420px, 88vw);
    height: 100vh;

    background: #fff;
    color: var(--text);

    z-index: 1100;

    overflow-y: auto;

    transform: translateX(100%);

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1);

    box-shadow:
        -10px 0 35px rgba(0, 0, 0, .18);
}


/* geöffnet */

.topbar.menu-open .main-navigation {
    transform: translateX(0);
}


/* ========================================
   NAVIGATION HEADER
   ======================================== */

.navigation-header {
    height: 60px;

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

    padding: 0 28px;

    background: var(--petrol);
    color: #fff;

    font-size: 1rem;
}


/* ========================================
   CLOSE BUTTON
   ======================================== */

.menu-close {
    width: 40px;
    height: 40px;

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

    padding: 0;
    margin: 0;

    border: 0;

    background: transparent;
    color: #fff;

    font-size: 32px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;
}


/* ========================================
   NAVIGATION LIST
   ======================================== */

.navigation-list {
    list-style: none;

    margin: 0;
    padding: 20px 0 40px;
}

.navigation-list li {
    margin: 0;
    padding: 0;
}


/* Hauptlinks */

.navigation-list > li > a,
.submenu-toggle {
    width: 100%;

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

    padding: 16px 28px;

    border: 0;
    border-bottom: 1px solid var(--line);

    background: transparent;

    color: var(--text);

    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;

    text-align: left;
    text-decoration: none;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


/* Hover */

.navigation-list > li > a:hover,
.submenu-toggle:hover {
    background: var(--blue-soft);
    color: var(--blue);
}


/* ========================================
   UNTERMENÜ
   ======================================== */

.submenu {
    list-style: none;

    max-height: 0;

    overflow: hidden;

    margin: 0;
    padding: 0;

    background: var(--blue-soft);

    transition:
        max-height .35s ease;
}


/* geöffnet */

.has-submenu.submenu-open .submenu {
    max-height: 500px;
}


/* Untermenü Links */

.submenu a {
    display: block;

    padding: 12px 28px 12px 48px;

    color: var(--muted);

    font-size: .94rem;
    font-weight: 400;

    text-decoration: none;

    border-bottom: 1px solid var(--line);

    transition:
        background .2s ease,
        color .2s ease,
        padding-left .2s ease;
}

.submenu a:hover {
    background: #fff;
    color: var(--blue);

    padding-left: 54px;
}


/* ========================================
   PLUS / MINUS
   ======================================== */

.submenu-arrow {
    font-size: 1.4rem;
    font-weight: 400;

    line-height: 1;

    transition:
        transform .3s ease;
}

.has-submenu.submenu-open .submenu-arrow {
    transform: rotate(45deg);
}


/* ========================================
   OVERLAY
   ======================================== */

.navigation-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    z-index: 1050;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.topbar.menu-open .navigation-overlay {
    opacity: 1;
    visibility: visible;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    .topbar {
        height: 60px;
        padding: 5px 0;
    }

    .topbar-inner {
        width: calc(100% - 30px);
        height: 50px;
    }

    .brand img {
        width: 34px;
        height: 30px;
    }

    .brand span {
        font-size: .95rem;
    }

    .menu-toggle {
        margin-left: auto;
    }

    body {
        padding-top: 60px;
    }
}


/* ========================================
   HERO
   ======================================== */

.hero {
    background: linear-gradient(135deg, #f8fbfd 0%, #fff 58%);
    padding: 28px 0 54px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    min-height: 535px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

/* ========================================
   HERO – Text darf sich auf kleinen Screens
   innerhalb der Spalte anpassen
   ======================================== */

.hero-copy {
    min-width: 0;
}

.hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* ========================================
   HERO-BILDER
   Salespage + Landingpage
   Gemeinsame Darstellungslogik
   ======================================== */

.hero-photo,
.hero-photo-landing,
.hero-photo-firmen-service,
.hero-photo-firmen-service-anfrage,
.hero-photo-lernzirkel,
.hero-photo-lws2610,
.hero-photo-lws2612,
.hero-photo-lws2609,
.hero-photo-lws2611,
.hero-photo-netzwerk,
.hero-photo-ausbildungsbegleitung,
.hero-photo-praxis-flipchart {
    min-height: 535px;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ========================================
   HERO-BILD LANDINGPAGE
   ======================================== */

.hero-photo-landing {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../img/praxis4u-pro_Main-Cover_Web_1000x800.jpg");
}

/* ========================================
   HERO-BILD FIRMEN-SERTVICE
   ======================================== */

.hero-photo-firmen-service {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../img/praxis4u-pro_Nur-Flip-Cover_Web_1000x789.jpg");
}

/* ========================================
   HERO-BILD FIRMEN-SERTVICE-ANFRAGE
   ======================================== */

.hero-photo-firmen-service-anfrage {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../img/praxis4U_individual_og_1200x630.jpg");
}


/* ========================================
   HERO-BILD SALESPAGE LWS2607
   ======================================== */

.hero-photo {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2607-Cover_Web_500x395.png");
}

/* ========================================
   HERO-BILD SALESPAGE LWS2610
   ======================================== */

.hero-photo-lws2610 {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2610_Kurs-Cover_Opti_1000x789.jpg");
}

/* ========================================
   HERO-BILD SALESPAGE LWS2612
   ======================================== */

.hero-photo-lws2612 {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2612_Kurs-Cover_1000x790.jpg");
}

/* ========================================
   HERO-BILD SALESPAGE lws2609
   ======================================== */

.hero-photo-lws2609 {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2609_Kurs-Bild_1000x790.jpg");
}

/* ========================================
   HERO-BILD SALESPAGE lws2611
   ======================================== */

.hero-photo-lws2611 {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2611_Kurs-Bild_1000x790.jpg");
}

/* ========================================
   HERO-BILD LERNZIRKEL
   ======================================== */

.hero-photo-lernzirkel {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/LWS2600_Kurs-Cover_Lernzirkel.jpg");
}

/* ========================================
   HERO-BILD NETZWERK
   ======================================== */

.hero-photo-netzwerk {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/praxis4u-pro_Netzwerk-Cover_Web_1000x500.jpg");
}

/* ========================================
   HERO-BILD PRAXIS-FLIPCHART
   ======================================== */

.hero-photo-praxis-flipchart {
    background-image:
        linear-gradient(
            90deg,
            rgba(29,79,145,.20),
            rgba(29,79,145,.03)
        ),
        url("../../img/Praxis_Flipchart_1000x789.png");
}

/* ========================================
   HERO-BILD AUSBILDUNGSBEGLEITUNG
   ======================================== */

.hero-photo-ausbildungsbegleitung {
    background-image:

        url("../../img/BG_Kurs-Cover_Ausbildungsbegleitung.png");
}

/* ========================================
   HERO TEXT 
   ======================================== */

.hero-copy {
    padding: 54px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: var(--blue);
    font-size: .92rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero h1 {
    margin: 0;
    color: var(--petrol);
    font-size: clamp(1.1rem, 2.8vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -.035em;
	white-space: nowrap;
}

.hero h2 {
    color: var(--blue);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    margin: 18px 0 20px;
}

.hero p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 560px;
}

.rule {
    width: 120px;
    height: 3px;
    background: var(--blue);
    margin: 4px 0 20px;
}


/* ========================================
   HERO – MOBILE
   ======================================== */

@media (max-width: 700px) {

    .hero {
        padding: 15px 12px 35px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 16px;
    }

    .hero-photo,
    .hero-photo-landing,
    .hero-photo-firmen-service,
    .hero-photo-firmen-service-anfrage,
    .hero-photo-lernzirkel,
    .hero-photo-lws2610,
    .hero-photo-lws2612,
    .hero-photo-lws2609,
    .hero-photo-lws2611,
    .hero-photo-netzwerk,
    .hero-photo-ausbildungsbegleitung,
	.hero-photo-praxis-flipchart	{
        min-height: 300px;
        max-height: 300px;
        height: 300px;
        background-size: cover;
        background-position: center;
    }

    .hero-copy {
        padding: 28px 22px 32px;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(1.45rem, 6vw, 2.8rem);
        line-height: 1.08;
        white-space: normal;
    }
}

@media (max-width: 400px) {

    .hero-copy {
        padding: 24px 18px 28px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.0rem);
        white-space: normal;
    }
}

/* ========================================
   ZUSÄTZLICHE ÜBERBLENDUNG
   nur für die Salespage
   ======================================== */

.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(29,79,145,.12),
            rgba(29,79,145,.02) 65%,
            rgba(255,255,255,.08)
        );
}

/* ========================================
   HERO – ÜBER MICH
   Bild über Text
   ======================================== */

.hero-about .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
}


/* Bild */

.hero-about .hero-photo-markus {
    width: 100%;
    height: 420px;

    background-image: url("../img/Markus_1000x800.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* ========================================
   Photo Leistungen
   ======================================== */

.hero-leistungen .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
}

.hero-leistungen .hero-photo-leistungen {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;

    background-image: url("../img/260527_og-pbb-plaene.jpg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}



/* Textbereich */

.hero-about .hero-copy {
    padding: 42px 56px 48px;
}

.hero-about .hero-copy h2 {
    margin-top: 0;
}

.hero-about .hero-copy p {
    max-width: none;
    margin: 0 0 18px;
}


/* ========================================
   BUTTON / CTA
   ======================================== */


/* Grunddesign aller CTA-Buttons */

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 15px 24px;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(29,79,145,.2);
    transition: .2s ease;
}

.cta:hover {
    transform: translateY(-2px);
    background: #153f74;
}


/* Orange Farbvariante */

.cta-orange {
    background: linear-gradient(90deg, #ffa500, #ffcc70);
    color: #333;
}

.cta-orange:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #ffad1a, #ffd17d);
}


/* ========================================
   HERO META / PILLS
   ======================================== */

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.pill {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: .86rem;
    font-weight: 700;
}

/* ========================================
   FACT META / PILLS-2
   ======================================== */

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.pill-2 {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.3rem;
    font-weight: 700;

}

/* =========================================
   FACTS SECTION
   ========================================= */

.facts-section {
    position: relative;

    background: var(--blue-soft);

    padding: 90px 0;
    overflow: hidden;
}

/* Inhalt über das Hintergrundbild / Overlay */

.facts-section .container {
    position: relative;
    z-index: 1;
}


/* =========================================
   ÜBERSCHRIFT
   ========================================= */

.facts-section .section-head {
    text-align: center;
    margin-bottom: 50px;
}

.facts-section .section-head h2 {
    color: #17384d;
    margin: 0;
}


/* =========================================
   STEPS
   ========================================= */

.facts-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
	
	max-width: 850px;
    margin: 0 auto;

}


/* =========================================
   EINZELNE STEPS
   ========================================= */

.facts-step {
    background: #ffffff;
    color: #333333;

    padding: 30px;

    border-radius: 8px;

    box-sizing: border-box;
	
	text-align: center;

    /* Anfangszustand */
    opacity: 0;

    /* Position außerhalb des sichtbaren Bereichs */
    transform: translateX(100vw);

    /* Animation */
    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease;
}


/* =========================================
   STEP WIRD SICHTBAR
   ========================================= */

.facts-step.is-visible {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================
   ABWECHSELNDE EINFLUGRICHTUNG
   ========================================= */

/* 1., 3. und 5. Step kommen von rechts */

.facts-step:nth-child(odd) {
    transform: translateX(100vw);
}


/* 2. und 4. Step kommen von links */

.facts-step:nth-child(even) {
    transform: translateX(-100vw);
}


/* Sichtbarer Zustand überschreibt die Startposition */

.facts-step:nth-child(odd).is-visible,
.facts-step:nth-child(even).is-visible {
    transform: translateX(0);
}


/* =========================================
   PILL
   ========================================= */

.facts-step .pill-2 {
    display: table;
    margin: 0 auto 20px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .facts-section {
        padding: 60px 0;
    }

    .facts-section .section-head {
        margin-bottom: 35px;
    }

    .facts-step {
        padding: 25px;
    }

}



/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 76px 0;
}

.section-soft {
    background: var(--blue-soft);
}

.section-head-only {
    max-width: 760px;
    margin: 50px auto 0;
    text-align: center;
}

.section-impressum {
    max-width: 760px;
    margin: -50px auto 0;
    text-align: left;
}

.section-head {
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 12px;
    color: var(--petrol);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}


/* ========================================
   SECTION PROBLEM
   ======================================== */

.section-problem {
    background: url("../img/BG_LWS2607-Cover_Web.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: fixed;
	overflow: hidden;
}

.section-problem .section-head h2 {
    color: #fff;
}

.section-problem .section-head p {
    color: rgba(255,255,255,.9);
}


/* ========================================
   PROBLEM / CARDS
   ======================================== */

.problem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 24px rgba(47,85,110,.06);
}

.card h3 {
    color: var(--petrol);
    margin-top: 0;
    font-size: 1.35rem;
}

.card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.card li {
    margin: 9px 0;
}


/* ========================================
   CHECKLIST
   ======================================== */

.checks {
    list-style: none;
    padding: 0 !important;
}

.checks li {
    position: relative;
    padding-left: 30px;
}

.checks li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .05em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 900;
}


/* ========================================
   STEPS
   ======================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 14px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 900;
}

.step strong {
    display: block;
    color: var(--petrol);
    line-height: 1.25;
}


/* ========================================
   ICONS
   ======================================== */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.icon-card {
    text-align: center;
    padding: 26px 18px;
}

.icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border: 2px solid #8FB8DD;
    color: var(--blue);
    font-size: 1.65rem;
    font-weight: 800;
}

.icon-card h3 {
    font-size: 1.05rem;
    color: var(--petrol);
    margin: 0 0 8px;
}

.icon-card p {
    font-size: .93rem;
    color: var(--muted);
    margin: 0;
}


/* ========================================
   INCLUDED / PRICE
   ======================================== */

.included {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}

.price-box {
    background: linear-gradient(145deg, var(--petrol), #1f4660);
    color: #fff;
    border-radius: 22px;
    padding: 34px;
    position: sticky;
    top: 24px;
    box-shadow: var(--shadow);
	overflow: hidden;
}

.price-box .label {
    font-size: .9rem;
    opacity: .82;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    opacity: .85;
}

.price-box ul {
    padding-left: 20px;
}


/* Alle Buttons in der Preisbox gleich breit */

.price-box .cta {
    width: 100%;
    margin-top: 10px;
}

.price-box .note {
    font-size: .82rem;
    opacity: .78;
    margin: 12px 0 0;
}


/* ========================================
   AUDIENCE
   ======================================== */

.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}


/* ========================================
   FAQ
   ======================================== */

.faq {
    max-width: 850px;
    margin: auto;
}

details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--petrol);
}

details p {
    color: var(--muted);
    margin: 12px 0 0;
}


/* ========================================
   FINAL CTA
   ======================================== */

.final {
    background: linear-gradient(135deg, var(--blue-soft), #fff);
    text-align: center;
}

.final h2 {
    color: var(--petrol);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 14px;
}

.final p {
    max-width: 720px;
    margin: 0 auto 25px;
    color: var(--muted);
}


/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #17384d;
    color: #dbe7ee;
    padding: 28px 0;
    font-size: .88rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.footer a:hover {
    color: #fff;
}


/* ========================================
   RESPONSIVE IMAGE
   ======================================== */

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 900px) {

    /* Topbar mobil:
       Logo + praxis4U.pro als gemeinsame Gruppe */

    .topbar-inner {
        justify-content: center;
        min-height: 42px;
    }

    .topbar-claim {
        display: none;
    }

    .brand {
        justify-content: center;
        gap: 7px;
    }

    .brand img {
        width: 32px;
        height: 29px;
    }

    .brand span {
        font-size: 1rem;
    }


    /* Hero auf Tablet einspaltig */

    .hero-grid,
    .problem,
    .included,
    .audience {
        grid-template-columns: 1fr;
    }


    /* Salespage + Landingpage:
       gleiche Bildhöhe */

    .hero-photo,
    .hero-photo-landing {
        min-height: 380px;
    }


    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-box {
        position: static;
    }
}


/* ========================================
   SMALL MOBILE
   ======================================== */

@media (max-width: 600px) {

    .container {
        width: min(var(--max), calc(100% - 24px));
    }


    /* Topbar noch kompakter */

    .topbar-inner {
        justify-content: center;
    }

    .brand {
        gap: 6px;
    }

    .brand img {
        width: 30px;
        height: 27px;
    }

    .brand span {
        font-size: .98rem;
    }


    /* Hero Text */

    .hero-copy {
        padding: 34px 26px;
    }


    /* Salespage + Landingpage:
       exakt gleiche mobile Bildhöhe */

    .hero-photo,
    .hero-photo-landing {
        min-height: 300px;
    }


    section {
        padding: 54px 0;
    }

    .steps,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }


    /* ====================================
       ÜBER MICH – MOBILE
       ==================================== */

    .hero-about .hero-photo-markus {
        height: 280px;
    }

    .hero-about .hero-copy {
        padding: 32px 26px 38px;
    }
}


/* ========================================
   CHECKMARK SVG
   ======================================== */

.checkmark-svg {
    list-style: none;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 1px;
    margin: 20px;
}

.checkmark-svg li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}


/* Text sauber als Block behandeln */

.check-text {
    display: left;
    line-height: 1.4;
}

.checkmark-svg li::marker {
    content: "";
}


/* SVG Größe */

.check-icon {
    margin-top: 0.15em;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* Kreis */

.circle {
    fill: none;
    stroke: #28a745;
    stroke-width: 2;

    stroke-dasharray: 63;
    stroke-dashoffset: 63;

    animation: drawCircle 0.6s ease forwards;
}


/* Häkchen */

.check {
    fill: none;
    stroke: #28a745;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 20;
    stroke-dashoffset: 20;

    animation: drawCheck 0.4s ease forwards;
    animation-delay: 0.6s;
}


/* Animationen */

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}


/* Animation erst bei .animate */

.animate .circle {
    animation: drawCircle 0.6s ease forwards;
}

.animate .check {
    animation: drawCheck 0.4s ease forwards;
    animation-delay: 0.6s;
}

/* =========================================================
   CHECKLISTEN
========================================================= */

.checkmark-svg,
.checkmark-beratung {
    list-style: none;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 1px;
    margin: 20px;
}

.checkmark-svg li,
.checkmark-beratung li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.check-text {
    display: block;
    line-height: 1.2;
    flex: 1;
	font-size: 17px;
}

.check-icon {
    margin-top: 0.15em;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* =========================================================
   CHECKMARK FARBEN / ANIMATION
========================================================= */

.circle,
.check {
    fill: none;
    stroke: #28a745;
}

.circle {
    stroke-width: 2;
    stroke-dasharray: 63;
    stroke-dashoffset: 63;

    animation: drawCircle 0.6s ease forwards;
}

.check {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 20;
    stroke-dashoffset: 20;

    animation: drawCheck 0.4s ease forwards;
    animation-delay: 0.6s;
}

.checkmark-beratung.orange .circle,
.checkmark-beratung.orange .check {
    stroke: #f57c00;
}

.checkmark-beratung.green .circle,
.checkmark-beratung.green .check {
    stroke: #28a745;
}

.checkmark-beratung.blue .circle,
.checkmark-beratung.blue .check {
    stroke: #1565c0;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.animate .circle {
    animation: drawCircle 0.6s ease forwards;
}

.animate .check {
    animation: drawCheck 0.4s ease forwards;
    animation-delay: 0.6s;
}


/* ========================================
   ANSATZ
   ======================================== */

.ansatz-layout {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

.ansatz-graphic img {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: sticky;
    top: 100px;
    transform: translateX(-110px) translateY(-20px);
}


/* ========================================
   ANSATZ – MOBILE
   ======================================== */

@media (max-width: 700px) {

    .ansatz-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ansatz-graphic {
        width: 100%;
    }

    .ansatz-graphic img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: static;
        transform: none;
    }

}


/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
	width: 100%;
    max-width: 100%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 18px;
    font-family: inherit;
	width: 100%;
    max-width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #2F556E;
}

.checkbox {
    display: block;
    width: 100%;
    text-align: left;
    margin: 15px 0;
}

.checkbox input[type="checkbox"] {
    display: block;
    width: auto;
    margin: 0 0 8px 0;
}

.checkbox span {
    display: block;
    width: 100%;
    text-align: left;
    line-height: 1.5;
}

/* ========================================
   BUTTON
   ======================================== */

button {
    display: inline-block;
    background: white;
    color: #2F556E;

    padding: 15px 30px;
    font-size: 17px;
    font-weight: 600;

    border-radius: 5px;
    text-decoration: none;

    font-family: inherit;
    border: none;
    cursor: pointer;
}


/* ========================================
   HIDDEN FIELD
   ======================================== */

.hidden-field {
    display: none;
}

/* Container */
.readmore-box {
  margin-top: 1rem;
}

/* Versteckter Bereich */
.readmore-content {
  max-height: 0;
  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.5s ease,
    opacity 0.3s ease;

  will-change: max-height;
}

/* Geöffnet */
.readmore-content.open {
  max-height: 2000px; /* groß genug */
  opacity: 1;

  margin-bottom: 1rem;
}

.readmore-button {

  background: linear-gradient(
    135deg,
    #3b6885,
    #2F556E
  );

  color: white;

  border: none;
  border-radius: 10px;

  padding: 0.8rem 1.2rem;

  font-weight: 600;

  box-shadow:
    0 10px 25px rgba(47,85,110,0.22);

  transition: all 0.25s ease;
}

.readmore-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(47,85,110,0.32);
}

/* =========================================================
   LAUNCH BADGE (Fixiert auf allen Geräten)
========================================================= */

.price-box {
    position: relative; /* WICHTIG: Das fesselt das Badge an diese Box! */
}

/* 2. Dein perfektes Badge */
.price-box-launch-badge {
    position: absolute;

    top: 30px;
    right: -40px;

    width: 180px;

    padding: 8px 0;

    background: #E67E22;
    color: #ffffff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    transform: rotate(45deg);

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);

    z-index: 10;
}

.hero-copy {
    position: relative; /* WICHTIG: Das fesselt das Badge an diese Box! */
}

/* 2. Dein perfektes Badge */
.hero-copy-launch-badge {
    position: absolute;

    top: -2px;
    right: 0px;

    width: 350px;

    padding: 5px 0;

    background: #E67E22;
    color: #ffffff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    transform: rotate(0deg);

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);

    z-index: 10;
}

.card-webinare {
    position: relative;

}

/* Badge über der Grafik */
.card-webinare-aktion-badge {
    position: absolute;

    top: 220px;
    left: 150px;
    width: 300px;
	max-width: 90%;
    transform: translateX(-50%);

    padding: 3px 0;

    background: #E67E22;
    color: #ffffff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);

    z-index: 1000;
}

/* Badge über der Grafik */
.card-webinare-probono {
    position: absolute;

    top: 220px;
    left: 50px;
    width: 100px;
	max-width: 90%;
    transform: translateX(-50%);

    padding: 3px 0;

    background: #E67E22;
    color: #ffffff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);

    z-index: 1000;
}

@media (max-width: 700px) {

    .card-webinare-aktion-badge {
        top: 120px;
		left: 135px;
        width: 90%;
        max-width: 90%;
        font-size: 12px;
        padding: 6px 0;
    }

}

@media (max-width: 700px) {

    .card-webinare-probono	{
        top: 120px;
		left: 45px;
        width: 100;
        max-width: 90%;
        font-size: 12px;
        padding: 6px 0;
    }

}

/* ========================================
   WEBINARE / CARDS
   ======================================== */
   
.section-webinare {
    background: url("../img/BG_LWS2607-Cover_Web.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section-webinare .section-head h2 {
    color: #fff;
}

.section-webinare .section-head p {
    color: rgba(255,255,255,.9);
}

.webinare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.card-webinare {
    position: relative;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;

    box-shadow: 0 8px 24px rgba(47,85,110,.06);
	overflow: hidden;
}

.card-webinare img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}


/* ========================================
   WEBINAR BADGE
   ======================================== */

.card-webinare-launch-badge {
    position: absolute;

    top: 220px;
    right: 410px;

    width: 180px;

    padding: 8px 0;

    background: #E67E22;
    color: #ffffff;

    text-align: center;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    transform: rotate(45deg);

    box-shadow: 0 3px 8px rgba(0,0,0,0.18);

    z-index: 0;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {

    .webinare {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

/* =========================================================
   COUNTDOWN UNTER DER PRICE-BOX
========================================================= */

.countdown-wrapper {
    grid-column: 2;
	width: 100%;
    max-width: 420px;
    margin: 18px auto 0;
    text-align: center;
}

#clean-countdown {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

#clean-countdown > div {
    flex: 1;
    min-width: 0;
    padding: 10px 6px 8px;
    background: #2F556E;
    border-radius: 6px;
    box-sizing: border-box;
}

#clean-countdown span {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
}

#clean-countdown small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1;
    color: #ffffff;
    opacity: 0.9;
}

.countdown-text {
    margin-top: 8px;
    font-size: 13px;
    color: #2F556E;
    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .countdown-wrapper {
		grid-column: 1;
        max-width: 100%;
        margin-top: 15px;
    }

    #clean-countdown {
        gap: 5px;
    }

    #clean-countdown > div {
        padding: 8px 4px 7px;
        border-radius: 5px;
    }

    #clean-countdown span {
        font-size: 24px;
    }

    #clean-countdown small {
        margin-top: 4px;
        font-size: 10px;
    }

    .countdown-text {
        font-size: 12px;
        margin-top: 7px;
    }
}

.fade-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}


.fade-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}


.fade-up {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.6);

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

    /* Modal über die gesamte Website legen */
    z-index: 999999;

    padding: 20px;

    box-sizing: border-box;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;

    padding: 0.5rem 1rem 2rem 2rem;

    border-radius: 14px;

    max-width: 600px;

    width: 90%;

    max-height: 90vh;

    overflow-y: auto;

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);

    transform: scale(0.9);

    opacity: 1 !important;

    transition: all 0.3s ease;

    position: relative;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}


/* =========================================================
   MODAL FARBEN
========================================================= */

.modal-content.plan-s {
    background: #f4ead8 !important;
    border-left: 6px solid #f57c00;
}

.modal-content.plan-m {
    background: #dcece6 !important;
    border-left: 6px solid #2e7d32;
}

.modal-content.plan-l {
    background: #d9e8f7 !important;
    border-left: 6px solid #1565c0;
}


/* =========================================================
   CLOSE
========================================================= */

.close {
    position: absolute;

    top: 5px;
    right: 20px;

    font-size: 48px;

    cursor: pointer;

    line-height: 1;

    z-index: 1000000;
}


/* =========================================================
   MODAL CARDS
========================================================= */

.modal-trigger {
    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.modal-trigger:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


/* =========================================================
   HIDDEN MODAL CARDS
========================================================= */

.modal-data {
    display: none;
}

/* =========================================================
   LEISTUNGS-BEREICH
   Cards + Praxisberatung
   Nur für die Seite #leistungen
   ========================================================= */


/* =========================================
   LEISTUNGS-BEREICH
   ========================================= */

#leistungen {
    padding: 15px 0;
}

#leistungen .container {
    width: min(var(--max), calc(100% - 20px));
    margin: -30px auto 0;
    box-sizing: border-box;
}


/* =========================================
   CARD-CONTAINER
   ========================================= */

#leistungen .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin: 10px 0 15px;
    box-sizing: border-box;
}


/* =========================================================
   DIE 6 LEISTUNGS-CARDS
   Desktop: 3 Cards pro Reihe
   ========================================================= */

#leistungen .cards > .card,
#leistungen .cards > .card-2 {
    position: relative;
    overflow: visible;

    flex: 0 0 calc((100% - 30px) / 3);
    min-width: 0;
    max-width: 100%;

    box-sizing: border-box;

    padding: 12px 20px 20px;

    border-radius: 8px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    background: #fff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================
   NORMALE LEISTUNGS-CARDS
   ========================================= */

#leistungen .card.border-orange {
    border-top: 4px solid #ffa500;
}

#leistungen .card.border-green {
    border-top: 4px solid #3cb371;
}

#leistungen .card.border-blue {
    border-top: 4px solid #1e90ff;
}


/* =========================================
   PLAN-CARDS
   ========================================= */

#leistungen .card-2.plan-s {
    background: #f4ead8 !important;
    border-top: 4px solid #ffa500;
}

#leistungen .card-2.plan-m {
    background: rgba(60, 179, 113, 0.12) !important;
    border-top: 4px solid #3cb371;

    transform: none;
}

#leistungen .card-2.plan-l {
    background: rgba(30, 144, 255, 0.12) !important;
    border-top: 4px solid #1e90ff;
}


/* =========================================
   HOVER
   ========================================= */

#leistungen .card-2:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);
}


/* Plan M bekommt eine leichte Hervorhebung */

#leistungen .card-2.plan-m:hover {
    transform: scale(1.03) translateY(-6px);
}



/*
   Die Praxisberatung verwendet .card-full statt .card.
   Deshalb wird sie hier bewusst separat definiert.
*/

#leistungen .cards > .card-full {
    position: relative;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding: 20px;

    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08);

    background: #fff;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================
   ÜBERSCHRIFTEN DER LEISTUNGS-CARDS
   ========================================= */

#leistungen .card h3 {
    margin: 0 0 12px;

    color: var(--petrol);

    font-size: 1.3rem;
    line-height: 1.25;

    overflow-wrap: break-word;
}

#leistungen .card-2 h4 {
    margin: 0 0 10px;

    color: var(--petrol);

    font-size: 1.3rem;
    line-height: 1.25;

    overflow-wrap: break-word;
}


/* =========================================
   BADGE
   ========================================= */

#leistungen .card-badge {
    position: absolute;

    top: -12px;
    right: 20px;

    background: #9333ea;
    color: #fff;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;

    padding: 0.35rem 0.7rem;

    border-radius: 999px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    text-transform: uppercase;

    white-space: nowrap;
}


/* Badge Praxisberatung */

#leistungen .cardfull-badge {
    position: absolute;

    top: -12px;
    right: 20px;

    white-space: nowrap;
}


/* =========================================
   TEXT INNERHALB DER LEISTUNGS-CARDS
   ========================================= */

#leistungen .card p,
#leistungen .card-2 p,
#leistungen .card li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}


/* =========================================
   PAKET-LISTEN
   ========================================= */

#leistungen .paket-list {
    padding-left: 20px;
    margin-top: 10px;

    box-sizing: border-box;
}

#leistungen .paket-list li {
    margin-bottom: 6px;
}


/* =========================================
   KLEINER HINWEIS
   ========================================= */

#leistungen .small-note {
    margin-top: -5px;

    font-size: 0.9rem;

    color: var(--muted);
}


/* =========================================
   MEHR ERFAHREN
   ========================================= */

#leistungen .card-more {
    margin-top: 15px;

    font-weight: 700;

    color: var(--blue);

    cursor: pointer;
}


/* =========================================
   PROMO
   ========================================= */

#leistungen .card-promo {
    margin-top: 1.5rem;

    padding: 0.5rem 1.1rem;

    background: linear-gradient(
        135deg,
        #8b5cf6,
        #6d28d9
    );

    color: #fff;

    border-radius: 12px;

    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;

    box-shadow:
        0 12px 30px rgba(124, 58, 237, 0.18);

    border: 1px solid rgba(255, 255, 255, 0.15);

    overflow-wrap: break-word;
}


/* =========================================
   DESKTOP-REIHENFOLGE
   ========================================= */

/*
   Reihe 1:
   Orange | Grün | Blau

   Reihe 2:
   Plan S | Plan M | Plan L
*/

#leistungen .border-orange {
    order: 1;
}

#leistungen .border-green {
    order: 2;
}

#leistungen .border-blue {
    order: 3;
}

#leistungen .plan-s {
    order: 4;
}

#leistungen .plan-m {
    order: 5;
}

#leistungen .plan-l {
    order: 6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) and (min-width: 701px) {

    #leistungen .card h3,
    #leistungen .card-2 h4 {
        font-size: 1.15rem;
    }

    #leistungen .card p,
    #leistungen .card-2 p,
    #leistungen .card li {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #leistungen .paket-list {
        padding-left: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

/*
   Orange
   Plan S

   Grün
   Plan M

   Blau
   Plan L
*/

@media (max-width: 700px) {

    #leistungen {
        padding: 15px 0;
    }

    #leistungen .container {
        width: calc(100% - 20px);
        max-width: 100%;
    }

    #leistungen .cards {
        flex-direction: column;
        gap: 18px;

        margin-top: 20px;
        margin-bottom: 15px;
    }


    /* -------------------------------------
       LEISTUNGS-CARDS
       ------------------------------------- */

    #leistungen .cards > .card,
    #leistungen .cards > .card-2 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        padding: 12px 18px 20px;
    }


    /* -------------------------------------
       PRAXISBERATUNG
       ------------------------------------- */

    #leistungen .cards > .card-full {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        padding: 18px 18px 20px;
    }


    /* -------------------------------------
       MOBILE-SCHRIFT
       ------------------------------------- */

    #leistungen .card h3,
    #leistungen .card-2 h4 {
        font-size: clamp(1.05rem, 4.5vw, 1.2rem);
        line-height: 1.3;

        margin-bottom: 10px;
    }


    #leistungen .card p,
    #leistungen .card-2 p {
        font-size: clamp(0.92rem, 3.8vw, 1rem);
        line-height: 1.55;
    }


    #leistungen .card li,
    #leistungen .card-2 li {
        font-size: clamp(0.9rem, 3.7vw, 0.98rem);
        line-height: 1.5;

        margin-bottom: 6px;
    }



    /* -------------------------------------
       LISTEN ETWAS KOMPAKTER
       ------------------------------------- */

    #leistungen .paket-list {
        padding-left: 0px;
        margin-top: 8px;
    }


    /* -------------------------------------
       BADGE
       ------------------------------------- */

    #leistungen .card-badge {
        top: -10px;
        right: 14px;

        font-size: 0.68rem;

        padding: 0.3rem 0.6rem;
    }

    #leistungen .cardfull-badge {
        top: -10px;
        right: 14px;

        font-size: 0.68rem;
    }


    /* -------------------------------------
       MEHR ERFAHREN
       ------------------------------------- */

    #leistungen .card-more {
        margin-top: 12px;

        font-size: 0.95rem;
    }


    /* -------------------------------------
       PROMO
       ------------------------------------- */

    #leistungen .card-promo {
        margin-top: 1.2rem;

        padding: 0.55rem 0.8rem;

        font-size: 0.85rem;
        line-height: 1.45;

        border-radius: 10px;
    }


    /* -------------------------------------
       MOBILE-REIHENFOLGE
       ------------------------------------- */

    #leistungen .border-orange {
        order: 1;
    }

    #leistungen .plan-s {
        order: 2;
    }

    #leistungen .border-green {
        order: 3;
    }

    #leistungen .plan-m {
        order: 4;
    }

    #leistungen .border-blue {
        order: 5;
    }

    #leistungen .plan-l {
        order: 6;
    }


    /* -------------------------------------
       PLAN M AUF MOBILE
       ------------------------------------- */

    #leistungen .card-2.plan-m {
        transform: none;
    }

    #leistungen .card-2.plan-m:hover {
        transform: translateY(-6px);
    }

}


/* =========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 400px) {

    #leistungen .container {
        width: calc(100% - 16px);
    }

    #leistungen .cards {
        gap: 15px;
    }


    /* -------------------------------------
       LEISTUNGS-CARDS
       ------------------------------------- */

    #leistungen .cards > .card,
    #leistungen .cards > .card-2 {
        padding: 12px 15px 18px;
    }


    /* -------------------------------------
       PRAXISBERATUNG
       ------------------------------------- */

    #leistungen .cards > .card-full {
        padding: 16px 15px 18px;
    }


    /* -------------------------------------
       TYPOGRAFIE
       ------------------------------------- */

    #leistungen .card h3,
    #leistungen .card-2 h4 {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    #leistungen .card p,
    #leistungen .card-2 p {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    #leistungen .card li,
    #leistungen .card-2 li {
        font-size: 0.88rem;
        line-height: 1.45;
    }


    #leistungen .small-note {
        font-size: 0.82rem;
    }


    #leistungen .card-promo {
        font-size: 0.82rem;
        padding: 0.5rem 0.7rem;
    }


}

.abschluss-bereich {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}