/* ==========================================================================
   1. GLOBAL & APPLE SYSTEM VARIABLES
   ========================================================================== */
:root {
  --apple-bg: #000000;
  --apple-card-bg: rgba(22, 22, 23, 0.8);
  --apple-text-main: #f5f5f7;
  --apple-text-sub: #86868b;
  --apple-blue: #2997ff;
  --apple-blue-hover: #0077ed;
  --accent-green: #34c759;
  --bg: #eaeaea;
  
  /* Glass Effect Variables */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  
  --font-apple: 'Poppins', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--apple-bg);
  color: var(--apple-text-main);
  font-family: var(--font-apple);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
/* Verhindert, dass die Navbar die Überschriften der Sektion verdeckt */
section[id] {
  scroll-margin-top: 6rem; /* Passt den Haltepunkt perfekt an */
}

/* ==========================================================================
   2. APPLE FLOATING GLASS NAVBAR
   ========================================================================== */
.apple-navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%; /* Exakt in die Mitte schieben */
  width: 90%;
  max-width: 1400px;
  z-index: 9999;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  pointer-events: none;

  /* WICHTIG: translateX(-50%) HIER setzen */
  opacity: 0;
  transform: translateX(-50%) translateY(-30px);
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

/* 2. Keyframe-Animation (BEHÄLT translateX(-50%) BEI) */
@keyframes navSlideDown {
  to {
    opacity: 1;
    /* Ohne translateX(-50%) springt die Navbar nach rechts */
    transform: translateX(-50%) translateY(0);
  }
}

/* 2. Hero-Texte & Buttons tauchen nacheinander von unten auf */
.apple-eyebrow,
.apple-title,
.apple-subtitle,
.apple-cta-group {
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Nacheinander-Verzögerung (Staggering) */
.apple-eyebrow   { animation-delay: 0.3s; }
.apple-title     { animation-delay: 0.45s; }
.apple-subtitle  { animation-delay: 0.6s; }
.apple-cta-group { animation-delay: 0.75s; }

@keyframes heroTextUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Code-Box fährt von unten hoch */
.apple-visual-wrapper {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: codeCardUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.9s;
}

@keyframes codeCardUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 4. Code-Zeilen (Start-Zustand: Unsichtbar) */
.code-body p {
  clip-path: inset(0 100% 0 0); /* Versteckt den Text von rechts */
  transition: clip-path 0.4s ease-out;
}

/* Wird vom JS gesetzt: Zeile für Zeile aufdecken */
.code-body p.type-active {
  clip-path: inset(0 0 0 0) !important;
}
.glass-bubble {
  pointer-events: auto;
  /* Etwas dunklerer Grundton für maximalen Kontrast auf weißem/hellen Grund */
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}



/* Brand Bubble */
.brand-bubble {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem 0.45rem 0.55rem;
  text-decoration: none;
  color: var(--apple-text-main);
}

.logo-text {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.brand-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

/* Links Bubble */
.nav-center-bubble {
  padding: 0.35rem 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}
/* ==========================================================================
   MOBILE ADAPTION FÜR DIE APPLE NAVBAR
   ========================================================================== */

@media screen and (max-width: 768px) {
  .apple-navbar {
    top: 1rem;
    width: 92%;
    padding: 0;
  }

  /* 1. Mittlere Bubble mit den langen Links auf Mobilgeräten ausblenden */
  .nav-center-bubble {
    display: none !important;
  }

  /* 2. Brand-Bubble etwas kompakter gestalten */
  .brand-bubble {
    padding: 0.35rem 0.9rem 0.35rem 0.45rem;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .logo-text {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  /* 3. CTA-Bubble rechts schlank anpassen */
  .cta-bubble {
    padding: 0.1rem;
  }

  .apple-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   NAVBAR HOVER- & KONTRAST-UPGRADE
   ========================================================================== */

/* 1. NAV-LINKS: Dunklerer pill-förmiger Hover für perfekten Kontrast */
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  display: inline-block;
  
  /* Perfekte Transition für ultra-smothe Übergänge */
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  border: 1px solid transparent; /* Verhindert Wackeln beim Einblenden des Rands */
}

/* Hover-Zustand */
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* AKTIVER ZUSTAND: Blendet geschmeidig & edel ein */
.nav-links a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3),
              0 4px 15px rgba(0, 0, 0, 0.25);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 2. CTA-BUTTON: Dunklerer, wertigerer Hover-Zustand */
.apple-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apple-btn:hover {
  /* Wird beim Hover etwas heller/präsenter, bleibt aber durch die Kontur knackig lesbar */
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 3. GESAMTE GLASS-BUBBLE HOVER OPTIMIERUNG */
.glass-bubble:hover {
  /* Dunklerer Hintergrund beim Hover schützt den Text auf weißem Untergrund */
  background: rgba(18, 18, 22, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

/* ==========================================================================
   3. HERO SECTION (APPLE PRO STYLE)
   ========================================================================== */
.apple-hero {
  position: relative;
  overflow: hidden; /* Verhindert Scrollbars durch ausbrechende Lichter */
  min-height: 80vh;
  padding-top: 140px;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.apple-hero-container {
  position: relative;
  z-index: 2; /* Inhalt liegt über den Scheinwerfern */
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   4. HELICOPTER SPOTLIGHT ANIMATIONS
   ========================================================================== */
/* ==========================================================================
   4. HELICOPTER SPOTLIGHT ANIMATIONS (PURE WHITE EDITION)
   ========================================================================== */

/* ==========================================================================
   4. HELICOPTER SPOTLIGHT ANIMATIONS (CLEAN NO-TRAIL EDITION)
   ========================================================================== */

.spotlight-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Basiseigenschaften ohne künstliche Blend-Modes */
.spotlight {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Licht 1 */
.spot-1 {
  width: 400px;
  height: 400px;
  /* Sauberer Übergang von Weiß zu transparentem Weiß (verhindert schwarze Kanten) */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 70%);
  top: 10%;
  left: 10%;
  animation: searchLight1 14s ease-in-out infinite alternate;
}

/* Licht 2 */
.spot-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0) 70%);
  top: 55%;
  left: 65%;
  animation: searchLight2 18s ease-in-out infinite alternate;
}

/* Licht 3 */
.spot-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0) 70%);
  top: 30%;
  left: 35%;
  animation: searchLight3 20s ease-in-out infinite alternate;
}

/* Licht 4: Fester Scheinwerfer hinter dem Slogan */
.spot-text-target {
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0) 75%);
  top: 22%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0.85;
  animation: staticSpotlightPulse 6s ease-in-out infinite alternate;
}

