/* ============================================
   DKSB Euskirchen - Global Styles
   ============================================ */

/* CSS Variables - Bundesverband Corporate Design */
:root {
    /* === Corporate Design Color Palette === */

    /* Primary Colors */
    --global-palette1: #0064ad;     /* Primary Blue */
    --global-palette2: #ec7c32;     /* Secondary Orange */
    --global-palette3: #222222;     /* Dark Gray */
    --global-palette4: #555e68;     /* Medium Gray */

    /* Accent Colors */
    --global-palette5: #a2a8b4;     /* Light Gray / Grau 2 */
    --global-palette6: #9d5276;     /* Purple / Mauve */
    --global-palette7: #00ae97;     /* Green / Teal */
    --global-palette8: #e9e9eb;     /* Off-White / Grau 3 */
    --global-palette9: #ffffff;     /* Pure White */
    --global-palette10: #fce4d6;    /* Rosa (Akzent) */

    /* Additional Colors */
    --global-palette11: #13612e;    /* Green */
    --global-palette12: #1159af;    /* Dark Blue */
    --global-palette13: #b82105;    /* Red */
    --global-palette14: #f7630c;    /* Orange Variant */
    --global-palette15: #f5a524;    /* Golden */

    /* === Semantic Aliases (für einfachere Verwendung) === */
    --primary-blue: var(--global-palette1);
    --primary-blue-dark: var(--global-palette12);  /* Dark Blue #1159af */
    --primary-orange: var(--global-palette2);
    --primary-green: var(--global-palette11);
    --primary-green-dark: #0f4d24;  /* Dark Green for hover states */
    --text-dark: var(--global-palette3);      /* Schwarz #222222 - für H1-H3 */
    --text-medium: var(--global-palette4);    /* Dunkelgrau #555e68 - für Body & H4-H5 */
    --text-light: var(--global-palette5);     /* Grau 2 #a2a8b4 - für H6 */

    --accent-purple: var(--global-palette6);  /* Purple/Mauve */
    --accent-green: var(--global-palette7);   /* Green/Teal */
    --accent-rosa: var(--global-palette10);   /* Rosa */

    /* Legacy aliases */
    --accent-mauve: var(--global-palette6);
    --accent-teal: var(--global-palette7);

    /* === Team-Farben (für Puzzle-Section & Navigation) === */
    --team-mitbachaue: #13612e;      /* Grün - Kita Mitbachaue */
    --team-wirbelwind: #0064ad;      /* Blau - Kita Wirbelwind */
    --team-tagespflege: #f5f5f5;     /* Hellgrau - Kindertagespflege */
    --team-vollzeitpflege: #f5a524;  /* Gold - Vollzeitpflege (Leuchtturm) */

    --bg-white: var(--global-palette9);
    --bg-light: var(--global-palette8);
    --bg-lighter: #fafafa;

    --border-color: var(--global-palette8);

    /* Shadows */
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0px 15px 25px -7px rgba(0,0,0,0.1);

    /* Z-Index Hierarchy (höher = weiter vorne) */
    --z-floating-widget: 9999;  /* Barrierefreiheit, Quick-Contact */
    --z-logo: 9998;
    --z-mobile-toggle: 1002;
    --z-header: 1000;
    --z-mobile-menu: 999;
    --z-overlay: 998;
    --z-dropdown: 100;

    /* === Typography Variables === */
    /* Font Families - Corporate Design */
    --font-heading: 'Blogger Sans', sans-serif;  /* CD: Blogger Sans für Überschriften */
    --font-body: 'PT Sans Narrow', sans-serif;   /* CD: PT Sans Narrow für Body */

    /* Font Sizes - Responsive mit Clamp */
    --font-size-small: clamp(0.8rem, 0.73rem + 0.217vw, 0.9rem);
    --font-size-base: 1.1875rem; /* 19px */
    --font-size-large: clamp(1.75rem, 1.576rem + 0.543vw, 2rem);
    --font-size-xlarge: clamp(2.25rem, 1.728rem + 1.63vw, 3rem);

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.25;
    --line-height-relaxed: 1.5;

    /* === Layout & Spacing === */
    /* Content Widths (rem-basiert für Barrierefreiheit) */
    --global-content-width: 80rem;          /* 1280px bei 16px base */
    --global-content-narrow-width: 65ch;    /* ~45-75 Zeichen optimal für Lesbarkeit */
    --global-content-wide-width: 94.375rem; /* 1510px bei 16px base */
    --global-content-edge-padding: clamp(1rem, 2vw, 1.5rem); /* Responsive: 16-24px */

    /* Spacing Scale */
    --spacing-none: 0rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Grid Gaps */
    --gap-xs: 0.9375rem; /* 15px */
    --gap-sm: 1.25rem;   /* 20px */
    --gap-md: 1.875rem;  /* 30px */
    --gap-lg: 2.5rem;    /* 40px */
}

