/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --petrol: #3E7FBA;
  --petrol-dark: #2B5D8E;
  --petrol-light: #EAF3FB;
  --terra: #D96D20;
  --terra-dark: #B85918;
  --offwhite: #FDF5F0;
  --bg-alt: #F5EBE4;
  --text: #2C2C2C;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(62,127,186,0.12);
  --shadow-lg: 0 8px 40px rgba(62,127,186,0.18);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
  position: relative;
}

a { color: var(--petrol); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra); }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-accent {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-accent:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,112,74,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 11px;
  padding-bottom: 11px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  transition: color var(--transition);
}
.header.scrolled .logo { color: var(--petrol-dark); }
.logo-svg { flex-shrink: 0; }
.logo-mark.small { width: 32px; height: 32px; font-size: 18px; border-radius: 8px; }
.logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.header.scrolled .logo-text { color: var(--petrol-dark); }
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

/* Nav */
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--petrol-dark);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav a:hover { color: var(--petrol); }
.header.scrolled .nav a { color: var(--text-muted); }
.header.scrolled .nav a:hover { color: var(--petrol); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--petrol-dark); }
.header.scrolled .menu-toggle { color: var(--petrol); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1E4E78 0%, var(--petrol) 60%, #4E9AD4 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(196,112,74,0.18) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(234,243,251,0.97) 0px, rgba(234,243,251,0.97) 76px, rgba(234,243,251,0) 150px),
    linear-gradient(to right, rgba(18,67,80,0.7) 0%, transparent 100%);
}
/* Hero flex layout */
.hero-inner-flex {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 48px;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-content {
  flex: 1;
  max-width: 580px;
}
.hero-photo {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.2);
  margin-right: 100px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.hero-h1-location {
  font-size: clamp(16px, 2vw, 26px);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 36px;
}
/* 2×2 Hero CTA Grid – alle vier Elemente gleich groß */
.hero-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-cta-grid .hero-pill {
  min-width: 0;
}
.hero-cta-grid .hero-pill .pill-content {
  min-width: 0;
  overflow: hidden;
}
.hero-cta-grid .hero-pill .pill-line2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Oranger Termin-Pill (doppelte Klasse für höhere Spezifität) */
.hero-pill.hero-pill-accent {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
}
.hero-pill.hero-pill-accent:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.hero-pill.hero-pill-accent .pill-line1 {
  font-size: 16px;
  font-weight: 700;
}
/* Leistungen-Pill: rundes Icon-Wrapper */
.pill-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.pill-icon-wrap svg {
  width: 14px;
  height: 14px;
  color: white;
}
/* Altes hero-actions als Fallback */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
/* Zweizeilige Hero-Pills (Öffnungszeiten & Aktuelles) */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  min-height: 56px;
  box-sizing: border-box;
}
.hero-pill:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
}
.hero-pill-hours:hover { transform: translateY(-1px); }
.hero-pill .pill-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero-pill .pill-line1 {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.hero-pill .pill-line2 {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

/* Grüner Punkt-Button links */
.pill-dot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  border: 1.5px solid rgba(74, 222, 128, 0.55);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.hero-pill-hours:hover .pill-dot-btn {
  background: rgba(74, 222, 128, 0.35);
  border-color: rgba(74, 222, 128, 0.9);
}
.badge-dot {
  display: block;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.25); }
}

/* Aktuelles-Pill: Orange Glocke links */
.pill-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(217, 109, 32, 0.22);
  border: 1.5px solid rgba(217, 109, 32, 0.65);
  color: var(--terra);
  flex-shrink: 0;
}
.pill-bell svg {
  width: 15px;
  height: 15px;
  color: #ffc9a5;
}

/* Responsive: Hero-Grid auf Mobile einspaltg */
@media (max-width: 560px) {
  /* Hero-Pills: 2 nebeneinander, kompakter */
  .hero-cta-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-pill { padding: 10px 12px; gap: 8px; min-height: 46px; }
  .hero-pill .pill-line1 { font-size: 12px; }
  .hero-pill .pill-line2 { font-size: 11px; }
  .hero-pill.hero-pill-accent .pill-line1 { font-size: 13px; }
  .pill-icon-wrap { width: 24px; height: 24px; }
  .pill-icon-wrap svg { width: 11px; height: 11px; }
  .pill-dot-btn { width: 24px; height: 24px; }
  .pill-bell { width: 24px; height: 24px; }
  .hero-pill .btn-doctolib { width: 24px; height: 24px; }
}

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section-light { background: var(--offwhite); }
.section:not(.section-light) { background: var(--white); }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.center { text-align: center; }

