/* Layout: hard-edged index. Navy and orange slabs, one variable family pushed from condensed to wide, no cards, no radius. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("fonts/sora.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --navy: #0B2E6E;
  --navy-deep: #071F4D;
  --orange: #FF6B3D;
  --ink: #0A1226;
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --grey: #5A6275;
  --soft: #C9D6EE;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --brand: "Sora", "Archivo", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --rule: 3px solid var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.pad { padding-inline: var(--gutter); }

/* Display type: condensed, heavy, upper. */
.mega {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}
.site-header .pad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-name { font-family: var(--brand); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.045em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-stretch: 112%; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.nav a { text-decoration: none; padding-block: 10px; color: var(--soft); }
.nav a:hover { color: var(--white); }
.nav .nav-cta { background: var(--orange); color: var(--ink); padding: 10px 16px; }
.nav .nav-cta:hover { color: var(--ink); background: var(--white); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(48px, 8vw, 96px) 0;
}
.hero-stripe, .hero-stripe-2 {
  position: absolute;
  top: -30%;
  height: 170%;
  transform: rotate(36deg);
  pointer-events: none;
}
.hero-stripe { right: 3%; width: clamp(70px, 11vw, 170px); background: var(--orange); }
.hero-stripe-2 { right: -4%; width: clamp(20px, 3vw, 46px); background: #16408F; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: clamp(24px, 4vw, 40px); }
.hero h1 { font-size: clamp(4.2rem, 15vw, 12.5rem); }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--orange); }
.hero-sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px 48px;
  align-items: end;
}
.hero-sub p { font-size: clamp(1.15rem, 2vw, 1.5rem); font-stretch: 92%; line-height: 1.35; max-width: 30ch; color: var(--white); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 22px;
  font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem;
  text-decoration: none; border: 3px solid currentColor;
  transition: background 0.12s ease, color 0.12s ease;
}
.btn-hot { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-hot:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-line { color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Facts strip: the registration itself */
.facts {
  position: relative; z-index: 1;
  margin-top: clamp(40px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  border-top: 1px solid rgba(201, 214, 238, 0.35);
  background: var(--navy);
  box-shadow: 0 0 0 100vmax var(--navy);
  clip-path: inset(0 -100vmax);
}
.fact { padding: 18px 0; display: grid; gap: 2px; min-width: 0; }
.fact + .fact { border-left: 1px solid rgba(201, 214, 238, 0.35); padding-left: 20px; }
.fact b { font-stretch: 112%; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.fact span { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201, 214, 238, 0.35); } }

/* Ticker */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.6rem); padding: 10px 0; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Services index */
.index { padding-block: clamp(64px, 9vw, 120px); }
.index-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.index-head h2 { font-size: clamp(3rem, 9vw, 7rem); }
.index-head p { max-width: 42ch; color: var(--grey); font-size: 1.1rem; }

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px 48px;
  padding-block: clamp(24px, 4vw, 40px);
  border-top: var(--rule);
  align-items: start;
  transition: background 0.15s ease;
}
.svc:last-child { border-bottom: var(--rule); }
.svc h3 { font-size: clamp(3.4rem, 12vw, 9.5rem); color: var(--navy); transition: color 0.15s ease; }
.svc-body { display: grid; gap: 16px; padding-top: 8px; min-width: 0; }
.svc-body p { font-size: 1.15rem; line-height: 1.45; font-weight: 500; }
.svc-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--grey); font-size: 0.98rem; }
.svc-body li::before { content: "/ "; color: var(--orange); font-weight: 800; }
.svc:hover h3 { color: var(--orange); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .svc, .svc h3 { transition: none; } }

/* Statement slab */
.slab { background: var(--ink); color: var(--white); padding-block: clamp(64px, 10vw, 140px); }
.slab p {
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1; text-transform: uppercase; max-width: 18ch;
  text-wrap: balance;
}
.slab p em { font-style: normal; color: var(--orange); }