/* === Blogger Sans Font - Corporate Design === */
/* Regular (400) */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Regular Italic */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium (500) - Für Überschriften */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Medium Italic */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Bold_Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Light (300) */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Light Italic */
@font-face {
    font-family: 'Blogger Sans';
    src: url('/assets/fonts/blogger-sans/Blogger_Sans-Light_Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* PT Sans Narrow - Body Text (lokal gehostet, DSGVO-konform) */
@font-face {
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/pt-sans-narrow/pt-sans-narrow-v19-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

@font-face {
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/pt-sans-narrow/pt-sans-narrow-v19-latin-ext-700.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;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: var(--line-height-relaxed);
    color: var(--text-medium);  /* CD: #555e68 für Body-Text */
    background: var(--bg-white);
    font-size: var(--font-size-base);
    overflow-x: hidden;
    letter-spacing: 0.04em; /* Bessere Lesbarkeit bei Umlauten */
}

/* Page Wrapper - Container für Accessibility Filter */
.page-wrapper {
    display: block;
    min-height: 100vh;
    background: inherit;
}

/* Typography - Corporate Design */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* H1-H3: Schwarz #222222 */
h1 {
    font-size: 50px;
    line-height: var(--line-height-tight);
    color: var(--text-dark);  /* #222222 */
    margin-bottom: 20px;
}

h2 {
    font-size: 39px;
    line-height: var(--line-height-normal);
    color: var(--text-dark);  /* #222222 */
    margin-bottom: 15px;
}

h3 {
    font-size: 25px;
    line-height: var(--line-height-normal);
    color: var(--text-dark);  /* #222222 */
    margin-bottom: 12px;
}

/* H4-H5: Dunkelgrau #555e68 */
h4 {
    font-size: 22px;
    line-height: var(--line-height-relaxed);
    color: var(--text-medium);  /* #555e68 */
    margin-bottom: 10px;
}

h5 {
    font-size: 19px;
    line-height: var(--line-height-relaxed);
    color: var(--text-medium);  /* #555e68 */
    margin-bottom: 10px;
}

/* H6: Grau 2 #a2a8b4 */
h6 {
    font-size: 18px;
    line-height: var(--line-height-relaxed);
    color: var(--text-light);  /* #a2a8b4 */
    margin-bottom: 10px;
}

p {
    margin-bottom: 1rem;
}

/* Container - Best Practice */
.container {
    max-width: var(--global-content-width); /* 80rem = 1280px */
    margin: 0 auto;
    padding: 0 var(--global-content-edge-padding);
    width: 100%;
}

/* Schmaler Container für Textblöcke (optimale Lesbarkeit) */
.container--narrow {
    max-width: var(--global-content-narrow-width); /* 65ch für ~66 Zeichen/Zeile */
}

/* Breiter Container für Hero etc. */
.container--wide {
    max-width: var(--global-content-wide-width);
}

/* Vertikales Padding für Content-Bereiche (horizontales kommt aus .container) */
.container--padded {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ============================================
   HEADER & NAVIGATION - Best Practice Layout
   Full-width backgrounds + centered content
   ============================================ */

/* Sticky Wrapper */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    width: 100%;
}

/* ============================================
   HEADER ROW (weiß)
   ============================================ */
.site-header {
    background: var(--bg-white);
}

/* Header Container: Logo links, Rest rechts - breiter als Content */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    max-width: 90rem; /* 1440px – passend zur Navigation */
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo .logo-link {
    display: block;
}

.header-logo .logo-img {
    max-height: 5.5rem; /* 88px */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: left center;
}

/* Beim Scrollen: Logo visuell kleiner (transform statt max-height = kein Layout-Ruck) */
.sticky-header-wrapper.scrolled .header-logo .logo-img {
    transform: scale(0.727); /* 64/88 ≈ 0.727 */
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Header Right: Tagline + Buttons */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-tagline {
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-header svg {
    flex-shrink: 0;
}

.btn-header--primary {
    background: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0px 10px 20px -5px rgba(0, 100, 173, 0.3);
}

.btn-header--primary:hover {
    background: #004a82;
    transform: translateY(-2px);
    box-shadow: 0px 15px 25px -7px rgba(0, 100, 173, 0.4);
}

.btn-header--secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-header--secondary:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION ROW (blau)
   ============================================ */
.main-navigation {
    background: var(--primary-blue);
}

/* Nav Container - breiter als Content für mehr Platz bei vielen Menüpunkten */
.nav-container {
    max-width: 90rem; /* 1440px statt 1280px */
}

/* Navigation Menu */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin: 0;
}

.nav-item a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.9375rem 0.875rem;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-item a:hover,
.nav-item.active a {
    background: rgba(255, 255, 255, 0.1);
}

/* Karriere-Highlight im Menü */
.nav-item.nav-highlight a {
    color: var(--primary-orange);
    font-weight: 700;
}

.nav-item.nav-highlight a:hover {
    background: rgba(236, 124, 50, 0.15);
}

/* CTA-Button in der Navigation */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--primary-orange);
    color: white !important;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-left: 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    animation: cta-pulse 3s infinite;
}

.nav-cta-btn:hover {
    background: #d86a1f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 124, 50, 0.4);
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236, 124, 50, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(236, 124, 50, 0); }
}

/* Mobile: Karriere-Button im Menü (hidden on desktop, shown in mobile-menu-footer) */
.btn-karriere-mobile {
    display: none;
}

/* === Team-Farbakzente in Navigation === */
/* Unterstriche entfernt - zu unruhig */

/* ============================================
   MOBILE-ONLY ELEMENTS - Hidden on Desktop
   ============================================ */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-footer {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.mobile-header-left {
    display: none;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 0.3125rem 0.3125rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.625rem);
    transition: all 0.3s;
    z-index: var(--z-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    padding-left: 1rem;
    color: var(--text-dark);
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-lighter);
    color: var(--primary-blue);
    padding-left: 1.15rem;
}

/* Team-Farben für Dropdown-Menüs - Seitliche Farbakzente */
.nav-item[data-team="mitbachaue"] .nav-dropdown-menu a:hover {
    border-left-color: var(--team-mitbachaue);
    background: rgba(19, 97, 46, 0.08);
    color: var(--team-mitbachaue);
}

.nav-item[data-team="wirbelwind"] .nav-dropdown-menu a:hover {
    border-left-color: var(--team-wirbelwind);
    background: rgba(0, 100, 173, 0.08);
    color: var(--team-wirbelwind);
}

.nav-item[data-team="tagespflege"] .nav-dropdown-menu a:hover {
    border-left-color: var(--text-medium);
    background: rgba(102, 102, 102, 0.08);
    color: var(--text-dark);
}

.nav-item[data-team="vollzeitpflege"] .nav-dropdown-menu a:hover {
    border-left-color: var(--team-vollzeitpflege);
    background: rgba(245, 165, 36, 0.08);
    color: var(--team-vollzeitpflege);
}

/* Dropdown Arrow SVG */
.dropdown-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
    background: var(--bg-lighter);
    padding: 0.9375rem 0; /* 15px */
    font-size: 0.875rem; /* 14px */
    color: var(--text-light);
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem; /* 8px */
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem; /* 8px */
    color: var(--text-lighter);
}

