/* Brinkmann Bau — Reset, Fonts, Grundtypografie */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

main {
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  background: var(--hazard);
  border-radius: 1px;
  flex: 0 0 auto;
}

.on-dark .eyebrow {
  color: #ff6b6b;
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.shell {
  width: min(100% - 2 * var(--gutter), 76rem);
  margin-inline: auto;
}

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

/* Buttons — kantig wie Schalung */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid var(--anthracite);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease,
    border-color var(--duration-fast) ease, transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--red);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn--solid {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--chalk);
}

.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--red:hover,
.btn--red:focus-visible {
  box-shadow: 4px 4px 0 var(--anthracite);
}

.on-dark .btn--ghost {
  border-color: var(--line-dark);
  color: var(--chalk);
}

.on-dark .btn--ghost:hover,
.on-dark .btn--ghost:focus-visible {
  border-color: var(--chalk);
}

.tlink {
  font-weight: 700;
  color: var(--red);
  border-bottom: 2px solid currentColor;
  transition: color var(--duration-fast);
}

.tlink:hover,
.tlink:focus-visible {
  color: var(--ink);
}

.on-dark .tlink:hover,
.on-dark .tlink:focus-visible {
  color: var(--chalk);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--anthracite);
  color: var(--chalk);
  border-radius: var(--radius);
}

.skip-link:focus-visible {
  top: 1rem;
}

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

/* Baustellen-Streifen als Trenner */
.hazard-line {
  height: 8px;
  background: var(--hazard);
}

/* Reveal-Grundzustand */
[data-reveal] {
  opacity: 1;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

html.js.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}
