:root {
  --bordeaux: #7a2540;
  --bordeaux-dark: #5c1c30;
  --grey-nav: #cabfc0;
  --grey-light: #f4f2f2;
  --grey-mid: #efe9e9;
  --text-dark: #3a3536;
  --text-muted: #6b6465;
  --white: #ffffff;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--bordeaux) var(--grey-light);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--grey-light); }
::-webkit-scrollbar-thumb {
  background-color: var(--bordeaux);
  border-radius: 7px;
  border: 3px solid var(--grey-light);
}
::-webkit-scrollbar-thumb:hover { background-color: var(--bordeaux-dark); }

body {
  margin: 0;
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

::selection { background: var(--bordeaux); color: var(--white); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3, h4, h5 {
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 18px;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; color: var(--bordeaux); }
h3 { font-size: 1.5rem; color: var(--bordeaux); }
h4 { font-size: 1.15rem; letter-spacing: .02em; }
h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }

.accent-word { color: var(--bordeaux); font-weight: 600; }

p { margin: 0 0 16px; color: var(--text-muted); }

ul.check-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 20px 20px 8px;
  background: var(--grey-light);
  border-radius: 8px;
}
ul.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bordeaux);
  font-weight: 700;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--bordeaux);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 3px;
  z-index: 200;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* Header */
header.site-header {
  background: var(--grey-nav);
  position: sticky;
  top: 0;
  z-index: 100;
}
.countdown-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  width: 100%;
  background: var(--bordeaux-dark);
  color: var(--white);
  padding: 9px 16px;
  font-size: .85rem;
  text-align: center;
  line-height: 1.4;
}
.countdown-bar strong { font-weight: 600; }
.countdown-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.countdown-bar[hidden] { display: none; }
@media (max-width: 640px) {
  .countdown-bar { font-size: .78rem; padding: 8px 12px; }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 14px;
}
.logo img { height: 70px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--bordeaux);
  border-bottom-color: var(--bordeaux);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero slider */
.hero {
  position: relative;
  height: 60vh;
  min-height: 340px;
  overflow: hidden;
  background: #000;
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out;
}
@media (max-width: 760px) {
  .hero { height: 45vh; min-height: 260px; }
  .hero .slide { background-position: center 12%; }
}
.hero .slide.active {
  opacity: 1;
  animation: heroKenBurns 5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.25);
  padding: 0;
  cursor: pointer;
  transition: background-color .25s ease, transform .15s ease;
}
.hero-dot:hover { transform: scale(1.15); }
.hero-dot.active { background: var(--white); }
.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Trust bar */
.trust-bar {
  list-style: none;
  margin: 0;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 12px 32px;
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-mid);
}
@media (max-width: 900px) {
  .trust-bar { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 480px) {
  .trust-bar { grid-template-columns: 1fr; justify-items: start; padding-left: 24px; }
}
.trust-bar li {
  font-size: .9rem;
  color: var(--text-dark);
  position: relative;
  padding-left: 22px;
  white-space: nowrap;
}
.trust-bar li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bordeaux);
  font-weight: 700;
}
.js-ready .trust-bar li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .trust-bar li.is-visible { opacity: 1; transform: translateY(0); }
.trust-bar li:nth-child(1) { transition-delay: 0ms; }
.trust-bar li:nth-child(2) { transition-delay: 45ms; }
.trust-bar li:nth-child(3) { transition-delay: 90ms; }
.trust-bar li:nth-child(4) { transition-delay: 135ms; }

/* Sections */
section { padding: 72px 0; }
section[id] { scroll-margin-top: var(--header-h, 116px); }
section.alt-bg { background: var(--grey-light); }

