/* 
   Zaehne24 - Premium Design System (Unified)
   All Vue scoped styles merged into one file.
*/

/* ═══ Local Font: Outfit (kein CDN!) ═══ */
/* latin-ext */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/fonts/outfit-latin-ext.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;
}

/* latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/fonts/outfit-latin.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;
}

:root {
    --c-primary: #007A3D;
    --c-primary-hover: #006633;
    --c-secondary: #1A1A1A;
    --c-secondary-hover: #333333;
    --c-accent: #D4AF37;
    --c-text-main: #222222;
    --c-text-muted: #222222;
    --c-bg-main: #FFFFFF;
    --c-bg-light: #F8FAFC;
    --c-bg-dark: #1A1A1A;
    --header-height: 84px;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 122, 61, 0.3);
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ Reset ═══ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ═══ Skip-Link (Barrierefreiheit) ═══ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 99999;
    padding: 0.75rem 1.5rem;
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--c-text-main);
    background-color: var(--c-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══ Focus-Styles (WCAG 2.4.7 — Barrierefreiheit) ═══ */
*:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.15);
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--trans-fast);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    color: var(--c-secondary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

/* ═══ Layout Utilities ═══ */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-xs);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

.section {
    padding: var(--space-lg) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-xl) 0;
    }
}

.bg-light {
    background-color: var(--c-bg-light);
}

.bg-white {
    background-color: var(--c-bg-main);
}

.bg-dark {
    background-color: var(--c-bg-dark);
}

.text-white {
    color: #fff;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #fff;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--c-primary);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mt-md {
    margin-top: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.pb-lg {
    padding-bottom: var(--space-xl);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xs);
}

@media (min-width: 768px) {
    .container-narrow {
        padding: 0 var(--space-sm);
    }
}

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--trans-normal);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--c-primary);
    color: #fff !important;
    box-shadow: var(--shadow-sm), 0 4px 14px rgba(0, 166, 81, 0.25);
}

.btn-primary:hover {
    background-color: var(--c-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-secondary {
    background-color: var(--c-secondary);
    color: #fff !important;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--c-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--c-secondary) !important;
    border-color: var(--c-secondary);
}

.btn-outline:hover {
    background-color: var(--c-secondary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--c-secondary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--c-text-muted);
}

/* ═══ Container ═══ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ═══ Site Header ═══ */
.site-header {
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, rgba(0, 166, 81, 0.12) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(0, 166, 81, 0.12) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--c-primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--trans-normal);
}

.site-header:hover {
    background: linear-gradient(90deg, rgba(0, 166, 81, 0.15) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(0, 166, 81, 0.15) 100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: auto;
    max-height: 48px;
    object-fit: contain;
    transition: transform var(--trans-fast);
}

.logo:hover img {
    transform: scale(1.02);
}

/* Mobile-first: Nav defaults to hamburger dropdown */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--glass-border);
    z-index: 9999;
}

.main-nav.active {
    display: flex;
    flex-direction: column;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a:not(.btn) {
    font-weight: 500;
    color: var(--c-secondary);
    font-size: 1.25rem;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-primary);
    transition: width var(--trans-normal);
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
    color: var(--c-primary);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
    width: 100%;
}

.main-nav .btn {
    width: 100%;
    max-width: 300px;
}

.hamburger {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--c-secondary);
    position: relative;
    transition: var(--trans-fast);
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
    transition: inherit;
    border-radius: 2px;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

button[aria-expanded="true"] .hamburger {
    background: transparent;
}

button[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

button[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* md: Desktop navigation */
@media (min-width: 768px) {
    .site-header {
        padding: 1.25rem 0;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-bottom: none;
        margin-left: auto;
        width: auto;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 2.5rem;
        justify-content: flex-end;
    }

    .main-nav a:not(.btn) {
        font-size: 1.05rem;
    }

    .main-nav .btn {
        width: auto;
        max-width: none;
    }
}

/* ═══ Footer ═══ */
.site-footer {
    background: linear-gradient(90deg, rgba(0, 166, 81, 0.12) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(0, 166, 81, 0.12) 100%);
    color: #222;
    padding: 2rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--c-primary);
}

/* Mobile-first: footer 2-column default */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    max-height: 36px;
}

.footer-logo-reger {
    max-height: 39px;
    width: auto;
    transition: opacity var(--trans-fast);
}

