:root {
    --primary-color: #2d5016;
    --primary-light: #4a7c2c;
    --secondary-color: #6b9d3e;
    --accent-color: #8b7355;
    --accent-light: #a0826d;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --white: #ffffff;
    --bg-sand: #fdfaf5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-sand);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color)
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.article-body,
.legal-body {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto
}

.legal-body {
    padding: 8rem 2rem;
    max-width: 800px
}

@media (max-width:768px) {

    .article-body,
    .legal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0 !important;
    z-index: 1000;
    transition: var(--transition);
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05)
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.8rem 0 !important;
    box-shadow: var(--shadow)
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2))
}

.logo-icon i {
    font-size: 1.4rem
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition)
}

.nav-links a:hover {
    color: var(--primary-light)
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6)
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-light);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1)
}

.section {
    padding: 8rem 0
}

.section-header {
    text-align: center;
    margin-bottom: 5rem
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05)
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light)
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    display: block
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem
}

.about-content {
    flex: 1
}

.about-image {
    flex: 1;
    position: relative
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow)
}

.qualifications {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem
}

.qual-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03)
}

.qual-item i {
    color: var(--secondary-color);
    font-size: 1.2rem
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition)
}

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

.blog-image {
    height: 200px;
    background: #eee;
    overflow: hidden
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.blog-info {
    padding: 1.5rem
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow)
}

.contact-form .form-group {
    margin-bottom: 1.5rem
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #eee;
    border-radius: 12px;
    background: #fcfcfc;
    font-family: inherit;
    transition: var(--transition)
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white)
}

footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: block;
    color: var(--white);
    text-decoration: none
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition)
}

.social-links a:hover {
    color: var(--secondary-color)
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.85
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

@media (max-width:992px) {
    .hero h1 {
        font-size: 3.5rem
    }

    .about-flex {
        flex-direction: column
    }

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

    .contact-container {
        grid-template-columns: 1fr
    }
}

@media (max-width:768px) {
    .container {
        padding: 0 1.5rem
    }

    .nav-content {
        position: relative
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        border-top: 1px solid #eee
    }

    .nav-links.active {
        display: flex !important
    }

    .nav-links li {
        width: 100%
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.1);
        width: 45px;
        height: 45px;
        border-radius: 8px;
        z-index: 1001
    }

    .hero h1 {
        font-size: 2.8rem
    }

    .section {
        padding: 5rem 0
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .qualifications {
        grid-template-columns: 1fr
    }

    .about-flex {
        gap: 2rem
    }

    .contact-container {
        padding: 2rem 1.5rem
    }
}

.mobile-menu-toggle {
    display: none
}

/* Mobile Image Aspect Ratio Fix */
.article-body img,
.legal-body img,
.about-image img,
.service-card img,
.infographic-box img,
main img {
    max-width: 100%;
    height: auto !important;
}

/* ==========================================================================
   APPENDED BLOCK — Accessibility, FAQ accordion, Breadcrumb, SVG figure, NAP
   Uses existing :root variables. Matches the soft, rounded, shadowed aesthetic.
   ========================================================================== */

/* ---------- 1) Accessibility ---------- */

/* Visible keyboard focus ring */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link: hidden off-screen until focused, then top-left */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 1100;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Neutralize hero / button entrance animations so content is visible */
    .hero,
    .hero *,
    .btn {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- 2) FAQ accordion ---------- */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.faq-q {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-q summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

/* CSS chevron: plus sign that becomes a minus when open */
.faq-q summary::after {
    content: '\002B';
    color: var(--secondary-color);
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 700;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-q[open] summary::after,
details[open] summary::after {
    content: '\2212';
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 1.5rem 1.3rem;
    color: #444;
}

.faq-a p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
}

/* Subtle open animation */
@keyframes faqFadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

details[open] .faq-a {
    animation: faqFadeSlide 0.25s ease;
}

/* ---------- 3) Breadcrumb ---------- */

.breadcrumb {
    /* Reset: die globale nav{position:fixed}-Regel darf die Breadcrumb NICHT erfassen */
    position: static;
    width: auto;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: auto;
    margin: 0.5rem 0 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: #aaa;
}

.breadcrumb [aria-current="page"] {
    color: #888;
}

/* ---------- 4) SVG infographic figure ---------- */

.svg-infographic {
    margin: 3rem 0;
}

.svg-infographic svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.svg-infographic figcaption {
    text-align: center;
    color: #777;
    font-size: 0.92rem;
    margin-top: 0.8rem;
    font-style: italic;
}

/* ---------- 5) Footer NAP (Name, Address, Phone) ---------- */

.footer-nap {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-nap a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.footer-nap a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-nap i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* ---------- Kontaktkanäle (WhatsApp / Anruf / E-Mail) ---------- */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.channel-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
}

.channel-icon--wa {
    background: #25d366;
}

.channel-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.channel-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.channel-value {
    color: #666;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-go {
    color: var(--primary-light);
    font-size: 1rem;
    transition: var(--transition);
}

.channel-card:hover .channel-go {
    transform: translateX(4px);
}

/* ---------- Mobile-Feinschliff: Überläufe & Typo-Skalierung ---------- */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .channel-card {
        padding: 1rem 1.1rem;
        gap: 1rem;
    }

    .channel-icon {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }

    .channel-value {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.95rem;
        line-height: 1.15;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* <picture> transparent machen, damit img-Layout/-Regeln unverändert greifen */
picture {
    display: contents;
}

/* Inline-SVG-Icon (ersetzt Font-Awesome-Brands, currentColor) */
.ic {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* ---------- Lightbox / Zoom für Inhaltsbilder ---------- */
img.zoomable {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.92);
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.lightbox-close:hover {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
