/* ============================================================
   Smart2Drive — Marketing-Website · Shared Stylesheet
   Vanilla CSS, framework-frei. Modernes Design-System.
   ============================================================ */

:root {
  --ink:        #0f1424;
  --ink-soft:   #2b3147;
  --paper:      #ffffff;
  --paper-soft: #f5f7fb;
  --line:       #e3e8f0;
  --muted:      #5b6478;

  --sun:        #f9b42d;
  --sun-deep:   #f59e0b;
  --indigo:     #6366f1;
  --indigo-deep:#4338ca;
  --green:      #22c55e;
  --green-deep: #15803d;

  --radius:     16px;
  --radius-lg:  24px;
  --shadow:     0 10px 40px rgba(15,20,36,0.08);
  --shadow-lg:  0 24px 60px rgba(15,20,36,0.16);
  --maxw:       1180px;
  --font:       'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo-deep); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-head p { font-size: 1.06rem; color: var(--muted); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700;
  font-size: 0.98rem; text-decoration: none; cursor: pointer;
  border: none; transition: transform .14s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun    { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: #3a2a04; box-shadow: 0 8px 24px rgba(245,158,11,0.4); }
.btn-indigo { background: linear-gradient(135deg, var(--indigo), var(--indigo-deep)); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.btn-green  { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; box-shadow: 0 8px 24px rgba(34,197,94,0.38); }
.btn-ghost  { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn-outline{ background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; padding: 12px 22px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.nav-logo img { width: 50px; height: 50px; border-radius: 10px; }
.nav-logo span small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600;
  font-size: 0.92rem; padding: 8px 12px; border-radius: 9px; transition: background .15s;
}
.nav-links a:hover { background: var(--paper-soft); }
.nav-links a.active { color: var(--indigo-deep); background: rgba(99,102,241,0.1); }
.nav-cta { margin-left: 6px; }
.nav-cta .btn { padding: 10px 18px; font-size: 0.9rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 940px) {
  .nav-toggle { display: block; order: 2; margin-left: 0; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: inline-flex; order: 1; margin-left: auto; }
  .nav-cta .btn { padding: 9px 15px; font-size: 0.82rem; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(99,102,241,0.4), transparent),
    radial-gradient(700px 500px at 5% 10%, rgba(249,180,45,0.28), transparent),
    linear-gradient(180deg, #0f1424, #161d36);
  color: #fff; padding: 78px 0 90px; overflow: hidden;
  text-align: center;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 18px; }
.hero h1 .hl { background: linear-gradient(120deg, var(--sun), #ffd668); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.14rem; color: #c4cbe0; margin: 0 auto 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 0.84rem; color: #8b93ad; }
.hero-shot {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12); background: #1a2138;
}
.hero-stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-stats div strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--sun); }
.hero-stats div span { font-size: 0.82rem; color: #9aa2bd; }
.hero-visual { margin-top: 48px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-top: 0; }
}

/* ── Generic cards / grids ─────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  text-align: center;
}
.card-ico { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* Engine-Karten — quadratisch, alle gleich groß */
.card.eng-card {
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #1a2138; border-color: #2a3354; color: #fff;
  padding: 22px 18px;
}
.card.eng-card h3 { color: #fff; }
.card.eng-card p { color: #aab2cb; font-size: 0.85rem; }
@media (max-width: 560px) { .card.eng-card { aspect-ratio: auto; } }

.bg-soft { background: var(--paper-soft); }
.bg-ink  { background: var(--ink); color: #fff; }
.bg-ink .section-head p { color: #aab2cb; }

/* ── USP feature rows ──────────────────────────────────── */
.feat { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.feat .ico { font-size: 1.6rem; flex-shrink: 0; line-height: 1.3; }
.feat strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.feat span { font-size: 0.89rem; color: var(--muted); }

/* ── Chips / pills ─────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 16px; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow);
}
.chip .e { margin-right: 6px; }

/* ── Two-column Privat / Solarteur ─────────────────────── */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 880px) { .cols { grid-template-columns: 1fr; } }
.col-card { background:#fff; border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); border: 2px solid transparent; text-align: center; }
.col-privat { border-color: rgba(34,197,94,0.32); }
.col-pro    { border-color: rgba(99,102,241,0.32); background: linear-gradient(180deg,#fff,#f3f4ff); }
.col-badge { display:inline-block; padding:5px 13px; border-radius:99px; font-size:0.72rem; font-weight:800; letter-spacing:0.05em; margin-bottom:14px; }
.col-privat .col-badge { background: rgba(34,197,94,0.14); color: var(--green-deep); }
.col-pro .col-badge { background: rgba(99,102,241,0.14); color: var(--indigo-deep); }
.col-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.col-lead { font-size: 0.96rem; color: var(--muted); margin-bottom: 20px; }
.usp-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.usp-list li { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.usp-list .ico { font-size: 1.5rem; flex-shrink: 0; }
.usp-list strong { display:block; font-size:0.96rem; margin-bottom:2px; }
.usp-list span { font-size:0.85rem; color: var(--muted); }
.col-cta { margin-top: 26px; text-align: center; }
.col-cta small { display:block; margin-top:10px; font-size:0.78rem; color: var(--muted); }

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 44px; font-weight: 700; cursor: pointer; list-style: none; display:flex; justify-content:center; gap:14px; position:relative; text-align:center; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--indigo); transition: transform .2s; position:absolute; right:18px; top:15px; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; text-align: center; }

/* ── Prose (legal pages) ───────────────────────────────── */
.prose { max-width: 820px; margin: 0 auto; text-align: center; }
.prose h1 { font-size: 2rem; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 0.86rem; margin-bottom: 30px; }
.prose h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 10px; }
.prose ul { padding-left: 0; list-style: none; }
.prose a { color: var(--indigo-deep); }
.callout {
  background: #fff7e6; border: 1px solid rgba(245,158,11,0.4);
  border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; margin: 18px 0;
  text-align: center;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #c4cbe0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color:#fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display:block; color:#aab2cb; text-decoration:none; font-size:0.9rem; padding: 4px 0; }
.footer-grid a:hover { color:#fff; }
.footer-brand img { height: 74px; width: auto; border-radius: 12px; margin: 0 auto 14px; background: #fff; padding: 7px 11px; display: block; }
.footer-brand p { font-size: 0.88rem; color:#8b93ad; max-width: 280px; margin: 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 38px; padding-top: 20px; font-size: 0.82rem; color:#8b93ad; display:flex; justify-content:center; flex-wrap:wrap; gap:6px 22px; text-align:center; }

/* ── Screenshot placeholder ────────────────────────────── */
.shot {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; background:#fff;
}
.shot-ph {
  aspect-ratio: 16/10; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #eef1f8, #e3e8f4); color: var(--muted);
  font-size: 0.86rem; font-weight: 600; text-align:center; padding: 20px;
}
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top center; display: block; }
.hero-shot img { aspect-ratio: auto; }
.shot-cap { padding: 14px 18px; font-size: 0.88rem; text-align: center; }
.shot-cap strong { display:block; }
.shot-cap span { color: var(--muted); font-size: 0.82rem; }

/* ── Device-Vergleich (Desktop vs. Smartphone) ─────────── */
.device-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.device-desktop { flex: 0 1 620px; max-width: 620px; }
.device-desktop .frame {
  background: #1a2138; border-radius: 14px; padding: 10px 10px 0;
  box-shadow: var(--shadow-lg); border: 1px solid #2a3354;
}
.device-desktop .bar { display: flex; gap: 6px; padding: 6px 4px 10px; }
.device-desktop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a5478; display: block; }
.device-desktop .screen {
  aspect-ratio: 16/10; border-radius: 6px 6px 0 0; overflow: hidden;
  background: linear-gradient(135deg, #eef1f8, #dde3f0);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; font-size: 0.86rem; text-align: center; padding: 16px;
}
.device-desktop .stand {
  width: 130px; height: 14px; margin: 0 auto;
  background: linear-gradient(180deg, #2a3354, #1a2138);
  border-radius: 0 0 8px 8px;
}
.device-phone { flex: 0 0 232px; }
.device-phone .frame {
  background: #1a2138; border-radius: 28px; padding: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid #2a3354; position: relative;
}
.device-phone .frame::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 6px; border-radius: 99px; background: #4a5478;
}
.device-phone .screen {
  aspect-ratio: 9/19; border-radius: 26px; overflow: hidden; margin-top: 8px;
  background: linear-gradient(135deg, #eef1f8, #dde3f0);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; font-size: 0.8rem; text-align: center; padding: 14px;
}
.device-desktop .screen img, .device-phone .screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.device-desktop .screen img { object-position: top left; }
.device-tag {
  display: inline-block; margin-top: 14px; font-size: 0.84rem; font-weight: 700;
  color: var(--muted);
}
.sync-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35);
  color: var(--green-deep); border-radius: 99px; padding: 8px 16px;
  font-size: 0.88rem; font-weight: 700; margin-top: 26px;
}

/* ── CTA band ──────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--indigo-deep), #5b21b6);
  color:#fff; border-radius: var(--radius-lg); padding: 48px 40px; text-align:center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #d6d9f5; margin-bottom: 24px; }
.cta-band .btn-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
