/* Physiotherapie am Kanal – erfunden. Instrument Sans, viel Luft, Wasserfarben; Bewegung nur langsam und rund. */
:root {
  --water: #d6e7ea;
  --mist: #eaf3f4;
  --white: #fbfdfd;
  --teal: #0e3a43;
  --teal-2: #2f6470;
  --coral: #ee7a5f;
  --coral-d: #d9634a;
  --line: rgba(14, 58, 67, .14);
  --ease: cubic-bezier(.22, .9, .25, 1);
  --font: "Instrument Sans Variable", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--white); color: var(--teal); font-family: var(--font); font-size: 1.06rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 14px clamp(16px, 4vw, 56px); background: rgba(251, 253, 253, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.25rem; font-stretch: 90%; text-decoration: none; }
.logo-wave { width: 30px; height: 14px; background: radial-gradient(circle at 7px 14px, transparent 6px, var(--coral) 6.5px 9px, transparent 9.5px) 0 0 / 15px 14px repeat-x; }
.top-nav { display: flex; gap: 28px; }
.top-nav a { text-decoration: none; color: var(--teal-2); transition: color .2s; }
.top-nav a:hover { color: var(--teal); }
.top .btn { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px -10px var(--coral-d); }
.btn-coral:hover { background: var(--coral-d); transform: translateY(-1px); }
.btn-ghost { background: var(--mist); color: var(--teal); }
.btn-ghost:hover { background: var(--water); }

