/* ==========================================================
   Praxis Dr. Maja Celt – Stylesheet
   ========================================================== */

:root {
  --ink: #0d2436;
  --ink-soft: #49606f;
  --teal: #13a89e;
  --teal-d: #0b7f78;
  --teal-l: #7fd8cf;
  --mint: #e8f7f4;
  --mint-2: #d3f0eb;
  --rose: #e46f7a;
  --blush: #fbe9e6;
  --gold: #f4b740;
  --bg: #fbfdfc;
  --white: #ffffff;
  --line: #dbe8e6;

  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 20px 50px -20px rgba(13, 36, 54, .25);
  --shadow-s: 0 8px 24px -10px rgba(13, 36, 54, .2);

  --f-head: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal-d); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  background: var(--bg-btn);
  color: var(--ink);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(19, 168, 158, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(19, 168, 158, .9); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn--small { padding: .65em 1.2em; font-size: .85rem; background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }

/* Bohrer-Vibration beim Hover */
.btn--drill:hover { animation: drill .28s linear infinite; }
@keyframes drill {
  0%, 100% { transform: translate(0, -2px) rotate(0); }
  25% { transform: translate(-1px, -2px) rotate(-.6deg); }
  50% { transform: translate(1px, -1px) rotate(.6deg); }
  75% { transform: translate(-1px, -2px) rotate(.3deg); }
}

/* ---------- Pulsierender Punkt ---------- */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.8s var(--ease) infinite;
}
.pulse-dot--red { background: var(--rose); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ==========================================================
   Loader
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 14px; }
.loader__tooth {
  width: 74px; height: 80px;
  fill: none; stroke: var(--teal); stroke-width: 4; stroke-linejoin: round;
  stroke-dasharray: 360; stroke-dashoffset: 360;
  animation: drawTooth 1.2s var(--ease) forwards, toothBeat 1s .9s ease-in-out infinite;
}
.loader__tooth use { fill: none; }
@keyframes drawTooth { to { stroke-dashoffset: 0; fill: var(--mint-2); } }
@keyframes toothBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } 45% { transform: scale(1.05); } }
.loader__ekg { width: 220px; height: 44px; }
.loader__ekg path {
  fill: none; stroke: var(--rose); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: ekgDraw 1.3s linear infinite;
}
@keyframes ekgDraw { to { stroke-dashoffset: -340; } }
.loader__text { margin: 0; font-family: var(--f-head); font-style: italic; color: var(--ink-soft); }

