/* ═══════════════════════════════════════════════════════════════
   DESIGN-TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg:        #0A0D0B;
  --bg-2:      #0F1411;
  --bg-card:   #131A14;
  --bg-elev:   #182019;
  --lime:      #B8E834;
  --lime-soft: #8FB02E;
  --lime-glow: rgba(184, 232, 52, 0.15);
  --cream:     #EDEADD;
  --muted:     #8A8D80;
  --warn:      #E85D4F;
  --line:      rgba(237, 234, 221, 0.08);
  --line-2:    rgba(237, 234, 221, 0.16);

  --display: 'Anton', 'Impact', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --serif:   'Fraunces', Georgia, serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark;
  accent-color: var(--lime);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* Platz für Mobile Sticky-CTA */
}
@media (min-width: 880px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img, picture { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ═══════════════════════════════════════════════════════════════
   TYPO
   ═══════════════════════════════════════════════════════════════ */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
h1.display { font-size: clamp(3.2rem, 11vw, 8rem); }
h2.display { font-size: clamp(2.4rem, 7vw, 5.2rem); }
h3.display { font-size: clamp(1.8rem, 4vw, 3rem); }

h2:not(.display), h3:not(.display) {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h2:not(.display) { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3:not(.display) { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.lime { color: var(--lime); }
.warn { color: var(--warn); }

.kicker {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--lime);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(237, 234, 221, 0.78);
  max-width: 56ch;
  line-height: 1.55;
}

/* Brushstroke underline (matches campaign images) */
.brush {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.brush::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.05em;
  height: 0.18em;
  background: var(--lime);
  border-radius: 50% 50% 50% 50% / 100% 100% 0 0;
  transform: skew(-8deg) rotate(-1.2deg);
  opacity: 0.85;
  z-index: -1;
}
.brush.warn::after { background: var(--warn); }
.display .brush { line-height: 1.15; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  white-space: nowrap;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%,
    transparent 100%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before {
  transform: translateX(110%);
}
.btn > * { position: relative; z-index: 2; }

.btn-primary {
  background: linear-gradient(135deg, var(--lime) 0%, #C8F454 50%, var(--lime) 100%);
  background-size: 200% 200%;
  color: #0A0D0B;
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.35),
              0 0 0 0 rgba(184, 232, 52, 0.4);
  animation: btnPulse 2.5s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  background-position: 100% 100%;
  box-shadow: 0 12px 32px rgba(184, 232, 52, 0.55),
              0 0 0 6px rgba(184, 232, 52, 0.15);
  animation-play-state: paused;
}
.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
  transition-duration: 0.1s;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(184, 232, 52, 0.35), 0 0 0 0 rgba(184, 232, 52, 0.4); }
  50%      { box-shadow: 0 4px 18px rgba(184, 232, 52, 0.5),  0 0 0 8px rgba(184, 232, 52, 0); }
}

.btn-ghost {
  border: 1.5px solid var(--line-2);
  color: var(--cream);
  background: rgba(237, 234, 221, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(184, 232, 52, 0.08);
  box-shadow: 0 8px 24px rgba(184, 232, 52, 0.18),
              inset 0 0 0 1px rgba(184, 232, 52, 0.3);
}
.btn-ghost:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
}
.btn-arrow:hover::after {
  transform: translateX(7px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
  .btn::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 13, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  line-height: 1.5;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 4px 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 8px rgba(184, 232, 52, 0.35));
  animation: logoSpin 12s linear infinite;
  transform-origin: center center;
  will-change: transform;
}
@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark { animation: none !important; }
}
.logo em { color: var(--lime); font-style: italic; font-weight: 500; font-family: var(--serif); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  opacity: 0.78;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
  padding: 4px 0;
  font-weight: 500;
}
.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
  box-shadow: 0 0 8px rgba(184, 232, 52, 0.5);
}
.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
  color: var(--lime);
}
.nav-links a:hover::before,
.nav-links a.is-active::before {
  width: 100%;
  left: 0;
}
.nav-links a.is-active { font-weight: 600; }

/* Nav-CTA mit lebendigerem Hover */
.nav-cta {
  padding: 10px 22px;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.nav-cta::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(184, 232, 52, 0.4);
}
.nav-cta:hover::before { left: 100%; }

/* Logo: leichtes Hover-Lift */
.nav .logo {
  transition: transform 0.3s ease;
}
.nav .logo:hover { transform: translateX(2px); }
.nav .logo:hover .logo-mark {
  filter: drop-shadow(0 0 16px rgba(184, 232, 52, 0.6));
}

