/* === Schönbuchstrolche - Custom Styles === */

/* Anker-Ziele unter Sticky-Header sichtbar lassen */
:where(section[id], h2[id], h3[id]) {
    scroll-margin-top: 8rem;
}

/* Sprungleiste unterhalb des Page-Headers */
.page-jumpnav {
    position: sticky;
    top: 56px; /* unterhalb der sticky Navbar */
    z-index: 1010;
}
.page-jumpnav .nav-link {
    color: var(--text-secondary);
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.page-jumpnav .nav-link:hover,
.page-jumpnav .nav-link:focus {
    color: var(--forest-dark);
    background-color: rgba(45, 106, 30, 0.08);
}
.page-jumpnav .nav-link.active {
    color: #fff;
    background-color: var(--forest-medium);
}

:root {
    --forest-dark: #1a3a0a;
    --forest-medium: #2d6a1e;
    --forest-light: #4a8c28;
    --forest-muted: #6bac4a;
    --earth-brown: #8B6914;
    --sand-light: #f5f1ea;
    --warm-white: #fdfcfa;
    --accent-gold: #d4a843;
    --text-primary: #2c3e2c;
    --text-secondary: #5a6b5a;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global === */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--warm-white);
    font-size: 1rem;
    line-height: 1.7;
    /* Absicherung gegen horizontales Wackeln/weiße Ränder auf Mobilgeräten,
       falls ein Element doch einmal breiter als der Viewport wird. */
    overflow-x: clip;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
}

h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
}

main {
    min-height: 60vh;
}

/* === Navbar === */

.bg-forest {
    background-color: var(--forest-dark) !important;
}

.navbar {
    padding: 0.6rem 0;
    transition: background-color var(--transition);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
}

/* Logo im weißen Kreis: keine Invertierung */
.navbar-brand img.navbar-brand-icon {
    filter: none;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.navbar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all var(--transition);
}

.navbar .dropdown-item:hover {
    background-color: var(--sand-light);
    color: var(--forest-dark);
}

.offcanvas.bg-forest .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.offcanvas.bg-forest .nav-link:hover,
.offcanvas.bg-forest .nav-link.active {
    color: #fff;
}

/* === Hero Section === */

.hero-section {
    background: linear-gradient(160deg, #0f2b08 0%, #1a4a12 40%, #2d6a1e 70%, #3d8025 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74,140,40,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212,168,67,0.1) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2rem;
    padding: 0.4rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-lead,
.hero-lead p {
    font-size: 1.25rem;
    opacity: 1;
    color: #ffffff;
    font-weight: 500;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.hero-section .btn-light {
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.hero-section .btn-outline-light {
    font-weight: 700;
    border-radius: var(--radius-sm);
    border-width: 2px;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

/* === Content Sections === */

.section-padding {
    padding: 4.5rem 0;
}

.section-title {
    color: var(--forest-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-light), var(--forest-muted));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* === Cards === */

.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
    background: white;
}

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

.card-img-top {
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

/* === Team Cards === */

.team-card {
    text-align: center;
}

.team-card .card-img-top {
    height: 280px;
    object-fit: cover;
}

.team-card .card-title {
    color: var(--forest-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-card .text-muted {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-medium) !important;
}

/* === Feature / Info Cards === */

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--forest-light), var(--forest-medium));
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* === Buttons === */

.btn {
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    transition: all var(--transition);
}

.btn-forest {
    background: linear-gradient(135deg, var(--forest-medium), var(--forest-light));
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(45,106,30,0.3);
}

.btn-forest:hover {
    background: linear-gradient(135deg, var(--forest-dark), var(--forest-medium));
    color: white;
    box-shadow: 0 4px 16px rgba(45,106,30,0.4);
    transform: translateY(-1px);
}

.btn-outline-forest {
    border: 2px solid var(--forest-medium);
    color: var(--forest-medium);
    background: transparent;
}

.btn-outline-forest:hover {
    background-color: var(--forest-medium);
    color: white;
}

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

.accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.accordion-button {
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--sand-light);
    color: var(--forest-dark);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 0.25rem rgba(74, 140, 40, 0.15);
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === ABC List === */

.abc-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--forest-medium), var(--forest-light));
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}

/* === Timeline (Tag im Wald) === */

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2.5rem;
    border-left: 2px solid rgba(74,140,40,0.3);
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-time {
    position: absolute;
    left: -0.6rem;
    top: 0;
    width: 1.2rem;
    height: 1.2rem;
    background: linear-gradient(135deg, var(--forest-medium), var(--forest-light));
    border-radius: 50%;
    border: 3px solid var(--warm-white);
    box-shadow: 0 0 0 2px var(--forest-light);
}

.timeline-item h6 {
    color: var(--forest-dark);
    font-weight: 700;
}

/* === Step Cards (Anmeldung) === */

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--forest-medium), var(--forest-light));
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
}

