/* Marschall Athletics – Landingpage
   Maßeinheit: --u entspricht einem Pixel der Designvorlage (787 px breit).
   Auf dem Desktop skaliert alles proportional bis zur Maximalbreite,
   mobil (unter 800 px) gilt 1u = 1px und das Layout wird einspaltig. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --max: 1120px;
  --u: calc(min(100vw, var(--max)) / 787);

  --black: #0e0f0e;
  --ink: #111111;
  --paper: #f1efeb;
  --orange: #ed5a2b;
  --white: #ffffff;
  --line: #55534f;

  --font-display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: calc(18 * var(--u));
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

.canvas {
  position: relative;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: calc(37 * var(--u));
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

.eyebrow {
  font-size: calc(13.5 * var(--u));
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
}

.arrow {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  font-weight: 700;
  line-height: 1.1;
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-orange:focus-visible {
  outline-color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 5;
  background: var(--black);
  color: var(--white);
}

.site-header .canvas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(70 * var(--u));
  padding-right: calc(31 * var(--u));
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.logo img {
  width: calc(170 * var(--u));
  height: auto;
  filter: invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: calc(34 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 500;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
}

.nav-link:hover {
  color: var(--orange);
}

.nav .btn {
  margin-left: calc(11 * var(--u));
  padding: 0 calc(15 * var(--u));
  height: calc(36 * var(--u));
  font-size: calc(13.5 * var(--u));
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero .canvas {
  height: calc(578 * var(--u));
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-photo img {
  position: absolute;
  left: calc(36 * var(--u));
  top: calc(-262 * var(--u));
  width: calc(972 * var(--u));
  max-width: none;
  height: auto;
  filter: grayscale(1) contrast(1.22) brightness(0.92);
}

.hero-photo::after {
  content: "";
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(14, 15, 14, 0) 52%, var(--black) 84%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(40 * var(--u));
  padding-left: calc(3 * var(--u));
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.hero .eyebrow::after {
  content: "";
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  margin-top: calc(24 * var(--u));
  font-size: calc(88 * var(--u));
  line-height: 0.89;
}

.hero h1 span {
  display: block;
}

.hero-sub {
  margin-top: calc(19 * var(--u));
  font-size: calc(18 * var(--u));
  line-height: 1.45;
  color: #ededed;
}

.hero .btn {
  margin-top: calc(22 * var(--u));
  padding: 0 calc(19 * var(--u));
  height: calc(46 * var(--u));
  font-size: calc(16.5 * var(--u));
}

.hero-note {
  margin-top: calc(8 * var(--u));
  font-size: calc(13 * var(--u));
  color: #c9c9c9;
}

.hero-facts {
  position: absolute;
  z-index: 2;
  left: calc(37 * var(--u));
  right: calc(37 * var(--u));
  bottom: calc(22 * var(--u));
  display: grid;
  grid-template-columns: 192fr 277fr 246fr;
  font-size: calc(17 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(43 * var(--u));
}

.hero-facts li:first-child {
  justify-content: flex-start;
  padding-left: calc(5 * var(--u));
}

.hero-facts li:last-child {
  justify-content: flex-end;
  padding-right: calc(6 * var(--u));
}

.hero-facts li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.75);
}

/* ---------- Coach ---------- */

.light {
  background: var(--paper);
  color: var(--ink);
}

.coach .canvas {
  display: grid;
  grid-template-columns: calc(353 * var(--u)) 1fr;
  height: calc(510 * var(--u));
}

.coach-photo {
  position: relative;
  align-self: end;
  height: calc(462 * var(--u));
  margin-bottom: calc(24 * var(--u));
  margin-left: calc(-17 * var(--u));
  overflow: hidden;
}

.coach-photo img {
  position: absolute;
  left: 50%;
  top: 0;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
}

.coach-text {
  padding-top: calc(62 * var(--u));
}