/* Flow */
.flow { padding-block: clamp(64px, 9vw, 120px); border-bottom: var(--rule); }
.flow h2 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: clamp(24px, 4vw, 40px); }
.flow-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 28px 32px;
}
.flow-item { display: grid; gap: 8px; align-content: start; min-width: 0; }
.flow-item strong { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.flow-item strong::after { content: " →"; color: var(--orange); }
.flow-item:last-child strong::after { content: ""; }
.flow-item p { color: var(--grey); max-width: 32ch; }

/* About */
.about { padding-block: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 64px; align-items: start; }
.about h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { max-width: 58ch; font-size: 1.1rem; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; min-width: 0; }
.skills span { border: 3px solid var(--ink); padding: 8px 14px; font-weight: 700; font-stretch: 112%; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; }
.skills span:nth-child(-n+2) { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Track record */
.record { background: var(--navy); color: var(--white); padding-block: clamp(64px, 9vw, 120px); }
.record > h2 { font-size: clamp(3rem, 10vw, 8rem); margin-bottom: clamp(28px, 5vw, 48px); }
.runs { list-style: none; margin: 0; padding: 0; }
.run {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px 40px;
  align-items: baseline;
  padding-block: 22px;
  border-top: 1px solid rgba(201, 214, 238, 0.3);
}
.run:last-child { border-bottom: 1px solid rgba(201, 214, 238, 0.3); }
.run-year { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--soft); font-variant-numeric: tabular-nums; }
.run-now .run-year { color: var(--orange); }
.run-main { display: grid; gap: 4px; min-width: 0; }
.run-main h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-stretch: 100%; line-height: 1.25; }
.run-org { color: var(--soft); font-size: 0.98rem; }
.run-note { color: var(--soft); font-size: 0.98rem; max-width: 40ch; }
.run-now { border-top: 3px solid var(--orange); }
@media (max-width: 820px) { .run { grid-template-columns: 1fr; gap: 6px; } }

/* Anchor targets clear the sticky header */
section[id] { scroll-margin-top: 80px; }

/* Contact */
.contact { background: var(--orange); color: var(--ink); padding-block: clamp(64px, 10vw, 140px); }
.contact-inner { display: grid; gap: clamp(24px, 4vw, 40px); }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.01em; }
.contact .mail {
  font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: lowercase;
  font-size: clamp(3rem, 13vw, 11rem); line-height: 0.9; text-decoration: none; color: var(--ink);
  overflow-wrap: anywhere; display: inline-block;
}
.contact .mail:hover { color: var(--white); }
.contact-row { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; font-size: 1.2rem; font-weight: 600; }
.contact-row a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-row span { color: rgba(10, 18, 38, 0.75); font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink); color: var(--soft); font-size: 0.9rem; }
.site-footer .pad { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--white); }

/* Legal pages */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal-inner { max-width: 760px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.legal h2 { overflow-wrap: break-word; hyphens: auto; }
.legal h1 { font-size: clamp(3rem, 10vw, 6rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.15rem; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 20px; padding-top: 16px; border-top: var(--rule); }
.legal p, .legal li { line-height: 1.65; overflow-wrap: break-word; hyphens: auto; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal .todo { background: var(--ink); color: var(--white); padding: 14px 18px; font-size: 0.95rem; }
.legal .todo b { color: var(--orange); }
.back { font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.03em; }

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--orange); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Language switch */
.langs { display: inline-flex; border: 2px solid rgba(201, 214, 238, 0.45); }
.langs a { padding: 6px 9px !important; font-size: 0.8rem; color: var(--soft); }
.langs a + a { border-left: 2px solid rgba(201, 214, 238, 0.45); }
.langs a[aria-current="true"] { background: var(--white); color: var(--navy); }
.langs a:hover { color: var(--white); background: var(--navy-deep); }
.langs a[aria-current="true"]:hover { color: var(--navy); background: var(--white); }

/* Copy email */
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; min-width: 0; }
.copy {
  font: inherit; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.9rem;
  min-height: 48px; padding: 10px 18px; cursor: pointer;
  background: var(--ink); color: var(--white); border: 3px solid var(--ink);
}
.copy:hover { background: var(--white); color: var(--ink); }

/* 404 */
.lost { position: relative; overflow: hidden; background: var(--navy); color: var(--white); min-height: calc(100vh - 66px); display: grid; align-items: center; }
.lost-inner { position: relative; z-index: 1; display: grid; gap: 24px; padding-block: 64px; }
.lost-code { font-size: clamp(7rem, 30vw, 22rem); color: var(--orange); line-height: 0.8; margin: 0; }
.lost h1 { font-size: clamp(2.6rem, 8vw, 6rem); }
.lost-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 1.2rem; color: var(--soft); }

