/* =========================================================================
   Sandra Holtz – Pilates, Yoga & Personal Training in Münster
   Statische Neu-Umsetzung · modernes CSS (Custom Properties, Grid, clamp)
   ========================================================================= */

/* ---------- Design Tokens ------------------------------------------------ */
:root {
  /* Markenfarben (aus der Originalseite übernommen) */
  --color-primary: #8fc4c4;
  --color-primary-dark: #6da5a5;
  --color-primary-darker: #b7dcdc;
  --color-accent: #ffc32d;
  --color-accent-dark: #e0a400;

  --color-text: #23302f;
  --color-text-muted: #a7b6b3;
  --color-text-body: #f1f6f5;
  --color-text-breadcrumb: #353a39;
  --color-heading: #f1f6f5;

  --color-bg: #131a1a;
  --color-bg-alt: #a7b6b3;
  --color-bg-contrast: #0c1211;
  --color-border: #2c3a39;

  --color-focus: #9fe7e6;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.55);

  --font-heading: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.78rem + 0.24vw, 0.95rem);
  --step-0:  clamp(1rem, 0.94rem + 0.30vw, 1.18rem);
  --step-1:  clamp(1.2rem, 1.08rem + 0.6vw, 1.55rem);
  --step-2:  clamp(1.45rem, 1.24rem + 1.05vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.75vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.6rem + 3vw, 3.9rem);

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: clamp(3.5rem, 2rem + 7vw, 7rem);

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(30, 50, 48, 0.08);
  --shadow-md: 0 12px 34px rgba(30, 50, 48, 0.14);

  --container: 1180px;
  --container-narrow: 760px;

  --header-h: 76px;

  color-scheme: light dark;
}

/* ---------- Dark Mode -------------------------------------------------- 
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #8fc4c4;
    --color-primary-dark: #6da5a5;
    --color-primary-darker: #b7dcdc;
    --color-accent: #ffc32d;
    --color-accent-dark: #e0a400;

    --color-text: #23302f;
    --color-text-muted: #a7b6b3;
    --color-heading: #f1f6f5;

    --color-bg: #131a1a;
    --color-bg-alt: #1b2524;
    --color-bg-contrast: #0c1211;
    --color-border: #2c3a39;

    --color-focus: #9fe7e6;

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.55);
  }
}
*/

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--color-text-body);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-heading);
  font-weight: 700;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-primary-darker);
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}
a:hover { color: var(--color-accent-dark); }

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

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers --------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-xl); }
.section--alt { background: var(--color-primary-dark); }

.section__intro {
  max-width: 62ch;
  margin-bottom: var(--space-l);
}
.section__intro h2 {
  color: var(--color-text);
}
.section__kicker {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Skip link -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--color-bg-contrast);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-primary-darker); color: #fff; }

.btn--accent {
  background: var(--color-accent);
  color: #23302f;
}
.btn--accent:hover { background: var(--color-accent-dark); color: #23302f; }

.btn--ghost {
  border-color: currentColor;
  color: var(--color-heading);
  background: transparent;
}
.btn--ghost:hover { background: var(--color-heading); color: var(--color-bg); }

.btn--on-image {
  background: rgba(255, 255, 255, 0.95);
  color: #23302f;
}
.btn--on-image:hover { background: #fff; color: #23302f; }

/* ---------- Header / Navigation -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img {
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 20px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  list-style: none;
}
.primary-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-heading);
  padding: 0.4rem 0.2rem;
  border-bottom: 3px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--color-primary-darker);
  border-bottom-color: var(--color-accent);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: grid;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .primary-nav[data-open="true"] { max-height: 70vh; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .primary-nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--color-border);
  }
  .primary-nav a:hover,
  .primary-nav a[aria-current="true"] {
    border-bottom-color: var(--color-border);
    padding-left: 0.5rem;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 40, 39, 0.28) 0%, rgba(20, 40, 39, 0.55) 100%),
    linear-gradient(90deg, rgba(20, 40, 39, 0.6) 0%, rgba(20, 40, 39, 0.05) 70%);
}
.hero__content {
  padding-block: var(--space-xl);
  max-width: 50ch;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.4em;
}
.hero__lead {
  font-size: var(--step-1);
  color: #f3f8f7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: var(--space-m);
}
.hero__badges {
  margin-top: var(--space-m);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  font-family: var(--font-heading);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__badges li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- About -------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(260px, 360px) 1fr; align-items: start; }
}
.about__figure { margin: 0; }
.about__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.about__figure figcaption {
  margin-top: 0.7rem;
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

blockquote.pullquote {
  margin: var(--space-m) 0;
  padding: 1.2rem 1.5rem;
  border-left: 5px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step-1);
  font-style: italic;
  color: var(--color-heading);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: var(--space-s);
}
.checklist li {
  position: relative;
  padding-left: 2rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Offers ----------------------------------------------------- */
.offers {
  position: relative;
  isolation: isolate;
  color: #fff;
}
.offers__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offers::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 40, 39, 0.82), rgba(20, 40, 39, 0.9));
}
.offers .section__kicker { color: var(--color-accent); }
.offers h2, .offers .section__intro { color: #fff; }

.offer-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.offer-card {
  background: var(--color-primary);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.offer-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.offer-card h3 { 
  color: var(--color-text);
  margin: 0; 
}
.offer-card__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: var(--space-s);
  border-top: 1px solid var(--color-border);
  font-size: var(--step--1);
}
.offer-card__list li { position: relative; padding-left: 1.4rem; }
.offer-card__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ---------- Qualification -------------------------------------------------- */
.quali__grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .quali__grid { grid-template-columns: 1fr minmax(240px, 340px); align-items: start; }
}
.quali__list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  columns: 2;
  column-gap: var(--space-m);
  color: var(--color-text);
}
.quali__list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.quali__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-accent);
}
@media (max-width: 560px) {
  .quali__list { columns: 1; }
}
.quali__figure { margin: 0; display: grid; gap: 1rem; }
.quali__figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.quali__figure .bpt {
  box-shadow: none;
  border-radius: 8px;
  background: #fff;
  padding: 0.6rem 0.9rem;
  width: max-content;
  max-width: 100%;
}

