/* ============================================================================
   PRAXIS DR. WEBER – Arztpraxis-Website
   Handcrafted Design System – Final Polish
   ============================================================================ */

:root {
--clr-primary: #1a5276;
--clr-primary-dark: #0e3650;
--clr-primary-light: #d4e6f1;
--clr-accent: #2e86ab;
--clr-accent-soft: #eaf4f8;
--clr-warm: #c0956c;
--clr-warm-light: #f5efe8;
--clr-success: #27845a;
--clr-error: #b93636;
--clr-white: #ffffff;
--clr-off-white: #fafaf9;
--clr-light: #ededed;
--clr-border: #ddd;
--clr-gray: #7a7a7a;
--clr-dark: #1c1c1c;
--clr-text: #333;
--clr-text-light: #666;

--ff-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
--ff-body: 'Inter', -apple-system, 'Segoe UI', Helvetica, sans-serif;
--fs-xs: 0.75rem;
--fs-sm: 0.875rem;
--fs-base: 1rem;
--fs-md: 1.0625rem;
--fs-lg: 1.25rem;
--fs-xl: 1.5rem;
--fs-2xl: 2rem;
--fs-3xl: 2.5rem;
--fs-4xl: 3rem;
--fw-normal: 400;
--fw-medium: 500;
--fw-semibold: 600;
--fw-bold: 700;

--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 1.5rem;
--space-xl: 2rem;
--space-2xl: 3rem;
--space-3xl: 4rem;
--space-4xl: 6rem;
--space-5xl: 7rem;

--max-width: 1140px;
--border-radius: 8px;
--border-radius-sm: 6px;
--border-radius-lg: 16px;
--border-radius-full: 50%;

--transition-fast: 0.15s ease;
--transition-base: 0.25s ease;

--shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
--shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
--shadow-lg: 0 20px 50px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
--shadow-xl: 0 25px 65px rgba(0,0,0,0.1), 0 10px 30px rgba(0,0,0,0.06);
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--clr-primary-dark);
  overscroll-behavior-y: none;
}
body {
font-family: var(--ff-body);
font-size: var(--fs-base);
line-height: 1.7;
color: var(--clr-text);
background: var(--clr-dark);
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--clr-primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
font-family: var(--ff-heading);
font-weight: var(--fw-normal);
line-height: 1.25;
color: var(--clr-dark);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-5xl) 0; background: var(--clr-white); }
.section-title { font-size: var(--fs-3xl); text-align: center; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.section-subtitle { font-size: var(--fs-md); color: var(--clr-text-light); text-align: center; max-width: 560px; margin: 0 auto var(--space-3xl); line-height: 1.8; }
.section-label {
display: inline-block;
font-family: var(--ff-body);
font-size: var(--fs-xs);
font-weight: var(--fw-semibold);
color: var(--clr-warm);
text-transform: uppercase;
letter-spacing: 2.5px;
margin-bottom: var(--space-sm);
}
.bg-light { background: var(--clr-off-white); }

.icon-svg { display: inline-flex; align-items: center; justify-content: center; }
.icon-svg svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
display: inline-flex; align-items: center; gap: var(--space-sm);
padding: 13px 30px;
font-family: var(--ff-body); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
letter-spacing: 0.3px;
border: 1.5px solid transparent; border-radius: var(--border-radius);
cursor: pointer; transition: all var(--transition-base); text-decoration: none; line-height: 1;
white-space: nowrap;
}
.btn-primary { background: var(--clr-primary); color: var(--clr-white); border-color: var(--clr-primary); }
.btn-primary:hover { background: var(--clr-primary-dark); border-color: var(--clr-primary-dark); color: var(--clr-white); box-shadow: 0 6px 20px rgba(26,82,118,0.3); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--clr-white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--clr-white); color: var(--clr-primary); }
.btn-secondary { background: transparent; color: var(--clr-primary); border-color: var(--clr-primary); }
.btn-secondary:hover { background: var(--clr-primary); color: var(--clr-white); }
.btn-sm { padding: 9px 20px; font-size: var(--fs-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--fs-base); }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: var(--space-md) 0; transition: all var(--transition-base); background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--clr-border); padding: 10px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--clr-white); transition: color var(--transition-base); }
.navbar.scrolled .navbar-brand { color: var(--clr-primary); }
.navbar-brand .brand-icon {
width: 38px; height: 38px;
border: 2px solid currentColor;
border-radius: var(--border-radius-sm);
display: flex; align-items: center; justify-content: center;
font-size: var(--fs-lg); font-weight: var(--fw-bold); line-height: 1;
transition: all var(--transition-base);
}
.navbar-brand .brand-name { font-family: var(--ff-heading); font-size: var(--fs-lg); }
.brand-text-sub { display: block; font-family: var(--ff-body); font-size: 10px; font-weight: var(--fw-normal); opacity: 0.7; letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 16px; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: rgba(255,255,255,0.85); border-radius: var(--border-radius-sm); transition: all var(--transition-fast); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--clr-white); background: rgba(255,255,255,0.12); }
.navbar.scrolled .nav-links a { color: var(--clr-text); }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--clr-primary); background: var(--clr-accent-soft); }
.nav-links .btn { margin-left: var(--space-sm); }
.nav-links .btn-nav { background: rgba(255,255,255,0.15); color: var(--clr-white); border-color: rgba(255,255,255,0.3); }
.nav-links .btn-nav:hover { background: var(--clr-white); color: var(--clr-primary); border-color: var(--clr-white); }
.navbar.scrolled .nav-links .btn-nav { background: var(--clr-primary); color: var(--clr-white); border-color: var(--clr-primary); }
.navbar.scrolled .nav-links .btn-nav:hover { background: var(--clr-primary-dark); border-color: var(--clr-primary-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: var(--space-sm); z-index: 1001; }
.nav-toggle span { width: 24px; height: 2px; background: var(--clr-white); border-radius: 1px; transition: all var(--transition-base); }
.navbar.scrolled .nav-toggle span { background: var(--clr-dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background: var(--clr-primary); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--clr-primary-dark) 0%, var(--clr-primary) 40%, var(--clr-accent) 100%); opacity: 0.95; }
.hero .container { position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.hero-text { color: var(--clr-white); }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 6px 16px; border: 1px solid rgba(255,255,255,0.25); border-radius: var(--border-radius-sm); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); letter-spacing: 0.5px; }
.hero-badge .pulse-dot { width: 6px; height: 6px; background: #5cb85c; border-radius: 50%; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); color: var(--clr-white); line-height: 1.15; margin-bottom: var(--space-lg); letter-spacing: -0.02em; }
.hero h1 span { display: block; color: rgba(255,255,255,0.65); font-style: italic; }
.hero-description { font-size: var(--fs-md); color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: var(--space-2xl); max-width: 480px; }
.hero-buttons { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-3xl); margin-top: var(--space-3xl); padding-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat-number { display: block; font-family: var(--ff-heading); font-size: var(--fs-2xl); color: var(--clr-white); line-height: 1; }
.hero-stat-label { font-size: var(--fs-xs); color: rgba(255,255,255,0.55); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--border-radius-lg); padding: var(--space-2xl); width: 100%; max-width: 400px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-card-header { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-card-avatar { width: 60px; height: 60px; border-radius: var(--border-radius); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); overflow: hidden; flex-shrink: 0; }
.hero-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-avatar svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.hero-card-info h3 { color: var(--clr-white); font-size: var(--fs-md); font-family: var(--ff-heading); }
.hero-card-info p { color: rgba(255,255,255,0.55); font-size: var(--fs-sm); }
.hero-card-items { display: flex; flex-direction: column; gap: var(--space-sm); }
.hero-card-item { display: flex; align-items: center; gap: var(--space-md); padding: 12px 14px; border-radius: var(--border-radius-sm); transition: background var(--transition-fast); }
.hero-card-item:hover { background: rgba(255,255,255,0.06); }
.hero-card-item-icon { width: 40px; height: 40px; border-radius: var(--border-radius-sm); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,0.7); }
.hero-card-item-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.hero-card-item-text h4 { font-family: var(--ff-body); color: rgba(255,255,255,0.9); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.hero-card-item-text p { color: rgba(255,255,255,0.45); font-size: var(--fs-xs); }

/* ── Info Bar ────────────────────────────────────────────────────────────── */
.info-bar { background: var(--clr-white); padding: var(--space-xl) 0; border-bottom: 1px solid var(--clr-light); position: relative; z-index: 1; }
.info-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.info-bar-item { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm); }
.info-bar-icon { width: 44px; height: 44px; border-radius: var(--border-radius-sm); background: var(--clr-accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--clr-accent); }
.info-bar-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.info-bar-text h4 { font-family: var(--ff-body); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--clr-dark); margin-bottom: 1px; }
.info-bar-text p { font-size: var(--fs-sm); color: var(--clr-gray); }

