/* ============================================
   PFLEGEDIENST VAHR – STYLESHEET v2
   Inspired by pflegekompass-ambulant.de
   Mobile-First · Barrierefrei · Modern
============================================ */

/* ---- RESET & CUSTOM PROPERTIES ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --dark:        #0f2f3b;   /* Primary dark teal */
  --dark-mid:    #1a4358;
  --cyan:        #3dbdec;   /* Accent cyan */
  --cyan-dark:   #1e9fd4;
  --mint:        #f0f9f3;   /* Light mint background */
  --mint-dark:   #d1f0dc;

  /* Logo Brand Red */
  --red-brand:      rgba(210, 60, 38, 0.88);   /* Coral-Rot leicht transparent */
  --red-brand-solid: #d23c26;
  --red-brand-hover: rgba(185, 48, 28, 0.95);

  /* Neutral */
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;

  /* Semantic */
  --green:       #16a34a;
  --orange:      #ea580c;
  --purple:      #7c3aed;
  --red:         #dc2626;
  --teal:        #0f766e;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.14);
  --shadow-xl:   0 24px 64px rgba(15,47,59,.25);

  /* Layout */
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  .3s ease;

  /* Typography */
  --font:        'Nunito Sans', sans-serif;
  --font-serif:  'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-mint { background: var(--mint); }
