/* ============================================
   V1 — Components
   Nav, Buttons, Cards, Footer — alles Pill-Style
   ============================================ */

/* ============== Navigation (Sticky Glass Pill) ============== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: var(--container-max);
  transition: top 0.3s var(--ease-out);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 24px;
  background: rgba(245, 241, 234, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(220, 214, 202, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav.scrolled .nav-inner {
  background: rgba(245, 241, 234, 0.92);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  font-variation-settings: "opsz" 18, "wght" 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff url('../img/logo.png') center/76% no-repeat;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-3deg); }

/* Wenn das Logo-Image fehlt, bleibt ein sauberes weißes Quadrat sichtbar
   statt einem broken-image-icon (CSS background lädt graceful). */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-link:hover { color: var(--ink); background: rgba(20,19,18,0.05); }
.nav-link.active { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 20px;
  background: var(--ink);
  color: var(--ink-inverse);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.nav-cta::after {
  content: "→";
  font-family: var(--font-display);
  transition: transform 0.2s var(--ease-out);
}

.nav-cta:hover::after { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border);
}

.nav-toggle:hover { background: var(--bg-subtle); }

@media (max-width: 860px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-md);
    gap: 2px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    text-align: left;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav-inner { padding: 10px 12px 10px 16px; }
  .nav-logo { font-size: 17px; }
  .nav-logo-mark { width: 26px; height: 26px; border-radius: 6px; }
}

/* ============== Buttons (Pill-Shape!) ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
  line-height: 1;
}

.btn-lg { padding: 20px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn-primary {
  background: var(--ink);
  color: var(--ink-inverse);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* btn-accent: WCAG AA — weißer Text auf #FF5C26 wäre nur 3.05:1.
   Wir setzen den Hintergrund eine Stufe dunkler (--accent-deep #C73E0F = 5.5:1 mit weiß). */
.btn-accent {
  background: var(--accent-deep);
  color: #fff;
  font-weight: 600;
}
.btn-accent:hover {
  background: #A8330C;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(199, 62, 15, 0.30);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20,19,18,0.04);
}

.btn-arrow::after {
  content: "→";
  font-family: var(--font-display);
  transition: transform 0.25s var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============== Pill-Tag / Badge ============== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--bg-deep);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.tag.accent { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-soft); }

/* ============== Cards ============== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 36px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

/* ============== Service-Cards (Grid + Modal-Trigger) ============== */
button.service-card {
  font-family: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Entrance — KEIN translateY mehr (war Pop-Ursache wg. Cascade/Grid-Subpixel).
   Stattdessen: Opacity + leichter Blur. Beides reine Compositor-Properties,
   keine Layout-Verschiebung, kein Pop möglich. */
.service-card.reveal {
  opacity: 0;
  filter: blur(6px);
  /* Override .reveal's translateY(36px) aus animations.css */
  transform: none;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter  0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s var(--ease-out),
    box-shadow   0.4s var(--ease-out),
    background   0.4s var(--ease-out);
}
.service-card.reveal.in {
  opacity: 1;
  filter: blur(0);
}

/* Stagger */
.service-card.reveal[data-delay="100"] { transition-delay: 90ms; }
.service-card.reveal[data-delay="200"] { transition-delay: 180ms; }
.service-card.reveal[data-delay="300"] { transition-delay: 270ms; }

/* Akzent-Glow-Layer (vorm Hover unsichtbar) */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 110%, rgba(255, 92, 38, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 720px) {
  .service-card { min-height: auto; }
}

.service-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(20, 19, 18, 0.10), 0 0 0 1px rgba(255, 92, 38, 0.18);
}
.service-card:hover::before { opacity: 1; }

.service-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-faded);
  letter-spacing: -0.02em;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.35s var(--ease-out), letter-spacing 0.35s var(--ease-out);
}
.service-card:hover .num {
  color: var(--accent);
  letter-spacing: 0;
}

/* B15 — Riesige, halbtransparente Nummer als Watermark im Karten-Hintergrund.
   Zieht jeweils nur die ersten 2 Zeichen ("01", "02", "03", "04") aus data-service. */
