/* Startseite für Besucher ohne Anmeldung.
   Farben, Kopfzeile, Buttons kommen aus base.css – hier steht nur, was die
   Landing Page darüber hinaus braucht (Aufmacher, Karten, Tarifvergleich).
   Bewusst ohne Bilder und ohne JavaScript: die Seite ist die erste, die ein
   Besucher sieht, und soll auf dem Handy sofort da sein. */

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 700px at 85% -15%, rgba(225, 29, 42, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(30, 136, 229, 0.08), transparent 55%),
    var(--bg);
}

/* Die Knöpfe aus base.css sind dort <button>; hier sind es Links – die wären
   sonst unterstrichen. */
a.btn-primary, a.btn-ghost { text-decoration: none; }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 40px);
}
.section-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}
.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 62ch;
}

/* ---------- Aufmacher ---------- */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 76px) clamp(16px, 4vw, 40px) clamp(24px, 4vw, 40px);
  display: grid;
  /* keine feste Spaltenzahl: unter ~900px rutscht die Vorschau unter den Text */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(225, 29, 42, 0.12);
  border: 1px solid rgba(225, 29, 42, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
}
.lead {
  color: var(--muted);
  font-size: clamp(15.5px, 1.6vw, 17px);
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 58ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.btn-big {
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 11px;
}
.hero-note {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 48ch;
}

/* Angedeutete Vorschau (rein dekorativ, keine echten Bilder) */
.hero-shot {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: center;
}
.shot-panel {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shot-row { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.shot-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.shot-field {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-btn {
  margin-top: 2px;
  background: var(--fire);
  color: #fff;
  border-radius: 9px;
  padding: 11px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 15px var(--fire-glow);
}

.shot-story {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  /* leicht gekippt, damit es wie ein Handy in der Hand wirkt */
  transform: rotate(2deg);
}
.story-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 10%, rgba(242, 184, 7, 0.35), transparent 60%),
    linear-gradient(190deg, #7a2410 0%, #3a1a18 45%, #12151b 100%);
}
.story-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.55) 55%, transparent);
}
.story-tag {
  align-self: flex-start;
  background: var(--fire);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.story-head {
  font-family: "Oswald", sans-serif;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  line-height: 1.15;
}
.story-sub { color: var(--muted); font-size: 12px; font-weight: 600; }
.story-wehr {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-top: 1px solid var(--border-soft);
  padding-top: 8px;
  margin-top: 2px;
}

/* ---------- Funktionskarten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--border); transform: translateY(-2px); }
.card-icon {
  color: var(--fire);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 29, 42, 0.12);
  border: 1px solid rgba(225, 29, 42, 0.3);
  margin-bottom: 14px;
}
.card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.3px;
  margin: 0 0 8px;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
/* Merker an Funktionen, die es nur im Pro-Plan gibt */
.tag-pro {
  vertical-align: middle;
  margin-left: 6px;
  font-family: "Barlow", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(225, 29, 42, 0.12);
  border: 1px solid rgba(225, 29, 42, 0.35);
  border-radius: 999px;
  padding: 3px 8px;
}

/* ---------- Ablauf ---------- */
.steps-section { border-top: 1px solid var(--border-soft); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
}
.step-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fire);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 12px;
}
.steps h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.steps p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- Tarife ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-pro {
  border-color: var(--fire);
  background:
    linear-gradient(180deg, rgba(225, 29, 42, 0.08), transparent 200px),
    var(--panel-2);
  box-shadow: 0 12px 40px rgba(225, 29, 42, 0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--fire);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 5px 15px var(--fire-glow);
}
.plan-head { margin-bottom: 16px; }
.plan-head h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.4px;
  margin: 0 0 4px;
}
.plan-claim { color: var(--muted); font-size: 14px; margin: 0; }
.plan-claim strong { color: var(--text); }

.plan-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.plan-list li strong { color: var(--text); }
.li-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid var(--ok);
  /* Häkchen */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-list-pro li::before {
  background-color: rgba(225, 29, 42, 0.15);
  border-color: var(--fire);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23e11d2a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.plan-foot {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.plans-note {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0 0;
  max-width: 70ch;
}
.plans-note strong { color: var(--muted); }

/* ---------- Abschluss ---------- */
.cta {
  text-align: center;
  border-top: 1px solid var(--border-soft);
}
.cta h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(23px, 4vw, 32px);
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}
.cta p { color: var(--muted); font-size: 16px; margin: 0 0 24px; }

/* ---------- Fußzeile ---------- */
.landing-foot {
  border-top: 1px solid var(--border-soft);
  padding: 22px clamp(16px, 4vw, 40px) 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  color: var(--muted-2);
  font-size: 12.5px;
  text-align: center;
}
.landing-foot span:first-child { font-weight: 700; color: var(--muted); }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  /* Die Vorschau nebeneinander wird zu schmal – Eingaben oben, Story darunter. */
  .hero-shot { grid-template-columns: 1fr; gap: 18px; max-width: 420px; }
  .shot-story { transform: none; max-width: 260px; }
}
@media (max-width: 720px) {
  /* Die Kopfzeile hat auf dem Handy nur Platz für Marke und Anmelden. */
  .nav-link { display: none; }
  .hero { padding-top: 26px; }
  .hero-actions .btn-big { flex: 1 1 auto; }
}