.section-dark { background: var(--dark); color: white; }

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 12px 0 18px;
  line-height: 1.2;
  color: var(--dark);
}
.section-header p {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.section-header.light h2 { color: white; }
.section-header.light p  { color: rgba(255,255,255,.75); }

.section-tag {
  display: inline-block;
  background: rgba(61,189,236,.12);
  color: var(--cyan-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.section-tag-cyan {
  display: inline-block;
  background: rgba(61,189,236,.2);
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--red-brand);
  color: white;
  border-color: var(--red-brand-solid);
  backdrop-filter: blur(4px);
}
.btn-primary:hover {
  background: var(--red-brand-hover);
  border-color: var(--red-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(210,60,38,.4);
}
.btn-accent {
  background: var(--red-brand);
  color: white;
  border-color: var(--red-brand-solid);
  font-weight: 800;
  backdrop-filter: blur(4px);
}
.btn-accent:hover {
  background: var(--red-brand-hover);
  border-color: var(--red-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(210,60,38,.4);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: white;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-300, #d1d5db);
}
.btn-ghost-dark:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: white;
}
.btn-cta {
  background: var(--red-brand);
  color: white;
  border-color: var(--red-brand-solid);
  font-weight: 800;
  padding: 10px 20px;
  font-size: .9rem;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.btn-cta:hover {
  background: var(--red-brand-hover);
  border-color: var(--red-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(210,60,38,.35);
}
.btn-xl { padding: 18px 36px; font-size: 1.05rem; border-radius: 14px; }
.btn-lg { padding: 14px 28px; font-size: .98rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   TOP BAR
============================================ */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar span, .topbar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.topbar a:hover { color: var(--cyan); }
.topbar-phone {
  background: var(--cyan) !important;
  color: var(--dark) !important;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  min-height: 36px;
}
.topbar-phone:hover { background: white !important; }

/* ============================================
   HEADER / NAV
============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}
.logo-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: .7rem;
  color: var(--gray-400);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: .9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--dark);
  background: var(--mint);
}
.nav-links .btn-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.hamburger:active { background: var(--mint); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  padding-top: calc(70px + 38px); /* header + topbar */
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,47,59,.82) 0%,
    rgba(15,47,59,.6) 50%,
    rgba(15,47,59,.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-stars { color: #fbbf24; letter-spacing: 2px; }
.hero-title {
  font-family: var(--font);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero-accent { color: var(--red-brand-solid); display: block; }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-desc-long {
  max-width: 700px;
  text-align: left;
}
.hero-desc-long p {
  margin-bottom: 14px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.hero-desc-long p:last-child {
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-stat strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.hero-stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 3;
}
.hero-wave svg { width: 100%; display: block; }

/* ============================================
   USP STRIP
============================================ */
.usp-strip {
  background: var(--mint);
  border-bottom: 1px solid var(--mint-dark);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--mint-dark);
  transition: background var(--transition);
}
.usp-item:last-child { border-right: none; }
.usp-item:hover { background: white; }
.usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.usp-item > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.usp-item strong {
  font-size: .95rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
}
.usp-item span {
  font-size: .82rem;
  color: var(--gray-600);
}

/* ============================================
   SERVICES
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.services-grid .service-card:nth-child(1),
.services-grid .service-card:nth-child(2),
.services-grid .service-card:nth-child(3) {
  grid-column: span 2;
}
.services-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.services-grid .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan);
}
.service-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body p {
  flex: 1;
}
.service-icon-sm {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon-sm.blue   { background: #dbeafe; color: #1d4ed8; }
.service-icon-sm.green  { background: #dcfce7; color: #16a34a; }
.service-icon-sm.orange { background: #ffedd5; color: #ea580c; }
.service-icon-sm.purple { background: #ede9fe; color: #7c3aed; }
.service-icon-sm.teal   { background: #ccfbf1; color: #0f766e; }
.service-icon-sm.red    { background: #fee2e2; color: #dc2626; }
.service-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-body p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   ABOUT / LEITBILD
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-stack {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-xl);
}
.about-img-small {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}
.badge-txt {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}
.about-content h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin: 12px 0 20px;
}
.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.6;
}
.about-content p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 32px;
}
.about-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-800);
}
.feat-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(61,189,236,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
}
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   QUALITY SECTION (DARK)
============================================ */
.quality-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.quality-left h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin: 12px 0 20px;
}
.text-cyan { color: var(--cyan); }
.quality-left p {
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: 32px;
}
.quality-scores {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.qscore {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  min-width: 90px;
}
.qscore-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.qscore-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}
.qscore-label strong { display: block; color: white; font-size: .85rem; margin-top: 2px; }

.quality-img-grid {
  position: relative;
}
.qi-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-xl);
}
.qi-secondary {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--dark);
  box-shadow: var(--shadow-lg);
}
.quality-float-card {
  position: absolute;
  top: 24px;
  left: -28px;
  background: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  max-width: 220px;
  box-shadow: var(--shadow-lg);
}
.qfc-stars { color: #f59e0b; font-size: .95rem; margin-bottom: 8px; }
.quality-float-card p {
  font-size: .85rem;
  color: var(--gray-700, #374151);
  line-height: 1.5;
  margin-bottom: 6px;
}
.quality-float-card span {
  font-size: .78rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ============================================
   TEAM
============================================ */
/* --- Team Trio (3 Personen nebeneinander) --- */
.team-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}
.team-member {
  text-align: center;
  padding: 36px 24px 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(210, 60, 38, .15);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .5s ease;
}
.team-member:hover .team-avatar img {
  transform: scale(1.08);
}
.team-member h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-role {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.team-member p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Team Banner (Pflegeteam) --- */
.team-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.team-banner-imgs {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.team-banner-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team slideshow */
.team-slideshow { position: relative; }
.team-slideshow .team-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-slideshow .team-slide.active { opacity: 1; }

.team-banner-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-banner-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-banner-content p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}
.team-banner-content .btn {
  align-self: flex-start;
}

/* ============================================
   PFLEGEGRAD RECHNER
============================================ */
.calculator-section { padding: 88px 0; }
.calc-box {
  max-width: 780px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.calc-step { display: none; }
.calc-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.calc-progress { margin-bottom: 32px; }
.calc-progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 100px;
  margin-bottom: 8px;
  overflow: hidden;
}
.calc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dark), var(--cyan));
  border-radius: 100px;
  transition: width .5s ease;
}
.calc-progress-label {
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 600;
}
.calc-question {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.45;
}
.calc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.calc-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-800);
}
.calc-option:hover, .calc-option.selected {
  border-color: var(--cyan);
  background: rgba(61,189,236,.08);
  color: var(--dark);
}
.calc-option input { accent-color: var(--cyan); width: 18px; height: 18px; flex-shrink: 0; }
.calc-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}
.calc-result { display: none; text-align: center; padding: 16px 0; }
.calc-result.show { display: block; animation: fadeIn .4s ease; }
.result-grade {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 10px;
}
.result-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.result-desc {
  font-size: .98rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.result-note {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 16px;
}

/* ============================================
   REVIEWS
============================================ */
.rating-bar {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
  border: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.rating-bar-score { text-align: center; min-width: 120px; }
.rb-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  display: block;
}
.rb-stars { font-size: 1.4rem; color: #f59e0b; display: block; margin: 6px 0; }
.rb-count { font-size: .85rem; color: var(--gray-400); font-weight: 600; }
.rating-bar-divider {
  width: 1px;
  height: 80px;
  background: var(--gray-200);
  flex-shrink: 0;
}
.rating-bar-breakdown { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.rb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--gray-600);
}
.rb-row > span:first-child { min-width: 56px; font-weight: 600; }
.rb-row > span:last-child { min-width: 32px; text-align: right; }
.rb-bar {
  flex: 1;
  height: 8px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.rb-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--dark), var(--cyan));
  border-radius: 100px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
}
.review-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-top strong { font-size: 1rem; font-weight: 800; color: var(--dark); display: block; }
.review-stars { font-size: .9rem; color: #f59e0b; }
.review-card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 14px;
}
.review-date { font-size: .78rem; color: var(--gray-400); font-weight: 600; }

