/* === VERSION 2: MODERN DARK THEME === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Goethe-Inspired Professional Green */
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #009682;
    --accent-dark: #007a6a;
    --accent-light: #e6f5f3;
    --highlight-color: #00b398;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-grey: #f0f0f0;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Layout */
    --container-width: 1140px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: var(--line-height);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* === CONTAINER === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === NAVIGATION === */
.navbar {
    background: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

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

.language-switcher-nav {
    display: flex;
    align-items: center;
}

.language-switcher-nav select {
    padding: 0.5rem 2rem 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
}

.language-switcher-nav select:hover {
    border-color: var(--accent-color);
}

.language-switcher-nav select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* === HERO SECTION === */
.hero {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 4rem 0;
    position: relative;
}

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

.hero-content {
    position: relative;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.7rem 1.3rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-image {
    width: 100%;
    height: 500px;
    background: var(--bg-grey);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    overflow: hidden;
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--bg-white);
    color: var(--text-dark);
}

.section-contact {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.about-card:hover {
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-align: center;
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-display);
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* === SERVICES SECTION === */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--bg-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.service-item:hover {
    border-color: var(--accent-color);
}

.service-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-content ul li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* === FORMAT SECTION === */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.format-item {
    background: var(--bg-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
}

.format-item:hover {
    border-color: var(--accent-color);
}

.format-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.format-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.format-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === PRICING CARDS === */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 150, 130, 0.08);
    transform: translateY(-4px);
}

.pricing-card-featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 150, 130, 0.1);
}

.pricing-card-featured:hover {
    box-shadow: 0 12px 32px rgba(0, 150, 130, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    text-align: center;
}

/* === PRICING TOGGLE === */
.pricing-toggle {
    display: flex;
    gap: 0;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.toggle-btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    position: relative;
}

.toggle-btn:hover {
    background: rgba(0, 150, 130, 0.05);
}

.toggle-btn.active {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 2px 4px rgba(0, 150, 130, 0.2);
}

.toggle-btn span {
    position: relative;
    z-index: 1;
}

/* === PRICING CONTENT === */
.pricing-content {
    display: block;
}

.pricing-content.hidden {
    display: none;
}

.pricing-card-price {
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: opacity 0.3s ease-in-out;
}

.pricing-card.transitioning .price-amount,
.pricing-card.transitioning .package-price {
    opacity: 0;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-package {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.pricing-package strong {
    color: var(--text-dark);
    font-weight: 600;
}

.package-price {
    font-weight: 600;
    color: var(--accent-color);
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
    min-width: 60px;
    text-align: left;
}

.price-format {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-check {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.6rem;
    flex-shrink: 0;
    line-height: 1.2;
}


.pricing-cta-container {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pricing-cta-main {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-color);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 150, 130, 0.2);
}

.pricing-cta-main:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 6px 16px rgba(0, 150, 130, 0.3);
    transform: translateY(-2px);
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.25rem;
    background: var(--accent-light);
    color: var(--text-muted);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.contact-box:hover {
    border-color: var(--accent-color);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-align: center;
}

.contact-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.contact-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-display);
}

.contact-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-box a:hover {
    color: var(--accent-dark);
}

/* === FOOTER === */
.footer {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    max-width: 600px;
}

.footer-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-col {
    text-align: center;
}

.footer-col p {
    margin: 0;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

    .hero-image {
        height: 400px;
    }

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

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .navbar .container {
        flex-direction: column;
    }

    .language-switcher-nav select {
        padding: 0.4rem 1.5rem 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .format-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* === IMPRESSUM MODAL === */
.impressum-link {
    background: none;
    border: none;
    color: var(--accent-color);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-main);
    transition: color 0.2s ease;
}

.impressum-link:hover {
    color: var(--accent-dark);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.3s ease;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

.modal-close {
    color: var(--text-muted);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--text-dark);
}

.modal h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-display);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.modal-body {
    color: var(--text-dark);
    line-height: 1.6;
}

.modal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.modal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    font-family: var(--font-display);
}

.modal-section h4 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.modal-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.modal-body a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-body a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

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

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

/* Modal responsive styles */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }

    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .modal-section h3 {
        font-size: 1.15rem;
    }

    .modal-close {
        top: 0.75rem;
        right: 1rem;
        font-size: 1.75rem;
    }
}
