/* ================================================
   Smart-Web-Trust — Main Stylesheet
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #2563EB;
  --primary-dark:   #1d4ed8;
  --primary-light:  #60a5fa;
  --navy:           #1E3A5F;
  --navy-dark:      #0f2644;
  --accent:         #16a34a;
  --bg:             #f3f6fa;
  --surface:        #ffffff;
  --border:         #dde4ef;
  --text:           #0f2035;
  --muted:          #6b7c9a;
  --radius:         0.5rem;
  --radius-lg:      0.75rem;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,.10);
  --font:           'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; }

/* ── Layout ────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header / Nav ──────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 960px; margin: 0 auto;
}

.logo {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 600; font-size: 1.1rem; color: var(--text);
}
.logo svg { width: 28px; height: 28px; }
.logo:hover { text-decoration: none; opacity: .8; }

nav { display: flex; align-items: center; gap: 1.5rem; }

nav a {
  font-size: .875rem; font-weight: 500;
  color: var(--muted); transition: color .15s;
}
nav a:hover { color: var(--text); text-decoration: none; }
nav a.active { color: var(--primary); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0c1e3d 0%, #0d2151 50%, #0a1a30 100%);
  color: #fff;
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(37,99,235,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(29,78,216,.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-icon { margin: 0 auto 2rem; }
.hero-icon svg { width: 80px; height: 80px; margin: auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--primary-light); }

.hero p {
  font-size: 1.1rem; color: #cbd5e1;
  max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: #fff;
  font-weight: 600; font-size: .95rem;
  padding: .85rem 2rem; border-radius: var(--radius);
  transition: background .15s, transform .1s; box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-primary svg { width: 18px; height: 18px; }

/* ── Section base ──────────────────────────────── */
section.section { padding: 4.5rem 1.5rem; }
section.section-white { background: var(--surface); border-top: 1px solid var(--border); }
section.section-navy { background: linear-gradient(135deg, #1d4ed8, #1e3a5f); color: #fff; text-align: center; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: .5rem; }
.section-header p { color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ── Feature grid ──────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }

.feature-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(37,99,235,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.feature-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── How it works ──────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }

.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.step p { font-size: .875rem; color: var(--muted); }

/* ── CTA ───────────────────────────────────────── */
.cta-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a5f 100%);
  color: #fff; text-align: center;
}
.cta-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: .75rem; }
.cta-section p { color: #bfdbfe; margin-bottom: 2rem; }

.btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: #1e3a5f;
  font-weight: 600; font-size: .95rem;
  padding: .85rem 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); transition: background .15s, transform .1s;
}
.btn-white:hover { background: #eff6ff; text-decoration: none; transform: translateY(-1px); }

/* ── Legal pages ───────────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.legal-page h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: .35rem; }
.legal-page .updated { font-size: .875rem; color: var(--muted); margin-bottom: 3rem; }

.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.legal-section h3 { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: .4rem; }
.legal-section h4 { font-size: .9rem; font-weight: 600; margin-top: 1rem; margin-bottom: .35rem; }
.legal-section p { font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: .75rem; }
.legal-section ul { font-size: .9rem; color: var(--muted); line-height: 1.75; padding-left: 1.5rem; margin-bottom: .75rem; }
.legal-section ul li { margin-bottom: .4rem; }
.legal-section a { color: var(--primary); }
.legal-section strong { color: var(--text); }

/* ── Impressum card ────────────────────────────── */
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 2rem;
}
.info-card h2 { font-size: 1rem; font-weight: 600; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }

.info-row {
  display: flex; gap: 1rem;
  padding: .8rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--muted); min-width: 180px; flex-shrink: 0; }
.info-row dd { color: var(--text); }
.info-row dd.na { color: var(--muted); font-style: italic; }

address { font-style: normal; line-height: 1.7; }

/* ── Footer ────────────────────────────────────── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { font-size: .875rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: .8rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--border); }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 600px) {
  nav { gap: .9rem; }
  nav a { font-size: .8rem; }
  .info-row { flex-direction: column; gap: .2rem; }
  .info-row dt { min-width: 0; }
  .footer-top { flex-direction: column; }
}