.service-card { --watermark: ""; }
.service-card[data-service="design"]  { --watermark: "01"; }
.service-card[data-service="code"]    { --watermark: "02"; }
.service-card[data-service="hosting"] { --watermark: "03"; }
.service-card[data-service="seo"]     { --watermark: "04"; }
.service-card::after {
  content: var(--watermark);
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 500;
  font-size: clamp(140px, 16vw, 220px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--ink);
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.service-card:hover::after {
  opacity: 0.09;
  color: var(--accent);
}
.service-card > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .service-card::after { transition: none; }
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-variation-settings: "opsz" 28, "wght" 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover h3 { transform: translateX(2px); }

.service-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  transition: color 0.35s var(--ease-out);
}
.service-card:hover p { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transform: none !important;
    opacity: 1 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  }
  .service-card:hover { transform: none !important; }
  .service-card h3, .service-card .num, .service-card p {
    transition: none !important;
    transform: none !important;
  }
}

.service-card .card-cta {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-top: 12px;
  position: relative;
}

.service-card .card-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.service-card:hover .card-cta::after {
  width: 110px;
}

/* ============== Service-Modal (saubere Variante) ============== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.service-modal.open { display: flex; }

/* Backdrop: blur und Tönung sofort, nur kurze Opacity-Fade.
   Vorher wurde das ganze Modal 400ms gefadet → Blur kam zu spät rein. */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 18, 0.42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  animation: modal-backdrop-in 0.18s ease-out forwards;
}

.modal-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  /* Keine Default-Animation — diese wurde sonst nach dem Slide-Wechsel erneut
     getriggert, sobald die slide-*-Klassen entfernt werden. → Pop. */
}

/* Erstes Öffnen — eigene Klasse, damit es nicht mit den Slide-Animationen kollidiert */
.modal-card.entering { animation: modal-scale-in 0.5s var(--ease-spring) both; }

/* Slide-Übergang zwischen Modals (forwards persistiert den End-State,
   damit beim Entfernen der Klasse nichts „zurückspringt") */
.modal-card.slide-out-left  { animation: modal-slide-out-left  0.32s cubic-bezier(0.32, 0, 0.67, 0) forwards; }
.modal-card.slide-out-right { animation: modal-slide-out-right 0.32s cubic-bezier(0.32, 0, 0.67, 0) forwards; }
.modal-card.slide-in-left   { animation: modal-slide-in-from-left  0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.modal-card.slide-in-right  { animation: modal-slide-in-from-right 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.modal-intro { display: flex; flex-direction: column; gap: 12px; }
.modal-body { display: flex; flex-direction: column; }
.modal-intro .num { color: var(--accent-deep); }
.modal-body .modal-heading:first-child { margin-top: 0; }

@media (max-width: 720px) {
  .modal-grid { grid-template-columns: 1fr; gap: 24px; }
}

.modal-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-faded);
}

.modal-card .h-2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.95;
  margin-top: 12px;
}

.modal-card .lead { max-width: none; }

.modal-card h3.modal-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 32px;
  margin-bottom: 14px;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.modal-list li {
  position: relative;
  padding: 14px 16px 14px 30px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}

.modal-list li:last-child { border-bottom: none; }