.footer-logo-reger:hover {
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
}

.footer-col h4 {
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-col a {
    font-size: 0.85rem;
    transition: color var(--trans-fast);
}

.footer-col a:hover {
    color: var(--c-primary);
}

.footer-col p {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: #666;
}

.footer-bottom a {
    color: #444;
    transition: color var(--trans-fast);
}

.footer-bottom a:hover {
    color: var(--c-primary);
}

/* md: Footer 4-column desktop */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--space-md);
        text-align: left;
    }

    .footer-logo {
        margin: 0;
    }
}

/* lg: Footer logos nebeneinander */
@media (min-width: 1024px) {
    .footer-logos {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-logo-reger {
        max-height: 40px;
    }
}

/* ═══ Hero Section ═══ */
.hero {
    position: relative;
    padding: var(--space-lg) 0;
    overflow: hidden;
    background-color: var(--c-bg-light);
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Mobile-first: single column, centered */
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-text {
    text-align: center;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-primary);
    background: rgba(0, 166, 81, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 1.75rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    color: var(--c-secondary);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.hero-trust {
    display: flex;
    gap: 0.75rem;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    justify-content: center;
    width: 100%;
    font-size: 0.8rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--c-text-main);
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
}

.hero-image-container {
    position: relative;
    order: 2;
    max-width: 60%;
    margin: 0 auto;
    padding: 0;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 40px;
    left: 40px;
    border: 2px solid rgba(0, 166, 81, 0.3);
    border-radius: 40px 12px 40px 12px;
    z-index: 0;
    transition: transform var(--trans-slow);
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: 40px 12px 40px 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-image img {
    transform: scale(1.05);
}

.hero-image-container:hover::before {
    transform: translate(-10px, 10px);
    border-color: var(--c-primary);
}

/* sm: slightly larger hero */
@media (min-width: 640px) {
    .hero h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero .subtitle {
        font-size: 1.25rem;
    }

    .hero-actions .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }

    .hero-trust {
        gap: var(--space-md);
        font-size: inherit;
    }
}

/* lg: 2-column hero layout */
@media (min-width: 1024px) {
    .hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-xl);
    }

    .hero-text {
        text-align: left;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }

    .hero .subtitle {
        font-size: 1.35rem;
        margin-bottom: var(--space-lg);
        max-width: 90%;
    }

    .hero-actions {
        justify-content: flex-start;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
    }

    .hero-actions .btn {
        padding: 0.875rem 2rem;
        font-size: 1.05rem;
    }

    .hero-trust {
        justify-content: flex-start;
        padding-top: var(--space-md);
    }

    .hero-image-container {
        max-width: 100%;
        margin: 0;
    }

    .hero-image-container::before {
        top: -20px;
        right: -20px;
        bottom: 20px;
        left: 20px;
    }
}

/* ═══ App Section ═══ */
.app-section {
    padding: var(--space-xl) 0;
    overflow: hidden;
}

/* Mobile-first: app showcase stacked */
.app-showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.features-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    max-width: 100%;
    width: 100%;
    justify-content: center;
}

/* Mobile-first: left features row (not reversed) */
.left-features .feature-card {
    text-align: left;
    flex-direction: row;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform var(--trans-normal), box-shadow var(--trans-normal);
    width: 100%;
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 166, 81, 0.3);
}

.feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.icon-gold {
    color: var(--c-primary);
}

.icon-gold svg {
    width: 32px;
    height: 32px;
}

