/* === DESIGNSYSTEM & FARBEN (ORGANIC LOOK) === */
:root {
    --bg-main: #FBF9F5;
    --bg-card: #FFFFFF;
    --bg-accent: #EFECE6;
    --bg-dark: #3A403A;
    --text-main: #2C302C;
    --text-muted: #5C625C;
    --primary: #526352;
    --primary-hover: #3E4B3E;
    --terracotta: #C87A61;
    --terracotta-text: #A65A42; /* Kontrast >= 4.5:1 auf hellem Grund */
    --icon-color: var(--terracotta); /* Farbe aller Icons */
    --border-color: #E2DDD5;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem; /* Platz für den sticky Header bei Anker-Sprüngen */
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--terracotta-text);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 3rem 0;
}

/* === BUTTON STYLES === */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 99, 82, 0.2);
}

/* === NAVIGATION === */
header {
    position: sticky;
    top: 0;
    background-color: rgba(251, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

header a {
	text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Burger Toggle Button */
.burger-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: color 0.3s ease;
}

.burger-toggle:hover {
    color: var(--primary);
}

/* Nav Links Dropdown (Burger Menü Inhalt) */
.nav-links {
    position: absolute;
    top: 100%;
    right: 2rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    list-style: none;
    padding: 1rem 0;
    display: none;
    flex-direction: column;
    min-width: 240px;
    z-index: 1001;
}

.nav-links.active {
    display: flex;
}

.nav-links li a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.nav-links li a:hover {
    background-color: var(--bg-accent);
    color: var(--primary);
}

/* === HERO SECTION === */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0 6rem 0;
}

.hero-subtitle {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terracotta-text);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero-highlight {
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--terracotta-text);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    object-fit: cover;
}

/* === WILLKOMMEN === */
.welcome-section {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
	margin-top: 6rem;
}

.welcome-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.welcome-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
}

/* === THEMEN GRID === */
.section-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-outro {
    text-align: center;
    max-width: 750px;
    margin: 2rem auto 0 auto;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.topic-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.topic-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.topic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

/* === AKKORDEONS (<details>/<summary>: funktionieren ohne JS, tastaturbedienbar) === */
.accordion-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.8rem 2rem;
    text-align: left;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-main);
    font-weight: 600;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-icon {
    flex-shrink: 0;
    font-size: 2.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--terracotta);
}

.accordion-item[open] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 2rem 2rem 2rem;
}

.accordion-item[open] .accordion-content {
    animation: accordion-in 0.3s ease;
}

@keyframes accordion-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.accordion-content ul {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    margin-left: 1rem;
    color: var(--text-muted);
}

.accordion-content h3 {
    font-size: 1.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.accordion-content h4 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

/* === HIGHLIGHT BOX (NATUR & KREATIVITÄT) === */
.highlight-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

/* Zweispaltige Standard-Variante */
.highlight-grid,
.highlight-grid--2col {
    grid-template-columns: 1fr 1fr;
}

/* Einspaltige Variante */
.highlight-grid--1col {
    grid-template-columns: 1fr;
}

.highlight-box {
    background-color: var(--bg-accent);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.highlight-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* RESPONSIVE DESIGN: Bei schmalen Bildschirmen auch die 2-spaltige Variante auf 1-spaltig umbrechen */
@media (max-width: 900px) {
    .highlight-grid,
    .highlight-grid--2col {
        grid-template-columns: 1fr;
    }
}

/* === FOOTER & KONTAKT === */
footer {
    background-color: var(--bg-dark);
    color: #E0E4E0;
    padding: 5rem 0 2rem 0;
}

footer h2, footer h3 {
    color: #FFF;
}

#footer .accordion-content p, #footer .accordion-content a, #footer .accordion-content li {
    color: var(--text-muted);
}

footer p, footer a, footer li {
    color: #B0B8B0;
}

#footer .accordion-content a:hover {
    background-color: var(--bg-accent);
}

footer a:hover {
    color: #FFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-grid ul {
    margin-left: 1rem;
}

.contact-info-list {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .hero, .contact-grid, .highlight-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .nav-links {
        right: 1rem;
        left: 1rem;
    }
}

/* === PARALLAX CONTAINER (RESPONSIVE & MOBILE PROOF) === */
.parallax-container-fuerwen,
.parallax-container-kontakt {
    /* Breakout auf volle Bildschirmbreite */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 450px;

    /* Begrenzt den fixierten Hintergrund strikt auf diesen Container */
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    z-index: 1;
}

.parallax-container-fuerwen::before,
.parallax-container-kontakt::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;

    /* 100% der Bildschirmbreite/Höhe ausfüllen */
    width: 100vw;
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;

    /* Passt das Bild auf mobilen Displays proportional an */
    background-size: cover;
    will-change: transform;
    z-index: -1;
}

/* === MOBILE ANPASSUNG (SMARTPHONES & TABLETS) === */
@media (max-width: 768px) {
    .parallax-container-fuerwen,
    .parallax-container-kontakt {
        height: 280px; /* Angemessene Bauhöhe auf mobilen Geräten */
    }
}

/* === FORMULAR STYLES === */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.form-checkbox input {
    margin-top: 0.25rem;
}

/* Status-Meldungen */
.form-status {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-status.success {
    background-color: #E8F0E8;
    color: #2E5A2E;
    border: 1px solid #C2D6C2;
}

.form-status.error {
    background-color: #FDF2F0;
    color: #A94442;
    border: 1px solid #F5C6CB;
}

/* Verstecktes Honeypot-Feld gegen Bots */
.hp-field {
    display: none !important;
    visibility: hidden !important;
}

/* Responsive Formular für Mobile */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* === BILDQUELLEN DER PARALLAX-BEREICHE (getrennt, damit sie einzeln austauschbar sind) === */
.parallax-container-fuerwen::before {
    background-image: url('../img/parallax2.webp');
}

.parallax-container-kontakt::before {
    background-image: url('../img/parallax2.webp');
}

/* === HILFSKLASSEN (ersetzen frühere Inline-Styles, Voraussetzung für strenge CSP) === */
.hero-role {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.btn--lg {
    padding: 0.9rem 2.2rem;
    margin-top: 1rem;
}

.btn--lg-spaced {
    margin-bottom: 2rem;
}

.btn--block {
    width: 100%;
    margin-top: 1.5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.form-hint {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 0.92rem;
    text-align: center;
}

/* === KARTE: 2-Klick-Lösung === */
.map-consent {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
}

.map-consent p {
    margin: 0;
    font-size: 0.9rem;
}

/* === BARRIEREFREIHEIT === */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

footer :focus-visible {
    outline-color: #FFF;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* === ICONS (Inline-SVG, Farbe über --icon-color) === */
.icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    vertical-align: -0.22em;
    color: var(--icon-color);
}

.contact-info-list .icon {
    width: 1.35em;
    height: 1.35em;
}

/* === Erfolgsansicht des Kontaktformulars === */
.form-success-actions {
    text-align: center;
    margin-top: 1.5rem;
}