/* FIT500 Fitnessclub Wünsdorf — CI: Schwarz / RAL 2004 / Weiß */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}

:root {
  --ink: #0b0b0c;
  --panel: #141416;
  --panel-2: #1a1a1d;
  --line: #29292e;
  --orange: #e25303;      /* RAL 2004 Reinorange */
  --orange-hot: #ff6b0f;
  --white: #ffffff;
  --muted: #b9b9bf;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

address { font-style: normal; }

a { color: var(--white); }
a:hover { color: var(--orange-hot); }

:focus-visible {
  outline: 3px solid var(--orange-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #000; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

/* ---------- Typografie ---------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); font-style: italic; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-style: italic; }
h3 { font-size: 1.25rem; letter-spacing: 0.04em; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 1rem;
}

.accent { color: var(--orange-hot); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  transform: skewX(-6deg);
}
.btn > * { transform: skewX(6deg); }

.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: var(--orange-hot); color: #000; }

.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { border-color: var(--orange-hot); color: var(--orange-hot); }

.btn-dark { background: #000; color: var(--white); }
.btn-dark:hover { background: #1c1c1f; color: var(--white); }

.btn svg { flex: none; }

.cta-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.95);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.75rem;
}

.logo {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}
.logo:hover { color: var(--white); }
.logo .logo-500 { color: var(--orange-hot); }
.logo .logo-sub {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding-block: 0.5rem;
}
.site-nav a:hover { color: var(--orange-hot); }

.header-cta { white-space: nowrap; }

@media (max-width: 47rem) {
  .header-inner { justify-content: center; text-align: center; }
  .header-cta { display: none; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: center; gap: 1.1rem; flex-wrap: wrap; }
}

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

.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}
.hero::after {
  /* diagonale Kante wie im Flyer */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(2.5rem, 6vw, 5rem);
  background: var(--panel);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero p.lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  margin-top: 1.5rem;
}

.opening-banner {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 3.6vw, 2.1rem);
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  margin-top: 1.75rem;
  transform: skewX(-6deg) rotate(-1.5deg);
}
.opening-banner > span { display: inline-block; transform: skewX(6deg); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-meta strong { color: var(--white); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-dark { background: var(--panel); }

.section-head { margin-bottom: 2.5rem; max-width: 44rem; }
.section-head p { color: var(--muted); margin-top: 0.9rem; }

/* Leistungen */

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.feature-icon {
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange-hot);
}
.feature-icon svg { width: 1.7rem; height: 1.7rem; }
.feature-icon .badge-247 {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.feature > div { min-width: 0; }
.feature h3 { margin-bottom: 0.3rem; font-style: italic; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Preis-Band */

.price-band {
  background: var(--orange);
  color: #000;
  transform: skewY(-2deg);
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.price-band-inner {
  transform: skewY(2deg);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.price-band .price-label {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.1;
}
.price-band .price-value {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  display: block;
}
.price-band p { max-width: 24rem; font-weight: 600; }

/* Tarife */

.tariffs-wrap { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }

.tariffs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.tariff {
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
}

.tariff-featured {
  border-color: var(--orange);
  border-width: 2px;
}

.tariff-flag {
  align-self: flex-start;
  background: var(--orange);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.9rem;
  transform: skewX(-6deg);
}

.tariff h3 { font-style: italic; }

.tariff-price { margin-top: 0.75rem; }
.tariff-amount {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--orange-hot);
}
.tariff-per { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.tariff-facts {
  list-style: none;
  margin-block: 1.1rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1 1 auto;
}
.tariff-facts li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.45rem;
}
.tariff-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.18rem;
  background: var(--orange);
  transform: skewX(-6deg);
}

.tariff-cta { justify-content: center; }

.blockcards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.4rem;
}
.blockcards h3 { font-style: italic; }
.blockcards p { color: var(--muted); margin-top: 0.3rem; max-width: 36rem; }
.blockcards .btn { flex: none; }

.tariff-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 60rem;
}

/* Trainer */

.trainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 47rem) {
  .trainer-grid { grid-template-columns: 1fr; }
  .trainer-photo { max-width: 20rem; }
}

.trainer-photo {
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--orange);
  background: var(--panel-2);
}

.trainer-name {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-style: italic;
  margin-top: 0.5rem;
}
.trainer-copy { color: var(--muted); margin-top: 1rem; max-width: 32rem; }
.trainer-contact { margin-top: 1.75rem; }
.trainer-tel { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.trainer-tel a { color: var(--white); text-decoration: none; font-weight: 600; }
.trainer-tel a:hover { color: var(--orange-hot); }

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
}
@media (max-width: 53rem) {
  .contact-grid { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.field .optional { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--white);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--orange-hot);
  box-shadow: 0 0 0 2px var(--orange-hot);
}

.field-error {
  display: none;
  color: #ffb38a;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.field.invalid .field-error { display: block; }
.field.invalid input,
.field.invalid textarea { border-color: var(--orange-hot); }

/* Honeypot: für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -6000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-block: 1.2rem;
}
.privacy-note a { color: var(--white); }

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}
.form-status.ok { color: #7ddb8a; }
.form-status.err { color: #ffb38a; }

.contact-list { list-style: none; }
.contact-list li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.25rem;
}
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .sub { color: var(--muted); font-size: 0.9rem; }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #000;
  padding-block: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--orange-hot); }

/* ---------- Unterseiten (Impressum / Datenschutz / Danke / 404) ---------- */

.page { padding-block: clamp(3rem, 7vw, 5rem); }
.page .wrap { max-width: 50rem; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.page h3 { margin-top: 1.5rem; }
.page p, .page ul, .page address { margin-top: 0.9rem; color: var(--muted); }
.page ul { padding-left: 1.4rem; }
.page address { font-style: normal; }
.page strong { color: var(--white); }
.page a { color: var(--white); }

.placeholder {
  background: var(--panel-2);
  border: 1px dashed var(--orange);
  color: var(--orange-hot);
  font-weight: 600;
  padding: 0.15rem 0.5rem;
}

.error-hero { text-align: center; padding-block: clamp(5rem, 14vw, 10rem); }
.error-hero .code {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(6rem, 22vw, 12rem);
  line-height: 1;
  color: var(--orange);
}
.error-hero p { color: var(--muted); margin-block: 1rem 2rem; }

/* ---------- Print ---------- */

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .hero-actions, .btn, .skip-link { display: none; }
  a { color: #000; }
}
