/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2F2F2F;
    background-color: #FEFEFE;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Hoefler Text', 'Baskerville Old Face', Garamond, 'Times New Roman', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Color Variables */
:root {
    --primary-color: #4E6656;
    --primary-light: #6B8470;
    --primary-dark: #3A4F42;
    --secondary-color: #F7F3F0;
    --accent-color: #B8956B;
    --text-color: #2F2F2F;
    --text-light: #666666;
    --white: #FFFFFF;
    --background: #FEFEFE;
    --background-alt: #F9F7F5;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(78, 102, 86, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px var(--shadow-light);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Hoefler Text', 'Baskerville Old Face', Garamond, 'Times New Roman', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background) 0%, var(--secondary-color) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 40px var(--shadow);
    transition: var(--transition);
}

.hero-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 102, 86, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 102, 86, 0.2);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #F0F4F1 0%, #E8F0E9 100%);
    border-top: 1px solid rgba(78, 102, 86, 0.1);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px var(--shadow);
    transition: var(--transition);
    object-fit: cover;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.about-subtitle {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Counseling Info */
.counseling-info {
    background: var(--white);
    text-align: center;
}

.counseling-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #F7F3F0 0%, #F0EBE8 100%);
    border-top: 1px solid rgba(78, 102, 86, 0.08);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(78, 102, 86, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

/* Approach Section */
.approach {
    background: var(--white);
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.approach-text {
    margin-bottom: 3rem;
}

.approach-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.approach-subtitle {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    height: 1.4rem;
}

.value-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #F2F6F3 0%, #EAF2EB 100%);
    border-top: 1px solid rgba(78, 102, 86, 0.1);
}

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

.contact-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-content a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

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

.contact-content p {
    margin: 0;
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px var(--shadow-light);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 102, 86, 0.1);
}

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

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--primary-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}

.cta-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer p,
.footer ul {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.footer a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -100px;
    left: -100px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
    opacity: 1;
    transform: translateY(0);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-img {
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        padding: 100px 0 60px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 1rem;
    }

    .service-card,
    .contact-form {
        padding: 2rem;
    }

    .cta-section {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet screens - 2x2 grid for values */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-img {
        max-width: 250px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Impressum Page Styles */
.impressum-section {
    padding: 120px 0 80px;
    background: var(--background);
    min-height: 100vh;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-content h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.impressum-block {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.impressum-block h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.impressum-block p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.impressum-block p:last-child {
    margin-bottom: 0;
}

.impressum-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.impressum-block a:hover {
    text-decoration: underline;
}

.impressum-source {
    background: var(--background-alt);
    font-size: 0.9rem;
    text-align: center;
}

.impressum-source p {
    margin: 0;
    color: var(--text-light);
}

.back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(78, 102, 86, 0.1);
}

/* Mobile adjustments for impressum */
@media (max-width: 768px) {
    .impressum-section {
        padding: 100px 0 60px;
    }
    
    .impressum-block {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .impressum-content h1 {
        margin-bottom: 2rem;
    }
} 