/* ==========================================================================
   PREMIUM NATURE DESIGN SYSTEM FOR SIGRID BOLZ PRAXIS
   ========================================================================== */

/* --- LOCAL FONTS --- */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

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

:root {
    --bg-primary: #FDFCF8;
    --bg-secondary: #F4EFE6;
    --bg-card: #FFFFFF;
    
    --text-primary: #2C3531;
    --text-secondary: #5A6A62;
    --text-muted: #8E9C94;
    
    --color-brand: #6A8172; /* Refined Sage Green */
    --color-brand-light: #E8EFEA;
    --color-accent: #D4A373; /* Terracotta */
    --color-accent-light: #FAF0E6;
    
    --border-color: #EAE6DF;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --radius-lg: 32px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(44, 53, 49, 0.04);
    --shadow-md: 0 12px 30px rgba(44, 53, 49, 0.08);
    --shadow-lg: 0 20px 40px rgba(44, 53, 49, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(44, 53, 49, 0.1);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

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

.text-center { text-align: center; }
.lead-text { font-size: 1.25rem; color: var(--text-secondary); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-brand);
    color: white;
    box-shadow: 0 8px 20px rgba(106, 129, 114, 0.2);
}

.btn-primary:hover {
    background-color: var(--text-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(44, 53, 49, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
}

.btn-secondary:hover {
    background-color: var(--color-brand);
    color: white;
    transform: translateY(-3px);
}

.btn-text {
    background: none;
    color: var(--color-accent);
    padding: 0;
    font-weight: 600;
    border-radius: 0;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.btn-text:hover::after {
    width: 100%;
    transform: none;
}

/* --- BADGE & UTILS --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--color-brand-light);
    color: var(--color-brand);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 252, 248, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 230, 223, 0.5);
    transition: all 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(253, 252, 248, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

.main-header.scrolled .header-container {
    padding: 1rem 2rem;
}

.logo-link {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-brand);
}

.logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-brand);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s ease;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background-image: url('images/hero_nature_psychotherapy.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 252, 248, 0.7) 0%, rgba(253, 252, 248, 0.3) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
    max-width: 850px;
    text-align: center;
    transform: translateY(20px);
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-content .badge {
    background-color: white;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

/* --- SECTION: EINFÜHRUNG (SPLIT) --- */
.intro-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
    position: relative;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-color: var(--color-accent-light);
    z-index: -1;
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.7s ease;
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.03);
}

/* --- SECTION: ANGEBOTE (CARDS) --- */
.services-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    border-radius: 60px 60px 0 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

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

.service-card {
    background-color: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.service-card p {
    flex-grow: 1;
}

.service-card .btn-text {
    margin-top: 2rem;
    align-self: flex-start;
}

/* --- TAB SYSTEMS (For detailed services inside section) --- */
.service-details-container {
    margin-top: 6rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-md);
}

.sub-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.sub-tab-btn {
    padding: 1rem 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-tab-btn:hover, .sub-tab-btn.active {
    background-color: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
    box-shadow: 0 4px 15px rgba(106, 129, 114, 0.3);
}

.sub-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sub-tab-content.active {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInTab 0.5s forwards;
}

@keyframes fadeInTab {
    to { opacity: 1; transform: translateY(0); }
}

.note-box {
    background-color: var(--color-brand-light);
    padding: 1.5rem;
    border-left: 4px solid var(--color-brand);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.styled-list {
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.styled-list li::before {
    content: '🍃';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-brand);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.timeline-section {
    margin-top: 6rem;
    padding-top: 6rem;
    border-top: 1px solid var(--border-color);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.timeline-item {
    position: relative;
    padding-top: 2rem;
    border-top: 3px solid var(--color-brand-light);
}

.timeline-dot {
    position: absolute;
    top: -9px;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: var(--color-brand);
    border-radius: 50%;
}

.timeline-item h4 {
    margin-bottom: 1rem;
    color: var(--color-brand);
}

.inline-bullet-list {
    list-style: none;
}

.inline-bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.inline-bullet-list li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

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

.faq-item {
    margin-bottom: 1.5rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-brand);
    transition: transform 0.3s ease;
}

.faq-icon::before { top: 11px; left: 0; width: 24px; height: 2px; }
.faq-icon::after { top: 0; left: 11px; width: 2px; height: 24px; }

.faq-item.active .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.active .faq-trigger { color: var(--color-brand); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 2rem;
    background-color: var(--bg-primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-card {
    background-color: var(--color-brand);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3, .contact-info-card p, .contact-info-card a {
    color: white;
}

.contact-info-card a {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
}

.contact-info-card a:hover {
    color: var(--color-accent-light);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
}

.contact-form-container {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px var(--color-brand-light);
}

.form-checkbox {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.form-checkbox input {
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--text-primary);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-brand-light);
    display: block;
    margin-bottom: 1rem;
}

.main-footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.main-footer p, .main-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.main-footer ul {
    list-style: none;
}

.main-footer ul li {
    margin-bottom: 0.8rem;
}

.main-footer a:hover {
    color: var(--color-accent);
}

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

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .services-grid, .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list {
        flex-direction: column;
        font-size: 1.5rem;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .mobile-nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-content { padding: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .sub-tab-content.active { grid-template-columns: 1fr; gap: 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
}
