/* ============================================================
   Physiotherapie Losheim — Lisa-Marie Stolz
   Farbwelt: Beige, Sand, Grautöne (abgestimmt aufs Logo)
   ============================================================ */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ----------
   Liegen die Dateien im Ordner fonts/, werden Fraunces und Inter genutzt,
   sonst automatisch die Systemschriften. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg:          #f5f1e8;   /* Beige – Seitenhintergrund */
  --surface:     #ece5d5;   /* helles Sand – Flächen */
  --surface-2:   #e2d8c2;   /* Sand – Karten, Akzente */
  --sand:        #a36d4c;   /* Logo-Braun (Sandton) – Akzentfarbe */
  --sand-deep:   #84573b;   /* dunkleres Logo-Braun – Links, Hover (Kontrast ≥ 5:1) */
  --ink:         #5b5148;   /* Taupe – Text, Buttons, große Kachel */
  --ink-soft:    #655b52;   /* helles Taupe – Nebentext (≥ 5:1) */
  --grey-dark:   #5b5148;   /* Taupe – Footer */
  --grey-line:   #cfc6b2;   /* Trennlinien */
  --white-warm:  #fbf9f4;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 2px 8px rgba(58, 56, 51, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius-lg: 14px;

  --z-nav: 100;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { max-width: 68ch; text-wrap: pretty; }

a { color: var(--sand-deep); }
a:hover { color: var(--ink); }

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

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grey-line);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 var(--grey-line), 0 6px 16px -10px rgba(91, 81, 72, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand .logo-full {
  height: 86px;
  width: auto;
  display: block;
  transition: height 240ms var(--ease-out);
}

.site-header.is-scrolled .brand .logo-full { height: 56px; }

.logo-compact { display: none; }

@media (max-width: 800px) {
  .brand .logo-full { height: 62px; }
  .site-header.is-scrolled .brand .logo-full { height: 50px; }
}

/* Handy: Figur + Name als Text (lesbar statt winziger Logo-Schrift) */
@media (max-width: 560px) {
  .brand .logo-full { display: none; }
  .logo-compact { display: flex; align-items: center; gap: 0.6rem; }
  .logo-compact img { width: 44px; height: auto; }
  .lc-text { display: flex; flex-direction: column; line-height: 1.15; }
  .lc-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
  .lc-sub { font-size: 0.82rem; color: var(--ink-soft); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--sand);
}

.nav-cta {
  background: var(--ink);
  color: var(--white-warm) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}

.nav-cta:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background: var(--sand-deep); }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--grey-line);
    display: flex;
    padding: 0.5rem 4%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 0s;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--grey-line);
  }

  .nav-links a[aria-current="page"] { border-bottom-color: var(--grey-line); color: var(--sand-deep); }

  .nav-links .nav-cta {
    margin-block: 0.75rem;
    text-align: center;
    border-radius: var(--radius);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4.5rem 3.5rem;
}

.hero-text .lead {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--grey-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.opening-badge {
  display: inline-block;
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 3rem 2.5rem;
    gap: 2rem;
  }
  .hero-photo { aspect-ratio: 16 / 10; }
}

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--ink);
  color: var(--white-warm);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--sand-deep); color: var(--white-warm); }
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: 3.5rem; }

.section-sand {
  background: var(--surface);
  border-block: 1px solid var(--grey-line);
}

.section h2 { margin-bottom: 1.2rem; }

.section .intro {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* Page-Header für Unterseiten */
.page-head {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--grey-line);
  background: var(--surface);
}

.page-head p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ---------- Karten / Raster ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.tile {
  background: var(--white-warm);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.tile h3 { margin-bottom: 0.5rem; }
.tile p { color: var(--ink-soft); font-size: 0.98rem; }

.tile-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}

/* ---------- Über mich ---------- */

.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  padding-block: 3.5rem;
}

.profile-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--grey-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.profile-text p + p { margin-top: 1rem; }