.feature-text h3 {
    color: var(--c-primary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.feature-text p {
    color: var(--c-text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.phone-container {
    position: relative;
    flex-shrink: 0;
    perspective: 1000px;
    z-index: 2;
}

/* Mobile-first: smaller phone */
.smartphone {
    width: 200px;
    height: 400px;
    background: #fdfdfd;
    border: 8px solid #e0e0e0;
    border-radius: 28px;
    position: relative;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(15, 23, 42, 0.15), 0 0 0 2px #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-container:hover .smartphone {
    transform: translateY(-10px) rotateY(-5deg);
}

.smartphone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #ccc;
    border-radius: 10px;
    z-index: 10;
}

.screen {
    margin-top: 28px;
    width: 100%;
    height: calc(100% - 60px);
    background: #000;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    overflow: hidden;
    position: relative;
}

.home-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border: 2px solid #ccc;
    border-radius: 50%;
}

.app-mockup {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: var(--c-bg-light);
    color: var(--c-secondary);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #eee;
}

.mockup-image {
    width: 100%;
    flex: 1;
    object-fit: cover;
}

.mockup-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.nav-item {
    font-size: 0.6rem;
    color: var(--c-primary);
    text-transform: uppercase;
    font-weight: bold;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 500px;
    background: var(--c-primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

/* sm: feature cards side-by-side + benefits 2-col */
@media (min-width: 640px) {
    .feature-card {
        width: calc(50% - 1rem);
        min-width: 240px;
        padding: 1rem;
    }

    .features-column {
        gap: 0.75rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-text h3 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .feature-card {
        gap: 1.25rem;
    }

    .benefits-list-vertical {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat-item {
        padding: var(--space-lg) var(--space-md);
    }

    .smartphone {
        width: 240px;
        height: 480px;
        border-width: 10px;
        border-radius: 34px;
    }

    .smartphone::before {
        width: 50px;
        height: 5px;
        top: 12px;
    }

    .screen {
        margin-top: 34px;
        height: calc(100% - 76px);
    }

    .home-button {
        width: 34px;
        height: 34px;
        bottom: 12px;
    }
}

/* lg: app showcase side-by-side with phone */
@media (min-width: 1024px) {
    .app-showcase {
        flex-direction: row;
        gap: var(--space-lg);
        margin-top: var(--space-xl);
    }

    .features-column {
        flex-direction: column;
        max-width: 350px;
        gap: var(--space-xl);
    }

    .left-features .feature-card {
        text-align: right;
        flex-direction: row-reverse;
    }

    .feature-card {
        width: auto;
        min-width: unset;
        padding: 1.5rem;
    }

    .feature-text h3 {
        font-size: 1.15rem;
    }

    .feature-text p {
        font-size: 0.95rem;
    }

    .smartphone {
        width: 300px;
        height: 600px;
        border-width: 12px;
        border-radius: 40px;
    }

    .smartphone::before {
        width: 60px;
        height: 6px;
        top: 15px;
    }

    .screen {
        margin-top: 40px;
        height: calc(100% - 90px);
    }

    .home-button {
        width: 40px;
        height: 40px;
        bottom: 15px;
    }

    .image-decoration {
        display: block;
        position: absolute;
        top: -1.5rem;
        left: -1.5rem;
        width: 100%;
        height: 100%;
        border: 2px solid var(--c-primary);
        border-radius: var(--radius-lg);
        z-index: 1;
        opacity: 0.5;
        transition: transform var(--trans-slow);
    }

    .image-box {
        padding: 1rem;
    }

    .feature-item {
        gap: 1.25rem;
        padding: var(--space-sm);
    }
}

/* Mobile-first: split layout single column */
/* ═══ Services Praxen ═══ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.intro-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header-left {
    margin-bottom: var(--space-md);
}

.section-header-left h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--c-secondary);
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--c-text-main);
}

.intro-text p {
    margin-bottom: 1.25rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.benefits-column {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefits-title {
    font-size: 1.5rem;
    color: #fff;
    background: var(--c-secondary);
    margin: 0;
    padding: 1.25rem 1.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Mobile-first: benefits 1-col */
.benefits-list-vertical {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--c-bg-light);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--trans-fast);
}

.benefit-item:hover {
    background: #fff;
    border-color: rgba(0, 166, 81, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.icon-wrap {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrap svg {
    width: 22px;
    height: 22px;
}

.benefit-item span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--c-text-main);
    line-height: 1.4;
}

/* md: split layout 2 columns */
@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* ═══ Services Patienten ═══ */
/* Mobile-first: image-box no extra padding */
.image-box {
    position: relative;
    padding: 0;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.image-decoration {
    display: none;
}

.image-box:hover .image-wrapper img {
    transform: translateY(-10px);
}

.image-box:hover .image-decoration {
    transform: translate(15px, 15px);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Mobile-first: feature items stacked */
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-radius: var(--radius-md);
    transition: background var(--trans-fast);
}

.feature-item:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.feature-item .feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--trans-normal);
}

.feature-item .feature-icon svg {
    width: 24px;
    height: 24px;
    transition: stroke var(--trans-normal);
}

.feature-item:hover .feature-icon {
    background: var(--c-primary);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon svg {
    stroke: #fff;
}

.feature-content strong {
    display: block;
    font-size: 1.25rem;
    color: var(--c-secondary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--c-text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

/* md: image-box order on desktop */
@media (min-width: 768px) {
    .image-box {
        order: unset;
    }

    .text-box {
        order: unset;
    }
}

/* ═══ Benefits Section ═══ */
.soft-grey-bg {
    background-color: rgba(240, 242, 245, 0.6);
}

/* Mobile-first: stats 1-column */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Mobile-first: compact stat cards */
.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-md) var(--space-sm);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--trans-normal);
    overflow: hidden;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 166, 81, 0.3);
}

.hover-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--c-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--trans-normal);
    z-index: -1;
}

.stat-item:hover .hover-accent {
    transform: scaleX(1);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--c-secondary);
    letter-spacing: 0.02em;
}

