:root {
  --bg: #f7f5f1;
  --bg-alt: #ffffff;
  --text: #141414;
  --text-muted: #5f5f5f;
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #56c15b;
  --blue: #4d65ff;
  --blue-dark: #394de0;
  --yellow: #fcffa8;
  --lilac: #f7f1ff;
  --pink: #ffe3f0;
  --green: #daf7d8;
  --border: #e5e5e5;
  --shadow: 0 30px 80px rgba(15, 15, 58, 0.09);
  --nav-height: 72px;
  font-family: "Inter", "Host Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Scroll-Progress-Indikator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.3);
}

body.scroll-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark .brand-green {
  /* Use the lighter brand green for "MPU" across the site */
  color: var(--primary-light);
}

.hero .brand-mark .brand-green {
  /* Hero headline: keep MPU white */
  color: #fff;
}

.brand-mark .brand-black {
  color: var(--text);
}

.contact-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

.contact-link:hover {
  color: var(--primary);
}

.link-blue {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.link-blue:hover {
  color: var(--blue-dark);
}

.impressum-page .info-card {
  gap: 0.4rem;
}

.impressum-page .info-card h3 {
  margin: 0.9rem 0 0.15rem;
}

.impressum-page .info-card h3:first-child {
  margin-top: 0;
}

.impressum-page .info-card p {
  margin: 0;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-wrapper {
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 8px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 245, 237, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.navbar.nav-hidden {
  transform: translateY(-110%);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0.55rem 0;
  position: relative;
}

.nav-container > a.logo {
  grid-column: 1;
  justify-self: start;
}

.logo img {
  height: 78px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  justify-content: center;
  width: max-content;
}

.nav-links .nav-contact {
  display: none;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  grid-column: 3;
  justify-self: end;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Ripple-Effekt für Buttons */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-email {
  background: #25d366;
  color: #fff;
  border: none;
}

.btn-email:hover {
  background: #1fbf5a;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
}

.btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
}

.btn-whatsapp {
  background: #2aa35e;
  color: #fff;
  border: none;
  padding-left: 1.9rem;
  padding-right: 1.75rem;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #238e52;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn .icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-secondary {
  background: #141414;
  color: #fff;
}

.btn-tertiary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Entfernt - verwenden jetzt about-kicker Klasse */

/* Beide Textabschnitte bei Unsere Zusatzleistungen grau */
.services .section-header .text-lg,
.services .section-header #services-title {
  color: var(--text-muted);
  font-weight: normal; /* Nicht fett, wie Text darunter */
}
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.text-lg {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  min-height: 68vh;
  overflow: hidden;
  background-image:
    linear-gradient(120deg, rgba(10, 10, 14, 0.78) 0%, rgba(10, 10, 14, 0.35) 70%),
    url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1600&q=80&ixlib=rb-4.0.3");
  background-size: cover;
  background-position: 50% 45%;
  background-repeat: no-repeat;
  color: #fff;
}

/* Mobile: rounded corners with white border for hero image */
@media (max-width: 600px) {
  .page-wrapper {
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero {
    border-radius: 24px;
    border: 3px solid #fff;
    margin: 0 1rem;
    padding-top: clamp(6rem, 12vw, 9rem); /* Mehr weißer Raum oben */
  }

  .hero .hero-highlight {
    font-size: clamp(0.75rem, 4vw, 1.1rem); /* Flexibel, passt sich genau an verfügbaren Platz an - kann auch kleiner als ONLINE sein */
    font-weight: 900;
    white-space: nowrap;
    margin-left: -0.5rem; /* Näher am linken Rand */
    margin-right: -0.3rem;
    max-width: calc(100% + 0.8rem); /* Verhindert Überlauf */
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.3rem; /* Etwas Padding für bessere Lesbarkeit */
    box-sizing: border-box; /* Padding wird in max-width einberechnet */
  }

  .hero .hero-highlight + .hero-subcopy {
    margin-top: 0.35rem;
  }
}

.hero .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(1rem, 5vw, 4rem);
  padding-right: clamp(1rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

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

.hero-content {
  max-width: min(720px, 100%);
  padding: 0;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin: 0 0 0.85rem;
}

.hero-content .lead {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-locations {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 0.75rem;
}

.hero .hero-locations {
  color: rgba(255, 255, 255, 0.96);
}

.hero-locations span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-content .text-lg {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.hero .hero-subcopy {
  color: rgba(255, 255, 255, 0.96);
}

.hero-highlight {
  line-height: 1.4;
  font-weight: 900;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Desktop: more breathing room in hero + keep headline in one line */
@media (min-width: 901px) {
  .hero-content {
    max-width: 980px;
  }

  .hero-content h1 {
    white-space: nowrap;
  }

  .hero-locations {
    margin-bottom: 1.1rem;
    gap: 1.5rem;
  }

  .hero .hero-subcopy {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }

  /* More space BEFORE the first subcopy line ("ONLINE ...") */
  .hero .hero-locations + .hero-subcopy {
    margin-top: 1.6rem;
  }

  .hero-cta {
    gap: 1.85rem;
  }

  .button-group {
    gap: 1.25rem;
  }
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Warum MPU-Vorbereitung & Highlights */
.why-prepare {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.03) 0%, rgba(46, 125, 50, 0.08) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.why-prepare::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.2), transparent);
}

.why-prepare .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-prepare-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2rem;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.why-prepare-title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.why-prepare-text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.9;
  color: var(--text);
  margin: 0;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.highlights {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, #fff 0%, #f7f5f1 100%);
  position: relative;
  overflow: hidden;
}

.highlights::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.highlights-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Reviews Section */
.reviews {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.reviews-grid {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
  width: fit-content;
  animation: scroll-reviews-desktop 40s linear infinite;
  will-change: transform;
}

.reviews-grid:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews-desktop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.review-card-duplicate {
  display: block;
}

.reviews .container {
  overflow: hidden;
}

.review-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(15, 15, 58, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: #ffc107;
  fill: #ffc107;
}

.review-text {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.review-author {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.highlights-cta {
  text-align: center;
  margin-top: 2rem;
}

.highlight-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(15, 15, 58, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  position: relative;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(15, 15, 58, 0.12);
}

.highlight-card.highlight-featured {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.highlight-card.highlight-featured::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.highlight-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(46, 125, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.highlight-featured .highlight-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.highlight-featured .highlight-icon svg {
  stroke: #fff;
}

.highlight-content h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.highlight-featured .highlight-content h3 {
  color: #fff;
}

.highlight-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.highlight-featured .highlight-content p {
  color: rgba(255, 255, 255, 0.95);
}

.highlights-summary {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.highlights-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.highlights-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Highlights Services List */

.services-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.25rem;
  text-align: center;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  stroke: var(--primary);
  stroke-width: 2;
}

.services-list li span {
  flex: 1;
}

/* Mobile adjustments for highlights */
@media (max-width: 900px) {
  .highlights {
    background: #f7f5f1;
  }

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

@media (max-width: 600px) {
  .highlights {
    padding: 2.5rem 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .highlight-card {
    padding: 1.75rem 1.5rem;
  }

  .highlight-icon {
    width: 56px;
    height: 56px;
  }

  .highlight-icon svg {
    width: 28px;
    height: 28px;
  }

  .highlights-text {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .highlights-services {
    margin-top: 2rem;
    padding: 0 0.5rem;
  }

  .services-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .services-list {
    gap: 0.6rem;
  }

  .services-list li {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }

  .check-icon {
    width: 16px;
    height: 16px;
    margin-top: 0.15rem;
  }
}

/* Home page: center step bubble content on all viewports (desktop + mobile) */
.home-page .steps .panel-content {
  text-align: center;
}

.hero-stats {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.88);
  flex-wrap: wrap;
}

.avatars {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  box-shadow: var(--shadow);
  gap: 0.25rem;
  flex-wrap: wrap;
}

.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -12px;
}

.avatars img:first-child {
  margin-left: 0;
}

.avatars span {
  font-weight: 600;
  margin-left: 0.25rem;
  color: #fff;
}

/* Steps */
.steps {
  background: var(--bg-alt);
  padding: 3rem 0;
  padding-bottom: 3rem; /* Mehr Platz auf Desktop */
}


/* Desktop: give steps more room so nothing can overlap */
@media (min-width: 901px) {
  .steps {
    padding-bottom: 6rem; /* Mehr Platz auf Desktop, verhindert Überlappung */
  }

  .consulting {
    padding-top: 3.5rem; /* Mehr Platz auf Desktop, verhindert Überlappung */
  }
}

.steps .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(1rem, 5vw, 4rem);
  padding-right: clamp(1rem, 5vw, 4rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 1.75rem;
}

.step-wrap {
  --card-shift: 0px;
  --hover-shift: 0px;
  --hover-scale: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-wrap:hover {
  --hover-shift: -6px;
  --hover-scale: 1.01;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(calc(var(--card-shift) + var(--hover-shift))) scale(var(--hover-scale));
  will-change: transform, opacity;
}

/* Auf Mobile: Step Cards und Badges initial unsichtbar für Slide-in Animation */
@media (max-width: 600px) {
  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .steps {
    padding-top: 0.75rem;
    padding-bottom: 6rem;
  }

  .steps .container {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow: visible;
    width: 100%;
  }

  /* CSS-Variablen auf Mobile komplett ignorieren */
  .step-wrap {
    --card-shift: 0px !important;
    --hover-shift: 0px !important;
    --hover-scale: 1 !important;
  }
  
  .step-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    border-radius: 20px;
    min-height: auto;
  }
  
  .step-badge {
    opacity: 1 !important;
    transform: none !important;
  }
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.step-wrap:hover .step-card {
  box-shadow: 0 30px 70px rgba(15, 15, 58, 0.18);
}

.step-wrap:hover .step-card::before {
  opacity: 1;
  transform: translateY(0);
}

.step-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.step-badge {
  width: 100%;
  text-align: center;
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 40px rgba(15, 15, 58, 0.12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: translateY(calc(var(--card-shift) + var(--hover-shift))) scale(var(--hover-scale));
}

.panel-media {
  position: relative;
  z-index: 1;
}

.panel-media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: floatCard 12s ease-in-out infinite;
}

.panel-content {
  position: relative;
  z-index: 1;
}

.step-card .panel-content h2 {
  text-align: center;
}

.step-card:nth-child(2) .panel-media img {
  animation-delay: -3s;
}

.step-card:nth-child(3) .panel-media img {
  animation-delay: -6s;
}

.step-card:nth-child(4) .panel-media img {
  animation-delay: -9s;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.bg-soft-yellow { background: var(--yellow); }
.bg-lilac { background: var(--lilac); }
.bg-pink { background: var(--pink); }
.bg-green { background: var(--green); }

/* Consulting */
.consulting {
  padding: 2rem 0 5rem; /* Mehr Platz auf Desktop */
  background: #fff;
}

.about-grid {
  margin-top: 1.75rem;
}

.about-copy {
  max-width: 980px;
}

.about-bubble {
  --hover-shift: 0px;
  --hover-scale: 1;
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: translateY(var(--hover-shift)) scale(var(--hover-scale));
}

/* Fade-in-up Animationen */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in Animation für Step Cards und Badges - NUR AUF MOBILE - VON LINKS */
@media (max-width: 600px) {
  .step-card.slide-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .step-badge.slide-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hero-Animation */
.hero {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Verbesserte Card-Hover-Effekte (Desktop) */
@media (min-width: 901px) {
  .step-card,
  .about-bubble,
  .service-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  }
  
  .step-card:hover,
  .about-bubble:hover,
  .service-card:hover {
    box-shadow: 0 40px 100px rgba(15, 15, 58, 0.15);
  }
}

.about-bubble::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(46, 125, 50, 0.12), transparent 60%);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.about-bubble:hover {
  --hover-shift: -6px;
  --hover-scale: 1.01;
  box-shadow: 0 30px 70px rgba(15, 15, 58, 0.18);
}

.about-bubble:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: remove green shadow effect on about-bubble */
@media (max-width: 900px) {
  .about-bubble:hover::before {
    opacity: 0;
    transform: translateY(20%);
  }
}

.about-bubble > * {
  position: relative;
  z-index: 1;
}

/* Einheitlicher Style für alle Abschnitts-Überschriften: Über Uns, Kontakt, Unsere Zusatzleistungen */
.about-kicker {
  margin: 0 0 0.5rem;
  letter-spacing: normal;
  text-transform: none;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* About-kicker: brand-mark mit normaler Schriftart wie Fließtext */
.about-kicker .brand-mark {
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
}

.about-bubble h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.about-grid p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-grid p:last-child {
  margin-bottom: 0;
}

.about-grid strong {
  color: var(--text);
}

.about-stats {
  padding: 2.5rem 0 4rem;
  background: var(--bg);
}

.contact-form-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.contact-form {
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
}

/* Kontaktformular-Seite: Formular immer anzeigen */
.kontaktformular-page .contact-form-section {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.form-grid label span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font: inherit;
  background: #fff;
}

.form-grid select:invalid {
  color: rgba(0, 0, 0, 0.4);
}

.form-grid select option {
  color: var(--text);
}

.form-grid input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-grid textarea {
  resize: vertical;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.form-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-title {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Mobile: Button und Text mittig */
@media (max-width: 600px) {
  .form-actions {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .form-hint {
    text-align: center;
    font-size: 0.9rem;
  }

  .contact-form-title {
    font-size: 1.5rem;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span-2 {
    grid-column: auto;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-value {
  font-size: 2.5rem;
  margin: 0;
}

/* Expertise */
.expertise {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.expertise-image img {
  border-radius: 40px;
  box-shadow: var(--shadow);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-card {
  min-width: min(320px, 80vw);
  background: #fff;
  padding: 2rem;
  border-radius: 32px;
  box-shadow: var(--shadow);
  margin-right: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.slider-nav {
  border: none;
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

/* Services */
.services {
  padding: 5rem 0;
}

@media (max-width: 600px) {
  .services {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: #fff;
  }

  .services .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--bg);
    border-radius: 28px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 30px 80px rgba(15, 15, 58, 0.09);
    overflow: hidden;
  }

  .services .section-header {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .services-cta {
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .consulting {
    padding-top: 0.5rem;
  }

  .consulting .section-header {
    margin-top: 0;
    margin-bottom: 0.5rem; /* Weniger Abstand zur Bubble */
  }

  .consulting .about-grid {
    margin-top: 0; /* Kein Abstand von der Überschrift */
  }

}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.services-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.service-card {
  padding: 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  content: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 15, 58, 0.18);
}

.service-card:hover::before {
  opacity: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card p {
  font-style: italic;
}

.service-card h4 {
  text-align: center;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: var(--bg-alt);
}

@media (max-width: 600px) {
  .contact {
    padding-top: 3.5rem;
  }

  .highlights-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
  }

  .highlight-card {
    background: #fff;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    margin: 0;
    flex-direction: row;
  }

  .highlight-card:first-child {
    border-radius: 24px 24px 0 0;
  }

  .highlight-card:nth-child(2) {
    flex-direction: row-reverse;
    text-align: right;
    align-items: flex-start;
  }

  .highlight-card:last-child {
    border-radius: 0 0 24px 24px;
    border-bottom: none;
    box-shadow: 0 8px 30px rgba(15, 15, 58, 0.08);
  }

  .highlight-card .highlight-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .highlight-card .highlight-content {
    flex: 1;
  }

  .highlight-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin: 0 0 0.5rem;
    font-weight: 600;
  }

  .highlight-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin: 0;
    line-height: 1.5;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-image img {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

/* Service pages */
.service-hero {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, #fff 0%, #f3f4ff 45%, #fef6ff 100%);
}

.service-hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .breadcrumb {
    justify-content: center;
    width: 100%;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 1rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.service-hero ul {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.service-hero li {
  margin-bottom: 0.4rem;
}

.service-hero img {
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.service-content {
  padding: 4rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 2rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.checklist li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Datenschutz: use dashes instead of checkmarks */
.datenschutz-page .checklist li::before {
  content: "–";
  color: var(--text);
}

.service-steps {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.steps-list {
  display: grid;
  gap: 1.5rem;
}

.step-item {
  padding: 2rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--primary);
}

.service-faq {
  padding: 4rem 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-cta {
  padding: 4rem 0 5rem;
}

.cta-card {
  padding: 3rem;
  border-radius: 32px;
  background: #141414;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.cta-card .btn-primary {
  background: #fff;
  color: #141414;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo {
  width: 140px;
  margin-bottom: 1.5rem;
}

.footer h5 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(20, 20, 20, 0.6);
}

.footer a {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-legal a {
  position: relative;
  padding-bottom: 0.2rem;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.footer-legal a:hover::after {
  transform: scaleX(1);
}

/* Utility */
.sr-only {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    inset: 72px 1rem auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    flex-direction: column;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    left: auto;
    width: auto;
  }

  .nav-links .nav-contact {
    display: block;
  }

  .nav-actions > .btn.btn-primary.btn-sm {
    display: none;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Mobile stability: don't use transform-based reveal (prevents overlap) */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.button-group-vertical {
  flex-direction: column;
  align-items: stretch;
  width: min(420px, 100%);
}

.button-group-vertical .btn {
  width: 100%;
}

.contact-cta-list {
  gap: 1.25rem;
}

.contact-cta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-cta-item::before {
  content: "→";
  font-weight: 900;
  opacity: 0.95;
  color: var(--text);
  font-size: 1.15rem;
}

.contact-cta-item .btn {
  justify-content: flex-start;
  gap: 0.75rem;
  box-shadow: 0 18px 45px rgba(15, 15, 58, 0.14);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-cta-item .btn:hover {
  transform: translateY(-3px) translateX(2px);
  box-shadow: 0 26px 65px rgba(15, 15, 58, 0.18);
}

.contact-cta-item .btn:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.35);
  outline-offset: 3px;
}

.kontakt-page .service-hero h1 {
  line-height: 1.05;
}

.scroll-hint {
  display: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.scroll-hint:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  /* Mobile: Formular auf kontakt.html ausblenden */
  .kontakt-page .contact-form-section {
    display: none;
  }

  /* Kontaktformular-Seite: Formular anzeigen */
  .kontaktformular-page .contact-form-section {
    display: block !important;
    padding-top: 0.5rem;
  }

  .kontakt-page .service-hero .tag {
    display: none;
  }

  .kontakt-page .service-hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .kontakt-page .service-hero {
    padding: clamp(2.5rem, 7vw, 3.5rem) 0;
  }

  .contact-form-section .section-header {
    margin-bottom: 1rem;
  }

  .contact-form-section .contact-form-title {
    font-size: 1.4rem;
    line-height: 1.25;
    text-align: center;
  }

  .scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1.25rem 0 0;
    padding: 0.85rem 1.5rem;
    width: 100%;
    text-align: left;
    color: #fff;
    font-weight: 600;
    letter-spacing: normal;
    text-decoration: none;
    background: #7dd87f;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .scroll-hint:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
  }

  /* Mobile: Formular auf kontakt.html ausblenden */
  .kontakt-page .contact-form-section {
    display: none;
  }

  @keyframes hintBounce {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50% { transform: translateY(6px); opacity: 1; }
  }

  /* Mobile: adjust hero text size for better line breaks - entfernt, wird jetzt von der Regel oben gesteuert */

  .hero .hero-highlight br {
    display: block;
  }
}

/* Touch devices: avoid sticky hover while keeping desktop animations */
@media (hover: none) {
  .step-wrap:hover {
    --hover-shift: 0px;
    --hover-scale: 1;
  }

  .step-wrap:hover .step-card::before {
    opacity: 0;
    transform: translateY(20%);
  }

  .step-wrap:hover .step-card {
    box-shadow: var(--shadow);
  }
}

@media (max-width: 600px) {
  .contact-cta-item::before {
    content: none;
  }
}

.kontakt-page .contact-hero-image {
  display: block;
}

@media (max-width: 900px) {
  .kontakt-page .contact-hero-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-locations {
    gap: 0.5rem;
  }

  .hero-locations span {
    font-size: 0.9rem;
    padding: 0.28rem 0.55rem;
  }

  /* Mobile: smaller button text and prevent line break */
  .hero .btn-primary {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Mobile: center specific headings */
  .consulting .about-bubble h3 {
    text-align: center;
  }

  .services .section-header .eyebrow,
  .contact .eyebrow {
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    color: rgba(20, 20, 20, 0.7) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin: 0 0 0.5rem !important;
  }

  .contact h2 {
    text-align: center;
    font-size: clamp(2.1rem, 5.5vw, 2.5rem);
  }

  /* Home page: center all bubble content + contact block on mobile */
  .home-page .services .service-card {
    text-align: center;
  }

  .home-page .consulting .about-bubble p:not(.about-kicker) {
    text-align: center;
  }

  /* Sicherstellen, dass about-kicker auf Mobile überall gleich aussieht */
  /* Einheitlicher Style für alle Abschnitts-Überschriften auf Mobile */
  .about-kicker {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page .contact .contact-grid > div:first-child {
    text-align: center;
  }

  .home-page .contact .button-group {
    justify-content: center;
    margin-top: 0.25rem;
    gap: 0.55rem;
  }

  /* Abstand Steps -> Über uns noch kleiner */
  .steps {
    padding-bottom: 0;
  }

  .consulting {
    padding-top: 0;
    margin-top: -2rem; /* Noch mehr negativer Margin für minimalen Abstand */
  }

  /* Einheitlicher Style für alle Abschnitts-Überschriften auf Mobile */
  .about-kicker {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .kontakt-page .service-hero h1 {
    text-align: center;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .button-group .btn {
    width: 100%;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .steps {
    padding-top: 0.75rem;
    padding-bottom: 6rem;
  }

  /* Mobile: keep step pairs but make spacing symmetric and stable */
  .step-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem; /* same as .steps-grid gap => equal bubble-to-bubble spacing */
    margin: 0;
    padding: 0;
  }

  /* Ensure no "drift" from desktop transforms/parallax on mobile */
  .step-badge {
    transform: none;
  }
  
  /* Bubbles: CSS-Variablen-basierte Transforms deaktivieren, damit JavaScript sie steuern kann */
  .about-bubble,
  .step-card,
  .services .container,
  .contact-form {
    transform: translateY(0) !important;
    --hover-shift: 0px !important;
    --hover-scale: 1 !important;
    --card-shift: 0px !important;
  }
  
  /* JavaScript wird die Transforms per inline-style setzen */

  .consulting {
    padding-top: 1rem;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    min-width: auto;
    scroll-snap-align: unset;
  }

  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .stat-card {
    min-width: 90%;
    scroll-snap-align: start;
  }
  .slider {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
  }

  .testimonial-card {
    min-width: 80%;
    scroll-snap-align: start;
    margin-right: 0;
  }

  .slider-nav {
    display: none;
  }
}