@media (max-width: 800px) {
  .profile { grid-template-columns: 1fr; gap: 2rem; }
  .profile-photo { max-width: 320px; }
}

/* ---------- Qualifikationen / Zeitleiste ---------- */

.timeline {
  list-style: none;
  border-left: 2px solid var(--grey-line);
  padding-left: 1.75rem;
  margin-block: 2rem;
  max-width: 640px;
}

.timeline li {
  position: relative;
  padding-bottom: 1.75rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 7px);
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--bg);
}

.timeline .when {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.timeline h3 { font-size: 1.1rem; margin-top: 0.15rem; }

.timeline p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.25rem; }

.check-list {
  list-style: none;
  margin-block: 1.5rem;
  max-width: 640px;
}

.check-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--grey-line);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0.25rem;
  color: var(--sand-deep);
  font-weight: 600;
}

/* ---------- Termin ---------- */

.booking-box {
  background: var(--white-warm);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-block: 2rem;
  text-align: center;
}

.booking-box p {
  margin-inline: auto;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.contact-rows { margin-block: 1.5rem; max-width: 560px; }

.contact-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--grey-line);
}

.contact-rows dt { color: var(--ink-soft); }
.contact-rows dd { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Anfahrt ---------- */

.map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  margin-block: 2rem;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

/* ---------- Impressum ---------- */

.legal { padding-block: 3rem; max-width: 720px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-top: 0.7rem; color: var(--ink-soft); }
.legal ul { margin-top: 0.7rem; padding-left: 1.4rem; color: var(--ink-soft); }
.legal li { margin-top: 0.25rem; }
.legal address { font-style: normal; margin-top: 0.7rem; color: var(--ink-soft); }

/* ---------- Platzhalter-Markierung ---------- */

.todo {
  background: #f3e8c9;
  border-radius: 4px;
  padding: 0 0.3em;
  font-style: italic;
}

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

.site-footer {
  background: var(--grey-dark);
  color: #e3ddd2;
  padding-block: 2.75rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer h3 {
  color: var(--white-warm);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.site-footer a { color: #e3ddd2; }
.site-footer a:hover { color: var(--white-warm); }

.site-footer ul { list-style: none; }
.site-footer li { padding-block: 0.2rem; }

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #766b60;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #d4ccbf;
}

/* ---------- Foto-Platzhalter & Zitat ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.photo-ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--grey-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.35;
  max-width: 28ch;
  margin-inline: auto;
  text-align: center;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--ink-soft);
}

.hours-note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------- Startseite: Zitat als Opener ---------- */

.hero-quote {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 400;
  line-height: 1.22;
}

.hero-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  color: var(--ink-soft);
}

/* ---------- Fokus (Tastatur) ---------- */

:focus-visible {
  outline: 2px solid var(--sand-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Bento Grid (Startseite) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 1rem;
  grid-template-areas:
    "allg  allg  skol  skol"
    "allg  allg  cmd   train"
    "hours kont  kont  open"
    "hours anf   anf   anf";
}

.area-allg  { grid-area: allg; }
.area-skol  { grid-area: skol; }
.area-cmd   { grid-area: cmd; }
.area-train { grid-area: train; }
.area-hours { grid-area: hours; }
.area-kont  { grid-area: kont; }
.area-open  { grid-area: open; }
.area-anf   { grid-area: anf; }

.bento-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white-warm);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
}

.bento-tile h3 { margin-bottom: 0.45rem; }
.bento-tile p { color: var(--ink-soft); font-size: 0.98rem; }

/* Klickbare Kacheln */
.bento-tile.is-link {
  transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.bento-tile.is-link:active { transform: scale(0.985); }

.tile-more {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--sand-deep);
}

.tile-more .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-tile.is-link:hover { border-color: var(--sand); }
  .bento-tile.is-link:hover .arrow { transform: translateX(3px); }
}