/* Nav-Sticky-Effekt: Bei Scroll dunkler werden + Backdrop-Blur */
.nav.is-scrolled {
  background: rgba(10, 13, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(184, 232, 52, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
}
.nav-toggle span { position: relative; transition: background 0.2s; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

@media (max-width: 880px) {
  /* ── Mobile-Nav: KOMPLETT robust, kein backdrop-filter (iOS Safari Bug) ── */
  .nav {
    background: rgb(10, 13, 11) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav.is-scrolled {
    background: rgb(10, 13, 11) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-inner {
    padding: 16px var(--pad);
    height: auto;
    min-height: 0;
  }
  .logo {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 8px 0;
    height: auto;
    flex-shrink: 0;
  }
  .logo-mark {
    width: 28px;
    height: 28px;
    animation: none !important;
    filter: drop-shadow(0 0 6px rgba(184, 232, 52, 0.5));
  }
  .fb-back-link { display: none; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgb(10, 13, 11);
    border-bottom: 1px solid var(--line-2);
    padding: 16px var(--pad) 28px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 90;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
  .nav-links a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
    opacity: 1;
    text-align: left;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { transform: translateY(0); }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { transform: rotate(45deg) translate(5px, 5px); }
  .nav.open .nav-toggle span::after  { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding: clamp(56px, 12vh, 120px) 0 clamp(48px, 8vh, 96px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(10, 13, 11, 0.88) 0%,
      rgba(10, 13, 11, 0.72) 32%,
      rgba(10, 13, 11, 0.4) 58%,
      rgba(10, 13, 11, 0.2) 85%,
      rgba(10, 13, 11, 0.45) 100%
    ),
    url('bilder/hero-bg.jpg') center / cover no-repeat,
    var(--bg);
}
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg,
        rgba(10, 13, 11, 0.9) 0%,
        rgba(10, 13, 11, 0.65) 30%,
        rgba(10, 13, 11, 0.3) 65%,
        rgba(10, 13, 11, 0.65) 100%
      ),
      url('bilder/hero-bg-mobile.jpg') center / cover no-repeat,
      var(--bg);
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--lime-glow), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 32px; }
.hero h1 .line { display: block; }
.hero h1 .green { color: var(--lime); }
.hero p.lede {
  margin-bottom: 36px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  justify-content: flex-start;
}
.trust-item {
  min-width: 120px;
  text-align: center;
  flex: 1 1 120px;
}
.trust-num {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--lime);
  line-height: 0.95;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 24px rgba(184, 232, 52, 0.25);
}
.trust-label {
  font-size: 1rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  font-weight: 500;
  display: block;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SHELL
   ═══════════════════════════════════════════════════════════════ */
section { padding: clamp(72px, 12vh, 128px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 { max-width: 14ch; }
.section-head .lede { color: rgba(237, 234, 221, 0.7); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM-SEKTION (mit Chaos-Bild)
   ═══════════════════════════════════════════════════════════════ */
.problem-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
  aspect-ratio: 16 / 9;
}
@media (max-width: 760px) { .problem-hero { aspect-ratio: 3 / 4; } }
.problem-hero img { width: 100%; height: 100%; object-fit: cover; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.problem-num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--warn);
  line-height: 0.95;
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 30px rgba(232, 93, 79, 0.25);
}
.problem-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.problem-card p { font-size: 0.93rem; color: rgba(237, 234, 221, 0.72); }

/* ═══════════════════════════════════════════════════════════════
   LÖSUNGS-ÜBERSICHT (3 Säulen)
   ═══════════════════════════════════════════════════════════════ */
.pillars {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--bg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background 0.3s;
}
.pillar:hover { background: var(--bg-card); }
.pillar-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--lime);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: rgba(237, 234, 221, 0.7); margin-bottom: 24px; flex: 1; }
.pillar-link {
  font-size: 0.88rem;
  color: var(--lime);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pillar-link::after { content: "→"; transition: transform 0.2s; }
.pillar:hover .pillar-link::after { transform: translateX(4px); }
@media (max-width: 880px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { min-height: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   VERLUST-RECHNER
   ═══════════════════════════════════════════════════════════════ */
.calc-section { background: var(--bg); }
.calc {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .calc { grid-template-columns: 1fr; gap: 32px; }
}
.calc-input { margin-bottom: 28px; }
.calc-input:last-child { margin-bottom: 0; }
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 16px;
}
.calc-label-row label { font-size: 0.92rem; color: rgba(237, 234, 221, 0.85); }
.calc-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--lime);
}
input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 28px;
}
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: -10px;
  cursor: pointer;
  box-shadow: 0 0 0 6px var(--lime-glow);
}
input[type=range]::-moz-range-track { height: 2px; background: var(--line-2); border-radius: 2px; }
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 6px var(--lime-glow);
}
.calc-result {
  text-align: center;
  padding: 32px 24px;
  border-left: 1px solid var(--line);
}
@media (max-width: 880px) {
  .calc-result { border-left: none; border-top: 1px solid var(--line); padding-top: 32px; }
}
.calc-result-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.calc-amount {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5rem);
  color: var(--lime);
  line-height: 0.95;
  margin-bottom: 6px;
}
.calc-period { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; }
.calc-year {
  padding: 14px 20px;
  background: rgba(184, 232, 52, 0.08);
  border: 1px solid rgba(184, 232, 52, 0.2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.calc-year strong { color: var(--lime); font-weight: 600; }
.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   SCENES (6 Lösungs-Szenen mit Vollbild-Kampagnen-Bildern)
   ═══════════════════════════════════════════════════════════════ */
.scenes { background: var(--bg-2); }
.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.scene:last-child { margin-bottom: 0; }
.scene-img {
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.scene-img img,
.scene-img picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.scene-text {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scene-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.scene-text h3 { margin-bottom: 12px; }
.scene-text p { color: rgba(237, 234, 221, 0.78); margin-bottom: 20px; }
.scene-bullets { list-style: none; }
.scene-bullets li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  padding: 8px 0;
  color: rgba(237, 234, 221, 0.85);
}
.scene-bullets li::before {
  content: "→";
  color: var(--lime);
  flex-shrink: 0;
}
.scene.alt { grid-template-columns: 1fr 1fr; direction: rtl; }
.scene.alt > * { direction: ltr; }
@media (max-width: 880px) {
  .scene, .scene.alt { grid-template-columns: 1fr; direction: ltr; }
  .scene-img { aspect-ratio: 3 / 4; }
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL PROOF (Google-Bewertung + Glanzwerk Case Study)
   ═══════════════════════════════════════════════════════════════ */
.proof { background: var(--bg); position: relative; }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) { .proof-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--lime);
  border-radius: var(--radius) 0 0 var(--radius);
}
.review-source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.review-google {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC04 66%, #EA4335 100%);
  color: white;
  font-size: 1rem;
  font-family: serif;
  flex-shrink: 0;
  overflow: hidden;
}
img.review-google {
  background: var(--cream);
  object-fit: cover;
  padding: 0;
  border: 1.5px solid rgba(184, 232, 52, 0.3);
}
.review-meta { flex: 1; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-time { font-size: 0.8rem; color: var(--muted); }
.review-stars { display: flex; gap: 2px; color: var(--lime); font-size: 1.1rem; }
.review-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--cream);
  flex: 1;
  margin-bottom: 24px;
}
.review-text::before { content: "„"; color: var(--lime); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.review-text::after { content: "."; }
.review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review-score {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--lime);
  line-height: 1;
}
.review-score-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
}
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--lime);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  align-self: flex-start;
}
.case-card h3 { margin-bottom: 6px; font-size: 1.4rem; }
.case-domain {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--lime);
  margin-bottom: 24px;
  font-weight: 500;
}
.case-domain a { border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.case-domain a:hover { border-color: var(--lime); }
.case-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.case-state {
  padding: 16px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.case-state-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.case-state-value { font-size: 0.95rem; line-height: 1.4; }
.case-state.before .case-state-value { color: rgba(237, 234, 221, 0.6); }
.case-state.after { border-color: var(--lime); background: rgba(184, 232, 52, 0.04); }
.case-state.after .case-state-value { color: var(--cream); font-weight: 500; }
.case-card p { color: rgba(237, 234, 221, 0.78); font-size: 0.93rem; margin-bottom: 24px; flex: 1; }

.proof-cta {
  margin-top: 56px;
  text-align: center;
}
.proof-cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(237, 234, 221, 0.78);
  max-width: 50ch;
  margin: 0 auto 20px;
}

/* ═══════════════════════════════════════════════════════════════
   STELLENANZEIGEN-TEASER
   ═══════════════════════════════════════════════════════════════ */
.stellen {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stellen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .stellen-grid { grid-template-columns: 1fr; } }
.stellen-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
@media (min-width: 881px) { .stellen-img { aspect-ratio: 4 / 5; } }
.stellen-img img { width: 100%; height: 100%; object-fit: cover; }
.stellen-text h2 { margin-bottom: 16px; }
.stellen-text p { color: rgba(237, 234, 221, 0.78); margin-bottom: 24px; }
.stellen-features {
  list-style: none;
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stellen-features li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.93rem;
  color: rgba(237, 234, 221, 0.85);
}
.stellen-features li::before { content: "→"; color: var(--lime); }

/* ═══════════════════════════════════════════════════════════════
   ÜBER KEVIN
   ═══════════════════════════════════════════════════════════════ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
}
.about-card h2 { margin-bottom: 16px; }
.about-card p { margin-bottom: 16px; color: rgba(237, 234, 221, 0.85); }
.about-card p:last-child { margin-bottom: 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--lime);
  line-height: 0.95;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 24px rgba(184, 232, 52, 0.2);
}
.about-stat-label {
  font-size: 0.95rem;
  color: var(--cream);
  opacity: 0.78;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.about-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-top: 24px;
}
.about-aside .kicker { margin-top: 8px; }
.about-aside h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ─── Kevin Frame: Photo wrapped in logo's glowing rings ─── */
.kevin-frame {
  position: relative;
  width: clamp(220px, 28vw, 280px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kevin-halo {
  position: absolute;
  inset: -28%;
  background: url('bilder/logo.png') center/contain no-repeat;
  opacity: 0.9;
  z-index: 0;
  animation: haloPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.kevin-photo {
  position: relative;
  z-index: 1;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 65% center;
  /* Slight warmth + lime tint via combined filters; keeps face natural */
  filter: grayscale(85%) sepia(28%) hue-rotate(15deg) saturate(0.9) brightness(1.02) contrast(1.05);
  border: 2px solid rgba(184, 232, 52, 0.45);
  box-shadow:
    0 0 0 4px rgba(10, 13, 11, 0.85),
    0 0 60px 8px rgba(184, 232, 52, 0.18);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.kevin-photo:hover {
  filter: grayscale(60%) sepia(20%) hue-rotate(15deg) saturate(1) brightness(1.05) contrast(1.05);
  transform: scale(1.02);
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .kevin-halo { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PAKETE TEASER
   ═══════════════════════════════════════════════════════════════ */
.pakete { background: var(--bg-2); border-top: 1px solid var(--line); }
.pakete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .pakete-grid { grid-template-columns: 1fr; } }

.paket {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.paket:hover { border-color: var(--line-2); transform: translateY(-3px); }
.paket.featured {
  border-color: var(--lime);
  background: linear-gradient(180deg, rgba(184, 232, 52, 0.04) 0%, var(--bg-card) 100%);
}
.paket-badge {
  position: absolute;
  top: -10px; left: 28px;
  background: var(--lime);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.paket-name { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 8px; }
.paket h3 { margin-bottom: 14px; }
.paket-price {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 6px;
}
.paket-period { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.paket-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.paket-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: rgba(237, 234, 221, 0.85);
  border-bottom: 1px solid var(--line);
}
.paket-features li::before { content: "✓"; color: var(--lime); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  list-style: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lime); }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--lime);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 16px;
  color: rgba(237, 234, 221, 0.78);
  line-height: 1.6;
  max-width: 70ch;
}

/* ═══════════════════════════════════════════════════════════════
   KONTAKT
   ═══════════════════════════════════════════════════════════════ */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--lime-glow), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
}
.contact-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.contact h2 { margin-bottom: 20px; }
.contact .lede { margin: 0 auto 36px; }
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 760px) { .contact-channels { grid-template-columns: 1fr; } }

.channel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.channel:hover { border-color: var(--lime); transform: translateY(-3px); }
.channel-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--lime);
}
.channel-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.channel-value { font-weight: 600; font-size: 0.95rem; word-break: break-word; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.foot-brand p {
  color: rgba(237, 234, 221, 0.65);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 36ch;
  line-height: 1.5;
}
.foot-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 700;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a {
  font-size: 0.92rem;
  color: rgba(237, 234, 221, 0.78);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--lime); }
