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

/* Minimalist Hygge Overrides */
body {
    background-color: var(--warm-cream);
    color: var(--deep-charcoal);
    font-family: var(--font-body);
}

:root {
    --warm-cream: #F2EDE4;
    --deep-charcoal: #2D2D2D;
    --sage-green: #8DA399;
    --pure-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius-btn: 50px;
    --radius-card: 20px;
    --shadow-soft: 10px 10px 30px rgba(45, 45, 45, 0.03), -10px -10px 30px rgba(255, 255, 255, 0.9);
    --shadow-float: 20px 20px 60px rgba(141, 163, 153, 0.15), -20px -20px 60px rgba(255, 255, 255, 0.8);
}

html {
    scroll-padding-top: 80px;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    /* Slightly deeper start for float effect */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* Slower, smoother */
    will-change: opacity, transform;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--deep-charcoal);
    font-weight: 600;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
    /* Increased to 4rem */
}

section {
    padding: 8rem 0;
    /* Massive padding (approx 128px) */
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #f2ede4;
    /* Fallback color */
}

.hero-bg {
    position: absolute;
    inset: -50px 0;
    /* Add top/bottom buffer to prevent white gaps on scroll */
    background-image: url('../images/martin_decluttering_room.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* Lowest level */
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 2;
    /* Above bg */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    /* Strong shadow */
    color: #ffffff;
    /* White text */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    /* Added shadow to paragraph */
    font-weight: 500;
}

/* Neumorphic Components */
.btn-sage {
    background-color: var(--sage-green);
    color: white;
    padding: 1rem 3rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-weight: 500;
    border: none;
    font-size: 1.1rem;
    box-shadow: 10px 10px 20px rgba(141, 163, 153, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-sage:hover {
    transform: translateY(-2px);
    box-shadow: 15px 15px 30px rgba(141, 163, 153, 0.5);
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

#story {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 4rem;
}

.story-img-wrapper {
    border-radius: 500px 500px 20px 20px;
    /* Arch shape */
    overflow: hidden;
    box-shadow: var(--shadow-float);
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Cards */
.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 4rem;
}

#process {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 4rem;
}

.process-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.card-icon-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

#faq {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 4rem;
}

/* Donation Section */
.donation {
    background-color: var(--sage-green);
    color: white;
    text-align: center;
}

.donation h2,
.donation p {
    color: white;
}

.donation-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 30px;

    border: 1px solid rgba(255, 255, 255, 0.2);
}

#contact {
    padding-top: 4rem;
    /* Reduced from default 8rem */
    padding-bottom: 8rem;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    /* Safety for mobile */
}

#contact-logo {
    width: 100px;
    /* Slightly smaller for side-by-side */
    height: auto;
    display: block;
    margin: 0;
    /* Remove auto margins */
}

#contact h2 {
    margin-bottom: 0;
    /* Let flex gap handle spacing */
    text-align: left;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

footer a {
    color: var(--deep-charcoal);
    text-decoration: none;
    margin: 0 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }
}

/* Refactored Inline Styles */

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 800px;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.faq-summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-text {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.donation-text {
    max-width: 600px;
    margin: 1rem auto;
}

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

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366 !important;
}

.btn-telegram {
    background-color: #0088cc !important;
}
/* Legal Pages (Impressum & Datenschutz) */
.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-heading);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content address,
.legal-content li {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--sage-green);
    text-decoration: underline;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
