/* ==========================================================================
   trainingmitjulia – Stylesheet
   Aufbau: 1. Basis  2. Komponenten  3. Header & Footer  4. Startseite
           5. Impressum / Datenschutz  6. Layout-Hilfsregeln
   Breakpoints: ≥1200 | 992–1199 | 768–991 | 576–767 | ≤575
   ========================================================================== */

/* ---------- 1. Basis ---------- */
:root {
  --beige-100: #faf8f5;
  --beige-200: #ebe8e0;
  --beige-300: #dbd5ce;
  --grey-900: #404040;
  --grey-850: #4b4b4b;
  --grey-800: #333333;
  --grey-300: #b3b3b3;
  --link: #478ac9;
  --header-height: 40px;
}

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

html {
  font-size: 16px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Platz für die fixierte Kopfzeile */
  padding-top: var(--header-height);
  min-height: 100%;
  position: relative;
  overflow-x: clip;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111111;
  background-color: #ffffff;
}

header, footer, main, nav, section { display: block; position: relative; }
section > *, header > *, footer > * { position: relative; }

h1, h2, h3 {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  margin: 20px 0;
  padding: 0;
  color: inherit;
  position: relative;
  word-wrap: break-word;
}
h1 { font-size: 4.5rem; line-height: 1.1; }
h2 { font-size: 3rem; line-height: 1.1; }
h3 { font-size: 2.25rem; line-height: 1.2; }

p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 20px 0;
  padding: 0;
  position: relative;
  word-wrap: break-word;
}

a {
  color: var(--link);
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.6;
  background-color: transparent;
}

img {
  border-style: none;
  display: block;
  object-fit: cover;
  overflow: hidden;
  vertical-align: middle;
}

svg:not(:root) { overflow: hidden; }

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.eyebrow {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 4px;
  text-align: center;
}
.font-poppins { font-family: Poppins, sans-serif; }
.nowrap { white-space: nowrap; }

@media (max-width: 1199px) {
  h1 { font-size: 3.75rem; }
}
@media (max-width: 991px) {
}
@media (max-width: 767px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
  p, a { font-size: 1rem; }
}
@media (max-width: 575px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
}

/* ---------- 2. Komponenten ---------- */

/* Zentrierter Inhaltsbereich mit fester Breite je Breakpoint */
.sheet {
  position: relative;
  margin: 0 auto;
  width: 1140px;
}
.sheet::before, .sheet::after { content: ''; display: table; }
.sheet::after { clear: both; }
.sheet > * { position: relative; }

@media (min-width: 992px) and (max-width: 1199px) { .sheet { width: 940px; } }
@media (min-width: 768px) and (max-width: 991px)  { .sheet { width: 720px; } }
@media (min-width: 576px) and (max-width: 767px)  { .sheet { width: 540px; } }
@media (max-width: 575px)                         { .sheet { width: 340px; } }

/* Runder Button */
.btn {
  display: table;
  cursor: pointer;
  margin: 20px 0;
  padding: 10px 30px;
  border: 0;
  border-radius: 20px;
  background-color: var(--beige-300);
  color: var(--grey-900);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  align-self: flex-start;
  outline: none;
}
.btn:hover, .btn:focus { text-decoration: none; color: var(--beige-100); }
.btn:focus-visible { outline: 2px solid var(--grey-900); outline-offset: 2px; }

/* ---------- 3. Header & Menü (Grundgerüst) ---------- */
/* Fest am oberen Rand, deckender Hintergrund */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background-color: var(--beige-100);
  box-shadow: 0 1px 0 rgba(64, 64, 64, 0.08);
  color: #ffffff;
}

.brand {
  display: table;
  font-family: Poppins, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  user-select: none;
}
.brand:hover, .brand:focus { color: var(--grey-900); text-decoration: none; }

.menu {
  display: table;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  text-align: left;
}

.menu-toggle {
  display: block;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}
