/* Rümle Gym – Farben wie die Wände im Gym: Anthrazit mit rotem Streifen */
:root {
  --wand: #2a2a2c;        /* Anthrazit der Wände */
  --tief: #1b1b1d;        /* dunkler Grund */
  --matte: #333336;       /* Flächen */
  --rot: #d8141c;         /* roter Wandstreifen */
  --rot-hell: #ff2d36;
  --kreide: #efebe6;      /* Schrift */
  --grau: #a3a3a8;        /* Nebentext */
  --linie: #444448;
  --display: Impact, "Haettenschweiler", "Arial Narrow Bold", "Franklin Gothic Bold", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--tief);
  color: var(--kreide);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--kreide); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rot-hell); outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Der rote Wandstreifen – das Erkennungszeichen der Seite */
.streifen { height: 12px; background: var(--rot); box-shadow: 0 0 24px rgba(216,20,28,.35); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(27,27,29,.94);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--rot);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.nav img { height: 44px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; color: var(--grau); }
.nav ul a:hover { color: var(--kreide); }
.nav .knopf { padding: .55rem 1rem; font-size: .95rem; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* Knöpfe */
.knopf {
  display: inline-block;
  background: var(--rot); color: #fff;
  font-family: var(--display); font-weight: 700; font-synthesis: none; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  padding: .8rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.knopf:hover { background: var(--rot-hell); }
.knopf.leise { background: transparent; color: var(--kreide); box-shadow: inset 0 0 0 2px var(--kreide); clip-path: none; }
.knopf.leise:hover { background: var(--kreide); color: var(--tief); }

/* Start */
.start, .textur { background: var(--tief) url("img/textur.jpg") center / cover no-repeat; }
.start { padding: 3rem 0 4rem; text-align: center; }
.start img {
  width: min(640px, 100%); margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 70% at center, #000 55%, transparent 100%);
}
.start h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin-top: 1.5rem; }
.start p { color: var(--grau); max-width: 38rem; margin: 0 auto 2rem; font-size: 1.15rem; }
.start .aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

section { padding: 5rem 0; }
.flaeche { background: var(--wand); }
.einleitung { max-width: 40rem; color: var(--grau); margin-bottom: 2.5rem; }

/* Angebot */
.angebot { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.angebot article { border-left: 6px solid var(--rot); padding: .25rem 0 .25rem 1.4rem; }
.angebot p { color: var(--grau); margin: 0; }

/* Kurszeiten */
.plan { border-top: 2px solid var(--linie); }
.plan .zeile {
  display: grid; grid-template-columns: 13rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 2px solid var(--linie);
}
.plan .tag { font-family: var(--display); font-weight: 700; font-synthesis: none; font-size: 2rem; text-transform: uppercase; }
.plan .zeit { font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.plan .stufe { font-weight: 600; padding: .25rem .8rem; border: 2px solid var(--kreide); }
.plan .stufe.fort { background: var(--rot); border-color: var(--rot); }
.hinweis { margin-top: 1.75rem; font-size: 1.15rem; }
.hinweis strong { color: var(--rot-hell); }
@media (max-width: 560px) {
  .plan .zeit { font-size: 1.1rem; }
  .plan .zeile { grid-template-columns: 1fr auto; }
  .plan .tag { grid-column: 1 / -1; font-size: 1.7rem; }
}

/* Gym-Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.galerie figure { margin: 0; position: relative; overflow: hidden; background: var(--matte); }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--tief); padding: .4rem .9rem; font-weight: 600;
  border-top: 3px solid var(--rot);
}
.galerie .g-kampf { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
.galerie .g-sauna { grid-column: 3; grid-row: 1 / 3; }
.galerie .g-kraft, .galerie .g-dusche { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie .g-kampf, .galerie .g-sauna { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}

/* Trainer */
.trainer { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; }
.trainer article { background: var(--tief); border-bottom: 6px solid var(--rot); }
.trainer .foto {
  aspect-ratio: 4 / 5; background: var(--matte);
  display: grid; place-items: center; color: var(--linie);
  font-family: var(--display); font-size: 5rem;
}
.trainer .foto img { width: 100%; height: 100%; object-fit: cover; }
.trainer .text { padding: 1.25rem 1.4rem 1.5rem; }
.trainer .rolle { color: var(--rot-hell); font-weight: 600; margin: -.3rem 0 .6rem; }
.trainer p { color: var(--grau); margin: 0; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
.adresse p { margin: 0 0 1rem; }
.adresse .gross { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; text-transform: uppercase; }

form { background: var(--tief); padding: 2rem; border-top: 6px solid var(--rot); }
.feld { margin-bottom: 1.2rem; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .zwei { grid-template-columns: 1fr; } form { padding: 1.4rem; } }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
label small { font-weight: 400; color: var(--grau); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--kreide);
  background: var(--matte); border: 2px solid var(--linie); border-radius: 0;
  padding: .7rem .8rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--rot); outline: none; }
textarea { min-height: 6rem; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--grau); }
.check input { width: auto; margin-top: .3rem; accent-color: var(--rot); }
.versteckt { position: absolute; left: -9999px; }
.meldung { margin: 1rem 0 0; padding: .9rem 1rem; font-weight: 600; display: none; }
.meldung.fehler { display: block; background: rgba(216,20,28,.18); border-left: 4px solid var(--rot); }
.meldung.ok { display: block; background: rgba(255,255,255,.08); border-left: 4px solid var(--kreide); }

/* Fuß */
footer { background: var(--tief); padding: 2.5rem 0; color: var(--grau); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer a { color: var(--grau); }

/* Rechtstexte */
.rechtstext { padding: 4rem 0; max-width: 46rem; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 2rem; }
.platzhalter { background: rgba(216,20,28,.18); padding: 0 .3rem; }
