/* ============================================================
   app-maker.fun — Stylesheet
   Basiert auf Decode Design System (1:1 von Bon.line übernommen).
   Tokens, Reset, Nav, Hero. Weitere Sections folgen iterativ.
   ============================================================ */

/* ---------- 1. Self-hosted Fonts ---------- */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Brand */
  --brand-violet:        #7c5fdc;
  --brand-violet-dark:   #6646c4;
  --brand-pink:          #ff4d8d;
  --brand-gradient:      linear-gradient(135deg, #7c5fdc 0%, #ff4d8d 100%);
  --cta-gradient:        linear-gradient(125deg, #6d00ff, #f60054);

  /* Surface */
  --bg:                  #ffffff;
  --bg-soft:             #fafaf9;
  --bg-muted:            #f5f4f3;
  --bg-glass:            rgba(255, 255, 255, 0.8);

  /* Text */
  --text:                #0e0e10;
  --text-secondary:      #3f3f46;
  --text-muted:          #71717a;
  --text-faint:          #a1a1aa;

  /* Border */
  --border:              #e5e5e5;
  --border-soft:         #efefef;
  --border-strong:       #d4d4d8;

  /* Typography */
  --font-display:        'Instrument Serif', Georgia, serif;
  --font-body:           'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --container-w:         1200px;
  --container-narrow:    760px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
}

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---------- 4. Layout-Helfer ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-violet);
  margin-bottom: 1rem;
}

/* ---------- 5. Buttons ---------- */
.btn-primary, .btn-secondary, .btn-text, .btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--r-md);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--text);
  color: white;
  padding: 0.7rem 1.25rem;
  border-color: var(--text);
}
.btn-primary:hover {
  background: var(--brand-violet-dark);
  border-color: var(--brand-violet-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 95, 220, 0.25);
}
.btn-secondary {
  background: white;
  color: var(--text);
  padding: 0.7rem 1.25rem;
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.btn-text {
  color: var(--text-secondary);
  padding: 0.7rem 0.5rem;
}
.btn-text:hover { color: var(--text); }
.btn-gradient {
  background: var(--cta-gradient);
  color: white;
  padding: 0.7rem 1.25rem;
  box-shadow: 0 4px 14px rgba(109, 0, 255, 0.25);
}
.btn-gradient:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(109, 0, 255, 0.32);
}
.btn-lg { font-size: 1rem; padding: 0.9rem 1.6rem; }
.btn-xl { font-size: 1.05rem; padding: 1rem 2rem; }

.arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-gradient:hover .arrow,
.btn-primary:hover .arrow { transform: translateX(4px); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}
.nav-logo .logo-svg { display: block; height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 0.3rem;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  letter-spacing: 0.005em;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(124, 95, 220, 0.08);
}

.nav-cta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -68px;
  padding: calc(68px + 4rem) 1.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 95, 220, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 77, 141, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 95, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 95, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
}

