/* SPEC 1.17.2: Startseite (Mini-Website im lila Design). Tokens aus basis.css; mobile zuerst, Umbruch bei 900 px wie auth.css. */
body.start { font-size: 16px; line-height: 1.55; background: var(--flaeche-app); }
.start h1, .start h2, .start h3 { font-family: var(--schrift-titel); letter-spacing: -0.02em; margin: 0; }
.start-breit { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.start a:focus-visible, .start summary:focus-visible { outline: 3px solid var(--primaer); outline-offset: 3px; border-radius: 8px; }
.start-skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--text); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.start-skip:focus { top: 12px; }

/* Kopfzeile */
.start-kopf { position: sticky; top: 0; z-index: 10; background: rgba(246, 246, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie-karte); }
.start-kopf-zeile { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.start-nav { display: none; gap: 22px; margin-left: 16px; }
.start-nav a { color: var(--text-label); text-decoration: none; font-weight: 600; font-size: 15px; }
.start-nav a:hover { color: var(--primaer-text); }
.start-kopf-rechts { display: none; margin-left: auto; gap: 8px; align-items: center; }
.start-kopf-knopf { min-height: 42px !important; padding: 0 16px !important; font-size: 14px !important; }
.start-menue { margin-left: auto; position: relative; }
.start-menue summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.start-menue summary::-webkit-details-marker { display: none; }
.start-menue-panel { position: absolute; right: 0; top: 52px; min-width: 220px; background: #fff; border: 1px solid var(--linie-karte); border-radius: var(--r-karte); box-shadow: var(--schatten-2); padding: 8px; display: flex; flex-direction: column; }
.start-menue-panel a { padding: 12px 14px; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 10px; }
.start-menue-panel a:hover { background: var(--flaeche-hover); }

/* Hero */
.start-hero { color: #fff; padding: 48px 0 0; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .10) 0, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 0% 100%, rgba(201, 194, 251, .18) 0, rgba(201, 194, 251, 0) 50%),
    linear-gradient(155deg, #5B3DF5 0%, #4B30E0 50%, #3A20C4 100%); }
.start-hero-raster { display: grid; gap: 40px; }
.start-hero h1 { color: #fff; font-size: 38px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.start-lead { font-size: 18px; color: #F3F0FF; max-width: 560px; margin: 18px 0 0; }
.start-lead.dunkel { color: var(--text-label); }
.start-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.start-knoepfe.mitte { justify-content: center; }
.start-klein { font-size: 13px; color: #E9E5FF; margin: 18px 0 0; }
.start-klein.mitte { text-align: center; color: var(--text-gedaempft); margin-top: 24px; }
.start-browser { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.start-browser:hover { background: rgba(255, 255, 255, .12); }
.start-hero-bild { display: flex; justify-content: center; align-items: flex-end; }
.handy { width: min(280px, 72vw); background: #16161D; border-radius: 36px 36px 0 0; padding: 10px 10px 0; box-shadow: 0 30px 70px rgba(20, 8, 90, .5); }
.handy img { display: block; width: 100%; height: auto; border-radius: 28px 28px 0 0; aspect-ratio: 540 / 1000; object-fit: cover; object-position: top; }

/* Store-Knöpfe (eigene Buttons, keine offiziellen Badges) */
.store-knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: var(--r-feld); background: var(--dunkel); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .3); font-weight: 700; font-size: 16px; line-height: 1.1; }
.store-knopf small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.store-knopf:hover { background: #000; }
.store-knopf.hell { background: #fff; color: var(--primaer-text); border-color: #fff; }
.store-knopf.hell:hover { background: var(--primaer-tint); }
.start-hero .start a:focus-visible, .start-hero a:focus-visible, .start-apps a:focus-visible { outline-color: #fff; }

/* Abschnitte */
.start-abschnitt { padding: 56px 0; }
.start-hell { background: var(--flaeche-karte); border-block: 1px solid var(--linie-karte); }
.start-abschnitt h2, .start-apps h2 { font-size: 30px; font-weight: 700; }
.start-unter { color: var(--text-gedaempft); margin: 8px 0 0; }
.start-schritte { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.start-schritte li { background: var(--flaeche-karte); border: 1px solid var(--linie-karte); border-radius: var(--r-karte); padding: 24px; box-shadow: var(--schatten-1); }
.start-schritte h3, .start-karte h3, .start-preis h3 { font-size: 19px; font-weight: 650; margin-top: 12px; }
.start-schritte p, .start-karte p { margin: 8px 0 0; color: var(--text-label); font-size: 15px; }
.start-nr { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--primaer); color: #fff; font-weight: 700; align-items: center; justify-content: center; font-family: var(--schrift-titel); }
.start-raster { margin-top: 32px; display: grid; gap: 16px; }
.start-karte { background: var(--flaeche-app); border: 1px solid var(--linie-karte); border-radius: var(--r-karte); padding: 24px; }
.start-karte a { color: var(--primaer-text); font-weight: 600; }
.start-ikon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--primaer-tint); color: var(--primaer-text); align-items: center; justify-content: center; }
.start-ikon.klein { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.start .ikon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* KI */
.start-ki { display: grid; gap: 32px; align-items: center; }
.start-etikett { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: var(--r-pille); background: var(--primaer-tint); color: var(--primaer-text); font-weight: 700; font-size: 13px; }
.start-ki-hinweis { display: flex; gap: 12px; align-items: center; margin: 20px 0 0; font-weight: 600; }
.start-beispiel { background: #fff; border: 1px solid var(--linie-karte); border-radius: var(--r-karte); padding: 24px; box-shadow: inset 0 4px 0 var(--primaer), var(--schatten-2); max-width: 460px; }
.start-beispiel-kopf { display: flex; flex-direction: column; gap: 2px; }
.start-beispiel-kopf span { font-size: 14px; color: var(--text-meta); }
.start-passung { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 14px; color: var(--text-label); }
.start-passung .balken { flex: 1; height: 10px; border-radius: 99px; background: var(--primaer-spur); overflow: hidden; }
.start-passung .balken span { display: block; height: 100%; background: var(--primaer); border-radius: 99px; }
.start-vorschlag { margin: 0; padding: 14px; background: var(--flaeche-unter); border-radius: var(--r-feld); font-size: 14px; color: var(--text-label); }
.start-vorschlag small { display: block; font-weight: 700; color: var(--primaer-text); margin-bottom: 6px; }

/* Einblicke: waagrecht wischbar */
.start-einblicke { list-style: none; margin: 28px 0 0; padding: 4px 4px 16px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.start-einblicke li { flex: 0 0 min(240px, 68vw); scroll-snap-align: start; text-align: center; }
.start-einblicke img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--linie-karte); box-shadow: var(--schatten-2); background: var(--flaeche-app); }
.start-einblicke span { display: block; margin-top: 10px; font-weight: 600; color: var(--text-label); font-size: 14px; }

/* Preise */
.start-preise { margin-top: 32px; display: grid; gap: 16px; max-width: 760px; }
.start-preis { background: var(--flaeche-karte); border: 1px solid var(--linie-karte); border-radius: var(--r-karte); padding: 28px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.start-preis.hervor { border: 2px solid var(--primaer); box-shadow: 0 16px 40px rgba(91, 61, 245, .18); }
.start-preis p { margin: 0; color: var(--text-label); }
.start-betrag strong { font-family: var(--schrift-titel); font-size: 34px; color: var(--text); }
.start-preis .btn { margin-top: 14px; }

/* Apps + Fuß */
.start-apps { padding: 64px 0; text-align: center; color: #fff; background: linear-gradient(155deg, #5B3DF5 0%, #4B30E0 50%, #3A20C4 100%); }
.start-apps h2 { color: #fff; }
.start-apps .start-lead { margin-inline: auto; }
.start-fuss { background: var(--dunkel); color: var(--dunkel-text-2); padding: 28px 0 36px; font-size: 14px; }
.start-fuss-zeile { display: flex; flex-direction: column; gap: 12px; }
.start-fuss p { margin: 0; }
.start-fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.start-fuss a { color: #fff; }

@media (min-width: 640px) {
  .start-raster, .start-schritte { grid-template-columns: repeat(2, 1fr); }
  .start-preise { grid-template-columns: repeat(2, 1fr); }
  .start-fuss-zeile { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
  .start-nav, .start-kopf-rechts { display: flex; }
  .start-menue { display: none; }
  .start-hero { padding-top: 72px; }
  .start-hero-raster { grid-template-columns: 1.15fr .85fr; align-items: end; }
  .start-hero-text { padding-bottom: 72px; }
  .start-hero h1 { font-size: 52px; }
  .start-schritte { grid-template-columns: repeat(3, 1fr); }
  .start-raster { grid-template-columns: repeat(3, 1fr); }
  .start-ki { grid-template-columns: 1fr 1fr; }
  .start-abschnitt { padding: 80px 0; }
  .start-einblicke { justify-content: center; overflow-x: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .start * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.start) { scroll-behavior: smooth; } }