h2 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--petrol-dark);
  margin-bottom: 32px;
}
h3 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  color: var(--petrol-dark);
  margin-bottom: 6px;
}

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col-text p { color: var(--text-muted); margin-bottom: 16px; }
.two-col-text p:last-of-type { margin-bottom: 24px; }
.praxis-text-only { max-width: 680px; margin: 0 auto; text-align: center; }
.praxis-text-only p { color: var(--text-muted); margin-bottom: 16px; }
.praxis-text-only .check-list { align-items: center; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--petrol-light);
  color: var(--petrol);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  background: linear-gradient(135deg, var(--petrol-light), var(--bg-alt));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.placeholder-tall { height: 420px; }
.placeholder-portrait { height: 220px; width: 100%; }
.placeholder-portrait.placeholder-small { height: 160px; }
.placeholder-news { height: 180px; }

/* ===== REAL IMAGES ===== */
.praxis-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}
.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.team-card-featured .team-photo { height: 240px; }

/* ===== GALERIE ===== */
.galerie-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.galerie-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.galerie-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.galerie-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.galerie-large img { height: 100%; min-height: 300px; }
.galerie-item:not(.galerie-large) img { height: 145px; }

/* Logo */
.logo-img {
  height: 54px;        /* Größer im Hero */
  width: auto;
  transition: height 0.3s ease, filter var(--transition);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));  /* Sichtbarkeit auf dunklem Hintergrund */
}
.header.scrolled .logo-img {
  height: 36px;        /* Normale Größe in der weißen Menüleiste */
  filter: none;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.team-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-card-featured {
  background: var(--white);
  box-shadow: var(--shadow);
}
.team-card-body {
  padding: 20px 22px 22px;
}
.team-card-featured .team-card-body {
  min-height: 134px;
}
.team-card-body h3 { font-size: 18px; margin-bottom: 4px; }
.team-title {
  font-size: 13px;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}
.team-card-body p { font-size: 14px; color: var(--text-muted); }

.team-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

/* ===== LEISTUNGEN ===== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.leistung-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--petrol);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.leistung-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.leistung-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.leistung-icon svg {
  width: 38px;
  height: 38px;
  color: var(--terra);
  stroke: var(--terra);
}
.leistung-card h3 {
  margin-bottom: 0;
  font-size: 22px;
}
.leistung-card .leistung-list,
.leistung-card p {
  margin-top: 0;
}
.leistung-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }

/* Badge-Bereich: Rosette rechts floaten, Label + Bullets links daneben */
.leistung-badge-area {
  margin-top: 12px;
}
.leistung-badge-area::after {
  content: '';
  display: table;
  clear: both;
}

/* Rosetten-Badge: Award-Medaille mit Schleife (SVG-Hintergrund) */
.badge-rosette {
  float: right;
  margin-left: 14px;
  margin-bottom: 4px;
  width: 82px;
  height: 95px;          /* viewBox 100×116 → 82px × 95px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--terra);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.2px;
  line-height: 1.15;
  padding: 0 10px 23px 10px;  /* bottom-Padding schiebt Text in Kreis-Mitte */
  background: url("img/rosette.svg") center/contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.14));
}

/* Label "Zertifiziert durch ..." */
.badge-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 8px;
}

/* Stichpunkt-Liste */
.leistung-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leistung-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.leistung-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--petrol);
}

.link-arrow {
  color: var(--petrol);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}
