@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #0E2240;
  --navy-deep: #0A1A33;
  --navy-2: #16325C;
  --cream: #F4EFE6;
  --paper: #FBF8F3;
  --paper-2: #F3EDE3;
  --red: #C8102E;
  --gold: #D9A21B;
  --gold-dark: #8A6410;
  --ink: #14213A;
  --muted: #56627A;
  --line: rgba(14, 34, 64, 0.12);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --text-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --radius: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 800; }
h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.gold { color: var(--gold); }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .975rem; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #E8B53A; }
.btn-ghost { border-color: rgba(244, 239, 230, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-large { padding: 1.05rem 1.8rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  color: var(--cream);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(10, 26, 51, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand em { font-style: normal; font-weight: 400; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(29, 60, 107, .9), transparent 70%),
    linear-gradient(180deg, var(--navy-deep), var(--navy) 60%, #102749);
  padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0 clamp(7rem, 5rem + 6vw, 11rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(244, 239, 230, .09) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 45%, transparent 60%, #000 100%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 1.25rem; }
.hero h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.hero .lead { font-size: var(--text-lead); max-width: 38rem; color: rgba(244, 239, 230, .82); margin-bottom: 2.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-visual { display: flex; justify-content: center; }
.route { position: relative; display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; }
.route::before {
  content: ""; position: absolute; left: -8%; right: -8%; top: 50%;
  border-top: 2px dashed rgba(244, 239, 230, .28);
}
.hero-emblem {
  position: relative; width: 78%;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(217, 162, 27, .08), 0 0 0 22px rgba(217, 162, 27, .04), 0 30px 60px rgba(0, 0, 0, .35);
  animation: rise 1.1s var(--ease) both;
}
.pin {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--navy-deep); padding: .35rem .6rem; border-radius: 6px;
}
.pin::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .5rem; vertical-align: 1px; }
.pin-ca { left: -10%; }
.pin-ca::before { background: var(--red); }
.pin-dach { right: -10%; }
.pin-dach::before { background: var(--gold); }
.ranges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(80px, 12vw, 180px); }

@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Facts strip */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0 2rem; margin-top: -1rem; position: relative;
}
.facts p { margin: 0; color: var(--muted); padding-left: 1rem; border-left: 3px solid var(--gold); }
.facts p:first-child { border-left-color: var(--red); }
.facts strong { display: block; color: var(--navy); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }

/* Sections */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); font-size: var(--text-lead); margin: 1rem 0 0; }
.num {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  color: var(--gold-dark); margin-bottom: .9rem; padding-bottom: .35rem;
  border-bottom: 2px solid var(--gold);
}

.cards { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--navy); }
.card:first-child { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.card:first-child::before { background: linear-gradient(90deg, var(--red) 50%, var(--gold) 50%); }
.card:first-child p { color: rgba(244, 239, 230, .78); }
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--muted); margin: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 34, 64, .12); }

/* Topics */
.topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.topics li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.topics li:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.topics h3 { font-size: 1.5rem; margin: .8rem 0 .5rem; }
.topics p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  padding: .3rem .6rem; border-radius: 5px; background: rgba(14, 34, 64, .08); color: var(--navy);
}
.tag-red { background: rgba(200, 16, 46, .1); color: #9E0C24; }
.note { margin: 2rem 0 0; font-size: .95rem; color: var(--muted); padding-left: 1rem; border-left: 3px solid var(--gold); }

/* Ladder */
.ladder { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: .75rem; }
.ladder li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color .3s, transform .35s var(--ease);
}
.ladder li:nth-child(2) { margin-left: 3%; }
.ladder li:nth-child(3) { margin-left: 6%; border-color: var(--navy); box-shadow: inset 4px 0 0 var(--gold); }
.ladder li:nth-child(4) { margin-left: 9%; }
.ladder li:nth-child(5) { margin-left: 12%; }
.ladder li:hover { border-color: var(--gold); transform: translateX(4px); }
.ladder h3 { margin-bottom: .2rem; }
.ladder p { margin: 0; color: var(--muted); font-size: .95rem; }
.step {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--cream); font-weight: 800;
}
.status { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.status-free { color: #1E6B3A; }

.limits {
  display: grid; grid-template-columns: 1fr 2fr; gap: 2rem;
  background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 2rem 2.25rem;
}
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.limits li { padding-left: 1.75rem; position: relative; color: rgba(244, 239, 230, .85); }
.limits li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--red); }