.foot-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   STICKY MOBILE CTA
   ═══════════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: rgba(10, 13, 11, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  padding: 12px var(--pad);
  display: flex;
  gap: 8px;
}
.sticky-cta .btn { flex: 1; padding: 14px 18px; font-size: 0.9rem; }
.sticky-cta .btn-call {
  flex: 0 0 auto;
  width: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 880px) { .sticky-cta { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS (subtle reveal-on-scroll)
   ═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILS
   ═══════════════════════════════════════════════════════════════ */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
/* ═══════════════════════════════════════════════════════════════
   MULTI-PAGE ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* Active nav link */
.nav-links a[aria-current="page"] {
  color: var(--lime);
  opacity: 1;
}
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--lime);
  margin-top: 4px;
}
@media (max-width: 880px) {
  .nav-links a[aria-current="page"]::after { display: none; }
}

/* Page Hero — schlanker als der Startseiten-Hero */
.page-hero {
  padding: clamp(48px, 9vh, 96px) 0 clamp(40px, 6vh, 72px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--lime-glow), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1.display { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 24px; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumb {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { opacity: 0.4; }

/* Kevin-Teaser Card auf der Startseite */
.kevin-teaser {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kevin-teaser-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 760px) {
  .kevin-teaser-grid { grid-template-columns: 1fr; text-align: center; }
  .kevin-teaser-grid .kevin-frame { margin: 0 auto; }
  .kevin-teaser-grid .kicker { justify-content: center; }
  .kevin-teaser-grid .kicker::before { display: none; }
}
.kevin-teaser-text h2 { margin-bottom: 16px; }
.kevin-teaser-text .lede { margin-bottom: 24px; }
.kevin-teaser-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 26ch;
}
.kevin-teaser-quote .lime { font-style: italic; }

/* CTA-Banner (am Ende jeder Sub-Seite) */
.cta-banner {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 10vh, 96px) 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--lime-glow), transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(50px);
}
.cta-banner-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: rgba(237, 234, 221, 0.78); margin-bottom: 28px; }
.cta-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Pakete-Sub-Sections für pakete.html */
.pakete-section {
  padding: clamp(56px, 10vh, 96px) 0;
}
.pakete-section + .pakete-section {
  padding-top: 0;
}
.pakete-section h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pakete-section .section-title-sub {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* Werte-Liste auf Über mich */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
@media (max-width: 760px) { .values-list { grid-template-columns: 1fr; } }
.value-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.value-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.value-item h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
}
.value-item p { color: rgba(237, 234, 221, 0.75); font-size: 0.93rem; }

/* Vergleichstabelle Agentur vs. Kevin */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare-col.them {
  background: var(--bg-card);
  opacity: 0.85;
}
.compare-col.us {
  background: var(--bg-card);
  border-color: var(--lime);
  position: relative;
}
.compare-col.us::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--lime);
  border-radius: var(--radius) var(--radius) 0 0;
}
.compare-col h3 { margin-bottom: 4px; font-size: 1.1rem; }
.compare-col .compare-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.compare-col ul { list-style: none; }
.compare-col li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
  color: rgba(237, 234, 221, 0.85);
}
.compare-col li:first-child { border-top: 0; padding-top: 0; }
.compare-col.them li::before { content: "✕"; color: var(--warn); flex-shrink: 0; }
.compare-col.us li::before { content: "✓"; color: var(--lime); flex-shrink: 0; }

/* Prozess-Schritte */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.process-step-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: rgba(237, 234, 221, 0.72); }

/* Direkte Kontakt-Section */
.contact-direct .contact-channels {
  margin: 0 auto 56px;
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   INTRO-PILL (kleine Kevin-Tagline oben im Hero)
   ═══════════════════════════════════════════════════════════════ */
.intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin-bottom: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.intro-pill:hover {
  border-color: var(--lime);
  transform: translateY(-1px);
  background: var(--bg-elev);
}
.intro-pill-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 65% center;
  filter: grayscale(100%) brightness(1.05);
  border: 1.5px solid rgba(184, 232, 52, 0.4);
  flex-shrink: 0;
}
.intro-pill-text {
  display: flex;
  flex-direction: column;
  font-size: 0.84rem;
  line-height: 1.3;
}
.intro-pill-name {
  font-weight: 600;
  color: var(--cream);
}
.intro-pill-sub {
  color: var(--muted);
  font-size: 0.78rem;
}
.intro-pill-sub::after {
  content: " →";
  color: var(--lime);
}

