/* ============================================
   Bewegungszentrum Rorschach – Stylesheet
   Farbschema: Türkis/Coral Modern
   ============================================ */

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

:root {
  --primary: #4ECDC4;
  --primary-dark: #3AB5AD;
  --primary-light: #A8E6E2;
  --coral: #FF6B6B;
  --coral-dark: #E85555;
  --coral-light: #FFB3B3;
  --text: #2D3436;
  --text-light: #636E72;
  --bg: #FFFFFF;
  --bg-soft: #F8FFFE;
  --bg-alt: #F0FFFE;
  --border: #E0E0E0;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --nav-height: 110px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--coral); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 20px; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,107,0.3);
}
.btn-primary:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,107,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--text); }

.nav-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4ECDC4 0%, #a78bfa 40%, #e87461 70%, #f0a0c0 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 300;
  font-size: 1.75rem;
  font-family: var(--font-display);
  text-shadow: 0 0 8px rgba(255,255,255,0.4);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 6px 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 50px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: rgba(78,205,196,0.22);
}

.nav-cta {
  background: none !important;
  color: var(--text-light) !important;
  font-weight: 500 !important;
}
.nav-cta:hover {
  color: var(--primary-dark) !important;
  background: var(--bg-alt) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  transform-origin: center;
}
/* Hamburger → X Animation */
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 50%, #E8FFF9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,107,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(78,205,196,0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-badge:hover {
  background: rgba(78,205,196,0.22);
}

.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--coral); }

.hero-text {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image-wrapper .placeholder-icon {
  font-size: 6rem;
  opacity: 0.4;
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-display);
  color: var(--primary-dark);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Sections --- */
section { padding: 100px 0; }
section:nth-child(even) { background: var(--bg-soft); }

/* --- Angebote Grid --- */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.angebote-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.angebot-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.angebot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.angebot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.angebot-card:nth-child(1)::before { background: var(--primary); }
.angebot-card:nth-child(2)::before { background: var(--coral); }
.angebot-card:nth-child(3)::before { background: #FFD93D; }
.angebot-card:nth-child(4)::before { background: #6C5CE7; }
.angebot-card:nth-child(5)::before { background: var(--primary-dark); }
.angebot-card:nth-child(6)::before { background: #E17055; }
.angebot-card:nth-child(7)::before { background: #FF85A1; }
.angebot-card:nth-child(8)::before { background: #A29BFE; }

.angebot-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.angebot-card:nth-child(1) .angebot-icon { background: rgba(78,205,196,0.12); }
.angebot-card:nth-child(2) .angebot-icon { background: rgba(255,107,107,0.12); }
.angebot-card:nth-child(3) .angebot-icon { background: rgba(255,217,61,0.15); }
.angebot-card:nth-child(4) .angebot-icon { background: rgba(108,92,231,0.12); }
.angebot-card:nth-child(5) .angebot-icon { background: rgba(58,181,173,0.12); }
.angebot-card:nth-child(6) .angebot-icon { background: rgba(225,112,85,0.12); }
.angebot-card:nth-child(7) .angebot-icon { background: rgba(255,133,161,0.12); }
.angebot-card:nth-child(8) .angebot-icon { background: rgba(162,155,254,0.12); }

.angebot-card h3 { margin-bottom: 12px; }

.angebot-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.angebot-card .card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.angebot-card .card-link:hover { gap: 10px; }

/* --- Ueber uns / Team --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.about-image {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-alt), var(--primary-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 1;
  box-shadow: var(--shadow);
}

.about-text p { color: var(--text-light); margin-bottom: 16px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.about-feature .check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(78,205,196,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

/* --- Team --- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: calc(33.333% - 22px);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.team-card:nth-child(1) .team-avatar { background: rgba(78,205,196,0.15); }
.team-card:nth-child(2) .team-avatar { background: rgba(255,107,107,0.15); }
.team-card:nth-child(3) .team-avatar { background: rgba(108,92,231,0.15); }
.team-card:nth-child(4) .team-avatar { background: rgba(255,133,161,0.15); }

.team-card h4 { margin-bottom: 4px; }
.team-role { color: var(--coral); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.team-card p { color: var(--text-light); font-size: 0.9rem; }

/* --- Stundenplan / Preise --- */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}

.schedule-table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.schedule-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.schedule-table tbody tr:last-child td { border-bottom: none; }
.mobile-day { display: none; }

.schedule-table tbody tr:hover { background: var(--bg-alt); }

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
}

.pricing-card.featured::after {
  content: 'Beliebt';
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 { margin-bottom: 8px; }
.pricing-desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: var(--font);
}

.pricing-period { font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; }

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-dark);
  font-weight: 700;
}

/* --- Kontakt CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(78,205,196,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-card h4 { margin-bottom: 4px; font-family: var(--font); font-size: 1rem; }
.contact-info-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78,205,196,0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 48px;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Page Header (Unterseiten) --- */
.page-header {
  padding: calc(var(--nav-height) + 30px) 0 30px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
}
.page-header h1 { font-size: clamp(1.85rem, 4vw, 2.85rem); }

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-light), transparent);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--primary-dark); }

