/* =====================================================
   Demo-Zahnarztpraxis – style.css
   Alle Farben über CSS-Variablen; keine externen Fonts
   ===================================================== */

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens / Design-System ── */
:root {
  --primary:    #1a5fa8;
  --primary-dk: #154d8a;
  --primary-lt: #dbeafe;
  --accent:     #0d9488;
  --accent-dk:  #0b7a70;
  --accent-lt:  #ccfbf1;
  --bg:         #ffffff;
  --bg-blue:    #eff6ff;
  --bg-teal:    #f0fdfa;
  --ink:        #0f172a;
  --ink-mid:    #334155;
  --ink-muted:  #64748b;
  --line:       #e2e8f0;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1100px;
  --sh-sm: 0 1px 3px rgba(15,23,42,.06);
  --sh-md: 0 4px 16px rgba(15,23,42,.08);
  --sh-lg: 0 8px 32px rgba(15,23,42,.12);
}

/* ── Base Typography ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* ── Fokus-Ring ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Container ── */
.container {
  max-width: var(--maxw);
  padding: 0 1.25rem;
  margin-inline: auto;
}

/* ── Demo-Bar ── */
.demo-bar {
  background: #0f172a;
  color: #ffffff;
  font-size: .8125rem;
  padding: .5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.demo-bar a {
  color: var(--accent-lt);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-bar a:hover {
  color: #ffffff;
}

/* ── Site Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .875rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  flex-shrink: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.site-logo__sub {
  font-size: .75rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-menu a {
  color: var(--ink-mid);
  font-size: .9375rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--bg-blue);
  text-decoration: none;
}

.nav-menu a.btn {
  color: #fff;
}

.nav-menu a.btn:hover {
  color: #fff;
  background: var(--primary-dk);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-toggle svg {
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--sans);
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  text-decoration: none;
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.7);
}

.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #ffffff;
  text-decoration: none;
  color: #ffffff;
}

.btn--accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  text-decoration: none;
  color: #ffffff;
}

.btn--lg {
  padding: .9375rem 2rem;
  font-size: 1.0625rem;
}

/* ── Section Helpers ── */
.section {
  padding: 4.5rem 0;
  scroll-margin-top: 72px;
  background: var(--bg);
}

.section--blue {
  background: var(--bg-blue);
}

.section--teal {
  background: var(--bg-teal);
}

.section--dark {
  background: var(--primary);
  color: #ffffff;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  background: var(--accent-lt);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section--dark .section-label {
  color: var(--accent-lt);
  background: rgba(13,148,136,.25);
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--ink);
  margin-bottom: .75rem;
}

.section--dark .section-heading {
  color: #ffffff;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--ink-mid);
  max-width: 600px;
  line-height: 1.7;
}

.section--dark .section-intro {
  color: rgba(255,255,255,.82);
}

.section__header {
  margin-bottom: 3rem;
  text-align: center;
}

.section__header .section-intro {
  margin-inline: auto;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: #ffffff;
  min-height: calc(100vh - 108px);
  min-height: calc(100dvh - 108px);
  display: flex;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-lt);
  background: rgba(13,148,136,.25);
  padding: .3rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.25rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__svg-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-tooth-img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}

.hero-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(13,148,136,.22) 0%,
    rgba(13,148,136,.08) 48%,
    transparent 70%);
  animation: glow-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: .55; transform: scale(.96); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.spk {
  transform-box: fill-box;
  transform-origin: center;
  animation: spk-pop 3s ease-in-out infinite;
}
.spk--2 { animation-delay: 0.9s; }
.spk--3 { animation-delay: 1.7s; }
.spk--4 { animation-delay: 2.5s; }

@keyframes spk-pop {
  0%, 12%, 88%, 100% { opacity: 0; transform: scale(.1) rotate(0deg); }
  48%               { opacity: 1; transform: scale(1)  rotate(18deg); }
}

.bbl {
  animation: bbl-rise 4s ease-in infinite;
}
.bbl--2 { animation-delay: 1.1s; animation-duration: 3.6s; }
.bbl--3 { animation-delay: 2.3s; animation-duration: 4.8s; }
.bbl--4 { animation-delay: 0.6s; animation-duration: 3.2s; }

@keyframes bbl-rise {
  0%   { transform: translateY(0);     opacity: 0;   }
  8%   { opacity: .85; }
  80%  { opacity: .3;  }
  100% { transform: translateY(-88px); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow          { animation: none; opacity: .7; }
  .spk                { animation: none; opacity: .7; }
  .bbl                { animation: none; opacity: 0;  }
}

/* Trust Bar */
.trust-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.9);
}