/* ═══════════ PROBLEM-BRIDGE auf Lösungen-Seite ═══════════ */
.problem-bridge {
  padding: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 56px);
}
.problem-bridge .problem-hero {
  margin-bottom: 0;
}
.problem-bridge-caption {
  text-align: center;
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--cream);
  opacity: 0.85;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CHAOS-STATEMENT (full-width Bild zwischen Hero und Problem-Cards)
   ═══════════════════════════════════════════════════════════════ */
.chaos-statement {
  padding: 0;
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chaos-statement-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════
   POLISH-PASS v5: Interaktivität, visuelle Tiefe, sauberere Details
   ═══════════════════════════════════════════════════════════════ */

/* ── Problem-Cards: mehr Schmerz, mehr Interaktivität ── */
.problem-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.problem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232, 93, 79, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 93, 79, 0.45);
  box-shadow: 0 14px 40px -12px rgba(232, 93, 79, 0.25);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(232, 93, 79, 0.04) 100%);
}
.problem-card:hover::after { opacity: 1; }
.problem-num {
  animation: painPulse 4s ease-in-out infinite;
  display: inline-block;
}
.problem-card:hover .problem-num {
  animation-duration: 1.2s;
  text-shadow: 0 0 32px rgba(232, 93, 79, 0.55);
}
@keyframes painPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%      { text-shadow: 0 0 24px rgba(232, 93, 79, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .problem-num { animation: none; }
}

/* ── Pillar-Cards: optisch optimiert ── */
.pillar {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184, 232, 52, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 232, 52, 0.4);
  box-shadow: 0 18px 50px -16px rgba(184, 232, 52, 0.2);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(184, 232, 52, 0.03) 100%);
}
.pillar:hover::before { opacity: 1; }
.pillar-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.pillar:hover .pillar-icon {
  transform: scale(1.12) rotate(8deg);
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(184, 232, 52, 0.45);
}
.pillar:hover .pillar-link {
  color: var(--lime);
}
.pillar:hover .pillar-link::after {
  transform: translateX(6px);
}
.pillar-link::after {
  content: " →";
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ── Range-Slider: visueller Track-Fill, Glow-Thumb, größer beim Anfassen ── */
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--lime) 0%,
    var(--lime) var(--val, 50%),
    var(--line-2) var(--val, 50%),
    var(--line-2) 100%
  );
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: background 0.1s ease;
}
/* Webkit Thumb */
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 0 0 rgba(184, 232, 52, 0.4),
              0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease,
              box-shadow 0.2s ease;
}
.calc input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(184, 232, 52, 0.18),
              0 4px 16px rgba(0, 0, 0, 0.5);
}
.calc input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.25);
  box-shadow: 0 0 0 12px rgba(184, 232, 52, 0.28),
              0 6px 24px rgba(184, 232, 52, 0.4);
}
/* Firefox Thumb */
.calc input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 0 0 rgba(184, 232, 52, 0.4),
              0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.calc input[type="range"]:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(184, 232, 52, 0.18);
}
.calc input[type="range"]:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.25);
  box-shadow: 0 0 0 12px rgba(184, 232, 52, 0.28),
              0 6px 24px rgba(184, 232, 52, 0.4);
}
/* Live-Update der Calc-Result-Zahl beim Slider-Bewegen */
.calc-amount {
  transition: text-shadow 0.3s ease;
}
.calc.is-dragging .calc-amount {
  text-shadow: 0 0 32px rgba(184, 232, 52, 0.6);
}
.calc-value {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.calc.is-dragging .calc-value {
  color: var(--cream);
  transform: scale(1.08);
}

/* ── Review-Quote: typografisch saubere deutsche Anführungszeichen ── */
.review-text {
  position: relative;
  padding-left: 28px;
}
.review-text::before {
  content: "„";
  position: absolute;
  left: -4px;
  top: -8px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--lime);
  opacity: 0.6;
  pointer-events: none;
}
.review-text::after {
  content: "“";
  font-family: var(--serif);
  font-style: normal;
  color: var(--lime);
  opacity: 0.6;
  margin-left: 2px;
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
}


/* ═══════════════════════════════════════════════════════════════
   POLISH-PASS v6
   ═══════════════════════════════════════════════════════════════ */

/* ── Section-Übergänge mit Lime-Glow auf JEDEN Übergang ── */
section + section,
header + section,
section + footer {
  position: relative;
}
section + section::before,
header + section::before,
section + footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 232, 52, 0.55), transparent);
  z-index: 0;
  pointer-events: none;
}
section > .wrap, footer > .wrap { position: relative; z-index: 2; }
section + section::after,
header + section::after,
section + footer::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 80px;
  background: radial-gradient(ellipse at top, rgba(184, 232, 52, 0.18), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

/* Alte spezifische Section-Übergangs-Regeln deaktivieren (überschrieben durch obige) */

/* ── Pakete-Cards: visueller, mehr Schmackes ── */
.paket {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: visible;
}
.paket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(184, 232, 52, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}
.paket-badge {
  z-index: 5;
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.4);
}
.paket:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 232, 52, 0.35);
  box-shadow: 0 20px 50px -16px rgba(184, 232, 52, 0.18);
}
.paket:hover::before { opacity: 1; }
.paket-price {
  text-shadow: 0 0 30px rgba(184, 232, 52, 0.35);
  transition: text-shadow 0.4s ease;
}
.paket:hover .paket-price { text-shadow: 0 0 48px rgba(184, 232, 52, 0.55); }
.paket.featured {
  border-color: rgba(184, 232, 52, 0.5);
  box-shadow: 0 14px 50px -18px rgba(184, 232, 52, 0.3);
  transform: scale(1.02);
}
.paket.featured::before { opacity: 0.6; }
.paket.featured:hover { transform: scale(1.04) translateY(-6px); }
.paket-features li {
  transition: transform 0.2s ease, color 0.2s ease;
}
.paket:hover .paket-features li:hover {
  color: var(--cream);
  transform: translateX(4px);
}

/* ── Kontakt-Cards (channel) viel moderner ── */
.channel {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  overflow: hidden;
}
.channel::after {
  content: "→";
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.channel:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 232, 52, 0.45);
  box-shadow: 0 16px 44px -14px rgba(184, 232, 52, 0.22);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(184, 232, 52, 0.04) 100%);
}
.channel:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--lime);
}
.channel:hover .channel-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(184, 232, 52, 0.15);
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(184, 232, 52, 0.4);
}
.channel-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* ── Sticky-CTA visueller mit Backdrop-Blur ── */
.sticky-cta {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 20, 17, 0.85);
  border-top: 1px solid rgba(184, 232, 52, 0.18);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5),
              0 -1px 0 rgba(184, 232, 52, 0.08);
}
.sticky-cta .btn-primary {
  flex: 1;
  box-shadow: 0 4px 16px rgba(184, 232, 52, 0.3);
}
.sticky-cta .btn-call {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 1.3rem;
}