/* Feste Pixelmaße, damit alle drei Balken scharf und gleich dick sind */
.menu-toggle svg {
  display: block;
  width: 22px;
  min-width: 22px;
  height: 16px;
  fill: currentColor;
}
.menu-toggle:hover, .menu-toggle:focus { color: #8c8780; }
.menu-toggle:focus-visible { outline: 2px solid var(--grey-900); outline-offset: 2px; }

/* Off-Canvas-Panel: Overlay links, Schublade rechts */
.menu-panel {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  z-index: 1001;
  overflow: hidden;
  clip-path: inset(0);
  white-space: normal;
}
.menu-panel.is-visible { width: 100%; }

.menu-overlay {
  flex: 0 1 auto;
  width: 100%;
  height: 100vh;
  background-color: var(--beige-100);
  opacity: 0.7;
}

.menu-drawer {
  order: 1;
  flex: 0 0 210px;
  position: relative;
  height: 100vh;
  overflow: auto;
  text-align: center;
  color: var(--grey-900);
  margin-right: -210px;
  transition: margin-right 500ms ease;
}
.menu.is-open .menu-drawer { margin-right: 0; }
.menu-drawer::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0.95;
}
.menu-drawer > * { position: relative; }

.menu-close {
  display: block;
  z-index: 1;
  width: 22px;
  height: 28px;
  margin: 20px 20px 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: right;
  font-size: 16px;
  line-height: 1;
  color: var(--grey-900);
}
.menu-close::before { content: "\2715"; font-size: 28px; }
.menu-close:hover, .menu-close:focus { color: #8c8780; }

.menu-list {
  display: table;
  list-style: none;
  min-width: 120px;
  margin: 28px auto 0;
  padding: 0;
  line-height: 1;
  text-align: left;
}
.menu-list li { display: block; position: relative; margin: 0; padding: 0; }
.menu-list a {
  display: block;
  padding: 8px 0;
  color: var(--grey-900);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  background: transparent;
}
.menu-list a:hover, .menu-list a:focus-visible { color: #8c8780; }

/* ---------- 3b. Footer (Grundgerüst) ---------- */
.site-footer { text-align: center; }
.site-footer__item--privacy,
.site-footer__item--instagram,
.site-footer__item--imprint,
.site-footer__item--mail { font-size: 1rem; }
.site-footer__item a {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  white-space: normal;
  text-align: inherit;
}
.site-footer__item--instagram, .site-footer__item--imprint, .site-footer__item--mail {
  display: table;
  width: fit-content;
  align-self: flex-start;
}
.site-footer__item--instagram, .site-footer__item--mail, .site-footer__copyright { text-align: left; }
.site-footer__item--privacy, .site-footer__item--imprint { text-align: right; }
@media (max-width: 767px) {
  .site-footer__item--privacy, .site-footer__item--imprint { text-align: left; }
}

/* ---------- 5. Impressum / Datenschutz (Grundgerüst) ---------- */
@media (min-width: 576px) {
  .page-imprint .legal-hero__title { display: table; width: fit-content; }
}
.legal-hero__main { font-weight: 700; font-size: 4.5rem; }
.legal-hero__break { font-size: 4.5rem; }
.legal-hero__sub { font-size: 1.875rem; }
.legal-h { font-weight: 700; font-size: 1.25rem; }
.legal-lg { font-size: 1.25rem; }
.legal-b { font-weight: 700; }
.legal-body__text a {
  display: inline-block;
  color: var(--link);
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  white-space: normal;
  text-align: inherit;
}
.legal-body__text a:hover, .legal-body__text a:focus { color: var(--link); }
/* ---------- Header & Footer ---------- */
/* Schriftzug mittig, Menüsymbol rechts, beide vertikal zentriert */
.site-header .sheet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
}
.brand {
  font-size: 1.0625rem;
  letter-spacing: -0.25px;
  color: #404040;
  margin: 0;
  padding: 0;
}
.menu {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  margin: 0;
}
/* Kleines Symbol, aber größere Tippfläche (Innenabstand, rechts bündig ausgeglichen) */
.menu-toggle {
  font-size: 16px;
  color: #404040;
  padding: 8px;
  margin-right: -8px;
}
.menu-toggle:hover, .menu-toggle:focus {
  color: #dbd5ce;
}
.menu-drawer {
  width: 210px;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
}
.menu-drawer::before {
  background-color: #faf8f5;
}
.menu-list {
  font-size: 1rem;
  margin: 28px auto 0;
}
.site-footer {
  background-color: #404040;
}
.site-footer .sheet {
  min-height: 164px;
}
.site-footer__item--privacy {
  color: #ebe8e0;
  font-weight: 400;
  margin: 37px -36px 0 1070px;
}
.site-footer__item--privacy a {
  color: #ebe8e0;
  padding: 0;
}
.site-footer__item--privacy a:hover, .site-footer__item--privacy a:focus {
  color: #faf8f5;
}
.site-footer__item--instagram {
  color: #ebe8e0;
  font-weight: 700;
  text-decoration: none;
  margin: -26px 1081px 0 -34px;
}
.site-footer__item--instagram a {
  color: #ebe8e0;
  padding: 0;
}
.site-footer__item--instagram a:hover, .site-footer__item--instagram a:focus {
  color: #faf8f5;
}
.site-footer__item--imprint {
  color: #ebe8e0;
  font-weight: 400;
  margin: 0 -36px 0 1080px;
}
.site-footer__item--imprint a {
  color: #ebe8e0;
  padding: 0;
}
.site-footer__item--imprint a:hover, .site-footer__item--imprint a:focus {
  color: #faf8f5;
}
.site-footer__item--mail {
  color: #ebe8e0;
  font-weight: 400;
  margin: -26px 944px 0 -34px;
}
.site-footer__item--mail a {
  color: #ebe8e0;
  padding: 0;
}
.site-footer__item--mail a:hover, .site-footer__item--mail a:focus {
  color: #faf8f5;
}
.site-footer__copyright {
  color: #ebe8e0;
  font-size: 0.75rem;
  font-weight: 400;
  margin: 22px 853px 22px -34px;
}

@media (max-width: 1199px) {
  .site-footer .sheet {
    min-height: 211px;
  }
  .site-footer__item--privacy {
    width: auto;
    margin-top: 30px;
    margin-right: 823px;
    margin-left: 0;
  }
  .site-footer__item--instagram {
    width: auto;
    margin-top: -87px;
    margin-right: 835px;
    margin-left: 12px;
  }
  .site-footer__item--imprint {
    width: auto;
    margin-top: 58px;
    margin-right: 832px;
    margin-left: auto;
  }
  .site-footer__item--mail {
    width: auto;
    margin-top: -86px;
    margin-right: 698px;
    margin-left: 12px;
  }
  .site-footer__copyright {
    width: auto;
    margin: 76px 627px -28px 6px;
  }
}

@media (max-width: 991px) {
  .site-footer .sheet {
    min-height: 318px;
  }
  .site-footer__item--privacy {
    margin-top: 150px;
    margin-right: 613px;
  }
  .site-footer__item--instagram {
    margin-top: -101px;
    margin-right: 627px;
    margin-left: 0;
  }
  .site-footer__item--imprint {
    margin-top: 79px;
    margin-right: 624px;
    margin-left: 0;
  }
  .site-footer__item--mail {
    margin-top: -100px;
    margin-right: 490px;
    margin-left: 0;
  }
  .site-footer__copyright {
    margin: 114px 359px 42px 0;
  }
}

@media (max-width: 767px) {
  .site-footer .sheet {
    min-height: 242px;
  }
  .site-footer__item--privacy {
    margin-top: 112px;
    margin-right: 443px;
  }
  .site-footer__item--instagram {
    margin-top: -79px;
    margin-right: 457px;
  }
  .site-footer__item--imprint {
    margin-top: 54px;
    margin-right: 455px;
  }
  .site-footer__item--mail {
    margin-top: -78px;
    margin-right: 335px;
  }
  .site-footer__copyright {
    margin-top: 69px;
    margin-right: 233px;
    margin-bottom: 43px;
  }
}

@media (max-width: 575px) {
  .site-footer .sheet {
    min-height: 208px;
  }
  .site-footer__item--privacy {
    margin-top: 124px;
    margin-right: 229px;
    margin-left: 1px;
  }
  .site-footer__item--instagram {
    margin-top: -119px;
    margin-right: 257px;
    margin-left: 0;
  }
  .site-footer__item--imprint {
    margin-top: 39px;
    margin-right: 254px;
    margin-left: 1px;
  }
  .site-footer__item--mail {
    margin-top: -57px;
    margin-right: 135px;
    margin-left: 0;
  }
  .site-footer__copyright {
    margin: 82px 33px 19px 0;
  }
}

/* ---------- 4. Startseite ---------- */

/* Abschnitte: Hintergrund und Innenabstand */
.hero, .training, .goals, .gym, .about, .process, .pricing, .discount { padding: 112px 0; }
.contact { padding: 128px 0; }
.hero, .about, .pricing { background-color: var(--beige-200); }
.goals, .discount { background-color: var(--beige-100); }
.training, .gym, .process, .contact { background-color: var(--grey-900); }

/* Abschnittstitel unter der kleinen Überschrift */
.gym__title, .process__title, .about__title, .pricing__title {
  margin: 0;
  font-size: 3rem;
  line-height: 1.15;
}
/* Überschriften gleichmäßig umbrechen (kein einzelnes Wort in der letzten Zeile) */
.training__title, .gym__title, .process__title, .contact__title, .card__title { text-wrap: balance; }

/* Foto mit versetztem Farbrahmen dahinter (Standard: Rahmen oben links) */
.photo-frame {
  --frame-offset: 34px;
  position: relative;
  z-index: 0;
}
.photo-frame::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: calc(var(--frame-offset) * -1);
  left: calc(var(--frame-offset) * -1);
  width: 100%;
  height: 100%;
  background-color: var(--frame-color, var(--beige-300));
}
.photo-frame--down-right::before { top: var(--frame-offset); left: var(--frame-offset); }
.photo-frame img { width: 100%; height: 100%; }

