/* --- 1. FARBEN & VARIABLEN --- */
:root {
    --primary-color: #792d56;    /* Beeren-Ton */
    --secondary-color: #5e7647;  /* Sanftes Grün */
    --text-color: #597a84;       /* Schieferblau */
    --bg-warm: #fff9eb;          /* Warmes Creme-Gelb */
    --bg-accent: #f5efe1;        /* Akzent-Ton für Nav & Footer */
    --border-color: #ede4d1;     /* Dezente Trennlinien */
}

/* --- 2. GRUNDGERÜST --- */
html {
    scroll-behavior: smooth; /* Sorgt für das sanfte Gleiten zu den Ankern */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--bg-warm);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 3. STICKY WRAPPER (Logo + Nav) --- */
.sticky-wrapper {
    background-color: var(--bg-warm);
    z-index: 1000;
}

/* Sticky-Effekt nur für PC/Tablet */
@media (min-width: 768px) {
    .sticky-wrapper {
        position: sticky;
        top: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
}

/* --- 4. LOGO & HEADER --- */
header {
    text-align: center;
    padding: 20px 0 20px 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.main-logo {
    display: inline-block !important;
    height: auto !important;
}

@media (min-width: 768px) { .main-logo { width: 250px !important; } }
@media (max-width: 767px) { .main-logo { width: 150px !important; } }

/* --- 5. NAVIGATION --- */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 5px 0;
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover { color: var(--primary-color); }

.lang-switch {
    margin-left: 10px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}

.lang-switch a { 
    color: var(--secondary-color); 
    text-transform: none; /* "Deutsch/English" normal schreiben */
}

@media (max-width: 767px) {
    nav { gap: 15px; flex-wrap: wrap; padding: 10px 0; }
    .lang-switch { border-left: none; padding-left: 0; width: 100%; text-align: center; margin-top: 5px; }
}

/* --- 6. CONTENT & SEKTIONEN --- */
main { padding: 40px 0 80px 0; }

h1 { 
    font-family: 'Cambria', 'Cochin', 'Georgia', 'Times', 'Times New Roman', serif;
    font-weight: normal; 
    color: var(--text-color); 
    margin-bottom: 1.5rem; 
}

h2 { 
    font-family: 'Cambria', 'Cochin', 'Georgia', 'Times', 'Times New Roman', serif;
    color: var(--primary-color); 
    font-weight: normal; 
    margin-top: 0;
    margin-bottom: 0.0rem;
    font-size: 1.8rem; 
}

/* Optimale Lesbarkeit für Fließtexte */
p {
    max-width: 75ch; /* Ca. 75 Zeichen pro Zeile */
    margin-bottom: 1.5rem;
}

/* Listen-Einzug verringern */
ul {
    padding-left: 1.2rem;
    margin-left: 0;
}

/* Bulletpoints im Beeren-Ton */
li::marker {
    color: var(--primary-color);
}

/* Links im Text (Social Media, E-Mail) */
section a:not(.back-to-top) {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

section a:not(.back-to-top):hover {
    color: var(--secondary-color); /* Grün beim Drüberfahren */
    text-decoration: none;
}

/* WICHTIG: Der Abstand beim Scrollen (wegen Sticky Header) */
section {
    padding: 20px 0;
    scroll-margin-top: 180px; 
}

@media (max-width: 767px) {
    section { scroll-margin-top: 20px; }
}

.separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 60px 0;
}

/* --- 7. INTRO SEKTION & BILDER --- */
.intro-section {
    text-align: center;
    margin-bottom: 40px;
}

/* Der Einleitungstext etwas größer und kursiv */
.intro-section p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Spezielles Styling für den langen Text unter dem Bild */
.intro-section .intro-text {
    font-style: normal;      
    font-size: 1.1rem;         
    text-align: center;        
}

.intro-portrait {
    display: block;
    margin: 0 auto; 
    width: 220px;
    height: 220px;
    object-fit: cover; 
    border-radius: 50%;        /* 50% = Kreis */
    border: 4px solid rgba(121, 45, 86, 0.45); /* Blasserer Beeren-Ton (45% Deckkraft wie im Logo) */
    box-shadow: 0 8px 20px rgba(121, 45, 86, 0.15); /* Schatten im Beeren-Ton */
}

@media (max-width: 767px) {
    .intro-portrait {
        width: 180px;
        height: 180px;
    }
}


/* --- 8. HANDY: NACH OBEN LINK --- */
.back-to-top {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dotted var(--secondary-color);
}

.back-to-top:hover {
    color: var(--primary-color);
    border-bottom-style: solid;
}

@media (min-width: 768px) {
    .back-to-top { display: none; } /* Am PC nicht nötig, da Sticky Header */
}

/* --- 10. FOOTER --- */
footer {
    text-align: center;
    padding: 50px 0;
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    font-size: 0.9rem;
}

footer a { 
    color: var(--text-color); 
    text-decoration: none; 
    margin: 0 15px; 
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}