/* ── Services ────────────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.service-card { background: var(--clr-white); border-radius: var(--border-radius); padding: var(--space-2xl) var(--space-xl); border: 1px solid var(--clr-light); transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover { border-color: var(--clr-border); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.service-icon { width: 48px; height: 48px; border-radius: var(--border-radius-sm); background: var(--clr-accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--clr-accent); transition: all var(--transition-base); }
.service-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.service-card:hover .service-icon { background: var(--clr-primary); color: var(--clr-white); }
.service-card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }
.service-card p { font-size: var(--fs-sm); color: var(--clr-text-light); line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-md); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--clr-accent); transition: gap var(--transition-fast); }
.service-link:hover { gap: 8px; }

/* Facility Cards (About-Seite) */
.facility-card { padding: 0; overflow: hidden; }
.facility-card h3 { padding: 0 var(--space-xl); }
.facility-card p { padding: 0 var(--space-xl) var(--space-xl); }
.facility-image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: var(--space-lg); }
.facility-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.facility-card:hover .facility-image img { transform: scale(1.05); }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.about-image { position: relative; }
.about-image-main { width: 100%; border-radius: var(--border-radius-lg); background: var(--clr-warm-light); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; color: var(--clr-warm); overflow: hidden; }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-main svg { width: 120px; height: 120px; stroke: currentColor; fill: none; stroke-width: 0.8; opacity: 0.4; }
.about-image-float { position: absolute; bottom: -16px; right: -16px; background: var(--clr-white); border-radius: var(--border-radius); padding: var(--space-lg); box-shadow: var(--shadow-md); text-align: center; }
.about-image-float .number { font-family: var(--ff-heading); font-size: var(--fs-2xl); color: var(--clr-primary); line-height: 1; }
.about-image-float .label { font-size: var(--fs-xs); color: var(--clr-gray); margin-top: 2px; }
.about-text .section-label { text-align: left; }
.about-text h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-lg); }
.about-text p { font-size: var(--fs-md); color: var(--clr-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--space-xl) 0; }
.about-feature { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--clr-dark); }
.about-feature .check { width: 20px; height: 20px; border-radius: var(--border-radius-full); background: var(--clr-accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--clr-accent); }
.about-feature .check svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── Team ────────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.team-card { background: var(--clr-white); border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--clr-light); text-align: center; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.team-card:hover { border-color: transparent; box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.team-card-image { width: 100%; aspect-ratio: 1; background: var(--clr-warm-light); display: flex; align-items: center; justify-content: center; color: var(--clr-warm); overflow: hidden; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card-image img { transform: scale(1.05); }
.team-card-image svg { width: 64px; height: 64px; stroke: currentColor; fill: none; stroke-width: 0.8; opacity: 0.5; }
.team-card-body { padding: var(--space-lg); }
.team-card h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.team-card .role { font-family: var(--ff-body); font-size: var(--fs-sm); color: var(--clr-accent); font-weight: var(--fw-medium); margin-bottom: var(--space-sm); }
.team-card .bio { font-size: var(--fs-sm); color: var(--clr-gray); line-height: 1.6; }

/* ── Hours ───────────────────────────────────────────────────────────────── */
.hours-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: start; }
.hours-table { background: var(--clr-white); border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--clr-light); }
.hours-row { display: flex; justify-content: space-between; padding: 14px var(--space-xl); border-bottom: 1px solid var(--clr-light); transition: background var(--transition-fast); }
.hours-row:last-child { border-bottom: none; }
.hours-row:hover { background: var(--clr-off-white); }
.hours-row.today { background: var(--clr-accent-soft); font-weight: var(--fw-medium); }
.hours-day { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--clr-dark); }
.hours-time { font-size: var(--fs-sm); color: var(--clr-gray); }
.hours-info { position: sticky; top: 100px; }
.hours-info h3 { font-size: var(--fs-xl); margin-bottom: var(--space-lg); }
.hours-info p { color: var(--clr-text-light); line-height: 1.8; margin-bottom: var(--space-md); font-size: var(--fs-sm); }
.emergency-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--border-radius); padding: var(--space-xl); margin-top: var(--space-xl); }
.emergency-box h4 { font-family: var(--ff-body); font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--clr-error); margin-bottom: var(--space-sm); }
.emergency-box p { color: var(--clr-text-light); font-size: var(--fs-sm); margin-bottom: var(--space-sm); }
.emergency-box a { color: var(--clr-error); font-weight: var(--fw-bold); font-size: var(--fs-lg); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-xl); }
.contact-info-card { background: var(--clr-off-white); border-radius: var(--border-radius); padding: var(--space-lg); border: 1px solid var(--clr-light); transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-info-card:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-info-card .icon { width: 36px; height: 36px; margin-bottom: var(--space-sm); color: var(--clr-accent); display: flex; align-items: center; }
.contact-info-card .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-info-card h4 { font-family: var(--ff-body); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--clr-dark); margin-bottom: 2px; }
.contact-info-card p { font-size: var(--fs-sm); color: var(--clr-gray); }
.contact-info-card a { color: var(--clr-accent); font-weight: var(--fw-medium); }
.contact-map { border-radius: var(--border-radius-lg); overflow: hidden; background: var(--clr-light); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: var(--clr-gray); font-size: var(--fs-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--clr-light); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--clr-dark); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; font-family: var(--ff-body); font-size: var(--fs-base); color: var(--clr-text); background: var(--clr-white); border: 1.5px solid var(--clr-border); border-radius: var(--border-radius-sm); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); outline: none; -webkit-appearance: none; }
.form-control:focus { border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(46,134,171,0.1); }
.form-control::placeholder { color: #bbb; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-check { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: var(--fs-sm); color: var(--clr-gray); cursor: pointer; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--clr-primary); }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(160deg, var(--clr-primary-dark) 0%, var(--clr-primary) 50%, var(--clr-accent) 100%); padding: var(--space-5xl) 0; text-align: center; position: relative; }
.cta-section h2 { font-size: var(--fs-3xl); color: var(--clr-white); margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.cta-section p { font-size: var(--fs-md); color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto var(--space-2xl); line-height: 1.8; }
.cta-buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--clr-dark); color: rgba(255,255,255,0.6); padding-top: var(--space-5xl); position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); padding-bottom: var(--space-3xl); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-lg); }
.footer-brand .brand-icon { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--border-radius-sm); display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); font-weight: var(--fw-bold); color: rgba(255,255,255,0.8); }
.footer-brand-name { font-family: var(--ff-heading); font-size: var(--fs-lg); color: var(--clr-white); }
.footer-about p { font-size: var(--fs-sm); line-height: 1.8; margin-bottom: var(--space-lg); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a { width: 36px; height: 36px; border-radius: var(--border-radius-sm); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all var(--transition-fast); font-size: var(--fs-sm); }
.footer-social a:hover { border-color: rgba(255,255,255,0.4); color: var(--clr-white); background: rgba(255,255,255,0.05); }
.footer-col h4 { font-family: var(--ff-body); color: var(--clr-white); font-size: var(--fs-sm); font-weight: var(--fw-semibold); margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: var(--fs-sm); transition: color var(--transition-fast); }
.footer-col ul li a:hover { color: var(--clr-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--space-lg) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.footer-bottom p { font-size: var(--fs-xs); }
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Cookie Banner ───────────────────────────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--clr-dark); padding: var(--space-lg) var(--space-2xl); z-index: 9999; display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); transform: translateY(100%); animation: slideUp 0.4s ease 1s forwards; }
@keyframes slideUp { to { transform: translateY(0); } }
.cookie-banner p { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); flex: 1; }
.cookie-banner a { color: var(--clr-primary-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }

/* ── Page Header ─────────────────────────────────────────────────────────── */
.page-header { background: linear-gradient(160deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, var(--clr-accent) 100%); padding: calc(var(--space-5xl) + 60px) 0 var(--space-3xl); text-align: center; }
.page-header h1 { font-size: var(--fs-4xl); color: var(--clr-white); margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.page-header p { font-size: var(--fs-md); color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-md); font-size: var(--fs-sm); }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--clr-white); }
.breadcrumb .separator { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: rgba(255,255,255,0.85); font-weight: var(--fw-medium); }

