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

        @font-face {
            font-family: 'Lora';
            src: url('fonts/Lora/static/Lora-Regular.ttf');
            font-weight: 400;
            font-style: normal;
            }

            /* Lora Bold */
            @font-face {
            font-family: 'Lora';
            src: url('fonts/Lora/static/Lora-Bold.ttf');
            font-weight: 700;
            font-style: normal;
            }

            /* Arimo Regular */
            @font-face {
            font-family: 'Arimo';
            src: url('fonts/Arimo/static/Arimo-Regular.ttf');
            font-weight: 400;
            font-style: normal;
            }

            /* Arimo Bold */
            @font-face {
            font-family: 'Arimo';
            src: url('fonts/Arimo/static/Arimo-Bold.ttf');
            font-weight: 700;
            font-style: normal;
            }

body {
    font-family: 'Arimo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.header-brand {
    justify-self: start;
}

.brand-name {
    font-family: 'Arimo', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    letter-spacing: 2px;
}

.header-tagline {
    justify-self: center;
}

.tagline {
    font-family: 'Arimo', sans-serif;
    font-size: 1.5rem;
    font-weight: 450;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.header-language {
    justify-self: end;
}

.language-toggle {
    background: none;
    border: 2px solid #8d2447;
    padding: 8px 16px;
    border-radius: 25px;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #8d2447;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 15px rgba(141, 36, 71, 0.6);
    transform: translateY(-1px);
}

.lang-option {
    color: #8d2447;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-option:hover {
    color: #333;
}

.lang-option.active {
    color: #8d2447;
    font-weight: 800;
}

.lang-divider {
    color: #ccc;
    margin: 0 8px;
}

/* Hero Section */
.hero {
    background-color: #f4ece7;
    padding: 20px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    align-items: center;
}

.hero-heading {
    font-family: 'Lora', serif;
    font-size:clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    white-space: nowrap;
    grid-column: 1 / -1; /* Span both columns */
    justify-self: center; /* Center across both columns */
    margin-left: 0;
}

.hero-grid {
    display: contents; /* Let children participate in parent grid */
}

.hero-text-section {
    /* Now part of the main grid - automatically aligned */
    padding-right: 20px;
}

.hero-subheading {
    font-family: 'Arimo', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.hero-description {
    font-family: 'Arimo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    text-align: center;
    margin-bottom: 25px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-button {
    display: inline-block;
    background-color: #6f273f;
    color: #fff;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
     place-self: center;
}

.cta-button:hover {
    background-color: #8d2447;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-disclaimer {
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    color: #666;
    font-style: italic;
     place-self: center;
}

.hero-visual {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.hero-image {
    width: 60%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.hero-value-proposition {
    grid-column: 1 / -1; /* Span both columns */
    margin-top: 15px;
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
    justify-self: center;
}

 .value-proposition-text {
    font-family: 'Arimo', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #333;
    max-width:1000px;
    margin: 0 auto;
    font-weight: 400;
    font-style: italic;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: 0 0 15px rgba(141, 36, 71, 0.6);
    }
}

/* Desktop Animation Classes */
@media (min-width: 769px) {
    .hero-heading {
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    .hero-image {
        animation: fadeIn 1s ease-out 1s both;
    }

    .hero-subheading {
        animation: slideInLeft 1s ease-out 1.5s both;
    }

    .hero-description {
        animation: slideInLeft 1s ease-out 1.5s both;
    }

    .hero-cta {
        animation: slideInLeft 1s ease-out 1.7s both;
    }

    .hero-value-proposition {
        animation: slideInLeft 1s ease-out 1.9s both;
    }

    .language-toggle {
        animation: subtleGlow 1.3s ease-in-out 2.9s;
    }
}

/* Mobile Scroll-Based Animations */
@media (max-width: 768px) {
    .hero-heading,
    .hero-image,
    .hero-subheading,
    .hero-description,
    .hero-cta,
    .hero-value-proposition {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease-out;
    }
    
    .hero-heading.visible,
    .hero-image.visible,
    .hero-subheading.visible,
    .hero-description.visible,
    .hero-cta.visible,
    .hero-value-proposition.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .language-toggle {
        animation: none;
    }
}

/* Footer */
.footer {
    background-color: #6f273f;
    padding: 20px 0;
    margin-top: 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    min-height: 60px;
}

.footer-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.footer-copyright {
    font-family: 'Arimo', sans-serif;
    font-size: 12px;
    color: #fff;
    margin: 0;
    opacity: 0.8;
    text-align: center;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
}

.footer-text {
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
}

.footer-links {
    font-size: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .header-brand,
    .header-tagline,
    .header-language {
        justify-self: center;
    }
    
    .brand-name {
        font-size: 24px;
        letter-spacing: 1.5px;
    }
    
    .tagline {
        font-size: 14px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-heading {
        font-size: 36px;
        margin-bottom: 40px;
        text-align: center;
        justify-self: center;
    }
    
    .hero-grid {
        display: block; /* Restore normal flow on mobile */
    }
    
    .hero-subheading {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        text-align: left;
    }
    
    .value-proposition-text {
        font-size: 18px;
    }
    

    
    .hero-cta {
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-heading {
        font-size: 28px;
    }
    
    .hero-subheading {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .value-proposition-text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    /* Mobile Header Modifications */
    .header {
        padding: 25px 0 20px 0; /* Add 5px top padding */
    }
    
    .header.scrolled {
        padding: 3px 0 2px 0; /* Very thin when scrolled */
    }
    
    .header-grid {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 0 10px; /* Reduce padding for more text space */
        column-gap: 20px; /* More space between Lisa Zinßer and Coaching */
    }
    
    .header.scrolled .header-grid {
        gap: 2px; /* Reduce gap when scrolled */
    }
    
    .header-brand {
        justify-self: start;
        grid-column: 1;
        grid-row: 1;
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    .header-tagline {
        justify-self: end;
        grid-column: 2;
        grid-row: 1;
        white-space: nowrap; /* Prevent text wrapping */
        text-align: right;
    }
    
    .header-language {
        justify-self: center;
        grid-column: 1 / -1;
        grid-row: 2;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .header.scrolled .header-language {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    .brand-name {
        font-size: 20px; /* Slightly smaller to make room */
        letter-spacing: -0.5px; /* Tighter letter spacing for mobile */
    }
    
    .header.scrolled .brand-name {
        font-size: 17px; /* Smaller when scrolled */
        letter-spacing: -0.3px;
    }
    
    .tagline {
        font-size: 1.1rem; /* Slightly smaller to prevent cutoff */
        letter-spacing: -0.3px; /* Tighter letter spacing to prevent cutoff */
    }
    
    .header.scrolled .tagline {
        font-size: 0.95rem; /* Smaller when scrolled */
        letter-spacing: -0.2px;
    }
    
    /* Center hero image on mobile only */
    .hero-visual {
        justify-content: center; /* Center image on mobile */
    }

}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.lang-option:focus,
.cta-button:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}
