/* calaMED – Praxis für Physiotherapie
   Eine Schriftfamilie, Logo-Orange als einzige Akzentfarbe, warme Neutraltöne
   passend zu den gelben Praxiswänden und dem Holzboden. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #f7f4ef;
  --bg-alt: #efe9e0;
  --surface: #ffffff;
  --text: #272523;
  --text-2: #57534d;
  --line: #e2dbd0;
  --orange: #ee7f00;        /* Logo */
  --orange-hover: #dc7400;
  --orange-text: #a35200;   /* orange Schrift auf hellem Grund, ≥ 4.5:1 */
  --orange-soft: #fdf0e1;
  --dark: #2a2826;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Typografie ---------- */

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.022em; color: var(--text); }
h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }

.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); }
.small { font-size: 15.5px; color: var(--text-2); }

.section-intro { max-width: 640px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-intro h2 { margin-bottom: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav a.btn { color: var(--text); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
  font: 600 16px var(--font); color: var(--text);
}
.bars { width: 22px; height: 12px; position: relative; display: inline-block; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, top .2s; }
.bars::before { top: 1px; }
.bars::after { top: 9px; }
.menu-open .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .bars::after { top: 5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; min-height: 52px;
  background: var(--orange); color: var(--text);
  font: 650 17px/1.2 var(--font); text-decoration: none;
  border: 0; border-radius: 10px; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-hover); }
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 10px 18px; min-height: 44px; font-size: 16px; }
.btn.dark { background: var(--dark); color: #fff; }
.btn.dark:hover { background: #000; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { font-size: 16px; font-weight: 600; color: var(--orange-text); margin-bottom: 18px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-phone { font-size: 16.5px; color: var(--text-2); }
.hero-phone a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); }

.status { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 15.5px; color: var(--text-2); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #b5ada1; flex: none; }
.status.open .dot { background: #3f9b5b; box-shadow: 0 0 0 4px rgba(63, 155, 91, .15); }

.hero-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-alt); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.facts { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; }
.fact strong { display: block; font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.fact span { display: block; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }

/* ---------- Sektionen ---------- */

section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { background: var(--surface); border-radius: var(--radius); padding: 30px 32px 32px; box-shadow: inset 0 3px 0 transparent; transition: box-shadow .2s; }
.service:hover { box-shadow: inset 0 3px 0 var(--orange); }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--text-2); font-size: 17px; }
.services-note { margin-top: 28px; font-size: 16px; color: var(--text-2); }
.services-note a { color: var(--text); font-weight: 600; }

/* Behandlungsspektrum */
.regions { background: var(--surface); border-radius: var(--radius); padding: 8px 32px; }
.region { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.region:first-child { border-top: 0; }
.region h3 { font-size: 19px; display: flex; align-items: center; gap: 12px; }
.region h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.region li { font-size: 16px; line-height: 1.3; padding: 7px 14px; border-radius: 100px; background: var(--bg); color: var(--text); }

/* Über mich */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.about-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 30%; transform: scale(1.02); }
.about-figure figcaption { margin-top: 14px; font-size: 15.5px; color: var(--text-2); }
.about-figure figcaption strong { color: var(--text); }
.about h2 { margin-bottom: 18px; }
.about .lead { margin-bottom: 32px; }

.cv { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; }
.cv li:last-child { border-bottom: 1px solid var(--line); }
.cv li b { font-weight: 600; color: var(--text-2); font-size: 15.5px; padding-top: 1px; }

.quals { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.quals li { background: var(--orange-soft); color: var(--orange-text); font-weight: 600; font-size: 15px; border-radius: 100px; padding: 7px 15px; }

/* Bewertungen */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews-head h2 { max-width: 14em; }
.rating { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.rating-score { font-size: 44px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.rating-meta { font-size: 15px; color: var(--text-2); line-height: 1.45; }
.rating-meta span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.rating:hover .rating-meta span { text-decoration-color: currentColor; }
.stars { display: flex; gap: 2px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-size: 20px; line-height: 1.55; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.35; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-text); display: grid; place-items: center; font-weight: 700; flex: none; }
.review footer strong { color: var(--text); display: block; font-size: 16px; }
.reviews-note { margin-top: 18px; font-size: 14px; color: var(--text-2); }

/* Praxis */
.practice-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.gallery { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(380px, 42vw, 520px); }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.practice-text h2 { margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { position: relative; padding-left: 30px; font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a35200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px 30px 32px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 22px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 17px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 30px 32px 32px; }
.card h3 { font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.contact-line { display: block; font-size: 23px; font-weight: 650; letter-spacing: -0.015em; text-decoration: none; line-height: 1.35; }
.contact-line:hover { color: var(--orange-text); }
.card address { font-style: normal; margin-top: 22px; line-height: 1.6; }
.card .meta { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.card .meta a { color: var(--text); text-underline-offset: 3px; }

.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 650; }
.hours tr.today td:first-child::after { content: "heute"; margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--orange-text); background: var(--orange-soft); padding: 2px 8px; border-radius: 100px; vertical-align: 2px; }
.hours tr.closed td:last-child { color: var(--text-2); }

.route p { font-size: 16.5px; color: var(--text-2); margin-bottom: 14px; }
.route p strong { display: block; color: var(--text); font-weight: 650; }

/* Termin-Band */
.cta-band { background: var(--orange); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--text); }
.cta-band p { color: var(--text); margin-top: 10px; font-size: 19px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .74); padding: 64px 0 36px; font-size: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo { height: 54px; width: auto; }
.footer-claim { margin-top: 18px; max-width: 22em; line-height: 1.55; }
.site-footer h4 { margin: 0 0 14px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14.5px; flex-wrap: wrap; }

/* ---------- Toast (Nummer kopiert) ---------- */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--dark); color: #fff; font-size: 16px; font-weight: 500;
  padding: 14px 20px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rechtstexte ---------- */

.legal { padding: clamp(48px, 6vw, 88px) 0 var(--section); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 48px 0 12px; }
.legal p, .legal li, .legal dd { color: var(--text-2); }
.legal a { color: var(--text); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 210px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; font-size: 16px; }
.legal dd { margin: 0; }
.todo { background: #fde2bf; padding: 1px 6px; border-radius: 4px; }

/* ---------- Einblenden ---------- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .route { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { font-size: 20px; font-weight: 600; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 44px; }

  .hero-grid, .about-grid, .practice-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  .services, .reviews, .steps { grid-template-columns: 1fr; }
  .region { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .fact { padding: 18px 20px; }
  .regions { padding: 4px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service, .step, .card, .review { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .gallery { height: auto; grid-template-rows: 220px 150px; }
  .checks { grid-template-columns: 1fr; }
  .cv li { grid-template-columns: 1fr; gap: 0; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn { width: 100%; }
}
