/* Dunkle Bühne, Farbe nur da, wo Licht ist: Violett und das Bernstein aus dem Symbol */
:root {
  color-scheme: dark;
  --night: #12101c; --haze: #221f33; --line: #2f2b45; --steel: #8f8aa8; --paper: #efedf7; --soft: #cdc9de;
  --violet: #a99bff; --amber: #ffb638; --green: #4fd1a5;
  --verlauf: linear-gradient(100deg, var(--violet), var(--amber));
  --display: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --pad: clamp(16px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font: 17px/1.6 var(--text); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-stretch: condensed; text-wrap: balance; }
h2 { margin: 0 0 14px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1; font-weight: 700; text-transform: uppercase; }
h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.2; }
section { scroll-margin-top: 70px; padding: clamp(64px, 9vw, 120px) var(--pad) 0; }
.leise { color: var(--steel); }
.intro { color: var(--soft); max-width: 40rem; margin: 0 0 36px; }

/* Kopfzeile */
.top { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 28px;
       padding: 12px var(--pad); background: linear-gradient(var(--night) 45%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--display); font-stretch: condensed; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--steel); }
.top nav a:hover { color: var(--paper); }
@media (max-width: 860px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
       font: 600 16px/1 var(--text); padding: 14px 22px; border-radius: 999px; }
