:root {
  --fonio-blue: #585dfe;
  --fonio-blue-dark: #3f46d6;
  --light-blue: #bcc3f6;
  --turquoise: #bfeff2;
  --light-green: #d1f4c7;
  --black: #0f0f16;
  --light: #F7F8FC;
  --white: #ffffff;
  --orange: #e8792b;
  --orange-bg: #fdf1e7;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(15, 15, 22, 0.08);
  --shadow-lg: 0 16px 48px rgba(88, 93, 254, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(188, 195, 246, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo-group { display: flex; align-items: center; gap: 14px; }
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 2px dashed var(--light-blue);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--fonio-blue);
  background: var(--light);
  white-space: nowrap;
}
.logo-placeholder.mint { color: var(--black); border-color: var(--turquoise); }
.logo-sep { color: #c6c9d8; font-size: 18px; }
.brand-logo {
  height: 34px;
  width: auto;
  display: inline-block;
}
.brand-logo.square { height: 44px; }
.brand-logo.partner-main { height: 52px; }
.brand-logo.partner-secondary { height: 26px; }
.partner-note {
  font-size: 10.5px;
  line-height: 1.25;
  color: #8a8fa3;
  font-weight: 500;
  white-space: nowrap;
}
.footer-logos {
  background: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-flex;
}
.header-nav { display: flex; gap: 22px; align-items: center; }
.header-nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
}
.header-nav a:hover { color: var(--fonio-blue); }
.header-cta {
  background: var(--fonio-blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--fonio-blue-dark); }

@media (max-width: 820px) {
  .header-nav a:not(.header-cta) { display: none; }
}

/* ---------- Launch-Bar ---------- */
.launch-bar {
  background: linear-gradient(90deg, var(--fonio-blue), var(--fonio-blue-dark));
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
}
.launch-bar strong { font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(191, 239, 242, 0.7), transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(188, 195, 246, 0.55), transparent 60%),
    var(--white);
  padding: 88px 0 72px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  color: #1d5c2a;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--fonio-blue); }
.hero p.lead {
  font-size: 19px;
  color: #4a4d5e;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--fonio-blue); color: var(--white); box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--fonio-blue-dark); transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--fonio-blue); border: 2px solid var(--fonio-blue); }
.btn-outline:hover { background: var(--fonio-blue); color: var(--white); transform: translateY(-2px); }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: #5a5d6e; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fonio-blue); display: inline-block; }

.hero-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border: 1px solid rgba(188, 195, 246, 0.4);
}
.hero-card h3 { font-size: 18px; margin-bottom: 6px; }
.hero-card .price-row { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
.hero-card .price-new { font-size: 40px; font-weight: 900; color: var(--fonio-blue); }
.hero-card .price-old { font-size: 20px; color: #9aa0b5; text-decoration: line-through; }
.hero-card ul { list-style: none; margin: 16px 0 20px; }
.hero-card ul li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; }
.hero-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--fonio-blue);
  font-weight: 900;
}

