/* ============================================================
   TIERPRAXIS JULIA ZIEMANN – Stylesheet
   ============================================================

   FARB-VARIABLEN – Hier alle Farben leicht anpassen!
   ============================================================ */
:root {
  /* Hintergrundfarben */
  --bg-main:        #F8F4EE;   /* Haupthintergrund – warmes Creme */
  --bg-surface:     #FFFFFF;   /* Karten & Panels */
  --bg-subtle:      #F0EAE0;   /* Leichte Abschnitte */
  --bg-section-alt: #EDE6D9;   /* Wechselnde Abschnitte */

  /* Primärfarbe – Warmes Braun / Taupe */
  --primary:        #7D6B57;
  --primary-dark:   #5C4F3D;
  --primary-light:  #B0A090;

  /* Sekundärfarbe – Salbeigrün */
  --secondary:      #8FA886;
  --secondary-dark: #6B8A62;
  --secondary-light:#C5D5BF;

  /* Akzentfarbe – Terrakotta (hier ändern für anderen Look!) */
  --accent:         #C47B52;
  --accent-dark:    #A85E35;
  --accent-light:   #E8C4A8;

  /* Textfarben */
  --text-dark:      #2F261E;
  --text-body:      #4A3F35;
  --text-muted:     #8A7A6A;
  --text-light:     #B5A898;

  /* Rahmen & Schatten */
  --border:         #DDD5C8;
  --border-light:   #EDE8E0;
  --shadow-sm:      0 2px 8px rgba(125,107,87,0.08);
  --shadow-md:      0 6px 24px rgba(125,107,87,0.12);
  --shadow-lg:      0 16px 48px rgba(125,107,87,0.18);

  /* Radii & Übergänge */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --transition: 0.3s ease;
}

/* ============================================================
   RESET & GRUNDLAGEN
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dark);
  line-height: 1.25;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: 'Nunito', sans-serif; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section-alt); }
.section-subtle { background: var(--bg-subtle); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 560px;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,123,82,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,123,82,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-dark);
}

.hidden { display: none !important; }
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   POPUP OVERLAY (Praxis-Hinweis)
   ============================================================ */
#popupOverlay {
  position: fixed; inset: 0;
  background: rgba(47,38,30,0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.4s ease;
}
.popup-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 48px 40px 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
  animation: slideUp 0.4s ease;
  text-align: center;
}
.popup-icon {
  width: 64px; height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.popup-card h2 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 14px; }
.popup-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; line-height: 1.65; }

/* ============================================================
   DETAIL MODAL (Beiträge & Leistungen)
   ============================================================ */
#detailModal {
  position: fixed; inset: 0;
  background: rgba(47,38,30,0.7);
  backdrop-filter: blur(8px);
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: fadeIn 0.25s ease;
}
.detail-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.3s ease;
  position: relative;
}
.detail-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.detail-header-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  position: absolute;
  top: 0; left: 0; right: 0;
}
.detail-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 1;
}
.detail-close:hover { background: var(--border); color: var(--text-dark); transform: rotate(90deg); }

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.detail-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.detail-badge {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.detail-badge.green {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}
.detail-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--primary-dark);
  margin-bottom: 0;
  padding-right: 48px;
}
.detail-body { padding: 32px 40px 40px; }
.detail-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}
.detail-body p:last-of-type { margin-bottom: 0; }

/* Bilder-Galerie im Detail */
.detail-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.detail-gallery.one { grid-template-columns: 1fr; }
.detail-gallery.two { grid-template-columns: 1fr 1fr; }
.detail-gallery.multi { grid-template-columns: 1fr 1fr; }
.detail-gallery.multi .gallery-main { grid-column: 1 / -1; }
.detail-gallery img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 360px;
}
.detail-gallery.one img { max-height: 420px; }

