@import 'images.css';
@import 'responsive.css';
@import 'testimonials.css';

/* Notfall-Button (Navigation) */
.btn-emergency { background-color: #dc2626 !important; color: white !important; animation: pulse 2s infinite; border: none !important; font-weight: bold; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

:root {
    --primary: #0f172a; /* Slate 900 */
    --primary-hover: #1e293b;
    --accent: #0ea5e9; /* Sky 500 */
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

* { box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
    background-color: var(--white);
}

h1, h2, h3 { color: var(--primary); font-weight: 700; margin-top: 0; letter-spacing: -0.02em; }
h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.navbar { border-bottom: 1px solid var(--border); padding: 20px 0; position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-links a { color: var(--text-main); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; transition: all 0.2s; text-decoration: none; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); color: var(--white); }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-light); border-color: var(--text-light); }
.btn-large { width: 100%; padding: 16px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

.btn-text { display: inline-block; margin-top: 15px; color: var(--accent); font-weight: 600; text-decoration: none; }
.btn-text:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 80px 0; text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.badge { display: inline-block; background: #e0f2fe; color: #0369a1; padding: 6px 12px; border-radius: 100px; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }
.hero-text { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

/* Page Header */
.page-header { background: var(--bg-light); padding: 60px 0; text-align: center; border-bottom: 1px solid var(--border); }

/* Sections & Grid */
.section { padding: 80px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; align-items: flex-start; }
.feature-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-5px); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { flex-grow: 1; color: var(--text-light); }

/* Split Layout (für Detailseiten & Kontakt) */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-layout.align-top { align-items: flex-start; }
.image-wrapper .placeholder-image { width: 100%; height: 400px; background-color: #cbd5e1; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-weight: 600; background-size: cover; background-position: center; }
.text-content ul.check-list { list-style: none; padding: 0; margin-top: 20px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.mt-2 { margin-top: 10px; }
.small-text { font-size: 0.9rem; color: var(--text-light); }

/* Forms */
.form-wrapper, .booking-wrapper { background: var(--bg-light); padding: 30px; border-radius: var(--radius); }
.form-wrapper { background: var(--white); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
.success-message { background: #dcfce7; color: #166534; padding: 15px; border-radius: 8px; margin-top: 20px; }
.error-message { background: #fee2e2; color: #991b1b; padding: 15px; border-radius: 8px; margin-top: 20px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; display: flex; flex-direction: column; transition: transform 0.2s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--accent); position: relative; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 15px 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.price-list { list-style: none; padding: 0; margin: 0 0 30px 0; text-align: left; flex-grow: 1; }
.price-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; }
.price-list li:last-child { border-bottom: none; }

/* Calendar */
.calendar-ui { background: var(--white); border-radius: 8px; padding: 20px; margin-top: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.calendar-header { font-weight: bold; margin-bottom: 15px; text-align: center; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-day-btn { padding: 10px; background: transparent; border: none; cursor: pointer; border-radius: 4px; }
.cal-day-btn:hover:not(:disabled) { background: #e0f2fe; color: var(--accent); }
.cal-day-btn.selected { background: var(--accent); color: var(--white); font-weight: bold; }
.cal-day-btn:disabled { color: #cbd5e1; cursor: not-allowed; }
.time-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.time-btn { flex: 1; min-width: 80px; padding: 10px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.time-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); background: var(--bg-light); margin-top: 60px; text-align: center; }
.footer a { color: var(--text-light); } 
.footer a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 900px) {
    .grid-3, .pricing-grid, .split-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.25rem; }
    .hero-buttons { flex-direction: column; }
    .align-top { align-items: flex-start; }
}