

:root {
    --blue: #004e7c;
    --blue-2: #015687;
    --blue-dark: #203b8f;
    --yellow: #f4cd32;
    --orange: #e66900;
    --sky: #28b4f9;
    --green: #39cb74;
    --red: #f1434b;
    --text: #263646;
    --muted: #667483;
    --line: #dedede;
    --bg: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(20, 40, 70, 0.10);
    --soft-shadow: 0 8px 24px rgba(20, 40, 70, 0.08);
    --radius: 30px;
    --content-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: KrabbelLocal, 'Helvetica Neue', Arial, system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code { background: #eef5f9; border-radius: 8px; padding: 0.1em 0.35em; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(222, 222, 222, 0.85);
    box-shadow: 0 10px 30px rgba(0, 78, 124, 0.06);
    backdrop-filter: blur(12px);
}

.header-mid { min-height: 132px; display: flex; align-items: center; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 0; }

.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--text); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
   
    box-shadow: var(--soft-shadow);
}
.brand strong { display: block; color: var(--blue); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.1; }
.brand small { display: block; color: var(--muted); margin-top: 4px; }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--blue);
    border-radius: 999px;
    padding: 11px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a,
.nav-parent {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--text);
    padding: 13px 12px;
    border-radius: 999px;
    cursor: pointer;
}
.main-nav a:hover,
.nav-parent:hover,
.main-nav a.active,
.nav-section-link.active {
    color: var(--blue);
    background: rgba(0, 78, 124, 0.08);
    text-decoration: none;
}

.nav-parent-row { display: flex; align-items: stretch; }
/* Kein separater Pfeil-/Buttonbereich im Desktop-Menü.
   Das Dropdown öffnet weiterhin beim Überfahren des Menüpunktes. */
.nav-section-link { border-radius: 999px; padding-right: 14px; }
.nav-parent { display: none !important; }
.nav-parent::before,
.nav-parent::after { display:none !important; content:none !important; }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
    z-index: 80;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 28px; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 12px solid var(--white); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 14px; font-weight: 600; white-space: nowrap; }
.has-dropdown.open .dropdown { display: block; }

.site-main { overflow: hidden; }

.page-head {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 13% 20%, rgba(244,50, 50, 0.62), transparent 22%),
        radial-gradient(circle at 86% 18%, rgba(40, 180, 249, 0.35), transparent 20%),
        linear-gradient(135deg, var(--blue), #00669d);
}
.page-head::after,
.site-footer .footer-zigzag::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 22px;
    background-image: linear-gradient(135deg, #fff 25%, transparent 25%), linear-gradient(225deg, #fff 25%, transparent 25%);
    background-position: 0 0, 0 0;
    background-size: 28px 28px;
    background-repeat: repeat-x;
}
.page-head-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 70px 0 74px; }
.page-head-home .page-head-inner { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); align-items: center; min-height: 520px; padding-top: 78px; }
.eyebrow { display: inline-flex; margin-bottom: 14px; color: #ff0000; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.86rem; }
.page-head h1 { margin: 0; max-width: 900px; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: 1.05; font-weight: 700; }
.page-head p { margin: 22px 0 0; max-width: 680px; color: rgba(255,255,255,0.88); font-size: clamp(1.08rem, 2vw, 1.35rem); }

.hero-card {
    position: relative;
    min-height: 360px;
    border-radius: 46px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.70)),
        repeating-linear-gradient(45deg, rgba(244,205,50,0.25) 0 12px, rgba(40,180,249,0.18) 12px 24px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.18);
    overflow: hidden;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 40px;
    border: 3px dotted rgba(0,78,124,0.25);
    border-radius: 38px;
}
.hero-bubble {
    position: absolute;
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.hero-bubble-1 { background: var(--yellow); color: var(--blue); left: 12%; top: 14%; }
.hero-bubble-2 { background: var(--orange); right: 13%; top: 30%; }
.hero-bubble-3 { background: var(--green); left: 36%; bottom: 11%; }

.page-grid { display: grid; gap: 34px; padding-top: 58px; padding-bottom: 38px; }
.page-grid.with-sidebar { grid-template-columns: minmax(0, 1.75fr) minmax(280px, 360px); align-items: start; }
.page-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.content-area { min-width: 0; }

.content-area,
.sidebar-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}
.content-area { padding: clamp(24px, 4vw, 48px); }
.sidebar-area { position: sticky; top: 160px; }
.sidebar-box { padding: 28px; margin-bottom: 22px; overflow: hidden; }
.sidebar-box:nth-child(4n+1) { border-color: rgba(244,205,50,0.9); }
.sidebar-box:nth-child(4n+2) { border-color: rgba(230,105,0,0.75); }
.sidebar-box:nth-child(4n+3) { border-color: rgba(40,180,249,0.75); }
.sidebar-box:nth-child(4n+4) { border-color: rgba(57,203,116,0.75); }
.sidebar-box h2 { margin: 0 0 14px; color: var(--blue); font-size: 1.25rem; }
.sidebar-box img { margin-top: 12px; border-radius: 22px; border: 1px solid var(--line); }