/* --- Detail Content --- */
.detail-content {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-family: var(--font);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-alt);
}

.sidebar-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item .day { font-weight: 600; }
.sidebar-item .time { color: var(--text-light); }

/* --- Footer --- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item .icon { color: var(--primary-light); min-width: 20px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Menu --- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; }

/* Adress-Badge im About-Bereich */
.about-badge-mobile { display: inline-flex; margin-top: 12px; margin-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero .container { display: flex; flex-direction: column; text-align: center; gap: 0; }
  .hero-content .hero-badge { display: none; }
  .hero-visual { order: -1; display: block; width: 100%; margin-top: 12px; margin-bottom: 28px; }
  .hero-visual .hero-image-wrapper { width: 100% !important; height: 260px !important; border-radius: 16px !important; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important; }
  .hero-visual .hero-image-wrapper img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .hero-content { max-width: 100%; display: flex; flex-direction: column; order: 1; }
  .hero-content h1 { order: 1; }
  .hero-content .hero-text { order: 2; }
  .hero-content .hero-buttons { order: 3; justify-content: center; }
  .hero-content .hero-stats { order: 4; justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .navbar { height: 70px; }
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px;
  }
  .nav-logo { font-size: 1rem; gap: 8px; }
  .nav-logo-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  .page-header { padding: calc(70px + 16px) 0 16px; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    transform: translateY(-110%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    gap: 2px;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a {
    width: auto;
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-dark);
    border-radius: 50px;
    text-align: left;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(78,205,196,0.28);
    color: var(--primary-dark);
  }
  .nav-cta {
    background: none !important;
    color: var(--primary-dark) !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
  }
  .nav-cta:hover {
    background: rgba(78,205,196,0.13) !important;
    color: var(--primary-dark) !important;
  }

  .nav-hamburger { display: flex; z-index: 1001; }

  .angebote-grid { grid-template-columns: 1fr; }
  .angebote-grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { flex-direction: column; align-items: center; }
  .team-card { width: 100% !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .about-features { grid-template-columns: 1fr; }

  /* Inline 2-Spalten Grids auf 1 Spalte */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Mobile: Allgemeine Anpassungen */
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.35rem !important; }
  h3 { font-size: 1.1rem !important; }

  .container { padding: 0 16px; }

  .page-header { padding: calc(var(--nav-height) + 16px) 0 16px; }
  .page-header h1 { font-size: 1.38rem !important; word-wrap: break-word; }
  .breadcrumb { font-size: 0.8rem; }

  .detail-content { padding: 40px 0; }

  .sidebar-card { padding: 20px; }
  .sidebar-item { font-size: 0.85rem; flex-wrap: wrap; gap: 4px; }

  .pricing-card { padding: 24px; }
  .pricing-price { font-size: 1.8rem; }

  .footer { padding: 40px 0 20px; }
  .footer-brand h3 { font-size: 1.2rem !important; }

  .hero { padding-top: 70px; min-height: auto; padding-bottom: 40px; }
  .hero-badge { font-size: 0.82rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }

  .cta-section h2 { font-size: 1.3rem !important; }

  /* Hero Logo auf Mobile kleiner positionieren */
  [style*="bottom:40px;left:60px"] {
    left: 16px !important;
    bottom: 20px !important;
    width: 200px !important;
    max-width: 50% !important;
  }

  /* Mobile Stundenplan: Karten-Layout */
  .mobile-day { display: inline !important; font-weight: 700; }
  .schedule-table { margin-top: 16px; }
  .schedule-table thead { display: none; }
  .schedule-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .schedule-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    gap: 4px 12px;
    align-items: baseline;
  }
  .schedule-table td {
    border-bottom: none;
    padding: 0;
    font-size: 0.9rem;
  }
  .schedule-table td:nth-child(1) {
    width: 100%;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    margin-bottom: 4px;
  }
  .schedule-table td:nth-child(1):empty { display: none; }
  .schedule-table td:nth-child(2) {
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
  }
  .schedule-table td:nth-child(3) {
    color: var(--coral);
    font-weight: 600;
  }
  .schedule-table td:nth-child(4) {
    color: var(--text-light);
    font-size: 0.85rem;
  }
}

/* Page-header subtitle: kein Zeilenumbruch erzwingen */
.page-header .section-subtitle {
  max-width: none;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Accessibility – Focus Indicators & Skip Link
   ============================================================ */

/* Skip-Link: unsichtbar bis Tab gedrückt */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Sichtbarer Focus-Ring für alle interaktiven Elemente */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
