/* --- DESIGN SYSTEM ("Warm Earth / Organic") --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,600&family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --primary: #92400e;
    --secondary: #365314;
    --accent: #d97706;
    --background: #fefce8;
    --surface: #fffbeb;
    --card: #fef3c7;
    --text: #1c1917;
    --muted: #78716c;
    --success: #15803d;
    --danger: #b91c1c;
    --border: #d6d3d1;
    --footer-bg: #292524; /* Stone 800 */
    --footer-text: #fefce8;

    --font-headings: 'Lora', serif;
    --font-body: 'Nunito', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.1);
}

/* --- GENERAL STYLES & RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 400;
    color: var(--text);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* --- HEADER --- */
.site-header {
    background-color: var(--surface);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo:hover {
    color: var(--primary);
}

.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-header nav a {
    font-family: var(--font-headings);
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="10" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23d97706" stroke-width="2" fill="none"/></svg>');
    background-repeat: repeat-x;
    background-size: 20px 4px;
    height: 4px;
}

.site-header nav a:hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent), #f59e0b); /* Amber 600, Amber 500 */
    color: white;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.cta-secondary {
    color: var(--primary);
    font-weight: 600;
    margin-left: 1rem;
}

/* --- SECTIONS & LAYOUT --- */
.content-section {
    padding: 5rem 0;
}
.content-section.card {
    background-color: var(--surface);
    border-radius: 16px;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 3rem;
}

.hero-section {
    background-color: var(--surface);
    padding: 4rem 0 0;
    position: relative;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--muted);
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image img {
    border-radius: 16px;
}

.wavy-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wavy-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
}

.two-columns-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* --- CARDS & GRIDS --- */
.info-card {
    background-color: var(--card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* --- TABLES --- */
.table-container {
    overflow-x: auto;
    margin-top: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

thead {
    background-color: var(--card);
}

th {
    font-family: var(--font-headings);
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: var(--surface);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* --- CALCULATOR --- */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--background);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.calculator-results {
    background-color: var(--card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}
.calculator-results h3 {
    margin-bottom: 1.5rem;
}
.calculator-results p {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.calculator-results p strong {
    font-size: 2rem;
    color: var(--secondary);
    display: block;
}

.form-group {
    margin-bottom: 2rem;
}
.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

/* Range Slider Styles */
input[type="range"]::-webkit-slider-runnable-track {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
}
input[type="range"]::-moz-range-track {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px;
    background-color: var(--accent);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid var(--surface);
}
input[type="range"]::-moz-range-thumb {
    border: none;
    border-radius: 50%;
    background-color: var(--accent);
    height: 20px;
    width: 20px;
    border: 2px solid var(--surface);
}

.form-group span {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.growth-bar-container {
    width: 100%;
    height: 20px;
    background-color: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    transition: width 0.5s ease-in-out;
}

/* --- UNIQUE UI ELEMENTS --- */
blockquote {
    font-family: var(--font-headings);
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--muted);
}

.comparison-box {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}
.comparison-item {
    flex: 1;
    padding: 1.5rem;
    border: 2px dashed var(--secondary);
    border-radius: 16px;
    text-align: center;
}
.comparison-item .result {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-headings);
    color: var(--primary);
    margin: 0.5rem 0;
}

.fazit-box {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary);
}

.checklist, .numbered-list {
    list-style: none;
    padding-left: 0;
}
.checklist li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}
.checklist li::before {
    content: '✿';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}
.checklist-container {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.info-box-warm {
    background: var(--surface);
    border-left: 5px solid var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}
.info-box-warm p { margin-bottom: 0.5rem; }

.gift-box {
    background: var(--card);
    border: 2px dashed var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}
.gift-box h4 { text-align: center; }
.gift-box ul { list-style: none; }
.gift-box li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.gift-box li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--danger);
}

.traffic-light-list { list-style: none; }
.traffic-light-list li {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.traffic-light-list .green { background-color: #dcfce7; color: #14532d; }
.traffic-light-list .yellow { background-color: #fef9c3; color: #854d0e; }
.traffic-light-list .red { background-color: #fee2e2; color: #991b1b; }

.numbered-list { counter-reset: item; }
.numbered-list li {
    display: block;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}
.numbered-list li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: -5px;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    font-family: var(--font-headings);
    font-weight: 700;
    display: grid;
    place-items: center;
}
.numbered-list li p { margin-top: 0.25rem; margin-bottom: 0; }

.checklist-large { list-style: none; }
.checklist-large li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.checklist-large .icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 1rem;
}

/* --- FAQ ACCORDION --- */
.accordion details {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.accordion details:first-of-type { border-top: 1px solid var(--border); }
.accordion summary {
    font-weight: 600;
    font-family: var(--font-headings);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion summary::after {
    content: '☀';
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion details[open] summary::after {
    transform: rotate(45deg);
}
.accordion p {
    padding-top: 1rem;
}

/* --- CONTACT FORM --- */
.contact-section { background-color: var(--surface); }
.contact-info address, .contact-info .opening-hours {
    line-height: 1.7;
    margin-top: 1.5rem;
}
.contact-info a {
    color: var(--text);
}
.contact-info a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}
.contact-form-wrapper .form-group label {
    font-weight: 500;
    color: var(--muted);
}
.contact-form-wrapper input, .contact-form-wrapper select, .contact-form-wrapper textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--surface);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-top: 0.25rem;
}
.contact-form-wrapper input:focus, .contact-form-wrapper select:focus, .contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px #fde68a;
}
.contact-form-wrapper button {
    width: 100%;
    margin-top: 1rem;
}

/* --- FOOTER --- */
footer.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0;
    margin-top: 3rem;
}
.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}
.footer-col h4 {
    color: var(--card);
    font-family: var(--font-headings);
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: var(--footer-text);
    opacity: 0.8;
}
.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--accent);
}
.footer-col p, .footer-col address {
    opacity: 0.8;
    font-style: normal;
    line-height: 1.6;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-layout, .two-columns-layout, .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-text { text-align: center; }
    .hero-image { margin-top: 2rem; }
    
    .card-grid-3, .card-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header nav { display: none; } /* Simple hide for demo, would need hamburger menu */
    
    .card-grid-3, .card-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .comparison-box {
        flex-direction: column;
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 2rem;
    }
}