.spotlight-text {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS (Hardware-beschleunigt mit translate3d)
   ========================================================================== */

@keyframes searchLight1 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(35vw, 25vh, 0);
  }
  100% {
    transform: translate3d(15vw, 10vh, 0);
  }
}

@keyframes searchLight2 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-40vw, -25vh, 0);
  }
  100% {
    transform: translate3d(-20vw, 10vh, 0);
  }
}

@keyframes searchLight3 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(25vw, -20vh, 0);
  }
  100% {
    transform: translate3d(-25vw, 20vh, 0);
  }
}

@keyframes staticSpotlightPulse {
  0% {
    opacity: 0.6;
    transform: translate3d(-50%, -50%, 0) scale(0.92);
  }
  100% {
    opacity: 0.9;
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }
}

/* Licht 3 wandert diagonal über die ganze Seite */
@keyframes searchLight3 {
  0% {
    top: 30%;
    left: 35%;
  }
  50% {
    top: 10%;
    left: 70%;
  }
  100% {
    top: 55%;
    left: 10%;
  }
}

/* Das 4. Licht pulsiert sanft an Ort und Stelle hinter dem Text */
@keyframes staticSpotlightPulse {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ==========================================================================
   5. HERO CONTENT ELEMENTS
   ========================================================================== */
.apple-eyebrow {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1rem 0;
  color: var(--apple-text-main);
}

.apple-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--apple-text-sub);
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 0 2rem 0;
}

.apple-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.apple-button-primary {
  background-color: var(--apple-blue);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0, 0, 0.58, 1);
}

.apple-button-primary:hover {
  background-color: var(--apple-blue-hover);
  transform: scale(1.02);
}

