/* Physiotherapie Kamp — Grundlagen: Schrift, Typografie, Flächen, Bausteine */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

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

html { overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  overflow-x: clip;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--t-display); line-height: var(--lh-display); }
h2 { font-size: var(--t-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--t-h3); line-height: var(--lh-h3); }

/* Betonung: die Praxisfarbe, nicht Kursive */
h1 em, h2 em, h3 em { font-style: normal; color: var(--c-blue); }

p { color: var(--c-muted); }
.lede { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--c-ink); }
strong, b { font-weight: 600; color: var(--c-ink); }

@media (max-width: 30rem) {
  h1, h2, h3 { hyphens: auto; overflow-wrap: anywhere; hyphenate-limit-chars: 10 6 6; }
}

/* ---------- Marke: die kleine Kennzeichnung ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue);
}

/* Der rote Punkt aus dem Logo als wiederkehrendes Zeichen */
.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-red);
}

.section--blue .tag { color: #fff; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-x);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-paper-2); }
.section--white { background: var(--c-white); }

.section--blue {
  background: var(--c-blue);
  color: #fff;
}
.section--blue p { color: var(--on-blue); }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue h2 em { color: #fff; text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 0.16em; text-decoration-thickness: 3px; }

.section-head { margin-bottom: var(--head-gap); max-width: 46rem; }
.section-head h2 { margin-top: var(--sp-2); }
.section-head > p { margin-top: var(--sp-3); }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast),
    border-color var(--duration-fast), translate var(--duration-fast);
}

.btn .arr { transition: translate var(--duration-fast) var(--ease-out); }
.btn:hover .arr { translate: 4px 0; }
.btn:active { translate: 0 1px; }

.btn--solid { background: var(--c-blue); color: #fff; }
.btn--solid:hover { background: var(--c-blue-deep); }

.btn--ghost { border-color: var(--line-strong); color: var(--c-ink); }
.btn--ghost:hover { border-color: var(--c-ink); background: rgba(20, 25, 42, 0.05); }

.section--blue .btn--solid { background: #fff; color: var(--c-blue); }
.section--blue .btn--solid:hover { background: var(--c-blue-soft); }
.section--blue .btn--ghost { border-color: var(--line-dark); color: #fff; }
.section--blue .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--sp-4); }

/* ---------- Karten und Rahmen ---------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
}

.frame {
  display: block;
  border-radius: var(--radius-m);
  overflow: clip;
  background: var(--c-paper-2);
  min-width: 0;
}

.frame img { width: 100%; height: 100%; object-fit: cover; }
html.js .frame[data-reveal-img] img { transform: scale(1.05); }

/* ---------- Fokus, Skip, Reveal ---------- */
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
.section--blue :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-blue); color: #fff;
  padding: 0.7rem 1.2rem; z-index: 300;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

html.js [data-reveal] { opacity: 0; transform: translateY(20px); }
html.js.reduced-motion [data-reveal] { opacity: 1; transform: none; }

::selection { background: var(--c-blue); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