/* ── Pillar-Akkordeon (klickbar, klappt auf) ── */
.pillar {
  cursor: pointer;
  user-select: none;
}
.pillar-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.4s ease,
              opacity 0.4s ease 0.1s;
  opacity: 0;
}
.pillar.is-open .pillar-details {
  max-height: 500px;
  margin-top: 20px;
  opacity: 1;
}
.pillar-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pillar-details li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.92rem;
  color: rgba(237, 234, 221, 0.78);
  border-top: 1px solid var(--line);
}
.pillar-details li:first-child { border-top: 0; }
.pillar-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 600;
}
.pillar-toggle {
  position: absolute;
  top: 18px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(184, 232, 52, 0.1);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--lime);
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.pillar.is-open .pillar-toggle {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--bg);
}
.pillar-link-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-weight: 500;
  font-size: 0.9rem;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
}

/* ── Slogan-Tagline (intelligent eingebaut, ersetzt die Pille) ── */
.hero-slogan,
.page-hero-slogan {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--lime);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  opacity: 0.9;
}
.page-hero-slogan { margin-top: -8px; margin-bottom: 16px; }

/* ── Mobile-Only Helper für Telefonnummer-Sichtbarkeit ── */
.mobile-only { display: list-item; }
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
  .sticky-cta { display: none; }
  .cta-banner-cta a[href^="tel:"]:not(.btn-primary) { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE-OPTIMIERUNG (final pass)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {

  /* Hero — Headline kleiner aber mit Punch */
  .hero { padding: clamp(40px, 8vh, 80px) 0 clamp(32px, 6vh, 64px); }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero p.lede { font-size: 1rem; }

  /* Hero-CTAs vollbreite stacken */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Trust-Stats: 2×2 Grid auf Mobile (4 in Reihe wäre zu eng) */
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-top: 24px;
  }
  .trust-item {
    min-width: 0;
    flex: none;
  }
  .trust-num { font-size: 1.8rem; }
  .trust-label { font-size: 0.85rem; }

  /* Slogans dezenter auf Mobile */
  .hero-slogan { font-size: 0.95rem; margin-bottom: 18px; }
  .page-hero-slogan { font-size: 0.85rem; }

  /* Pakete-Cards einspaltig, Featured nicht skalieren auf Mobile */
  .pakete-grid { grid-template-columns: 1fr; gap: 20px; }
  .paket.featured { transform: none; }
  .paket.featured:hover { transform: translateY(-4px); }

  /* Kontakt-Channels einspaltig */
  .contact-channels { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Pillar-Cards: bessere Touch-Targets, Toggle größer */
  .pillar { padding: 28px 22px; min-height: 0; }
  .pillar-toggle {
    width: 40px;
    height: 40px;
    top: 16px;
    right: 18px;
    font-size: 1.4rem;
  }
  .pillars-grid { gap: 16px; }

  /* Problem-Cards (68/30h/87) full-width stacked */
  .problem-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Section-Padding auf Mobile reduziert */
  section { padding: clamp(48px, 8vh, 80px) 0; }

  /* CTA-Banner-Buttons stacken */
  .cta-banner-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .cta-banner-cta .btn { width: 100%; justify-content: center; }

  /* Range-Slider Thumb dicker für Touch */
  .calc input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }
  .calc input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
  .calc input[type="range"] { height: 8px; }
  .calc-inputs { gap: 32px; }

  /* About-Stats kompakter */
  .about-stats { gap: 12px; }
  .about-stat-num { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Über-Mich Hero: Foto und Text untereinander, nicht 2-spaltig */
  .page-hero .wrap[style*="grid-template-columns: auto 1fr"] {
    display: block !important;
  }
  .page-hero .kevin-frame { margin: 0 auto 24px !important; }

  /* Footer: Spalten kompakter */
  .foot-grid { gap: 32px; }

  /* Touch-Target-Mindestgröße: alle Links/Buttons mind. 44×44px */
  .nav-links a,
  .foot-col a,
  .pillar-link-detail {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Mobile-only Phone-Number im Footer sichtbar machen */
  .foot-col .mobile-only { display: list-item !important; }

  /* Sticky-CTA: Padding-Bottom hinzufügen, damit Content nicht abgeschnitten */
  body { padding-bottom: 80px; }

  /* Display-Headlines auf Mobile besser umbrechen */
  .display { hyphens: auto; word-break: break-word; }

  /* Compare-Spalten (Agentur vs. Kevin) untereinander */
  .compare { grid-template-columns: 1fr; gap: 12px; }

  /* Werte-Liste single column */
  .values-list { grid-template-columns: 1fr; gap: 12px; }

  /* Process: 1 column auf sehr kleinen, 2 auf mittlerem mobile */
  .process { grid-template-columns: 1fr; gap: 12px; }
}

/* Sehr kleine Geräte (alte iPhones, kleine Androids) */
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(2rem, 12vw, 2.8rem); }
  .hero-trust { gap: 16px 12px; }
  .trust-num { font-size: 1.6rem; }
  .display { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .wrap { padding-left: 16px; padding-right: 16px; }
}

/* Tablets: zwischen Mobile und Desktop */
@media (min-width: 761px) and (max-width: 980px) {
  .hero-trust { gap: 20px; }
  .pakete-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-channels { grid-template-columns: repeat(2, 1fr) !important; }
  .pillars-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

/* Sehr breite Bildschirme: Inhalts-Container nicht zu breit */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}


/* ═══════════════════════════════════════════════════════════════
   FOTOBOX-SPECIFIC: 360°-Animation, Anlässe-Cards, Pakete-Polish
   ═══════════════════════════════════════════════════════════════ */

/* 360°-Animation um den Hero (rotierender Kreis aus Lime-Punkten) */
.fb-orbit {
  position: absolute;
  width: clamp(400px, 50vw, 720px);
  height: clamp(400px, 50vw, 720px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.fb-orbit::before,
.fb-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(184, 232, 52, 0.25);
  inset: 0;
  animation: fbRotate 28s linear infinite;
}
.fb-orbit::after {
  inset: 12%;
  border-style: dotted;
  border-color: rgba(184, 232, 52, 0.18);
  animation-direction: reverse;
  animation-duration: 38s;
}
.fb-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(184, 232, 52, 0.7);
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  animation: fbRotateDot 12s linear infinite;
}
@keyframes fbRotate {
  to { transform: rotate(360deg); }
}
@keyframes fbRotateDot {
  to { transform: translateX(-50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fb-orbit::before, .fb-orbit::after, .fb-orbit-dot { animation: none; }
}

.hero.fotobox-hero {
  background: var(--bg);
  text-align: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 14vh, 160px) 0;
}
.hero.fotobox-hero .hero-inner {
  text-align: center; position: relative; z-index: 2;
  max-width: 820px; margin: 0 auto;
}
.hero.fotobox-hero .display { font-size: clamp(2.6rem, 7vw, 5rem); }
.hero.fotobox-hero p.lede { max-width: 56ch; margin: 0 auto 36px; }
.hero.fotobox-hero .hero-cta { justify-content: center; }

.anlaesse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 880px) { .anlaesse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .anlaesse-grid { grid-template-columns: 1fr; } }
.anlass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  background: var(--bg-card);
}
/* Bild-Background-Layer */
.anlass-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.78) saturate(1.05);
}
.anlass:hover .anlass-bg {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.15);
}
/* Dunkler Verlauf von unten — damit Text lesbar bleibt */
.anlass::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 13, 11, 0.15) 0%,
    rgba(10, 13, 11, 0.55) 55%,
    rgba(10, 13, 11, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
/* Lime-Glow im Hover */
.anlass::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184, 232, 52, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.anlass:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 232, 52, 0.45);
  box-shadow: 0 14px 40px -14px rgba(184, 232, 52, 0.25);
}
.anlass:hover::after { opacity: 1; }

