/* ==========================================================================
   MADEFORCLUBS — Infoseite
   Dunkles Theme, ein Akzent (Sky). Keine externen Requests (DSGVO-freundlich).
   ========================================================================== */

:root {
  /* Farbwelt exakt wie in der App */
  --bg: #0a0a0a;
  --card: #121212;
  --raised: #1a1a1a;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --text-weak: #6b6b6b;

  --sky: #38bdf8;
  --sky-light: #7dd3fc;
  --sky-dark: #0ea5e9;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Glow statt Schatten */
  --glow-sm: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 4px 20px rgba(56, 189, 248, 0.2);
  --glow-lg: 0 0 0 1px rgba(56, 189, 248, 0.4), 0 12px 48px rgba(56, 189, 248, 0.25);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.5rem;

  --maxw: 1200px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sky-light); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- Layout -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section { position: relative; padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--sky);
  opacity: 0.6;
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

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

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  border: 0;
  margin: 0;
}

/* -------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sky);
  color: #04141d;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 6px 26px rgba(56, 189, 248, 0.28);
}
.btn--primary:hover {
  background: var(--sky-light);
  color: #04141d;
  box-shadow: var(--glow-lg);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.07);
  color: var(--text);
}

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; font-size: 0.92rem; padding: 0 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------ Nav -- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.88);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 9px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark {
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}
.brand__mark span { color: var(--sky); }
.brand__by {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-weak);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 6px; }
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: #04141d; }

/* Rechtsseiten: Navigation ohne Burger, immer sichtbar */
.nav__links--static { gap: 18px; }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 96px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg::before {
  /* feines Raster */
  content: "";
  position: absolute;
  inset: -10% -10% 0 -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.hero__bg::after {
  /* blaues Leuchten */
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  width: min(1100px, 130vw);
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.05) 45%, transparent 70%);
  filter: blur(20px);
}

.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.05); }
}

.hero h1 { margin-bottom: 20px; }
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: var(--text-muted);
  max-width: 34ch;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--text-weak);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--sky); flex: none; }

/* --------------------------------------------------------- Phone-Mockup -- */

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #2b2b2b, #101010 45%, #202020);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.22),
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(56, 189, 248, 0.16);
  transform: rotateY(-11deg) rotateX(3deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateY(-11deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-11deg) rotateX(3deg) translateY(-14px); }
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: var(--bg);
  border: 1px solid #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 14px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-weak);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.app-bar strong { color: var(--text); letter-spacing: 0; text-transform: none; font-size: 0.75rem; }

.app-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.app-total {
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 12px;
  padding: 10px 12px;
}
.app-total small { display: block; font-size: 0.58rem; color: var(--text-weak); text-transform: uppercase; letter-spacing: 0.1em; }
.app-total b {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-tile {
  aspect-ratio: 1 / 0.82;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7px;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
}
.app-tile em { font-style: normal; color: var(--text-weak); font-size: 0.52rem; font-weight: 600; }
.app-tile.is-hot {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.09);
  color: var(--text);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.app-status { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.chip--ok { color: var(--success); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08); }
.chip--warn { color: var(--warning); border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.08); }

.app-pay {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-pay div {
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.app-pay div:first-child {
  background: var(--sky);
  color: #04141d;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

/* ---------------------------------------------------------- Stats-Strip -- */

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.strip__item {
  background: var(--bg);
  padding: 26px 22px;
}
.strip__item b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}
.strip__item span { color: var(--text-muted); font-size: 0.92rem; }

/* --------------------------------------------------------------- Cards --- */

.card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--raised);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2), 0 14px 40px rgba(56, 189, 248, 0.12);
}
.card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--sky);
  margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }

/* Problem → Lösung */
.pl-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pl-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.pl-list li b { display: block; margin-bottom: 3px; }
.pl-list li p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.pl-list .mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 2px;
}
.pl-list--problem .mark { background: rgba(239, 68, 68, 0.12); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.pl-list--solution .mark { background: rgba(34, 197, 94, 0.12); color: var(--success); border: 1px solid rgba(34, 197, 94, 0.3); }
.pl-list--solution li { border-color: rgba(56, 189, 248, 0.22); }

.pl-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-sm);
}
.pl-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-weak);
  margin-bottom: 14px;
}

/* Feature-Blöcke (groß, im Wechsel) */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature--flip .feature__text { order: 2; }

.feature__tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.feature__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.feature__text p { color: var(--text-muted); font-size: 1.04rem; }
.feature__text strong { color: var(--text); }
.feature__kicker {
  color: var(--sky) !important;
  font-weight: 700;
  margin-top: 4px !important;
}

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--sky);
  border-bottom: 2.5px solid var(--sky);
  transform: rotate(-45deg) scale(0.7);
  transform-origin: center;
}

