/* ============================================
   Fit-Ention Website - Stylesheet
   Responsive Design mit Arial Rounded MT Bold
   ============================================ */

/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --text-color: #333333;
    --accent-color: #4caf50;
    --accent-light: #66bb6a;
    --accent-dark: #2e7d32;
    --border-color: #e0e0e0;
    --footer-bg: #2e7d32;
    --footer-text: #ffffff;
    --link-color: #4caf50;
    --link-hover: #2e7d32;
    --success-color: #28a745;
    --error-color: #dc3545;
    --form-bg: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, 'Arial Rounded MT Bold', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-bg);
    background-image: url('../images/background.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-size: 16px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

p {
    margin-bottom: 1rem;
    text-align: justify;
}

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

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Layout Components */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-left: 15px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav li {
    position: relative;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
}

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

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.profile-image {
    max-width: 250px;
    height: auto;
    box-shadow: var(--card-shadow);
    margin: 20px auto;
    display: block;
}

/* Quote Section */
.quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    margin: 40px auto;
    max-width: 800px;
}

/* Main Content */
.main {
    padding: 40px 0;
}

.section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Card Layout */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 30px auto 0;
}

.submit-btn:hover {
    background-color: var(--accent-light);
}

/* Error & Success Messages */
.error-message {
    color: var(--error-color);
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--error-color);
}

.success-message {
    color: var(--success-color);
    background-color: #d4edda;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--success-color);
}

/* Footer */
footer {
    background-color: rgba(46, 125, 50, 0.95);
    color: var(--footer-text);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--footer-text);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--footer-text);
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        margin-top: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .hero {
        padding: 40px 0;
    }
    
    .profile-image {
        max-width: 200px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 0 15px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    body {
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
        color: #000;
        background: white !important;
    }
    
    body::before {
        display: none;
    }
    
    header, footer, .menu-toggle, nav, .submit-btn, .no-print {
        display: none !important;
    }
    
    .main {
        padding: 0;
    }
    
    .hero {
        padding: 20px 0;
        background: white !important;
        page-break-after: avoid;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        margin: 5px 0 !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .section:first-of-type {
        page-break-before: avoid;
    }
    
    .card {
        background: white !important;
        box-shadow: none;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .card-grid {
        display: block;
    }
}

/* Zähler versteckt */
.counter-hidden {
    display: none;
}