/* Große Kachel: dunkel, ruhig */
.tile-feature {
  background: var(--ink);
  border-color: var(--ink);
  padding: 2rem;
}
.tile-feature h3 {
  color: var(--white-warm);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
}
.tile-feature p { color: #ece6dc; font-size: 1.05rem; max-width: 36ch; }
.tile-feature .tile-more { color: #f1dcc8; }
@media (hover: hover) and (pointer: fine) {
  .tile-feature.is-link:hover { border-color: var(--sand); background: #675c52; }
}

/* Akzent-Kachel: Eröffnung */
.tile-accent {
  background: var(--sand-deep);
  border-color: var(--sand-deep);
  color: var(--white-warm);
  justify-content: flex-end;
}
.open-label {
  font-size: 0.9rem;
  color: #f1e3d6;
}
.bento-tile .open-date {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin-top: 0.3rem;
  color: var(--white-warm) !important;
}

/* Öffnungszeiten kompakt */
.hours { font-variant-numeric: tabular-nums; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--grey-line);
  font-size: 0.95rem;
}
.hours div:last-child { border-bottom: none; }
.hours dt { color: var(--ink-soft); }
.hours dd { font-weight: 500; }
.tile-note { font-size: 0.85rem !important; }

/* Kontakt groß */
.contact-big { margin-top: 0.6rem; }
.contact-big a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.contact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
@media (hover: hover) and (pointer: fine) {
  .contact-big a:hover { color: var(--sand-deep); }
}

/* Tablet: 2 Spalten */
@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "allg  allg"
      "skol  skol"
      "cmd   train"
      "kont  kont"
      "hours open"
      "hours anf";
  }
}

/* Smartphone: 1 Spalte */
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "allg" "skol" "cmd" "train" "open" "hours" "kont" "anf";
    grid-auto-rows: auto;
  }
  .bento-tile { padding: 1.25rem; }
  .tile-feature { padding: 1.5rem; }
}

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .nav-cta:active, .bento-tile.is-link:active { transform: none; }
  .tile-more .arrow { transition: none; }
  .nav-links { transform: none !important; }
}

/* Bento: Feinschliff */
.area-hours { justify-content: flex-start; }
.area-hours .tile-note { margin-top: auto; padding-top: 0.75rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 1.4rem;
}
.chips li {
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(251, 249, 244, 0.25);
  border-radius: 999px;
  color: #e9e5dc;
}

/* letzter Abschnitt grenzt direkt an den Footer */
main > .section-sand:last-child { border-bottom: none; }
main > :last-child:not(.section-sand) { padding-bottom: 4rem; }

/* ---------- Barrierefreiheit: nur für Screenreader/Google ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Zitat-Opener (jetzt als Absatz, h1 ist unsichtbar) */
p.hero-quote {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}

/* ---------- Eröffnung: Inhalte je nach Datum (per JS gesetzt) ---------- */
.phase-new, .phase-post-block { display: none; }
html[data-phase="new"] .phase-pre { display: none; }
html[data-phase="new"] .phase-new { display: inline; }
html[data-phase="post"] .opening-badge,
html[data-phase="post"] .phase-pre-block { display: none; }
html[data-phase="post"] .phase-post-block { display: block; }
html[data-phase="post"] .tile-accent .open-date { font-size: clamp(1.3rem, 2vw, 1.6rem); }

