/*
 * style.css – Gemeinsame Stile für wanda-gudusch.de
 */

/* Google Fonts – lokal gehostet (DSGVO-konform) */
@font-face {
    font-family: 'Lora';
    src: url('fonts/lora-v37-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('fonts/lora-v37-latin-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('fonts/lora-v37-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --cream: #FAF7F2;
    --green: #6B8F71;
    --green-dark: #4a6950;
    --terracotta: #C4856A;
    --text: #3A3A3A;
    --text-light: #6b6b6b;
    --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.3;
}

p { line-height: 1.8; }

img {
    display: block;
    max-width: 100%;
}

a { color: var(--green); }

/* ============================================================
   NAVIGATION
============================================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107, 143, 113, 0.2);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* ============================================================
   PAGE HEADER (Unterseiten)
============================================================ */
.page-header {
    padding: 8rem 1.5rem 4rem;
    background-image: url('fotos/IMG_7900.JPG');
    background-size: cover;
    background-position: center 65%;
    position: relative;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 36, 25, 0.50);
}

.page-header-content { position: relative; }

.page-header h1 {
    color: var(--white);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================================
   LAYOUT
============================================================ */
section { padding: 5rem 1.5rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.section-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--text);
}

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

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.22s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
}

/* ============================================================
   INTRO STRIP
============================================================ */
.intro-strip {
    background: var(--green);
    padding: 3rem 2rem;
    text-align: center;
}

.intro-strip p {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    font-style: italic;
    color: var(--white);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ============================================================
   CARDS
============================================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    border-top: 3px solid var(--green);
    transition: transform 0.22s, box-shadow 0.22s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--green-dark);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ============================================================
   CTA SEKTION
============================================================ */
.cta-section {
    background: var(--green-dark);
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: #222e24;
    color: rgba(255, 255, 255, 0.55);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

footer .copyright { font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 800px) {
    section { padding: 3.5rem 1.25rem; }
    .cta-section { padding: 3.5rem 1.25rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(107, 143, 113, 0.2);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .page-header { padding: 6rem 1.25rem 3rem; }
}
