/* ============================================================
   ORTHOPÄDIE PRAXIS – style.css
   Moderne, medizinische Website in Grün-/Weißtönen
   Mobile-First, responsiv
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Grüntöne */
  --clr-dark:    #1a3c2e;   /* Dunkelgrün */
  --clr-mid:     #2d6a4f;   /* Mittelgrün */
  --clr-bright:  #40916c;   /* Helleres Grün */
  --clr-light:   #74c69d;   /* Hellgrün */
  --clr-pale:    #d8f3dc;   /* Sehr helles Grün / Mint */
  --clr-accent:  #52b788;   /* Akzent-Grün */

  /* Neutrale Töne */
  --clr-white:   #ffffff;
  --clr-offwh:   #f8faf9;   /* Leicht grünlich-weißer Hintergrund */
  --clr-lgray:   #eef2ef;   /* Hellgrau */
  --clr-mgray:   #c8d6cc;   /* Mittelgrau */
  --clr-dgray:   #4a5c52;   /* Dunkelgrau / Text */
  --clr-text:    #1e2e27;   /* Haupttextfarbe */

  /* Schatten */
  --shadow-sm:   0 2px 8px rgba(26, 60, 46, 0.08);
  --shadow-md:   0 4px 20px rgba(26, 60, 46, 0.12);
  --shadow-lg:   0 8px 40px rgba(26, 60, 46, 0.16);

  /* Radien */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  /* Übergänge */
  --trans-fast:  0.2s ease;
  --trans-med:   0.35s ease;
  --trans-slow:  0.5s ease;

  /* Typografie */
  --ff-head:     'Georgia', 'Times New Roman', serif;
  --ff-body:     'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;

  /* Container */
  --max-width:   1200px;
  --header-h:    72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-offwh);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Utility Classes ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--pale {
  background-color: var(--clr-pale);
}

.section--gray {
  background-color: var(--clr-lgray);
}

.section--dark {
  background-color: var(--clr-dark);
  color: var(--clr-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-pale);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xs);
}

.section--dark .section__label {
  background: rgba(255,255,255,0.15);
  color: var(--clr-light);
}

.section__title {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--clr-dark);
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

.section--dark .section__title {
  color: var(--clr-white);
}

.section__sub {
  font-size: 1rem;
  color: var(--clr-dgray);
  max-width: 560px;
  margin: 0 auto;
}

.section--dark .section__sub {
  color: var(--clr-mgray);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--clr-mid);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-bright);
}

.btn--outline {
  background: transparent;
  color: var(--clr-mid);
  border: 2px solid var(--clr-mid);
}

.btn--outline:hover {
  background: var(--clr-pale);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-dark);
}

.btn--white:hover {
  background: var(--clr-lgray);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge--green {
  background: var(--clr-pale);
  color: var(--clr-mid);
}

/* ── Icon Circle ────────────────────────────────────────────── */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--clr-accent);
  margin: var(--space-xs) auto var(--space-sm);
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-lgray);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-sm);
}

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

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.3rem;
  font-weight: 700;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-dark);
}

.header__logo-sub {
  font-size: 0.7rem;
  color: var(--clr-dgray);
  letter-spacing: 0.05em;
}

/* Terminbuchung Mitte */
.header__booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.header__booking .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
}

.header__booking-note {
  font-size: 0.65rem;
  color: var(--clr-mgray);
  letter-spacing: 0.03em;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-dgray);
  transition: color var(--trans-fast), background var(--trans-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-mid);
  background: var(--clr-pale);
}

/* Mobile Hamburger Button */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 6px;
  background: transparent;
  transition: background var(--trans-fast);
}

.header__hamburger:hover {
  background: var(--clr-lgray);
}

.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform var(--trans-med), opacity var(--trans-med);
  transform-origin: center;
}

/* Hamburger → X animation */
.header__hamburger.open .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.open .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.open .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Kalender-Icon Buchungsbutton */
.header__booking-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--clr-mid);
  color: var(--clr-white);
  font-size: 1.1rem;
  transition: background var(--trans-fast);
  flex-shrink: 0;
}

.header__booking-mobile:hover {
  background: var(--clr-bright);
}