.benefits-detail-container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.container-title {
    font-size: 1.5rem;
    color: #fff;
    background: var(--c-secondary);
    margin: 0;
    padding: 1.25rem 1.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.benefits-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
    gap: 1rem;
    background: transparent;
}

.benefit-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all var(--trans-fast);
    text-align: left;
}

.benefit-box:hover {
    background: #fff;
    border-color: rgba(0, 166, 81, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.benefit-box .icon-wrap {
    background: rgba(0, 166, 81, 0.1);
    border-radius: 50%;
    transition: all var(--trans-fast);
}

.benefit-box:hover .icon-wrap {
    background: var(--c-primary);
    color: #fff;
}

.benefit-box .icon-wrap svg {
    width: 14px;
    height: 14px;
}

.benefit-box span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--c-text-main);
    line-height: 1.4;
}

/* md: stats and benefits multi-column */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══ Page Headers (Subpages) ═══ */
.page-header {
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-md);
    position: relative;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 2px solid rgba(0, 166, 81, 0.2);
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--c-secondary);
    letter-spacing: 0.02em;
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: var(--c-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ═══ Karriere Content ═══ */
.content-box {
    background: #fff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.box-title {
    font-size: 1.5rem;
    color: var(--c-secondary);
    margin-bottom: var(--space-md);
    border-bottom: 2px solid rgba(0, 166, 81, 0.2);
    padding-bottom: 0.75rem;
}

.box-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--c-text-main);
}

.highlight-box {
    background: var(--c-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    color: #fff;
    border-left: 4px solid var(--c-primary);
    margin-top: auto;
}

.highlight-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 0.25rem;
}

.highlight-text {
    font-size: 1rem;
    font-weight: 500;
}

.checklist-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--c-bg-light);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--trans-fast);
}

.check-item:hover {
    background: #fff;
    border-color: rgba(0, 166, 81, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(0, 166, 81, 0.1);
    color: var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.check-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text-main);
}

.cta-section {
    padding-bottom: calc(var(--space-xl) * 2);
}

.cta-section .btn svg {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

/* ═══ Gallery ═══ */
.gallery-section {
    padding: var(--space-xl) 0;
    background: var(--c-bg-light);
}

.gallery-title {
    font-size: 2rem;
    color: var(--c-secondary);
}

/* Mobile-first: gallery 1-column */
.gallery-compact-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: var(--space-xs);
    width: 100%;
}

.gallery-item-compact {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: #eef2f6;
    cursor: zoom-in;
    display: block;
}

.gallery-item-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.gallery-item-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-compact:hover img {
    transform: scale(1.06);
}

.gallery-item-compact:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 166, 81, 0.15);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item-compact:hover .zoom-overlay {
    opacity: 1;
}

.gallery-item-compact:nth-child(5) .zoom-overlay {
    opacity: 1;
    background: rgba(15, 23, 42, 0.6);
}

.gallery-item-compact:nth-child(5):hover .zoom-overlay {
    background: rgba(0, 166, 81, 0.7);
}