/* Expertise (replaces dated CV) */
.xp { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.xp-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px 48px;
  align-items: center;
  padding-block: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(201, 214, 238, 0.3);
}
.xp-item:first-child { border-top: 3px solid var(--orange); }
.xp-item:last-child { border-bottom: 1px solid rgba(201, 214, 238, 0.3); }
.xp-item h3 { font-size: clamp(2.4rem, 7vw, 5.5rem); color: var(--white); transition: color 0.15s ease; }
.xp-item:hover h3 { color: var(--orange); }
.xp-item p { color: var(--soft); font-size: 1.08rem; max-width: 44ch; }
@media (max-width: 820px) { .xp-item { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .xp-item h3 { transition: none; } }

/* Content packages: one row per package, no cards */
.packages { padding-block: clamp(64px, 9vw, 120px); background: var(--white); border-top: var(--rule); }
.pkg {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 20px 40px;
  align-items: start;
  padding-block: clamp(24px, 4vw, 40px);
  border-top: var(--rule);
}
.pkg:last-of-type { border-bottom: var(--rule); }
.pkg-amount { display: grid; gap: 4px; min-width: 0; }
.pkg-num { font-size: clamp(5rem, 13vw, 10rem); color: var(--navy); }
.pkg-unit { font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--grey); }
.pkg-body { display: grid; gap: 12px; min-width: 0; }
.pkg-body h3 { line-height: 1.12; font-size: clamp(1.6rem, 3vw, 2.2rem); font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; }
.pkg-body p { font-size: 1.1rem; font-weight: 500; line-height: 1.45; max-width: 40ch; }
.pkg-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--grey); }
.pkg-body li::before { content: "/ "; color: var(--orange); font-weight: 800; }
.pkg-buy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.pkg-price { display: grid; gap: 2px; }
.pkg-price .mega { font-size: clamp(3rem, 6vw, 4.6rem); color: var(--ink); }
.pkg-price small { font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--grey); }
.pkg:hover .pkg-num { color: var(--orange); }
.packages .btn-hot:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pkg-steps { margin-top: 32px; font-weight: 600; font-size: 1.05rem; max-width: 70ch; }
.pkg-fine { margin-top: 10px; color: var(--grey); font-size: 0.95rem; max-width: 80ch; }
.pkg-custom { margin-top: 18px; font-weight: 700; }
.pkg-custom a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) { .pkg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } .pkg-buy { grid-column: 1 / -1; grid-template-columns: auto auto; align-items: center; justify-content: space-between; } }
@media (max-width: 560px) { .pkg { grid-template-columns: 1fr; } .pkg-buy { grid-template-columns: 1fr; } }

/* Shop */
.hero-shop .hero-inner { padding-block: clamp(48px, 7vw, 88px); }
.hero-shop h1 { font-size: clamp(3.4rem, 11vw, 9rem); }
.hero-shop .hero-sub p { max-width: 36ch; }
.account { background: var(--navy); color: var(--white); padding-block: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px 64px; align-items: start; }
.account-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.account-copy h2 { font-size: clamp(3rem, 9vw, 6.5rem); }
.account-copy p { color: var(--soft); font-size: 1.1rem; max-width: 46ch; }
.account .btn-hot:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.account-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--orange); min-width: 0; }
.account-points li { padding: 16px 0; border-bottom: 1px solid rgba(201, 214, 238, 0.3); font-weight: 600; font-size: 1.05rem; }
.account-points li::before { content: "✓ "; color: var(--orange); font-weight: 800; }

/* Termin-Hinweis im Shop */
.pkg-notice { margin: 8px 0 40px; padding: 24px 28px; background: var(--orange, #FF6B3D); color: #0A1226; border-left: 10px solid #0A1226; }
.pkg-notice h3 { font-family: inherit; font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: .01em; line-height: 1.15; margin: 0 0 12px; }
.pkg-notice ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: 1.05rem; font-weight: 500; }
.pkg-notice b { font-weight: 800; }
@media (max-width: 600px) { .pkg-notice { padding: 18px 16px; border-left-width: 6px; } }