.apple-link-secondary {
  color: var(--apple-blue);
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.apple-link-secondary:hover {
  text-decoration: underline;
}

/* Showcase Card */
.apple-visual-wrapper {
  width: 100%;
  max-width: 600px;
  
}

.apple-glass-card {
  background: var(--apple-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: left;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-glass-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}
.code-body .comment {
  color: #6e6e73; /* Sanftes Ausblend-Grau wie in VS Code */
  font-style: italic;
  display: block;
  margin-bottom: 0.5rem;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.filename {
  font-size: 0.75rem;
  color: var(--apple-text-sub);
  margin-left: 0.5rem;
  font-family: monospace;
}

.code-body {
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 1.3rem;
  line-height: 1.7;
}

.code-body p { margin: 0; }
.code-body .indent { padding-left: 1.5rem; }
.kwd { color: #ff7b72; }
.def { color: #d2a8ff; }
.prop { color: #79c0ff; }
.str { color: #a5d6ff; }
.num { color: #79c0ff; }

/* Responsive */
@media (max-width: 768px) {
  .nav-center-bubble { display: none; }
  .apple-cta-group { flex-direction: column; gap: 1rem; }
}
/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
   /* ==========================================================================
   TECH LOGO HIGHLIGHT-PULSE ANIMATION
   ========================================================================== */

/* Basis-Zustand: Dezent ausgegraut */
.about-section .logo-item {
  filter: grayscale(100%) opacity(0.35);
  transform: scale(0.95);
  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
}

/* Keyframes für das kurzzeitige Bunt-Werden + Vergrößern */
@keyframes logoFlashHighlight {
  0% {
    filter: grayscale(100%) opacity(0.35);
    transform: scale(0.95);
  }
  50% {
    /* Mitten in der Animation: Volle Farbe + Größer */
    filter: grayscale(0%) opacity(1);
    transform: scale(1.18);
  }
  100% {
    /* Zurück zum dezenten Look */
    filter: grayscale(100%) opacity(0.35);
    transform: scale(0.95);
  }
}

/* Sobald die Sektion sichtbar ist, spielt die Keyframe-Animation 1x ab */
.about-section.is-visible .logo-item {
  animation: logoFlashHighlight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Gestaffelter Effekt: Ein Logo nach dem anderen blitzt auf */
.about-section.is-visible .logo-item:nth-child(1) { animation-delay: 0.2s; }
.about-section.is-visible .logo-item:nth-child(2) { animation-delay: 0.4s; }
.about-section.is-visible .logo-item:nth-child(3) { animation-delay: 0.6s; }
.about-section.is-visible .logo-item:nth-child(4) { animation-delay: 0.8s; }

/* Optional: Wenn man später mit der Maus drüberfährt, bleibt es gewohnt bunt */
.about-section .logo-item:hover {
  filter: grayscale(0%) opacity(1) !important;
  transform: scale(1.1) !important;
}
.about-section .about-image-wrapper {
  opacity: 0;
  transform: translateX(-60px) rotate(-3deg) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.is-visible .about-image-wrapper {
  opacity: 1;
  transform: translateX(0) rotate(0deg) scale(1);
  transition-delay: 0.3s; /* Startet kurz nach den Logos */
}

/* --- B. Highlight-Text: Reingleiten von rechts --- */
.about-section .about-text-highlight {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.is-visible .about-text-highlight {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.45s;
}

/* --- C. Haupttext: Sanfter Fade-Up von unten --- */
.about-section .about-text-main {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.is-visible .about-text-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* --- D. Trust-Boxen: Nacheinander von unten hochfahren --- */
.about-section .trust-box {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Box 1 */
.about-section.is-visible .trust-box:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

/* Box 2 */
.about-section.is-visible .trust-box:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* --- E. Unterschrift: Elegantes Einblenden --- */
.about-section .about-signature-wrapper {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.is-visible .about-signature-wrapper {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1.05s;
}
.about-section {
  position: relative;
  padding: 50px 0; /* Schlankes Padding oben/unten */
  min-height: 60vh;
  background-color: var(--bg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
}


.about-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 1. Tech-Logo-Bar */
.tech-logo-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) opacity(50%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-2px);
}

.tech-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 2. Content-Grid */
.about-content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.about-image-wrapper {
  width: 100%;
  perspective: 1000px; /* Gibt der 3D-Drehung Tiefe */
}

.about-image-placeholder {
  width: 100%;
  max-width: 320px;
  height: 380px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Wichtig, damit Schatten & Glow nicht abgeschnitten werden */
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* 1. Die Schwebe-Animation einbinden (6s = sehr sanft und flüssig) */
  animation: floatProfile 6s ease-in-out infinite;

  /* 2. Edler Schatten direkt um das freigestellte Bild herum */
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.35));
  
  /* 3. Sanfter Übergang für Hover-Effekte */
  transition: filter 0.4s ease;
}

/* Beim drüberfahren verstärkt sich der Glow minimal */
.profile-img:hover {
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.45)) 
          drop-shadow(0 0 20px rgb(255, 255, 255)); /* Akzent-Glow */
}

/* --- KEYFRAMES FÜR DIE ANIMATION --- */
@keyframes floatProfile {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg); /* Minimales Anheben & Neigen */
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================================================
   ANIMATION (Größer & Kleiner werden)
   ========================================================================== */


/* Überschriften & Originale Schriftgrößen */
.about-header {
  margin-bottom: 8px;
}

.about-section .section-tag {
  display: block;
  font-size: 0.8rem;
  color: var(--apple-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-section .section-title {
  font-size: 2.8rem; /* Originalgröße behalten */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #111827;
  margin: 0;
  text-transform: uppercase;
}

.about-text-highlight {
  color: #111827;
  font-size: 1.35rem; /* Originalgröße behalten */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.about-text-main {
  color: #374151;
  font-size: 1rem; /* Originalgröße behalten */
  line-height: 1.6;
  margin-bottom: 20px; /* Minimal verkürzter Abstand */
}

/* Trust Grid (Nebeneinander spart die vertikale Höhe) */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2-Spalten-Layout */
  gap: 16px;
}

.trust-box {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  
  /* Exakt aus deinem Accordion übernommen: Dark Glassmorphism */
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px; /* Passe die Rundung bei Bedarf an */
  
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
              
  transition: background-color 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              transform 0.3s ease;
}

.trust-box:hover {
  background: rgba(28, 28, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}


.trust-icon {
  color: #ffffff; /* oder var(--apple-blue) / deine Accent-Farbe */
  font-size: 1.25rem;
}

.trust-info h3 {
  color: #ffffff; /* Statt dunklem Haupttext jetzt strahlendes Weiß */
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust-info p {
  color: rgba(255, 255, 255, 0.7); /* Sanftes, klares Hellgrau für beste Lesbarkeit */
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Signatur */
.about-signature-wrapper {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-signature {
  /* Verbindet die Buchstaben wie eine echte Unterschrift */
 
   font-family: 'Dancing Script', cursive; 
  
  /* Kompakte, dezente Größe */
  font-size: 2.2rem; 
  font-weight: 400;
  color: #111827;
  
  /* WICHTIG: Kein großes Letter-Spacing, damit die Buchstaben verbunden bleiben */
  letter-spacing: 0px; 
  
  display: inline-block;
  user-select: none;
  opacity: 0.9;
  
  /* Minimale Drehung für den natürlichen Unterschriften-Look */
  transform: rotate(-1.5deg);
}
/* ==========================================================================
   MEDIA QUERIES FOR ABOUT SECTION (RESPONSIVE DESIGN)
   ========================================================================== */

/* 1. Laptops & kleine Bildschirme (max-width: 1024px) */
/* ==========================================================================
   MEDIA QUERIES FOR ABOUT SECTION (LAYOUT ONLY - FIX FONTS)
   ========================================================================== */

/* 1. Laptops & kleine Bildschirme (max-width: 1024px) */
@media (max-width: 1024px) {
  .about-container {
    padding: 0 24px;
    gap: 16px;
  }

  .about-content-grid {
    grid-template-columns: 280px 1fr;
    gap: 32px;
  }

  .about-image-placeholder {
    max-width: 280px;
    height: 340px;
  }
}

/* 2. Tablets & iPads (max-width: 768px) */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 0;
    min-height: auto;
  }

  .about-container {
    padding: 0 20px;
  }

  /* Grid wird zur einzelnen Spalte: Bild oben zentriert, Text darunter */
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image-wrapper {
    display: flex;
    justify-content: center;
  }

  .about-image-placeholder {
    max-width: 260px;
    height: 320px;
  }

  .about-header, 
  .about-text-highlight, 
  .about-text-main {
    text-align: left;
  }

  /* Tech-Bar wird horizontal scrollbar, falls sie zu breit wird */
  .tech-logo-bar {
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .logo-item {
    flex-shrink: 0;
  }
}

/* 3. Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .about-section {
    padding: 32px 0;
  }

  .about-container {
    padding: 0 16px;
    gap: 16px;
  }

  /* Trust Grid wird auf Handys einspaltig für saubere Abstände */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-box {
    padding: 14px 16px;
  }

  .about-image-placeholder {
    max-width: 220px;
    height: 270px;
  }
}
/* ==========================================================================
   PORTFOLIO SCROLL-ANIMATIONEN (ISOLIERT)
   ========================================================================== */

/* Start-Zustände vor dem Scrollen */


   .portfolio-section {
  position: relative;
  padding: 120px 0;
  background-color: var(--apple-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden; /* Schneidet herausragenden Spotlight-Glow strikt ab */
  z-index: 1;    
}

/* Dein Scheinwerfer im Hero-Style */
.spot-portfolio {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle, 
    rgba(255, 255, 255, 0.35) 0%, 
    rgba(255, 255, 255, 0.08) 40%, 
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;   /* MUSS 0 sein, da JS per translate3d() in Pixeln steuert */
  left: 0;  /* MUSS 0 sein */
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease;
}

.portfolio-container {
  position: relative;
  z-index: 2; /* Liegt garantiert ÜBER dem Scheinwerfer */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-header {
  margin-bottom: 80px;
  max-width: 1000px;
}

.portfolio-header .section-tag {
  display: block;
  font-size: 0.8rem;
  color: #2997ff;
  letter-spacing: 2px; /* Exakt an das 2px Tag-Spacing angepasst */
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px; /* Exakt an das -1px Überschriften-Spacing angepasst */
  text-transform: uppercase; /* Bricht den Titel auf Großbuchstaben um wie im Benchmark */
  color: #f3f4f6; /* Deine Original-Farbe */
  margin-bottom: 14px;
}

.portfolio-subtitle {
  color: #9ca3af; /* Deine Original-Farbe */
  font-size: 1.05rem;
  line-height: 1.6;
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 60px;
}

.portfolio-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

/* ==========================================================================
   CARD STACK & BILD-POSITIONIERUNG
   ========================================================================== */
.stack-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background-color: transparent;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
              opacity 0.35s ease, 
              filter 0.4s ease;
}

/* Ebenen-Anordnung */
.img-main {
  z-index: 3;
  filter: brightness(0.95);
}

.img-back-left {
  z-index: 2;
  transform: scale(0.92) translateY(6px);
  filter: brightness(0.5);
}

.img-back-right {
  z-index: 1;
  transform: scale(0.85) translateY(12px);
  filter: brightness(0.35);
}

/* ==========================================================================
   HOVER-EFFEKT (AUSSCHLIESSLICH PER CARD-STACK)
   ========================================================================== */
.portfolio-card-stack {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 28px auto;
  height: 300px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* ==========================================================================
   BASIS-ZUSTAND (Hier MUSS die Transition stehen!)
   ========================================================================== */
.portfolio-card-stack .img-main {
  position: relative !important;
  z-index: 10 !important;
  
  /* HIER WAR DER FEHLER: Kein !important bei transform & opacity im Ruhestand! */
  transform: translateY(0px) scale(1);
  opacity: 1;
  
  /* Smoothness für Hover und Mausaustritt */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease-out !important;
  will-change: transform, opacity;
}

/* Dein DoubleTapHint bekommt Vorrang, wenn die Klasse pulse-active aktiv ist */
.img-main.pulse-active {
  animation: doubleTapHint 2.5s ease-in-out infinite !important;
}

/* Hintere Bilder Basis */
.portfolio-card-stack .img-back-left,
.portfolio-card-stack .img-back-right {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.4s ease, 
              opacity 0.4s ease !important;
}


/* ==========================================================================
   HOVER-ZUSTAND (KEIN 'animation: none' hier verwenden!)
   ========================================================================== */
.portfolio-card-stack:hover .img-main {
  animation: none !important; /* Stoppt den Zuck-Loop instant bei Hover */
  transform: translateY(-100px) scale(0.98) !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Linkes Bild fächert aus */
.portfolio-card-stack:hover .img-back-left {
  transform: translateX(-110px) translateY(0) rotate(-8deg) scale(1.02) !important;
  filter: brightness(1) !important;
  opacity: 1 !important;
  z-index: 5 !important;
}

/* Rechtes Bild fächert aus */
.portfolio-card-stack:hover .img-back-right {
  transform: translateX(110px) translateY(0) rotate(8deg) scale(1.02) !important;
  filter: brightness(1) !important;
  opacity: 1 !important;
  z-index: 5 !important;
}
/* Animation-Trigger für Touch-Geräte */
.portfolio-card.is-swiping {
  transform: translateX(120%) rotate(15deg) !important;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}
/* Ergänze deine bestehende Hover-Logik der Stack-Bilder um die Klasse .is-touch-active */

/* Beispiel für deine 3 gefächerten Bilder: */
/* ==========================================================================
   MOBILE SCROLL-STACK ANIMATION (3 BILDER FÄCHERN AUF)
   ========================================================================== */

/* Alle Bilder im Stapel bekommen eine flüssige Animation für das Zuklappen */
.image-stack img,
.portfolio-card img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
}

/* Bild 1 (z. B. nach links drehen) */
.image-stack:hover .stack-img-1,
.image-stack.is-touch-active .stack-img-1 {
  transform: translate(-18px, -12px) rotate(-8deg) !important;
}

/* Bild 2 (z. B. nach rechts drehen) */
.image-stack:hover .stack-img-2,
.image-stack.is-touch-active .stack-img-2 {
  transform: translate(18px, -6px) rotate(8deg) !important;
}

/* Bild 3 (zentriert leicht nach oben / skaliert) */
.image-stack:hover .stack-img-3,
.image-stack.is-touch-active .stack-img-3 {
  transform: translate(0, -16px) scale(1.04) !important;
}
/* Stelle sicher, dass die Transition geschmeidig bleibt */
.stack-img {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
/* Badges */
.live-badge,
.upcoming-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.live-badge {
  color: #34d399;
  background-color: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.upcoming-badge {
  color: #9ca3af;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Content */
.portfolio-content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2997ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.portfolio-client-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-portfolio-preview {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2997ff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.btn-portfolio-preview:hover {
  transform: translateX(3px);
}

/* ==========================================================================
   STAFETTEN-ZUCK-ANIMATION
   ========================================================================== */
/* ==========================================================================
   STAFETTE / DOUBLE-TAP ANIMATION (DEIN ORIGINAL-CODE)
   ========================================================================== */

@keyframes doubleTapHint {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-8px) rotate(-1deg); }
  40% { transform: translateY(0); }
  60% { transform: translateY(-5px) rotate(1deg); }
  80% { transform: translateY(0); }
}



/* Stoppt die Animation, wenn man direkt drüberhovert */
.portfolio-item:hover .img-main {
  animation: none !important;
}

@media screen and (max-width: 900px) {
  .portfolio-list {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ==========================================================================
   SCROLL-ANIMATIONEN (Bilder von Links/Rechts & Badges)
   ========================================================================== */

/* Start-Zustände */
.portfolio-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item .img-back-left {
  opacity: 0;
  transform: translateX(-30px) rotate(-6deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item .img-back-right {
  opacity: 0;
  transform: translateX(30px) rotate(6deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item .live-badge,
.portfolio-item .upcoming-badge {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Sichtbar beim Scrollen */
.portfolio-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item.is-visible .img-back-left {
  opacity: 1;
  transform: translateX(0) rotate(-6deg);
  transition-delay: 0.2s;
}

.portfolio-item.is-visible .img-back-right {
  opacity: 1;
  transform: translateX(0) rotate(6deg);
  transition-delay: 0.2s;
}

.portfolio-item.is-visible .live-badge,
.portfolio-item.is-visible .upcoming-badge {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s; /* Badges ploppen auf, sobald die Bilder da sind */
}
/* ==========================================================================
   CONTENT & BUTTONS
   ========================================================================== */
.portfolio-content {
  display: flex;
  flex-direction: column;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--apple-text-sub);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.portfolio-client-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 10px;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.portfolio-client-name:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(41, 151, 255, 0.25);
  transform: translateY(-1px);
}

.portfolio-desc {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-portfolio-preview {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--apple-blue);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.btn-portfolio-preview:hover {
  color: var(--apple-blue-hover);
  transform: translateX(3px);
}

/* Responsive */
@media screen and (max-width: 900px) {
  .portfolio-list {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .portfolio-card-stack {
    height: 240px;
  }
}
/* ==========================================================================
   PERFEKTE MOBILE & SCROLL-FÄCHERUNG FÜR DEN PORTFOLIO-STACK
   ========================================================================== */

/* 1. Hauptbild verschwindet/steigt auf – exakt wie beim Hover */
.portfolio-card-stack.is-touch-active .img-main {
  animation: none !important;
  transform: translateY(-100px) scale(0.98) !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* 2. Linkes Bild fächert nach links aus */
.portfolio-card-stack.is-touch-active .img-back-left {
  transform: translateX(-110px) translateY(0) rotate(-8deg) scale(1.02) !important;
  filter: brightness(1) !important;
  opacity: 1 !important;
  z-index: 5 !important;
}

/* 3. Rechtes Bild fächert nach rechts aus */
.portfolio-card-stack.is-touch-active .img-back-right {
  transform: translateX(110px) translateY(0) rotate(8deg) scale(1.02) !important;
  filter: brightness(1) !important;
  opacity: 1 !important;
  z-index: 5 !important;
}

/* Anpassung für schmale Smartphones (damit die Bilder nicht seitlich aus dem Bild fliegen) */
@media screen and (max-width: 600px) {
  .portfolio-card-stack.is-touch-active .img-back-left {
    transform: translateX(-65px) translateY(0) rotate(-8deg) scale(1) !important;
  }
  
  .portfolio-card-stack.is-touch-active .img-back-right {
    transform: translateX(65px) translateY(0) rotate(8deg) scale(1) !important;
  }
}




/* ==========================================================================
   CONTACT / CTA & FOOTER SECTION
   ========================================================================== */
/* ==========================================================================
   KONTAKT-SEKTION (APPLE FOOTER STYLE WITH MEDIA QUERIES)
   ========================================================================== */

/* ==========================================================================
   KONTAKT-SEKTION (WEISSER HINTERGRUND / LIGHT MODE)
   ========================================================================== */

/* ==========================================================================
   KONTAKT-SEKTION (ZENTRIERT IM STIL DER PRICING-SEKTION)
   ========================================================================== */
/* ==========================================================================
   SITE FOOTER (IM GLEICHEN GLASS & GRID STIL)
   ========================================================================== */

/* ==========================================================================
   SITE FOOTER (EBENFALLS AUF 1400px ANGEPASST)
   ========================================================================== */

/* ==========================================================================
   SITE FOOTER (MATCHING ABOUT-SECTION BENCHMARK)
   ========================================================================== */

/* ==========================================================================
   APPLE-STYLE FOOTER
   ========================================================================== */

.apple-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--apple-bg, #000000);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 100px 0 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.apple-footer-container {
  position: relative;
  z-index: 2; /* Liegt über dem Footer-Spotlight */
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dezent im Hintergrund pulsierender Scheinwerfer */
/* 1. Übergeordneter CTA-Block wird der Anker für das Licht */
.footer-cta-block {
  position: relative; /* Wichtig für die Positionierung des Lichts */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
  width: 100%;
}

/* 2. Licht exakt hinter die obere Schrift setzen */
.footer-spotlight {
  position: absolute;
  top: 1000px; /* Perfekt hinter "Bereit für den nächsten Schritt" zentriert */
  left: 50%;
  transform: translateX(-50%);
  
  width: 500px;
  height: 250px;
  background: radial-gradient(
    ellipse at center, 
    rgba(255, 255, 255, 0.35) 0%, 
    rgba(255, 255, 255, 0.08) 45%, 
    rgba(255, 255, 255, 0) 75%
  );
  filter: blur(70px);
  pointer-events: none;
  z-index: 1; /* Liegt hinter dem Text */
  animation: staticSpotlightPulse 8s ease-in-out infinite alternate;
}

/* 3. Text explizit ÜBER das Licht legen, damit er lesbar bleibt */
.apple-eyebrow,
.footer-title,
.footer-subtitle,
.apple-cta-group {
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  color: var(--apple-text-main, #f5f5f7);
}

.footer-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--apple-text-sub, #86868b);
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 0 2rem 0;
}

/* Unterer Bereich (Copyright & Rechtliches) */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--apple-text-sub, #86868b);
  letter-spacing: -0.01em;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links .apple-link-secondary {
  font-size: 0.85rem;
  color: var(--apple-text-sub, #86868b);
  transition: color 0.2s ease;
}

.footer-links .apple-link-secondary:hover {
  color: var(--apple-blue, #2997ff);
  text-decoration: none;
}

/* Mobile-Anpassungen */
@media screen and (max-width: 650px) {
  .apple-footer {
    padding: 60px 0 30px 0;
  }

  .footer-cta-block {
    margin-bottom: 50px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
}
/* ==========================================================================
   KONTAKT-SEKTION (1400px BREITE & ZENTRIERT)
   ========================================================================== */

/* ==========================================================================
   KONTAKT-SEKTION (MATCHING ABOUT-SECTION BENCHMARK)
   ========================================================================== */

/* ==========================================================================
   KONTAKT-SEKTION (LINKS UNTER DEM BUTTON & AN DIE ANPASSUNG ANGEGLICHEN)
   ========================================================================== */

.contact-section {
  position: relative;
  padding: 50px 0;

  height: 50vx;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;


  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-bottom: 150px;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Header & Typografie */
.contact-content {
  max-width: 100%;
  margin-bottom: 0;
  text-align: center;
}

.contact-section .section-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--apple-blue, #2997ff);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #111827;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.contact-subtitle {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
}

/* Action Area (Button & Response Time Badge) */
.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--apple-blue, #0071e3);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0, 0, 0.58, 1);
}

.btn-primary-large:hover {
  background-color: var(--apple-blue-hover, #0077ed);
  transform: scale(1.02);
  color: #ffffff;
}

.response-time-badge {
  font-size: 0.85rem;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.response-time-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

/* --------------------------------------------------------------------------
   KONTAKT-LINKS (GANZ UNTEN - OHNE BUBBLE)
   -------------------------------------------------------------------------- */

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 800px;
  margin-top: 16px; /* Platziert die Links mit schönem Abstand UNTER dem Badge */
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06); /* Diskrete Abgrenzung nach oben */
}

.contact-method-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-method-item:hover {
  background: transparent !important;
  transform: translateY(-1px);
  opacity: 0.8;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-blue, #2997ff);
  transition: transform 0.2s ease;
}

.contact-method-item:hover .contact-icon {
  transform: scale(1.1);
}
/* Stellt sicher, dass das Elternelement als Flex-Container fungiert */
.contact-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* 1. Tag, Titel, Subtitle */
.contact-section .section-tag { order: 1; }
.contact-title { order: 2; }
.contact-subtitle { order: 3; margin-bottom: 24px; }

/* 2. Button nach oben verschieben */
.contact-action { 
  order: 4 !important; 
  margin-bottom: 24px;
}

/* 3. Kontakt-Daten ganz nach unten setzen */
.contact-methods { 
  order: 5 !important; 
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.method-label {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.method-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

/* Mobil-Anpassung */
@media screen and (max-width: 600px) {
  .contact-methods {
    flex-direction: column;
    gap: 16px;
  }
}
/* ==========================================================================
   PRICING / PREISE SECTION
   ========================================================================== */
/* ==========================================================================
   PRICING SECTION (APPLE-GLASS ACCORDION LOOK)
   ========================================================================== */

/* ==========================================================================
   PRICING-SEKTION (MATCHING ABOUT-SECTION BENCHMARK)
   ========================================================================== */

.pricing-section {
  position: relative;
  padding: 50px 0;
  min-height: 60vh;
  background-color: var(--bg);



  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 2;
}

.pricing-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header & Typografie im exakten About-Stil */
.pricing-header {
  margin-bottom: 8px;
  max-width: 100%;
  
}

.pricing-header .section-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--apple-blue, #2997ff);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.pricing-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #111827;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.pricing-subtitle {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 1000px;
}

/* ==========================================================================
   APPLE-GLASS KAPSELN & AKKORDEONS
   ========================================================================== */

/* Resets für Listen & Buttons, um doppelte Punkte/Spacings zu verhindern */
.pricing-list,
.pricing-features {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

/* Eingeklappte Kapsel */
.service-item {
  position: relative;
  background: rgba(18, 18, 22, 0.7);
  margin-bottom: 16px;

  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
              
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              transform 0.3s ease;
}

.service-item:hover {
  background: rgba(28, 28, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* AUFGEKLAPPT: Dunkles Glas für perfekten Kontrast & Lesbarkeit */
.service-item.is-open {
  border-radius: 40px; 
  background: rgba(12, 12, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Kapsel für empfohlenes Paket */
.service-item.featured {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Trigger Button */
.service-header-trigger {
  width: 100%;
  padding: 20px 32px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  outline: none;
  list-style: none !important;
}

/* Icons frei ohne Box */
.service-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-item:hover .service-icon,
.service-item.is-open .service-icon {
  color: #ffffff;
  transform: scale(1.08);
}

/* Titel + Preis Group */
.service-title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 12px;
  gap: 16px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0;
}

/* Preis-Badge */
.package-price-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

/* Empfohlen Badge */
.badge-featured {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111318;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Pfeil Icon */
.accordion-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5f7;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-icon::before {
  content: none !important; /* Unterdrückt unerwünschte Punkte vor Pfeilen */
}

.service-item.is-open .accordion-icon {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Ausklapp-Inhalt */
.service-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item.is-open .service-collapse {
  grid-template-rows: 1fr;
}

.service-collapse-inner {
  overflow: hidden;
  padding: 0 32px 28px 78px;
}

.service-desc {
  font-size: 0.98rem;
  color: #d1d5db; /* Gestochen scharfes Hellgrau */
  line-height: 1.6;
  margin-bottom: 20px;
}
/* ==========================================================================
   FLATRATE-KAPSEL (.featured-waas) - GESCHLOSSEN IM DUNKLEN / SCHWARZEN LOOK
   ========================================================================== */

/* 1. Kapsel-Hintergrund im geschlossenen Zustand etwas heller/bläulicher */
/* ==========================================================================
   FLATRATE-KAPSEL (.featured-waas) - GESCHLOSSEN MIT SCHWARZEM BORDER
   ========================================================================== */

/* 1. Kapsel im geschlossenen Zustand: Weißer Hintergrund & SCHWARZER Border */
/* ==========================================================================
   FIX: WEISSE SCHRIFT & SCHWARZER BORDER FÜR GESCHLOSSENE FLATRATE-KAPSEL
   ========================================================================== */

/* 1. Geschlossene Kapsel: Dunkler Hintergrund & Schwarzer Rahmen */
.service-item.featured-waas:not(.is-open) {
  background: rgba(18, 18, 22, 0.85) !important;
  border: 1px solid #000000 !important; /* Tiefschwarzer Rahmen */
}

/* 2. Texte, Titel & Icons im geschlossenen Zustand WEISS */
.service-item.featured-waas:not(.is-open) .service-title,
.service-item.featured-waas:not(.is-open) .service-icon {
  color: #ffffff !important;
}

/* 3. Pfeil-Icon mit weißem Symbol */
.service-item.featured-waas:not(.is-open) .accordion-icon {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 4. Preis-Badge im geschlossenen Zustand */
.service-item.featured-waas:not(.is-open) .package-price-tag {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   SYNCHRONER ZOOM- & SHINE-EFFEKT (MIT KONTRAST-BOOST FÜR FLATRATE)
   ========================================================================= */

/* 1. Die Kapseln für die Animation vorbereiten */
.service-item.featured,
.service-item.featured-waas {
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: appleZoom 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 2. Shine-Effekt für Dunkle Kapseln (z.B. Business Website) */
.service-item.featured::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: rotate(20deg);
  pointer-events: none;
  z-index: 1;
  animation: appleShine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 3. DEUTLICHERER Shine-Effekt NUR für die helle Flatrate-Kapsel */
.service-item.featured-waas:not(.is-open)::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  /* Viel kräftigerer Lichtstrahl mit weißer Kern-Kante für maximale Sichtbarkeit */
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255, 255, 255, 0.8) 48%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.8) 52%,
    transparent 75%
  );
  transform: rotate(20deg);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay; /* Verstärkt den Glanz auf hellen Flächen */
  animation: appleShine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 4. KEYFRAMES: Zoom (Synchronisiert) */
@keyframes appleZoom {
  0% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.02);
  }
  30% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* 5. KEYFRAMES: Shine (Synchronisiert) */
@keyframes appleShine {
  0% {
    left: -150%;
  }
  15% {
    left: -50%;
  }
  30% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* 6. Stoppen wenn geöffnet */
.service-item.is-open {
  animation: none !important;
  transform: scale(1) !important;
}
.service-item.is-open::after {
  animation: none !important;
  display: none !important;
}

/* Feature-Liste mit blauen Häkchen */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: #f3f4f6;
  font-weight: 500;
  line-height: 1.4;
  list-style: none !important;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--apple-blue, #2997ff);
  font-weight: 700;
}

/* Action CTA Button */
/* ==========================================================================
   PRICING BUTTONS (APPLE BLUE - OHNE GLOW)
   ========================================================================== */

.service-action {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-apple-glass,
.btn-apple-glass.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  background-color: var(--apple-blue, #0071e3);
  color: #ffffff;
  
  padding: 0.75rem 1.5rem;
  border-radius: 980px;
  
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  
  border: none;
  box-shadow: none; /* Kein Glow oder Schatten mehr */
  
  transition: all 0.2s cubic-bezier(0, 0, 0.58, 1);
}

.btn-apple-glass:hover,
.btn-apple-glass.primary:hover {
  background-color: var(--apple-blue-hover, #0077ed);
  transform: scale(1.02);
  box-shadow: none;
  color: #ffffff;
}

.btn-apple-glass:active,
.btn-apple-glass.primary:active {
  transform: scale(0.98);
}
/* Responsive */

/* ==========================================================================
   MEDIA QUERIES FOR PRICING SECTION (LAYOUT ONLY - FIX FONTS)
   ========================================================================== */

/* 1. Laptops & kleine Bildschirme (max-width: 1024px) */
/* ==========================================================================
   PERFEKTES MOBILE LAYOUT FÜR DIE PRICING KAPSELN
   ========================================================================== */

/* ==========================================================================
   MITTIG GESTAPELTES MOBILE LAYOUT FÜR DIE PRICING SECTION
   ========================================================================== */

@media screen and (max-width: 650px) {
  /* 1. Genug Abstand oben für die fixierte Header-Bar */
  .pricing-section {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
  }

  /* 2. Titel & Subtitle mittig ausrichten */
  .pricing-header {
    text-align: left !important;
  }

  .pricing-title {
    font-size: 2.8rem !important; /* Originalgröße unverändert */
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
  }

  .pricing-subtitle {
    text-align: center !important;
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
  }

  /* 3. Kapsel-Basis auf automatische Höhe stellen */
  .service-item {
    border-radius: 20px !important;
    height: auto !important;
    overflow: hidden !important;
  }

  /* 4. Trigger & Inhalte komplett zentrieren */
  .service-header-trigger {
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  /* Icon zentrieren */
  .service-icon {
    margin: 0 auto !important;
  }

  /* Titel & Badges zentrieren */
  .service-title-group,
  .title-with-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
    padding-right: 0 !important;
  }

  .service-title {
    font-size: 1.25rem !important;
    text-align: center !important;
  }

  /* Badges & Preise zentrieren */
  .package-price-tag, 
  .badge-featured {
    display: inline-block !important;
    font-size: 0.8rem !important;
    padding: 4px 12px !important;
    margin: 2px auto !important;
  }

  /* Vorschautext mittig mit klaren Abständen */
  .service-item p:not(.service-desc),
  .service-teaser-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin-top: 6px !important;
    opacity: 0.8 !important;
    width: 100% !important;
  }


  /* Pfeil-Icon ganz unten mittig platzieren */
  .accordion-icon {
    margin-top: 8px !important;
  }

  /* Ausklappbarer Bereich (Details) mittig ausrichten */
  .service-collapse-inner {
    padding: 0 20px 24px 20px !important;
    text-align: center !important;
  }

  .pricing-features {
    align-items: center !important;
  }

  .pricing-features li {
    text-align: center !important;
    padding-left: 0 !important;
  }

  .pricing-features li::before {
    position: relative !important;
    display: inline-block !important;
    margin-right: 6px !important;
  }
}
/* Versteckt den Teaser-Text solange die Kapsel ZU ist */
/* Blendet den Vorschautext im geschlossenen Zustand aus */
/* 1. WICHTIGSTES FIX: Verhindert, dass der zugeklappte Inhalt rausquillt */
.service-collapse {
  overflow: hidden !important;
}

/* 2. ZUSÄTZLICHER SCHUTZ: Setzt die Innenabstände im geschlossenen Zustand auf 0 */
.service-item:not(.is-open) .service-collapse {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 3. Sobald die Kapsel OFFEN ist, wird alles sauber sichtbar */
.service-item.is-open .service-collapse {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
@media screen and (max-width: 650px) {
  /* 1. Feature-Liste sauber nach links ausrichten */
  .pricing-features {
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: 16px !important;
  }

  .pricing-features li {
    text-align: left !important;
    padding-left: 26px !important; /* Platz für das Häkchen links */
    position: relative !important;
  }

  /* 2. Das Häkchen absolut links anheften */
  .pricing-features li::before {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    margin-right: 0 !important;
  }
}
@media screen and (max-width: 650px) {
  /* 1. Innenabstand des Triggers unten drastisch verringern */
  .service-header-trigger {
    padding-top: 20px !important;
    padding-bottom: 12px !important; /* Vorher meist 24px+ */
    gap: 8px !important; /* Abstände zwischen den Elementen straffen */
  }

  /* 2. Abstände um den Pfeil herum minimieren */
  .accordion-icon {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
  }

  /* 3. Verhindern, dass leere Margin-Ränder nach dem Pfeil Platz verbrauchen */
  .service-header-trigger > *:last-child {
    margin-bottom: 0 !important;
  }
}/* ==========================================================================
   AKKORDEON INHALTE LINKSBÜNDIG AUSRICHTEN
   ========================================================================== */

/* 1. Aufgeklappter Innenbereich & Paragraphen linksbündig */
.service-collapse-inner,
.service-collapse-inner p,
.service-desc,
.service-teaser-text {
  text-align: left !important;
}

/* 2. Aufzählungspunkte (Features) linksbündig mit Einzug für die Häkchen */
.pricing-features {
  align-items: flex-start !important;
  text-align: left !important;
}

.pricing-features li {
  text-align: left !important;
  padding-left: 26px !important; /* Platz für das Icon/Häkchen */
  position: relative !important;
}

/* Häkchen exakt links verankern */
.pricing-features li::before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

/* 3. CTA-Button im Akkordeon linksbündig ausrichten */
.service-action {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: 16px !important;
}
/* ==========================================================================
   FIX FÜR IPAD / MACBOOK: ZU HOHE CLOSED ACCORDION-KAPSELN
   ========================================================================== */

/* 1. Kapsel im geschlossenen Zustand auf exakte Höhe zwingen */
.service-item:not(.is-open) {
  height: auto !important;
  min-height: 0 !important;
}

/* 2. Trigger-Button kompaktes Padding geben */
.service-header-trigger {
  padding: 16px 28px !important; /* Vorher 20px 32px */
  min-height: 0 !important;
  height: auto !important;
}

/* 3. Ausklapp-Raster & Innenabstand im geschlossenen Zustand strikt nullen */
.service-item:not(.is-open) .service-collapse {
  grid-template-rows: 0fr !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

.service-item:not(.is-open) .service-collapse-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