/* === Contact Form === */

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid #e5e5e5;
    padding: 0.7rem 1rem;
    transition: all var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 0.2rem rgba(74, 140, 40, 0.15);
}

.form-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* === Site Banner (Header / Footer Bild) === */

.site-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.site-banner::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    /* Vertikaler Überstand: Der Parallax-Versatz (max. 25% der Bannerhöhe,
       siehe main.js) bleibt dadurch immer vom Bild abgedeckt — sonst würde
       beim Scrollen ein weißer Streifen im Banner sichtbar (v. a. mobil). */
    top: -25%;
    bottom: -25%;
    background-size: cover;
    background-position: center calc(50% + var(--parallax-y, 0px));
    background-repeat: no-repeat;
    will-change: background-position;
}

.site-banner-top {
    height: 220px;
    box-shadow: inset 0 -8px 16px -8px rgba(0,0,0,0.35);
}
.site-banner-top::before {
    background-image: url('../../uploads/content/footer.jpg');
}

.site-banner-bottom {
    height: 280px;
    box-shadow: inset 0 8px 16px -8px rgba(0,0,0,0.35);
}
.site-banner-bottom::before {
    background-image: url('../../uploads/content/bigbanner.jpg');
}

@media (prefers-reduced-motion: reduce) {
    .site-banner::before {
        background-position: center !important;
    }
}

@media (max-width: 768px) {
    .site-banner-top { height: 140px; }
    .site-banner-bottom { height: 170px; }
}

/* === Footer === */

footer {
    background: linear-gradient(160deg, var(--forest-dark), #0f2b08) !important;
}

footer a.text-white {
    transition: opacity var(--transition);
}

footer a.text-white:hover {
    opacity: 0.75;
}

footer h5 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

footer p, footer li, footer dt, footer dd {
    font-size: 0.95rem;
    opacity: 1;
    color: #ffffff;
}

footer .list-unstyled li {
    margin-bottom: 0.4rem;
}

footer hr {
    opacity: 0.15;
}

/* === Utility === */

/* Externe Links (automatisch per main.js gekennzeichnet) */
a.external-link::after {
    content: "\f1c5"; /* bi-box-arrow-up-right */
    font-family: "bootstrap-icons";
    font-size: 0.7em;
    margin-left: 0.3em;
    display: inline-block;
    vertical-align: 0.15em;
    text-decoration: none;
}

.bg-sand {
    background-color: var(--sand-light);
}

.text-forest {
    color: var(--forest-dark);
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.img-fluid.rounded {
    border-radius: var(--radius-md) !important;
}

/* === CTA Section === */

section.bg-forest.text-white {
    background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest-medium) 100%) !important;
    position: relative;
    overflow: hidden;
}

section.bg-forest.text-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

section.bg-forest.text-white h2 {
    font-size: 2.2rem;
}