/* Buttons der Startseite */
.hero__cta, .about__cta, .contact__cta { margin: 0; padding: 10px 18px; }
/* Button mit kurzer Info mittig darunter */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  align-self: start;
  width: fit-content;
}
.cta-group .btn { align-self: center; }
.cta-note {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
  text-align: center;
  color: var(--grey-900);
}

/* Drei Karten nebeneinander (Dein Training bei mir, Ablauf) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  margin-top: 72px;
}
/* Subgrid: Nummer, Titel, Text und Abschlusszeile beginnen in allen Karten auf derselben Höhe */
.card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 40px 34px 36px;
  background-color: var(--grey-850);
  color: var(--beige-300);
}
.card__number {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.card__title {
  margin: 20px 0 0;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--beige-100);
}
.card__body { margin-top: 16px; }
.card__body > p { margin: 0; font-size: 1rem; }
.card__body > p + p { margin-top: 14px; }
.card__body .cta-group { margin-top: 24px; }
.card__result {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(219, 213, 206, 0.3);
  font-size: 1rem;
  font-weight: 700;
  color: var(--beige-100);
}
.card__cta {
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  letter-spacing: 0.5px;
  white-space: normal;
}
.card .cta-note { letter-spacing: 0; color: var(--beige-300); }

/* Start */
.hero { padding: 104px 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 570px 1fr;
  grid-template-areas:
    "photo title"
    "photo subtitle"
    "photo text"
    "photo action";
  padding-right: 38px;
}
.hero__title {
  grid-area: title;
  margin: 0;
  font-size: 4.75rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--grey-900);
}
.hero__subtitle {
  grid-area: subtitle;
  margin: 22px 0 0;
  font-size: 1.5rem;
  line-height: 1.25;
}
.hero__photo {
  grid-area: photo;
  align-self: center;
  width: 378px;
  height: 534px;
  margin-left: 103px;
}
.hero__intro { grid-area: text; margin-top: 28px; }
.hero__intro p { margin: 0 0 14px; font-size: 1rem; }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__action { grid-area: action; margin-top: 32px; }