/* ── Legal ───────────────────────────────────────────────────────────────── */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { font-size: var(--fs-xl); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.legal-content h3 { font-size: var(--fs-lg); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal-content p { color: var(--clr-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.legal-content ul { margin: var(--space-md) 0; padding-left: var(--space-xl); }
.legal-content ul li { list-style: disc; color: var(--clr-text-light); margin-bottom: var(--space-sm); line-height: 1.7; }
.legal-content a { color: var(--clr-accent); text-decoration: underline; }

/* ── Leistungen Detail ───────────────────────────────────────────────────── */
.leistungen-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; margin-bottom: var(--space-4xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid var(--clr-light); }
.leistungen-detail:nth-child(even) { direction: rtl; }
.leistungen-detail:nth-child(even) > * { direction: ltr; }
.leistungen-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.leistungen-image { border-radius: var(--border-radius-lg); background: var(--clr-warm-light); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--clr-warm); overflow: hidden; }
.leistungen-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.leistungen-detail:hover .leistungen-image img { transform: scale(1.03); }
.leistungen-image svg { width: 80px; height: 80px; stroke: currentColor; fill: none; stroke-width: 0.8; opacity: 0.4; }
.leistungen-text h3 { font-size: var(--fs-xl); margin-bottom: var(--space-md); }
.leistungen-text p { color: var(--clr-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.leistungen-list { margin: var(--space-md) 0; }
.leistungen-list li { display: flex; align-items: center; gap: var(--space-sm); padding: 6px 0; font-size: var(--fs-sm); color: var(--clr-text); }
.leistungen-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clr-accent); flex-shrink: 0; }

/* ── Scroll Top ──────────────────────────────────────────────────────────── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; border-radius: var(--border-radius-sm); background: var(--clr-dark); color: var(--clr-white); border: none; cursor: pointer; font-size: var(--fs-md); display: flex; align-items: center; justify-content: center; z-index: 999; opacity: 0; visibility: hidden; transition: all var(--transition-base); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--clr-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,82,118,0.3); }

/* ── Animations ──────────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Booking Tool ────────────────────────────────────────────────────────── */
.booking-tool { background: var(--clr-white); border-radius: var(--border-radius-lg); border: 1px solid var(--clr-light); overflow: hidden; box-shadow: var(--shadow-lg); }
.booking-header { background: var(--clr-primary); padding: var(--space-xl) var(--space-2xl); text-align: center; color: var(--clr-white); }
.booking-header .booking-icon { display: none; }
.booking-header h3 { color: var(--clr-white); font-size: var(--fs-xl); margin-bottom: 4px; }
.booking-header p { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); }
.booking-steps { display: flex; justify-content: center; padding: var(--space-md) var(--space-xl); background: var(--clr-off-white); border-bottom: 1px solid var(--clr-light); }
.booking-step { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); opacity: 0.35; transition: all var(--transition-base); }
.booking-step.active { opacity: 1; }
.booking-step.completed { opacity: 0.6; }
.step-number { width: 28px; height: 28px; border-radius: var(--border-radius-full); background: var(--clr-light); display: flex; align-items: center; justify-content: center; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--clr-gray); transition: all var(--transition-base); }
.booking-step.active .step-number { background: var(--clr-primary); color: var(--clr-white); }
.booking-step.completed .step-number { background: var(--clr-success); color: var(--clr-white); }
.step-label { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--clr-gray); }
.booking-step.active .step-label { color: var(--clr-dark); }
.booking-panel { display: none; padding: var(--space-2xl); }
.booking-panel.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.booking-panel h4 { font-size: var(--fs-lg); margin-bottom: var(--space-lg); }
.service-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.service-option { cursor: pointer; }
.service-option input[type="radio"] { display: none; }
.service-option-inner { padding: var(--space-md); border: 1.5px solid var(--clr-light); border-radius: var(--border-radius-sm); transition: all var(--transition-fast); text-align: center; }
.service-option-inner:hover { border-color: var(--clr-accent); }
.service-option input:checked + .service-option-inner { border-color: var(--clr-primary); background: var(--clr-accent-soft); }
.service-option-icon { display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-xs); color: var(--clr-accent); }
.service-option-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.service-option-name { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--clr-dark); margin-bottom: 1px; }
.service-option-duration { display: block; font-size: var(--fs-xs); color: var(--clr-gray); }
.time-slots { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.time-slot { cursor: pointer; }
.time-slot input[type="radio"] { display: none; }
.time-slot-label { display: block; padding: 8px 18px; border: 1.5px solid var(--clr-light); border-radius: var(--border-radius-sm); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--clr-text); transition: all var(--transition-fast); }
.time-slot-label:hover { border-color: var(--clr-accent); }
.time-slot input:checked + .time-slot-label { border-color: var(--clr-primary); background: var(--clr-primary); color: var(--clr-white); }
.time-slot.disabled .time-slot-label { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.booking-summary { background: var(--clr-off-white); border: 1px solid var(--clr-light); border-radius: var(--border-radius-sm); padding: var(--space-lg); margin-bottom: var(--space-lg); font-size: var(--fs-sm); line-height: 1.8; }
.booking-summary strong { color: var(--clr-dark); }

/* ============================================================================
   RESPONSIVE – Mobile-First Breakpoints
   ============================================================================ */

/* ── Tablet Landscape (up to 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-description { margin: 0 auto var(--space-2xl); }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-image { order: -1; max-width: 400px; margin: 0 auto; }
  .about-text { text-align: center; }
  .about-text .section-label { text-align: center; }
  .about-features { justify-items: start; max-width: 400px; margin-left: auto; margin-right: auto; }
  .about-text .btn { margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hours-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .leistungen-detail { grid-template-columns: 1fr; }
  .leistungen-detail:nth-child(even) { direction: ltr; }
  .leistungen-image { max-width: 560px; margin: 0 auto; }
}

/* ── Tablet Portrait (up to 768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --fs-3xl: 2rem;
    --fs-4xl: 2.25rem;
    --space-5xl: 4.5rem;
    --space-4xl: 3.5rem;
  }

  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; height: 100dvh;
    background: var(--clr-white); flex-direction: column;
    padding: 80px var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-lg); transition: right var(--transition-base);
    gap: 2px; z-index: 1000; overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--clr-text); padding: 14px var(--space-md); border-radius: var(--border-radius-sm); width: 100%; font-size: var(--fs-base); }
  .nav-links a:hover, .nav-links a.active { background: var(--clr-accent-soft); color: var(--clr-primary); }
  .nav-links .btn-nav { background: var(--clr-primary) !important; color: var(--clr-white) !important; border-color: var(--clr-primary) !important; justify-content: center; margin-top: var(--space-sm); }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
  .nav-overlay.active { display: block; }

  /* Grids to single column */
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .info-bar-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; text-align: center; padding: var(--space-lg); }
  .cookie-actions { width: 100%; justify-content: center; }

  /* Booking */
  .service-select-grid { grid-template-columns: 1fr; }
  .booking-step { padding: var(--space-xs) var(--space-sm); }
  .step-label { display: none; }
  .booking-panel { padding: var(--space-lg); }
  .booking-header { padding: var(--space-lg); }

  /* Contact map */
  .contact-map { aspect-ratio: 4 / 3; }

  /* CTA */
  .cta-section { padding: var(--space-4xl) 0; }
  .cta-section h2 { font-size: var(--fs-2xl); }

  /* Page Header */
  .page-header { padding: calc(var(--space-4xl) + 60px) 0 var(--space-2xl); }
  .page-header h1 { font-size: var(--fs-3xl); }

  /* Section spacing */
  .section-subtitle { margin-bottom: var(--space-2xl); }
}