/* ==========================================================
   Scroll-Fortschritt (Zahnseide mit Zahn)
   ========================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--teal-l), var(--teal), var(--rose));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.progress__tooth {
  position: absolute; top: -1px; left: 0;
  width: 13px; height: 14px; fill: var(--teal);
  transform: translateX(calc(var(--p, 0) * (100vw - 14px)));
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

/* ==========================================================
   Navigation
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(251, 253, 252, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(13,36,54,.3);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  box-shadow: 0 8px 18px -8px rgba(19,168,158,.9);
}
.brand__logo svg { width: 24px; height: 26px; fill: #fff; }
.brand__spark {
  position: absolute; top: -5px; right: -5px;
  width: 15px !important; height: 15px !important;
  fill: var(--gold) !important;
  animation: twinkle 2.4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(0) rotate(0); opacity: 0; }
  40%, 60% { transform: scale(1) rotate(90deg); opacity: 1; }
}
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; }
.brand__text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  position: relative;
  text-decoration: none; font-weight: 600; font-size: .93rem;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .75em 1.3em; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: var(--mint);
  cursor: pointer; padding: 12px 11px;
  flex-direction: column; justify-content: space-between;
}
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, var(--mint) 0%, transparent 60%),
    radial-gradient(600px 400px at 0% 100%, var(--blush) 0%, transparent 60%),
    var(--bg);
}
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(127,216,207,.25) 60%, rgba(19,168,158,.15));
  border: 1px solid rgba(19,168,158,.18);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(var(--dx, 20px), -50vh) scale(1); }
  100% { transform: translate(calc(var(--dx, 20px) * -1), -105vh) scale(1.1); opacity: 0; }
}

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: 60px;
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: .45em; }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: 2px; }

.hero__visual { position: relative; justify-self: center; width: min(440px, 100%); }
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  animation: floatY 7s ease-in-out infinite;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero__ring {
  position: absolute; inset: -26px;
  border-radius: 230px 230px 40px 40px;
  border: 2px dashed var(--teal-l);
  animation: spinDash 30s linear infinite;
  opacity: .8;
}
@keyframes spinDash { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(219,232,230,.9);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  font-size: .8rem;
}
.float-card small { display: block; color: var(--ink-soft); font-size: .72rem; }
.float-card strong { font-size: .92rem; }

.float-card--badge {
  top: 18px; left: -46px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  animation: floatY 6s -2s ease-in-out infinite;
}
.float-card--badge svg { width: 34px; height: 36px; fill: var(--teal); padding: 6px; background: var(--mint); border-radius: 10px; flex: none; }

.float-card--monitor {
  right: -54px; bottom: 90px;
  width: 230px; padding: 12px 14px;
  background: rgba(13,36,54,.94);
  color: #e6fbf8; border-color: rgba(127,216,207,.2);
  animation: floatY 8s -4s ease-in-out infinite;
}
.monitor__head { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-l); }
.monitor__live { display: inline-flex; align-items: center; gap: 6px; color: #ffb3ba; font-weight: 700; }
.monitor__live .pulse-dot { width: 7px; height: 7px; }
.monitor__vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.monitor__vals small { color: #8fb3bf; font-size: .62rem; }
.monitor__vals strong { font-size: .85rem; color: #fff; }
.monitor__vals .ok { color: var(--teal-l); }

.float-card--slot {
  left: -30px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  animation: floatY 7s -1s ease-in-out infinite;
}

.hero__spark { position: absolute; fill: var(--gold); animation: twinkle 3s ease-in-out infinite; }
.hero__spark--1 { width: 26px; top: 10%; right: 4%; }
.hero__spark--2 { width: 18px; top: 45%; left: -12%; animation-delay: 1s; fill: var(--teal-l); }
.hero__spark--3 { width: 22px; bottom: -4%; right: 20%; animation-delay: 2s; }

/* ---------- EKG ---------- */
.ekg path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ekg__base { stroke: rgba(127,216,207,.18); stroke-width: 2; }
.ekg__pulse {
  stroke: var(--teal-l); stroke-width: 2.4;
  stroke-dasharray: 70 400;
  animation: ekgRun 2.2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(127,216,207,.9));
}
.ekg--mini { display: block; width: 100%; height: 46px; margin: 4px 0 6px; }
@keyframes ekgRun { from { stroke-dashoffset: 470; } to { stroke-dashoffset: 0; } }

.ekg-divider { padding: 0; height: 80px; }
.ekg-divider svg { width: 100%; height: 100%; display: block; }
.ekg-divider path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ekg-divider .ekg__base { stroke: var(--line); stroke-width: 2; }
.ekg-divider .ekg__pulse {
  stroke: var(--teal); stroke-width: 3;
  stroke-dasharray: 260 1700;
  animation: ekgRunWide 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(19,168,158,.6));
}
@keyframes ekgRunWide { from { stroke-dashoffset: 1960; } to { stroke-dashoffset: 0; } }

/* ==========================================================
   Laufband
   ========================================================== */