section.bg-forest.text-white,
section.bg-forest.text-white p,
section.bg-forest.text-white .lead {
    opacity: 1;
    color: #ffffff;
}

/* === Page Content === */

.page-header {
    background: linear-gradient(160deg, var(--forest-dark), var(--forest-medium));
    color: white;
    padding: 3rem 0 2.5rem;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

/* === Flash Messages === */

.alert {
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* === Responsive Adjustments === */

@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0 5rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 4.5rem;
    }

    .hero-section .hero-wave {
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .team-card .card-img-top {
        height: 220px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0 4rem;
    }

    .hero-section .hero-wave {
        height: 40px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-section .btn-lg {
        font-size: 0.95rem;
        padding: 0.5rem 1.2rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

/* ========================================================================
   === Modernisierung: Animationen, Scroll-Reveal, Interaktivität ======
   ======================================================================== */

/* Sanfte Standard-Übergänge global */
a, button, .btn, .card, .nav-link {
    transition: color var(--transition), background-color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition), opacity var(--transition);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* === Scroll-Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Cards & Section-Inhalte erhalten Reveal automatisch über JS */

/* === Hero: animierte dekorative Blobs === */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.hero-section::before {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(107, 172, 74, 0.7), transparent 70%);
    top: -120px; left: -120px;
    animation: blobFloat 14s ease-in-out infinite;
}
.hero-section::after {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.45), transparent 70%);
    bottom: -140px; right: -100px;
    animation: blobFloat 18s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 25px) scale(0.95); }
}

/* Hero Inhalt: Einblend-Animation */
.hero-section .hero-badge,
.hero-section .hero-title,
.hero-section .hero-lead,
.hero-section .container .mt-4 {
    opacity: 0;
    animation: heroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-section .hero-badge      { animation-delay: 0.05s; }
.hero-section .hero-title      { animation-delay: 0.20s; }
.hero-section .hero-lead       { animation-delay: 0.35s; }
.hero-section .container .mt-4 { animation-delay: 0.50s; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sanfter Wave-Übergang am Hero-Ende */
.hero-section .hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    width: 100%;
    height: 70px;
    z-index: 1;
    pointer-events: none;
}
.hero-section .hero-wave path {
    fill: var(--warm-white);
}

/* === Cards: Bild-Zoom & Hover-Akzent === */
.card {
    position: relative;
}
.card .card-img-top {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .card-img-top {
    transform: scale(1.06);
}
.card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-light), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.card:hover::after {
    transform: scaleX(1);
}

/* === Buttons: dezenter Glanz beim Hover === */
.btn-light, .btn-forest, .btn-outline-forest {
    position: relative;
    overflow: hidden;
}
.btn-light::after, .btn-forest::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.btn-light:hover::after, .btn-forest:hover::after {
    left: 130%;
}

/* === Section-Titel: Akzent erweitert === */
.section-title::after {
    width: 60px;
    transition: width 0.5s ease;
}
section:hover .section-title::after {
    width: 90px;
}

/* === Scroll-to-Top Button === */
.scroll-top-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--forest-medium), var(--forest-light));
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === Footer-Links Hover-Akzent === */
footer a.text-white {
    position: relative;
    display: inline-block;
}
footer a.text-white:not(.fs-4)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    height: 2px; width: 0;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}
footer a.text-white:not(.fs-4):hover::after {
    width: 100%;
}