/* Dein Training bei mir */
.training__eyebrow { color: var(--beige-200); }
.training__title {
  max-width: 960px;
  margin: 56px auto 0;
  font-size: 2.5rem;
  line-height: 1.2;
  text-align: center;
  color: var(--beige-200);
}
/* Jeder Satz eine eigene Zeile, die gleichmäßig umbricht; der zweite fett und mit etwas Abstand */
.training__title > span { display: block; }
.training__title > span + span { margin-top: 0.6em; font-size: 0.8em; font-weight: 600; }

/* Was du damit erreichst */
.goals { color: var(--grey-900); }
.goals__title {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
}
.goals__text { max-width: 760px; margin: 32px 0 0; }
.goals__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 64px;
}
.goal { padding: 48px 44px; background-color: var(--beige-200); }
.goal__title { margin: 0; font-size: 1.75rem; line-height: 1.25; }
.goal__text { margin: 20px 0 0; }

/* Studio */
.gym__eyebrow { color: var(--beige-300); }
.gym__title { margin-top: 56px; text-align: center; color: var(--beige-200); }
.gym__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: center;
  margin-top: 104px;
}
.gym__row + .gym__row { margin-top: 120px; }
.gym__photo {
  --frame-color: var(--grey-800);
  justify-self: end;
  width: calc(100% - 34px);
  max-width: 470px;
  height: 373px;
}
.gym__photo img { opacity: 0.8; }
.gym__photo--1 img { object-position: 50% 54%; }
.gym__photo--2 img { object-position: 50% 83%; }
.gym__row--reverse .gym__photo { grid-column: 2; grid-row: 1; justify-self: start; }
.gym__row--reverse .gym__facts { grid-column: 1; grid-row: 1; padding-left: 60px; }
.gym__label {
  margin: 48px 0 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 4px;
  color: var(--beige-200);
}
.gym__label:first-child { margin-top: 0; }
.gym__text { margin: 10px 0 0; color: var(--beige-200); }