.btn.haupt { background: var(--verlauf); color: #15121f; box-shadow: 0 0 28px #ffb63844; }
.btn.haupt:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px #ffffff44; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn.klein { padding: 10px 16px; font-size: 14px; }

/* Start: Text links, die App im leuchtenden Rahmen rechts */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px);
        align-items: center; padding: 110px var(--pad) 60px;
        background: radial-gradient(55% 50% at 75% 35%, #ffb63816, transparent), radial-gradient(50% 50% at 15% 85%, #a99bff14, transparent); }
.pitch h1 { margin: 0 0 18px; font-size: clamp(42px, 5.6vw, 80px); line-height: .95; font-weight: 700; text-transform: uppercase;
            background: linear-gradient(100deg, #fff 0 40%, var(--violet) 65%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pitch p { margin: 0 0 28px; color: var(--soft); max-width: 31rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kurz { margin: 18px 0 0 !important; font-size: 14px; color: var(--steel) !important; }
.kurz b { color: var(--amber); font-weight: 600; }

.visual { position: relative; min-height: 540px; }
/* Logo groß im Hintergrund, davor Checkliste und Rechnung, ganz vorne das Handy */
.visual::before { content: ""; position: absolute; left: 50%; top: 46%; width: 100%; height: 100%; transform: translate(-50%, -50%); border-radius: 50%;
                  background: radial-gradient(closest-side, #a99bff40, #ffb6381c 60%, transparent); filter: blur(14px); }
.logo { position: absolute; left: 50%; top: 46%; width: min(560px, 96%); height: auto; transform: translate(-50%, -50%);
        filter: drop-shadow(0 30px 40px #000c); }
/* Papier: Rechnung, so wie die App sie druckt */
.papier { position: absolute; right: 0; top: 200px; width: min(340px, 60%); padding: 26px 26px 22px; border-radius: 10px; transform: rotate(3deg);
          background: #fbfaf7; color: #1b1840; font-size: 12px; line-height: 1.45; box-shadow: 0 30px 60px #000b, 0 0 0 1px #ffffff20, 0 0 70px #a99bff22; }
.papier b.titel { display: block; font: 700 22px/1.1 var(--display); font-stretch: condensed; margin-bottom: 12px; }
.papier .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; color: #4b4868; }
.papier .zwei strong { display: block; color: #1b1840; }
.papier table { width: 100%; border-collapse: collapse; }
.papier td { padding: 3px 0; } .papier td + td { text-align: right; font-variant-numeric: tabular-nums; }
.papier tr.summe td { border-top: 2px solid #1b1840; font-weight: 700; padding-top: 6px; }
.papier .stempel { position: absolute; right: 20px; bottom: 16px; transform: rotate(-12deg); border: 2px solid #1f9d74; color: #1f9d74;
                   border-radius: 6px; padding: 2px 8px; font: 700 14px var(--display); letter-spacing: .08em; }
.papier .fuss { margin: 10px 96px 0 0; color: #6b6889; font-size: 11px; }

/* Papier: Übergabe-Checkliste, leicht schräg hinter der Rechnung */
.liste-papier { right: auto; left: 0; top: 10px; width: min(330px, 58%); transform: rotate(-5deg); padding: 22px 22px 18px; }
.liste-papier b.titel { margin-bottom: 4px; }
.liste-papier .mieter { margin: 0 0 10px; color: #4b4868; }
.liste-papier th { font-weight: 700; text-align: left; border-bottom: 2px solid #1b1840; padding-bottom: 4px; }
.liste-papier th + th, .liste-papier td + td { text-align: center; width: 58px; }
.liste-papier td { border-bottom: 1px solid #e3e1ee; padding: 5px 0; }
.liste-papier small { display: block; color: #6b6889; font-size: 10.5px; }
.liste-papier i { display: inline-block; width: 13px; height: 13px; border: 1.5px solid #1b1840; border-radius: 3px; vertical-align: middle; position: relative; }
.liste-papier i.ja::after { content: ""; position: absolute; left: 3px; top: -3px; width: 5px; height: 10px; border: solid #1f9d74; border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.liste-papier ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.liste-papier li { display: flex; gap: 8px; align-items: center; }
.liste-papier .unterschrift { margin-top: 22px; width: 55%; border-top: 1px solid #1b1840; font-size: 10.5px; color: #6b6889; position: relative; padding-top: 2px; }
.liste-papier .unterschrift span:first-child { position: absolute; left: 8px; bottom: 100%; font: italic 600 17px "Segoe Script", "Brush Script MT", cursive; color: #2a3a8a; }


/* Vorteile */
.perks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.35; }
.icon { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--haze); stroke: var(--violet); fill: none;
        stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perks li:nth-child(2n) .icon { stroke: var(--amber); }

/* Funktionen */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.karte { background: linear-gradient(160deg, #1d1a2c, #16141f); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.karte .icon { margin-bottom: 14px; }
.karte p { margin: 0; color: var(--soft); font-size: 16px; }

/* So geht's */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: schritt; }
.schritt { border-top: 1px solid var(--line); padding-top: 18px; }
.schritt::before { counter-increment: schritt; content: counter(schritt); display: block; font: 700 64px/1 var(--display); font-stretch: condensed;
                   background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.schritt p { margin: 0; color: var(--soft); }

/* Deine Daten */
.daten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.daten ul { padding-left: 0; list-style: none; display: grid; gap: 14px; margin: 0; }
.daten li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--soft); }
.daten li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #4fd1a522;
                    box-shadow: inset 0 0 0 1.5px var(--green); }
.daten li b { color: var(--paper); font-weight: 600; }
.abgleich { position: relative; border-radius: 22px; padding: 30px; background: radial-gradient(70% 60% at 50% 40%, #a99bff1c, transparent), #17152a;
            box-shadow: 0 0 0 1px var(--line); display: grid; gap: 26px; justify-items: center; }
.geraete { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.geraet { background: var(--haze); border-radius: 14px; padding: 10px 14px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.geraet .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: #2c2842; }
.leitung { width: 2px; height: 34px; background: repeating-linear-gradient(var(--violet) 0 6px, transparent 6px 12px); }
.tresor { display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 14px 18px; background: #110f1d; box-shadow: 0 0 0 1.5px #ffb63866, 0 0 30px #ffb63822; }
.tresor .icon { stroke: var(--amber); }
.tresor small { display: block; color: var(--steel); font-size: 13px; }
.geheim { font: 12px/1.4 ui-monospace, Consolas, monospace; color: #6f6a8c; word-break: break-all; text-align: center; max-width: 24rem; }

/* Installieren */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install .karte ol { margin: 10px 0 0; padding-left: 20px; color: var(--soft); font-size: 16px; }
.install .karte li { margin: 4px 0; }
.install .karte .leise { font-size: 14px; margin: 12px 0 0; }

/* Gut zu wissen */
.fragen { display: grid; gap: 10px; max-width: 52rem; }
details { background: #1a1828; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; }
summary { cursor: pointer; font: 600 19px var(--display); font-stretch: condensed; }
details p { margin: 10px 0 2px; color: var(--soft); }

.schluss { text-align: center; padding-bottom: 40px; }
.schluss .actions { justify-content: center; }

footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: clamp(64px, 9vw, 120px);
         padding: 24px var(--pad) 32px; border-top: 1px solid var(--haze); font-size: 14px; color: var(--steel); }
footer a { text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--paper); }

/* Einfache Textseiten (Impressum, Datenschutz) */
.text { max-width: 46rem; padding: 120px var(--pad) 0; margin: auto; box-sizing: content-box; }
.text h1 { margin: 0 0 24px; font-size: clamp(40px, 6vw, 64px); line-height: 1; text-transform: uppercase;
           background: linear-gradient(100deg, #fff 0 45%, var(--violet) 75%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text h2 { font-size: 26px; text-transform: none; margin: 34px 0 8px; }
.text p { color: var(--soft); }
.text a { color: var(--violet); }
.text b { color: var(--paper); }
.version { margin-top: 28px; padding: 6px 26px 14px; border-radius: 18px; background: linear-gradient(160deg, #221f33, #1a1729); box-shadow: inset 0 0 0 1px var(--line); }
.version h2 { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; }
.version h2 small { font: 400 15px var(--text); color: var(--steel); }
.version li { color: var(--soft); margin: 4px 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 100px; }
  .visual { min-height: 540px; max-width: 640px; width: 100%; margin: 0 auto; }
  .perks { grid-template-columns: 1fr 1fr; }
  .schritte, .install, .daten { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; }
  .papier { width: 78%; padding: 16px; font-size: 10.5px; top: 250px; }
  .liste-papier { left: 0; top: 0; width: 80%; }
  .visual { min-height: 560px; }
  .logo { left: 50%; top: 45%; width: 110%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
