:root {
  --bg: #050908;
  --lift: #0A120D;
  --line: #16241B;
  --text: #EEF3EF;
  --dim: #93A398;
  --faint: #74857A;
  --accent: #1E9E56;
  --bright: #35C97A;
  --gold: #C8A54B;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 940px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.kicker {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -0.5px; }

/* Hero */
.hero {
  padding: clamp(56px, 12vh, 110px) 0 clamp(48px, 9vh, 84px);
  text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #12271A 0%, var(--bg) 62%);
  border-bottom: 1px solid var(--line);
}
.appicon { border-radius: 18px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.06; }
.lead {
  max-width: 560px; margin: 22px auto 0;
  color: var(--dim); font-size: clamp(1rem, 2.4vw, 1.12rem);
}

/* Formular */
.signup {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 520px; margin: 34px auto 0;
}
.signup input {
  flex: 1 1 240px;
  height: 54px; padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--lift);
  color: var(--text);
  font-family: inherit; font-size: 1rem;
}
.signup input::placeholder { color: var(--faint); }
.signup input:focus { outline: none; border-color: var(--accent); }
.signup button {
  height: 54px; padding: 0 26px;
  border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #0E5B31);
  color: #F2FBF5; cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase;
  transition: opacity .2s;
}
.signup button:hover { opacity: .88; }
.signup button:disabled { opacity: .45; cursor: default; }
.formnote {
  max-width: 470px; margin: 14px auto 0;
  color: var(--faint); font-size: .8rem; line-height: 1.6;
}
.formnote a { color: var(--dim); }
.formnote.ok { color: var(--bright); }
.formnote.err { color: var(--gold); }

/* Vorschau */
section { padding: clamp(52px, 10vh, 92px) 0; }
section h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin-bottom: 34px; }
.preview { text-align: center; }
.preview .lead { margin-top: 0; margin-bottom: 4px; }

/* Drei Geräte, das mittlere vorn. Die Seitengeräte sind gekippt und
   angeschnitten — sie sollen andeuten, nicht konkurrieren. */
.stage {
  --pw: clamp(196px, 25vw, 258px);
  position: relative;
  max-width: 900px;
  margin: clamp(44px, 7vw, 74px) auto clamp(8px, 2vw, 18px);
  height: calc(var(--pw) * 1.78 + 78px);
}
/* Eine Lichtquelle hinter dem mittleren Gerät, kein Farbverlauf zur Zierde. */
.stage::before {
  content: "";
  position: absolute; inset: -4% -10% 14%;
  background: radial-gradient(closest-side, rgba(30, 158, 86, .17), transparent 72%);
  pointer-events: none;
}
.phone { position: absolute; top: 38px; left: 50%; width: var(--pw); }
.phone--main  { top: 0; z-index: 3; transform: translateX(-50%); }
.phone--left  { z-index: 2; transform: translateX(calc(-50% - var(--pw) * .58)) rotate(-8deg) scale(.92); }
.phone--right { z-index: 1; transform: translateX(calc(-50% + var(--pw) * .58)) rotate(8deg) scale(.92); }

.phone__frame {
  position: relative;
  padding: 7px;
  border-radius: 38px;
  background: linear-gradient(155deg, #2b3733 0%, #0d1512 46%, #232e29 100%);
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .05);
}
.phone__frame img {
  width: 100%; height: auto; display: block;
  border-radius: 31px;
  background: var(--bg);
}
.phone__island {
  position: absolute; z-index: 2;
  top: 17px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 13px;
  background: #050706; border-radius: 999px;
}
.phone figcaption { margin-top: 14px; color: var(--faint); font-size: .8rem; }
/* Nur das vordere Gerät wird beschriftet, sonst wird die Gruppe unruhig. */
.phone--left figcaption, .phone--right figcaption { display: none; }

/* Schmale Schirme: gekippt und überlappend wird hier unlesbar,
   deshalb eine Reihe zum Wischen. */
@media (max-width: 760px) {
  .stage {
    height: auto;
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 14px;
  }
  .stage::before { display: none; }
  .phone {
    position: static; transform: none; flex: 0 0 auto;
    width: min(60vw, 240px); scroll-snap-align: center;
  }
  .phone--left figcaption, .phone--right figcaption { display: block; }
}

/* Module */
.what { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modules { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.modules li {
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--lift);
}
.modules strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.12rem; font-weight: 500; }
.modules span { color: var(--faint); font-size: .86rem; }
.quote {
  margin-top: 40px; padding-left: 22px;
  border-left: 2px solid var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem); line-height: 1.5;
  color: var(--text);
}
.quote span { display: block; margin-top: 12px; font-family: 'Lora', serif; font-size: .82rem; color: var(--faint); }

.cta { text-align: center; }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; }
footer p { color: var(--faint); font-size: .82rem; text-align: center; }
footer a { color: var(--dim); }