/* ── Small Mobile (up to 480px) ──────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
    --fs-2xl: 1.625rem;
    --space-5xl: 3.5rem;
    --space-4xl: 2.5rem;
    --space-3xl: 2rem;
  }

  .container { padding: 0 var(--space-md); }

  .hero { min-height: auto; padding: 120px 0 var(--space-4xl); }
  .hero-stats { flex-direction: column; gap: var(--space-md); align-items: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }

  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }

  .about-image { max-width: 100%; }
  .about-image-float { bottom: -10px; right: -6px; padding: var(--space-md); }
  .about-image-float .number { font-size: var(--fs-xl); }

  .info-bar-item { gap: var(--space-sm); }
  .info-bar-icon { width: 38px; height: 38px; }

  .service-card { padding: var(--space-xl) var(--space-lg); }

  .hours-row { padding: 12px var(--space-md); flex-direction: column; gap: 2px; }
  .hours-time { font-size: var(--fs-xs); }

  .booking-panel { padding: var(--space-md); }
  .booking-header h3 { font-size: var(--fs-lg); }

  .footer-social { justify-content: center; }
  .footer-bottom-links { gap: var(--space-md); }
  .footer-bottom-links a { font-size: 11px; }

  .scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }

  /* Facility cards on small screens */
  .facility-image { aspect-ratio: 16 / 10; }
}