/* Channel */
.kanal-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.kanal-grid .btn { margin-top: 1.75rem; }
.episodes { list-style: none; margin: 0; padding: 0; counter-reset: ep; }
.episodes li {
  counter-increment: ep;
  display: grid; grid-template-columns: 3rem 1fr; column-gap: .5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem;
}
.episodes li::before { content: counter(ep, decimal-leading-zero); grid-row: span 2; color: var(--gold-dark); font-weight: 800; }
.episodes span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.episodes li:first-child span { color: var(--red); }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.portrait {
  aspect-ratio: 1; width: calc(100% - 18px); object-fit: cover; border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--navy);
}
.big { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; color: var(--navy); }
.placeholder-text { background: rgba(217, 162, 27, .15); border-left: 3px solid var(--gold); padding: .75rem 1rem; font-weight: 600; color: var(--gold-dark); }

/* Contact */
.contact { background: var(--navy); color: var(--cream); padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0; position: relative; }
.contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 50%, var(--gold) 50%); }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.contact h2 { margin-bottom: 1rem; }
.contact p { color: rgba(244, 239, 230, .8); font-size: var(--text-lead); margin: 0; }
.contact-inner { align-items: start; }
.contact-alt { margin-top: 1.5rem !important; font-size: 1rem !important; }
.contact-alt a { color: var(--gold); font-weight: 600; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem;
  background: rgba(244, 239, 230, .04); border: 1px solid rgba(244, 239, 230, .14);
  border-radius: var(--radius); padding: 1.75rem;
}
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: rgba(244, 239, 230, .85); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; font: inherit; color: var(--cream);
  background: rgba(10, 26, 51, .6); border: 1px solid rgba(244, 239, 230, .2); border-radius: 8px;
  padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(244, 239, 230, .4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 162, 27, .25); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #F07A8C; }
.consent input[aria-invalid="true"] { outline: 2px solid #F07A8C; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; font-size: .88rem; color: rgba(244, 239, 230, .8); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--gold); }
.consent a { color: var(--gold); }
.form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-foot .btn { border: 0; cursor: pointer; }
.form-foot .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-status { margin: 0 !important; font-size: .95rem !important; font-weight: 600; }
.form-status.is-ok { color: #8FD6A6; }
.form-status.is-error { color: #F7A3B0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(244, 239, 230, .75); padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer .brand { color: var(--cream); font-size: 1.05rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer p { margin: 0; }

/* Legal pages */
.legal { padding: var(--space-section) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: var(--text-h2); font-weight: 800; margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: #2E3A52; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .kanal-grid, .about-grid, .contact-inner, .limits { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .route { width: min(70%, 300px); }
  .pin, .route::before { display: none; }
  .cards { grid-template-columns: 1fr; }
  .about-grid .portrait { max-width: 320px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; gap: 6px; background: none; border: 0; padding: .5rem; cursor: pointer; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: .5rem 1.25rem 1.25rem;
    clip-path: inset(0 0 100% 0); transition: clip-path .35s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0); visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(244, 239, 230, .1); }
  .nav .btn { margin-top: 1rem; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .topics { grid-template-columns: 1fr; }
  .topics li, .topics li:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .ladder li { grid-template-columns: auto 1fr; margin-left: 0 !important; }
  .ladder .status { grid-column: 2; }
  .contact-form { grid-template-columns: 1fr; padding: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