.marquee {
  overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 18px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 10px 0 30px;
}
.marquee__track {
  display: flex; gap: 28px; width: max-content;
  font-family: var(--f-head); font-size: 1.35rem; font-style: italic;
  animation: marquee 38s linear infinite;
}
.marquee__track i { color: var(--teal-l); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   Sektionen
   ========================================================== */
.section { padding: 110px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--mint) 0%, #f3fbf9 100%); }
.section h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head p:last-child { color: var(--ink-soft); }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.about__copy > p { color: var(--ink-soft); }
.about__copy strong { color: var(--ink); }

.timeline { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 26px; color: var(--ink-soft); }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
}
.timeline span { display: block; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease);
}
.stat:nth-child(even) { transform: translateY(28px); }
.stat strong { display: block; font-family: var(--f-head); font-size: 2.8rem; line-height: 1; color: var(--teal-d); margin-bottom: 8px; }
.stat span { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-s);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(127,216,207,.22), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.service:hover { border-color: var(--teal-l); box-shadow: var(--shadow); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--mint); color: var(--teal-d);
  margin-bottom: 22px;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon { background: var(--teal); color: #fff; transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: 1.35rem; }
.service p { color: var(--ink-soft); margin: 0 0 18px; font-size: .97rem; }
.service__tag {
  display: inline-block; font-size: .74rem; font-weight: 700;
  padding: .35em .9em; border-radius: 999px;
  background: var(--blush); color: #b4434f;
}

/* ==========================================================
   Mitmach-Ecke
   ========================================================== */
.play { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.play__card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
}
.play__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.play__top h3 { margin: 0; font-size: 1.4rem; }
.play__hint { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 16px; }
.chip {
  font-size: .78rem; font-weight: 800;
  padding: .45em .9em; border-radius: 999px;
  background: var(--mint); color: var(--teal-d);
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.chip.is-hot { background: var(--teal); color: #fff; }

/* Plaque-Spiel */
.game {
  position: relative; flex: 1;
  min-height: 340px;
  border-radius: var(--radius-s);
  background: radial-gradient(circle at 50% 40%, #f2fbf9, #e1f3ef);
  overflow: hidden;
  cursor: none;
  touch-action: none;
}
.game__svg { width: 100%; height: 100%; display: block; max-height: 380px; margin: 0 auto; }
.game__shadow { fill: rgba(13,36,54,.1); }
.game__tooth { fill: url(#toothGrad); stroke: #cfe2e2; stroke-width: 1.2; transition: filter .6s; }
.game.is-clean .game__tooth { filter: drop-shadow(0 0 18px rgba(127,216,207,.9)); }
.game__face circle { fill: var(--ink); }
.game__face path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; transition: d .4s; }
.plaque-blob { fill: #c9bf5a; transition: opacity .2s; }
.plaque-blob.pop { animation: pop .35s var(--ease) forwards; }
@keyframes pop { to { transform: scale(1.6); opacity: 0; } }
.fx-bubble { fill: #fff; stroke: var(--teal-l); stroke-width: 1; animation: fxBubble .9s ease-out forwards; }
@keyframes fxBubble { to { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }
.fx-spark { fill: var(--gold); animation: fxSpark 1.2s var(--ease) forwards; transform-box: fill-box; transform-origin: center; }
@keyframes fxSpark { 0% { transform: scale(0) rotate(0); opacity: 1; } 60% { transform: scale(1.2) rotate(120deg); opacity: 1; } 100% { transform: scale(0) rotate(180deg); opacity: 0; } }

.game__brush {
  position: absolute; left: 0; top: 0;
  width: 110px; pointer-events: none;
  opacity: 0;
  transform: translate(-10px, -20px);
  transition: opacity .2s;
  filter: drop-shadow(0 6px 8px rgba(13,36,54,.25));
}
.game:hover .game__brush, .game.is-touching .game__brush { opacity: 1; }
.b-handle { fill: var(--teal); }
.b-head { fill: var(--teal-d); }
.b-bristles rect { fill: #fff; stroke: #cfe2e2; stroke-width: .6; }
.b-bristles rect:nth-child(odd) { fill: #bfeee8; }

.game__done {
  position: absolute; inset: auto 16px 16px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.95); border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  transform: translateY(140%); transition: transform .6s var(--ease);
  cursor: auto;
}
.game__done strong { font-family: var(--f-head); font-size: 1.15rem; }
.game__done span { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.game.is-clean .game__done { transform: none; }

/* Putz-Timer */
.timer { display: grid; justify-items: center; gap: 20px; flex: 1; align-content: center; }
.timer__ring { position: relative; width: 240px; height: 240px; }
.timer__ring > svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer__track { fill: none; stroke: var(--mint); stroke-width: 12; }
.timer__fill {
  fill: none; stroke: var(--teal); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 603.2; stroke-dashoffset: 603.2;
  transition: stroke-dashoffset 1s linear;
}
.timer__time {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; line-height: 1;
  background: #fff; padding: 8px 18px; border-radius: 999px;
  box-shadow: var(--shadow-s); border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.timer .timer__ring { margin-bottom: 14px; }
.brushing { position: absolute; inset: 22px; display: grid; place-items: center; }
.brushing__svg { width: 100%; height: 100%; overflow: visible; }
.brushing__tooth use { fill: #fff; stroke: #cfe2e2; stroke-width: 1.5; }
.brushing__tooth { transform-origin: 100px 100px; animation: wobble 2.4s ease-in-out infinite; }
.brushing .eye { fill: var(--ink); }
.brushing .smile, .fairy .smile { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.brushing .blush { fill: var(--rose); opacity: .35; }
.brushing__brush { animation: brushIdle 2.4s ease-in-out infinite; }
.foam circle { fill: #fff; stroke: var(--teal-l); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes brushIdle { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }

.timer.is-running .brushing__brush { animation: brushFast .28s ease-in-out infinite; }
.timer.is-running .brushing__tooth { animation: wobble .56s ease-in-out infinite; }
.timer.is-running .foam circle { animation: foam 1.1s ease-out infinite; }
.timer.is-running .foam circle:nth-child(2) { animation-delay: .2s; }
.timer.is-running .foam circle:nth-child(3) { animation-delay: .45s; }
.timer.is-running .foam circle:nth-child(4) { animation-delay: .65s; }
.timer.is-running .foam circle:nth-child(5) { animation-delay: .85s; }
.timer.is-running .foam circle:nth-child(6) { animation-delay: .3s; }
@keyframes brushFast { 0%, 100% { transform: translate(-14px, 0) rotate(-2deg); } 50% { transform: translate(14px, -2px) rotate(2deg); } }
@keyframes foam { 0% { opacity: 0; transform: translate(0,0) scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(0, -46px) scale(1.3); } }

.timer__quads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 320px; }
.timer__quads span {
  text-align: center; font-size: .8rem; font-weight: 700;
  padding: .55em; border-radius: 10px;
  background: var(--mint); color: var(--ink-soft);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.timer__quads span.is-active { background: var(--teal); color: #fff; transform: scale(1.05); }
.timer__quads span.is-done { background: var(--mint-2); color: var(--teal-d); }
.timer__quads span.is-done::before { content: "✓ "; }

/* Angst-o-Meter */
.fear {
  margin-top: 26px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--ink) 0%, #143a54 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.fear h3 { font-size: 1.6rem; }
.fear__copy p { color: #b9cfd8; margin: 0; }
.fear__ctrl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-items: center; }
.fear__face { font-size: 3rem; grid-row: span 2; transition: transform .3s var(--ease); }
.fear__face.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3) rotate(-8deg); } }
.fear__answer { margin: 0; color: #d9ecf0; font-size: .95rem; min-height: 3.2em; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--teal-l) 0%, var(--gold) 55%, var(--rose) 100%);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--teal);
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--teal);
  cursor: grab;
}

/* ==========================================================
   Team
   ========================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member {
  background: #fff; border-radius: var(--radius);
  padding: 18px 18px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.member__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px; overflow: hidden;
  margin-bottom: 22px;
  background: var(--mint);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.06); }
.member__heart {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 1.6rem; color: var(--rose);
  animation: heartbeat 1.3s ease-in-out infinite;
  text-shadow: 0 4px 10px rgba(228,111,122,.5);
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.member h3, .member p { padding: 0 8px; }
.member h3 { font-size: 1.4rem; margin-bottom: .2em; }
.member__role { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 12px; }
.member p:last-child { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.member__photo--illu { display: grid; place-items: center; background: linear-gradient(160deg, #1a3c55, var(--ink)); }
.fairy { width: 80%; height: 80%; overflow: visible; animation: floatY 4s ease-in-out infinite; }
.fairy__wings ellipse { fill: rgba(127,216,207,.35); stroke: var(--teal-l); stroke-width: 1.5; transform-box: fill-box; }
.fairy__wings ellipse:first-child { transform-origin: right center; animation: flapL .35s ease-in-out infinite alternate; }
.fairy__wings ellipse:last-child { transform-origin: left center; animation: flapR .35s ease-in-out infinite alternate; }
@keyframes flapL { to { transform: rotate(18deg) scaleX(.8); } }
@keyframes flapR { to { transform: rotate(-18deg) scaleX(.8); } }
.fairy__body { fill: #fff; }
.fairy .eye { fill: var(--ink); }
.fairy__wand path { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.fairy__wand use { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }

/* ==========================================================
   Stimmen
   ========================================================== */
.section--quotes { padding-bottom: 120px; overflow: hidden; }
.quotes { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quotes__track { display: flex; gap: 24px; width: max-content; padding: 10px 0 20px; animation: marquee 60s linear infinite; }
.quotes:hover .quotes__track { animation-play-state: paused; }
.quote {
  margin: 0; width: 360px; flex: none;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; gap: 12px;
}
.quote blockquote { margin: 0; font-family: var(--f-head); font-size: 1.12rem; line-height: 1.45; flex: 1; }
.quote figcaption { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }

/* ==========================================================
   Termin
   ========================================================== */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.booking__info > p { color: var(--ink-soft); }
.hours {
  margin-top: 28px; padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--mint);
}
.hours__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hours h3 { margin: 0; font-size: 1.25rem; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; padding: .4em .9em; border-radius: 999px; background: #fff; }
.status.is-closed .pulse-dot { background: var(--rose); }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 8px 10px; border-bottom: 1px dashed rgba(13,36,54,.12); font-size: .95rem; border-radius: 8px; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { color: var(--ink-soft); }
.hours li.is-today { background: #fff; font-weight: 700; }
.hours li.is-today span:last-child { color: var(--teal-d); }
.hours__note { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; font-style: italic; }

.form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 700; }
.form input:not([type="checkbox"]),
.form select,
.form textarea {
  font: 500 .97rem var(--f-body); color: var(--ink);
  padding: .85em 1em;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fbfdfd;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,168,158,.15); }
.form .is-invalid { border-color: var(--rose) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; accent-color: var(--teal); }
.form__note { margin: -4px 0 0; font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0 24px;
  box-shadow: 0 4px 14px -10px rgba(13,36,54,.2);
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 36px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--mint); color: var(--teal-d);
  font-size: 1.2rem; transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--ink); color: #c5d6dd; padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #8fb3bf; }
.footer__claim { font-family: var(--f-head); font-style: italic; margin-top: 16px; }
.footer h4 { color: #fff; font-size: 1.05rem; }
.footer a { color: #c5d6dd; text-decoration: none; }
.footer a:hover { color: var(--teal-l); }
.footer__legal { padding-top: 26px; font-size: .82rem; color: #8fa6b0; display: grid; gap: 8px; }
.footer__legal p { margin: 0; }

/* ==========================================================
   Modal + Konfetti
   ========================================================== */
.modal {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; padding: 20px;
  background: rgba(13,36,54,.55); backdrop-filter: blur(6px);
  animation: fadeIn .3s ease;
}
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal__box {
  width: min(420px, 100%);
  background: #fff; border-radius: var(--radius);
  padding: 36px 32px 30px; text-align: center;
  box-shadow: var(--shadow);
  animation: popIn .6s var(--ease);
}
@keyframes popIn { from { transform: scale(.7) translateY(30px); opacity: 0; } }
.modal__box h3 { font-size: 1.7rem; }
.modal__box p { color: var(--ink-soft); margin: 0 0 22px; }
.modal__check { width: 90px; height: 98px; margin: 0 auto 14px; display: block; }
.modal__tooth {
  fill: var(--mint); stroke: var(--teal); stroke-width: 3;
  stroke-dasharray: 360; stroke-dashoffset: 360;
  animation: drawTooth2 .9s var(--ease) forwards;
}
@keyframes drawTooth2 { to { stroke-dashoffset: 0; } }
.modal__tick {
  fill: none; stroke: var(--teal-d); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: drawTooth2 .5s .7s var(--ease) forwards;
}

.confetti { position: fixed; top: -40px; z-index: 160; pointer-events: none; animation: fall linear forwards; }
.confetti svg { width: 100%; height: 100%; display: block; }
@keyframes fall {
  to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); }
}

/* ==========================================================
   Scroll-Reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.stat.reveal.is-visible:nth-child(even) { transform: translateY(28px); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 80px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .eyebrow { justify-content: center; }
  .hero .eyebrow { display: flex; }
  .about, .booking { grid-template-columns: 1fr; gap: 50px; }
  .services, .team { grid-template-columns: 1fr 1fr; }
  .play { grid-template-columns: 1fr; }
  .fear { grid-template-columns: 1fr; gap: 20px; }
  .section__head .eyebrow { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 40px;
    background: #fff; box-shadow: -20px 0 60px -20px rgba(13,36,54,.35);
    transform: translateX(105%);
    transition: transform .5s var(--ease);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { font-size: 1.15rem; }
  .nav__burger { position: relative; z-index: 2; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero { padding: 120px 0 70px; }
  .section { padding: 80px 0; }
  .services, .team, .form__row { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 22px 16px; }
  .stat strong { font-size: 2.2rem; }
  .hero { padding-bottom: 100px; }
  .hero__visual { width: min(320px, 82%); }
  .float-card--badge { left: -18px; top: 6px; }
  .float-card--monitor { right: -18px; bottom: -44px; width: 190px; }
  .float-card--slot { display: none; }
  .form { padding: 24px; }
  .fear { padding: 26px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .quote { width: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Easter Egg: Zahnseide ---------- */
.modal__img {
  width: 100%; max-height: 52vh;
  object-fit: cover; object-position: 50% 15%;
  border-radius: var(--radius-s);
  margin-bottom: 18px;
  animation: popIn .6s var(--ease);
}
.modal.is-egg .modal__check { display: none; }
.link-btn {
  display: inline; padding: 0; border: 0; background: none;
  font: inherit; font-weight: 700; color: var(--teal-d);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--rose); }
