/* =========================================================
   physio.meets.fitness — Kerstin Eiling
   Stylesheet — plain CSS, no build step, no external fonts
   (system font stack chosen deliberately: no third-party
   requests to e.g. Google Fonts, which keeps the site fast
   and avoids the well-known DSGVO/GDPR issue of leaking
   visitor IPs to external font CDNs)
   ========================================================= */

:root {
  /* Brand colors — matched to the real physio.meets.fitness logo (orange + dark grey only, no green) */
  --color-primary: #4a4a4a;       /* logo dark grey, perfectly neutral */
  --color-primary-dark: #2b2b2b;  /* near-black grey, for footer + darkest gradient stop */
  --color-primary-light: #6e6e6e; /* lighter grey, for gradient highlights */
  --color-accent: #ee7203;        /* logo orange */
  --color-accent-dark: #c86003;

  /* Neutrals */
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-ink: #1f1f1e;
  --color-ink-muted: #5c5c58;
  --color-border: #e6e1d8;

  /* Type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing / shape */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(74, 74, 73, 0.07);
  --shadow-m: 0 12px 32px rgba(74, 74, 73, 0.14);
  --container: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-primary);
}
.brand img { height: 46px; width: auto; flex-shrink: 0; }
.brand span small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--color-ink-muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  color: var(--color-accent);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  border-radius: var(--radius-s);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: rgba(74, 74, 73, 0.07); }
.main-nav a[aria-current="page"] {
  color: var(--color-accent-dark);
  background: rgba(238, 114, 3, 0.1);
}
.main-nav .btn { margin-left: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-m); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-whatsapp { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-s); }
.btn-whatsapp:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-m); }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-block { width: 100%; justify-content: center; }

/* On dark (hero/page-hero) backgrounds a solid dark-grey button barely
   shows up against the dark-grey gradient — use an outline style there
   instead so it stays clearly visible. */
.hero .btn-whatsapp,
.page-hero .btn-whatsapp {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}
.hero .btn-whatsapp:hover,
.page-hero .btn-whatsapp:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 0; /* spacing is controlled by .hero .container, avoid double padding from the generic "section" rule */
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-block: 76px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: #fff; margin-bottom: 10px; }
.hero-subhead { font-size: 1.05rem; font-weight: 600; color: var(--color-accent); margin: 0 0 16px; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-badges {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-badges svg { width: 18px; height: 18px; color: var(--color-accent); }

/* Page hero (subpages, smaller) */
.page-hero {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding-block: 56px;
}
.page-hero .container { max-width: 900px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero .lead { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 60ch; }
.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.breadcrumbs a { text-decoration: underline; color: rgba(255,255,255,0.85); }

/* ---------- Sections ---------- */
section { padding-block: 72px; }
.section-tight { padding-block: 48px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--color-accent-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--color-primary); }
.section-head p { color: var(--color-ink-muted); font-size: 1.05rem; }

.bg-surface { background: var(--color-surface); }
.bg-tint { background: #f2ede4; }
.bg-primary { background: var(--color-primary); color: #fff; }
.bg-primary h2, .bg-primary h3 { color: #fff; }
.bg-primary p { color: rgba(255,255,255,0.85); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(238, 114, 3, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent-dark);
}
.icon-tile svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; color: var(--color-primary); }
.card p { color: var(--color-ink-muted); font-size: 0.96rem; margin-bottom: 0; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 700; font-size: 0.9rem;
  color: var(--color-accent-dark); text-decoration: none;
}
.card .card-link svg { width: 16px; height: 16px; }

/* Course visual card (illustration instead of photo) */
.course-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.course-visual {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.course-visual svg { width: 64px; height: 64px; }
.course-card .course-body { padding: 24px 24px 28px; }
.v-teal { background: linear-gradient(135deg, #2b2b2b, #6e6e6e); }
.v-orange { background: linear-gradient(135deg, #ee7203, #c86003); }
.v-clay { background: linear-gradient(135deg, #8a5a44, #b9805f); }
.v-slate { background: linear-gradient(135deg, #33454a, #4d666c); }

/* Credential / feature list */
.feature-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.feature-row .icon-tile { flex-shrink: 0; margin-bottom: 0; }
.feature-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-row p { margin: 0; font-size: 0.95rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip svg { width: 15px; height: 15px; color: var(--color-accent-dark); }

/* Bio / split section */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.split-reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-reverse .split-art { order: 2; }
.split-art svg { width: 100%; height: auto; }
.split-art {
  background: linear-gradient(150deg, #f2ede4, #e9e1d2);
  border-radius: var(--radius-l);
  padding: 32px;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.schedule-table th, .schedule-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.96rem;
}
.schedule-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td.day { font-weight: 700; color: var(--color-primary); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-band .btn-light:hover { background: #12151a; color: #fff; }

/* FAQ accordion (native <details>/<summary>, no JS needed) */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 4px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(238, 114, 3, 0.12);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  color: var(--color-ink-muted);
  font-size: 0.97rem;
  padding-bottom: 20px;
  margin: 0;
}

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 28px;
  text-align: center;
}
.contact-card .icon-tile { margin-inline: auto; }
.contact-card a.value {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-card a.value:hover { color: var(--color-accent-dark); }

/* Legal page content */
.legal-content h2 { color: var(--color-primary); font-size: 1.35rem; margin-top: 2em; }
.legal-content h3 { color: var(--color-primary); font-size: 1.1rem; margin-top: 1.4em; }
.legal-content h4 { font-size: 1rem; margin-top: 1.2em; }
.legal-content p, .legal-content li { color: var(--color-ink-muted); font-size: 0.97rem; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content strong { color: var(--color-ink); }
.legal-content a { color: var(--color-accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.82); padding-block: 56px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: auto; }
.footer-brand span { font-weight: 800; color: #fff; }
.site-footer h4 {
  color: #fff; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.75); font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(238, 114, 3, 0.45);
  text-decoration: none;
}
.whatsapp-fab svg { width: 28px; height: 28px; color: #fff; }
.whatsapp-fab:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 56px; }
  .hero-art { order: -1; max-width: 340px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-art, .split-reverse .split-art { order: -1; max-width: 380px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .hero-art { display: none; }
  .hero .container { padding-block: 40px; }
  .hero-eyebrow {
    width: fit-content;
    font-size: 0.72rem;
    line-height: 1.35;
    padding: 8px 16px;
    border-radius: 14px;
  }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    box-shadow: var(--shadow-m);
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav .btn { margin: 10px 0 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 26px; }
  section { padding-block: 52px; }
}
