/* ============================================================
   SIEBURA Design System — Website (Astro-Port, 0 KB JS)
   Quelle: SIEBURA Design System (tokens + components)
   Neon Yellow #FFED00 / Warm Black #15190E / White
   ============================================================ */

/* ---- Color tokens ---- */
:root {
  --yellow-50: #FFFDE6;
  --yellow-100: #FFFAB3;
  --yellow-200: #FFF680;
  --yellow-300: #FFF34D;
  --yellow-400: #FFF01A;
  --yellow-500: #FFED00;
  --yellow-600: #E6D400;
  --yellow-700: #B8AA00;
  --yellow-800: #8A7F00;
  --yellow-900: #5C5500;

  --ink-950: #0C0F07;
  --ink-900: #15190E;
  --ink-800: #24281C;

  --neutral-0:  #FFFFFF;
  --neutral-50: #F7F7F2;
  --neutral-100:#ECEDE5;
  --neutral-200:#DADCCF;
  --neutral-300:#BEC1B0;
  --neutral-400:#93968A;
  --neutral-500:#6C6F64;
  --neutral-600:#4F5247;
  --neutral-700:#383B31;
  --neutral-800:#24281C;
  --neutral-900:#15190E;
  --neutral-950:#0C0F07;

  --success-500: #4C8B3F;
  --success-100: #E3F0DF;
  --warning-500: #E0A400;
  --warning-100: #FBEFCC;
  --danger-500:  #C4432B;
  --danger-100:  #F7E0DA;

  --color-bg:            var(--neutral-0);
  --color-bg-subtle:     var(--neutral-50);
  --color-surface:       var(--neutral-0);
  --color-surface-alt:   var(--neutral-100);
  --color-surface-inverse: var(--ink-900);

  --text-primary:   var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-muted:     var(--neutral-500);
  --text-inverse:   var(--neutral-0);
  --text-on-accent: var(--ink-900);

  --border:        var(--neutral-200);
  --border-strong: var(--neutral-300);
  --border-inverse: var(--ink-800);

  --accent:        var(--yellow-500);
  --accent-hover:  var(--yellow-600);
  --accent-subtle: var(--yellow-100);
  --on-accent:     var(--ink-900);
}

/* ---- Typography tokens ---- */
:root {
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-body:    'Archivo', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600;
  --fw-bold: 700; --fw-extrabold: 800; --fw-black: 900;

  --text-xs: 12px; --text-sm: 14px; --text-base: 16px; --text-lg: 18px;
  --text-xl: 20px; --text-2xl: 24px; --text-3xl: 30px; --text-4xl: 38px;

  --leading-none: 1; --leading-tight: 1.14; --leading-snug: 1.3;
  --leading-normal: 1.55; --leading-relaxed: 1.65;

  --tracking-tighter: -0.03em; --tracking-tight: -0.015em;
  --tracking-normal: 0; --tracking-wide: 0.04em; --tracking-wider: 0.12em;
}

