/* BOXED IT – Website-Stil nach Styleguide V1.0 (assets/styleguide/STYLEGUIDE.md).
   Keine externen Schriften oder Skripte (Datenschutz). Keine Glows, Neonverläufe oder Schatten – Ausnahme: Leuchten der Produktkarten (D013). */
:root {
  --bx-bg: #090B0F;
  --bx-surface: #141922;
  --bx-text: #FFFFFF;
  --bx-text-2: #9CA3AF;
  --bx-line: #303947;
  --bx-outline: #707C8D;
  --bx-security: #FF3849;
  --bx-ai: #A35CFF;
  --bx-grc: #347EFF;
  --bx-open: #F6D589;
  --bx-font: Arial, Helvetica, system-ui, sans-serif;
  --bx-radius-control: 8px;
  --bx-radius-card: 12px;
  --bx-max: 1280px;
  --bx-gutter: 32px;
  --bx-section: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bx-bg);
  color: var(--bx-text);
  font-family: var(--bx-font);
  font-size: 16px;
  line-height: 25px;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 700; }

.wrap { max-width: var(--bx-max); margin: 0 auto; padding: 0 var(--bx-gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bx-text); color: var(--bx-bg); padding: 8px 12px; border-radius: var(--bx-radius-control); z-index: 10; }

/* Fokus: weißer 2-px-Ring mit 3 px Abstand */
a:focus-visible { outline: 2px solid var(--bx-text); outline-offset: 3px; border-radius: 4px; }

/* Rubrik: 12/19, Bold, Versalien, 0,14 em */
.rubrik {
  margin: 0 0 16px;
  font-size: 12px; line-height: 19px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bx-text-2);
}

/* Kopf – Dachmarken-Lockup mindestens 120 px breit */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--bx-bg);
  border-bottom: 1px solid var(--bx-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: block; padding: 8px 0; }
.brand img { width: 160px; height: auto; }
.nav { display: flex; gap: 8px; font-size: 14px; line-height: 21px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; color: var(--bx-text-2);
}
.nav a:hover, .nav a:focus-visible { color: var(--bx-text); }

/* Hero: großes Logo, Claim als eigene Zeile, 88 px vertikaler Raum.
   Dreifarbiges Leuchten im Hintergrund in den Produktfarben (bewusste Ausnahme, D013). */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0;
  text-align: center;
  border-bottom: 1px solid var(--bx-line);
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  left: 0; right: 0; bottom: -45%; height: 100%;
  background:
    radial-gradient(38% 50% at 24% 55%, color-mix(in srgb, var(--bx-security) 18%, transparent), transparent 70%),
    radial-gradient(38% 50% at 50% 65%, color-mix(in srgb, var(--bx-ai) 16%, transparent), transparent 70%),
    radial-gradient(38% 50% at 76% 55%, color-mix(in srgb, var(--bx-grc) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-logo { margin: 0; }
.hero-logo img { width: min(620px, 100%); margin: 0 auto; }
.claim {
  margin: 32px 0 0;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.125;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.lead {
  max-width: 62ch; margin: 24px auto 0;
  color: var(--bx-text-2); font-size: 20px; line-height: 30px;
}

/* Schaltflächen: primär weiß mit dunkler Schrift */
.btn {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: 32px; padding: 0 24px;
  border: 1px solid var(--bx-text); border-radius: var(--bx-radius-control);
  background: var(--bx-text); color: var(--bx-bg);
  font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--bx-line); border-color: var(--bx-line); color: var(--bx-text); }
.btn:active { background: #424F63; border-color: #424F63; color: var(--bx-text); }

/* Abschnitte: 56 px, Überschriften 32/36 und 20/23 */
.section { padding: var(--bx-section) 0; }
.section h2 { font-size: 32px; line-height: 36px; margin: 0 0 12px; letter-spacing: -0.025em; }
.section .intro { color: var(--bx-text-2); max-width: 62ch; margin: 0 0 32px; }
.section .intro a { color: var(--bx-text); }

/* Produktkarten: 24 px Innenabstand, 12 px Radius, ein Akzent pro Karte */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.box {
  --c: var(--bx-grc);
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--bx-line);
  border-top: 3px solid var(--c);
  border-radius: var(--bx-radius-card);
  background: var(--bx-surface);
  /* Bewusste Ausnahme vom Styleguide (D013): weiches Leuchten in der Produktfarbe */
  box-shadow: 0 0 40px -12px color-mix(in srgb, var(--c) 55%, transparent);
}
.box--security { --c: var(--bx-security); }
.box--ai { --c: var(--bx-ai); }
.box--grc { --c: var(--bx-grc); }
.box-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.box-icon { width: 48px; height: 48px; flex: none; }
.box h3 { margin: 0; font-size: 20px; line-height: 23px; }
.box .sub { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--bx-text-2); }
.box p { margin: 0 0 16px; }
.box ul { margin: 0; padding-left: 18px; color: var(--bx-text-2); font-size: 14px; line-height: 21px; }
.box li + li { margin-top: 4px; }

/* Prinzipien */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--bx-line); padding-top: 32px; }
.principles h3 { font-size: 20px; line-height: 23px; margin: 0 0 8px; }
.principles p { margin: 0; color: var(--bx-text-2); }

/* Rechtsseiten */
.legal { padding: var(--bx-section) 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 40px; line-height: 45px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; line-height: 23px; margin: 40px 0 8px; }
.legal p, .legal li { color: var(--bx-text); }
.legal .todo {
  display: inline; padding: 1px 6px; border-radius: 4px;
  border: 1px solid var(--bx-open); color: var(--bx-open); font-size: 0.95em;
}
.note {
  border: 1px solid var(--bx-open); border-radius: var(--bx-radius-card);
  padding: 16px 24px; color: var(--bx-open); background: var(--bx-surface);
}

/* Fuß */
.site-footer { border-top: 1px solid var(--bx-line); padding: 32px 0; color: var(--bx-text-2); font-size: 14px; line-height: 21px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 8px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--bx-text); }

/* 640–1023 px: 8 Spalten, Karten 2-spaltig */
@media (max-width: 1023px) {
  .boxes { grid-template-columns: repeat(2, 1fr); }
}
/* bis 639 px: 16 px Rand, alles untereinander */
@media (max-width: 639px) {
  :root { --bx-gutter: 16px; --bx-section: 40px; }
  .hero { padding: 56px 0; }
  .boxes, .principles { grid-template-columns: 1fr; }
  .lead { font-size: 18px; line-height: 27px; }
  .section h2 { font-size: 28px; line-height: 32px; }
  .nav .nav-boxes { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