/* Leistungs-Detail spezifisch */
.detail-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.detail-info-item {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.detail-info-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.detail-info-item strong {
  display: block;
  font-size: 0.88rem;
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.detail-info-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.detail-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}
.detail-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.detail-tip-box {
  background: linear-gradient(135deg, var(--accent-light), rgba(232,196,168,0.4));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.detail-tip-box strong {
  display: block;
  font-size: 0.88rem;
  color: var(--accent-dark);
  margin-bottom: 4px;
  font-family: 'Nunito', sans-serif;
}
.detail-tip-box p { color: var(--text-body); margin: 0; font-size: 0.9rem; }
.detail-featured-banner {
  background: linear-gradient(135deg, var(--secondary-light), #E8F0E4);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.detail-featured-banner .icon { font-size: 32px; flex-shrink: 0; }
.detail-featured-banner strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}
.detail-featured-banner span { font-size: 0.85rem; color: var(--text-muted); }
.detail-footer {
  padding: 20px 40px 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,244,238,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.nav-logo-text { font-family: 'Cormorant Garamond', serif; }
.nav-logo-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}
.nav-logo-text span { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-phone:hover { background: var(--primary-dark) !important; color: #fff !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span { width: 26px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

#mobileMenu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
#mobileMenu.open { display: flex; }
#mobileMenu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all var(--transition);
}
#mobileMenu a:hover { background: var(--bg-subtle); color: var(--accent); }
.mobile-divider { height: 1px; background: var(--border-light); margin: 12px 0; }
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-top: 8px;
}
.social-row { display: flex; gap: 10px; padding: 8px 16px; margin-top: 4px; }
.social-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 16px;
  transition: all var(--transition);
  text-decoration: none;
}
.social-icon-btn:hover { background: var(--accent); color: #fff; transform: scale(1.1); }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
#pageContent { padding-top: 72px; }

/* ============================================================
   HOME – HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F0EAE0 0%, #F8F4EE 50%, #EDE8E0 100%);
}
.hero-bg-decoration { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-circle-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,168,134,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-circle-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,123,82,0.1) 0%, transparent 70%);
  bottom: -50px; left: 10%;
}
.paw-print {
  position: absolute;
  font-size: clamp(60px, 10vw, 140px);
  opacity: 0.04;
  color: var(--primary);
}
.paw-print-1 { top: 5%; right: 5%; transform: rotate(15deg); }
.paw-print-2 { bottom: 10%; left: 3%; transform: rotate(-20deg); font-size: 80px; }
.paw-print-3 { top: 45%; right: 18%; transform: rotate(8deg); font-size: 60px; }

.hero-content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 8px 0 20px;
  line-height: 1.15;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; max-width: 480px; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--primary-dark); line-height: 1; display: block;
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-visual { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.hero-card-main {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  border: 1px solid var(--border-light);
}
.hero-card-main h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hours-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hours-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 0.88rem;
}
.hours-item.today { background: var(--accent-light); font-weight: 700; color: var(--accent-dark); }
.hours-day { font-weight: 600; }
.hours-time { color: var(--text-muted); font-size: 0.82rem; }
.hours-item.today .hours-time { color: var(--accent-dark); }

.hero-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.hero-mini-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.hero-mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero-mini-card .icon { font-size: 28px; margin-bottom: 8px; }
.hero-mini-card strong { display: block; font-size: 0.85rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.hero-mini-card span { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   NOTDIENST BANNER
   ============================================================ */
.emergency-banner { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff; padding: 28px 0; }
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.emergency-left { display: flex; align-items: center; gap: 16px; }
.emergency-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.emergency-text h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.emergency-text p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.emergency-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-emergency {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-emergency:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }

/* ============================================================
   TERMINBUCHUNG
   ============================================================ */
.appointment-section { background: linear-gradient(135deg, var(--secondary-light) 0%, #E8F0E4 100%); padding: 64px 0; }
.appointment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.appointment-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.appointment-text p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.appointment-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.appt-feature { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 600; color: var(--text-body); }
.appt-feature-icon {
  width: 36px; height: 36px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; font-weight: 900; flex-shrink: 0;
}
.appointment-plugin-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px dashed var(--secondary-light);
  position: relative; overflow: hidden;
}
.appointment-plugin-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.plugin-placeholder-icon { font-size: 48px; margin-bottom: 16px; }
.appointment-plugin-box h3 { font-size: 1.3rem; margin-bottom: 10px; }
.appointment-plugin-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.plugin-note { display: inline-block; background: var(--accent-light); color: var(--accent-dark); padding: 8px 16px; border-radius: var(--radius-xl); font-size: 0.8rem; font-weight: 700; }

/* ============================================================
   SERVICES PREVIEW (Home) & CARDS (Leistungen)
   ============================================================ */
.services-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '→';
  position: absolute;
  bottom: 14px; right: 18px;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--secondary-light); }
.service-card:hover::after { opacity: 1; transform: translateX(0); }
.service-card .icon { font-size: 36px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary-dark); }
.service-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   NEWS / AKTUELLES
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; margin-top: 40px; }
.news-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg-subtle); transition: transform 0.4s ease; }
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card-img-wrapper { height: 200px; overflow: hidden; }
.news-card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--secondary-light), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.news-card-body { padding: 24px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-date { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.news-badge { background: var(--accent-light); color: var(--accent-dark); padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.news-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary-dark); }
.news-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--transition);
}
.news-card:hover .news-read-more { gap: 10px; }