/* ============================================
   CONTACT
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-card-dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-card-dark h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
}
.cc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cc-item:last-of-type { border-bottom: none; }
.cc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(61,189,236,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.cc-item > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.cc-item strong {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  font-weight: 700;
}
.cc-item a, .cc-item span {
  font-size: .98rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  line-height: 1.4;
}
.cc-item a:hover { color: var(--cyan); }

.contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-600);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  font-weight: 500;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
  appearance: none;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(61,189,236,.12);
}
.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 12px;
}
.form-success {
  background: white;
  border-radius: var(--radius-xl);
  padding: 52px 40px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--green); margin: 16px 0 10px; }
.form-success p { color: var(--gray-600); }

/* ============================================
   MAP
============================================ */
.map-section { line-height: 0; }
.map-section iframe { width: 100%; display: block; filter: saturate(.85) brightness(.97); }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-bottom: 16px;
}
.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.fr-stars { color: #f59e0b; font-size: 1rem; }
.footer-col h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: white;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cyan); }
.footer-contact li { font-size: .85rem; line-height: 1.5; }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cyan);
  border: 2px solid rgba(255,255,255,.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  background: var(--cyan);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   ANIMATIONS
============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos-delay="100"] { transition-delay: .1s; }
[data-aos-delay="200"] { transition-delay: .2s; }
[data-aos-delay="300"] { transition-delay: .3s; }
[data-aos-delay="400"] { transition-delay: .4s; }
[data-aos-delay="500"] { transition-delay: .5s; }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }
[data-aos="fade-down"]  { transform: translateY(-20px); }
[data-aos="fade-down"].aos-animate  { transform: translateY(0); }

/* ============================================
   RESPONSIVE – MOBILE FIRST
============================================ */

/* ============================================
   STICKY MOBILE CTA BAR
============================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--dark);
  border-top: 2px solid var(--cyan);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.mobile-cta-inner {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-cta-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 12px;
  font-size: .9rem;
  border-radius: 10px;
  min-height: 48px;
  white-space: nowrap;
}
.mobile-cta-bar .btn-call {
  background: var(--red-brand);
  color: white;
  border-color: var(--red-brand-solid);
  font-weight: 800;
}
.mobile-cta-bar .btn-call:active {
  background: var(--red-brand-hover);
}
.mobile-cta-bar .btn-contact {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: rgba(255,255,255,.3);
  font-weight: 700;
}
.mobile-cta-bar .btn-contact:active {
  background: rgba(255,255,255,.2);
}

/* ============================================
   MOBILE OVERLAY (for nav menu)
============================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   RESPONSIVE – MOBILE FIRST
============================================ */