.more-photos-hint {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.zoom-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item-compact:hover .zoom-icon {
    transform: scale(1);
}

/* sm: gallery 2-column */
@media (min-width: 640px) {
    .gallery-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
}

/* lg: gallery 4-column */
@media (min-width: 1024px) {
    .gallery-compact-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item-compact:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ═══ Lightbox ═══ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img,
.lightbox-img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: var(--c-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav svg {
    width: 32px;
    height: 32px;
}

.lightbox-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* md: lightbox larger nav */
@media (min-width: 768px) {
    .lightbox-nav {
        width: 56px;
        height: 56px;
    }
}

/* Mobile-first: contact single column */
.header-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
}

.header-image-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
    transform: rotate(2deg);
    transition: transform var(--trans-normal);
}

.header-image-block:hover {
    transform: rotate(0deg) scale(1.02);
}

.header-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 166, 81, 0.3);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 166, 81, 0.1);
    color: var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1.25rem;
    color: var(--c-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--trans-fast);
}

a.detail-value:hover {
    color: var(--c-primary);
}

.office-hours {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--c-primary);
}

.office-hours h4 {
    color: var(--c-secondary);
    margin: 0 0 0.5rem 0;
}

.office-hours p {
    margin: 0;
    color: var(--c-text-main);
    font-weight: 500;
}

.form-card {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.form-card h3 {
    font-size: 2rem;
    color: var(--c-secondary);
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--c-text-muted);
}

.z24-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--c-secondary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--c-text-main);
    background: #f8fafc;
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

::placeholder {
    color: #94a3b8;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ═══ A11y: Form Error & Required Hint ═══ */
.form-required-hint {
    margin-bottom: var(--space-sm);
    color: var(--c-text-muted);
    font-size: 0.88rem;
}

.form-error-msg {
    display: block;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    font-weight: 500;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ═══ Honeypot: verstecktes Anti-Spam-Feld ═══ */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-success svg {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-error svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
}

/* sm: form 2-column */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .form-card {
        padding: 3rem;
    }
}

/* lg: contact multi-column */
@media (min-width: 1024px) {
    .header-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        text-align: left;
    }

    .header-image-block {
        transform: rotate(2deg);
    }

    .contact-grid {
        grid-template-columns: 4fr 6fr;
        gap: var(--space-xl);
    }
}

/* Mobile-first: news 1-column */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.news-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 166, 81, 0.08);
    border-color: rgba(0, 166, 81, 0.15);
}

.card-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(0, 166, 81, 0.08);
    color: var(--c-primary);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-icon-area {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 166, 81, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    transition: background 0.3s ease, transform 0.3s ease;
}

.news-card:hover .card-icon-area {
    background: var(--c-primary);
    color: #fff;
    transform: scale(1.05);
}

.card-icon-area svg {
    width: 32px;
    height: 32px;
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-bg-light);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c-secondary);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text-muted);
    flex-grow: 1;
    margin: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.card-date {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    font-weight: 500;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-primary);
    transition: gap 0.3s ease;
}

.news-card:hover .card-link {
    gap: 0.85rem;
}

.card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.news-card:hover .card-link svg {
    transform: translateX(4px);
}

/* ── News Article Modal ── */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.news-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 166, 81, 0.1);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-modal-overlay.is-open .news-modal {
    transform: translateY(0) scale(1);
}

.news-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--c-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.news-modal-close:hover {
    background: rgba(0, 166, 81, 0.1);
    transform: scale(1.1);
}

.news-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--c-text-muted);
}

.news-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 3rem;
}

.news-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-secondary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

.news-modal-date {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    font-weight: 500;
    margin: 0;
}

.news-modal-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.news-modal-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--c-text-main);
}

.news-modal-body p {
    margin-bottom: 1rem;
}

.news-modal-body p:last-child {
    margin-bottom: 0;
}

/* Scrollbar for modal */
.news-modal::-webkit-scrollbar {
    width: 6px;
}

.news-modal::-webkit-scrollbar-track {
    background: transparent;
}

.news-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 166, 81, 0.2);
    border-radius: 3px;
}

.news-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 166, 81, 0.4);
}

/* sm: news grid 2-column */
@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* lg: news grid 3-column */
@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile-first: installation stacked */
.installation-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-lg);
}

.os-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2.5rem;
}

.os-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 166, 81, 0.08);
    border-color: rgba(0, 166, 81, 0.1);
}