/* ── Extra small (up to 360px) ───────────────────────────────────────────── */
@media (max-width: 360px) {
  :root {
    --fs-3xl: 1.5rem;
    --fs-4xl: 1.75rem;
    --fs-xl: 1.25rem;
  }

  .container { padding: 0 12px; }
  .hero { padding: 100px 0 var(--space-3xl); }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .btn-lg { padding: 14px 28px; font-size: var(--fs-sm); }
  .nav-links { width: 260px; }
}

/* ── Focus & Accessibility ───────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  .navbar, .cookie-banner, .scroll-top, .cta-section, .nav-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; padding: 20px 0; background: #fff; }
  .hero::before { display: none; }
  .hero h1, .hero h1 span { color: #000; }
  .section { padding: 30px 0; }
  a { color: #000; text-decoration: underline; }
  .service-card, .team-card, .contact-info-card { box-shadow: none; border: 1px solid #ccc; }
}

/* ── Selection ───────────────────────────────────────────────────────────── */
::selection { background: var(--clr-accent); color: var(--clr-white); }
::-moz-selection { background: var(--clr-accent); color: var(--clr-white); }

/* ── Smooth Scrollbar (WebKit) ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--clr-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: rgba(255,255,255,0.15) var(--clr-dark); scrollbar-width: thin; }
}