/* Touch-friendly base for mobile */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transform effects on touch devices to prevent sticky hover states */
  .service-card:hover,
  .team-member:hover,
  .review-card:hover {
    transform: none;
  }
  /* Larger touch targets for radio buttons */
  .calc-option {
    min-height: 48px;
    padding: 16px 18px;
  }
}

/* ============================================
   KARRIERE / BEWERBER SECTION
============================================ */
.section-karriere {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
}

.karriere-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.karriere-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #16a34a, var(--red-brand-solid));
}

.karriere-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.karriere-fieldset legend {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mint);
  width: 100%;
}

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

.karriere-form .form-group {
  display: flex;
  flex-direction: column;
}
.karriere-form .form-group.full-width {
  grid-column: 1 / -1;
}

.karriere-form label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.karriere-form input[type="text"],
.karriere-form input[type="email"],
.karriere-form input[type="tel"],
.karriere-form select,
.karriere-form textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-family: 'Nunito Sans', sans-serif;
  transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}
.karriere-form input:focus,
.karriere-form select:focus,
.karriere-form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
  background: white;
}
.karriere-form input.error,
.karriere-form select.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.karriere-form textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group,
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color .2s, background .2s;
}
.checkbox-label:hover,
.radio-label:hover {
  border-color: #22c55e;
  background: #f0fdf4;
}
.checkbox-label input:checked + span,
.radio-label input:checked + span {
  color: #16a34a;
}
.checkbox-label input:checked,
.radio-label input:checked {
  accent-color: #22c55e;
}

.datenschutz-label {
  border: none !important;
  padding: 0 !important;
}
.datenschutz-label span { font-size: .88rem; }
.datenschutz-label a { color: var(--red-brand-solid); text-decoration: underline; }

/* File Upload */
.file-upload {
  position: relative;
}
.file-upload input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-500);
  font-size: .9rem;
  transition: border-color .2s, background .2s, color .2s;
  background: #fafafa;
}
.file-upload:hover .file-upload-label {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #16a34a;
}
.file-upload-label.has-file {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #16a34a;
  border-style: solid;
}

.karriere-hint {
  font-size: .85rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 8px;
}

/* Submit Button */
.karriere-submit {
  text-align: center;
  margin-top: 8px;
}
.btn-karriere {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .3);
}
.btn-karriere:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, .4);
}
.btn-karriere:active {
  transform: translateY(0);
}