.coach .eyebrow {
  color: var(--orange);
  font-size: calc(14.5 * var(--u));
}

.coach h2 {
  margin-top: calc(18 * var(--u));
  font-size: calc(81 * var(--u));
  line-height: 0.93;
}

.coach h2 span {
  display: block;
}

.coach-copy {
  margin-top: calc(26 * var(--u));
  max-width: calc(366 * var(--u));
  font-size: calc(18 * var(--u));
  line-height: 1.47;
}

.coach-name {
  margin-top: calc(34 * var(--u));
  font-size: calc(17.5 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Angebot ---------- */

.offer .canvas {
  display: grid;
  grid-template-columns: calc(280 * var(--u)) 1fr;
  padding-bottom: calc(40 * var(--u));
}

.offer .canvas::before {
  content: "";
  position: absolute;
  left: calc(37 * var(--u));
  right: calc(37 * var(--u));
  top: 0;
  border-top: 1px solid var(--line);
}

.offer-intro {
  padding-top: calc(44 * var(--u));
}

.offer h2 {
  margin-top: calc(22 * var(--u));
  font-size: calc(55 * var(--u));
  line-height: 0.94;
}

.offer h2 span {
  display: block;
}

.offer-list {
  padding-top: calc(21 * var(--u));
}

.offer-list li + li {
  border-top: 1px solid var(--line);
}

.offer-item {
  display: grid;
  grid-template-columns: calc(57 * var(--u)) 1fr auto;
  align-items: start;
  height: calc(81.6 * var(--u));
  padding-top: calc(17 * var(--u));
}

.offer-num {
  padding-top: calc(3 * var(--u));
  color: var(--orange);
  font-size: calc(18 * var(--u));
  font-weight: 800;
  line-height: 1.2;
}

.offer-title {
  display: block;
  font-size: calc(25 * var(--u));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.offer-desc {
  display: block;
  margin-top: calc(1 * var(--u));
  font-size: calc(15 * var(--u));
  line-height: 1.3;
}

.offer-item .arrow {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  margin-top: calc(13 * var(--u));
  transition: transform 0.18s ease;
}

.offer-item:hover .offer-title {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.offer-item:hover .arrow {
  transform: translateX(calc(5 * var(--u)));
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--orange);
  color: var(--ink);
}

.contact .canvas {
  display: grid;
  grid-template-columns: calc(360 * var(--u)) 1fr;
  align-items: start;
  padding-top: calc(52 * var(--u));
  padding-bottom: calc(83 * var(--u));
}

.contact h2 {
  margin-top: calc(20 * var(--u));
  font-size: calc(58 * var(--u));
  line-height: 0.95;
}

.contact h2 span {
  display: block;
}

.contact-copy {
  margin-top: calc(26 * var(--u));
  max-width: calc(310 * var(--u));
  font-size: calc(17 * var(--u));
  line-height: 1.47;
}

.contact-actions {
  display: grid;
  gap: calc(16 * var(--u));
  padding-top: calc(34 * var(--u));
}

.btn-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: calc(16 * var(--u));
  padding: calc(15 * var(--u)) calc(19 * var(--u));
  background: var(--black);
  color: var(--white);
}

.btn-contact-label {
  font-size: calc(16.5 * var(--u));
  font-weight: 700;
  line-height: 1.2;
}

.btn-contact-value {
  grid-column: 1;
  margin-top: calc(4 * var(--u));
  font-size: calc(14.5 * var(--u));
  line-height: 1.3;
  color: #d9d9d9;
  overflow-wrap: anywhere;
}

.btn-contact .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  transition: transform 0.18s ease;
}

.btn-contact:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-contact:hover .btn-contact-value {
  color: #333333;
}

.btn-contact:hover .arrow {
  transform: translate(3px, -3px);
}

.btn-contact:focus-visible {
  outline-color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--white);
}

.site-footer .canvas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(91 * var(--u));
  padding-right: calc(34 * var(--u));
}