.breadcrumb-list a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-dark);
    font-weight: 500;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0288d1 100%);
    padding: 3.75rem 0; /* 60px */
    color: white;
}

/* ============================================
   GLOBAL HERO - Wiederverwendbar (wie Homepage)
   Verwendung: .global-hero Klasse auf der Section
   ============================================ */

.global-hero {
    position: relative;
    min-height: 400px;
    height: 45vh;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback-Gradient wenn kein Bild */
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1159af 100%);
}

.global-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.global-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Warmer Gradient Overlay - EXAKT wie Homepage */
.global-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 100, 173, 0.85) 0%,
        rgba(236, 124, 50, 0.75) 100%
    );
    z-index: 2;
}

.global-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 60px 20px;
    max-width: 900px;
    width: 100%;
}

/* Tagline mit Orange-Pill - "Wir machen Kinder stark!" */
.global-hero-tagline {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    background: rgba(236, 124, 50, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    animation: fadeInUp 0.6s ease;
}

.global-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 500;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.global-hero .subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 30px;
    max-width: 700px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.global-hero .cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Responsive */
@media (max-width: 768px) {
    .global-hero {
        min-height: 350px;
        height: 40vh;
    }

    .global-hero-content {
        padding: 40px 20px;
    }

    .global-hero-tagline {
        font-size: 14px;
        letter-spacing: 2px;
        padding: 6px 16px;
    }

    .global-hero .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-In Animation Klassen (global verfügbar) */
.fade-in {
    opacity: 0;
    transform: translateY(2.5rem); /* 40px - etwas mehr Bewegung */
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Bilder in fade-in Containern: eigene Sichtbarkeit */
.fade-in img,
.fade-in-visible img {
    opacity: 1 !important;
}

/* Fallback: Falls JS nicht lädt, nach 2s alles anzeigen */
@media (scripting: none) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* CSS-only Fallback: Nach 2s alle fade-in Elemente sichtbar machen falls JS nicht greift */
@keyframes fadeInFallback {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in:not(.fade-in-visible):not(.initially-visible) {
    animation: fadeInFallback 0.6s ease 2s forwards;
}

/* ============================================
   GLOBAL LIST STYLES - Wiederverwendbar
   ============================================ */

/* Checkmark Liste (✓) - z.B. Feature-Listen */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5625rem 0; /* 25px */
}

.check-list li {
    position: relative;
    padding-left: 1.875rem; /* 30px */
    margin-bottom: 0.75rem; /* 12px */
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.125rem; /* 18px */
}

/* Gradient Bullet Liste - z.B. Info-Listen */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 1.5625rem 0;
}

.bullet-list li {
    position: relative;
    padding-left: 2.1875rem; /* 35px */
    margin-bottom: 0.9375rem; /* 15px */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem; /* 6px */
    width: 1.25rem; /* 20px */
    height: 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
}

.bullet-list li::after {
    content: '';
    position: absolute;
    left: 0.4375rem; /* 7px */
    top: 0.8125rem; /* 13px */
    width: 0.375rem; /* 6px */
    height: 0.375rem;
    background: var(--bg-white);
    border-radius: 50%;
}

/* Bullet Liste Variante: Grün */
.bullet-list.green li::before {
    background: linear-gradient(135deg, var(--primary-green), #1a8a3e);
}

/* ============================================
   GLOBAL FAQ SECTION - Wiederverwendbar
   Verwendung: faq.inc.php
   ============================================ */

.faq-section {
    padding: 2.5rem 0;
    background: var(--bg-white);
}

.faq-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2rem);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: rgba(0, 100, 173, 0.05);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

.faq-answer p + p {
    margin-top: 1rem;
}

/* ============================================
   GLOBAL VALUES SECTION - Wiederverwendbar
   Verwendung: values-section.inc.php
   ============================================ */

.values-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.values-section h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 39px);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.values-intro {
    text-align: center;
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Flip-Kacheln === */
.value-card-flip {
    perspective: 800px;
    height: 220px;
    cursor: pointer;
}

.value-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.value-card-flip.flipped .value-card-inner {
    transform: rotateY(180deg);
}

.value-card-front,
.value-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9e9eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 25px;
}

.value-card-front {
    background: white;
}

.value-card-back {
    background: linear-gradient(135deg, #0064ad 0%, #004d85 100%);
    transform: rotateY(180deg);
}

.value-card-back p {
    font-size: 16px;
    color: white;
    line-height: 1.7;
    margin: 0;
}

.value-card-flip:hover .value-card-front {
    box-shadow: 0 20px 40px rgba(0, 100, 173, 0.12);
    border-color: var(--primary-blue);
}

.value-card-flip:hover:not(.flipped) .value-card-inner {
    transform: translateY(-4px);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(0, 100, 173, 0.1) 0%, rgba(0, 174, 151, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.value-card-front h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.flip-hint {
    font-size: 13px;
    color: var(--primary-blue);
    opacity: 0.7;
    margin-top: 4px;
    transition: opacity 0.3s ease;
}

.value-card-flip:hover .flip-hint {
    opacity: 1;
}

/* 3-Spalten-Variante für Flip-Cards (Benefits, Vorteile) */
.values-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Kita-Übersicht: Säulen-Grid (3 nebeneinander auf Desktop, ab Tablet gestapelt) */
.saeulen-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
    .saeulen-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Values Section - Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 60px 20px;
    }

    .values-intro {
        margin-bottom: 30px;
    }

    .values-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .values-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari – verstecken, Dots zeigen stattdessen */
    }

    /* Swipe-Hinweis: Gradient am rechten Rand */
    .values-grid::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 16px;
        width: 40px;
        background: linear-gradient(to right, transparent, rgba(248,249,250,0.9));
        pointer-events: none;
        z-index: 1;
    }

    .values-section {
        position: relative;
    }

    .value-card-flip {
        min-width: 72vw;
        max-width: 280px;
        height: 200px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 1.875rem; /* 30px */
    max-width: 900px;
    margin: 0 auto;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem; /* 40px */
    border-radius: 0.625rem; /* 10px */
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.hero-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
    background: rgba(255, 255, 255, 0.15);
}

.hero-card h2 {
    font-size: 1.75rem; /* 28px */
    margin-bottom: 1.25rem; /* 20px */
}

/* ============================================
   BUTTONS - Corporate Design (Pill-shaped)
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.875rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-orange);
    color: var(--bg-white);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary-orange);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.625rem 1.75rem; /* 10px 28px - Slightly less padding due to border */
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: none;
}

