/* Grundlayout mit modernem, klarem Look */
:root {
    --bs-primary: #16a34a;
    --bs-primary-rgb: 22, 163, 74;
    --bs-link-color: #15803d;
    --bs-link-hover-color: #166534;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(1200px 540px at 100% -10%, rgba(34, 197, 94, 0.2), transparent 62%),
        radial-gradient(1000px 500px at -10% 8%, rgba(22, 163, 74, 0.18), transparent 66%),
        linear-gradient(180deg, #f1fbf4 0%, #eaf8ee 100%);
    color: #1f2937;
}

.hero {
    background:
        linear-gradient(125deg, rgba(22, 101, 52, 0.88), rgba(22, 163, 74, 0.8) 55%, rgba(34, 197, 94, 0.75)),
        url('/assets/images/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(22, 163, 74, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.16) 48%, transparent 65%);
    transform: translateX(-120%);
    animation: heroShine 8s ease-in-out infinite;
    pointer-events: none;
}

.hero .btn-light:hover {
    transform: translateY(-2px);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 220px;
    height: 220px;
    right: -60px;
    top: -60px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-glow-2 {
    width: 180px;
    height: 180px;
    left: -40px;
    bottom: -60px;
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-weight: 700;
    letter-spacing: -0.015em;
}

.feature-card,
.media-card,
.vehicle-card {
    border: 1px solid #d7ecdd;
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 253, 248, 0.98));
    backdrop-filter: blur(8px);
}

.feature-card:hover,
.media-card:hover,
.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

.feature-card h5,
.media-card h6,
.vehicle-card h5 {
    font-weight: 700;
}

.vehicle-thumb,
.gallery-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.8rem;
}

.slideshow-image {
    height: 460px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar .nav-link.active {
    color: #fff;
    background: linear-gradient(120deg, #16a34a, #22c55e);
    border-radius: 999px;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
}

.navbar .nav-link {
    border-radius: 999px;
    transition: all 0.2s ease;
}

.navbar .nav-link:hover {
    background: #ecfdf3;
    color: #166534;
}

.top-contact-bar {
    background: linear-gradient(90deg, #14532d, #15803d, #16a34a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.top-contact-link {
    color: #e5edff;
    text-decoration: none;
    font-weight: 500;
}

.top-contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer-light {
    background: linear-gradient(180deg, #e8f7ee, #dff3e7);
    color: #1f2937;
}

.modern-float-card {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 36px rgba(22, 163, 74, 0.18);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    border-radius: 12px;
    color: #166534;
    background: linear-gradient(145deg, #e9fbe8, #f3fdf2);
    border: 1px solid #cdeecf;
}

.stat-card {
    background: linear-gradient(160deg, #ffffff, #eaf8ef);
    border: 1px solid #c9e9d3;
    border-radius: 0.9rem;
    box-shadow: 0 12px 22px rgba(22, 163, 74, 0.12);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #16a34a;
}

.stat-label {
    color: #4b5563;
    font-size: 0.92rem;
}

.cta-band {
    background: linear-gradient(130deg, #166534, #16a34a 45%, #22c55e);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cta-band .btn-primary {
    background: #fff;
    color: #166534;
    border-color: #fff;
    font-weight: 700;
}

.cta-band .btn-primary:hover {
    background: #eaf8ee;
    color: #14532d;
}

.footer-link {
    color: #4b5563;
}

.footer-link:hover {
    color: #166534;
}

.footer-muted {
    color: #6b7280;
}

#kontakt {
    scroll-margin-top: 90px;
}

.section-shell {
    position: relative;
}

.section-shell::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 0;
    bottom: 0;
    border-radius: 18px;
    z-index: -1;
}

.section-shell-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.section-shell-stats::before,
.section-shell-media::before,
.section-shell-services::before,
.section-shell-faq::before {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(203, 231, 210, 0.85);
}

.section-shell-video::before,
.section-shell-contact::before,
.section-shell-cta::before,
.section-shell-theory::before {
    background: linear-gradient(180deg, rgba(230, 248, 234, 0.8), rgba(237, 250, 241, 0.55));
    box-shadow: inset 0 0 0 1px rgba(194, 229, 203, 0.85);
}

.section-shell-theory .card {
    border: 1px solid #d7ecdd;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
}

.section-shell-theory .section-title {
    margin-bottom: 0;
}

.section-shell-theory .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.section-shell-faq .accordion-item {
    border: 1px solid #d7ecdd !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
}

.section-shell-faq .accordion-button {
    font-weight: 600;
    color: #14532d;
    background: #ffffff;
    box-shadow: none;
}

.section-shell-faq .accordion-button:not(.collapsed) {
    color: #166534;
    background: #ecf9f0;
}

.section-shell-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.16);
}

.section-shell-faq .accordion-body {
    color: #374151;
    border-top: 1px solid #e1efe5;
}

.news-feed .vehicle-card {
    position: relative;
}

.news-date-badge {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(125deg, #15803d, #16a34a);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
}

.btn-primary {
    background: linear-gradient(125deg, #15803d, #22c55e);
    border: none;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.26);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(22, 163, 74, 0.32);
}

@keyframes heroShine {
    0% { transform: translateX(-120%); opacity: 0; }
    12% { opacity: 1; }
    30% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(120%); opacity: 0; }
}

footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .slideshow-image {
        height: 280px;
    }

    .section-shell::before {
        left: 0;
        right: 0;
    }
}

.contact-highlight-card {
    background: linear-gradient(160deg, #ffffff, #f3fbf5);
    border: 1px solid #d6efdc;
}

.contact-main-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(130deg, #166534, #22c55e);
    font-size: 1.3rem;
    box-shadow: 0 10px 18px rgba(22, 163, 74, 0.28);
}

.contact-list {
    display: grid;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #d7ecdd;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}

.contact-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    background: #eaf8ee;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

a.contact-value:hover {
    color: #166534;
    text-decoration: underline;
}

.map-center-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-center-card {
    width: 100%;
    max-width: 820px;
}

.map-center-card-index {
    width: min(100%, 740px);
    margin-left: auto;
    margin-right: auto;
}

.contact-equal-row > [class*="col-"] {
    display: flex;
}

.map-fill {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.map-consent-placeholder {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #edf8ef, #f8fcf8);
    color: #1f2937;
    padding: 1rem;
    gap: 0.35rem;
}

.map-consent-placeholder i {
    font-size: 1.6rem;
    color: #15803d;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
}

.cookie-banner-inner {
    margin: 0 auto;
    max-width: 1100px;
    background: #ffffff;
    border: 1px solid #d6ecdc;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    color: #334155;
    font-size: 0.93rem;
}

.cookie-banner-text a {
    color: #166534;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.floating-actions {
    pointer-events: none;
}

.floating-btn {
    position: fixed;
    bottom: 22px;
    z-index: 1090;
    pointer-events: auto;
    border: 1px solid #d6ebdd;
    background: #ffffff;
    color: #14532d;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    font-weight: 600;
}

.floating-btn:hover {
    background: #ecfdf3;
    color: #166534;
}

.floating-btn-left {
    left: 16px;
}

.floating-btn-right {
    right: 16px;
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions .btn {
        flex: 1;
    }

    .floating-btn {
        bottom: 14px;
    }

    .floating-btn-left {
        left: 10px;
    }

    .floating-btn-right {
        right: 10px;
    }
}
