/* Gemeinsames Design für Startseite, Login, Registrierung, Bestätigung
   – Modern Indigo & Glas – */
:root {
  --ink: #14172a;
  --muted: #5b6172;
  --primary: #5b50f0;
  --primary-2: #8b5cf6;
  --grad: linear-gradient(135deg, #5b50f0 0%, #8b5cf6 55%, #6d63ff 100%);
  --card: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.65);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(40,30,110,.22);
  --red: #e02424;
  --green: #15a34a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1000px 600px at 12% -10%, #c7c2ff 0%, transparent 55%),
    radial-gradient(1000px 600px at 100% 0%, #e9d5ff 0%, transparent 55%),
    radial-gradient(900px 700px at 50% 120%, #d6e0ff 0%, transparent 50%),
    #eef1fb;
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* dekorative, weich verlaufende Farbblasen */
.blob { position: fixed; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; pointer-events: none; }
.blob.b1 { width: 360px; height: 360px; background: #8b5cf6; top: -80px; left: -60px; }
.blob.b2 { width: 320px; height: 320px; background: #5b50f0; bottom: -90px; right: -40px; opacity: .4; }

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

/* ---------- Navbar ---------- */
.nav { display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 22px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo .i { font-size: 26px; }
.logo .t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn { border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 15px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(91,80,240,.38); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(91,80,240,.5); }
.btn.ghost { background: rgba(255,255,255,.6); color: var(--ink); border: 1px solid var(--border); }
.btn.ghost:hover { background: #fff; transform: translateY(-1px); }
.btn.block { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
.btn.lg { padding: 16px 28px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero { max-width: 1080px; margin: 0 auto; padding: 40px 24px 10px; text-align: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.7);
  border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,163,74,.18); }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 18px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 30px; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Feature-Karten ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 50px 24px; }
.section h2 { text-align: center; font-size: clamp(26px, 4vw, 38px); letter-spacing: -1px; margin-bottom: 10px; }
.section .lead { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 38px; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 10px 30px rgba(40,44,90,.08);
  transition: transform .18s, box-shadow .18s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: var(--grad); box-shadow: 0 8px 20px rgba(91,80,240,.3); margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- Sicherheits-Streifen ---------- */
.secure { max-width: 1080px; margin: 0 auto; padding: 10px 24px 50px; }
.secure-card { background: linear-gradient(135deg, rgba(91,80,240,.95), rgba(139,92,246,.95)); color: #fff;
  border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  box-shadow: var(--shadow); }
.secure-card h2 { color: #fff; text-align: left; margin-bottom: 14px; }
.secure-card p { color: rgba(255,255,255,.9); line-height: 1.6; margin: 0; }
.secure-list { display: flex; flex-direction: column; gap: 12px; }
.secure-list .item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22); padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.secure-list .item .c { font-size: 20px; }

/* ---------- Auth-Karte (Login/Register) ---------- */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(420px, 94vw); background: var(--card); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); padding: 34px 30px; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.auth-logo .t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-card h1 { text-align: center; font-size: 24px; margin: 8px 0 4px; letter-spacing: -.5px; }
.auth-card .subtitle { text-align: center; color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field input { background: rgba(255,255,255,.85); border: 1.5px solid #e3e6f1; border-radius: 12px;
  padding: 13px 14px; font-size: 15px; outline: none; transition: border .15s, box-shadow .15s; font-family: inherit; color: var(--ink); }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91,80,240,.15); }
.field .hint { font-size: 12px; color: var(--muted); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.auth-foot a { color: var(--primary); font-weight: 700; }
.msg { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; display: none; line-height: 1.45; }
.msg.show { display: block; }
.msg.err { background: #fdebeb; color: var(--red); border: 1px solid #f6cccc; }
.msg.ok { background: #e6f7ed; color: var(--green); border: 1px solid #bfe8cd; }
.linkrow { display: flex; justify-content: space-between; align-items: center; margin-top: -6px; margin-bottom: 16px; font-size: 13.5px; }
.linkrow a { color: var(--primary); font-weight: 600; }

/* Passwort-Stärke */
.pw-meter { height: 7px; border-radius: 999px; background: #e6e9f3; overflow: hidden; margin-top: 8px; }
.pw-meter > div { height: 100%; width: 0; border-radius: 999px; transition: width .25s, background .25s; }
.pw-label { font-size: 12px; margin-top: 5px; color: var(--muted); font-weight: 600; }

/* Erklär-Video */
.video-wrap { max-width: 900px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(40,30,90,.3); border: 1px solid var(--border); background: #000; line-height: 0; }
.video-wrap video { width: 100%; height: auto; display: block; }

/* Neue Funktionen */
.neu-badge { display: inline-block; background: var(--grad); color: #fff; font-size: 14px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; vertical-align: middle; margin-right: 8px; box-shadow: 0 6px 16px rgba(91,80,240,.35); }
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.new-card { background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(40,44,90,.1);
  transition: transform .18s, box-shadow .18s; }
.new-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.new-card .shot-frame { border: 0; border-radius: 0; box-shadow: none; }
.new-card h3 { font-size: 18px; margin: 16px 20px 6px; }
.new-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 20px 18px; }
.new-extras { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip-new { background: var(--grad-soft); border: 1px solid var(--border); color: var(--primary);
  font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; }
@media (max-width: 860px) { .new-grid { grid-template-columns: 1fr; } }

/* Info-Text & FAQ (SEO) */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 16px; line-height: 1.75; color: #3a3f52; margin: 0 0 16px; }
.prose strong { color: var(--ink); }
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 24px rgba(40,44,90,.07); overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }

/* Footer */
.footer { text-align: center; color: var(--muted); font-size: 13.5px; padding: 30px 24px 40px; position: relative; z-index: 1; }
.footer a { color: var(--primary); font-weight: 600; }

/* ---------- Wechselnde Landschafts-Hintergründe ---------- */
#bgRotator { overflow: hidden; }
#bgRotator.bg-full { position: fixed; inset: 0; z-index: 0; }
#bgRotator.bg-hero { position: absolute; inset: 0; z-index: 0; }
.bg-layer { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease; transform: scale(1.05); }
.bg-layer.active { opacity: 1; }
#bgRotator.bg-full::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,18,48,.34), rgba(22,18,48,.5)); }

/* Auth-Karte über dem Bild */
.auth-shell { position: relative; z-index: 1; }
.auth-card { box-shadow: 0 30px 70px rgba(20,14,60,.4); }

/* ---------- Captcha ---------- */
.captcha-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.captcha-img { border-radius: 12px; border: 1px solid #e3e6f1; background: #f1f0fb; line-height: 0; overflow: hidden; flex-shrink: 0; }
.captcha-img svg { display: block; width: 100%; height: auto; }
.captcha-reload { background: rgba(255,255,255,.8); border: 1px solid #e3e6f1; border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; font-size: 18px; flex-shrink: 0; transition: background .15s, transform .3s; }
.captcha-reload:hover { background: #fff; }
.captcha-reload:active { transform: rotate(180deg); }

/* ---------- Sticky Kopfzeile ---------- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  padding: 12px 24px; background: rgba(16,14,38,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.site-header .logo .t { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.site-nav { display: flex; gap: 26px; margin: 0 auto; }
.site-nav a { color: rgba(255,255,255,.86); font-weight: 600; font-size: 15px; transition: color .15s; }
.site-nav a:hover { color: #fff; }
.site-header .nav-actions { display: flex; gap: 10px; }
.site-header .nav-actions .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.42); }
.site-header .nav-actions .btn.ghost:hover { background: rgba(255,255,255,.28); }
@media (max-width: 880px) { .site-nav { display: none; } }

/* ---------- Screenshot-Showcase ---------- */
.shot-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; margin-bottom: 48px; }
.shot-row.rev .shot-text { order: 2; }
.shot-row.rev .shot-frame { order: 1; }
.shot-text h3 { font-size: 24px; margin-bottom: 10px; }
.shot-text p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.shot-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(40,30,90,.25); border: 1px solid var(--border); background: #fff; }
.shot-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .shot-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .shot-row.rev .shot-text, .shot-row.rev .shot-frame { order: 0; }
}

/* ---------- Landing: Hero über Bild ---------- */
.hero-wrap { position: relative; overflow: hidden; }
.hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(175deg, rgba(24,20,55,.6) 0%, rgba(24,20,55,.32) 42%, rgba(238,241,251,.55) 86%, #eef1fb 100%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 78vh; padding-top: 10px; }
.nav-hero .logo .t { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.nav-hero .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); }
.nav-hero .btn.ghost:hover { background: rgba(255,255,255,.28); }
.hero-content .hero { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-content .hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-content .hero h1 .grad { background: none; -webkit-text-fill-color: #ffd98a; color: #ffd98a; }
.hero-content .hero p.sub { color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.hero-content .hero .hero-note { color: rgba(255,255,255,.85); }
.hero-content .badge-pill { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); color: #fff; }

/* ---------- So funktioniert's ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.step { background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: 0 10px 30px rgba(40,44,90,.08); }
.step .num { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 19px; color: #fff; background: var(--grad); box-shadow: 0 8px 18px rgba(91,80,240,.3); }
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0; }

@media (max-width: 760px) {
  .secure-card { grid-template-columns: 1fr; padding: 28px; }
  .secure-card h2 { text-align: center; }
  .steps { grid-template-columns: 1fr; }
}