/* Kleine App-Visuals im Feature-Block */
.mini {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.1), 0 18px 60px rgba(0, 0, 0, 0.5);
}
.mini__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-weak);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mini__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.mini__row b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 700; }
.mini__row--muted, .mini__row--muted b { color: var(--warning); }
.mini__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 2px;
  font-weight: 800;
}
.mini__sum b { font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mini__split { display: flex; flex-wrap: wrap; gap: 6px; }
.mini__split .chip { font-size: 0.72rem; padding: 5px 10px; }

.mini__tables { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini__table {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--raised);
  padding: 12px;
  display: grid;
  gap: 2px;
}
.mini__table b { font-size: 0.86rem; }
.mini__table span { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mini__table em { font-style: normal; font-size: 0.74rem; color: var(--text-weak); }
.mini__table.is-hot {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.14);
}

/* Callout */
.callout {
  margin-top: 18px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 120% at 0% 0%, rgba(56, 189, 248, 0.1), transparent 60%),
    var(--card);
  padding: 26px;
}
.callout .icon { margin-bottom: 0; flex: none; }
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--text-muted); margin: 0; }

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  display: grid;
  gap: 26px;
  position: relative;
  max-width: 800px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--sky), rgba(56, 189, 248, 0.15));
}
.timeline li { position: relative; }
.timeline__dot {
  position: absolute;
  left: -26px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}
.timeline b { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.timeline p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

.closer {
  margin: clamp(36px, 5vw, 56px) 0 0;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Feature-Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(56, 189, 248, 0.45);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); margin: 0; }

/* Zielgruppen */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tile:hover { border-color: rgba(56, 189, 248, 0.4); background: var(--raised); }
.tile svg { width: 22px; height: 22px; color: var(--sky); flex: none; }
.tile small { display: block; font-weight: 500; color: var(--text-weak); font-size: 0.82rem; }

/* -------------------------------------------------------------- Preise --- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }

.plan {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); }

.plan--featured {
  border-color: rgba(56, 189, 248, 0.55);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07), var(--card) 55%);
  box-shadow: var(--glow-sm);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: #04141d;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.plan__for { color: var(--text-weak); font-size: 0.88rem; margin-bottom: 18px; min-height: 2.6em; }
.plan__price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.plan__price small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-weak); letter-spacing: 0; }
.plan ul {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul svg { width: 16px; height: 16px; color: var(--sky); flex: none; margin-top: 4px; }
.plan .btn { margin-top: auto; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.compare thead th {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-weak);
  background: var(--raised);
  position: sticky;
  top: 0;
}
table.compare tbody th { font-weight: 600; color: var(--text); }
table.compare td { text-align: center; color: var(--text-muted); font-variant-numeric: tabular-nums; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover td, table.compare tbody tr:hover th { background: rgba(56, 189, 248, 0.04); }
table.compare td.yes { color: var(--success); font-weight: 800; }
table.compare td.no { color: var(--text-weak); font-size: 0.86rem; }

.note { color: var(--text-weak); font-size: 0.88rem; margin-top: 14px; }

/* ------------------------------------------------------------ Vertrauen -- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.04), transparent);
}
.trust__item b { display: block; margin-bottom: 4px; }
.trust__item span { color: var(--text-muted); font-size: 0.92rem; }

/* ----------------------------------------------------------------- FAQ --- */

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(56, 189, 248, 0.4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--sky);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--text-muted); margin: 0; }

/* ------------------------------------------------------------- Kontakt --- */

.contact {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 100% at 15% 0%, rgba(56, 189, 248, 0.12), transparent 65%),
    var(--card);
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact h2 { margin-bottom: 12px; }

.contact__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 12px; align-items: center; color: var(--text-muted); }
.contact__list svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.contact__list a { font-weight: 600; }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  min-height: 52px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: var(--glow-sm);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-weak); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--text-weak);
  line-height: 1.5;
}
.consent input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--sky); flex: none; }
.form-hint { font-size: 0.82rem; color: var(--text-weak); margin: 0; }

/* --------------------------------------------------------------- Footer -- */

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.03));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer p { color: var(--text-muted); font-size: 0.94rem; max-width: 40ch; }
.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-weak);
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--text-muted); font-size: 0.94rem; }
.footer ul a:hover { color: var(--sky); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--text-weak);
  font-size: 0.86rem;
}

/* ------------------------------------------------------- Rechtstexte ----- */

.legal { padding-top: calc(var(--nav-h) + 56px); }
.legal__body { max-width: 780px; }
.legal__body h2 { font-size: 1.5rem; margin-top: 44px; }
.legal__body h3 { margin-top: 28px; }
.legal__body p, .legal__body li { color: var(--text-muted); }
.legal__body ul { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 20px; }
.legal__body address {
  font-style: normal;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px 22px;
  margin-bottom: 20px;
}