/* === Bild-Container mit dezentem Glanz === */
.img-fluid.rounded {
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.img-fluid.rounded:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === Navigation: immer einklappbar (Offcanvas auf allen Größen) === */
.navbar .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
}
.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.15);
}
.navbar .navbar-toggler .navbar-toggler-icon {
    width: 1.25em; height: 1.25em;
}
#navbarOffcanvas {
    width: min(380px, 92vw);
}
#navbarOffcanvas .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
}
#navbarOffcanvas .dropdown-menu {
    background-color: rgba(255,255,255,0.06);
    box-shadow: none;
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.5rem;
    margin: 0.25rem 0 0.5rem 0.75rem;
}
#navbarOffcanvas .dropdown-item {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}
#navbarOffcanvas .dropdown-item:hover,
#navbarOffcanvas .dropdown-item:focus {
    background-color: rgba(255,255,255,0.12);
    color: #fff;
}
#navbarOffcanvas .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* === Menü-Button (Burger ersetzt) === */
.btn-menu-toggle {
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.btn-menu-toggle:hover, .btn-menu-toggle:focus {
    color: #fff;
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.12);
}
.btn-menu-toggle .bi-list {
    font-size: 1.4rem;
    line-height: 1;
}

/* Offcanvas-Liste sauber zurücksetzen */
#navbarOffcanvas .navbar-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
#navbarOffcanvas .nav-item {
    list-style: none;
}
#navbarOffcanvas .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    border: none;
    list-style: none;
}

/* === Offcanvas Collapse-Submenüs (Akkordeon-Style) === */
/* Oberpunkt = Link zur Seite, daneben separater Caret-Button für die Unterpunkte */
#navbarOffcanvas .nav-collapse-row {
    display: flex;
    align-items: stretch;
    gap: 0.15rem;
}
#navbarOffcanvas .nav-collapse-link {
    flex: 1 1 auto;
}
#navbarOffcanvas .nav-collapse-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    padding: 0.75rem 0.9rem !important;
    cursor: pointer;
    user-select: none;
}
#navbarOffcanvas .nav-collapse-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}
#navbarOffcanvas .nav-collapse-caret {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}
#navbarOffcanvas .nav-collapse-toggle:not(.collapsed) .nav-collapse-caret {
    transform: rotate(180deg);
}
#navbarOffcanvas .nav-submenu {
    list-style: none;
    padding-left: 0.75rem;
    margin: 0.25rem 0 0.5rem 0.5rem;
    border-left: 2px solid rgba(255,255,255,0.18);
}
#navbarOffcanvas .nav-sublink {
    display: block;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
#navbarOffcanvas .nav-sublink:hover,
#navbarOffcanvas .nav-sublink:focus,
#navbarOffcanvas .nav-sublink.active {
    background-color: rgba(255,255,255,0.10);
    color: #fff !important;
}

/* Button-Toggles als Nav-Links stylen */
#navbarOffcanvas button.nav-link {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    font-family: inherit;
}
#navbarOffcanvas button.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(255,255,255,0.18);
}

/* === Öffnungszeiten als sauberes Grid (Footer & Cards) === */
.opening-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.35rem;
    font-size: 0.95rem;
    align-items: baseline;
}
.opening-hours dt {
    font-weight: 700;
    white-space: nowrap;
}
.opening-hours dd {
    margin: 0;
    white-space: nowrap;
}
footer .opening-hours dt {
    color: rgba(255,255,255,0.95);
}
footer .opening-hours dd {
    color: rgba(255,255,255,0.85);
}

@media (max-width: 380px) {
    .opening-hours {
        grid-template-columns: 1fr;
        row-gap: 0.1rem;
    }
    .opening-hours dd {
        margin-bottom: 0.5rem;
    }
}

/* === PDF-Viewer (eingebettet) === */
.pdf-viewer {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
}
.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 576px) {
    .pdf-viewer.ratio-4x3 { --bs-aspect-ratio: 130%; }
}

.pdf-viewer object,
.pdf-viewer embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.pdf-fallback {
    background: var(--sand-light);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo (PNG, wei� auf Wald-Hintergrund) */
.navbar-logo { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
.navbar-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
    flex-shrink: 0;
    background: #fff;
}
.hero-logo {
    display: block;
    margin: 0 auto;
    max-width: 460px;
    width: 85%;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
    animation: heroFadeIn 0.9s ease both;
}
@media (max-width: 576px) {
    .hero-logo { max-width: 280px; width: 85%; }
}