.no-news { grid-column: 1/-1; text-align: center; padding: 64px 24px; color: var(--text-muted); }
.no-news .icon { font-size: 48px; margin-bottom: 16px; }
.no-news h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* Admin Bar */
.admin-bar { background: var(--primary-dark); color: #fff; padding: 14px 0; }
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.admin-bar span { font-size: 0.88rem; opacity: 0.85; }
.admin-bar-actions { display: flex; gap: 10px; }
.btn-admin-small {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-admin-small:hover { background: rgba(255,255,255,0.25); }
.btn-admin-danger { background: rgba(200,60,60,0.3); border-color: rgba(200,60,60,0.5); }
.btn-admin-danger:hover { background: rgba(200,60,60,0.5); }

/* ============================================================
   ADMIN LOGIN & PANEL MODALS
   ============================================================ */
#adminLoginModal, #adminPanel {
  position: fixed; inset: 0;
  background: rgba(47,38,30,0.7);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}
.admin-card-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h2 { font-size: 1.5rem; }
.admin-card-body { padding: 32px; }

.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: 'Nunito', sans-serif;
  color: var(--text-body); background: var(--bg-main);
  transition: border-color var(--transition); outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); background: var(--bg-surface); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-file-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px; text-align: center; cursor: pointer;
  transition: border-color var(--transition); background: var(--bg-main);
}
.form-file-area:hover { border-color: var(--accent); }
.form-file-area p { color: var(--text-muted); font-size: 0.9rem; }
.form-file-area span { font-size: 32px; display: block; margin-bottom: 8px; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-subtle); border-radius: var(--radius-sm); margin-bottom: 22px; }
.toggle-label { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.toggle-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.toggle { width: 52px; height: 28px; background: var(--border); border-radius: 14px; position: relative; cursor: pointer; transition: background var(--transition); border: none; flex-shrink: 0; }
.toggle.on { background: var(--secondary); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.15); transition: transform var(--transition); }
.toggle.on::after { transform: translateX(24px); }

.admin-section-divider { border: none; border-top: 1px solid var(--border-light); margin: 28px 0; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 28px; background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 4px; }
.admin-tab { flex: 1; padding: 10px 16px; border: none; background: transparent; border-radius: 6px; font-size: 0.88rem; font-weight: 700; color: var(--text-muted); transition: all var(--transition); cursor: pointer; }
.admin-tab.active { background: var(--bg-surface); color: var(--text-dark); box-shadow: var(--shadow-sm); }

.img-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.img-preview-item { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item .img-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.6); color: #fff;
  border: none; border-radius: 50%; font-size: 12px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* Close Button (allgemein) */
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}
.popup-close:hover { background: var(--border); color: var(--text-dark); }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin-top: 40px; }
.team-card { background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { width: 100%; height: 260px; background: linear-gradient(135deg, var(--secondary-light), var(--accent-light)); display: flex; align-items: center; justify-content: center; font-size: 72px; }
.team-card-body { padding: 24px; }
.team-card-body h3 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.team-bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.team-tag { background: var(--secondary-light); color: var(--secondary-dark); padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }

/* History Timeline */
.history-timeline { position: relative; margin-top: 48px; }
.history-timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-light), var(--accent-light));
  transform: translateX(-50%);
}
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; align-items: start; margin-bottom: 40px; }
.timeline-content { background: var(--bg-surface); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--primary-dark); }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); }
.timeline-dot {
  width: 48px; height: 48px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 0.9rem;
  margin: 0 auto;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--accent-light);
  flex-shrink: 0;
}
.timeline-item:nth-child(even) .timeline-content { order: 3; }
.timeline-item:nth-child(even) .timeline-spacer { order: 1; }

/* ============================================================
   LEISTUNGEN PAGE
   ============================================================ */