.btn-white:hover {
    background: var(--bg-lighter);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Button Links (Text-style buttons) */
.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem; /* 5px */
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* CTA Buttons auf farbigen Hintergründen (halbtransparent) */
.btn-cta-light {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.btn-cta-light:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 3.75rem 0; /* 60px */
    text-align: center;
}

.main-content h1 {
    font-size: 2.25rem; /* 36px */
    color: var(--primary-blue);
    margin-bottom: 1.25rem; /* 20px */
}

.main-content p {
    font-size: 1.125rem; /* 18px */
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   CONTENT CARDS
   ============================================ */

.content-cards {
    padding: 2.5rem 0 5rem; /* 40px 0 80px */
    background: var(--bg-lighter);
}

.content-cards .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 1.875rem; /* 30px */
}

.card {
    background: var(--bg-white);
    border-radius: 0; /* Rechteckig - CD Vorgabe */
    overflow: hidden;
    box-shadow: 0px 15px 15px -10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-0.1875rem); /* -3px */
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 15.625rem; /* 250px */
    object-fit: cover;
}

.card h3 {
    padding: 1.25rem; /* 20px */
    font-size: 1.375rem; /* 22px */
    color: var(--primary-blue);
    text-align: center;
}

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

.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 4-Spalten Layout für Desktop */
.footer-grid--4col {
    grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr 0.8fr;
}

/* 2-Spalten Layout */
.footer-grid--2col {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.footer-column h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-org {
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-yellow);
}

/* Öffnungszeiten */
.footer-hours {
    margin-top: 1rem;
}