/* Mobile Overlay Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 60, 46, 0.5);
  opacity: 0;
  transition: opacity var(--trans-med);
  backdrop-filter: blur(4px);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--clr-white);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-md);
  transform: translateX(100%);
  transition: transform var(--trans-med);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  pointer-events: all;
}

.mobile-nav.open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav.open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--trans-fast), background var(--trans-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  background: var(--clr-pale);
  color: var(--clr-mid);
}

.mobile-nav__link .nav-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  color: var(--clr-accent);
}

.mobile-nav__divider {
  height: 1px;
  background: var(--clr-lgray);
  margin: var(--space-sm) 0;
}

.mobile-nav__booking {
  margin-top: var(--space-sm);
  text-align: center;
}

.mobile-nav__booking .btn {
  width: 100%;
  justify-content: center;
}

.mobile-nav__booking-note {
  display: block;
  font-size: 0.7rem;
  color: var(--clr-mgray);
  margin-top: 0.4rem;
}

.mobile-nav__contact {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--clr-lgray);
  border-radius: var(--radius-md);
}

.mobile-nav__contact p {
  font-size: 0.8rem;
  color: var(--clr-dgray);
  margin-bottom: 0.3rem;
}

.mobile-nav__contact a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-mid);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: var(--space-xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer__brand .header__logo-name {
  color: var(--clr-white);
  font-size: 1.1rem;
}

.footer__brand .header__logo-sub {
  color: var(--clr-mgray);
}

.footer__brand p {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  color: var(--clr-mgray);
  line-height: 1.7;
}

.footer__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-light);
  margin-bottom: var(--space-sm);
}

.footer__address {
  font-size: 0.88rem;
  color: var(--clr-mgray);
  line-height: 2;
}

.footer__address address {
  font-style: normal;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--clr-mgray);
}

.footer__contact-item a {
  color: var(--clr-light);
  transition: color var(--trans-fast);
}

.footer__contact-item a:hover {
  color: var(--clr-white);
}

.footer__contact-icon {
  width: 20px;
  text-align: center;
  color: var(--clr-accent);
  font-size: 0.9rem;
}

.footer__hours {
  font-size: 0.88rem;
  color: var(--clr-mgray);
}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__hours-row:last-child {
  border-bottom: none;
}

.footer__hours-day {
  color: var(--clr-light);
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer__bottom-text {
  font-size: 0.8rem;
  color: var(--clr-mgray);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--clr-mgray);
  transition: color var(--trans-fast);
}

.footer__bottom-links a:hover {
  color: var(--clr-light);
}

/* ══════════════════════════════════════════════════════════════
   HERO – Startseite
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-mid) 60%, var(--clr-bright) 100%);
  color: var(--clr-white);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-light);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
  width: fit-content;
}

.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
  max-width: 640px;
}

.hero__title em {
  font-style: italic;
  color: var(--clr-light);
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-white);
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════════════════════════
   LEISTUNGEN – Service Grid
   ══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
  border-left: 4px solid var(--clr-pale);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--clr-accent);
}

.service-card__icon {
  font-size: 2rem;
}

.service-card__title {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  color: var(--clr-dark);
  font-weight: 700;
}

.service-card__text {
  font-size: 0.88rem;
  color: var(--clr-dgray);
  line-height: 1.7;
}

.service-card__link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--trans-fast);
}

.service-card__link:hover {
  gap: 0.6rem;
}

/* ── Leistungen Detailseite ─────────────────────────────────── */
.service-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.service-detail__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--clr-lgray);
}

.service-detail__item:last-child {
  border-bottom: none;
}

.service-detail__icon {
  font-size: 3rem;
}

.service-detail__title {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}

.service-detail__text {
  color: var(--clr-dgray);
  line-height: 1.8;
}

.service-detail__list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--clr-dgray);
}

.service-detail__list li::before {
  content: '✓';
  color: var(--clr-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ══════════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.team-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--clr-pale), var(--clr-lgray));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--clr-mid);
  position: relative;
  overflow: hidden;
}

.team-card__avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--clr-white), transparent);
}

.team-card__body {
  padding: var(--space-md);
}

.team-card__name {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  color: var(--clr-dark);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card__text {
  font-size: 0.88rem;
  color: var(--clr-dgray);
  line-height: 1.7;
}

.team-card__qualifications {
  margin-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ══════════════════════════════════════════════════════════════
   PRAXIS (Über uns / Praxisinfo)
   ══════════════════════════════════════════════════════════════ */
.praxis-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.praxis-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--clr-pale) 0%, var(--clr-lgray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--clr-mid);
  box-shadow: var(--shadow-md);
}

.praxis-intro__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.praxis-intro__title {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--clr-dark);
  line-height: 1.3;
}

