/* SlimShift PDF – Webseite
   Keine externen Ressourcen (Schriften, Skripte, CDNs): alles lokal, DSGVO-freundlich. */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f3f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #5c5f66;
  --text-3: #8a8d94;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #0a66d8;
  --accent-hover: #0857ba;
  --accent-soft: rgba(10, 102, 216, 0.10);
  --red: #d93025;
  --green: #1f9d55;
  --hero-glow-1: rgba(10, 102, 216, 0.16);
  --hero-glow-2: rgba(38, 166, 154, 0.14);
  --shadow-lg: 0 30px 80px -20px rgba(15, 30, 60, 0.35), 0 10px 30px -10px rgba(15, 30, 60, 0.18);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  --radius: 18px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1012;
    --bg-alt: #16181b;
    --surface: #1c1e22;
    --text: #f5f5f7;
    --text-2: #a8abb2;
    --text-3: #7d8088;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #3b8cff;
    --accent-hover: #5c9fff;
    --accent-soft: rgba(59, 140, 255, 0.14);
    --red: #ff6159;
    --green: #3ecf7a;
    --hero-glow-1: rgba(59, 140, 255, 0.20);
    --hero-glow-2: rgba(38, 166, 154, 0.16);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px;
  border: 1px solid var(--border); font-size: 13px; font-weight: 650; letter-spacing: 0.02em;
}
.nav-links a.lang-switch { color: var(--text-2); }
.nav-links a.lang-switch:hover { color: var(--accent); border-color: var(--accent); }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links .hide-sm { display: none; }
}

@media (max-width: 400px) {
  .nav-links .hide-xs { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; transition: background .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--accent-soft); color: var(--accent); }
.btn-secondary:hover { color: var(--accent-hover); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 40px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, var(--hero-glow-1), transparent 70%),
    radial-gradient(40% 50% at 72% 38%, var(--hero-glow-2), transparent 70%);
}

.hero-icon { width: 132px; height: 132px; margin: 0 auto 22px; filter: drop-shadow(0 12px 24px rgba(10, 40, 90, 0.18)); }

.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600;
}

h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.12; margin: 0; }

.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 750; }
.hero .lead {
  max-width: 660px; margin: 20px auto 0;
  font-size: clamp(18px, 2.2vw, 22px); color: var(--text-2); line-height: 1.45;
}

.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }

.showcase { margin-top: 64px; padding: 0 12px; }
.showcase picture img {
  width: 100%; max-width: 1080px; margin: 0 auto;
  border-radius: clamp(8px, 1.1vw, 14px);
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--border);
}
.showcase figcaption { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* ---------- Kennzahlen ---------- */

.stats { padding: 56px 0 24px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.stat > span { font-size: 15px; color: var(--text-2); }
.stat .from { color: var(--text-3); font-weight: 600; }
.stat .to { color: var(--green); }

@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Abschnitte ---------- */

section { scroll-margin-top: 72px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 720; }
.section-head p { margin: 16px 0 0; font-size: 19px; color: var(--text-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 20px; font-weight: 680; margin-top: 16px; }
.card p { margin: 8px 0 0; color: var(--text-2); font-size: 16px; }

.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.red { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.card-icon.green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }

/* ---------- Galerie ---------- */

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; border-radius: 10px;
  box-shadow: var(--shadow-lg); outline: 1px solid var(--border);
}
.gallery figcaption { margin-top: 16px; text-align: center; font-size: 15px; color: var(--text-2); }
.gallery figcaption strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Schritte ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; left: 26px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
}
.step h3 { margin-top: 10px; }

/* ---------- Datenschutz-Band ---------- */

.privacy-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, #0b3f8f, #0a66d8 55%, #1f9d8f);
  color: #fff; border-radius: 28px; padding: 64px 56px;
  box-shadow: var(--shadow-lg);
}
.privacy-band h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 740; }
.privacy-band p { margin: 16px 0 0; font-size: 18px; color: rgba(255, 255, 255, 0.86); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-list li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px; padding: 14px 18px; font-weight: 600;
}
.privacy-list svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; padding: 44px 28px; gap: 32px; } }

/* ---------- Abschluss ---------- */

.cta { text-align: center; }
.cta img { width: 96px; height: 96px; margin: 0 auto 20px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 720; }
.cta p { margin: 14px auto 0; max-width: 560px; font-size: 19px; color: var(--text-2); }
.cta .hero-actions { margin-top: 28px; }

.requirements { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* ---------- Textseiten (Impressum, Datenschutz, Support) ---------- */

.page { padding: 72px 0 96px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 740; margin-bottom: 12px; }
.prose .intro { font-size: 19px; color: var(--text-2); margin: 0 0 40px; }
.prose h2 { font-size: 24px; font-weight: 680; margin: 44px 0 10px; }
.prose h3 { font-size: 19px; font-weight: 650; margin: 28px 0 6px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose address { font-style: normal; color: var(--text); line-height: 1.7; }
.prose .meta { margin-top: 48px; font-size: 14px; color: var(--text-3); }

/* Platzhalter – vor der Veröffentlichung ausfüllen */
.todo {
  background: color-mix(in srgb, #f5a623 22%, transparent);
  color: var(--text); padding: 1px 6px; border-radius: 5px; font-weight: 600;
}

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 620; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; }

.contact-card {
  margin-top: 44px; display: flex; gap: 18px; align-items: center;
  background: var(--accent-soft); border-radius: var(--radius); padding: 24px 26px;
}
.contact-card svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.contact-card p { margin: 0; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; font-size: 14px; color: var(--text-3); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); }
.footer-links a[aria-current="page"] { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