.footer-hours strong {
    display: block;
    margin-bottom: 0.5rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table td {
    padding: 0.2rem 0;
}

.hours-table td:first-child {
    width: 80px;
    color: rgba(255, 255, 255, 0.8);
}

.hours-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

/* Teams mit Farbpunkten */
.footer-teams {
    list-style: none;
}

.footer-teams li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.team-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-dot--mitbachaue {
    background: var(--team-mitbachaue);
}

.team-dot--wirbelwind {
    background: var(--team-wirbelwind);
}

.team-dot--tagespflege {
    background: #e0e0e0;
    border: 1px solid #ccc;
}

.team-dot--vollzeitpflege {
    background: var(--team-vollzeitpflege);
}

.footer-teams a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-teams a:hover {
    color: var(--primary-yellow);
}

/* Nummer gegen Kummer */
.footer-helpline {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-helpline strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.footer-external-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-external-link:hover {
    text-decoration: underline;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link--facebook:hover {
    background: #1877f2;
}

.social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Footer Brand Column (2-Col Layout) */
.footer-column--brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: inline-block;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.footer-slogan {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.footer-org-name {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Footer Contact Column */
.footer-column--contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 2rem;
    align-items: start;
}

.footer-contact-block h3 {
    color: var(--primary-yellow);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-contact-block address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-contact-block .footer-contact a {
    color: white;
    text-decoration: none;
    display: block;
    line-height: 1.6;
}

.footer-contact-block .footer-contact a:hover {
    color: var(--primary-yellow);
}

/* Nummer gegen Kummer */
.footer-ngk-section {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-ngk-section p {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.ngk-logo {
    height: 80px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.ngk-logo:hover {
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom-links {
    margin-bottom: 0.75rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-yellow);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.75rem;
}

/* Rechtliches Titel im Footer */
.footer-legal-title {
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-links--small {
    margin-top: 0;
}

.footer-links--small li {
    margin-bottom: 0.35rem;
}

.footer-links--small a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links--small a:hover {
    color: var(--primary-yellow);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ============================================
   NEUE KOMPONENTEN - REDESIGN
   ============================================ */

/* Hero Modern - Einfacher, klarer */
.hero-modern {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--global-palette12) 100%);
    padding: 6.25rem 0; /* 100px */
    text-align: center;
    color: white;
}

.hero-modern h1 {
    font-size: 3.25rem; /* 52px */
    font-weight: 700;
    margin-bottom: 1.25rem; /* 20px */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-modern .subtitle {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 2.5rem; /* 40px */
    opacity: 0.95;
}

.hero-modern .cta-buttons {
    display: flex;
    gap: 1.25rem; /* 20px */
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Cards - 3 Spalten */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* 40px */
    padding: 5rem 0; /* 80px */
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.25rem; /* 40px 20px */
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 0; /* Rechteckig - CD Vorgabe */
    transition: all 0.3s ease;
    box-shadow: 0px 15px 15px -10px rgba(0,0,0,0.05);
}

.service-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
}

.service-card svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card .btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.service-card .btn-link:hover {
    text-decoration: underline;
}

/* Page Layout mit Sidebar */
.page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.page-main {
    min-width: 0;
}

.page-sidebar {
    min-width: 0;
}

/* Sidebar Komponenten */
.sidebar-box {
    background: var(--bg-lighter);
    padding: 30px;
    border-left: 4px solid var(--primary-yellow);
    border-radius: 5px;
    margin-bottom: 30px;
}

.sidebar-box h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 20px;
}

.sidebar-box .contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sidebar-box .contact-item svg {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.sidebar-box a {
    color: var(--text-dark);
    text-decoration: none;
}

.sidebar-box a:hover {
    color: var(--primary-blue);
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.sidebar-box ul li::before {
    content: '\2192\00a0';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Intelligente Foto-Platzhalter */
.image-placeholder {
    background: var(--bg-lighter);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    transition: all 0.3s;
}

.image-placeholder:hover {
    border-color: var(--primary-blue);
    background: #f0f8ff;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.image-placeholder .size-hint {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: var(--primary-yellow);
}

.team-card .image-placeholder {
    aspect-ratio: 1/1;
    padding: 20px;
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 2px dashed var(--border-color);
}

.team-card .team-info {
    padding: 20px;
}

.team-card h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-card .team-role {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-card .team-contact {
    font-size: 14px;
    line-height: 1.8;
}

.team-card .team-contact a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
}

.team-card .team-contact a:hover {
    color: var(--primary-blue);
}

/* Akzent-Balken */
.section-accent {
    border-left: 4px solid var(--primary-yellow);
    padding-left: 20px;
    margin: 40px 0;
}

/* Vertrauens-Elemente */
.trust-section {
    background: var(--bg-lighter);
    padding: 60px 0;
    text-align: center;
}

.trust-section h2 {
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Kontakt-Banner */
.contact-banner {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-banner h2 {
    color: white;
    margin-bottom: 15px;
}

.contact-banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-banner .cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-banner a.phone {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.contact-banner a.phone:hover {
    color: var(--primary-yellow);
}

/* Aktuelles (News) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.news-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s;
}

.news-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-blue);
}

.news-item .news-date {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.news-item p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-item .btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.news-item .btn-link:hover {
    text-decoration: underline;
}

/* ============================================
   ACCORDION COMPONENT - Wiederverwendbar
   Einheitliches Design mit FAQ-Section
   ============================================ */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.875rem 0;
}

.accordion-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.accordion-item:hover {
    border-color: var(--primary-blue);
}

.accordion-header {
    background: var(--bg-light);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(0, 100, 173, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-icon {
    font-size: 1.25rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-medium);
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.25rem;
    max-height: 2000px;
}

/* Floating Schnellkontakt Button */
/* Floating Kontakt-Button mit Menu */
.quick-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-floating-widget); /* 9999 - immer ganz oben */
}

.quick-contact-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-contact-button:hover {
    transform: translateY(-3px);
    background: #e6c700;
    box-shadow: 0 8px 25px rgba(255, 221, 0, 0.5);
}

.quick-contact-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.quick-contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.quick-contact-item:hover {
    background: var(--bg-lighter);
    color: var(--primary-blue);
}

.quick-contact-item svg {
    flex-shrink: 0;
}

/* ============================================
   ORGANISCHES DESIGN - ENTFERNT (nicht CD-konform)
   Diese Sektion wurde deaktiviert zugunsten des Corporate Designs
   ============================================ */
/*

/* Organische Blob-Formen (wiederverwendbar) */
.blob-shape-1 {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.blob-shape-2 {
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}

.blob-shape-3 {
    border-radius: 30% 70% 53% 47% / 67% 40% 60% 33%;
}

.blob-shape-4 {
    border-radius: 54% 46% 48% 52% / 49% 60% 40% 51%;
}

/* Gelbe Blob-Akzente für Hintergründe */
.yellow-blob {
    position: absolute;
    background: var(--primary-yellow);
    opacity: 0.15;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    z-index: 0;
    pointer-events: none;
}

.blue-blob {
    position: absolute;
    background: var(--primary-blue);
    opacity: 0.08;
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
    z-index: 0;
    pointer-events: none;
}

/* Geschwungene Section-Übergänge */
.wave-top {
    position: relative;
}

.wave-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: inherit;
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
}

.wave-bottom {
    position: relative;
}

.wave-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: inherit;
    border-radius: 50% 50% 0 0 / 30px 30px 0 0;
}

/* Hero mit Foto-Background - Organisch */
.hero-organic {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--global-palette12) 100%);
}

.hero-organic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-organic .hero-content {
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 40%,
        rgba(255, 255, 255, 0.8) 60%,
        rgba(255, 255, 255, 0.4) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    padding: 80px 100px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    /* Organischer Klecks + weicher Übergang */
    max-width: 800px;
    margin: 0 auto;
    box-shadow: none;
    text-align: center;
}

.hero-organic h1 {
    font-size: 52px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-organic .subtitle {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.hero-organic .cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-organic .btn-organic {
    padding: 15px 40px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 50px 20px 50px 20px;
    /* Organischer Button! */
}

.hero-organic .btn-organic:hover {
    border-radius: 20px 50px 20px 50px;
    /* Form wechselt beim Hover! */
    transform: translateY(-3px);
}

.hero-organic .btn-primary-organic {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.hero-organic .btn-secondary-organic {
    background: var(--primary-blue);
    color: white;
}

/* Service-Blobs - Organische Karten */
.service-blobs {
    padding: 100px 0;
    position: relative;
}

.service-blobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-blob {
    background: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    /* Organische Form! */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-blob:hover {
    border-radius: 54% 46% 48% 52% / 49% 60% 40% 51%;
    /* Form ändert sich! */
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 60px rgba(1, 106, 171, 0.15);
}

.service-blob .blob-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary-blue);
}

.service-blob h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-blob p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-blob .btn-link-organic {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.service-blob .btn-link-organic:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

/* Zahlen-Section mit geschwungenem Hintergrund */
.stats-organic {
    background: #f5f9fc;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-organic::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
}

.stats-organic .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-blob {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 50% 50% 40% 60% / 50% 50% 50% 50%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.stat-blob .number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-blob .label {
    font-size: 18px;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
}

/* Trust Elements */
.trust-elements {
    margin-top: 80px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 16px;
    color: var(--text-dark);
}

.trust-check {
    color: var(--primary-blue);
}

/* Kontaktformular - Organisch */
.contact-form-organic {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--global-palette12) 100%);
    padding: 100px 0;
    position: relative;
}

.contact-form-organic .form-container {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    padding: 60px 80px 110px;
    border-radius: 55% 45% 50% 50% / 35% 35% 65% 65%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.contact-form-organic h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-organic .form-group {
    margin-bottom: 25px;
}

.contact-form-organic label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-organic input,
.contact-form-organic textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.3s;
}

.contact-form-organic input:focus,
.contact-form-organic textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 106, 171, 0.1);
}

.contact-form-organic textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-organic .submit-btn-organic {
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px 20px 50px 20px;
    transition: all 0.4s ease;
    width: 100%;
}

.contact-form-organic .submit-btn-organic:hover {
    border-radius: 20px 50px 20px 50px;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.3);
}

/* Checkbox für Datenschutz */
.contact-form-organic .checkbox-group {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.contact-form-organic .checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
    text-align: left;
}

.contact-form-organic .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-form-organic .checkbox-label span {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-organic .checkbox-label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-form-organic .checkbox-label a:hover {
    color: #0288d1;
}

/* News-Cards mit organischen Formen */
.news-organic {
    padding: 80px 0;
}

.news-organic .news-grid-organic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.news-card-organic {
    background: white;
    border-radius: 30px 10px 30px 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.news-card-organic:hover {
    border-radius: 10px 30px 10px 30px;
    /* Form wechselt! */
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(1, 106, 171, 0.15);
}

.news-card-organic .news-image {
    height: 250px;
    background: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.news-card-organic .news-content {
    padding: 30px;
}

.news-card-organic .news-date {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card-organic h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.news-card-organic p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.news-card-organic .btn-link-organic {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s;
}

.news-card-organic .btn-link-organic:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
}
*/

/* ============================================
   MAP SECTION - ORGANISCH (DEAKTIVIERT)
   ============================================ */
/*

.map-organic {
    padding: 80px 0;
    background: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.map-organic h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.map-container-organic {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px 10px 40px 10px;
    /* Organische Form! */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(1, 106, 171, 0.15);
    height: 500px;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 30px 10px 30px 10px;
    /* Organische Form wie Container */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 300px;
}

.map-info-overlay h3 {
    color: var(--primary-blue);
    margin: 0 0 10px 0;
    font-size: 20px;
}

.map-info-overlay p {
    margin: 5px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.map-info-overlay a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.map-info-overlay a:hover {
    color: var(--primary-yellow);
}
*/

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

/* Laptop & kleinere Desktops */
@media (max-width: 1200px) {
    /* Logo etwas kleiner */
    .header-logo .logo-img {
        max-height: 4.5rem; /* 72px */
    }

    .sticky-header-wrapper.scrolled .header-logo .logo-img {
        transform: scale(0.778); /* 56/72 ≈ 0.778 */
    }

    /* Tagline ausblenden bei mittleren Screens */
    .header-tagline {
        display: none;
    }
}

/* Tablet + kleine Desktops - Hamburger Menu aktivieren (Lena 14.05.2026: 992→1424 wegen "Fachberatung Pflegefamilien" Umbruch) */
@media (max-width: 1424px) {
    /* Header Row ausblenden */
    .site-header {
        display: none;
    }

    /* ============================================
       MOBILE NAVIGATION - ab Tablet
       ============================================ */

    /* Navigation als Mobile Header Bar */
    .main-navigation {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Mobile Header Links (Logo + Tagline) */
    .mobile-header-left {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .mobile-header-left .mobile-logo {
        display: block;
    }

    .mobile-header-left .mobile-logo img {
        max-height: 4rem;
        width: auto;
        display: block;
    }

    .mobile-header-left .mobile-tagline {
        display: block;
        font-size: 0.6875rem;
        color: var(--text-dark);
        opacity: 0.8;
        white-space: nowrap;
    }

    /* Hamburger Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 3rem;
        height: 3rem;
        background: var(--primary-blue);
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        z-index: var(--z-mobile-toggle);
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 1.5rem;
        height: 3px;
        background: white;
        margin: 3px 0;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Hamburger -> X Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: var(--z-overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Slide-In Menu */
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary-blue);
        z-index: var(--z-mobile-menu);
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-top: 4.5rem;
    }

    .nav-menu-wrapper.active {
        transform: translateX(0);
    }

    /* Menu Items */
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
        flex: 1;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item a {
        padding: 16px 25px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Dropdown Arrow */
    .dropdown-arrow {
        display: block;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Mobile Dropdown Submenu */
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown-menu a {
        color: white;
        padding: 14px 25px 14px 40px;
        font-size: 15px;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
        border-left-color: transparent !important;
    }

    /* Alle Team-Farben Hover auf Mobile überschreiben */
    .nav-item[data-team] .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
    }

    /* Mobile: Hover + Active States für Hauptmenü */
    .nav-item a:hover,
    .nav-item a:focus {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .nav-item a.active,
    .nav-item.active > a {
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
    }

    /* Desktop CTA-Button ausblenden auf Mobile */
    .nav-cta-btn {
        display: none;
    }

    /* Menu Footer */
    .mobile-menu-footer {
        display: block;
        padding: 20px 25px 25px;
        margin-top: auto;
        background: none;
    }

    /* Einheitlicher Mobile-Footer Button-Style */
    .mobile-menu-footer a {
        display: block;
        padding: 14px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        text-align: center;
        margin-bottom: 10px;
        transition: all 0.2s ease;
    }

    .mobile-menu-footer a:last-child {
        margin-bottom: 0;
    }

    /* Karriere: Orange (primärer CTA) */
    .btn-karriere-mobile {
        display: block;
        background: var(--primary-orange, #e8590c);
        color: white !important;
    }
    .btn-karriere-mobile:hover {
        background: #d14e0a;
        color: white !important;
    }

    /* Mitglied werden: Weiß */
    .btn-donate-mobile {
        background: white;
        color: var(--primary-blue) !important;
    }
    .btn-donate-mobile:hover {
        background: #f0f0f0;
        color: var(--primary-blue) !important;
    }

    /* Anrufen: Outline weiß */
    .btn-phone-mobile {
        background: transparent;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.6);
        padding: 12px 20px;
    }
    .btn-phone-mobile:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
        color: white !important;
    }

    /* Footer - 4 Spalten wird zu 2x2 Grid auf Tablet */
    .footer-grid--4col {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    /* Footer 2-Col auf Tablet */
    .footer-grid--2col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-ngk {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Mobile - kleinere Anpassungen (Smartphones) */
@media (max-width: 768px) {
    /* === Responsive Typography === */
    h1 { font-size: 2.375rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.1875rem; }
    h5 { font-size: 1.0625rem; }
    h6 { font-size: 1rem; }

    /* Mobile Logo kleiner auf Smartphones */
    .mobile-header-left .mobile-logo img {
        max-height: 3.5rem;
    }

    /* Tagline auf sehr kleinen Screens - kleiner aber sichtbar */
    .mobile-header-left .mobile-tagline {
        display: block;
        font-size: 0.5625rem; /* 9px */
        line-height: 1.2;
    }

    /* Menu schmaler auf Mobile */
    .nav-menu-wrapper {
        max-width: 18.75rem;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    /* Main Content */
    .main-content h1 {
        font-size: 28px;
    }

    .main-content p {
        font-size: 16px;
    }

    /* Footer - 2 Spalten auf Mobile, zentriert */
    .footer-grid,
    .footer-grid--4col {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-column {
        text-align: left;
    }

    /* Brand-Spalte: volle Breite oben */
    .footer-column--brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    /* Logo größer auf Mobile */
    .footer-column--brand .footer-logo {
        height: 80px;
    }

    .footer-teams li {
        justify-content: flex-start;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-slogan,
    .footer-org-name {
        text-align: center;
    }

    .hours-table {
        margin: 0;
        width: auto;
    }

    .footer-column--oeffnungszeiten {
        text-align: left;
    }

    .footer-ngk-section {
        text-align: center;
    }

    .footer-ngk-section .ngk-logo {
        height: 80px;
    }

    /* Öffnungszeiten: Kontakt und Zeiten beide linksbündig, gleiche Höhe */
    .footer-column--kontakt,
    .footer-column--oeffnungszeiten {
        text-align: left;
    }

    .footer-column--oeffnungszeiten .hours-table {
        width: auto;
    }

    .footer-column--oeffnungszeiten .hours-table td {
        padding-right: 8px;
    }

    .footer-bottom-links {
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
    }

    .hours-table {
        margin: 0;
        width: auto;
    }

    .hours-table td:first-child {
        text-align: left;
        width: auto;
        padding-right: 0.4rem;
    }

    /* Neue Komponenten - Mobile */
    .hero-modern h1 {
        font-size: 36px;
    }

    .hero-modern .subtitle {
        font-size: 18px;
    }

    .hero-modern .cta-buttons {
        flex-direction: column;
    }

    .service-cards {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 30px;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

    .quick-contact {
        bottom: 20px;
        right: 20px;
    }

    .quick-contact-button {
        width: 50px;
        height: 50px;
    }

    .quick-contact-button svg {
        width: 22px;
        height: 22px;
    }

    /* Organische Komponenten - Mobile */
    .hero-organic {
        min-height: 500px;
    }

    .hero-organic .hero-content {
        padding: 60px 30px 40px;
        max-width: 100%;
        /* Ei-Gradient größer für Mobile */
        background: radial-gradient(ellipse 120% 100% at center 40%,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.95) 35%,
            rgba(255, 255, 255, 0.8) 55%,
            rgba(255, 255, 255, 0.4) 75%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-organic h1 {
        font-size: 28px;
    }

    .hero-organic .subtitle {
        font-size: 16px;
    }

    .hero-organic .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-organic .btn-organic {
        width: 100%;
        text-align: center;
    }

    .service-blobs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-organic .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Section Titles - Tablet */
    .section-title {
        margin-bottom: 40px;
    }

    /* Trust Elements - Tablet */
    .trust-elements {
        margin-top: 50px;
        gap: 20px;
    }

    /* Stats Section - Tablet */
    .stats-organic {
        padding: 80px 0;
    }

    .news-organic .news-grid-organic {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-organic .form-container {
        padding: 50px 25px 40px;
        border-radius: 30px;
        max-width: 95%;
    }

    .contact-form-organic {
        padding: 60px 0;
    }

    .contact-form-organic h2 {
        font-size: 24px;
    }

    /* Map Section - Mobile */
    .map-container-organic {
        height: 400px;
        border-radius: 20px;
    }

    .map-info-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 20px;
        max-width: 100%;
        border-radius: 20px;
    }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .hero-card h2 {
        font-size: 22px;
    }

    .hero-modern h1 {
        font-size: 28px;
    }

    .hero-modern .subtitle {
        font-size: 16px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    /* ============================================
       ORGANISCHE KOMPONENTEN - MOBILE SMALL
       ============================================ */

    /* Hero - kompakter */
    .hero-organic .hero-content {
        padding: 50px 20px 30px;
    }

    .hero-organic h1 {
        font-size: 24px;
    }

    /* Stats - Zahlen kleiner */
    .stat-blob .number {
        font-size: 40px;
    }

    .stat-blob {
        padding: 30px 20px;
    }

    /* Service Blobs - kompakter */
    .service-blob {
        padding: 30px 20px;
    }

    .service-blob h3 {
        font-size: 20px;
    }

    /* News Cards - Bild kleiner */
    .news-card-organic .news-image {
        height: 180px;
    }

    .news-card-organic .news-content {
        padding: 20px;
    }

    /* Map Info Overlay */
    .map-info-overlay {
        max-width: 90%;
        padding: 15px 20px;
    }

    /* Contact Form - Touch optimiert */
    .contact-form-organic input,
    .contact-form-organic textarea {
        padding: 16px 14px;
        font-size: 16px; /* Verhindert iOS auto-zoom */
        border-radius: 12px;
    }

    .contact-form-organic .submit-btn-organic {
        padding: 16px 30px;
        font-size: 16px;
    }

    /* Contact Form - noch kompakter */
    .contact-form-organic .form-container {
        padding: 40px 20px 30px;
        border-radius: 25px;
    }

    .contact-form-organic h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-form-organic .form-subtitle {
        font-size: 14px;
    }

    /* Quick Contact Menu */
    .quick-contact-menu {
        min-width: 200px;
        right: -10px;
    }

    /* Section Titles - Mobile */
    .section-title {
        margin-bottom: 30px;
        font-size: 22px;
    }

    /* Trust Elements - Mobile */
    .trust-elements {
        margin-top: 40px;
        gap: 15px;
        flex-direction: column;
    }

    .trust-item {
        font-size: 14px;
    }

    /* Stats Section - Mobile */
    .stats-organic {
        padding: 60px 0;
    }
}
