/* ===========================================
   SCANDINAVIAN DESIGN SYSTEM
   Drechselkurse Bayern
   =========================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #1e3a5f;
    --color-primary-light: #2d4a6f;
    --color-primary-dark: #152a45;

    --color-wood: #d4b896;
    --color-wood-light: #e8d4b8;
    --color-wood-dark: #c9a86c;

    --color-bg: #f8f5f0;
    --color-bg-light: #fdfcfa;
    --color-white: #ffffff;

    --color-text: #1e3a5f;
    --color-text-muted: #5a6c7d;
    --color-text-light: #8a9aab;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.1);
    --shadow-md: 0 4px 12px rgba(30, 58, 95, 0.15);
    --shadow-lg: 0 8px 24px rgba(30, 58, 95, 0.18);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

/* Container */
.scandi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header / Navigation */
.scandi-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.scandi-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.scandi-logo img {
    height: 50px;
    width: auto;
}

.scandi-nav-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.scandi-nav-links a:not(.scandi-btn) {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.scandi-nav-links a:not(.scandi-btn):hover {
    color: var(--color-wood-dark);
}

/* Buttons */
.scandi-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.scandi-btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.scandi-btn-secondary {
    background: var(--color-wood);
    color: var(--color-primary);
}

.scandi-btn-secondary:hover {
    background: var(--color-wood-dark);
    transform: translateY(-2px);
}

.scandi-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.scandi-btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.scandi-btn-lg {
    padding: var(--space-md) var(--space-lg);
    font-size: 1.1rem;
}

/* Hamburger Menu */
.scandi-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.scandi-hamburger:hover {
    background: var(--color-bg);
}

.scandi-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.scandi-hero {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.scandi-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-wood-light), var(--color-wood), var(--color-wood-light));
}

.scandi-hero-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-xl);
    align-items: center;
}

.scandi-hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.scandi-hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text-muted);
}

.scandi-hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.scandi-hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 500px;
}

/* Feature Cards */
.scandi-features {
    padding: var(--space-2xl) 0;
}

.scandi-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.scandi-feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.scandi-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scandi-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-wood-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.scandi-feature-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.scandi-feature-card h3 {
    margin-bottom: var(--space-xs);
}

/* Course Cards */
.scandi-courses {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.scandi-section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.scandi-section-header h2 {
    margin-bottom: var(--space-xs);
}

.scandi-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.scandi-course-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30, 58, 95, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.scandi-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 58, 95, 0.12);
}

.scandi-course-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md);
}

.scandi-course-header h3 {
    color: var(--color-white);
    margin: 0;
}

.scandi-course-meta {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
    font-size: 0.9rem;
    opacity: 0.9;
}

.scandi-course-body {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.scandi-course-body p {
    flex-grow: 1;
}

.scandi-course-price {
    display: inline-block;
    background: var(--color-wood);
    color: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

/* Location Section */
.scandi-location {
    padding: var(--space-2xl) 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.scandi-location h2 {
    color: var(--color-white);
}

.scandi-location p {
    color: rgba(255, 255, 255, 0.85);
}

.scandi-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.scandi-location-item {
    text-align: center;
    padding: var(--space-sm);
}

.scandi-location-item strong {
    display: block;
    font-size: 1.1rem;
}

.scandi-location-item span {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* About Section */
.scandi-about {
    padding: var(--space-2xl) 0;
}

.scandi-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.scandi-about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.scandi-cta {
    padding: var(--space-2xl) 0;
    background: var(--color-wood-light);
    text-align: center;
}

.scandi-cta h2 {
    margin-bottom: var(--space-sm);
}

.scandi-cta p {
    margin-bottom: var(--space-lg);
}

/* Newsletter Section */
.scandi-newsletter {
    padding: var(--space-xl) 0;
    background: var(--color-bg);
}

.scandi-newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-wood);
}

.scandi-newsletter-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.scandi-newsletter-content h3 {
    margin-bottom: 4px;
}

.scandi-newsletter-content p {
    margin: 0;
}

.scandi-newsletter-icon {
    font-size: 2rem;
    color: var(--color-wood-dark);
    flex-shrink: 0;
}

/* Section Divider */
.scandi-divider {
    width: 60px;
    height: 3px;
    background: var(--color-wood);
    margin: 0 auto var(--space-md);
    border-radius: 2px;
}

/* Footer */
.scandi-footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.scandi-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.scandi-footer h4 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

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

.scandi-footer a:hover {
    color: var(--color-wood);
}

.scandi-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .scandi-hamburger {
        display: flex;
    }

    .scandi-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(30, 58, 95, 0.08);
        gap: var(--space-xs);
    }

    .scandi-nav-links.is-open {
        display: flex;
    }

    .scandi-nav-links a:not(.scandi-btn) {
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
    }

    .scandi-nav-links a:not(.scandi-btn):hover {
        background: var(--color-bg);
    }

    .scandi-nav-links .scandi-btn {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-xs);
    }

    /* Mobile Hero */
    .scandi-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scandi-hero-content h1 {
        font-size: 2rem;
    }

    .scandi-hero-content p {
        font-size: 1.1rem;
    }

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

    .scandi-hero-image {
        order: -1;
    }

    .scandi-hero-image img {
        max-height: 250px;
    }

    /* Mobile About */
    .scandi-about-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Courses */
    .scandi-courses-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Location */
    .scandi-location-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile Newsletter */
    .scandi-newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .scandi-newsletter-content {
        flex-direction: column;
    }

    .scandi-newsletter-box .scandi-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-wood { color: var(--color-wood-dark); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
