/* ===== ROOT VARIABLES ===== */
:root {
    --dunkles-petrol: #1a3a3f;
    --warmgrau: #9a8f7f;
    --gedaempftes-gold: #c4a77d;
    --tiefes-waldgruen: #3d5a3f;
    --white: #ffffff;
    --light-gray: #f5f3f0;
    --dark-gray: #4a4a4a;
    --text-color: #2c2c2c;
    --border-color: #e0dcd8;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--dunkles-petrol);
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1rem;
}

a {
    color: var(--tiefes-waldgruen);
    text-decoration: none;
    transition: all 0.3s ease-out;
}

a:hover {
    text-decoration: underline;
    color: var(--gedaempftes-gold);
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

ul li, ol li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--dunkles-petrol);
    color: var(--white);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gedaempftes-gold);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gedaempftes-gold);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 63, 0.75) 0%, rgba(61, 90, 63, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
}

/* ===== SECTION CONTAINER ===== */
.section-container {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-content.centered {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gedaempftes-gold);
}

.section-content.centered .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-text {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===== CARDS ===== */
.macronutrient-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(26, 58, 63, 0.1);
    border-color: var(--gedaempftes-gold);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gedaempftes-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--dunkles-petrol);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ===== SECTION WRAPPER ===== */
.section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.section-wrapper.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.section-wrapper.reverse > * {
    direction: ltr;
}

.section-image {
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.section-content h3 {
    color: var(--dunkles-petrol);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.section-content p {
    color: var(--dark-gray);
}

/* ===== NEEDS GRID ===== */
.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.need-item {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--gedaempftes-gold);
    border-radius: 4px;
}

.need-item h3 {
    color: var(--dunkles-petrol);
    font-size: 1.2rem;
    margin-top: 0;
}

.need-item p {
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.emphasized-text {
    font-size: 1.1rem;
    color: var(--tiefes-waldgruen);
    font-weight: 500;
    padding: 1.5rem;
    background-color: rgba(61, 90, 63, 0.05);
    border-left: 4px solid var(--tiefes-waldgruen);
    border-radius: 4px;
    margin: 2rem 0;
}

/* ===== MYTH ITEMS ===== */
.myth-item {
    background: var(--light-gray);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--tiefes-waldgruen);
}

.myth-item h3 {
    color: var(--dunkles-petrol);
    margin-top: 0;
    font-size: 1.2rem;
}

.myth-item p {
    margin-bottom: 0;
}

/* ===== RESEARCH SECTION ===== */
.research-list {
    list-style: none;
    margin-left: 0;
}

.research-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.research-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gedaempftes-gold);
    font-weight: bold;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease-out;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gedaempftes-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b39470;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 167, 125, 0.3);
}

.btn-secondary {
    background-color: var(--warmgrau);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #8b7f70;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(154, 143, 127, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ===== BLOG GRID ===== */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(26, 58, 63, 0.12);
    border-color: var(--gedaempftes-gold);
}

.blog-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--dunkles-petrol);
}

.blog-content h3 a {
    color: var(--dunkles-petrol);
}

.blog-content h3 a:hover {
    color: var(--tiefes-waldgruen);
}

.blog-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--gedaempftes-gold);
    font-weight: 600;
    transition: all 0.2s ease;
}

.read-more:hover {
    color: var(--tiefes-waldgruen);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dunkles-petrol);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gedaempftes-gold);
    box-shadow: 0 0 0 3px rgba(196, 167, 125, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--dunkles-petrol);
    color: var(--white);
    padding: 4rem 2rem 1rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--gedaempftes-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--gedaempftes-gold);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-note {
    color: var(--gedaempftes-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .section-container {
        padding: 4rem 1.5rem;
    }
    
    .section-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-wrapper.reverse {
        direction: ltr;
    }
    
    .section-image {
        height: 350px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 0.5rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        height: 400px;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-container {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .macronutrient-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 1.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero-section {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-container {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