/* ---------- Counter ---------- */
.counter-box {
  margin-top: 20px;
  background: var(--light);
  border: 1px solid rgba(188, 195, 246, 0.5);
  border-radius: 14px;
  padding: 16px 18px;
}
.counter-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.counter-label .count { color: var(--fonio-blue); }
.counter-track { height: 10px; background: #e4e7f5; border-radius: 999px; overflow: hidden; }
.counter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--fonio-blue), var(--turquoise));
  border-radius: 999px;
  transition: width 0.8s ease;
}
.counter-hint { font-size: 12.5px; color: #6b6e80; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fonio-blue);
  background: rgba(88, 93, 254, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: #4a4d5e; }

/* ---------- Feature Grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(188, 195, 246, 0.35);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.section:not(.alt) .feature-card { background: var(--white); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-icon.blue { background: rgba(88, 93, 254, 0.1); }
.feature-icon.turq { background: var(--turquoise); }
.feature-icon.green { background: var(--light-green); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: #4a4d5e; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(188, 195, 246, 0.35);
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fonio-blue);
  color: var(--white);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: #4a4d5e; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.billing-toggle {
  display: inline-flex;
  background: #e9ecf9;
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 40px;
}
.billing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #5a5d6e;
  cursor: pointer;
}
.billing-toggle button.active { background: var(--white); color: var(--black); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--fonio-blue); font-weight: 900; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1.5px solid rgba(188, 195, 246, 0.45);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.highlight {
  border: 2px solid var(--fonio-blue);
  box-shadow: var(--shadow-lg);
}
.price-card .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fonio-blue);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 22px; font-weight: 900; }
.price-card .sub { font-size: 14px; color: #6b6e80; margin-bottom: 18px; }
.price-amount { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; }
.price-amount small { font-size: 16px; font-weight: 500; color: #6b6e80; }
.price-note { font-size: 13px; color: #8a8da0; margin-bottom: 20px; min-height: 20px; }
.price-features { list-style: none; margin: 0 0 24px; flex: 1; }
.price-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(188, 195, 246, 0.25);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--fonio-blue); font-weight: 900; }
.price-card .btn { width: 100%; }
.price-guarantee {
  text-align: center;
  margin-top: 28px;
  font-size: 14.5px;
  color: #4a4d5e;
}
.price-guarantee strong { color: var(--black); }

/* Setup-Karte */
.setup-card {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--black) 0%, #1d1d2e 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.setup-card::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 93, 254, 0.35), transparent 70%);
  top: -120px;
  right: -80px;
}
.setup-card h3 { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.setup-card .setup-sub { color: #b8bccd; font-size: 15.5px; margin-bottom: 20px; }
.setup-card ul { list-style: none; }
.setup-card ul li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; color: #dfe1ee; }
.setup-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--turquoise); font-weight: 900; }
.setup-price-box { text-align: center; position: relative; }
.setup-price-box .launch-tag {
  display: inline-block;
  background: var(--light-green);
  color: #1d5c2a;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.setup-price-box .price-old { font-size: 22px; color: #8a8da0; text-decoration: line-through; }
.setup-price-box .price-new { font-size: 54px; font-weight: 900; color: var(--turquoise); }
.setup-price-box .price-period { font-size: 14px; color: #b8bccd; margin-bottom: 20px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .setup-card { grid-template-columns: 1fr; padding: 30px 24px; }
}

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.cta-booking {
  background: linear-gradient(160deg, var(--fonio-blue), var(--fonio-blue-dark));
  color: var(--white);
  border-radius: 24px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.cta-booking h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.cta-booking p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; font-size: 16px; }
.cta-booking ul { list-style: none; margin-bottom: 30px; }
.cta-booking ul li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.cta-booking ul li::before { content: "✓"; position: absolute; left: 0; color: var(--turquoise); font-weight: 900; }
.btn-white { background: var(--white); color: var(--fonio-blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }

.cta-form {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 34px;
  border: 1px solid rgba(188, 195, 246, 0.45);
  box-shadow: var(--shadow);
}
.cta-form h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.cta-form .form-sub { font-size: 14.5px; color: #6b6e80; margin-bottom: 24px; }

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

/* ---------- Formular ---------- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #dde0ee;
  border-radius: 11px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--fonio-blue);
  box-shadow: 0 0 0 3px rgba(88, 93, 254, 0.15);
}
.form-hint { font-size: 13px; color: #8a8da0; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.pw-generate {
  background: none;
  border: none;
  color: var(--fonio-blue);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 7px;
}
.pw-generate:hover { text-decoration: underline; }

.check-card {
  border: 1.5px solid #dde0ee;
  border-radius: 12px;
  padding: 15px 16px;
  margin-bottom: 14px;
}
.check-card label {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  align-items: flex-start;
}
.check-card input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--fonio-blue);
  flex-shrink: 0;
}
.check-card .check-desc { font-size: 13px; color: #6b6e80; font-weight: 400; margin-top: 4px; }
.check-card a { color: var(--fonio-blue); }

.addon-warning {
  margin-top: 12px;
  background: var(--orange-bg);
  border: 1px solid #f3cfa9;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13.5px;
  color: var(--orange);
}
.addon-warning strong { display: block; margin-bottom: 3px; }

.form-submit {
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--fonio-blue); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success .check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--light-green);
  color: #1d5c2a;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success h4 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: #4a4d5e; font-size: 15px; }

.form-error-msg {
  display: none;
  background: #fdeaea;
  border: 1px solid #f3b9b9;
  color: #b3261e;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- Launch-Ausblendung ---------- */
[data-launch] { transition: opacity 0.3s; }
body.launch-ended [data-launch="offer"] { display: none !important; }
body.launch-ended [data-launch="ended"] { display: block !important; }
[data-launch="ended"] { display: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(188, 195, 246, 0.4);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 19px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--fonio-blue);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 15px; color: #4a4d5e; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #b8bccd;
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer-grid a { color: #b8bccd; text-decoration: none; display: block; font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 12px; max-width: 340px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-page { background: var(--white); padding: 64px 0 96px; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 34px; font-weight: 900; margin-bottom: 28px; }
.legal-content h2 { font-size: 21px; margin: 34px 0 12px; }
.legal-content h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 15.5px; color: #3c3f50; margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content .sig-line { margin-top: 40px; color: #6b6e80; }
.legal-content a { color: var(--fonio-blue); }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--fonio-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.back-link:hover { text-decoration: underline; }