/* Über mich */
.about { color: var(--grey-900); }
.about__grid {
  display: grid;
  grid-template-columns: 570px 1fr;
  grid-template-areas:
    "photo title"
    "photo subtitle"
    "photo text"
    "photo action";
  grid-template-rows: auto auto auto 1fr;
  margin-top: 64px;
}
.about__title { grid-area: title; }
.about__subtitle {
  grid-area: subtitle;
  margin: 14px 0 0;
  font-size: 1.5rem;
  line-height: 1.1;
}
.about__photo {
  --frame-offset: 41px;
  grid-area: photo;
  align-self: start;
  width: 406px;
  height: 572px;
  margin: 40px 0 0 104px;
}
.about__text { grid-area: text; margin-top: 28px; }
.about__text p { margin: 0 0 14px; font-size: 1rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__action { grid-area: action; margin-top: 32px; }

/* Ablauf (Karten wie bei „Dein Training bei mir“) */
.process__eyebrow { color: var(--beige-200); }
.process__title { margin-top: 56px; text-align: center; color: var(--beige-200); }

/* Preise */
.pricing { color: var(--grey-900); }
.pricing__title { margin-top: 56px; }
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  margin-top: 48px;
}
/* Subgrid: Name, Dauer, Preis und Text stehen in beiden Karten auf einer Höhe */
.price-card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 50px 42px 46px;
  background-color: var(--beige-100);
  text-align: center;
}
.price-card__name {
  align-self: end;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}
.price-card__duration { margin: 8px 0 0; font-size: 1rem; font-style: italic; letter-spacing: 2px; }
.price-card__price {
  margin: 24px 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 1px;
}
.price-card__desc { margin-top: 32px; }
.price-card__desc p { margin: 0 0 12px; font-size: 1.125rem; }
.price-card__desc p:first-child { font-weight: 600; }
.price-card__desc p:last-child { margin-bottom: 0; }

/* Rabatt */
.discount { color: var(--grey-900); }
.discount__body { max-width: 720px; }
.discount__title { margin: 0; font-size: 3rem; line-height: 1.15; }
.discount__text { margin: 16px 0 0; }
.discount__title + .discount__text { margin-top: 28px; }