.content-area h2,
.content-area h3 { color: var(--blue); line-height: 1.18; font-weight: 700; }
.content-area h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.8vw, 3.15rem); }
.content-area h3 { margin-top: 34px; margin-bottom: 12px; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.content-area p,
.content-area li { color: #314451; }
.content-area ul { padding-left: 22px; }
.content-area li { margin-bottom: 0.35em; }

.notice {
    margin: 24px 0;
    border-left: 0;
    background: linear-gradient(135deg, rgba(244,205,50,0.24), rgba(244,205,50,0.07));
    border: 1px solid rgba(244,205,50,0.65);
    padding: 20px 22px;
    border-radius: 24px;
    color: var(--text);
}

.info-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.info-item {
    min-height: 150px;
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}
.info-item:nth-child(1) { border-color: var(--yellow); }
.info-item:nth-child(2) { border-color: var(--orange); }
.info-item:nth-child(3) { border-color: var(--sky); }
.info-item strong { display: block; color: var(--blue); font-size: 1.25rem; margin-bottom: 8px; }

.columns-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.section-jump-links { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.jump-link { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 700; }
.jump-link:hover,
.jump-link.active { text-decoration: none; border-color: var(--blue); background: rgba(0,78,124,0.08); color: var(--blue); }

.subpage-section { position: relative; padding: 54px 0 26px; border-top: 1px solid var(--line); scroll-margin-top: 160px; }
.subpage-section:first-of-type { border-top: 0; padding-top: 20px; }
.subpage-section-head { margin-bottom: 18px; }
.subpage-section-head h2 { color: var(--blue); }
.subpage-section-head p { color: var(--muted); margin-top: -2px; }

.subpage-section:nth-of-type(odd)::before {
    content: "";
    position: absolute;
    inset: 22px -48px 0;
    background: #f8f8f8;
    border-radius: 36px;
    z-index: -1;
}

.media-gallery { position: relative; margin: 26px 0 30px; }
.gallery-item { display: none; margin: 0; }
.gallery-item.active,
.media-gallery:not(.slider-gallery) .gallery-item { display: block; }
.gallery-item img,
.image-card img { width: 100%; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery-item figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }
.gallery-controls { display: flex; gap: 10px; margin-top: 14px; }
.gallery-controls button { border: 1px solid var(--line); background: var(--white); color: var(--blue); border-radius: 999px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; box-shadow: var(--soft-shadow); }

.image-text-row { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 30px; align-items: start; margin: 28px 0 18px; }
.image-card { display: block; }
.gallery-grid { display: grid; gap: 18px; }
.gallery-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid .gallery-item { display: block; }
.image-float-right { float: right; display: block; width: min(330px, 42%); margin: 6px 0 20px 28px; }
.image-float-right img { width: 100%; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.offer-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 22px 0 30px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}
.offer-thumb img { width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--soft-shadow); }
.offer-content p:first-child { margin-top: 0; }
.offer-tag { display: inline-block; margin-left: 10px; padding: 4px 11px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; vertical-align: middle; background: rgba(40, 180, 249, 0.14); color: var(--blue); }
.offer-tag.external { background: rgba(230,105,0,0.14); color: var(--orange); }


.location-card {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin: 28px 0 30px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}
.location-info {
    padding: 8px 4px;
}
.location-info h3 {
    margin-top: 0;
    color: var(--blue);
}
.location-route-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 78, 124, 0.08);
    color: var(--blue);
    font-weight: 800;
}
.location-route-link:hover {
    background: rgba(0, 78, 124, 0.14);
    text-decoration: none;
}
.leaflet-map {
    min-height: 430px;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--soft-shadow);
    background: #eef4f7;
}
.leaflet-map .leaflet-control-attribution {
    font-size: 0.72rem;
}