.os-title-area {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.os-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.android-icon {
    background: linear-gradient(135deg, #E6F5EC 0%, #CCEBDB 100%);
    color: var(--c-primary);
}

.apple-icon {
    background: linear-gradient(135deg, #F0F2F5 0%, #E2E8F0 100%);
    color: var(--c-secondary);
}

.os-header-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-secondary);
    margin: 0;
    letter-spacing: -0.02em;
}

.os-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.timeline-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    flex-grow: 1;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 30px;
    left: 19px;
    width: 2px;
    background: var(--c-primary);
    opacity: 0.15;
}

.timeline-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.timeline-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid var(--c-primary);
    color: var(--c-primary);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 166, 81, 0.1);
}

.timeline-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--c-text-main);
    padding-top: 6px;
}

.timeline-text strong {
    color: var(--c-secondary);
}

.store-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    border-radius: 100px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-store-btn {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.25);
}

.play-store-btn:hover {
    background: #008f45;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 166, 81, 0.35);
}

.apple-store-btn {
    background: var(--c-secondary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.apple-store-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.3);
}

.store-btn svg {
    width: 22px;
    height: 22px;
}

.apple-path {
    fill: currentColor;
    stroke: none;
}

.phone-column {
    display: flex;
    justify-content: center;
    padding: var(--space-md) 0;
}

/* md: installation 2-column */
@media (min-width: 768px) {
    .installation-layout {
        grid-template-columns: 1fr 1fr;
    }

    .phone-column {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: var(--space-lg);
    }
}

/* lg: installation 3-column */
@media (min-width: 1024px) {
    .installation-layout {
        grid-template-columns: 1fr auto 1fr;
        gap: var(--space-xl);
    }

    .phone-column {
        grid-column: auto;
        order: unset;
        margin-bottom: 0;
    }
}

/* ═══ Cookie Consent Banner ═══ */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cookie-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 2rem 2.5rem 1.75rem;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.15), 0 -2px 20px rgba(0, 0, 0, 0.06);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-icon {
    color: var(--c-primary, #2ecc71);
    flex-shrink: 0;
}

.cookie-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #555;
    margin: 0 0 1.25rem;
}

/* Category toggles */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    animation: slideDown 0.35s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: #f7f8fa;
    border-radius: 12px;
    border: 1px solid #eef0f3;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.cookie-category:hover {
    background: #f0f2f6;
    border-color: #dde0e5;
}

.cookie-cat-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cookie-cat-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1a1a2e;
}

.cookie-cat-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
}