.footer-nav {
  display: flex;
  gap: calc(46 * var(--u));
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-nav svg {
  display: block;
  width: max(24px, calc(17 * var(--u)));
  height: max(24px, calc(17 * var(--u)));
}

/* ---------- Rechtstexte ---------- */

.legal .canvas {
  padding-top: calc(56 * var(--u));
  padding-bottom: calc(72 * var(--u));
}

.legal-content {
  max-width: 46rem;
  font-size: clamp(16px, calc(11.5 * var(--u)), 17px);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.legal-content .section-eyebrow {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 14px 0 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 68%;
  font-size: clamp(40px, calc(55 * var(--u)), 72px);
  line-height: 0.95;
  text-transform: uppercase;
  hyphens: auto;
}

.legal-content h2 {
  margin: 44px 0 12px;
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 30px 0 8px;
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1.3;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.3em;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content .legal-lead {
  font-size: 1.15em;
  font-weight: 700;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Mobil ---------- */

@media (max-width: 799.98px) {
  :root {
    --u: 1px;
  }

  body {
    font-size: 17px;
  }

  .canvas {
    padding-inline: 20px;
  }

  .site-header .canvas {
    height: 68px;
    padding-right: 20px;
  }

  .logo img {
    width: 150px;
  }

  .nav-link {
    display: none;
  }

  .nav .btn {
    margin-left: 0;
    height: 44px;
    padding: 0 16px;
  }

  .hero .canvas {
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .hero-content {
    order: 1;
    padding-top: 28px;
    padding-left: 0;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: min(19vw, 88px);
  }

  .hero .btn {
    height: 52px;
  }

  .hero-photo {
    order: 2;
    position: relative;
    inset: auto;
    height: 340px;
    margin: 12px -20px 0;
    overflow: hidden;
  }

  .hero-photo img {
    left: calc(50% - 420px);
    top: -190px;
    width: 700px;
  }

  .hero-photo::after {
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(14, 15, 14, 0) 60%, var(--black) 98%);
  }

  .hero-facts {
    order: 3;
    position: static;
    grid-template-columns: 1fr;
    margin-top: 4px;
  }

  .hero-facts li,
  .hero-facts li:first-child,
  .hero-facts li:last-child {
    justify-content: flex-start;
    height: 52px;
    padding: 0;
  }

  .hero-facts li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

  .coach .canvas {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 48px;
  }

  .coach-text {
    order: 1;
    padding-top: 48px;
  }

  .coach h2 {
    font-size: min(19vw, 81px);
  }

  .coach-copy {
    max-width: none;
  }

  .coach-photo {
    order: 2;
    align-self: center;
    width: min(100%, 350px);
    height: 400px;
    margin: 28px 0 0;
  }

  .offer .canvas {
    display: block;
    padding-bottom: 36px;
  }

  .offer .canvas::before {
    left: 20px;
    right: 20px;
  }

  .offer-intro {
    padding-top: 40px;
  }

  .offer h2 {
    font-size: min(14.5vw, 55px);
  }

  .offer-list {
    padding-top: 22px;
  }

  .offer-item {
    grid-template-columns: 44px 1fr auto;
    height: auto;
    padding: 18px 0;
  }

  .offer-title {
    font-size: 22px;
  }

  .contact .canvas {
    display: block;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .contact h2 {
    font-size: min(15.5vw, 61px);
  }

  .contact-copy {
    max-width: none;
  }

  .contact-actions {
    padding-top: 32px;
  }

  .btn-contact {
    padding: 16px 18px;
  }

  .site-footer .canvas {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: auto;
    padding-top: 28px;
    padding-bottom: 24px;
    padding-right: 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 4px 28px;
    font-size: 15px;
  }

  .footer-social {
    min-width: 44px;
  }

  .legal .canvas {
    padding-top: 40px;
    padding-bottom: 56px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