/* Content sitzt drüber */
.anlass-content {
  position: relative;
  z-index: 3;
  padding: 28px 24px 24px;
  margin-top: auto;
}
.anlass-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(184, 232, 52, 0.18);
  border: 1.5px solid rgba(184, 232, 52, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease, border-color 0.3s ease;
}
.anlass:hover .anlass-icon {
  transform: scale(1.12) rotate(-8deg);
  background: rgba(184, 232, 52, 0.3);
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(184, 232, 52, 0.4);
}
.anlass h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.anlass p {
  color: rgba(237, 234, 221, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.fb-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 40px; max-width: 720px;
}
@media (max-width: 600px) { .fb-features { grid-template-columns: 1fr; } }
.fb-features li {
  list-style: none;
  padding: 16px 20px 16px 48px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fb-features li::before {
  content: "✓";
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%; background: var(--lime); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}
.fb-features li:hover {
  transform: translateX(4px);
  border-color: rgba(184, 232, 52, 0.3);
}

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 40px;
}
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 9 / 16;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-2));
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--lime); opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover { opacity: 0.85; transform: scale(1.02); }

.fb-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 0.88rem;
  transition: color 0.2s ease;
}
.fb-back-link:hover { color: var(--lime); }
.fb-back-link::before {
  content: "←"; display: inline-block;
  transition: transform 0.3s ease;
}
.fb-back-link:hover::before { transform: translateX(-3px); }

/* ═══════════════════════════════════════════════════════════════
   EVENT-ANIMATIONEN — Pro Card-Typ subtile Themen-Animation
   ═══════════════════════════════════════════════════════════════ */

/* Floating-Particles über jeder Card (subtle, atmosphärisch) */
.anlass-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.anlass-particles span {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  font-size: 1.4rem;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  filter: drop-shadow(0 0 4px rgba(184, 232, 52, 0.4));
}

/* Hover: Particles werden sichtbar */
.anlass:hover .anlass-particles span {
  opacity: 0.7;
}

/* Hochzeit — schwebende Herzen */
.anlass-hochzeit .anlass-particles span:nth-child(1) { left: 12%; animation: floatUp 4.5s -0.5s infinite; }
.anlass-hochzeit .anlass-particles span:nth-child(2) { left: 38%; animation: floatUp 5.2s -2.1s infinite; }
.anlass-hochzeit .anlass-particles span:nth-child(3) { left: 65%; animation: floatUp 4.8s -3.2s infinite; }
.anlass-hochzeit .anlass-particles span:nth-child(4) { left: 88%; animation: floatUp 5.5s -1.4s infinite; }

/* Geburtstag — fallende Konfetti */
.anlass-geburtstag .anlass-particles span:nth-child(1) { left: 18%; animation: confettiFall 3.8s -0.3s infinite; }
.anlass-geburtstag .anlass-particles span:nth-child(2) { left: 42%; animation: confettiFall 4.2s -1.8s infinite; }
.anlass-geburtstag .anlass-particles span:nth-child(3) { left: 70%; animation: confettiFall 3.5s -2.7s infinite; }
.anlass-geburtstag .anlass-particles span:nth-child(4) { left: 92%; animation: confettiFall 4.5s -1.1s infinite; }

/* Abiball — schwebende Sterne */
.anlass-abiball .anlass-particles span:nth-child(1) { left: 15%; animation: twinkle 3.2s -0.5s infinite, floatUp 6s -0.5s infinite; }
.anlass-abiball .anlass-particles span:nth-child(2) { left: 45%; animation: twinkle 2.8s -1.5s infinite, floatUp 7s -1.5s infinite; }
.anlass-abiball .anlass-particles span:nth-child(3) { left: 75%; animation: twinkle 3.5s -2.2s infinite, floatUp 6.5s -2.2s infinite; }

/* Firmenfeier — Funken / Lichtblitze */
.anlass-firmenfeier .anlass-particles span:nth-child(1) { left: 20%; animation: spark 2.5s -0.2s infinite; }
.anlass-firmenfeier .anlass-particles span:nth-child(2) { left: 55%; animation: spark 2.8s -1.4s infinite; }
.anlass-firmenfeier .anlass-particles span:nth-child(3) { left: 82%; animation: spark 2.2s -0.8s infinite; }

/* Messe — Pulsierende Glow-Punkte */
.anlass-messe .anlass-particles span:nth-child(1) { left: 25%; animation: pulse 2.8s -0.5s infinite; }
.anlass-messe .anlass-particles span:nth-child(2) { left: 55%; animation: pulse 3.2s -1.5s infinite; }
.anlass-messe .anlass-particles span:nth-child(3) { left: 80%; animation: pulse 2.5s -2.1s infinite; }

/* Privatparty — bouncende Emojis */
.anlass-privat .anlass-particles span:nth-child(1) { left: 14%; animation: bounce 2.2s -0.4s infinite; }
.anlass-privat .anlass-particles span:nth-child(2) { left: 42%; animation: bounce 2.6s -1.5s infinite; }
.anlass-privat .anlass-particles span:nth-child(3) { left: 70%; animation: bounce 2.4s -0.9s infinite; }
.anlass-privat .anlass-particles span:nth-child(4) { left: 90%; animation: bounce 2.8s -2.0s infinite; }

