/**
 * ============================================================================
 * FILE INFORMATION
 * ============================================================================
 * Location:    /assets/css/main.css
 * File:        main.css
 * Function:    Main stylesheet - custom styles, overrides, responsive
 * Version:     1.0.0
 * Generated:   2026-01-16 14:30:00
 * 
 * ============================================================================
 * CHANGE HISTORY
 * ============================================================================
 * v1.0.0 - 2026-01-16 14:30:00
 * - Initial version created
 * - Base styles and utilities
 * - Custom Bootstrap overrides
 * - Responsive design
 * 
 * ============================================================================
 */

/* ============================================================================
   BASE STYLES
   ============================================================================ */

:root {
    /* Farben aus dem Logo "Ergotherapie am Leipziger Platz" */
    --primary-color: #2563eb;      /* Blau aus Logo */
    --secondary-color: #10b981;    /* Grün aus Logo */
    --accent-yellow: #fbbf24;      /* Gelb aus Logo */
    --accent-orange: #f97316;      /* Orange aus Logo */
    --accent-red: #ef4444;         /* Rot aus Logo */
    --dark-color: #1f2937;         /* Dunkelgrau/Schwarz */
    --light-color: #f9fafb;
    --success-color: #10b981;      /* Grün */
    --danger-color: #ef4444;       /* Rot */
    --warning-color: #fbbf24;      /* Gelb */
    --info-color: #2563eb;         /* Blau */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #0a58ca;
}

/* ============================================================================
   NAVBAR
   ============================================================================ */

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #ffffff !important;
}

.navbar-brand {
    font-size: 1.1rem;
    color: var(--dark-color) !important;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    color: var(--dark-color) !important;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

.nav-link.active {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
    margin-top: auto;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* ============================================================================
   BREADCRUMB
   ============================================================================ */

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.25rem;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

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

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
}
