/* ==========================================================================
   Kita Mauerstraße – Kidden-inspiriertes Design
   Verspielt, warm, wellenförmig mit Regenbogenfarben
   ========================================================================== */

:root {
    /* Regenbogen */
    --color-rot: #e0536b;
    --color-orange: #f2963c;
    --color-gelb: #f5d742;
    --color-gruen: #5cba6a;
    --color-blau: #4a9ad8;
    --color-hellblau: #a8c4e6;
    --color-lila: #c0a3d8;

    /* Basis */
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-text-muted: #b2bec3;
    --color-white: #ffffff;
    --color-border: #f0f0f0;

    /* Hintergründe */
    --color-bg: #ffffff;
    --color-bg-warm: #fff9f0;
    --color-bg-green: #f0f9f1;
    --color-bg-blue: #f0f7fc;
    --color-bg-hero: #fff8e7;
    --color-footer: #2d6a4f;
    --color-footer-dark: #1b4332;

    /* Layout */
    --max-width: 1200px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Fonts */
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Baloo 2', 'Nunito', cursive;

    --page-color: #4a9ad8;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    cursor: default;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-blau);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--color-rot); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   CURSOR FOLLOWER
   ========================================================================== */
.cursor-follower {
    width: 24px;
    height: 24px;
    background: var(--color-rot);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
}

.cursor-follower.is-hovering {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    background: var(--color-orange);
}

@media (pointer: coarse) {
    .cursor-follower { display: none; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-rot);
    color: var(--color-white);
    border-color: var(--color-rot);
}
.btn--primary:hover {
    background: #c9445b;
    border-color: #c9445b;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 83, 107, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.btn--outline:hover {
    background: var(--color-text);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Bunte Punkte-Leiste am unteren Rand des Headers */
.site-header::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-rot) 0px, var(--color-rot) 40px,
        var(--color-orange) 40px, var(--color-orange) 80px,
        var(--color-gelb) 80px, var(--color-gelb) 120px,
        var(--color-gruen) 120px, var(--color-gruen) 160px,
        var(--color-blau) 160px, var(--color-blau) 200px,
        var(--color-lila) 200px, var(--color-lila) 240px
    );
    border-radius: 0 0 3px 3px;
}

.site-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    overflow: visible;
}

.site-header {
    overflow: visible;
}

/* Logo – größer, steht nach unten über */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    z-index: 110;
}
.site-logo:hover { text-decoration: none; }

.site-logo__img,
.site-logo .custom-logo {
    height: 120px;
    width: auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.site-logo:hover .site-logo__img,
.site-logo:hover .custom-logo {
    transform: scale(1.05) rotate(-2deg);
}

/* Navigation */
.site-nav { display: flex; align-items: center; }

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font-heading);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}
.nav-link:hover { text-decoration: none; }

.nav-link__color-bar { display: none; }

.nav-link::after { display: none; }

.nav-link:hover {
    background: color-mix(in srgb, var(--nav-color, var(--color-rot)) 12%, transparent);
    color: var(--nav-color, var(--color-rot));
    border-color: color-mix(in srgb, var(--nav-color, var(--color-rot)) 30%, transparent);
    transform: translateY(-2px) scale(1.04);
}

.nav-link--active {
    background: color-mix(in srgb, var(--nav-color, var(--color-rot)) 15%, transparent);
    color: var(--nav-color, var(--color-rot));
    border-color: var(--nav-color, var(--color-rot));
    font-weight: 800;
}

/* Dropdown */
.nav-item .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    list-style: none;
    min-width: 200px;
    z-index: 200;
    padding: 0.5rem;
    border-top: 3px solid var(--nav-color);
    animation: dropdownIn 0.2s ease;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-item:hover > .sub-menu { display: block; }

/* Invisible hover bridge: covers the 8px gap + 3px border between
   nav-item and sub-menu so the mouse can travel to the dropdown
   without losing the :hover state on .nav-item */
.nav-item > .sub-menu::before {
    content: '';
    position: absolute;
    top: -11px;
    left: 0;
    right: 0;
    height: 11px;
}

.sub-menu .nav-link {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
}
.sub-menu .nav-link::after { display: none; }
.sub-menu .nav-link:hover { background: var(--color-bg-warm); }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 6px;
    z-index: 110;
}

.nav-toggle__bar {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   WAVES (SVG Section Dividers)
   ========================================================================== */
.wave {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
}
.wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    background: var(--color-bg-hero);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.hero__title--highlight {
    color: var(--color-orange);
    position: relative;
}

.hero__title--highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(242, 150, 60, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero__text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    max-width: 520px;
}

.hero__motto {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-blau);
    margin-bottom: 1.75rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Image */
.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-frame {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-width: 380px;
}

.hero__image-frame img {
    border-radius: var(--radius-lg);
}

.hero__image-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(135deg,
        rgba(224, 83, 107, 0.15),
        rgba(242, 150, 60, 0.15),
        rgba(245, 215, 66, 0.1),
        rgba(92, 186, 106, 0.15)
    );
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    z-index: 1;
    animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    25% { border-radius: 50% 60% 40% 60% / 60% 40% 60% 40%; }
    50% { border-radius: 40% 50% 60% 40% / 40% 50% 50% 60%; }
    75% { border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%; }
}