/* Hero mit Atemkreis */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; padding: clamp(40px, 7vw, 100px) clamp(16px, 4vw, 56px); background: linear-gradient(180deg, var(--white), var(--mist)); overflow: hidden; }
.hero-kicker { color: var(--teal-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-stretch: 85%; letter-spacing: -.035em; max-width: 11ch; }
.hero-lead { margin-top: 24px; max-width: 32rem; font-size: 1.15rem; color: var(--teal-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-text > * { opacity: 0; transform: translateY(14px); animation: up .9s var(--ease) forwards; }
.hero-text > :nth-child(2) { animation-delay: .1s; } .hero-text > :nth-child(3) { animation-delay: .2s; } .hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes up { to { opacity: 1; transform: none; } }

.breathe { position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center; display: grid; place-items: center; }
.breathe-ring { position: absolute; border-radius: 50%; animation: breathe 8s ease-in-out infinite; }
.r1 { inset: 26%; background: var(--teal); }
.r2 { inset: 14%; background: var(--teal-2); opacity: .35; animation-delay: .15s; }
.r3 { inset: 0; background: var(--water); animation-delay: .3s; }
@keyframes breathe { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1); } }
.breathe-word { position: relative; color: var(--white); font-weight: 600; font-size: 1.3rem; font-stretch: 110%; letter-spacing: .02em; }
.breathe-word span { display: inline-block; transition: opacity .6s ease, filter .6s ease; }
.breathe-word span.is-fading { opacity: 0; filter: blur(4px); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-stretch: 85%; }
.section-head p { color: var(--teal-2); }

/* Körperkarte */
.body-map { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px); }
.map { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.figure { position: relative; color: var(--water); max-width: 300px; width: 100%; justify-self: center; }
.figure-svg { display: block; width: 100%; height: auto; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--teal-2); transition: transform .4s var(--ease), background .3s; }
.spot::after { inset: 12px; background: transparent; border: 2px solid var(--coral); opacity: 0; }
.spot:hover::before { transform: scale(1.25); }
.spot[aria-pressed="true"]::before { background: var(--coral); transform: scale(1.2); }
.spot[aria-pressed="true"]::after { animation: ripple 1.8s ease-out infinite; }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.spot span { position: absolute; left: 50%; top: -30px; transform: translate(-50%, 6px); padding: 3px 10px; border-radius: 8px; background: var(--teal); color: var(--white); font-size: .82rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.spot:hover span, .spot:focus-visible span, .spot[aria-pressed="true"] span { opacity: 1; transform: translate(-50%, 0); }
.panel { background: var(--mist); border-radius: 28px; padding: clamp(24px, 4vw, 44px); min-height: 330px; }
.panel.is-swap > * { animation: panel-in .55s var(--ease) both; }
.panel.is-swap > :nth-child(2) { animation-delay: .05s; } .panel.is-swap > :nth-child(3) { animation-delay: .1s; } .panel.is-swap > :nth-child(4) { animation-delay: .15s; }
@keyframes panel-in { from { opacity: 0; transform: translateX(16px); } }
.panel h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-stretch: 85%; margin-bottom: 14px; }
.panel > p { color: var(--teal-2); max-width: 36rem; }
.panel-list { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.panel-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.panel-time { color: var(--teal-2); font-size: .95rem; }

/* Leistungen als Akkordeon */
.services { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px); background: var(--teal); color: var(--white); }
.services .section-head p { color: #a9c9cf; }
.acc { border-top: 1px solid rgba(251, 253, 253, .18); }
.acc details { border-bottom: 1px solid rgba(251, 253, 253, .18); }
.acc summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; font-stretch: 90%; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary > span:first-child { display: inline-flex; align-items: center; gap: 16px; }
.acc summary > span:first-child::before { content: ""; width: 14px; height: 14px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); transition: transform .4s var(--ease); flex: none; }
.acc details[open] summary > span:first-child::before { transform: rotate(45deg); }
.acc-price { font-size: 1rem; font-weight: 400; color: #a9c9cf; white-space: nowrap; }
.acc details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.acc details[open]::details-content { block-size: auto; }
.acc-body { padding: 0 0 26px 30px; max-width: 44rem; color: #d3e4e7; }

/* Termin */
.booking { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px); position: relative; }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.day { background: var(--mist); border-radius: 22px; padding: 16px; }
.day h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.day small { color: var(--teal-2); display: block; margin-bottom: 12px; }
.slots { display: grid; gap: 6px; }
.slot { min-height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--teal); font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease), border-color .2s; }
.slot:hover:not(:disabled) { border-color: var(--teal-2); transform: translateY(-1px); }
.slot:disabled { background: transparent; color: rgba(14, 58, 67, .35); text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #fff; }
.slot.is-booked { background: var(--teal); color: #fff; border-color: var(--teal); text-decoration: none; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px 12px; pointer-events: none; }
.sheet[hidden] { display: none; }
.sheet-inner { pointer-events: auto; width: min(560px, 100%); background: var(--white); border-radius: 26px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(14, 58, 67, .5); display: grid; gap: 14px; transform: translateY(110%); transition: transform .55s var(--ease); }
.sheet.is-open .sheet-inner { transform: none; }
.sheet-when { font-size: 1.35rem; font-weight: 600; font-stretch: 90%; }
.sheet label span { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.sheet input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--mist); font: inherit; color: var(--teal); }
.sheet input:focus { outline: none; border-color: var(--teal-2); background: var(--white); }
.sheet-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Team */
.team { padding: 0 clamp(16px, 4vw, 56px) clamp(56px, 8vw, 110px); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.people li { display: grid; gap: 4px; }
.people li:nth-child(2) { transition-delay: .08s; } .people li:nth-child(3) { transition-delay: .16s; } .people li:nth-child(4) { transition-delay: .24s; }
.face { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50% 50% 50% 14px; background: var(--c); color: var(--white); width: min(100%, 132px); font-size: 2rem; font-weight: 600; font-stretch: 80%; margin-bottom: 12px; transition: border-radius .6s var(--ease); }
.people li:hover .face { border-radius: 50%; }
.people b { font-weight: 600; font-size: 1.12rem; }
.people li > span:last-child { color: var(--teal-2); }

.foot { padding: 32px clamp(16px, 4vw, 56px) 84px; background: var(--mist); display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; }
.foot-note { width: 100%; color: var(--teal-2); font-size: .92rem; }

[data-reveal] { opacity: 0; transform: scale(.97); filter: blur(6px); transition: opacity .9s ease, transform .9s var(--ease), filter .9s ease; }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

@media (max-width: 900px) {
  .top-nav { display: none; }
  .hero, .map, .section-head { grid-template-columns: 1fr; }
  .breathe { width: min(80%, 340px); grid-row: 1; }
  .week { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .day { scroll-snap-align: start; }
  .people { grid-template-columns: 1fr 1fr; }
  .figure { max-width: 230px; }
}
@media (max-width: 480px) {
  .top { gap: 12px; }
  .top .btn { min-height: 42px; padding: 0 14px; }
  .acc summary { flex-direction: column; gap: 4px; }
  .acc-price { padding-left: 30px; }
}