/* ---- Spacing / radius / shadows / motion ---- */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --container-sm: 640px; --container-md: 860px;
  --container-lg: 1080px; --container-xl: 1280px;
  --gutter: 24px;

  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 10px;
  --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(21, 25, 14, 0.06);
  --shadow-sm: 0 1px 3px rgba(21, 25, 14, 0.08), 0 1px 2px rgba(21, 25, 14, 0.06);
  --shadow-md: 0 4px 12px rgba(21, 25, 14, 0.10);
  --shadow-lg: 0 12px 32px rgba(21, 25, 14, 0.14);

  --duration-fast: 120ms; --duration-base: 180ms;
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---- Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--color-bg);
}
a { color: inherit; }
.wrap { max-width: var(--container-lg); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; border-radius: var(--radius-xs); display: block; }
.brand span {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: 22px; letter-spacing: var(--tracking-tight); color: var(--ink-900);
}
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a.navlink {
  padding: 8px 14px; font-size: 15px; font-weight: var(--fw-semibold);
  color: var(--text-secondary); text-decoration: none;
  border-bottom: 3px solid transparent;
}
nav.main a.navlink:hover { color: var(--ink-900); }
nav.main a.navlink.active { color: var(--ink-900); border-bottom-color: var(--yellow-500); }
nav.main .nav-cta { margin-left: 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: var(--fw-bold);
  line-height: 1; letter-spacing: var(--tracking-tight);
  border-radius: var(--radius-md); text-decoration: none;
  transition: background var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn.sm { font-size: var(--text-sm); padding: 8px 16px; height: 36px; }
.btn.md { font-size: var(--text-base); padding: 11px 22px; height: 44px; }
.btn.lg { font-size: var(--text-lg); padding: 14px 30px; height: 52px; }
.btn.primary { background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.secondary { background: var(--ink-900); color: var(--text-inverse); border: 2px solid var(--ink-900); }
.btn.secondary:hover { background: var(--ink-800); border-color: var(--ink-800); }
.btn.ghost { background: transparent; color: var(--text-primary); border: 2px solid var(--border-strong); }
.btn.ghost:hover { background: var(--neutral-100); border-color: var(--ink-900); }
.btn.ghost.inverse { color: var(--text-inverse); border-color: var(--neutral-600); }
.btn.ghost.inverse:hover { background: rgba(255,255,255,.08); border-color: var(--neutral-300); }

/* ---- Badge ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-sm);
}
.badge.accent { background: var(--yellow-500); color: var(--ink-900); border: 1px solid var(--yellow-500); }
.badge.dark { background: var(--ink-900); color: var(--text-inverse); border: 1px solid var(--ink-900); }
.badge.neutral { background: var(--neutral-100); color: var(--neutral-700); border: 1px solid var(--neutral-200); }

/* ---- Hero ---- */
.hero {
  background: var(--ink-900); color: var(--text-inverse);
  padding: 96px 0 88px; position: relative; overflow: hidden;
}
.hero .deco {
  position: absolute; top: -80px; right: -60px; width: 340px; height: 340px;
  background: var(--yellow-500); border-radius: 6px;
  transform: rotate(12deg); opacity: 0.14;
}
.hero .wrap { position: relative; }
.hero .kicker {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: var(--text-sm); font-weight: var(--fw-bold);
  color: var(--yellow-500); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(44px, 8vw, 104px); line-height: 0.95;
  letter-spacing: var(--tracking-tighter); text-transform: uppercase;
  margin: 0 0 28px;
}
.hero h1 .hl {
  background: var(--yellow-500); color: var(--ink-900);
  padding: 0 0.12em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero .lead {
  font-size: 21px; line-height: var(--leading-normal);
  color: var(--neutral-300); max-width: 640px; margin-bottom: 40px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: 72px 0; }
section.alt {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
section h2 {
  font-family: var(--font-display); font-weight: var(--fw-extrabold);
  font-size: 32px; letter-spacing: var(--tracking-tight); margin: 14px 0 8px;
}
section .sub {
  font-size: var(--text-lg); color: var(--text-secondary);
  max-width: 640px; margin-bottom: 40px;
}

/* ---- Cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--color-surface); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-xs);
}
.card.accent { border-top: 4px solid var(--accent); }
.card.lg { padding: var(--space-8); }
.card .num {
  font-family: var(--font-mono); font-weight: var(--fw-bold);
  color: var(--yellow-700); font-size: var(--text-sm); letter-spacing: .08em;
}
.card h3 {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight);
  margin: 10px 0 var(--space-2);
}
.card p { color: var(--text-secondary); font-size: var(--text-base); }

/* ---- Steps ---- */
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step .dot {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: var(--yellow-500); color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--fw-black); font-size: 20px;
}
.step h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 20px; margin: 4px 0 6px;
}
.step p { color: var(--text-secondary); max-width: 620px; }

/* ---- Checkliste ---- */
ul.checks { list-style: none; }
ul.checks li {
  padding: 8px 0 8px 34px; position: relative; color: var(--text-secondary);
}
ul.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 8px;
  color: var(--yellow-700); font-weight: var(--fw-black);
}

/* ---- CTA-Band ---- */
.cta-band { background: var(--yellow-500); text-align: center; }
.cta-band h2 {
  font-weight: var(--fw-black); font-size: 36px;
  letter-spacing: -0.02em; color: var(--ink-900); margin: 0 0 14px;
}
.cta-band p { font-size: var(--text-lg); color: var(--ink-800); margin: 0 auto 30px; max-width: 560px; }

/* ---- Footer ---- */
footer.site { background: var(--ink-900); color: var(--neutral-300); padding: 48px 0 40px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer.site .intro { max-width: 320px; }
footer.site .intro img { height: 30px; margin-bottom: 14px; display: block; }
footer.site .intro p { font-size: var(--text-sm); line-height: 1.6; margin: 0; }
footer.site .menus { display: flex; gap: 48px; }
footer.site .menu { display: flex; flex-direction: column; gap: 8px; }
footer.site .menu span {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--neutral-500);
}
footer.site .menu a { color: var(--neutral-300); font-size: var(--text-sm); text-decoration: none; }
footer.site .menu a:hover { color: var(--yellow-500); }
footer.site .copy {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ink-800);
  font-size: 13px; color: var(--neutral-500);
}

/* ---- Unterseiten (ContentPage) ---- */
.page-head {
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 44px;
}
.page-head h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: 34px; letter-spacing: -0.02em;
}
.page-head p { font-size: 17px; color: var(--text-secondary); margin-top: 10px; max-width: 700px; }
article.page { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
article.page h2 {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 22px; margin: 32px 0 8px;
}
article.page p, article.page li { color: var(--text-secondary); margin-bottom: 12px; line-height: var(--leading-relaxed); }
article.page ul { padding-left: 22px; }

/* ---- Formulare ---- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }
.field input, .field select, .field textarea {
  height: 44px; padding: 0 14px; font-size: var(--text-base);
  font-family: var(--font-body); color: var(--text-primary);
  background: var(--color-surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}
.field textarea { height: auto; padding: 12px 14px; line-height: var(--leading-normal); resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px var(--yellow-200);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "\25BE"; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--text-secondary); font-size: 12px;
}
.select-wrap select { width: 100%; }
.checkbox {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-base); color: var(--text-primary); cursor: pointer;
}
.checkbox input { width: 20px; height: 20px; accent-color: var(--ink-900); }

/* ---- Alert ---- */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--radius-md); padding: 14px 16px;
  border-left: 4px solid var(--ink-900);
  background: var(--neutral-50); color: var(--text-primary);
}
.alert.success { border-left-color: var(--success-500); background: var(--success-100); color: #2E5A26; }
.alert .title { font-weight: var(--fw-bold); margin-bottom: 4px; }
.alert p { font-size: var(--text-sm); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  nav.main a.navlink { padding: 8px 8px; font-size: 14px; }
  .brand span { font-size: 19px; }
}