/* Hero Decorations */
.hero__deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero__deco--star1 {
    top: 15%;
    right: 12%;
    font-size: 1.8rem;
    color: var(--color-orange);
    animation: twinkle 3s ease-in-out infinite;
}

.hero__deco--star2 {
    top: 65%;
    left: 5%;
    font-size: 1.2rem;
    color: var(--color-gelb);
    animation: twinkle 3s ease-in-out 1.5s infinite;
}

.hero__deco--dot1,
.hero__deco--dot2,
.hero__deco--dot3 {
    border-radius: 50%;
}

.hero__deco--dot1 {
    width: 14px; height: 14px;
    background: var(--color-rot);
    top: 25%;
    right: 25%;
    animation: floatUp 4s ease-in-out infinite;
}

.hero__deco--dot2 {
    width: 10px; height: 10px;
    background: var(--color-gruen);
    top: 50%;
    left: 45%;
    animation: floatUp 5s ease-in-out 1s infinite;
}

.hero__deco--dot3 {
    width: 8px; height: 8px;
    background: var(--color-lila);
    bottom: 25%;
    right: 35%;
    animation: floatUp 6s ease-in-out 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(20deg); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 5rem 0; position: relative; }
.section--white { background: var(--color-white); }
.section--warm { background: var(--color-bg-warm); }
.section--green { background: var(--color-bg-green); }
.section--blue { background: var(--color-bg-blue); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-orange), var(--color-rot));
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.section-header__title--left { text-align: left; }

.section-header__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   FEATURE CARDS (Betreuung)
   ========================================================================== */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--card-color, var(--color-blau));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, color-mix(in srgb, var(--card-color) 5%, transparent), transparent 40%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--card-color) 12%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-card__icon { font-size: 2rem; }

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card__hours {
    border-top: 2px dashed var(--color-border);
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card__hour {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--color-text-light);
    padding: 0.2rem 0;
}

.feature-card__hour span:last-child {
    font-weight: 700;
    color: var(--color-text);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-frame {
    position: relative;
    display: inline-block;
}

.about-image-frame img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.about-image-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-image-badge__number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge__text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-grid__content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin-bottom: 2rem;
}

.about-list__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-weight: 600;
    font-size: 1rem;
}

.about-list__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ==========================================================================
   COUNTERS
   ========================================================================== */
.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.counter__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.counter__number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.counter__label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* ==========================================================================
   INFO CARDS (Kontakt)
   ========================================================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--card-color, var(--color-blau));
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.info-card__icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.info-card a { font-weight: 600; }

/* ==========================================================================
   PAGE BANNER (Unterseiten)
   ========================================================================== */
.page-banner {
    background: color-mix(in srgb, var(--page-color) 10%, var(--color-bg-warm));
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right,
        var(--color-rot), var(--color-orange), var(--color-gelb),
        var(--color-gruen), var(--color-blau), var(--color-lila)
    );
}

.page-banner__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
}

/* ==========================================================================
   ENTRY CONTENT (Seiteninhalte)
   ========================================================================== */
.site-main { flex: 1; }

.content-area {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
}

.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2 { font-family: var(--font-heading); font-size: 1.8rem; margin: 2.5rem 0 0.75rem; }
.entry-content h3 { font-family: var(--font-heading); font-size: 1.4rem; margin: 2rem 0 0.5rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.25rem 1.5rem; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }

/* Info List (Kontaktseite) */
.info-list { max-width: 700px; }
.info-list__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}
.info-list__item:hover { background: var(--color-bg-warm); }
.info-list__item::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-orange);
    flex-shrink: 0;
}

/* ==========================================================================
   POST CARDS (Aktuelles)
   ========================================================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.post-card__image img { width: 100%; height: 220px; object-fit: cover; }
.post-card__content { padding: 1.75rem; }

.post-card__date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-white);
    background: var(--color-orange);
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-blau); text-decoration: none; }

.post-card__excerpt {
    font-size: 0.92rem;
    color: var(--color-text-light);
}

/* Einzelbeitrag */
.entry-header { margin-bottom: 2rem; }
.entry-title { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.entry-date { font-size: 0.9rem; color: var(--color-text-muted); }

/* Pagination */
.pagination { margin-top: 2.5rem; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.pagination .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--color-white);
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--color-border);
    transition: all 0.2s;
}
.pagination .page-numbers.current {
    background: var(--color-rot);
    color: var(--color-white);
    border-color: var(--color-rot);
}

/* ==========================================================================
   CARDS (generisch)
   ========================================================================== */