/* Success message */
.karriere-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.karriere-success.show {
  display: block;
  animation: fadeInUp .5s ease;
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #22c55e;
  margin-bottom: 20px;
}
.karriere-success h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.karriere-success p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .quality-layout,
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .quality-right,
  .about-img-col { order: -1; }
  .quality-img-grid,
  .about-img-stack { max-width: 600px; margin: 0 auto; }
  .quality-float-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
  .services-grid .service-card:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-item:nth-child(2) { border-right: none; }
  .usp-item:nth-child(3) { border-right: 1px solid var(--mint-dark); }
  .usp-item:nth-child(3), .usp-item:nth-child(4) { border-top: 1px solid var(--mint-dark); }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  /* Topbar – ausblenden auf Mobil, CTA-Leiste übernimmt die Funktion */
  .topbar { display: none; }

  /* Container padding on mobile */
  .container { padding: 0 20px; }

  /* Header auf Mobil – NICHT fixed, sondern sticky damit Browser-Leiste nicht überdeckt */
  .header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .nav-container {
    height: auto;
    min-height: 60px;
    padding: 12px 0;
  }
  .logo {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .logo-name { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-sub { font-size: .65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Hamburger-Menü – genug Platz lassen, nicht abschneiden */
  .hamburger { display: flex; flex-shrink: 0; margin-left: 8px; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 16px;
    text-align: left;
    font-size: 1.05rem;
    border-radius: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links a:active { background: var(--mint); }
  .nav-links .btn-cta {
    margin: 12px 0 0;
    text-align: center;
    justify-content: center;
    min-height: 52px;
    font-size: 1rem;
  }

  /* Hero – kein extra padding nötig bei sticky header */
  .hero {
    min-height: 80vh;
    padding-top: 0;
  }
  .hero-content { padding: 40px 20px; }
  .hero-badge { font-size: .8rem; padding: 6px 14px; }
  .hero-desc { font-size: 1.05rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; max-width: 100%; }

  /* Teams */
  .team-trio { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 32px; }
  .team-banner { grid-template-columns: 1fr; }
  .team-banner-imgs { height: 220px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Rating bar */
  .rating-bar { flex-direction: column; gap: 24px; padding: 24px; }
  .rating-bar-divider { width: 80px; height: 1px; }

  /* About */
  .about-img-small { display: none; }
  .about-img-main { height: 320px; }
  .about-img-badge { left: 12px; top: 12px; }
  .about-features { grid-template-columns: 1fr; }
  .about-actions { flex-direction: column; }
  .about-actions .btn { width: 100%; justify-content: center; min-height: 52px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card-dark { padding: 24px; }
  .contact-form { padding: 28px 20px; }

  /* Form – 16px minimum to prevent iOS auto-zoom */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 14px 16px;
  }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Calc */
  .calc-box { padding: 28px 20px; }
  .calc-option { font-size: .9rem; padding: 14px 16px; min-height: 48px; }

  /* Map */
  .map-section iframe { height: 280px; }

  /* Buttons – allow wrapping and full-width on mobile */
  .btn { white-space: normal; text-align: center; }
  .btn-xl { padding: 16px 24px; font-size: 1rem; }
  .btn-lg { padding: 14px 20px; }

  /* Mobile CTA Bar */
  .mobile-cta-bar { display: block !important; }

  /* Add bottom padding for sticky CTA bar */
  body { padding-bottom: 72px; }
  .footer { margin-bottom: 0; }

  /* Back to top above CTA bar */
  .back-to-top { bottom: 84px; }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { min-height: 75vh; padding-top: 0; }
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: .92rem; }
  .hero-badge { font-size: .72rem; }
  .hero-content { padding: 24px 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }

  /* Topbar – show only phone button on very small screens */
  .topbar-right a:not(.topbar-phone) { display: none; }
  .topbar-phone { font-size: .85rem; padding: 8px 16px; }
  .topbar-right { justify-content: center; }

  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none !important; border-top: 1px solid var(--mint-dark); }
  .usp-item:first-child { border-top: none; }

  .section { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: .95rem; }

  .about-content h2 { font-size: 1.5rem; }
  .about-img-main { height: 260px; }
  .about-lead { font-size: 1rem; }

  .quality-left h2 { font-size: 1.5rem; }
  .quality-scores { flex-direction: column; }
  .qscore { padding: 16px 20px; }

  .team-trio { max-width: 100%; }
  .team-avatar { width: 120px; height: 120px; }

  .rating-bar { padding: 20px 16px; }
  .rb-num { font-size: 3rem; }

  .contact-card-dark { padding: 20px; }
  .contact-form { padding: 24px 16px; }
  .contact-form h3 { font-size: 1.1rem; }

  .calc-box { padding: 20px 14px; border-radius: var(--radius-lg); }
  .calc-question { font-size: 1rem; }
  .calc-nav { flex-direction: column-reverse; }
  .calc-nav .btn { width: 100%; justify-content: center; }
  .result-grade { font-size: 3.5rem; }

  /* Karriere form mobile */
  .karriere-box { padding: 24px 16px; }
  .karriere-form .form-row { grid-template-columns: 1fr; gap: 12px; }
  .karriere-fieldset legend { font-size: 1rem; }
  .checkbox-group, .radio-group { gap: 10px; }
  .checkbox-label, .radio-label { padding: 10px 12px; font-size: .9rem; }
  .btn-karriere { width: 100%; justify-content: center; padding: 16px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col h4 { margin-bottom: 12px; }

  .back-to-top { right: 12px; width: 44px; height: 44px; }

  .map-section iframe { height: 220px; }

  /* Mobile CTA - tighter on small screens */
  .mobile-cta-bar { padding: 8px 12px; }
  .mobile-cta-bar .btn { font-size: .85rem; padding: 12px 10px; }
}

/* Large screens */
@media (min-width: 1440px) {
  .container { max-width: 1360px; }
}