.modal-list li::before {
  content: "→";
  position: absolute;
  left: 6px;
  top: 13px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.modal-list li strong { color: var(--ink); }

.soon-tag {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 3;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.modal-close svg {
  width: 16px;
  height: 16px;
  display: block;
}
.modal-close:hover { background: var(--ink); color: var(--ink-inverse); transform: rotate(90deg); }

/* Navigation zwischen Modals (Prev/Next) — Buttons sind direkte Kinder von
   .service-modal (NICHT der .modal-card, weil deren overflow:auto sie clippen würde).
   Positionierung mit calc(): zur Card-Mitte (= viewport-Mitte) den halben Card-Breite-Wert + Gap. */
.modal-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 241, 234, 0.96);
  color: var(--ink);
  border: 1px solid rgba(20, 19, 18, 0.08);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transform: translateY(-50%);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s var(--ease-out);
  padding: 0;
}
.modal-nav svg { width: 22px; height: 22px; display: block; }
.modal-nav:hover {
  background: var(--ink);
  color: var(--ink-inverse);
  transform: translateY(-50%) scale(1.08);
}
/* Card ist max 960px breit, zentriert. Mit min() klammern wir auf realer Card-Breite */
.modal-nav-prev { right: calc(50% + min(50vw - 48px, 480px) + 20px); }
.modal-nav-next { left:  calc(50% + min(50vw - 48px, 480px) + 20px); }
.modal-nav:disabled,
.modal-nav[hidden] {
  display: none;
}
/* Auf engeren Viewports (Card nimmt fast volle Breite ein) rücken die Pfeile
   nach innen an die Card-Kante. */
