/* 
 * main.css - Hauptstilvorlage für Physio Nova
 * Enthält Farbvariablen, Typografie und grundlegende Stile
 */

:root {
    /* Hauptfarbpalette basierend auf dem Logo */
    --primary: #4a2c82;       /* Violett aus Logo */
    --primary-light: #6b44ad; /* Helles Violett */
    --primary-dark: #2d1a4e;  /* Dunkles Violett */
    --secondary: #e63946;     /* Rot aus Logo */
    --secondary-light: #f48c9c; /* Hellrot/Rosa */
    --accent: #c4a7e8;        /* Lavendel */
    
    /* Neutrale Farben */
    --dark: #333333;          /* Dunkelgrau */
    --light: #ffffff;         /* Weiß */
    --light-bg: #f8f8ff;      /* Sehr helles Lavendel */
    --text: #333333;          /* Dunkelgrau für Text */
    --text-light: #666666;    /* Mittelgrau */
    --border: #e0e0e0;        /* Hellgrau für Ränder */
    --shadow: rgba(0,0,0,0.08); /* Subtiler Schatten */
    
    /* Abstände */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
    
    /* Abrundungen */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Animationen */
    --transition: all 0.3s ease;
}

/* Reset und Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: var(--primary);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Überschriften */
h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

/* Listen */
ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Hilfsmittelklassen */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary);
    color: white;
}

.bg-secondary {
    background-color: var(--secondary);
    color: white;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--primary-dark);
    color: white;
}

/* Responsive Design Breakpoints */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.6rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
}