:root {
  --bg: #0f1115;
  --bg-alt: #151922;
  --surface: #1b2030;
  --surface-2: #232a3d;
  --text: #e8ecf4;
  --muted: #9aa6bd;
  --line: #2a3145;
  --primary: #ffce00;     /* German gold */
  --primary-ink: #1a1300;
  --red: #dd0000;         /* German red */
  --accent: #4f8cff;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,21,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.flag {
  width: 26px; height: 18px; border-radius: 3px; display: inline-block;
  background: linear-gradient(#111 0 33.3%, var(--red) 33.3% 66.6%, var(--primary) 66.6% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}
.nav-links { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: .98rem; }
.nav-links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-cta { background: var(--primary); color: var(--primary-ink) !important; font-weight: 700; }
.nav-cta:hover { background: #ffd838 !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(255,206,0,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(79,140,255,.10), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: .3px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.25; margin: 0 0 18px; font-weight: 800; }
.lead { font-size: 1.18rem; color: #cfd6e6; max-width: 760px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .05s ease, background .2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: #ffd838; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 10px; font-weight: 800; }
.section-sub { color: var(--muted); margin: 0 0 36px; max-width: 760px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 26px; background: var(--surface); border: 1px solid var(--line); padding: 12px 16px; border-radius: 10px; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .12s; }
.card:hover { border-color: #3b465f; transform: translateY(-3px); }
.card .ico { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 860px; }
.tl-item { position: relative; display: flex; gap: 18px; padding: 0 0 26px; }
.tl-item:not(:last-child)::before {
  content: ""; position: absolute; top: 40px; bottom: 0;
  inset-inline-start: 19px; width: 2px; background: var(--line);
}
.tl-num {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: var(--primary); color: var(--primary-ink); z-index: 1;
}
.tl-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; flex: 1; }
.tl-body h3 { margin: 0 0 6px; font-size: 1.12rem; }
.tl-body p { margin: 0; color: var(--muted); }
.tl-body b { color: var(--text); }

/* ---------- Checklist ---------- */
.checklist { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); flex: 0 0 auto; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; }

/* ---------- Pricing ---------- */
.pricing { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 6px; font-size: 1.25rem; }
.plan .price { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.plan li::before { content: "✔ "; color: var(--primary); }
.plan-featured { border-color: var(--primary); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: 14px; inset-inline-start: -8px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--primary); font-weight: 800; }
.faq details[open] summary::before { content: "– "; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.faq details b { color: var(--text); }

/* ---------- About ---------- */
.about-text { max-width: 800px; }
.about-text p { color: #cfd6e6; }
.about-links { margin-top: 18px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { max-width: 820px; }
.auth-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.auth-box .btn { margin: 8px 0; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.welcome { margin-bottom: 18px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form label { display: block; font-size: .95rem; color: var(--muted); font-weight: 600; }
.contact-form label.full { margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 11px 13px; border-radius: 9px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: .98rem;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
}
.contact-form textarea { resize: vertical; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; inset-inline-end: 0; inset-inline-start: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 8px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .form-row { grid-template-columns: 1fr; }
}