.link-arrow:hover { gap: 8px; color: var(--terra); }
.leistung-card .link-arrow {
  margin-top: auto;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.leistung-card .link-arrow::after {
  content: '';
  position: absolute;
  inset: -200px -28px -28px -28px;
  z-index: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--petrol-dark) 0%, var(--petrol) 100%);
  color: var(--white);
  padding: 48px 0;
}
.cta-banner-alt {
  background: linear-gradient(135deg, var(--terra) 0%, #C25A12 100%);
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h3 {
  color: var(--white);
  margin: 0 0 6px;
  font-size: 26px;
}
.cta-banner-text p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 16px;
}
.cta-banner .btn-accent {
  background: var(--white);
  color: var(--petrol-dark);
}
.cta-banner .btn-accent:hover {
  background: var(--offwhite);
  color: var(--petrol-dark);
}
.cta-banner-alt .btn-accent {
  background: var(--white);
  color: var(--terra);
}
.cta-banner-alt .btn-accent:hover {
  background: var(--offwhite);
  color: var(--terra);
}
.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Button mit Doctolib-D-Symbol (Squircle-Form, kein weißer Hintergrund) */
.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-doctolib {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.hero-pill .btn-doctolib {
  width: 30px;
  height: 30px;
}
.btn-lg.btn-with-icon .btn-doctolib,
.btn-large.btn-with-icon .btn-doctolib {
  width: 26px;
  height: 26px;
}
@media (max-width: 640px) {
  .cta-banner { padding: 22px 0; }
  .cta-banner-inner { flex-direction: column; text-align: center; gap: 14px; }
  .cta-banner-text h3 { font-size: 17px; margin-bottom: 4px; }
  .cta-banner-text p { font-size: 13px; }
  .cta-banner .btn-large, .cta-banner-alt .btn-large { padding: 10px 20px; font-size: 14px; }
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.news-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-body { padding: 22px; }
.news-date {
  font-size: 12px;
  color: var(--terra);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.news-body h3 { font-size: 16px; margin-bottom: 10px; }
.news-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 8px;
}
.kontakt-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.kontakt-block { margin-bottom: 18px; }
.kontakt-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.kontakt-block p { font-size: 14px; line-height: 1.7; }
.kontakt-block a {
  color: var(--petrol);
  font-weight: 500;
}
.kontakt-block a:hover { color: var(--terra); }
.kontakt-label {
  font-size: 12px;
  color: var(--text-muted);
}
.kontakt-hinweis {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
  font-style: italic;
}

.oeffnungszeiten {
  border-collapse: collapse;
  width: 100%;
}
.oeffnungszeiten td {
  padding: 3px 0;
  font-size: 14px;
}
.oeffnungszeiten td:first-child {
  color: var(--text-muted);
  width: 110px;
  vertical-align: top;
  padding-top: 7px;
}
.oeffnungszeiten-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.oeffnungszeiten-note strong {
  color: var(--text);
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kontakt-email-btn {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}
.kontakt-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.kontakt-notes .oeffnungszeiten-note,
.kontakt-notes .kontakt-hinweis {
  margin: 0;
}
.kontakt-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 180px;
}
.kontakt-map iframe { border-radius: var(--radius); }
.kontakt-map-btn { align-self: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--petrol-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.footer-address { font-size: 14px; }
.footer p { font-size: 14px; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--white); }
.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-img { order: -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-bottom-row { grid-template-columns: 1fr; }
  .kontakt-map { height: 260px; }
  .galerie-grid { grid-template-columns: 1fr; }
  .galerie-large { grid-column: auto; grid-row: auto; }
  .galerie-large img { min-height: 240px; }
  .praxis-photo { height: 280px; }
  .hero-inner-flex { flex-direction: column; align-items: flex-start; }
  .hero-photo { width: 200px; height: 200px; align-self: center; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 8px 0 16px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    z-index: 99;
  }
  .nav.open a {
    color: var(--text) !important;
    padding: 15px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: block;
  }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open a:hover { background: var(--petrol-light); color: var(--petrol) !important; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-inner .btn { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  /* Leistungen: 2 Kacheln nebeneinander, Text kleiner */
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .leistung-card { padding: 16px 14px; }
  .leistung-card h3 { font-size: 16px; }
  .leistung-card p { font-size: 13px; margin-bottom: 12px; }
  .leistung-icon svg { width: 28px; height: 28px; }
  .leistung-list li { font-size: 12px; }
  /* Abstand zwischen Praxis und Leistungen reduzieren */
  #praxis { padding-bottom: 20px; }
  #leistungen { padding-top: 20px; }
  /* Praxis-Checkliste: oranges Häkchen im Kreis, oben ausgerichtet */
  .praxis-text-only .check-list { width: fit-content; margin: 0 auto; align-items: flex-start; }
  .praxis-text-only .check-list li { gap: 8px; align-items: flex-start; text-align: left; }
  .praxis-text-only .check-list li::before {
    background: rgba(217, 109, 32, 0.13);
    color: var(--terra);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
  }
  .hero-actions { flex-direction: column; }
  .hide-mobile { display: none; }
  .section { padding: 48px 0; }
  /* Galerie: 2 Spalten, kompakte Bilder */
  .galerie-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .galerie-large { grid-column: auto; grid-row: auto; }
  .galerie-large img { height: 120px !important; min-height: unset !important; }
  .galerie-item:not(.galerie-large) img { height: 120px; }

  /* Hero-Bild: mittig zentriert, margin-right aufheben */
  .hero-photo {
    width: 220px;
    height: 220px;
    margin: 8px 0 0 0;
    align-self: center;
  }
  /* Hero-Bereich als Block zentriert */
  .hero-inner-flex {
    padding-top: 140px;
    gap: 12px;
    align-items: center;
  }
  /* Hero-Content: volle Breite, zentriert */
  .hero-content { max-width: 100%; min-width: 0; }
  .hero h1 { white-space: normal; }
  /* Hero-Untertitel kleiner auf Mobile */
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  /* Praxis: weniger Abstand zwischen Überschrift und Text */
  .praxis-text-only h2 { margin-bottom: 12px; }
  /* Checkliste: größtmögliche Schrift, die noch einzeilig bleibt */
  .check-list li { font-size: 11px; gap: 6px; }
  .check-list li::before { width: 18px; height: 18px; font-size: 10px; flex-shrink: 0; }
  .praxis-text-only .check-list li::before { width: 18px; height: 18px; font-size: 10px; }
  /* Leistungen-Kacheln: gleiche Größe, kein Overflow */
  .leistungen-grid { overflow: hidden; }
  .leistung-card { min-width: 0; }
  .leistung-card h3 { word-break: break-word; overflow-wrap: break-word; }
  .leistung-list li { word-break: break-word; overflow-wrap: break-word; }
  /* Kein Hover-Effekt auf Touch (verhindert Flackern) */
  .leistung-card:hover { transform: none; box-shadow: var(--shadow); }
  /* Sprechzeiten: kompakter, Tag + Uhrzeit in einer Zeile */
  .oeffnungszeiten td { font-size: 11px; padding: 4px 4px 4px 0; white-space: nowrap; }
  .oeffnungszeiten td:first-child { width: 85px; padding-top: 4px; vertical-align: middle; }
  /* Leistungen-Kacheln: kompakteres Padding damit beide in Ansicht passen */
  .leistungen-grid { gap: 8px; }
  .leistung-card { padding: 12px 10px; }
  .leistung-card h3 { font-size: 14px; }
  .leistung-icon svg { width: 24px; height: 24px; }
  .leistung-list li { font-size: 11px; }
  /* Alle Flex-Kinder: kein Überlaufen */
  .hero-cta-grid .hero-pill { min-width: 0; }
  /* Team: 3 Spalten, Abstand, abgerundete Ecken */
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .team-photo { height: 130px; object-fit: cover; object-position: top center; }
  .team-card { border-radius: 12px; overflow: hidden; }
  .team-card-body { padding: 8px 8px 10px; }
  .team-card .team-card-body h3 { font-size: 14px !important; font-weight: 700; margin-bottom: 2px; color: var(--petrol); line-height: 1.2; }
  .team-card .team-title { font-size: 9px !important; font-weight: 400; margin-bottom: 0; line-height: 1.3; }
  .team-card-featured .team-card-body { min-height: unset; }
}

@media (max-width: 400px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .team-photo { height: 110px; }
  .team-card .team-card-body h3 { font-size: 12px !important; font-weight: 700; color: var(--petrol); line-height: 1.2; }
  .team-card .team-title { font-size: 9px !important; font-weight: 400; line-height: 1.3; }
}

/* ===== FLOATING TERMIN BUTTON ===== */
.floating-termin-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--terra);
  color: var(--white);
  border-radius: 50px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(196,112,74,0.45);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 52px;
  transition: max-width 0.35s ease, padding 0.35s ease, box-shadow 0.2s ease;
}
.floating-termin-btn:hover {
  max-width: 200px;
  padding: 14px 20px;
  box-shadow: 0 6px 24px rgba(196,112,74,0.55);
  gap: 10px;
}
.floating-btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.floating-btn-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease 0.1s, max-width 0.35s ease;
}
.floating-termin-btn:hover .floating-btn-label {
  opacity: 1;
  max-width: 140px;
}

@media (max-width: 640px) {
  .floating-termin-btn {
    top: auto;
    bottom: 24px;
    transform: none;
  }
}
