/* ====== CSS RESET & BASE STYLES ====== */
/* Remove default browser margins, padding, and set consistent box-sizing */
* {
    margin: 0;               /* Remove default margins from all elements */
    padding: 0;              /* Remove default padding from all elements */
    box-sizing: border-box;  /* Include padding and border in element's total width/height */
}

/* ====== 🎨 DESIGN SYSTEM - COLOR VARIABLES ====== */
/* 🔧 Main color scheme using HSL values for easy customization */
:root {
    /* HSL Color System (Hue, Saturation, Lightness) - easier to modify than hex */
    --background: 0 0% 100%;              /* 🔧 Main background color (white) */
    --foreground: 224 71.4% 4.1%;         /* 🔧 Main text color (dark blue-gray) */
    --card: 0 0% 100%;                    /* 🔧 Card background color (white) */
    --card-foreground: 224 71.4% 4.1%;    /* 🔧 Card text color */
    --popover: 0 0% 100%;                 /* 🔧 Popup/dropdown background */
    --popover-foreground: 224 71.4% 4.1%; /* 🔧 Popup/dropdown text */
    --primary: 221 100 10;         /* 🔧 MAIN BRAND COLOR (Midnightblue) - change this for different brand */
    --primary-foreground: 210 20% 98%;    /* 🔧 Text color on primary background (light) */
    --secondary: 220 14.3% 95.9%;         /* 🔧 Secondary background (light gray) */
    --secondary-foreground: 220.9 39.3% 11%; /* 🔧 Secondary text color */
    --muted: 220 14.3% 95.9%;             /* 🔧 Muted/disabled background */
    --muted-foreground: 220 8.9% 46.1%;   /* 🔧 Muted/disabled text color */
    --accent: 220 14.3% 95.9%;            /* 🔧 Accent color for highlights */
    --accent-foreground: 220.9 39.3% 11%; /* 🔧 Accent text color */
    --destructive: 0 84.2% 60.2%;         /* 🔧 Error/danger color (red) */
    --destructive-foreground: 210 20% 98%; /* 🔧 Error text color */
    --border: 220 13% 91%;                /* 🔧 Border color for cards, inputs */
    --input: 220 13% 91%;                 /* 🔧 Input field border color */
    --ring: 262.1 83.3% 57.8%;            /* 🔧 Focus ring color (matches primary) */
}

.dark {
    --background: 224 71.4% 4.1%;
    --foreground: 210 20% 98%;
    --card: 224 71.4% 4.1%;
    --card-foreground: 210 20% 98%;
    --popover: 224 71.4% 4.1%;
    --popover-foreground: 210 20% 98%;
    --primary: 263.4 70% 50.4%;
    --primary-foreground: 210 20% 98%;
    --secondary: 215 27.9% 16.9%;
    --secondary-foreground: 210 20% 98%;
    --muted: 215 27.9% 16.9%;
    --muted-foreground: 217.9 10.6% 64.9%;
    --accent: 215 27.9% 16.9%;
    --accent-foreground: 210 20% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 20% 98%;
    --border: 215 27.9% 16.9%;
    --input: 215 27.9% 16.9%;
    --ring: 263.4 70% 50.4%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    min-height: 100vh;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.medical-gradient {
    background: linear-gradient(90deg, 
        hsl(var(--primary)) 0%, 
        hsl(221, 100%, 10%) 20%, 
        hsl(234, 100%, 13%) 100%
    );
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(221 100 10);
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    background-color: hsl(220 14.3% 90.9%);
}

.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: hsl(var(--primary));
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background-color: hsl(var(--accent));
}

.card {
    background-color: hsl(var(--card));
    border: 3px solid hsl(var(--border));
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.card-icon {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}


.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid transparent;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}

.badge-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: auto;
}

.logo-icon {
    width: 2rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(221 100 10));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.hero {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 5rem;
    overflow: hidden;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-logo {
    width: 8rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    max-width: 50rem;   /* begrenzt Zeilenlänge */
    line-height: 1.2;   /* besserer Abstand */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-indicators {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Text styles */
.text-center {
    text-align: center;
}

.text-primary {
    color: hsl(var(--primary));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.title-lg {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.title-xl {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

/* Icon styles */
.icon {
    width: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.icon-lg {
    width: 1.25rem;
}

.icon-check {
    stroke: #22c55e;
}

/* Circle icons */
.circle-icon {
    width: 4rem;
    height: 4rem;
    background-color: hsla(var(--primary), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.circle-number {
    width: 5rem;
    height: 5rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Background variants */
.bg-secondary {
    background-color: hsla(var(--secondary), 0.2);
}

.bg-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.bg-card {
    background-color: hsl(var(--card));
}

.bg-gradient {
    background: linear-gradient(135deg, 
        hsla(var(--primary), 0.05) 0%, 
        hsla(var(--primary), 0.1) 100%
    );
}

/* Footer */
.footer {
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border));
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .title-xl {
        font-size: 3rem;
    }

    .grid-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        flex-direction: row;
    }

    .footer-links {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .grid-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

section ul {
  list-style-position: inside; 
  padding-left: 0;             
  margin-left: 0;             
}

section ul li {
  margin-left: 1.5rem;         
}