/* Keyframes */
@keyframes floatUp {
  0%   { transform: translateY(110%) scale(0.7); opacity: 0; }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-30%) scale(1.1); opacity: 0; }
}
@keyframes confettiFall {
  0%   { transform: translateY(-30%) rotate(0deg) scale(0.8); opacity: 0; }
  15%  { opacity: 0.85; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(110%) rotate(360deg) scale(1); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}
@keyframes spark {
  0%   { transform: translateY(80%) scale(0.4); opacity: 0; }
  30%  { opacity: 1; transform: translateY(40%) scale(1.1); }
  60%  { opacity: 0.6; }
  100% { transform: translateY(-20%) scale(0.6); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.4); opacity: 0.9; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(60%) scale(1); opacity: 0.6; }
  50%      { transform: translateY(20%) scale(1.15); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .anlass-particles span { animation: none !important; opacity: 0 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PAKETE — Section-Header Tabs (Vorschau auf 3 Pakete)
   ═══════════════════════════════════════════════════════════════ */
.pakete-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pakete-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--cream);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.pakete-tab:hover {
  border-color: rgba(184, 232, 52, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(184, 232, 52, 0.25);
}
.pakete-tab-num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--lime);
  letter-spacing: 0.05em;
  line-height: 1;
}
.pakete-tab-label { font-weight: 600; }
.pakete-tab-price {
  font-weight: 700;
  color: var(--lime);
  margin-left: 4px;
}
.pakete-tab-featured {
  background: rgba(184, 232, 52, 0.08);
  border-color: rgba(184, 232, 52, 0.4);
}
.pakete-tab-featured:hover {
  background: rgba(184, 232, 52, 0.12);
}
@media (max-width: 660px) {
  .pakete-tabs { gap: 8px; }
  .pakete-tab { padding: 8px 14px; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM-CONFIG-BOX (Pakete individuell möglich) — visualler
   ═══════════════════════════════════════════════════════════════ */
.custom-config-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg,
    rgba(184, 232, 52, 0.08) 0%,
    rgba(184, 232, 52, 0.03) 50%,
    var(--bg-card) 100%);
  border: 1px solid rgba(184, 232, 52, 0.25);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 64px auto 0;
  max-width: 820px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.custom-config-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(184, 232, 52, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: customGlow 6s ease-in-out infinite alternate;
}
@keyframes customGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(-30px, 20px) scale(1.15); opacity: 1; }
}
.custom-config-box:hover {
  border-color: rgba(184, 232, 52, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -16px rgba(184, 232, 52, 0.3);
}

.custom-config-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(184, 232, 52, 0.15);
  border: 1.5px solid rgba(184, 232, 52, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  position: relative;
  z-index: 2;
  animation: configPulse 3s ease-in-out infinite;
}
.custom-config-icon svg { width: 38px; height: 38px; }
@keyframes configPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 232, 52, 0.4),
                0 0 24px rgba(184, 232, 52, 0.25);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(184, 232, 52, 0),
                0 0 32px rgba(184, 232, 52, 0.4);
  }
}
.custom-config-box:hover .custom-config-icon {
  transform: rotate(15deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-config-content { position: relative; z-index: 2; }
.custom-config-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  padding: 4px 12px;
  background: rgba(184, 232, 52, 0.12);
  border: 1px solid rgba(184, 232, 52, 0.3);
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 700;
}
.custom-config-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-bottom: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.custom-config-content p {
  color: rgba(237, 234, 221, 0.85);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.custom-config-content p strong {
  color: var(--cream);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(184, 232, 52, 0.18) 60%);
  padding: 0 2px;
}
.custom-config-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.custom-config-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 660px) {
  .custom-config-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
  }
  .custom-config-icon { margin: 0 auto; width: 64px; height: 64px; }
  .custom-config-icon svg { width: 32px; height: 32px; }
  .custom-config-cta { justify-content: center; }
  .custom-config-content h3 { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   ANLASS-TAG (statt Emoji-Icon) + CSS-only Light-Particles
   ═══════════════════════════════════════════════════════════════ */
.anlass-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--lime);
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(184, 232, 52, 0.12);
  border: 1px solid rgba(184, 232, 52, 0.35);
  border-radius: 999px;
  text-shadow: 0 0 8px rgba(184, 232, 52, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s ease, background 0.3s ease;
}
.anlass:hover .anlass-tag {
  transform: scale(1.05);
  background: rgba(184, 232, 52, 0.2);
}

/* Particles als kleine Lime-Lichter (KEINE Emojis mehr) */
.anlass-particles span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(184, 232, 52, 0.8),
              0 0 24px rgba(184, 232, 52, 0.4);
  font-size: 0;  /* falls noch Text drin wäre */
}

/* Spezielle Größen pro Theme — etwas Variation */
.anlass-hochzeit .anlass-particles span { width: 10px; height: 10px; }
.anlass-abiball .anlass-particles span { width: 12px; height: 12px; }
.anlass-firmenfeier .anlass-particles span { width: 6px; height: 6px; }
.anlass-messe .anlass-particles span { width: 10px; height: 10px; }
.anlass-privat .anlass-particles span { width: 9px; height: 9px; }



/* ═══════════════════════════════════════════════════════════════
   MOBILE & RENDER-FIXES · Stand 27. April 2026
   Behebt:
   ✓ Header-Transparenz beim Scrollen (iOS Safari Backdrop-Bug)
   ✓ Anlass-Karten zu dunkel — Bilder kaum sichtbar
   ✓ Anlass-Karten Mobile-Höhe garantieren
   ✓ Custom-Config-CTA Mobile: Hint wird nicht mehr abgeschnitten
   ✓ Body-Scroll lock wenn Mobile-Menü offen
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1) HEADER OPACITY ──────────────────────────────────────
   Default-Background opaker (96%), Blur nur als Bonus per @supports.
   In Browsern ohne backdrop-filter (oder iOS-Safari mit Bug)
   schimmert dann der Inhalt nicht mehr durch. */
.nav {
  background: rgba(10, 13, 11, 0.96) !important;
}
.nav.is-scrolled {
  background: rgba(10, 13, 11, 0.98) !important;
}
@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .nav {
    background: rgba(10, 13, 11, 0.85) !important;
  }
  .nav.is-scrolled {
    background: rgba(10, 13, 11, 0.92) !important;
  }
}

/* ─── 2) ANLASS-KARTEN: BESSER SICHTBAR ──────────────────────
   Vorher rendert filter:brightness(0.78) + dunkler Gradient die
   Karten fast schwarz auf schwarzem Background. Bilder waren
   kaum erkennbar. Jetzt: Bilder heller, Gradient sanfter. */
.anlass-bg {
  filter: brightness(0.92) saturate(1.08) !important;
}
.anlass:hover .anlass-bg {
  filter: brightness(1.05) saturate(1.18) !important;
}
.anlass::before {
  background: linear-gradient(180deg,
    rgba(10, 13, 11, 0.05) 0%,
    rgba(10, 13, 11, 0.30) 50%,
    rgba(10, 13, 11, 0.85) 100%) !important;
}
/* Lime-Tint im Card-Background als Fallback wenn Bild nicht lädt */
.anlass {
  background: linear-gradient(135deg,
    rgba(184, 232, 52, 0.05) 0%,
    var(--bg-card) 60%,
    rgba(10, 13, 11, 0.92) 100%);
}

/* ─── 3) ANLASS-KARTEN MOBILE: HÖHE + LAYOUT ────────────────
   Auf kleinem Mobile (1-Spalte) brauchen die Karten mehr 
   Höhe damit die Bilder zur Geltung kommen. */
@media (max-width: 480px) {
  .anlass {
    min-height: 280px;
  }
  .anlass-content {
    padding: 24px 22px 22px;
  }
  .anlass-tag {
    font-size: 0.85rem;
  }
}

/* ─── 4) CUSTOM-CONFIG-CTA MOBILE: VERTIKAL STAPELN ──────────
   "Antwort innerhalb 24h" Hint hatte teils zu wenig Platz
   neben dem Button. Jetzt: untereinander, Button voll breit. */