/* Custom toggle switches */
.cookie-category input[type="checkbox"] {
    display: none;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.25s ease;
    cursor: pointer;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"]:checked+.cookie-toggle {
    background: var(--c-primary, #2ecc71);
}

input[type="checkbox"]:checked+.cookie-toggle::after {
    transform: translateX(20px);
}

.cookie-toggle-disabled {
    background: var(--c-primary, #2ecc71);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-disabled::after {
    transform: translateX(20px);
}

/* Buttons */
.cookie-actions {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.cookie-save-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.cookie-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        flex: none;
        width: 100%;
    }
}

.cookie-btn-accept {
    background: var(--c-primary, #2ecc71);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #219150;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}

.cookie-btn-decline {
    background: #f0f2f6;
    color: #444;
}

.cookie-btn-decline:hover {
    background: #e4e7ec;
}

.cookie-btn-settings {
    background: transparent;
    color: var(--c-primary, #2ecc71);
    border: 1.5px solid var(--c-primary, #2ecc71);
}

.cookie-btn-settings:hover {
    background: rgba(46, 204, 113, 0.06);
}

.cookie-legal {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
    text-align: center;
}

.cookie-legal a {
    color: var(--c-primary, #2ecc71);
    text-decoration: underline;
}

/* Cookie responsive is handled via mobile-first defaults above */

/* ═══ Legal Pages (Impressum, AGB, Datenschutz) ═══ */
.legal-page {
    padding: 7rem 0 4rem;
    min-height: 60vh;
    background: #f9fafb;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--c-primary, #2ecc71);
    border-radius: 2px;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.legal-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef0f3;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eef0f3;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding: 0;
}

.legal-content ul li {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content a {
    color: var(--c-primary, #2ecc71);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: #219150;
}

.legal-content strong {
    color: #1a1a2e;
}

/* Legal responsive handled via mobile-first above */

/* End of responsive styles — all handled mobile-first at component level */

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE MUSTER DESIGN — Mobile-First m-* Classes
   Breakpoints: sm 640px, md 768px, lg 1024px
   ═══════════════════════════════════════════════════════════════ */

/* ─── m-Container ─── */
.m-container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .m-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .m-container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .m-container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

/* ─── m-Buttons ─── */
.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--trans-fast, 0.3s ease);
    text-decoration: none;
}

.m-btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.m-btn-primary:hover {
    background: var(--c-primary-hover, #008C44);
    border-color: var(--c-primary-hover, #008C44);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 166, 81, 0.3);
}

.m-btn-outline {
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6;
}

.m-btn-outline:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* ─── m-Section Base ─── */
.m-section {
    padding: 3rem 0;
    scroll-margin-top: calc(var(--header-height, 84px) + 1rem);
}

@media (min-width: 768px) {
    .m-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .m-section {
        padding: 5rem 0;
    }
}

.m-section-header {
    text-align: center;
    margin-bottom: 10px;
}

.m-section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .m-section-header h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .m-section-header h2 {
        font-size: 2.75rem;
    }
}

.m-section-header p {
    font-size: 1rem;
    color: var(--c-text-muted, #666);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══ m-HERO ═══ */
.m-hero {
    position: relative;
    padding: 2.5rem 0 2rem;
    background: linear-gradient(170deg, rgba(0, 166, 81, 0.08) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(0, 166, 81, 0.06) 70%, rgba(248, 250, 252, 1) 100%);
    overflow: hidden;
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: var(--c-primary);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

.m-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.m-hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.m-hero-text .m-subtitle {
    font-size: 1rem;
    color: var(--c-text-muted, #666);
    margin-bottom: 1.5rem;
}

.m-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.m-hero-trust {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef0f3;
}

.m-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text-main, #222);
}

.m-trust-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.m-hero-img {
    position: relative;
    max-width: 280px;
    z-index: 1;
}

.m-hero-img img {
    border-radius: 40px 12px 40px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.m-hero-img::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid rgba(0, 166, 81, 0.3);
    border-radius: 40px 12px 40px 12px;
    z-index: 0;
    transition: transform 0.4s ease;
}

.m-hero-img:hover::before {
    transform: translate(4px, 4px);
}

@media (min-width: 640px) {
    .m-hero-text h1 {
        font-size: 2.5rem;
    }

    .m-hero-img {
        max-width: 340px;
    }
}

@media (min-width: 1024px) {
    .m-hero {
        padding: 4rem 0 3rem;
    }

    .m-hero-inner {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }

    .m-hero-text {
        flex: 1;
    }

    .m-hero-text h1 {
        font-size: 3.25rem;
    }

    .m-hero-actions {
        justify-content: flex-start;
    }

    .m-hero-trust {
        justify-content: flex-start;
    }

    .m-hero-img {
        max-width: 420px;
        flex-shrink: 0;
    }

    .m-hero-img::before {
        top: 16px;
        left: 16px;
        right: -16px;
        bottom: -16px;
    }
}

/* ═══ m-APP SECTION ═══ */
.m-app {
    background: linear-gradient(170deg, #edf0f5 0%, rgba(255, 255, 255, 0.95) 40%, #eaecf2 70%, #f0f3f7 100%);
}



.m-app-layout {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-items: center;
    gap: 1.5rem;
}

.m-app-layout .m-phone-wrap {
    min-width: 0;
}

.m-app-layout .m-app-grid-col {
    min-width: 0;
}

@media (min-width: 768px) {
    .m-app-layout {
        gap: 2.5rem;
    }
}

.m-app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .m-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.m-app-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #eef0f3;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.m-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 166, 81, 0.2);
}

.m-app-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 166, 81, 0.08);
    color: var(--c-primary);
}

.m-app-icon svg {
    width: 22px;
    height: 22px;
}

.m-app-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-primary);
    margin-bottom: 0.25rem;
}

.m-app-card p {
    font-size: 0.85rem;
    color: var(--c-text-muted, #666);
    line-height: 1.5;
}

/* m-Phone Mockup */
.m-phone-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.m-phone-frame {
    position: relative;
    width: fit-content;
    z-index: 1;
}

.m-phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -10px;
    right: 10px;
    bottom: -10px;
    border: 2px solid rgba(0, 166, 81, 0.3);
    border-radius: 12px 28px 12px 28px;
    z-index: -1;
    transition: transform 0.4s ease;
}

.m-phone-frame:hover::before {
    transform: translate(-3px, 3px);
}

.m-phone-mockup-img {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.m-phone {
    width: 110px;
    background: #fdfdfd;
    border: 5px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.m-phone::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #ccc;
    border-radius: 4px;
    margin: 6px auto 0;
    position: relative;
    z-index: 3;
}

.m-phone-screen {
    background: #000;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.m-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-phone-header {
    background: #fff;
    padding: 4px 0;
    text-align: center;
    font-weight: 700;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    color: #1A1A1A;
}

.m-phone-nav {
    display: flex;
    background: #fff;
    border-top: 1px solid #eee;
}

.m-phone-nav span {
    flex: 1;
    text-align: center;
    padding: 3px 0;
    font-size: 0.42rem;
    font-weight: 600;
    color: var(--c-primary);
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .m-phone {
        width: 160px;
        border-width: 6px;
        border-radius: 22px;
    }
}

@media (min-width: 1024px) {
    .m-phone {
        width: 180px;
        border-width: 8px;
        border-radius: 26px;
    }
}

/* ═══ m-PRAXEN SECTION ═══ */
.m-praxen {
    background: linear-gradient(170deg, rgba(0, 166, 81, 0.08) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(0, 166, 81, 0.06) 70%, rgba(248, 250, 252, 1) 100%);
}

.m-patienten-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--c-text-muted, #666);
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* ═══ m-PATIENTEN SECTION ═══ */
.m-patienten {
    background: linear-gradient(170deg, #edf0f5 0%, rgba(255, 255, 255, 0.95) 40%, #eaecf2 70%, #f0f3f7 100%);
}

.m-features-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .m-features-split {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }

    .m-features-split>* {
        flex: 1;
    }

    .m-features-reverse {
        flex-direction: row-reverse;
    }
}

.m-features-img {
    position: relative;
    z-index: 1;
    max-width: 280px;
    margin: 0 auto;
}

.m-features-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 40px 12px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4/3;
    position: relative;
    z-index: 2;
}

.m-features-img::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -12px;
    right: 12px;
    bottom: -12px;
    border: 2px solid rgba(0, 166, 81, 0.3);
    border-radius: 12px 40px 12px 40px;
    z-index: 0;
    transition: transform 0.4s ease;
}

.m-features-img:hover::before {
    transform: translate(-4px, 4px);
}

.m-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.m-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.m-feature-icon-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.08);
    color: var(--c-primary);
}

.m-feature-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.m-feature strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
}

.m-feature p {
    font-size: 0.88rem;
    color: var(--c-text-muted, #666);
    line-height: 1.6;
}

/* ═══ m-STATS SECTION ═══ */
.m-stats {
    background: linear-gradient(170deg, rgba(0, 166, 81, 0.08) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(0, 166, 81, 0.06) 70%, rgba(248, 250, 252, 1) 100%);
}

.m-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.m-stat {
    text-align: center;
    padding: 1.5rem 0.75rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f3;
    transition: all 0.3s ease;
}

.m-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 166, 81, 0.3);
}

.m-stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.2;
}

.m-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--c-text-muted, #666);
    margin-top: 0.3rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .m-stats-grid {
        gap: 1.25rem;
    }

    .m-stat {
        padding: 2rem 1rem;
    }

    .m-stat-num {
        font-size: 2.5rem;
    }

    .m-stat-label {
        font-size: 0.9rem;
    }
}

/* m-Promise Grid */
.m-promise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .m-promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .m-promise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.m-promise-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .m-promise-title {
        font-size: 1.5rem;
    }
}

.m-promise {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eef0f3;
    font-size: 0.88rem;
    color: var(--c-text-main, #222);
    transition: all 0.3s ease;
}

.m-promise:hover {
    border-color: rgba(0, 166, 81, 0.3);
    transform: translateY(-2px);
}

.m-promise svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--c-primary);
}

/* ─── m-Scroll Reveal ─── */
.m-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.m-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.m-reveal-delay-1 {
    transition-delay: 0.1s;
}

.m-reveal-delay-2 {
    transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .m-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .cookie-banner,
    .lightbox-overlay,
    .news-modal-overlay {
        transition: none !important;
    }
}