@media (max-width: 1100px) {
  .modal-nav-prev { right: auto; left: 16px; }
  .modal-nav-next { left: auto; right: 16px; }
}
@media (max-width: 640px) {
  .modal-nav { width: 44px; height: 44px; }
  .modal-nav-prev { left: 12px; }
  .modal-nav-next { right: 12px; }
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-scale-in {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modal-slide-out-left {
  to { opacity: 0; transform: translateX(-60px) scale(0.96); }
}
@keyframes modal-slide-out-right {
  to { opacity: 0; transform: translateX(60px) scale(0.96); }
}
@keyframes modal-slide-in-from-left {
  from { opacity: 0; transform: translateX(-60px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes modal-slide-in-from-right {
  from { opacity: 0; transform: translateX(60px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

body.modal-open { overflow: hidden; }

/* ============== Prozess-Tabs (interaktiv, statt 4 step-cards) ============== */
.process-tabs {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.process-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.process-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 8px 22px 0;
  font-family: inherit;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
  text-align: left;
  position: relative;
}

.process-tab .step-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-variation-settings: "opsz" 28, "wght" 500;
  color: var(--ink-faded);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.3s var(--ease-out);
}

.process-tab .step-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.process-tab:hover { color: var(--ink); }
.process-tab:hover .step-num { color: var(--ink-soft); }

.process-tab.active {
  color: var(--ink);
}
.process-tab.active .step-num { color: var(--accent); }

.process-indicator {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  width: 25%;
  left: 0;
  transition: left 0.5s var(--ease-out);
  pointer-events: none;
}

.process-content { position: relative; min-height: 320px; }

.process-panel {
  display: none;
  animation: panel-fade 0.6s var(--ease-out);
}

.process-panel.active { display: block; }

.panel-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  text-transform: uppercase;
}

.process-panel .h-2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-variation-settings: "opsz" 56, "wght" 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.panel-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--ink-soft);
}

.panel-list li::before {
  content: "→";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  /* Mobile: Tab-Bar weg, alle Panels untereinander zeigen */
  .process-bar { display: none; }
  .process-content { display: flex; flex-direction: column; gap: 16px; min-height: auto; }
  .process-panel { display: block !important; padding: 24px 0; border-top: 1px solid var(--border); animation: none; }
  .process-panel:first-child { border-top: none; padding-top: 8px; }
  .process-panel .h-2 { font-size: clamp(28px, 8vw, 42px); margin-top: 8px; }
  .panel-list { margin-top: 20px; }
  .panel-list li { padding: 12px 12px 12px 36px; font-size: 14px; }
}

/* ============== Pricing-Section ============== */
.pricing-toggle {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 4px;
  margin: 0 auto 24px;
  position: relative;
  max-width: 100%;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.pricing-toggle {
  display: inline-flex;
  align-self: center;
  margin: 0 auto 24px;
}

.section #pricing,
section#pricing .pricing-toggle {
  display: inline-flex;
}

/* zurücksetzen — die Section hat .container, wir machen zentriert */
.pricing-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 24px;
  position: relative;
}

/* E32 — Gleitender Indikator hinter dem aktiven Button.
   Aktiver Button bekommt Klasse .active, JS togglet die nur — der Indikator
   wird per CSS über data-mode auf .pricing-toggle positioniert. */
.pricing-toggle::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  background: var(--ink);
  border-radius: var(--radius-pill);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 0;
}
.pricing-toggle[data-active="nosetup"]::before {
  transform: translateX(100%);
}

.mode-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--ink-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
  border: 0;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

.mode-btn:hover { color: var(--ink); }

.mode-btn.active {
  color: var(--ink-inverse);
}

.mode-btn .mode-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-note {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pricing-note strong { color: var(--ink); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

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

/* B13 — Premium-Karte als Dark-Variante, optisch klar Top-of-Stack. */
.pricing-card.premium-dark {
  background: var(--bg-ink);
  border-color: var(--bg-ink);
  color: var(--ink-inverse);
}
.pricing-card.premium-dark .tier-name,
.pricing-card.premium-dark .price-amount { color: var(--ink-inverse); }
.pricing-card.premium-dark .tier-desc { color: rgba(245, 241, 234, 0.7); }
.pricing-card.premium-dark .tier-tag { color: var(--accent); }
.pricing-card.premium-dark .price-block {
  border-top-color: rgba(245, 241, 234, 0.18);
  border-bottom-color: rgba(245, 241, 234, 0.18);
}
.pricing-card.premium-dark .price-label,
.pricing-card.premium-dark .price-amount-sm { color: rgba(245, 241, 234, 0.7); }
.pricing-card.premium-dark .tier-features li { color: rgba(245, 241, 234, 0.85); }
.pricing-card.premium-dark .tier-features li::before { color: var(--accent); }
.pricing-card.premium-dark .tier-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pricing-card.premium-dark .tier-cta:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.pricing-card.premium-dark:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(20, 19, 18, 0.32);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-head { display: flex; flex-direction: column; gap: 6px; }

.tier-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.tier-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  font-variation-settings: "opsz" 24, "wght" 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.tier-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.price-block {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-variation-settings: "opsz" 32, "wght" 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

.price-label {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-row.monthly { padding-top: 4px; }

.price-amount-sm {
  font-family: var(--font-display);
  font-size: 16px;
  font-variation-settings: "opsz" 18, "wght" 500;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.tier-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tier-features li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
}

.tier-cta { width: 100%; justify-content: center; }

.pricing-fineprint {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.pricing-fineprint .mono {
  display: inline-block;
  padding: 3px 9px;
  background: var(--ink);
  color: var(--ink-inverse);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 8px;
  vertical-align: middle;
}

/* ============== Who-Card (Zwei-Personen-Karten auf Kontakt/Studio) ============== */
.who-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.who-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.who-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.who-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-variation-settings: "opsz" 32, "wght" 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.who-card p {
  color: var(--ink-soft);
  margin: 0;
}
.who-card .who-contact {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.who-card .who-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.who-card .who-contact a:hover { color: var(--accent); border-color: var(--accent); }
.who-card .who-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.who-card .who-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.who-card .who-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
}

/* ============== Cookie-Banner (rechts unten, animiert) ============== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Initial: versteckt */
  opacity: 0;
  visibility: hidden;
  transform: translateY(32px) translateX(8px) scale(0.94);
  transition:
    opacity 0.5s var(--ease-out),
    visibility 0s linear 0.5s,
    transform 0.7s var(--ease-spring);
  pointer-events: none;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0) scale(1);
  pointer-events: auto;
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0s linear 0s,
    transform 0.75s var(--ease-spring);
}

.cookie-banner.hide {
  opacity: 0;
  transform: translateY(20px) translateX(60px) scale(0.88) rotate(2deg);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.cookie-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  animation: cookie-wiggle 1.2s ease-in-out 3.2s 1 both;
  flex-shrink: 0;
}
.cookie-icon svg { width: 26px; height: 26px; }

/* Wiggle nur 1× nach Erscheinen (C20) — vorher infinite alle 5s = nervig. */
@keyframes cookie-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  55% { transform: rotate(10deg); }
  80% { transform: rotate(-4deg); }
}

.cookie-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-variation-settings: "opsz" 20, "wght" 500;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

.cookie-text strong { color: var(--ink); }

.cookie-text a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease-out);
}

.cookie-text a:hover { color: var(--accent); border-color: var(--accent); }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 11px 20px;
  font-size: 13px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 130px;
}

.cookie-actions .btn-ghost { border-color: var(--border-strong); }

.cookie-details-link {
  display: block;
  width: 100%;
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.cookie-details-link:hover { color: var(--ink); text-decoration: underline; }

.cookie-actions .btn-cookie-accept {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cookie-actions .btn-cookie-accept .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: cookie-ripple 0.6s ease-out;
  pointer-events: none;
}

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

.cookie-link {
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.cookie-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-out);
}

.cookie-close:hover {
  background: var(--bg-deep);
  color: var(--ink);
  transform: rotate(90deg);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    padding: 22px 24px 20px;
  }
  .cookie-title { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-icon, .btn-cookie-accept .ripple {
    animation: none !important;
    transition: opacity 0.2s !important;
  }
}

/* ============== Legal Pages (Impressum, Datenschutz, AGB) ============== */
.legal-content {
  max-width: 72ch;
  margin-inline: auto;
}
.legal-content h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
}
.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  max-width: none;
}
.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}
.legal-content ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.legal-content ol li {
  list-style: decimal;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.legal-content a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.legal-content a:hover { color: var(--accent); border-color: var(--accent); }
.legal-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 48px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.legal-meta strong { color: var(--ink); }
.legal-content address {
  font-style: normal;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============== FAQ-Items (details/summary) ============== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-variation-settings: "opsz" 20, "wght" 500;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 70ch;
  animation: fade-in-up 0.4s var(--ease-out);
}
.faq-item p a { color: var(--ink); }

/* ============== Coming-Soon Card (kommend.html) ============== */
.soon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.soon-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.soon-card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.soon-card .soon-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.soon-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-variation-settings: "opsz" 28, "wght" 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.soon-card-eta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.soon-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.soon-card-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.soon-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ============== Branche-Grid (Für wen wir bauen) ============== */
/* 2×2-Grid: 4 Karten gleicher Größe, Handwerk bekommt Forest-Akzent
   als „Kernfokus"-Markierung (siehe .is-feature unten). */
.branche-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 640px) {
  .branche-bento { grid-template-columns: 1fr; }
}

