/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/lato-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/lato-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/lato-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/lato-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #a8b2be;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #e2e8f0;
  --line-soft: rgba(148, 163, 184, 0.28);
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --max: 720px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 34rem),
    linear-gradient(180deg, #b0b8c2 0%, var(--bg) 46%, #b0b8c2 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: #1d4ed8; }

/* ---- Hero ---- */

.hero { padding: 72px 0 56px; }

.hero-card {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 46px);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.08),
    0 18px 45px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  text-decoration: none;
}

.wordmark img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.10));
}

.wordmark span {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(20px, 2.7vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.lead-head {
  font-size: clamp(19px, 2.8vw, 23px);
  color: var(--text);
  font-weight: 680;
  margin: 0 0 16px;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.lead-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 2px 0 16px;
  line-height: 1.5;
  max-width: 590px;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.72;
}

.lead:last-child { margin-bottom: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-note {
  margin: 13px 0 0;
  max-width: 590px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--soft);
}

/* ---- Buttons ---- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.button.primary:hover {
  color: #fff;
  background: #020617;
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--text);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* ---- Main / Sections ---- */

main { padding-bottom: 8px; }

section {
  padding: 0;
  margin: 18px 0;
}

.section-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.07),
    0 12px 30px rgba(15, 23, 42, 0.10);
}

h2 {
  font-size: clamp(23px, 3.5vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 760;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.small  { font-size: 14px; color: var(--soft); }

/* ---- Lists ---- */

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li {
  padding: 14px 0 14px 34px;
  position: relative;
  color: var(--muted);
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

ul li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(1.25em + 5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.78;
}

ul li strong {
  color: var(--text);
  font-weight: 680;
}

ul li + li { border-top: 1px solid var(--line-soft); }

/* ---- Notice ---- */

.notice {
  border: 1px solid rgba(203, 213, 225, 0.90);
  border-left: 4px solid #94a3b8;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
  background: #fff;
}

/* ---- Footer ---- */

footer {
  padding: 32px 0 56px;
  color: var(--soft);
  font-size: 14px;
}

footer .footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

footer a {
  color: var(--soft);
  text-decoration: none;
}

footer a:hover { color: var(--text); }

/* ---- Legal pages ---- */

.legal-title {
  white-space: normal;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.08;
  margin-bottom: 0;
}

.legal-intro {
  font-size: 16px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 590px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  text-decoration: none;
}

.back-link:hover { color: var(--text); }

/* ---- Hero actions: equal width, centered ---- */

.hero-actions {
  justify-content: center;
}

.hero-actions .button {
  flex: 1;
  max-width: 200px;
  text-align: center;
}

/* ---- Floating CTA ---- */

.float-cta {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.float-cta .button {
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding: 9px 14px;
  min-height: 38px;
}

/* ---- Erweiterungen page ---- */

.addon-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.addon-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 760;
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.addon-tagline {
  font-size: 14px;
  color: var(--soft);
  margin: 0;
  line-height: 1.4;
}

.addon-price {
  text-align: right;
  flex-shrink: 0;
}

.addon-price-main {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.addon-price-range {
  font-size: 26px;
}

.addon-currency {
  font-size: 22px;
  font-weight: 700;
}

.addon-why {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.addon-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.addon-actions .button {
  min-width: 220px;
}

@media (max-width: 520px) {
  .addon-top {
    flex-direction: column;
    gap: 10px;
  }
  .addon-price {
    text-align: left;
  }
}

/* ---- Mobile ---- */

/* ---- Funktionen page ---- */

.fn-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 20px;
}

.fn-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soft);
  margin: 0 0 4px;
}

@media (max-width: 520px) {
  .fn-split { grid-template-columns: 1fr; }
}

.fn-quote {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 14px 14px 0;
}

.fn-quote p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px !important;
}

.fn-quote p:last-of-type { margin-bottom: 14px !important; }

.fn-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--soft);
  font-weight: 600;
}

/* ---- Download page ---- */

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.download-card {
  display: flex;
  flex-direction: column;
}

.download-card--featured {
  border-color: var(--accent);
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.07),
    0 12px 30px rgba(37, 99, 235, 0.13);
}

.dl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soft);
  background: var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.dl-badge--accent {
  color: var(--accent);
  background: var(--accent-soft);
}

.dl-title {
  font-size: clamp(19px, 2.5vw, 22px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.dl-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.dl-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.dl-currency {
  font-size: 26px;
  font-weight: 700;
}

.dl-price-note {
  font-size: 13px;
  color: var(--soft);
}

.dl-list {
  margin: 14px 0 20px !important;
}

.dl-list li {
  padding: 8px 0 8px 28px !important;
  font-size: 14px;
}

.dl-list li::before {
  width: 15px !important;
  height: 15px !important;
  top: 1.1em !important;
}

.dl-list li::after {
  width: 5px !important;
  height: 5px !important;
  top: calc(1.1em + 5px) !important;
  left: 5px !important;
}

.dl-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.dl-btn:disabled,
.dl-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
  pointer-events: none;
}

.dl-launch-offer {
  font-size: 13px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .download-grid { grid-template-columns: 1fr; }
}

/* ---- Contact form ---- */

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 160ms ease;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
}

.form-result.success {
  background: #e7faf0;
  color: #085229;
  border: 1px solid #13ce66;
}

.form-result.error {
  background: #ffeded;
  color: #661d1d;
  border: 1px solid #ff4949;
}

/* ---- FAQ ---- */

.faq-list details {
  border-top: 1px solid var(--line-soft);
}

.faq-list details:first-child { border-top: none; }

.faq-list summary {
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--soft);
  flex-shrink: 0;
  line-height: 1;
}

.faq-list details[open] summary::after { content: '−'; }

.faq-answer {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-answer p { margin: 0; }

.faq-answer code {
  font-size: 13px;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text);
}

/* ---- Nav ---- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.nav-list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-list li {
  padding: 0;
  flex-shrink: 0;
}

.nav-list li::before,
.nav-list li::after { display: none; }

.nav-list li + li { border-top: none; }

.nav-list a {
  display: block;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-list a:hover,
.nav-list a.active { color: rgba(255, 255, 255, 0.95); }

[id] { scroll-margin-top: 52px; }

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 34px 0 22px; }
  .hero-card, .section-card { border-radius: 20px; }
  h1 { font-size: 20px; white-space: normal; }
  .hero-actions { display: block; }
  .hero-actions .button { max-width: 100%; }
  .button { width: 100%; margin-top: 10px; }
  .float-cta { display: none; }
}
