:root {
  --bg: #FBF7F2;
  --ink: #211F2E;
  --ink-soft: #5C5A6C;
  --coral: #FF8F63;
  --coral-deep: #DB6A3D;
  --peri: #8C93F5;
  --peri-deep: #6A6FDE;
  --tint-coral: #FFEDE2;
  --tint-peri: #ECEDFD;
  --tint-peri-2: #ECEDFDCC;
  --line: rgba(33, 31, 46, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Links im Fließtext immer schön mit Unterstrich anzeigen */
section p a {
  color: var(--coral);
  transition: color 0.2s;
}

section p a:hover {
  color: var(--coral-deep);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 104px 0;
}

@media(max-width:720px) {
  section {
    padding: 68px 0;
  }

  .wrap {
    padding: 0 22px;
  }
}

/* ---- NAV ---- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
}

.nav-links a:not(.nav-cta) {
  color: var(--ink-soft);
  transition: color .2s;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--coral-deep);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s, background .2s;
}

.nav-cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

@media(max-width:860px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-links.open {
    max-height: 360px;
  }

  .nav-links a {
    width: 100%;
    padding: 16px 32px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    border-radius: 0;
    text-align: center;
  }

  .burger {
    display: flex;
  }
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- HERO ---- */
.hero {
  padding-top: 148px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--tint-peri), var(--tint-coral));
}

.hero-media video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 130%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.hero-media .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 247, 242, 0.75) 0%, rgba(251, 247, 242, 0.90) 60%, var(--bg) 100%);
}

@media(prefers-reduced-motion:reduce) {
  .hero-media video {
    display: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  margin: 18px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral-deep);
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 28px;
}

/* ---- FOCUS BAR ---- */
.focus-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 242, 0.6);
  padding: 22px 0;
}

.focus-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.focus-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-deep);
  display: inline-block;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary {
  background: var(--coral);
  color: #2A1608;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 143, 99, 0.4);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.hero-card {
  background: var(--tint-peri-2);
  border-radius: 26px;
  padding: 38px 38px;
  position: relative;
  text-align: center;
}

.hero-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.hero-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card h3 {
  font-size: 19px;
}

.hero-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.hero-card .divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.hero-card .quote {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
}

/* ---- SECTION HEAD ---- */
.section-head {
  max-width: 560px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(27px, 3.4vw, 36px);
  margin-top: 12px;
}

/* ---- PRAXISUEBERGABE ---- */
.handover {
  background: var(--ink);
  color: #F4F1EC;
  border-radius: 32px;
  margin: 0 0px;
  padding: 60px 48px;
}

@media(max-width:720px) {
  .handover {
    margin: 0 0px;
    padding: 42px 24px;
  }
}

.handover .eyebrow {
  color: rgba(244, 241, 236, 0.55);
}

.handover h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-top: 12px;
}

.handover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}

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

.handover p.body {
  font-size: 15px;
  color: rgba(244, 241, 236, 0.78);
  margin-bottom: 14px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.share-row a {
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(244, 241, 236, 0.25);
  color: #F4F1EC;
  transition: border-color .2s, background .2s;
}

.share-row a:hover {
  border-color: var(--coral);
  background: rgba(255, 143, 99, 0.12);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(244, 241, 236, 0.08);
  color: #F4F1EC;
  transition: background .2s;
}

.social-row a:hover {
  background: rgba(244, 241, 236, 0.16);
}

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media(max-width:860px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--peri);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card h3 {
  font-size: 15.5px;
}

.team-role {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---- SPRECHZEITEN ---- */
.hours-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media(max-width:860px) {
  .hours-wrap {
    grid-template-columns: 1fr;
  }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 15px;
}

.hours-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--ink-soft);
}

.phone-card {
  background: var(--tint-coral);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.phone-card .num {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--coral-deep);
  margin: 10px 0 6px;
}

.phone-card .note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---- ZAHNPFLEGE ---- */
.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

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

.care-card {
  border-radius: var(--radius);
  padding: 30px;
  background: var(--tint-peri);
}

.care-card:nth-child(2) {
  background: var(--tint-coral);
}

.care-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.care-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---- KONTAKT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-info p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.contact-info .addr {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 14px;
}