.praxis-intro__text {
  color: var(--clr-dgray);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.value-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: transform var(--trans-med);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card__body {
  flex: 1;
}

.value-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-dark);
  margin-bottom: 0.35rem;
}

.value-card__text {
  font-size: 0.88rem;
  color: var(--clr-dgray);
  line-height: 1.7;
}

/* Öffnungszeiten Tabelle */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--clr-lgray);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.7rem 0.5rem;
  vertical-align: top;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--clr-dark);
  width: 45%;
}

.hours-table td:last-child {
  color: var(--clr-dgray);
}

.hours-closed {
  color: var(--clr-mgray) !important;
}

/* Anfahrt / Karte Platzhalter */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 400px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--clr-lgray), var(--clr-pale));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--clr-dgray);
  font-size: 0.9rem;
  border: 2px dashed var(--clr-mgray);
}

.map-placeholder__icon {
  font-size: 3rem;
}

/* Info-Karten Raster */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.info-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.info-card__title {
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.info-card__title .icon {
  color: var(--clr-accent);
}

/* ══════════════════════════════════════════════════════════════
   DATENSCHUTZ & IMPRESSUM – Textseiten
   ══════════════════════════════════════════════════════════════ */
.legal-page {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.legal-page__header {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(135deg, var(--clr-dark), var(--clr-mid));
  color: var(--clr-white);
  margin-bottom: var(--space-xl);
}

.legal-page__title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.legal-page__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin: var(--space-lg) 0 var(--space-xs);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-pale);
}

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

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--clr-dark);
  margin: var(--space-sm) 0 0.5rem;
}

.legal-content p {
  color: var(--clr-dgray);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.legal-content ul li {
  color: var(--clr-dgray);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--clr-mid);
  text-decoration: underline;
  transition: color var(--trans-fast);
}

.legal-content a:hover {
  color: var(--clr-dark);
}

.legal-content .highlight-box {
  background: var(--clr-pale);
  border-left: 4px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0;
}

.legal-content .highlight-box p {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (Unterseiten Banner)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-mid) 100%);
  color: var(--clr-white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-light);
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xs);
}

.page-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
}

/* ══════════════════════════════════════════════════════════════
   CTA – Call to Action Banner
   ══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-mid), var(--clr-dark));
  color: var(--clr-white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: var(--space-xs);
}

.cta-banner__text {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.cta-banner__note {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* ══════════════════════════════════════════════════════════════
   EMERGENCY / INFO BANNER
   ══════════════════════════════════════════════════════════════ */
.emergency-bar {
  background: var(--clr-bright);
  color: var(--clr-white);
  text-align: center;
  padding: 0.5rem var(--space-md);
  font-size: 0.82rem;
  font-weight: 500;
}

.emergency-bar a {
  font-weight: 700;
  text-decoration: underline;
  color: var(--clr-white);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-mid);
  color: var(--clr-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast), transform var(--trans-fast);
  transform: translateY(10px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--clr-dark);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE – Tablet (≥ 640px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .service-detail__item {
    grid-template-columns: 80px 1fr;
  }

  .service-detail__item .service-detail__icon {
    padding-top: 0.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE – Tablet L (≥ 768px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  :root {
    --header-h: 76px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .praxis-intro {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE – Desktop (≥ 1024px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Header Desktop: Logo | Mitte Termin | Navigation */
  .header__booking-mobile {
    display: none !important;
  }

  .header__hamburger {
    display: none !important;
  }

  .header__booking {
    display: flex !important;
  }

  .header__nav {
    display: flex !important;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero__inner {
    max-width: 680px;
  }

  .legal-content {
    max-width: 720px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE ONLY (< 1024px) – Header Anpassungen
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  .header__booking {
    display: none;
  }

  .header__nav {
    display: none;
  }

  .header__booking-mobile {
    display: flex;
  }

  .header__hamburger {
    display: flex;
  }

  .header__inner {
    padding: 0 var(--space-sm);
  }

  /* Logo auf kleinen Bildschirmen kompakter */
  .header__logo-sub {
    display: none;
  }
}

@media (max-width: 400px) {
  .header__logo-name {
    font-size: 0.88rem;
  }

  .header__logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONEN
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

.animate-in--delay-1 { animation-delay: 0.1s; }
.animate-in--delay-2 { animation-delay: 0.2s; }
.animate-in--delay-3 { animation-delay: 0.3s; }
.animate-in--delay-4 { animation-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