.branche-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}


.branche-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.branche-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.branche-card:hover .branche-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.branche-card h3 {
  margin-top: 8px;
}

.branche-card > p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.branche-bullets {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.branche-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.branche-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Case Card */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
}

.case-card .case-img {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-subtle));
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card .case-img .initial {
  font-family: var(--font-display);
  font-size: clamp(72px, 7vw, 120px);
  font-variation-settings: "opsz" 96, "wght" 500;
  font-style: italic;
  color: var(--ink-faded);
  line-height: 1;
}

.case-card:hover .case-img { transform: scale(1.01); }

.case-card .case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Process Step */
.step-card {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.step-card:last-child { border-bottom: 1px solid var(--border); }

.step-card .step-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  font-variation-settings: "opsz" 72, "wght" 400;
  line-height: 0.85;
  color: var(--ink-faded);
  letter-spacing: -0.04em;
  min-width: 120px;
}

.step-card .step-body { flex: 1; }

.step-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ============== Marquee ============== */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 38s linear infinite;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-variation-settings: "opsz" 24, "wght" 500;
  letter-spacing: -0.025em;
  color: var(--ink-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.marquee-item::after {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
  display: inline-block;
}

/* ============== Manifest ============== */
.manifest {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 64, "wght" 400;
  color: var(--ink);
  max-width: 22ch;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: normal;
}

.manifest .accent { color: var(--accent); font-style: italic; }
.manifest .strike { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-faded); }

