/* PT23 Physiotherapie – Stylesheet
   Keine externen Schriften/Ressourcen (DSGVO-freundlich). */

:root {
  --bg: #f6f9f9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, .72);
  --text: #11201f;
  --muted: #5a6b6a;
  --primary: #087f88;
  --primary-dark: #05636a;
  --brand: #45eef3;
  --accent: #e4f8f9;
  --line: rgba(17, 32, 31, .08);       /* feine 1px-Rahmen */
  --line-strong: rgba(8, 127, 136, .22);
  --shadow-hover: 0 24px 48px -24px rgba(8, 80, 88, .28);
  --blob-1: #45eef3;
  --blob-2: #087f88;
  --blob-3: #b7f5ff;
  --radius: 24px;
  --max: 1180px;
  --section: clamp(96px, 12vw, 152px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1213; --surface: #101c1d; --surface-glass: rgba(16, 28, 29, .7);
    --text: #e8f1f0; --muted: #98aeac;
    --primary: #3fc9d0; --primary-dark: #8ae9ed; --accent: #12292b;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(69, 238, 243, .25);
    --shadow-hover: 0 24px 48px -24px rgba(0, 0, 0, .7);
    --blob-1: #0f8f99; --blob-2: #0a5a61; --blob-3: #1b6f78;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Gradient-Blobs im Hintergrund ---------- */
.blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blobs span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45;
  animation: drift 26s var(--ease) infinite alternate;
}
.blobs span:nth-child(1) { width: 560px; height: 560px; background: var(--blob-1); top: -180px; right: -120px; opacity: .35; }
.blobs span:nth-child(2) { width: 460px; height: 460px; background: var(--blob-2); top: 45%; left: -220px; opacity: .16; animation-duration: 32s; }
.blobs span:nth-child(3) { width: 420px; height: 420px; background: var(--blob-3); bottom: -160px; right: 18%; opacity: .4; animation-duration: 38s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 60px, 0) scale(1.12); }
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface-glass);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo svg { height: 44px; width: auto; display: block; }
.logo .wm { fill: var(--text); }
.logo .wm-accent { fill: var(--primary); }
.logo .wm-sub { fill: var(--muted); }
.logo .mark { fill: var(--primary); }
nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
nav a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: background .25s var(--ease), color .25s var(--ease);
}
nav a:hover { background: var(--accent); color: var(--primary); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--text); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; background: var(--primary); color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px -12px rgba(8, 127, 136, .7), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn:hover { transform: scale(1.04); background: var(--primary-dark); box-shadow: 0 16px 32px -14px rgba(8, 127, 136, .8); color: #fff; }
.btn:active { transform: scale(.98); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: var(--surface-glass); color: var(--text); border-color: var(--line); box-shadow: none; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: var(--surface); border-color: var(--line-strong); color: var(--primary); }
@media (prefers-color-scheme: dark) { .btn:not(.ghost), .btn:not(.ghost):hover { color: #04282b; } }

/* ---------- Typografie & Hierarchie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-glass);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(69, 238, 243, .25); }
h1 {
  font-size: clamp(44px, 7.2vw, 92px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  margin: 26px 0 26px;
}
h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 0 0 18px; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 8px; }
.hl {
  background: linear-gradient(100deg, var(--primary) 0%, #0e9ca6 55%, #15b3bd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); margin: 0 0 36px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Sektionen ---------- */
section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin: 0; font-size: 19px; }
.kicker { display: block; color: var(--primary); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 130px); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero-card {
  background: var(--surface-glass); border: 1px solid var(--line); border-radius: 28px; padding: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(8, 80, 88, .35);
}
.hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hero-card li {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.hero-card li:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.check { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* ---------- Bento-Grid ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); }
.tile {
  position: relative; overflow: hidden;
  background: var(--surface-glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .icon { margin-bottom: auto; }
.tile h3 { margin-top: 28px; }
.span-2 { grid-column: span 2; }
.row-2 { grid-row: span 2; }
.tile.feature {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(69, 238, 243, .35), transparent 55%),
    linear-gradient(160deg, #0a8e98, #05555b);
  border-color: transparent; color: #fff;
}
.tile.feature p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 420px; }
.tile.feature h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; }
.tile.feature .icon { background: rgba(255,255,255,.14); color: #fff; }
.tile.feature .big-num {
  position: absolute; right: -10px; top: -30px; font-size: 220px; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.06); letter-spacing: -.06em; pointer-events: none;
}
.tile .tag {
  display: inline-block; margin-top: 18px; align-self: flex-start; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--primary); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .row-2 { grid-row: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .span-2 { grid-column: span 1; } }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.portrait { border-radius: 50%; box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px var(--line-strong), 0 40px 80px -30px rgba(8, 80, 88, .45); position: relative; }
.portrait::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed var(--line-strong); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; clip-path: circle(49%); }
.about .role { color: var(--primary); font-weight: 600; margin: 0 0 22px; font-size: 18px; }
.about p { color: var(--muted); font-size: 18px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 48px; } .portrait { max-width: 260px; margin-left: 22px; } }

/* ---------- Ablauf (ebenfalls Bento) ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps .tile { min-height: 240px; }
.steps .tile::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: .06em;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; align-self: flex-start; margin-bottom: auto;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps .tile { min-height: 0; } .steps .tile h3 { margin-top: 22px; } }

/* ---------- Einsatzgebiet ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: 9px 18px; border-radius: 999px; background: var(--surface-glass); border: 1px solid var(--line);
  color: var(--text); font-weight: 600; font-size: 15px; transition: transform .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.chips li:hover { transform: translateY(-3px); border-color: var(--line-strong); color: var(--primary); }
.map-tile { padding: 14px; }
.map-art { width: 100%; height: auto; display: block; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details {
  background: var(--surface-glass); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
details:hover { border-color: var(--line-strong); transform: translateY(-2px); }
details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--primary); transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.contact .tile a { font-size: clamp(20px, 2vw, 24px); font-weight: 700; text-decoration: none; letter-spacing: -.01em; word-break: break-word; }
.contact .tile.feature a { color: #fff; }
.contact .tile.feature .btn { background: #fff; color: var(--primary); font-size: 16px; margin-top: 24px; align-self: flex-start; box-shadow: none; }
.contact .tile.feature .btn:hover { color: var(--primary-dark); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; text-decoration: none; }
footer a:hover { color: var(--primary); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin-top: 36px; }
.placeholder { background: #fff3c4; color: #5a4500; padding: 0 4px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .placeholder { background: #4a3d10; color: #ffe9a3; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .area { grid-template-columns: 1fr; gap: 40px; }
  .menu-toggle { display: block; }
  nav ul { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 14px 20px; border-radius: 0; border-top: 1px solid var(--line); }
  footer a { margin: 0 14px 0 0; }
}

/* Bewegung reduzieren, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
