/* Hero Schumann — Reset, Schriften, Grundlagen */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  overflow-x: clip;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.62;
  color: var(--ink);
  background: var(--concrete);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  /* Nicht enger: Die Punkte von Ä/Ö/Ü stoßen sonst in die Zeile darüber */
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

/* Kursiv wie auf dem Hallenschild */
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--signal);
}

p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

.shell {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }

.on-dark {
  background: var(--graphite);
  color: var(--on-dark);
}

.on-dark p { color: var(--on-dark-soft); }

/* Mikro-Label in Versalien mit Nummer — technischer Beipackzettel-Ton */
/* Chip statt Strich — die Pillenform ist das wiederkehrende Element */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem 0.3rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
}

.eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

/* Umrandete Nummern-Pille für Listen und Abläufe */
.num-pill {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 1.55rem;
  padding-inline: 0.5rem;
  border: 1px solid var(--signal);
  border-radius: var(--radius-pill);
  color: var(--signal);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* Gefüllte Pille für Kennzeichnungen */
.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.9rem 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--graphite);
  color: #fff;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.on-dark .num-pill,
.stage-text .num-pill,
.split:not(.split--light) .num-pill,
.page-head .num-pill {
  border-color: rgba(236, 238, 240, 0.5);
  color: var(--on-dark);
}

.on-dark .tag-pill,
.split:not(.split--light) .tag-pill,
.page-head .tag-pill {
  background: rgba(255, 255, 255, 0.12);
}

/* Buttons — eckig, kantig, wie Werkstattschilder */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast),
    color var(--duration-fast), border-color var(--duration-fast);
}

.btn .arr { transition: transform var(--duration-fast) var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--signal);
  color: #fff;
}

.btn--solid:hover { background: var(--signal-deep); }

.btn--dark {
  background: var(--graphite);
  color: #fff;
}

.btn--dark:hover { background: #000; }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

/* Auf dunklen und blauen Flächen immer heller Text — nie Graphit auf Blau */
.on-dark .btn--ghost,
.stage-text .btn--ghost,
.split-body .btn--ghost,
.page-head .btn--ghost,
.contact-band .btn--ghost {
  border-color: var(--line-dark);
  color: var(--on-dark);
}

.on-dark .btn--ghost:hover,
.stage-text .btn--ghost:hover,
.split-body .btn--ghost:hover,
.page-head .btn--ghost:hover,
.contact-band .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Bildrahmen */
.frame {
  /* display:block ist Pflicht — als Inline-Span greifen aspect-ratio
     und Höhe nicht, das Bild verschwindet dann komplett. */
  display: block;
  overflow: clip;
  border-radius: var(--radius);
  background: var(--concrete-2);
  min-width: 0;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.js .frame[data-reveal-img] img { transform: scale(1.08); }

/* Warnband — sparsam als Trenner */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 10px,
    var(--graphite) 10px 20px
  );
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--graphite);
  color: #fff;
  padding: 0.7rem 1.2rem;
  z-index: 300;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

html.js [data-reveal] { opacity: 0; transform: translateY(24px); }
html.js.reduced-motion [data-reveal] { opacity: 1; transform: none; }

::selection { background: var(--signal); color: #fff; }