.site-footer { position: relative; margin-top: 70px; background: var(--blue); color: rgba(255,255,255,0.88); padding: 70px 0 46px; }
.site-footer .footer-zigzag { position: absolute; inset: 0 0 auto; height: 24px; }
.site-footer .footer-zigzag::before { top: -1px; bottom: auto; transform: rotate(180deg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.site-footer h3 { margin-top: 0; color: #fff; font-size: 1.35rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.lightbox { position: fixed; inset: 0; background: rgba(20, 30, 40, 0.76); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 200; }
.lightbox.is-open { display: flex; }
.lightbox-inner { position: relative; width: min(100%, 980px); }
.lightbox-image { width: 100%; max-height: 80vh; object-fit: contain; background: #fff; border-radius: 24px; }
.lightbox-caption { color: #fff; margin: 12px 6px 0; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; font-size: 1.8rem; cursor: pointer; box-shadow: var(--shadow); }
body.lightbox-open { overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1120px) {
    .header-mid { min-height: auto; }
    .brand-mark { width: 64px; height: 64px; font-size: 2rem; }
    .main-nav a, .nav-parent { padding: 11px 9px; font-size: 0.95rem; }
}

@media (max-width: 960px) {
    .container { width: min(var(--content-width), calc(100% - 28px)); }
    .nav-toggle { display: inline-flex; }
    .nav-wrap { padding: 16px 0; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line); padding: 14px 16px 18px; display: none; box-shadow: var(--shadow); }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { width: 100%; justify-content: space-between; }
    .nav-parent-row { display: block; }
    .nav-section-link { border-radius: 16px; width: 100%; }
    .nav-parent { display: none !important; }
    .dropdown { position: static; min-width: 0; margin: 4px 0 8px; box-shadow: none; border-radius: 16px; background: #fbfdfe; }
    .dropdown::before { display: none; }
    .page-head-home .page-head-inner { grid-template-columns: 1fr; min-height: auto; }
    .hero-card { min-height: 280px; }
    .page-grid.with-sidebar,
    .columns-2,
    .footer-grid,
    .info-list { grid-template-columns: 1fr; }
    .sidebar-area { position: static; }
    .image-text-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 15px; }
    .brand-text small { display: none; }
    .brand-mark { width: 54px; height: 54px; }
    .page-head-inner { padding: 52px 0 58px; }
    .page-head h1 { font-size: clamp(2.2rem, 13vw, 3.5rem); }
    .content-area { padding: 24px 18px; border-radius: 24px; }
    .subpage-section:nth-of-type(odd)::before { left: -18px; right: -18px; border-radius: 24px; }
    .gallery-grid-4 { grid-template-columns: 1fr; }
    .image-float-right { float: none; width: 100%; margin: 18px 0; }
    .offer-card,
    .location-card { grid-template-columns: 1fr; }
    .offer-thumb { max-width: 270px; }
    .leaflet-map { min-height: 340px; }
    .hero-bubble { width: 116px; height: 116px; font-size: 1rem; }
}

.gallery-grid-7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.gallery-grid-7 .gallery-item {
    margin: 0;
}

.gallery-grid-7 .gallery-item a {
    display: block;
}

.gallery-grid-7 .gallery-item img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .gallery-grid-7 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid-7 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid-7 {
        grid-template-columns: 1fr;
    }
}

.donation-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f7f5ef;
    border-radius: 16px;
}

.donation-box-header h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.donation-box-header p {
    margin-bottom: 1.5rem;
}

.donation-card {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.donation-card h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.bank-details {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bank-details p {
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e0d5;
}

.bank-details p:last-child {
    border-bottom: none;
}

.bank-details span {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #666;
}

.bank-details strong {
    display: block;
    font-size: 1rem;
}

.donation-note {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e5e0d5;
}

.donation-note a {
    font-weight: 600;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.small-gallery-image .gallery-item img {
    width: 50%;
    max-width: 420px;
    margin: 0 auto;
}

@media (max-width: 760px) {
    .small-gallery-image .gallery-item img {
        width: 100%;
        max-width: none;
    }
}