.cards { display: grid; gap: 1.75rem; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
.cards--three { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; }

.wave--footer { margin-bottom: -2px; }

.site-footer__main {
    background: var(--color-footer);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 2rem;
    position: relative;
}

.site-footer__main a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}
.site-footer__main a:hover { color: var(--color-white); text-decoration: none; }

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 2.5rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-footer__logo-img {
    height: 80px;
    width: auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.site-footer__heading--brand {
    margin-bottom: 0.2rem;
    font-size: 1.25rem;
}

.site-footer__tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-gelb);
    font-style: italic;
}

.site-footer__about {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.75;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s;
}
.social-link--facebook { background: #1877f2; }
.social-link--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743); }
.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--color-white);
}

.site-footer__heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.site-footer__list {
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.site-footer__list--links a {
    position: relative;
    padding-left: 1rem;
}

.site-footer__list--links a::before {
    content: '\2192';
    position: absolute;
    left: 0;
    transition: transform 0.2s;
}

.site-footer__list--links a:hover::before {
    transform: translateX(3px);
}

.site-footer__bottom {
    background: var(--color-footer-dark);
    padding: 1rem 0;
    position: relative;
}

/* Kinder-Reihe rechts im Footer, stehend auf der dunkelgrünen Kante */
.site-footer__kids-img {
    position: absolute;
    right: 2rem;
    bottom: 0;
    height: 120px;
    width: auto;
}

@media (max-width: 768px) {
    .site-footer__kids-img { display: none; }
}

/* Bunte Leiste ganz am Ende */
.site-footer__bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-rot) 0px, var(--color-rot) 40px,
        var(--color-orange) 40px, var(--color-orange) 80px,
        var(--color-gelb) 80px, var(--color-gelb) 120px,
        var(--color-gruen) 120px, var(--color-gruen) 160px,
        var(--color-blau) 160px, var(--color-blau) 200px,
        var(--color-lila) 200px, var(--color-lila) 240px
    );
}

.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}
.site-footer__legal a:hover { color: var(--color-white); }
.site-footer__legal span { color: rgba(255, 255, 255, 0.3); }

/* ==========================================================================
   WORDPRESS ADMIN BAR
   ========================================================================== */
.admin-bar .site-header { top: 32px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__title { font-size: 2.4rem; }
    .feature-cards { grid-template-columns: repeat(2, 1fr); }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-hover);
        z-index: 200;
        padding: 1rem;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .site-nav.is-open { display: block; }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item { width: 100%; }

    .nav-link {
        padding: 0.85rem 1rem;
        border-radius: var(--radius-sm);
        width: 100%;
    }

    .nav-link::after { display: none; }

    .nav-link {
        border-left: 4px solid var(--nav-color, var(--color-rot));
        color: var(--nav-color, var(--color-rot));
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .nav-link--active {
        background: color-mix(in srgb, var(--nav-color, var(--color-rot)) 12%, transparent);
        font-weight: 800;
    }

    .nav-link:hover {
        background: color-mix(in srgb, var(--nav-color, var(--color-rot)) 12%, transparent);
    }

    /* Submenü-Toggle-Pfeil */
    .nav-item.has-children > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item.has-children > .nav-link::after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-item.has-children.is-sub-open > .nav-link::after {
        transform: rotate(-135deg);
    }

    .nav-item .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 1.5rem;
        display: none;
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        min-width: auto;
        animation: none;
        overflow: hidden;
    }

    .nav-item.is-sub-open > .sub-menu {
        display: block;
    }

    .sub-menu .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        opacity: 0.85;
        border-left-width: 3px;
    }

    .sub-menu .nav-link::after {
        display: none !important;
    }

    /* Header mobil */
    .site-header > .container {
        height: 70px;
    }

    .site-logo__img,
    .site-logo .custom-logo {
        height: 65px;
    }

    .site-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    /* Hero */
    .hero { padding: 2rem 0 0; }
    .hero__grid { grid-template-columns: 1fr; gap: 2rem; min-height: auto; text-align: center; }
    .hero__title { font-size: 2rem; }
    .hero__text { margin: 0 auto 0.75rem; }
    .hero__buttons { justify-content: center; }
    .hero__image { order: 2; }
    .hero__image-frame { max-width: 250px; }
    .hero__deco { display: none; }

    /* Sections */
    .section { padding: 3rem 0; }
    .section-header__title { font-size: 1.8rem; }
    .feature-cards { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .about-grid__content { text-align: left; }
    .about-image-badge { right: 10px; bottom: -10px; width: 80px; height: 80px; }
    .about-image-badge__number { font-size: 1rem; }
    .counters { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .info-cards { grid-template-columns: 1fr; }
    .cards--two, .cards--three { grid-template-columns: 1fr; }

    /* Footer */
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom .container { flex-direction: column; gap: 0.5rem; text-align: center; }

    /* Page */
    .page-banner { padding: 2rem 0 1.5rem; }
    .page-banner__title { font-size: 1.8rem; }

    /* Posts */
    .post-grid { grid-template-columns: 1fr; }

    /* Admin bar */
    .admin-bar .site-header { top: 46px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.6rem; }
    .section-header__title { font-size: 1.5rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .feature-card { padding: 1.5rem; }
    .container { padding: 0 1.25rem; }
}