/* Kontakt */
.contact { text-align: center; }
.contact__title {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 3rem;
  line-height: 1.15;
  color: var(--beige-300);
}
.contact__lead {
  margin: 28px 0 0;
  font-family: Poppins, sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--beige-100);
}
.contact__text { max-width: 600px; margin: 20px auto 0; color: var(--beige-300); }
.contact__cta { margin: 44px auto 0; padding: 12px 35px 13px 34px; font-size: 0.875rem; }

@media (max-width: 1199px) {
  .hero, .training, .goals, .gym, .about, .process, .pricing, .discount { padding: 96px 0; }
  .hero__grid { grid-template-columns: 439px 1fr; padding-right: 0; }
  .hero__title { font-size: 3.9583333333333335rem; }
  .hero__photo { margin-left: 34px; }
  .card-grid { column-gap: 20px; }
  .card { padding: 32px 26px 30px; }
  .goal { padding: 40px 36px; }
  .gym__row { column-gap: 64px; }
  .gym__row--reverse .gym__facts { padding-left: 34px; }
  .about__grid { grid-template-columns: 470px 1fr; }
  .about__photo { margin-left: 41px; }
  .pricing__inner { max-width: 535px; margin: 0 auto; }
  .pricing__cards { grid-template-columns: 1fr; margin-top: 38px; }
  .price-card + .price-card { margin-top: 27px; }
  .contact__title { font-size: 2.75rem; }
}

@media (max-width: 991px) {
  .hero, .training, .goals, .gym, .about, .process, .pricing, .discount { padding: 80px 0; }
  .contact { padding: 96px 0; }
  /* Start und Über mich: einspaltig, Foto zwischen Untertitel und Text */
  .hero__grid, .about__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "subtitle" "photo" "text" "action";
    grid-template-rows: none;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .about__grid { margin-top: 48px; }
  .hero__photo, .about__photo { --frame-offset: 34px; margin: 74px 0 40px 34px; }
  .hero__intro, .about__text { margin-top: 0; }
  /* Karten untereinander */
  .card-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 56px auto 0;
  }
  .card + .card { margin-top: 24px; }
  .goals__text { margin-top: 28px; }
  .goals__cards { gap: 24px; margin-top: 56px; }
  .goal { padding: 32px 28px; }
  .goal__title { font-size: 1.5rem; }
  .gym__row { column-gap: 48px; margin-top: 72px; }
  .gym__row + .gym__row { margin-top: 96px; }
  .gym__photo { height: 290px; }
  .gym__row--reverse .gym__facts { padding-left: 0; }
  .gym__label { margin-top: 36px; font-size: 1rem; letter-spacing: 3px; }
  .contact__title { font-size: 2.5rem; }
}