.map-box {
  margin-top: 22px;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint-peri);
  position: relative;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--peri);
  box-shadow: 0 0 0 3px rgba(140, 147, 245, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media(max-width:520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.foot-links a {
  transition: color 0.2s;
}

.foot-links a:hover {
  color: var(--coral-deep);
}

.fine {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* ---- SUBPAGES (IMPRESSUM & DATENSCHUTZ) ---- */
.page-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--tint-peri) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 10px;
}

.legal-section {
  padding: 60px 0 100px;
}

.legal-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

@media(max-width: 720px) {
  .legal-box {
    padding: 28px 20px;
  }
}

.legal-box h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box h3 {
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}

.legal-box p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.65;
}

.legal-box ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-box li {
  margin-bottom: 6px;
}

.legal-box a {
  color: var(--coral-deep);
  text-decoration: underline;
}

.legal-box a:hover {
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 20px;
  transition: color .2s, transform .2s;
}

.back-link:hover {
  color: var(--coral-deep);
  transform: translateX(-3px);
}

/* ---- COOKIE BANNER & MODAL ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp .4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cookie-banner p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.cookie-btn-primary {
  background: var(--ink);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: var(--coral-deep);
}

.cookie-btn-secondary {
  background: var(--tint-peri);
  color: var(--ink);
}

.cookie-btn-secondary:hover {
  background: var(--tint-coral);
}

.cookie-btn-link {
  background: transparent;
  color: var(--ink-soft);
  text-decoration: underline;
  padding: 8px 10px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.cookie-btn-link:hover {
  color: var(--ink);
}

/* MEDIA BLOCKER OVERLAY */
.media-blocker {
  position: absolute;
  inset: 0;
  background: #1B1926;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 10;
  border-radius: inherit;
}

.media-blocker svg {
  margin-bottom: 12px;
  opacity: 0.9;
}

.media-blocker p {
  font-size: 13.5px;
  color: rgba(254, 254, 254, 0.88);
  max-width: 380px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.media-blocker .btn-load {
  background: var(--coral);
  color: #2A1608;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
  cursor: pointer;
  font-size: 13.5px;
  transition: transform .2s, box-shadow .2s;
}

.media-blocker .btn-load:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 143, 99, 0.4);
}

/* ACCESSIBILITY WIDGET */
.a11y-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
}

.a11y-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: transform .2s, background .2s;
}

.a11y-trigger:hover {
  background: var(--coral-deep);
  transform: scale(1.08);
}

.a11y-panel {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 310px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: slideUp .3s ease-out;
}

.a11y-panel.open {
  display: flex;
}

.a11y-panel h4 {
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.a11y-group label {
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.a11y-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.a11y-btn {
  flex: 1;
  min-width: 65px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}

.a11y-btn:hover,
.a11y-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ACCESSIBILITY UTILITY CLASSES APPLIED TO BODY */
body.a11y-high-contrast {
  --bg: #000000 !important;
  --ink: #FFFFFF !important;
  --ink-soft: #E0E0E0 !important;
  --tint-peri: #1A1A1A !important;
  --tint-coral: #262626 !important;
  --tint-peri-2: #1A1A1A !important;
  --line: #FFFFFF !important;
  background: #000000 !important;
  color: #FFFFFF !important;
}

body.a11y-high-contrast section,
body.a11y-high-contrast header,
body.a11y-high-contrast footer,
body.a11y-high-contrast .handover,
body.a11y-high-contrast .legal-box,
body.a11y-high-contrast .team-card,
body.a11y-high-contrast .cookie-banner,
body.a11y-high-contrast .a11y-panel {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

body.a11y-font-lg {
  font-size: 18px !important;
}

body.a11y-font-xl {
  font-size: 21px !important;
}

body.a11y-readable-font,
body.a11y-readable-font h1,
body.a11y-readable-font h2,
body.a11y-readable-font h3,
body.a11y-readable-font h4,
body.a11y-readable-font .brand-text,
body.a11y-readable-font .eyebrow {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.02em !important;
}

body.a11y-highlight-links a {
  outline: 2px solid #FF8F63 !important;
  background: rgba(255, 143, 99, 0.2) !important;
  text-decoration: underline !important;
}

body.a11y-stop-animations * {
  animation: none !important;
  transition: none !important;
}