.leistungen-hero {
  background: linear-gradient(135deg, var(--secondary-light), #E8F0E4);
  padding: 60px 0 40px;
}
.leistungen-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 14px; }
.leistungen-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }

.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }
.leistung-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.leistung-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.leistung-card:hover::before { transform: scaleX(1); }
.leistung-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.leistung-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--transition);
}
.leistung-card:hover .leistung-card-more { gap: 10px; }

.leistung-card.featured { border-color: var(--accent-light); background: linear-gradient(135deg, #FFF9F5, var(--bg-surface)); }
.leistung-card.featured::before { transform: scaleX(1); background: var(--accent); }
.featured-badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.06em; }

.leistung-icon { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--bg-subtle); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.leistung-card.featured .leistung-icon { background: var(--accent-light); }
.leistung-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--primary-dark); }
.leistung-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0; }
.leistung-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.leistung-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--text-body); }
.leistung-list li::before { content: '✓'; color: var(--secondary-dark); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Zahnbehandlung Feature */
.zahnbehandlung-feature {
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(232,196,168,0.3) 100%);
  border-radius: var(--radius-lg); padding: 56px; margin: 48px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border: 1px solid var(--accent-light);
}
.zahnbehandlung-feature h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.zahnbehandlung-feature p { color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.zahninfo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zahninfo-item { background: var(--bg-surface); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.zahninfo-item .icon { font-size: 28px; margin-bottom: 8px; }
.zahninfo-item strong { display: block; font-size: 0.88rem; color: var(--primary-dark); }

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.contact-info-card { background: var(--bg-surface); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon { width: 44px; height: 44px; background: var(--secondary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 4px; }
.contact-item-text a, .contact-item-text p { font-size: 1rem; color: var(--text-dark); font-weight: 500; }
.contact-item-text a:hover { color: var(--accent); }

.map-container { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); min-height: 380px; background: var(--bg-subtle); display: flex; flex-direction: column; }
.map-container iframe { width: 100%; flex: 1; border: none; min-height: 340px; }

.sprechzeiten-card { background: var(--primary-dark); color: #fff; border-radius: var(--radius-md); padding: 36px; margin-top: 28px; }
.sprechzeiten-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.sprechzeiten-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sprechzeiten-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }
.sprechzeiten-item:last-child { border-bottom: none; }
.sprechzeiten-item .day { font-weight: 600; }
.sprechzeiten-item .time { color: rgba(255,255,255,0.75); }
.sprechzeiten-item.geschlossen .time { color: rgba(255,100,100,0.8); }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ
   ============================================================ */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 2rem; margin-bottom: 8px; }
.legal-content h3 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--primary); }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-card { background: var(--bg-surface); border-radius: var(--radius-md); padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.footer-logo-text strong { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: #fff; display: block; }
.footer-logo-text span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.social-row-footer { display: flex; gap: 10px; }
.social-btn-footer { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); font-size: 16px; text-decoration: none; transition: all var(--transition); }
.social-btn-footer:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-hours { font-size: 0.88rem; }
.footer-hours-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.65); gap: 8px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  z-index: 20000;
  box-shadow: var(--shadow-md);
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s ease;
  display: flex; align-items: center; gap: 10px;
  max-width: 320px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { border-left: 4px solid var(--secondary); }
#toast.error { border-left: 4px solid #e05c5c; }

/* ============================================================
   ANIMATIONEN
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pulse { animation: pulse 2s infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .history-timeline::before { left: 30px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-item .timeline-content { order: 2 !important; }
  .timeline-item .timeline-spacer { display: none !important; }
  .timeline-dot { margin: 0; }
  .zahnbehandlung-feature { grid-template-columns: 1fr; }
  .detail-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { align-items: stretch; }
  .hero-cards-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .appointment-inner { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-card { max-width: 100%; }
  .zahnbehandlung-feature { padding: 32px 24px; }
  .legal-card { padding: 28px 24px; }
  .emergency-inner { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .detail-header { padding: 28px 24px 20px; }
  .detail-body { padding: 24px; }
  .detail-footer { padding: 16px 24px 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cards-row { grid-template-columns: 1fr; }
  .zahninfo-grid { grid-template-columns: 1fr; }
  .img-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery.two, .detail-gallery.multi { grid-template-columns: 1fr; }
}