.hero-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  animation: fadeInUp 0.6s ease-out;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 0 0 3px rgba(124, 95, 220, 0.2);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(124, 95, 220, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(124, 95, 220, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease-out 0.1s both;
  font-feature-settings: "ss01", "cv11";
}
.hero-title .serif-italic {
  color: var(--text);
  font-size: 1.05em;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

.hero-trust {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: fadeInUp 0.7s ease-out 0.4s both;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.trust-item .check { color: #16a085; font-weight: 700; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 8. Hero-Stage (Builder-Mockup) ---------- */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 4rem auto 0;
  animation: fadeIn 1s ease-out 0.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.builder-window {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow:
    0 30px 80px rgba(124, 95, 220, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: left;
}

.builder-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.builder-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e5e5e5;
}
.builder-dot.r { background: #ff5f56; }
.builder-dot.y { background: #ffbd2e; }
.builder-dot.g { background: #27c93f; }
.builder-url {
  margin-left: 0.8rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.builder-grid {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  min-height: 480px;
}

/* Builder: Linke Spalte — Bausteine */
.builder-sidebar {
  border-right: 1px solid var(--border-soft);
  padding: 1rem 0.8rem;
  background: var(--bg-soft);
}
.builder-section-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem 0.5rem;
}
.builder-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  cursor: grab;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.builder-block:hover {
  border-color: var(--brand-violet);
  transform: translateX(2px);
}
.builder-block-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(124, 95, 220, 0.12), rgba(255, 77, 141, 0.08));
  color: var(--brand-violet);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Builder: Mitte — Phone-Preview */
.builder-preview {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(124, 95, 220, 0.06) 0%, transparent 70%),
    var(--bg);
  position: relative;
}
.builder-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 95, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 95, 220, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 220px;
  height: 440px;
  background: #1a1a1d;
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 20px 60px rgba(124, 95, 220, 0.20),
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.phone::before {
  /* Notch */
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #0a0a0c;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-header {
  background: var(--brand-gradient);
  color: white;
  padding: 2.5rem 1rem 0.9rem;
  text-align: center;
}
.phone-header h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phone-header span {
  display: block;
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 2px;
}

.phone-content {
  flex: 1;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
}
.phone-card {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
}
.phone-card strong { color: var(--text); font-size: 0.72rem; }
.phone-card-new {
  opacity: 0;
  animation: phoneCardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes phoneCardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.phone-nav {
  background: white;
  border-top: 1px solid var(--border-soft);
  padding: 0.4rem 0.6rem 0.7rem;
  display: flex;
  justify-content: space-around;
}
.phone-nav-item {
  width: 24px;
  height: 4px;
  background: var(--bg-muted);
  border-radius: 2px;
}
.phone-nav-item.active { background: var(--brand-violet); }

/* Fliegender Block — Drag-Animation */
.flying-block {
  position: absolute;
  background: white;
  border: 1px solid var(--brand-violet);
  border-radius: var(--r-md);
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 12px 32px rgba(124, 95, 220, 0.35);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform-origin: center;
}
.flying-block-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand-gradient);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
}
/* Drei Flugbahnen, jeweils 12s gesamt, gestaffelt */
.flying-block.fb-1 { animation: flyToPhone1 12s ease-in-out infinite; }
.flying-block.fb-2 { animation: flyToPhone2 12s ease-in-out infinite; animation-delay: 4s; }
.flying-block.fb-3 { animation: flyToPhone3 12s ease-in-out infinite; animation-delay: 8s; }

@keyframes flyToPhone1 {
  0%   { opacity: 0; top: 60px;  left: 30px;  transform: scale(0.9) rotate(-2deg); }
  6%   { opacity: 1; }
  20%  { opacity: 1; top: 60px;  left: 30px;  transform: scale(1) rotate(-2deg); }
  35%  { opacity: 1; top: 140px; left: 280px; transform: scale(1.05) rotate(3deg); }
  42%  { opacity: 1; top: 200px; left: 360px; transform: scale(1) rotate(0deg); }
  46%  { opacity: 0; top: 220px; left: 380px; transform: scale(0.5) rotate(0deg); }
  100% { opacity: 0; top: 220px; left: 380px; transform: scale(0.5); }
}
@keyframes flyToPhone2 {
  0%   { opacity: 0; top: 110px; left: 30px;  transform: scale(0.9) rotate(2deg); }
  6%   { opacity: 1; }
  20%  { opacity: 1; top: 110px; left: 30px;  transform: scale(1) rotate(2deg); }
  35%  { opacity: 1; top: 170px; left: 280px; transform: scale(1.05) rotate(-3deg); }
  42%  { opacity: 1; top: 240px; left: 360px; transform: scale(1) rotate(0deg); }
  46%  { opacity: 0; top: 260px; left: 380px; transform: scale(0.5) rotate(0deg); }
  100% { opacity: 0; top: 260px; left: 380px; transform: scale(0.5); }
}
@keyframes flyToPhone3 {
  0%   { opacity: 0; top: 160px; left: 30px;  transform: scale(0.9) rotate(-1deg); }
  6%   { opacity: 1; }
  20%  { opacity: 1; top: 160px; left: 30px;  transform: scale(1) rotate(-1deg); }
  35%  { opacity: 1; top: 200px; left: 280px; transform: scale(1.05) rotate(2deg); }
  42%  { opacity: 1; top: 280px; left: 360px; transform: scale(1) rotate(0deg); }
  46%  { opacity: 0; top: 300px; left: 380px; transform: scale(0.5) rotate(0deg); }
  100% { opacity: 0; top: 300px; left: 380px; transform: scale(0.5); }
}

/* Cursor, der den fliegenden Block "trägt" */
.builder-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  animation: cursorFollow 12s ease-in-out infinite;
}
@keyframes cursorFollow {
  0%, 6%   { opacity: 0; top: 75px;  left: 50px;  }
  10%      { opacity: 1; top: 75px;  left: 50px;  }
  35%      { opacity: 1; top: 155px; left: 300px; }
  42%      { opacity: 1; top: 215px; left: 380px; }
  46%      { opacity: 0; top: 215px; left: 380px; }
  100%     { opacity: 0; }
}

/* Builder: Rechte Spalte — Eigenschaften */
.builder-props {
  border-left: 1px solid var(--border-soft);
  padding: 1rem 0.9rem;
  background: var(--bg-soft);
}
.builder-props h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.prop-row {
  margin-bottom: 1rem;
}
.prop-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.prop-input {
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
  color: var(--text);
  font-family: inherit;
}
.prop-color-row { display: flex; gap: 0.35rem; }
.prop-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
}
.prop-swatch.active { box-shadow: 0 0 0 2px var(--brand-violet); }

/* Reduce-Motion-Respekt */
@media (prefers-reduced-motion: reduce) {
  .flying-block, .builder-cursor {
    animation: none;
    opacity: 0.4;
  }
  .phone-card-new { animation: none; opacity: 1; }
}

/* ---------- 9. Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-inner { justify-content: space-between; }
}
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .nav { padding: 0.7rem 1rem; }
  .hero { padding: 4rem 1rem 4rem; margin-top: -60px; padding-top: calc(60px + 2.5rem); }
  .builder-grid { grid-template-columns: 1fr; min-height: auto; }
  .builder-sidebar, .builder-props { display: none; }
  .builder-preview { padding: 2.5rem 1rem; }
  .flying-block, .builder-cursor { display: none; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta a { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 0.6rem; }
}

/* ---------- 10. Footer ---------- */
.footer {
  padding: 5rem 1.5rem 3rem;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6rem;
}
.footer-inner { max-width: var(--container-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-svg text { fill: white !important; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  margin-top: 0.8rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a { color: inherit; transition: color 0.2s; }
.footer-bottom a:hover { color: white; }
.footer-bottom i { color: var(--brand-pink); font-style: normal; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   11. PROBLEM-SECTION
   ============================================================ */
.problem {
  padding: 7rem 1.5rem;
  overflow: hidden;
  position: relative;
}
.problem-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  font-feature-settings: "ss01", "cv11";
}
.section-title .serif-italic {
  color: var(--text);
  font-size: 1.05em;
  letter-spacing: -0.015em;
}
.problem-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 1.6rem 0 2rem;
  line-height: 1.65;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.problem-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}
.problem-list .x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.problem-bridge {
  font-size: 1.2rem;
  color: var(--text);
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
}
.problem-bridge strong {
  font-weight: 600;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Visual: 3 kaputte Mockups, gestapelt mit Rotation ---------- */
.problem-visual {
  position: relative;
  min-height: 540px;
}
.broken-mockup {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 280px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.broken-mockup:hover {
  transform: translateY(-4px) rotate(0deg) !important;
  z-index: 10;
}

/* Mockup-Chrome (Header) */
.bm-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.72rem;
}
.bm-status {
  color: #16a085;
  font-size: 0.6rem;
}
.bm-label {
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.bm-time {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.bm-body { padding: 0.9rem; }

/* === Mockup 1: Instagram-Reichweite ↓ === */
.mockup-insta {
  top: 0;
  right: 30px;
  transform: rotate(3deg);
  z-index: 3;
}
.bm-story-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 0.9rem;
}
.bm-story-segment {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  flex: 1;
}
.bm-story-segment.active { background: var(--text); }

.bm-insta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.bm-stat {
  background: var(--bg-soft);
  padding: 0.5rem 0.4rem;
  border-radius: var(--r-sm);
  text-align: center;
}
.bm-stat-num {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.bm-stat-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.bm-flatline {
  height: 44px;
  margin-bottom: 0.7rem;
}
.bm-flatline svg {
  width: 100%;
  height: 100%;
}

.bm-warn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-sm);
}
.bm-warn-icon {
  font-size: 0.85rem;
}

/* === Mockup 2: WhatsApp-Spam === */
.mockup-whatsapp {
  top: 200px;
  left: 0;
  transform: rotate(-2deg);
  z-index: 2;
}
.bm-chrome-wa {
  background: #128c7e;
  color: white;
  padding: 0.6rem 0.8rem;
  border-bottom: none;
}
.bm-wa-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.bm-wa-meta { flex: 1; }
.bm-wa-name {
  font-weight: 600;
  font-size: 0.78rem;
  color: white;
}
.bm-wa-sub {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1px;
}
.bm-wa-mute { opacity: 0.8; }

.bm-wa-body {
  background: #ece5dd;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bm-msg {
  background: white;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.7rem;
  max-width: 88%;
  position: relative;
}
.bm-msg-author {
  font-size: 0.62rem;
  font-weight: 600;
  color: #128c7e;
  margin-bottom: 1px;
}
.bm-msg-text {
  color: var(--text);
  line-height: 1.35;
}
.bm-msg-spam .bm-msg-text { color: var(--text-muted); }
.bm-msg-important {
  background: rgba(255, 230, 100, 0.4);
  border-left: 3px solid #f59e0b;
  padding-left: 0.5rem;
}
.bm-msg-important .bm-msg-author { color: #b45309; }
.bm-msg-buried {
  display: block;
  margin-top: 4px;
  font-size: 0.58rem;
  color: #dc2626;
  font-weight: 600;
  font-style: italic;
}

/* === Mockup 3: Verstaubte Website === */
.mockup-website {
  bottom: 0;
  right: 0;
  transform: rotate(2deg);
  z-index: 1;
}
.bm-chrome-web {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
}
.bm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d8;
}
.bm-dot.r { background: #ff5f56; }
.bm-dot.y { background: #ffbd2e; }
.bm-dot.g { background: #27c93f; }
.bm-url-web {
  margin-left: 0.4rem;
  flex: 1;
  background: var(--bg-muted);
  border-radius: var(--r-sm);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'SF Mono', Monaco, monospace;
}

.bm-web-body {
  padding: 0;
  position: relative;
  min-height: 150px;
}
.bm-web-header {
  height: 14px;
  background: var(--bg-muted);
  margin: 0.7rem;
  border-radius: 3px;
  width: 70%;
}
.bm-web-line {
  height: 7px;
  background: var(--bg-muted);
  margin: 0.5rem 0.7rem;
  border-radius: 2px;
  opacity: 0.5;
}
.bm-w-80 { width: 80%; }
.bm-w-65 { width: 65%; }
.bm-w-50 { width: 50%; }

.bm-web-dust {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(120, 113, 108, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(120, 113, 108, 0.08) 0%, transparent 40%),
    rgba(245, 244, 243, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-web-overlay {
  background: white;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  text-align: center;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.bm-web-overlay-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.bm-web-overlay-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: #dc2626;
  letter-spacing: -0.01em;
}

/* Subtle float animation für Mockups */
.mockup-insta    { animation: floatA 6s ease-in-out infinite; }
.mockup-whatsapp { animation: floatB 7s ease-in-out infinite; }
.mockup-website  { animation: floatC 8s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: rotate(3deg)  translateY(0); }
  50%      { transform: rotate(3deg)  translateY(-6px); }
}
@keyframes floatB {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-5px); }
}
@keyframes floatC {
  0%, 100% { transform: rotate(2deg)  translateY(0); }
  50%      { transform: rotate(2deg)  translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .mockup-insta, .mockup-whatsapp, .mockup-website {
    animation: none;
  }
}

/* Responsive Problem-Section */
@media (max-width: 980px) {
  .problem { padding: 5rem 1.5rem; }
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .problem-visual {
    min-height: 480px;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .broken-mockup { width: 240px; }
  .problem-visual { min-height: 460px; }
  .mockup-insta { right: 10px; }
  .mockup-whatsapp { top: 170px; left: -10px; }
  .mockup-website { right: -10px; }
}