.section-intro {
  max-width: 720px;
  margin: 0 0 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Konsistenter Bildausschnitt für alle Treatment-/Teaser-Bilder, damit
   unterschiedliche Quellformate (Hoch-/Querformat) nicht mehr zu wild
   unterschiedlich hohen Spalten neben dem Text führen. */
.two-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(58, 53, 54, .1);
}
/* Ausnahme: Infografiken/Poster, bei denen jeder Beschnitt Inhalt kosten würde. */
.two-col img.media-full {
  aspect-ratio: auto;
  object-fit: contain;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  box-shadow: 0 16px 32px rgba(58, 53, 54, .12);
  transform: translateY(-2px);
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { font-size: .92rem; margin-bottom: 14px; }
.card-body .btn { margin-top: auto; padding: 10px 20px; font-size: .92rem; }
.js-ready .cards .card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .cards .card.is-visible { opacity: 1; transform: translateY(0); }
.cards .card:nth-child(1) { transition-delay: 0ms; }
.cards .card:nth-child(2) { transition-delay: 45ms; }
.cards .card:nth-child(3) { transition-delay: 90ms; }
.cards .card:nth-child(4) { transition-delay: 135ms; }

/* Generisches, gedecktes Eintritts-Fading für Überschriften/Content-Blöcke,
   damit die Seite beim Scrollen lebendig statt starr wirkt. Eine einzige,
   konsistente Bewegungssprache statt Effekt-Sammelsurium pro Section. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.photo-grid.photo-grid--pair { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr; }
}
.photo-grid img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zoombare Bilder: sichtbarer Hinweis, dass ein Klick eine Großansicht öffnet */
img.zoomable {
  cursor: zoom-in;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
}
img.zoomable:hover,
img.zoomable:focus-visible {
  transform: scale(1.015);
  box-shadow: 0 16px 32px rgba(58, 53, 54, .18);
}

/* Wrapper + Lupen-Icon, damit der Zoom-Hinweis klar von normalem Karten-/Bild-Hover unterscheidbar ist */
.zoom-wrap { position: relative; display: block; }
.zoom-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 16, 17, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.zoom-wrap:hover .zoom-icon,
.zoom-wrap:focus-within .zoom-icon { opacity: 1; transform: scale(1); }
.zoom-icon svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 16, 17, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  animation: lightboxIn .2s ease forwards;
}
.lightbox[hidden] { display: none; }
@keyframes lightboxIn { to { opacity: 1; } }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transform: scale(.97);
  animation: lightboxZoom .25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes lightboxZoom { to { transform: scale(1); } }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .24); }

/* Scroll-to-top mit Fortschrittsring */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(58, 53, 54, .18);
  z-index: 150;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease,
              background-color .25s ease, border-color .25s ease;
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { box-shadow: 0 10px 26px rgba(58, 53, 54, .26); }
.scroll-top[hidden] { display: none; }

/* Ganz unten angekommen (Ring 100% voll): Button kippt auf Bordeaux-Hintergrund um */
.scroll-top.is-full {
  background: var(--bordeaux);
  border-color: var(--white);
}
.scroll-top.is-full .scroll-top-track { stroke: rgba(255, 255, 255, .35); }
.scroll-top.is-full .scroll-top-fill { stroke: var(--white); }
.scroll-top.is-full .scroll-top-arrow { color: var(--white); }
.scroll-top-track,
.scroll-top-fill { transition: stroke .2s ease; }
.scroll-top-arrow { transition: color .2s ease; }

.scroll-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.scroll-top-track {
  fill: none;
  stroke: var(--grey-mid);
  stroke-width: 3;
}
.scroll-top-fill {
  fill: none;
  stroke: var(--bordeaux);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  transition: stroke-dashoffset .1s linear;
}
.scroll-top-arrow {
  width: 18px;
  height: 18px;
  color: var(--bordeaux);
  position: relative;
}
@media (max-width: 760px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

.banner {
  background: var(--bordeaux);
  color: var(--white);
  text-align: center;
  padding: 22px 24px;
  border-radius: 4px;
  margin: 36px 0;
}
.banner h5 { color: var(--white); margin: 0; letter-spacing: .04em; }

.treatment-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.treatment-block:last-child { border-bottom: none; }

.step-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 32px 0;
}
@media (max-width: 760px) {
  .step-cols { grid-template-columns: 1fr; }
}
.step-cols figure { margin: 0; text-align: center; }
.step-cols img {
  width: 128px;
  height: 128px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 10px 22px rgba(58, 53, 54, .14);
}
.step-cols figcaption { color: var(--text-muted); font-size: .95rem; }

