/* Physiotherapie Lindenhof: ruhig / band. Weiß, Tinte, Petrolblau, Apricot sparsam. Grundschrift 18 px. */

@font-face { font-family: 'Lexend'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/lexend-500.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/atkinson-400.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/atkinson-700.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --ink: #15303a;
  --muted: #3f5a63;
  --petrol: #1f6f78;
  --petrol-dark: #164f56;
  --apricot: #f2b66d;
  --mist: #eef5f5;
  --line: #cfdfe1;
  --radius: 14px;
  --wrap: 1180px;
  --display: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --text: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
abbr { text-decoration: none; }

/* Hillcode-Abschluss nicht von den eigenen Überschriften beeinflussen */
.hc-outro h2, .hc-outro h3 { text-transform: none; letter-spacing: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- Kopf ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-text { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.1; }
.brand-small { display: block; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.75rem; color: var(--ink); text-decoration: none; border-radius: 8px; font-size: 1.05rem; }
.nav a:hover { background: var(--mist); }
.nav .nav-cta a { background: var(--petrol); color: #fff; padding-inline: 1.1rem; margin-left: 0.5rem; }
.nav .nav-cta a:hover { background: var(--petrol-dark); }

.head-phone { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.head-phone svg { color: var(--petrol); }

.menu-btn { display: none; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 0.8rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }

/* ---------- Hero (band) ---------- */
.hero { padding-top: clamp(1.8rem, 3.6vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-bottom: clamp(2rem, 4vw, 3rem); }
.kicker { font-size: 1rem; color: var(--muted); margin-bottom: 0.8rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 13ch; }
.lead { font-size: 1.25rem; line-height: 1.6; max-width: 36rem; margin-top: 1.2rem; }
.facts { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.facts li { padding: 0 1rem; border-left: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; }
.facts li:first-child { padding-left: 0; border-left: 0; }

.hero-card { background: var(--mist); border-top: 5px solid var(--apricot); border-radius: 0 0 var(--radius) var(--radius); padding: 1.6rem 1.6rem 1.4rem; }
.hero-card-title { font-family: var(--display); font-weight: 500; font-size: 1.45rem; margin-bottom: 0.5rem; }
.hero-card-text { color: var(--muted); }
.hero-card-phone { margin: 1rem 0 0; }
.hero-card-phone a { font-weight: 700; }
.hero-card-phone span { display: block; color: var(--muted); font-size: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.7rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-dark); color: #fff; text-decoration: none; }
.hero-card .btn { width: 100%; }

.hero-band { width: min(100% - 2.5rem, 1400px); margin-inline: auto; }
.hero-band img { width: 100%; height: clamp(240px, 34vw, 500px); object-fit: cover; object-position: 50% 78%; border-radius: var(--radius); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-mist { background: var(--mist); }
.section-petrol { background: var(--petrol); color: #fff; }
.section-petrol a { color: #fff; }
.section-petrol :focus-visible { outline-color: var(--apricot); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(2rem, 6vw, 6rem); }
.split-aside { align-self: start; position: sticky; top: 2rem; }
.split-aside p { color: var(--muted); }
.note { font-size: 1.05rem; padding-left: 1rem; border-left: 3px solid var(--apricot); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0.4rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: 1.2rem; }
.service-list abbr { display: inline-block; margin-left: 0.35rem; font-family: var(--text); font-weight: 700; font-size: 0.95rem; color: var(--petrol); }
.service-list p { margin: 0; color: var(--muted); }

.table-title { margin: 3rem 0 1rem; }
.table-wrap { overflow-x: auto; }
.plain-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.plain-table th { text-align: left; font-weight: 700; color: var(--muted); font-size: 1rem; padding: 0 1rem 0.6rem 0; border-bottom: 2px solid var(--ink); }
.plain-table td { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain-table td:first-child { font-weight: 700; }

/* Erster Termin */
.first-visit { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.first-visit-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.lead-small { font-size: 1.2rem; max-width: 40rem; }
.checklists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; margin-top: 2rem; }
.checklists h3 { margin-bottom: 0.6rem; }

.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.rule-list li:first-child { border-top: 1px solid var(--line); }
.rule-list-light li, .rule-list-light li:first-child { border-color: rgba(255, 255, 255, 0.28); }

/* Termin (Hausfarbe als Fläche) */
.termin-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro tool" "more tool"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.termin-intro { grid-area: intro; }
.termin-more { grid-area: more; }
.termin-tool { grid-area: tool; }
.termin-intro p { font-size: 1.2rem; }
.termin-more .rule-list { margin: 0.6rem 0 1.6rem; }
.termin-phone a { font-weight: 700; }
.termin-tool { min-width: 0; }

#termin .tp {
  --tp-accent: #1f6f78;
  --tp-accent-ink: #ffffff;
  --tp-surface: #ffffff;
  --tp-ink: #15303a;
  --tp-muted: #3f5a63;
  --tp-line: #cfdfe1;
  --tp-radius: 14px;
  --tp-font: 'Atkinson Hyperlegible', system-ui, sans-serif;
  max-width: none;
  margin: 0;
  font-size: 1.05rem;
  box-shadow: 0 24px 60px rgba(8, 35, 40, 0.28);
}
#termin .tp a { color: var(--petrol); }
#termin .tp .tp__badge { font-size: 0.875rem; letter-spacing: 0.04em; color: var(--petrol); }
#termin .tp .tp__steps { font-size: 0.9rem; }
#termin .tp .tp__title { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
#termin .tp .tp__service { min-height: 56px; }
#termin .tp .tp__service span { font-size: 0.95rem; }
#termin .tp .tp__day span, #termin .tp .tp__day small { font-size: 0.875rem; }
#termin .tp .tp__time { min-height: 44px; }
#termin .tp .tp__link { font-size: 0.95rem; min-height: 44px; }
#termin .tp .tp__book { border-radius: 10px; min-height: 52px; }

/* Praxis und Team */
.stance { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; max-width: 34ch; color: var(--petrol-dark); margin: 0.5rem 0 3rem; padding-left: 1.4rem; border-left: 4px solid var(--apricot); text-wrap: pretty; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.team-list h3, .rooms h3 { margin-bottom: 0.8rem; }
.team-list dl { margin: 0; border-top: 1px solid var(--line); }
.team-list dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.team-list dt { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.team-list dd { margin: 0; color: var(--muted); }
.rooms figure { margin-bottom: 1.6rem; }
.rooms img { border-radius: var(--radius); }

/* Zeiten und Anfahrt */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); margin-top: 1rem; }
.info-grid h3 { margin-bottom: 0.9rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); }
.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 700; padding: 0.55rem 1rem 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-align: right; }
.small-note { margin-top: 0.9rem; color: var(--muted); }
.big-link { font-family: var(--display); font-weight: 500; font-size: 1.6rem; text-decoration: none; }
address { font-style: normal; margin-bottom: 1rem; }

/* Fußzeile */
.site-footer { background: var(--ink); color: #e6eef0; padding: 2.6rem 0; }
.site-footer a { color: #ffffff; }
.site-footer :focus-visible { outline-color: var(--apricot); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: flex-start; justify-content: space-between; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .head-phone span { display: none; }
  .head-phone { width: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 8px; }
  .nav a { padding-inline: 0.55rem; font-size: 1rem; }
}

@media (max-width: 940px) {
  .menu-btn { display: inline-flex; }
  .header-inner { gap: 0.6rem; min-height: 68px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(21, 48, 58, 0.12); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.6rem 1.25rem 1.2rem; gap: 0; }
  .nav a { width: 100%; min-height: 52px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-cta a { margin: 0.8rem 0 0; border-radius: 10px; justify-content: center; border-bottom: 0; }

  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-aside { position: static; }
  .first-visit { grid-template-columns: 1fr; }
  .first-visit-img img { aspect-ratio: 16 / 9; }
  .termin-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "tool" "more"; row-gap: 1.4rem; }
  .termin-more .rule-list { margin-top: 0.6rem; }
  .team-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  body { font-size: 1.125rem; line-height: 1.6; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand-text { font-size: 1.15rem; }
  .brand-small { font-size: 0.875rem; }
  .menu-btn span { display: none; }
  .menu-btn { width: 44px; justify-content: center; padding: 0; }

  .hero { padding-top: 1.5rem; }
  .kicker { display: none; }
  .hero h1 { font-size: 2.35rem; }
  .lead { font-size: 1.125rem; margin-top: 0.8rem; }
  .facts { display: none; }
  .hero-grid { padding-bottom: 1.4rem; gap: 1.1rem; }
  .hero-card { padding: 0; background: none; border: 0; }
  .hero-card-title, .hero-card-text { display: none; }
  .hero-card-phone { margin-top: 0.7rem; }
  .hero-band { width: 100%; }
  .hero-band img { border-radius: 0; height: 240px; object-position: 45% 55%; }

  .service-list li { grid-template-columns: 1fr; }
  .checklists { grid-template-columns: 1fr; }
  .team-list dl > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .info-grid { grid-template-columns: 1fr; }
  .plain-table thead { display: none; }
  .plain-table tr { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .plain-table td { display: block; padding: 0.1rem 0; border: 0; }
  .plain-table td:not(:first-child) { color: var(--muted); }
}