/* ---------- Kontakt-Kachel ---------- */
.bento-tile .contact-phone {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}
.tile-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Über mich ---------- */
.profile-text h2 { margin-bottom: 1rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col .timeline, .two-col .check-list { margin-top: 0.5rem; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 800px) {
  .profile-photo { max-width: none; aspect-ratio: 4 / 3; }
}

/* ---------- Karte erst nach Klick ---------- */
.map-frame { background: var(--surface); }
.map-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
}
.map-address { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.map-hint { font-size: 0.95rem; color: var(--ink-soft); max-width: 46ch; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Footer ---------- */
.footer-legal a { text-decoration: none; }


/* ---------- Ergänzungen 14.11.2026 ---------- */
/* Unterzeile in der großen Kachel */
.tile-feature .tile-sub { font-size: 0.92rem; margin-top: -0.15rem; }

/* Kachel ohne Gesamtlink: „Mehr erfahren" ist selbst der Link */
a.tile-more { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  a.tile-more:hover .arrow { transform: translateX(3px); }
}

/* „Circle" im Pink von Circle Fitness */
.circle-link, .circle-link:hover { color: #d42058; font-weight: 700; } /* Circle-Pink, leicht abgedunkelt für Kontrast ≥ 4,5:1 */

/* Instagram-Symbol im Menü */
.nav-links a.nav-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  border-bottom: 0;
  padding: 0.3rem;
}
.nav-links a.nav-insta:hover { color: var(--sand-deep); }
.nav-insta svg { display: block; }
.nav-insta-text { display: none; }
@media (max-width: 800px) {
  .nav-links a.nav-insta { display: flex; justify-content: center; padding: 0.6rem 0.25rem 0.9rem; }
  .nav-insta-text { display: inline; }
}

/* ---------- Korrekturen aus der Prüfung 14.11.2026 ---------- */
/* Lange Überschriften (z. B. „Datenschutzerklärung") passen aufs Handy */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 360px) {
  h1, h2, h3 { hyphens: auto; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
}

/* Termin-Seite: Anfrage-Buttons */
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Fußzeile: größere Tippflächen auf dem Handy */
@media (max-width: 800px) {
  .site-footer li { padding-block: 0; }
  .site-footer li a { display: inline-block; padding-block: 0.6rem; }
  .footer-legal a { display: inline-block; padding: 0.6rem 0.15rem; }
}

/* Sehr schmale Handys (320 px): nichts ragt über den Rand */
.bento > * { min-width: 0; }
.chips li { max-width: 100%; white-space: normal; }
.legal a { overflow-wrap: anywhere; }

/* ---------- Porträtfoto „Über mich" (17.11.2026) ---------- */
.profile-photo.has-image { padding: 0; overflow: hidden; display: block; background: var(--surface-2); }
.profile-photo.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 800px) {
  .profile-photo.has-image { aspect-ratio: 3 / 4; max-width: 420px; }
}

/* ---------- Praxisfoto Startseite (17.11.2026) ---------- */
.hero-photo.has-image { padding: 0; overflow: hidden; display: block; background: var(--surface-2); }
.hero-photo.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- Eröffnungs-Kachel: Hinweis auf Buchung (17.11.2026) ---------- */
.tile-accent .open-book {
  display: inline-block;
  margin-top: 0.9rem;
  padding-block: 0.3rem;
  color: var(--white-warm);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 249, 244, 0.5);
}
.tile-accent .open-book:hover { color: var(--white-warm); border-bottom-color: var(--white-warm); }
.tile-accent .open-book .arrow { display: inline-block; transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile-accent .open-book:hover .arrow { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .tile-accent .open-book .arrow { transition: none; }
}

/* Eröffnungs-Kachel: Buchungshinweis auf einer Zeile (17.11.2026) */
@media (min-width: 1180px) {
  .tile-accent .open-book { white-space: nowrap; font-size: 0.9rem; }
}
.tile-accent .open-book .arrow { white-space: nowrap; }

/* ---------- Technik aus der Regelprüfung (17.11.2026) ---------- */
/* Sprunglink: unsichtbar, bis er per Tastatur den Fokus bekommt */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: calc(var(--z-nav) + 10);
  background: var(--ink);
  color: var(--white-warm);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white-warm); }
main:focus { outline: none; }

/* Feste Kopfzeile verdeckt angesprungene Elemente nicht */
html { scroll-padding-top: 120px; }
@media (max-width: 800px) { html { scroll-padding-top: 80px; } }

/* Kein Tipp-Verzögern auf Handys (Zoomen bleibt möglich) */
a, button, .btn, summary { touch-action: manipulation; }

/* Kartenbereich nach dem Laden: Fokus sichtbar */
.map-frame:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; }