.group-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) {
  .group-cols { grid-template-columns: 1fr; }
}
.group-cols .check-list { margin-bottom: 0; }
.group-cols--effects h4 { margin-bottom: 12px; }
.h4-sub {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
}

/* Price cards */
.price-block {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--grey-mid);
}
.price-item {
  display: flex;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 12px;
  margin: 0 -12px;
  border-radius: 3px;
  border-bottom: 1px dashed var(--grey-mid);
  transition: background-color .15s ease;
}
.price-item > :first-child { flex: 1; min-width: 0; }
.price-item:hover { background-color: var(--grey-light); }
.price-item .desc { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }
.price-item .name { font-weight: 500; }
.price-item .price {
  white-space: nowrap;
  color: var(--bordeaux);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.contact-table td { padding: 8px 0; vertical-align: top; color: var(--text-muted); }
.contact-table td:first-child { width: 45%; color: var(--text-dark); font-weight: 500; }
.contact-table a { color: var(--bordeaux); text-decoration: none; }
.contact-table a:hover,
.contact-table a:focus-visible { text-decoration: underline; }

form.mock-form { display: flex; flex-direction: column; gap: 14px; }
form.mock-form .field { display: flex; flex-direction: column; gap: 6px; }
form.mock-form label { font-size: .9rem; color: var(--text-muted); }
form.mock-form input,
form.mock-form textarea,
form.mock-form select {
  padding: 10px 12px;
  border: 1px solid var(--grey-nav);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-dark);
  width: 100%;
}
form.mock-form input::placeholder,
form.mock-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
form.mock-form input:focus-visible,
form.mock-form textarea:focus-visible,
form.mock-form select:focus-visible {
  border-color: var(--bordeaux);
}
form.mock-form textarea { resize: vertical; min-height: 90px; }
form.mock-form select { cursor: pointer; }
form.mock-form .conditional-field input { width: 100%; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--text-muted); }
form.mock-form .checkbox-row input { margin-top: 4px; flex: 0 0 auto; width: 16px; height: 16px; }
.checkbox-row span { flex: 1; min-width: 0; }
.btn {
  display: inline-block;
  background: var(--bordeaux);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
  transition: background .2s, transform .15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .15s ease;
}
.btn[hidden] { display: none; }
.btn:hover {
  background: var(--bordeaux-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(122, 37, 64, .25);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-secondary {
  background: transparent;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
}
.btn-secondary:hover {
  background: var(--grey-light);
  color: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
}

/* Fragebogen: Fortschritt + Schritte */
.fb-progress { margin-bottom: 28px; }
.fb-progress-bar {
  height: 6px;
  background: var(--grey-mid);
  border-radius: 3px;
  overflow: hidden;
}
.fb-progress-fill {
  height: 100%;
  background: var(--bordeaux);
  border-radius: 3px;
  transition: width .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fb-progress-label {
  margin: 8px 0 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.fb-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.fb-nav #fbNext,
.fb-nav #fbSubmit { margin-left: auto; }
.fb-step-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #fdecea;
  color: #8a2c22;
  border: 1px solid #f2c4be;
  border-radius: 4px;
  font-size: .9rem;
}
form.mock-form input.field-invalid,
form.mock-form select.field-invalid,
form.mock-form textarea.field-invalid {
  border-color: #c0392b;
  background: #fdecea;
}
.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -4px;
}
.form-note--top {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--grey-mid);
  border-radius: 3px;
}
.form-note--top a { color: var(--bordeaux); font-weight: 500; }
.form-feedback {
  margin: 4px 0 0;
  padding: 14px 16px;
  background: var(--bordeaux);
  color: var(--white);
  border-radius: 4px;
  font-size: .95rem;
  opacity: 0;
  transform: translateY(6px);
}
.form-feedback.show {
  animation: feedbackIn .3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes feedbackIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer.site-footer {
  background: var(--bordeaux-dark);
  color: #e9dfe2;
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.social-icons { display: flex; gap: 16px; }
.social-icons a {
  color: #e9dfe2;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.footer-legal {
  text-align: center;
  font-size: .82rem;
  color: #cbb9bf;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
}
.footer-legal a { color: #e9dfe2; text-decoration: underline; margin: 0 6px; }
.legal-pending {
  color: #cbb9bf;
  border-bottom: 1px dotted #cbb9bf;
  cursor: help;
}

/* Modals (Fragebogen / Behandlungen / Pflegeprodukte) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(20, 16, 17, .62);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  opacity: 0;
  animation: modalIn .2s ease forwards;
}
.modal-backdrop[hidden] { display: none; }
@keyframes modalIn { to { opacity: 1; } }
.modal-panel {
  background: var(--white);
  border-radius: 10px;
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(14px);
  animation: modalPanelIn .3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
@keyframes modalPanelIn { to { transform: translateY(0); } }
.modal-scroll {
  overflow-y: auto;
  padding: 36px 36px 32px;
}
.modal-panel h2 { margin-top: 0; }
.modal-panel .modal-intro { margin-bottom: 24px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--grey-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark);
  transition: background .2s ease;
}
.modal-close:hover { background: var(--grey-mid); }

/* Behandlungen-Modal: Preisliste, gruppiert */
.treatment-group { margin-bottom: 28px; }
.treatment-group:last-child { margin-bottom: 0; }
.treatment-group h4 {
  color: var(--bordeaux);
  border-bottom: 1px solid var(--grey-mid);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

/* Pflege-Modal: Kategorienliste */
.care-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
@media (max-width: 500px) {
  .care-categories { grid-template-columns: 1fr; }
}
.care-categories li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--grey-light);
  border-radius: 8px;
  font-weight: 500;
}
.care-categories li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--bordeaux);
  font-weight: 700;
}

/* Fragebogen: Sektionen, Grids, Radio-/Checkbox-Gruppen */
.form-section { margin-bottom: 30px; }
.form-section:last-of-type { margin-bottom: 20px; }
.form-section > legend {
  font-size: 1.15rem;
  color: var(--bordeaux);
  padding: 0;
  margin-bottom: 16px;
  font-weight: 500;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}
.question-block { margin-bottom: 20px; }
.question-block:last-child { margin-bottom: 0; }
.question-block > .question-label {
  display: block;
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .92rem;
  color: var(--text-muted);
  font-weight: 400;
  cursor: pointer;
}
form.mock-form .radio-group input,
form.mock-form .checkbox-group input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.conditional-field {
  margin-top: 10px;
  transition: opacity .2s ease;
}
.conditional-field label {
  font-size: .85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    width: 100%;
    order: 3;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease;
  }
  nav.main-nav.open { max-height: 320px; opacity: 1; }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 48px 0; }
}

/* Reduced motion: keep meaningful feedback, drop spatial movement */
@media (prefers-reduced-motion: reduce) {
  .hero .slide.active { animation: none; transform: none; }
  .js-ready .cards .card,
  .js-ready .trust-bar li,
  .js-ready .reveal {
    transform: none;
    transition: opacity .2s ease;
  }
  .btn:hover, .btn:active { transform: none; }
  .card:hover { transform: none; }
  .form-feedback { transform: none; }
  .form-feedback.show { animation: none; opacity: 1; }
  .hero-dot:hover { transform: none; }
  img.zoomable:hover, img.zoomable:focus-visible { transform: none; }
  .zoom-wrap:hover .zoom-icon, .zoom-wrap:focus-within .zoom-icon { transform: none; }
  .scroll-top { transform: none; }
  .modal-backdrop { animation: none; opacity: 1; }
  .modal-panel { animation: none; transform: none; }
  .lightbox { animation: none; opacity: 1; }
  .lightbox img { animation: none; transform: none; }
}