/* ============== Announcement-Banner (cycling) ============== */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.announce:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.announce-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.announce-track {
  display: block;
  position: relative;
  height: 1.4em;
  width: 320px;
  max-width: calc(100vw - 180px);
  overflow: hidden;
  font-size: 13px;
}
.announce-item {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  animation: announce-cycle 15s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
/* 4 Items × 6s = 24s Gesamtdauer (vorher 15s mit 3) → längere Lesezeit */
.announce-item {
  animation-duration: 24s;
}
.announce-item:nth-child(1) { animation-delay: 0s; }
.announce-item:nth-child(2) { animation-delay: 6s; }
.announce-item:nth-child(3) { animation-delay: 12s; }
.announce-item:nth-child(4) { animation-delay: 18s; }

@keyframes announce-cycle {
  0%, 2%    { opacity: 0; transform: translateY(100%); }
  4%, 22%   { opacity: 1; transform: translateY(0); }
  24%, 100% { opacity: 0; transform: translateY(-100%); }
}

/* HOT-Promo-Banner (Discount aktiv) */
.announce-hot {
  background: var(--bg-surface);
  border-color: rgba(255, 92, 38, 0.4);
  box-shadow: 0 0 0 0 rgba(255, 92, 38, 0.45);
  animation: announce-glow 2.4s ease-in-out infinite;
  gap: 14px;
  padding: 6px 18px 6px 6px;
}
.announce-hot:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.announce-tag-hot {
  background: #DC2626;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.14em;
  /* C19 — Tag-Pulse entfernt, der Glow auf dem Banner reicht als Eye-Catcher. */
}
.announce-tag-hot .hot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
  /* C19 — Dot-Blink entfernt: pro HOT-Banner lief vorher 3 Loops parallel. */
}
.announce-hot-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 1px;
}
.announce-hot-content strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.announce-hot-timer {
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.announce-hot-timer #discount-timer {
  color: var(--accent-deep);
  font-weight: 600;
}

@keyframes announce-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 38, 0.40), 0 4px 16px rgba(255, 92, 38, 0.10);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 92, 38, 0.00), 0 8px 28px rgba(255, 92, 38, 0.22);
  }
}
@keyframes hot-tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}
@keyframes hot-dot-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.announce-arrow {
  font-family: var(--font-display);
  color: var(--ink-muted);
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
  flex-shrink: 0;
}
.announce:hover .announce-arrow {
  color: var(--ink);
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .announce { padding: 5px 12px 5px 5px; gap: 8px; }
  .announce-tag { font-size: 10px; padding: 5px 8px; }
  .announce-track { width: 220px; font-size: 12px; }
}

/* ============== Footer ============== */
.footer {
  background: var(--bg-ink);
  color: var(--ink-inverse);
  padding: clamp(80px, 10vw, 140px) 0 36px;
  position: relative;
  overflow: hidden;
}

.footer-cta {
  font-family: var(--font-display);
  /* B17 — kleiner als zuvor (144→96), damit Funnel-CTA-Section weiter oben
     der primäre CTA bleibt und der Footer-CTA als Echo wirkt. */
  font-size: clamp(40px, 6vw, 96px);
  font-variation-settings: "opsz" 72, "wght" 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-inverse);
  margin-bottom: 56px;
  max-width: 100%;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.footer-cta .line-1,
.footer-cta .line-2 {
  display: block;
  line-height: 0.95;
}

.footer-cta .line-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18em;
}

@media (max-width: 640px) {
  .footer-cta { font-size: clamp(32px, 9vw, 48px); margin-bottom: 32px; }
}

.footer-cta .stroke {
  color: var(--accent);
  font-style: italic;
  padding-right: 0.04em;
  font-variation-settings: "opsz" 96, "wght" 500, "ital" 1;
}

.footer-cta .solid {
  display: inline-block;
  color: var(--ink-inverse);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: 16px;
}

.footer ul li {
  padding: 6px 0;
  font-size: 15px;
}

.footer ul li a {
  color: rgba(245, 241, 234, 0.85);
  transition: color 0.2s var(--ease-out);
}

.footer ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  margin-top: 80px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.55);
}