.trust-bar__icon {
  width: 20px;
  height: 20px;
  color: var(--accent-lt);
  flex-shrink: 0;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.0625rem;
  color: var(--ink);
}

.service-card p {
  font-size: .9375rem;
  color: var(--ink-mid);
  line-height: 1.6;
  flex: 1;
}

.service-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent-dk);
  margin-top: auto;
}

.service-card__link:hover {
  color: var(--primary);
}

/* ── Practice Section ── */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.practice-visual {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.practice-visual svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.practice-content .section-heading {
  text-align: left;
}

.practice-content .section-intro {
  margin-inline: 0;
}

.practice-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.practice-list__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--ink-mid);
  line-height: 1.5;
}

.practice-cta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.practice-list__icon {
  width: 22px;
  height: 22px;
  color: var(--accent-dk);
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ── Advantages Grid ── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.advantage-card {
  background: #ffffff;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
}

.advantage-card__icon {
  font-size: 2rem;
  margin-bottom: .875rem;
  line-height: 1;
}

.advantage-card h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .5rem;
}

.advantage-card p {
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── Reviews Grid ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.review-card__stars {
  color: #f59e0b;
  font-size: 1.125rem;
  letter-spacing: .05em;
}

.review-card__text {
  font-size: .9375rem;
  color: var(--ink-mid);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.review-card__author {
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink);
}

.review-card__since {
  font-size: .8125rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* ── FAQ ── */
.faq {
  max-width: 700px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  line-height: 1.4;
}

.faq-btn:hover {
  color: var(--primary);
}

.faq-btn__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-style: normal;
  color: var(--primary);
  transition: transform .25s, background .15s;
  font-weight: 700;
  line-height: 1;
}

.faq-btn[aria-expanded="true"] .faq-btn__icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer__inner {
  padding-bottom: 1.25rem;
  font-size: .9375rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 4.5rem 0;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
  margin-bottom: .875rem;
}

.cta-section p {
  color: rgba(255,255,255,.82);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── Öffnungszeiten ── */
.oeffz-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .5rem 1rem;
  list-style: none;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.oeffz-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .875rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  gap: 1rem;
  box-shadow: var(--sh-sm);
}

.oeffz-item--today {
  border-color: var(--primary);
  background: var(--primary-lt);
  font-weight: 700;
}

.oeffz-item dt {
  color: var(--ink-muted);
  font-size: .875rem;
  font-weight: 500;
}

.oeffz-item dd {
  text-align: right;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.oeffz-item--today dt { color: var(--primary-dk); }
.oeffz-item--today dd { color: var(--primary); }

.oeffz-phone {
  text-align: center;
  color: var(--ink-muted);
  font-size: .9rem;
}
.oeffz-phone__link {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  margin-top: .35rem;
}
.oeffz-phone__link:hover { text-decoration: underline; }

/* ── Admin-Demo-Teaser ── */
.admin-demo-teaser {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.admin-demo-teaser__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: .2rem;
}

.admin-demo-teaser__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.admin-demo-teaser__text {
  color: var(--ink-mid);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.admin-demo-teaser__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .625rem 1.375rem;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  margin-right: 1rem;
  transition: background .15s, box-shadow .15s;
}
.admin-demo-teaser__btn:hover,
.admin-demo-teaser__btn:focus-visible {
  background: #154d8a;
  box-shadow: 0 2px 8px rgba(26,95,168,.35);
}
.admin-demo-teaser__btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.admin-demo-teaser__hint {
  font-size: .8rem;
  color: var(--ink-muted);
  font-family: monospace;
  background: rgba(0,0,0,.05);
  padding: .2rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .admin-demo-teaser { flex-direction: column; gap: 1rem; }
  .admin-demo-teaser__icon { display: none; }
}

/* ── Dynamischer Hinweis (Banner / Infobox / Popup) ── */
.dz-notice {
  padding: .875rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.5;
}

.dz-notice--banner {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #78350f;
  margin: 0;
  border-radius: 0;
  padding: .75rem 1.5rem;
  text-align: center;
}

.dz-notice--infobox {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a5f;
  margin-bottom: 1.5rem;
}

.dz-notice__title {
  display: block;
  font-weight: 700;
  margin-bottom: .3rem;
}

.dz-notice__extra {
  margin-top: .5rem;
  font-style: italic;
  font-size: .85rem;
  opacity: .85;
}

/* Popup */
.dz-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.dz-notice-overlay .dz-notice--popup {
  background: #fff;
  color: #1e293b;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.dz-notice-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  padding: .25rem .5rem;
}
.dz-notice-close:hover { color: #1e293b; }

/* Hinweis Online-Rezeption */
.dz-reception-notice {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: .875rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: #1e3a5f;
}

/* ── Footer ── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-top: .75rem;
}

.footer__contact-item {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
  font-style: normal;
}

.footer__contact-item a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.footer__contact-item a:hover { color: #ffffff; }

.footer__heading {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-lt);
}

.footer__logo-name {
  font-size: .9375rem;
  font-weight: 700;
  color: #ffffff;
}

.footer p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: .375rem;
}

.footer a {
  color: var(--accent-lt);
}

.footer a:hover {
  color: #ffffff;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__nav a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.footer__nav a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

.footer__demo-note {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .25rem .875rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal a {
  color: rgba(255,255,255,.4);
  font-size: .8125rem;
  text-decoration: none;
}

.footer__legal a:hover { color: #fff; }

/* ── Demo-Modal ── */
.mp360-modal-overlay { position: fixed; inset: 0; background: rgba(20,24,30,.58); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100000; }
.mp360-modal-overlay.is-open { display: flex; }
.mp360-modal { width: min(430px,100%); background: #f6f5f2; border: 1px solid #dddbd5; border-radius: 14px; padding: 30px; box-shadow: 0 24px 80px rgba(20,24,30,.28); position: relative; }
.mp360-modal h3 { margin: 0 0 10px; font-size: 1.2rem; color: #1b2333; }
.mp360-modal p { margin: 0 0 22px; font-size: .94rem; color: #64748b; line-height: 1.6; }
.mp360-modal-actions .mp360-btn { display: inline-block; background: #2e7d5e; color: #fff; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.mp360-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.55rem; cursor: pointer; color: #64748b; line-height: 1; }

/* ── Demo Popup ── */
.demo-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,23,42,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  backdrop-filter: blur(2px);
}

.demo-popup[hidden] {
  display: none;
}

.demo-popup__modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--sh-lg);
  position: relative;
}

.demo-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: .375rem;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-popup__close:hover {
  color: var(--ink);
  background: var(--line);
}

.demo-popup__badge {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  background: var(--accent-lt);
  padding: .25rem .75rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1rem;
}

.demo-popup__modal h2 {
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: .75rem;
}

.demo-popup__modal p {
  font-size: .9375rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.demo-popup__actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
}

.demo-popup__dismiss {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: .875rem;
  cursor: pointer;
  padding: .5rem 0;
  font-family: var(--sans);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-popup__dismiss:hover {
  color: var(--ink);
}

/* ── Online-Rezeption Hero ── */
.or-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 60%, #e0f2fe 100%);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.or-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}

.or-hero__content {
  max-width: 480px;
}

.or-hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,95,168,.1);
  border-radius: 20px;
  padding: .3rem .85rem;
  margin-bottom: .875rem;
}

.or-hero__title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.or-hero__sub {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 1.5rem;
}

.or-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.or-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(26,95,168,.2);
  border-radius: 20px;
  padding: .3rem .75rem;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 500;
}

.or-badge svg { flex-shrink: 0; color: #16a34a; }

.or-hero__visual {
  max-width: 420px;
  width: 100%;
}

.or-hero__visual svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(26,95,168,.12));
}

/* ── Online-Rezeption Formular-Bereich ── */
.or-page {
  padding: 3.5rem 0 6rem;
  background: var(--bg);
}

.or-intro {
  font-size: 1.0625rem;
  color: var(--ink-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-top: .625rem;
  margin-bottom: 3rem;
}

.or-page h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  color: var(--ink);
}

@media (max-width: 900px) {
  .or-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .or-hero__visual {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .or-hero { padding: 2rem 0 2rem; }
  .or-hero__title { font-size: 1.65rem; }
  .or-hero__visual { max-width: 260px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__svg-wrap {
    max-width: 260px;
    margin-inline: auto;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.25rem 1.25rem;
    gap: .125rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: .625rem .875rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .site-header.is-scrolled {
    position: sticky;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__grid > :first-child,
  .footer__grid > address {
    grid-column: 1 / -1;
  }

  .hero {
    padding: 3.5rem 0 3rem;
    min-height: auto;
  }

  .trust-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