@media (max-width: 767px) {
  .hero, .training, .goals, .gym, .about, .process, .pricing, .discount { padding: 64px 0; }
  .contact { padding: 80px 0; }
  .hero__title { font-size: 3.166666666666667rem; }
  .hero__subtitle { font-size: 1.375rem; }
  .gym__title, .process__title, .about__title, .pricing__title { font-size: 2.25rem; }
  .training__title { font-size: 2rem; }
  .training__title, .gym__title, .process__title, .pricing__title { margin-top: 40px; }
  .goals__title { font-size: 2.25rem; }
  .goals__cards { grid-template-columns: 1fr; }
  /* Studio: Foto jeweils über den Angaben */
  .gym__row { grid-template-columns: 1fr; margin-top: 64px; }
  .gym__row + .gym__row { margin-top: 64px; }
  .gym__row--reverse .gym__photo, .gym__row--reverse .gym__facts { grid-column: auto; grid-row: auto; }
  .gym__photo { justify-self: start; max-width: none; height: 380px; margin: 34px 0 40px 34px; }
  .gym__row--reverse .gym__photo { margin: 0 34px 74px 0; }
  .price-card__name { font-size: 1.875rem; }
  .price-card__desc p { font-size: 1rem; }
  .discount__title { font-size: 2.25rem; }
  .contact__title { font-size: 2.25rem; }
  .contact__lead { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .hero__cta, .about__cta { padding-left: 12px; padding-right: 12px; letter-spacing: 0.5px; }
  .cta-note { letter-spacing: 0; }
  .hero__title { font-size: 2.375rem; }
  .hero__subtitle { font-size: 1.25rem; }
  .photo-frame { --frame-offset: 20px; }
  .hero__photo, .about__photo {
    --frame-offset: 20px;
    width: calc(100% - 20px);
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 60px 0 32px 20px;
  }
  .about__photo { aspect-ratio: 4 / 5; }
  .gym__title, .process__title, .about__title, .pricing__title { font-size: 1.875rem; }
  .training__title { font-size: 1.625rem; }
  .card { padding: 28px 22px 26px; }
  .card__number { font-size: 2.5rem; }
  .goals__title { font-size: 1.75rem; }
  .goal { padding: 28px 22px; }
  .goal__title { font-size: 1.375rem; }
  .gym__photo { width: calc(100% - 20px); height: 270px; margin: 20px 0 32px 20px; }
  .gym__row--reverse .gym__photo { margin: 0 20px 52px 0; }
  .price-card { padding: 40px 24px 36px; }
  .price-card__name { font-size: 1.5rem; }
  .discount__title { font-size: 1.875rem; }
  .contact__title { font-size: 1.875rem; }
  .contact__lead { font-size: 1.375rem; }
  .contact__cta { padding-left: 16px; padding-right: 16px; font-size: 0.8125rem; }
}

/* ---------- Impressum ---------- */
.page-imprint .legal-hero {
  background-color: #ebe8e0;
}
.page-imprint .legal-hero .sheet {
  min-height: 415px;
}
.page-imprint .legal-hero__title {
  font-size: 3.75rem;
  line-height: 1;
  color: #404040;
  margin: 186px auto 0 -1px;
}
.page-imprint .legal-hero__btn--imprint {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: #dbd5ce;
  border-radius: 20px;
  color: #404040;
  margin: 31px auto 0 0;
  padding: 10px 35px;
}
.page-imprint .legal-hero__btn--imprint:hover, .page-imprint .legal-hero__btn--imprint:focus {
  background-color: #dbd5ce;
  color: #faf8f5;
}
.page-imprint .legal-hero__btn--privacy {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: #dbd5ce;
  border-radius: 20px;
  color: #404040;
  margin: -37px auto 16px 170px;
  padding: 10px 26px 10px 25px;
}
.page-imprint .legal-hero__btn--privacy:hover, .page-imprint .legal-hero__btn--privacy:focus {
  background-color: #dbd5ce;
  color: #faf8f5;
}
.page-imprint .legal-body {
  background-color: #faf8f5;
}
.page-imprint .legal-body .sheet {
  min-height: 1497px;
}
.page-imprint .legal-body__text {
  color: #404040;
  margin: 101px 393px 0 0;
}

@media (max-width: 1199px) {
  .page-imprint .legal-hero .sheet {
    min-height: 427px;
  }
  .page-imprint .legal-hero__btn--privacy {
    margin-bottom: 41px;
    margin-left: 174px;
  }
  .page-imprint .legal-body__text {
    margin-right: 193px;
  }
}

@media (max-width: 991px) {
  .page-imprint .legal-hero .sheet {
    min-height: 416px;
  }
  .page-imprint .legal-hero__btn--privacy {
    margin-bottom: 30px;
    margin-left: 181px;
  }
  .page-imprint .legal-body .sheet {
    min-height: 1528px;
  }
  .page-imprint .legal-body__text {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .page-imprint .legal-hero .sheet {
    min-height: 404px;
  }
  .page-imprint .legal-hero__title {
    font-size: 3rem;
  }
  .page-imprint .legal-hero__btn--privacy {
    margin-left: 180px;
  }
  .page-imprint .legal-body .sheet {
    min-height: 1469px;
  }
}

@media (max-width: 575px) {
  .page-imprint .legal-hero .sheet {
    min-height: 500px;
  }
  .page-imprint .legal-hero__title {
    font-size: 2.25rem;
    width: auto;
    margin-right: -1px;
  }
  .page-imprint .legal-hero__btn--privacy {
    margin-right: 31px;
    margin-left: auto;
  }
  .page-imprint .legal-body .sheet {
    min-height: 1909px;
  }
  .page-imprint .legal-body__text a {
    margin-top: -1114px;
  }
}

/* ---------- Datenschutz ---------- */
.page-privacy .legal-hero {
  background-color: #ebe8e0;
}
.page-privacy .legal-hero .sheet {
  min-height: 476px;
}
.page-privacy .legal-hero__title {
  font-size: 3.75rem;
  line-height: 1;
  color: #404040;
  margin: 186px 274px 0 -2px;
}
.page-privacy .legal-hero__btn--imprint {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: #dbd5ce;
  border-radius: 20px;
  color: #404040;
  margin: 31px auto 0 0;
  padding: 10px 35px;
}
.page-privacy .legal-hero__btn--imprint:hover, .page-privacy .legal-hero__btn--imprint:focus {
  background-color: #dbd5ce;
  color: #faf8f5;
}
.page-privacy .legal-hero__btn--privacy {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: #dbd5ce;
  border-radius: 20px;
  color: #404040;
  margin: -37px auto 30px 170px;
  padding: 10px 26px 10px 25px;
}
.page-privacy .legal-hero__btn--privacy:hover, .page-privacy .legal-hero__btn--privacy:focus {
  background-color: #dbd5ce;
  color: #faf8f5;
}
.page-privacy .legal-body {
  background-color: #faf8f5;
}
.page-privacy .legal-body .sheet {
  min-height: 4574px;
}
.page-privacy .legal-body__text {
  color: #404040;
  margin: 53px 393px 19px 0;
}
.page-privacy .legal-body__text a {
  padding: 0;
}

@media (max-width: 1199px) {
  .page-privacy .legal-hero__title {
    margin-right: 74px;
    margin-left: -1px;
  }
  .page-privacy .legal-hero__btn--privacy {
    margin-top: 20px;
    margin-left: 0;
  }
  .page-privacy .legal-body__text {
    margin-right: 193px;
  }
}

@media (max-width: 991px) {
  .page-privacy .legal-hero__title {
    margin-right: 0;
  }
  .page-privacy .legal-body__text {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .page-privacy .legal-hero .sheet {
    min-height: 548px;
  }
  .page-privacy .legal-hero__title {
    font-size: 3rem;
  }
  .page-privacy .legal-hero__btn--privacy {
    margin-top: -37px;
    margin-left: 173px;
  }
}

@media (max-width: 575px) {
  .page-privacy .legal-hero .sheet {
    min-height: 644px;
  }
  .page-privacy .legal-hero__title {
    font-size: 2.25rem;
  }
  .page-privacy .legal-hero__btn--privacy {
    margin-right: 21px;
    margin-left: auto;
  }
}

/* ---------- 404-Seite ---------- */
.page-notfound .legal-hero {
  background-color: var(--beige-200);
}
.page-notfound .legal-hero .sheet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
  padding: 120px 0 140px;
}
.page-notfound .legal-hero__title {
  color: var(--grey-900);
  line-height: 1.1;
  margin: 0;
}
.page-notfound .legal-hero__main,
.page-notfound .legal-hero__sub {
  display: block;
}
.page-notfound .legal-hero__sub {
  margin-top: 16px;
}
.page-notfound__text {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--grey-900);
}
.page-notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 31px;
}
.page-notfound .btn {
  margin: 0;
  padding: 10px 35px;
}

@media (max-width: 767px) {
  .page-notfound .legal-hero__main {
    font-size: 3rem;
  }
}

@media (max-width: 575px) {
  .page-notfound .legal-hero .sheet {
    padding: 80px 0 100px;
  }
  .page-notfound .legal-hero__main {
    font-size: 2.25rem;
  }
  .page-notfound .legal-hero__sub {
    font-size: 1.25rem;
  }
}

/* ---------- 6. Layout-Hilfsregeln je Breakpoint ---------- */

/* Vertikale Ausrichtung des Inhalts (Flex-Spalte) */
@media (min-width: 992px) and (max-width: 1199px) {
  .site-footer .sheet { display: flex; flex-direction: column; justify-content: center; }
}
