/* ================================
   DenkWille - Gemeinsame Styles
   ================================ */

:root {
    --sand: #f5ebe0;
    --terrakotta: #c17f59;
    --oliven: #5c6b4a;
    --dunkel: #3d3632;
    --hell: #fdfbf9;
    --gold: #b8956e;
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--sand);
    color: var(--dunkel);
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: var(--terrakotta); text-decoration: none; }
a:hover { color: var(--oliven); }

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--sand);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--oliven);
    text-decoration: none;
}

nav a {
    color: var(--dunkel);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 1.3rem;
    transition: color 0.3s;
}

nav a:hover { color: var(--terrakotta); }

/* Wellen-Hintergrund */
.bg-wellen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: var(--terrakotta);
    color: var(--hell);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.btn:hover {
    background: var(--oliven);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 107, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--terrakotta);
    color: var(--terrakotta);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--terrakotta);
    color: var(--hell);
}

/* Cards */
.card {
    padding: 2rem;
    background: var(--sand);
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--hell);
    box-shadow: 0 15px 40px rgba(61, 54, 50, 0.1);
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--terrakotta);
}

.card p {
    font-size: 1.1rem;
    color: var(--oliven);
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--terrakotta);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.card-link:hover { text-decoration: underline; }

/* Section */
.section {
    padding: 5rem 3rem;
    background: var(--hell);
    margin: 2rem 3rem;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(61, 54, 50, 0.08);
}

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

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--dunkel);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Brand Logo */
.brand-logo {
    display: block;
    margin: 2rem auto;
    max-width: 200px;
    width: 100%;
    border-radius: 50%;
    background-color: #f5ebe0;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 4rem 3rem;
    text-align: center;
    color: var(--oliven);
    font-size: 0.9rem;
}

/* Menu Toggle (Mobile) */
.menu-toggle { display: none; }

/* ================================
   Mobile Responsive
   ================================ */
@media (max-width: 900px) {
    body { padding-top: 70px; }
    
    header {
        flex-wrap: wrap;
        padding: 0.8rem 1rem;
    }
    
    .menu-toggle {
        display: flex !important;
        font-size: 1.4rem;
        cursor: pointer;
        padding: 0.4rem 0.8rem;
        z-index: 1001;
        background: var(--terrakotta) !important;
        color: white !important;
        border-radius: 5px;
        margin-left: auto;
        align-items: center;
    }
    
    nav {
        display: none;
        position: fixed;
        top: 0; right: -100%;
        width: 70%; max-width: 300px;
        height: 100vh;
        background: var(--hell);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
        padding-left: 2rem;
        gap: 2rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    nav.active { right: 0; display: flex; }
    nav a { margin-left: 0; font-size: 1.3rem; }
    
    .cards { grid-template-columns: 1fr; }
    .section { margin: 0.5rem; padding: 1rem; }
    .card h3 { font-size: 1.4rem; }
    .card p { font-size: 1rem; }
    .brand-logo { display: block !important; max-width: 180px; margin: 1.5rem auto; }
    .section img[src*="forscher"] { max-width: 100%; margin: 1rem auto; height: auto; }
    
    .hero h1 { font-size: 2rem; }
    .hero-content { margin-left: 0; max-width: 100% !important; padding: 0 !important; }
    .hero { padding: 2rem 1.5rem !important; }
    .organisch, .organisch-klein { display: none; }
    .hero > div[style*="position: absolute"] { display: none; }
    
    .neuigkeiten-mobile { display: block !important; }
    .neuigkeiten-rechts { display: none !important; }
    .neuigkeiten-mobile a:active { transform: scale(0.97); background: #f0f0f0; }
    
    .main-content { padding: 6rem 1rem 2rem; }
    h1 { font-size: 2rem; }
}

/* Hero (nur Startseite) */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 3rem;
    position: relative;
}

.hero-content {
    max-width: 550px;
    z-index: 1;
    margin-left: 10%;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--dunkel);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--oliven);
}

/* Organische Formen */
.organisch {
    position: absolute;
    right: -50px; top: 20%;
    width: 450px; height: 450px;
    background: linear-gradient(160deg, var(--terrakotta) 0%, var(--gold) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.7;
}

.organisch-klein {
    position: absolute;
    left: 30%; bottom: 10%;
    width: 200px; height: 200px;
    background: var(--oliven);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    opacity: 0.5;
}