@media (max-width: 480px) {
  .custom-config-cta {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .custom-config-cta .btn {
    width: 100%;
    max-width: 280px;
  }
  .custom-config-hint {
    text-align: center;
  }
}

/* ─── 5) BODY-SCROLL LOCK BEI OFFENEM MOBILE-MENÜ ────────────
   Sonst kann man hinter dem Menü scrollen — verwirrend. */
@media (max-width: 880px) {
  body:has(.nav.open) {
    overflow: hidden;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ENDE MOBILE & RENDER-FIXES
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   28) BURGER-MENÜ: ANGLEICHUNG AN HAUPTSEITE (28.04.2026)
   ───────────────────────────────────────────────────────────────
   Behebt vier zusammenhängende Bugs auf der Fotobox-Subdomain,
   die auf der Hauptseite (dreihundertsechzig.com) bereits gefixt
   sind, hier aber gefehlt haben:

   1) iOS-Notch: Logo + Burger saßen HINTER der Dynamic Island,
      weil safe-area-inset-Padding fehlte. Closed-Nav komplett
      unsichtbar auf iPhone. → calc() mit env() einfügen.

   2) Burger-Icon: Nach Klick "∗" statt sauberem X — die mittlere
      Linie wurde nicht transparent. Wird jetzt mit !important +
      höherem z-index erzwungen, damit keine spätere Regel das
      kaputt-überschreibt.

   3) Menü-Layout: Einträge waren linksbündig (Pixel-Messung:
      Text x=65..250 von 1206px Bildbreite) statt zentriert
      (Hauptseite: x=464..742 = mittig). Ursache: die generelle
      Touch-Target-Regel (Block 2169–2271) setzt display:
      inline-flex, ohne text-align/justify-content zurückzusetzen
      — Items rutschten an die linke Kante.

   4) Trennstriche: Hauptseite zeigt KEINE sichtbaren Linien
      zwischen Menüpunkten. Fotobox hatte sie deutlich, weil das
      reduzierte Padding (8px statt 18px) sie zusammenrückte und
      dadurch sichtbarer machte. → border weg, Padding zurück.
   ═══════════════════════════════════════════════════════════════ */

/* ─── 28.1) iOS NOTCH FIX (env safe-area-inset) ───────────────── */
@media (max-width: 880px) {
  .nav .nav-inner {
    padding-top:    calc(18px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 14px !important;
    padding-left:   max(var(--pad), env(safe-area-inset-left, 0px)) !important;
    padding-right:  max(var(--pad), env(safe-area-inset-right, 0px)) !important;
  }
  body {
    padding-top: calc(84px + env(safe-area-inset-top, 0px));
  }
  /* Mobile-Menü beginnt unterhalb des sicheren Bereichs */
  .nav-links {
    inset: calc(84px + env(safe-area-inset-top, 0px)) 0 auto 0 !important;
  }
}

/* ─── 28.2) BURGER → X SAUBER ANIMIEREN ──────────────────────── */
@media (max-width: 880px) {
  .nav-toggle {
    z-index: 1000 !important;
    position: relative;
  }
  .nav.open .nav-toggle span {
    background: transparent !important;
  }
  .nav.open .nav-toggle span::before {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }
  .nav.open .nav-toggle span::after {
    transform: rotate(-45deg) translate(5px, -5px) !important;
  }
}

/* ─── 28.3) MENÜEINTRÄGE ZENTRIERT, OHNE TRENNSTRICHE ────────── */
@media (max-width: 880px) {
  .nav-links {
    align-items: center !important;
    text-align: center;
  }
  .nav-links li {
    width: 100%;
    list-style: none;
  }
  .nav-links a {
    display: flex !important;
    width: 100% !important;
    padding: 18px 0 !important;
    min-height: auto !important;
    justify-content: center !important;
    text-align: center !important;
    border-bottom: none !important;
    font-size: 1.1rem !important;
  }
}

/* ─── 28.4) SOLIDER MENÜ-HINTERGRUND (Backup) ────────────────── */
@media (max-width: 880px) {
  .nav-links {
    background-color: var(--bg, #0A0D0B) !important;
    background-image: linear-gradient(180deg,
      rgba(10, 13, 11, 1) 0%,
      rgba(10, 13, 11, 0.98) 100%) !important;
    z-index: 999 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  }
  .nav.open .nav-links {
    opacity: 1 !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   29) BURGER-MENÜ FIX V2 (28.04.2026)  [MARKER: BFIX-V2]
   ───────────────────────────────────────────────────────────────
   Nach v1 verblieben:
   - Logo kam in dunkler Farbe (RGB 12, also = Hintergrund)
     statt cream (RGB 230) → unsichtbar
   - Burger→X kreuzte sich mit Offset → asymmetrische Form
   
   v2 erzwingt Logo-Sichtbarkeit explizit per !important und
   ersetzt die translate-basierte X-Animation durch einen
   einfacheren rotate-only-Transform an y=0.
   ═══════════════════════════════════════════════════════════════ */

/* ─── 29.1) LOGO-SICHTBARKEIT ERZWINGEN ──────────────────────── */
@media (max-width: 880px) {
  .nav .logo,
  .nav .logo > span {
    color: var(--cream) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav .logo {
    display: flex !important;
  }
  .nav .logo > span > em {
    color: var(--lime) !important;
  }
  .nav .logo .logo-mark {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ─── 29.2) BURGER → X MIT EINFACHEM ROTATE OHNE TRANSLATE ───── */
@media (max-width: 880px) {
  .nav.open .nav-toggle span {
    background: transparent !important;
  }
  .nav.open .nav-toggle span::before {
    top: 0 !important;
    transform: rotate(45deg) !important;
    transform-origin: center center !important;
  }
  .nav.open .nav-toggle span::after {
    top: 0 !important;
    transform: rotate(-45deg) !important;
    transform-origin: center center !important;
  }
}


/* ===============================================================
   30) BURGER-MENUE FIX V3 (28.04.2026) [MARKER: BFIX-V3]
   ---------------------------------------------------------------
   Logo war in v2 immer noch unsichtbar. Pixel-Analyse zeigt:
   Element wird gar nicht gerendert (kein Pixel im Logo-Bereich
   selbst bei 6x Kontrast-Boost).
   
   v3 nutzt maximale Spezifizitaet (nav#nav .nav-inner > a.logo)
   und setzt JEDE potenziell hidden machende Property explizit
   zurueck.
   =============================================================== */

@media (max-width: 880px) {
  nav#nav .nav-inner > a.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #EDEADD !important;
    width: auto !important;
    height: auto !important;
    min-width: 1px !important;
    min-height: 32px !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1001 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    text-indent: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    flex-shrink: 0 !important;
    pointer-events: auto !important;
  }
  
  nav#nav .nav-inner > a.logo > span {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #EDEADD !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
  }
  
  nav#nav .nav-inner > a.logo > span > em {
    color: #B8E834 !important;
    font-style: italic !important;
    font-weight: 500 !important;
  }
  
  nav#nav .nav-inner > a.logo > img.logo-mark {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }
}