/* ---------- FAQ ---------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.8rem;
  max-width: var(--container-narrow);
}
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--color-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4em;
  color: var(--color-primary-dark);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding: 0 1.3rem 1.2rem;
  color: var(--color-text-muted);
}
#faq-title {
  color: var(--color-text-body);
}

/* ---------- Contact --------------------------------------------------- */
.contact {
  text-align: center;
}
.contact .section__intro { margin-inline: auto; }
.contact__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 1rem + 4vw, 3.5rem);
  max-width: var(--container-narrow);
  margin-inline: auto;
  display: grid;
  gap: var(--space-m);
}
.contact__methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: var(--step-0);
  list-style: none;
}
.contact__methods a { font-weight: 700; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-contrast);
  color: #cdd9d7;
  padding-block: var(--space-l);
  font-size: var(--step--1);
}
.site-footer a { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.site-footer h2 {
  font-size: var(--step-0);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.site-footer__bottom {
  margin-top: var(--space-l);
  padding-top: var(--space-s);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer__bottom nav ul { display: flex; gap: 1.25rem; }

/* ---------- Legal / Prose pages ---------------------------------------- */
.page-hero {
  background: var(--color-primary);
  padding-block: calc(var(--space-l) + 1rem) var(--space-l);
  border-bottom: 1px solid var(--color-border);
}
.page-hero p { color: var(--color-text); margin-top: 0.5rem; }

.prose { max-width: 75ch; }
.prose h2 { margin-top: 2em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.1em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }
.prose a { word-break: break-word; }

/* ---------- Fact sheet / GEO grounding page --------------------------- */
.factsheet__note {
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5em;
  font-size: var(--step--1);
  color: var(--color-text-muted);
}
.factsheet__summary {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 0 0 2em;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.factsheet__summary p { margin: 0.5em 0; }
.factsheet__summary p:first-child { margin-top: 0; }
.factsheet__summary p:last-child { margin-bottom: 0; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: var(--step--1);
}
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--color-border);
}
.data-table th[scope="row"] {
  width: 34%;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
}
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }
@media (max-width: 560px) {
  .data-table th[scope="row"] { width: 42%; }
}

.qa { margin: 0 0 1.2em; }
.qa dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--color-heading);
  margin-top: 1.4em;
}
.qa dd { margin: 0.35em 0 0; }

.breadcrumb {
  font-size: var(--step--1);
  margin-bottom: 0.5rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 0.4rem; color: var(--color-text-breadcrumb); }
.breadcrumb li { color: var(--color-text-breadcrumb); }
.breadcrumb a {
  color: var(--color-text);
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}
.breadcrumb a:hover { color: var(--color-accent); }

/* ---------- Back to top ------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-dark);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--color-primary-darker); }

/* ---------- Reveal on scroll ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