/* ------------------------------------------------------------- Reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- Responsive -- */

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub { max-width: 46ch; }
  .phone-stage { margin-top: 12px; }
  .phone { transform: rotateY(0) rotateX(0); animation: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    padding: 10px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links--static {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: none;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    backdrop-filter: none;
    box-shadow: none;
  }
  .nav__links--static a {
    padding: 0;
    border: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  .nav__links--static .nav__cta { margin: 0; padding: 0 16px; width: auto; }
  .nav__links--static .is-optional { display: none; }
  .nav .brand__by { display: none; }
  .nav__links a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
    color: var(--text);
  }
  .nav__cta { margin: 16px 0 0; }
  .nav__burger { display: flex; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__text { order: 0; }
  .callout { flex-direction: column; gap: 14px; }
  .pl-grid { grid-template-columns: 1fr; }
  .pl-arrow { transform: rotate(90deg); margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .grid-3, .grid-4, .grid-2, .plans, .trust, .tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav__cta { width: auto; }
  /* Rechtsseiten auf kleinen Screens: Marke + ein Button reichen */
  .nav__links--static a:not(.btn) { display: none; }
  section { padding: 56px 0; }
}

/* ==========================================================================
   App-Ansichten: Einlass, Personal, Kassensturz, Statistik, Demo-Zeilen
   ========================================================================== */

/* Fortschrittsbalken (Einlass-Kapazität) */
.meter {
  height: 12px;
  border-radius: 999px;
  background: var(--raised);
  border: 1px solid var(--border);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-dark), var(--sky));
  transition: width 1.1s cubic-bezier(.2, .7, .3, 1) 0.15s;
}
.meter--warn i { background: linear-gradient(90deg, #b45309, var(--warning)); }
.reveal:not(.is-visible) .meter i { width: 0 !important; }

.bignum {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.bignum small { font-size: 0.95rem; font-weight: 600; color: var(--text-weak); letter-spacing: 0; }

/* Gästeliste */
.glist { display: grid; gap: 8px; }
.glist__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--raised);
  font-size: 0.88rem;
}
.glist__row em { font-style: normal; font-weight: 700; font-size: 0.78rem; color: var(--sky); }
.glist__row small { margin-left: auto; color: var(--text-weak); font-variant-numeric: tabular-nums; }
.gcheck {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-weak);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}
.gcheck--ok { color: var(--success); border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.1); }

/* Personal / Stempeluhr */
.staff { display: grid; gap: 8px; }
.staff__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--raised);
  font-size: 0.88rem;
}
.staff__row b { flex: none; }
.staff__row em { font-style: normal; color: var(--text-weak); font-size: 0.8rem; }
.staff__row small { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.staff__row--off { opacity: 0.55; }
.sdot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--text-weak); }
.sdot--on { background: var(--success); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }

/* Tagesabschluss-Checkliste */
.plist { display: grid; gap: 8px; }
.plist__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.06);
  font-size: 0.88rem;
}
.plist__row svg { width: 15px; height: 15px; color: var(--success); flex: none; }
.plist__row small { margin-left: auto; color: var(--text-weak); font-variant-numeric: tabular-nums; }
.mini__cta {
  margin-top: 4px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sky);
  color: #04141d;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.3);
}

/* Statistik-Panel */
.mini--wide { padding: 24px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 4px 0; }
.kpi b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi > span { color: var(--text-weak); font-size: 0.82rem; font-weight: 600; }

.chart { display: flex; gap: 8px; align-items: flex-end; height: 130px; padding-top: 6px; }
.chart > span {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.chart i {
  display: block;
  border-radius: 6px 6px 2px 2px;
  height: calc(var(--h) * 1%);
  min-height: 4px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.55), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-bottom: 0;
  transition: height 0.9s cubic-bezier(.2, .7, .3, 1);
}
.chart > span:nth-child(2) i { transition-delay: 0.06s; }
.chart > span:nth-child(3) i { transition-delay: 0.12s; }
.chart > span:nth-child(4) i { transition-delay: 0.18s; }
.chart > span:nth-child(5) i { transition-delay: 0.24s; }
.chart > span:nth-child(6) i { transition-delay: 0.3s; }
.chart > span:nth-child(7) i { transition-delay: 0.36s; }
.chart > span:nth-child(8) i { transition-delay: 0.42s; }
.chart .is-peak i {
  background: linear-gradient(180deg, var(--sky), rgba(56, 189, 248, 0.35));
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}
.chart em { font-style: normal; text-align: center; font-size: 0.66rem; color: var(--text-weak); }
.reveal:not(.is-visible) .chart i { height: 4% !important; }

/* Demo-Zeilen in Karten */
.card__demo { margin-top: 16px; display: grid; gap: 7px; }
.demo-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--raised);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.demo-line small { color: var(--text-weak); font-variant-numeric: tabular-nums; flex: none; }
.demo-line .ok { color: var(--success); font-weight: 700; }
.demo-line b { color: var(--danger); font-size: 0.72rem; letter-spacing: 0.08em; flex: none; }
.demo-line--alert { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.07); }

/* Live-Toast im Telefon-Mockup */
.app-toast {
  position: absolute;
  top: 36px;
  left: 9px;
  right: 9px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  font-size: 0.6rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.app-toast.is-on { opacity: 1; transform: none; }
.app-toast b { color: var(--sky); flex: none; }

@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .bignum { font-size: 2.2rem; }
}
