/* =============================================
   ordination-bhalla – Stylesheet
   Warm & Modern, German medical practice
   ============================================= */

:root {
  --primary:       #8B5E3C;
  --primary-dark:  #6E4A2D;
  --accent:        #C8A882;
  --accent-light:  #E8D8C4;
  --bg:            #FAF7F4;
  --bg-card:       #F0EBE3;
  --bg-warm:       #EFE8DF;
  --text:          #2C2C2C;
  --text-muted:    #6B6B6B;
  --white:         #FFFFFF;
  --border:        #DDD0C0;
  --shadow:        0 4px 24px rgba(139, 94, 60, 0.10);
  --shadow-hover:  0 8px 32px rgba(139, 94, 60, 0.18);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    0.25s ease;
  --max-width:     1140px;
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Lato', system-ui, sans-serif;
}

/* =============================================
   THEME 2 – SAGE (Waldgrün / Mint)
   ============================================= */
[data-theme="sage"] {
  --primary:       #3D6B57;
  --primary-dark:  #2E5242;
  --accent:        #7FB5A0;
  --accent-light:  #C2DDD6;
  --bg:            #F4F8F6;
  --bg-card:       #E8F2EE;
  --bg-warm:       #E0EDE8;
  --border:        #BDD4CB;
  --shadow:        0 4px 24px rgba(61, 107, 87, 0.10);
  --shadow-hover:  0 8px 32px rgba(61, 107, 87, 0.18);
}
[data-theme="sage"] .hero {
  background: linear-gradient(135deg, #7FB5A0 0%, #3D6B57 45%, #1E4030 100%);
}
[data-theme="sage"] .page-banner {
  background: linear-gradient(135deg, #7FB5A0 0%, #3D6B57 100%);
}

/* =============================================
   THEME 3 – SLATE (Navy / Gold)
   ============================================= */
[data-theme="slate"] {
  --primary:       #2C4A6E;
  --primary-dark:  #1E3550;
  --accent:        #C4A44A;
  --accent-light:  #E8D9A8;
  --bg:            #F5F6F8;
  --bg-card:       #EBEEF3;
  --bg-warm:       #E4E8F0;
  --border:        #C8CDD9;
  --shadow:        0 4px 24px rgba(44, 74, 110, 0.10);
  --shadow-hover:  0 8px 32px rgba(44, 74, 110, 0.18);
}
[data-theme="slate"] .hero {
  background: linear-gradient(135deg, #5B8AB5 0%, #2C4A6E 45%, #101E30 100%);
}
[data-theme="slate"] .page-banner {
  background: linear-gradient(135deg, #5B8AB5 0%, #2C4A6E 100%);
}

/* =============================================
   THEME SWITCHER UI
   ============================================= */
.theme-switcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}

.theme-switcher-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.theme-swatches {
  display: flex;
  gap: 0.45rem;
}

.theme-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, border-color 0.2s;
}

.theme-swatch:hover { transform: scale(1.2); }
.theme-swatch.active { border-color: var(--text); transform: scale(1.1); }

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }

/* LAYOUT */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 72px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(139, 94, 60, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

@media (hover: hover) {
  .main-nav a:hover::after { width: 100%; }
  .main-nav a:hover { color: var(--primary); }
}
.main-nav a.active::after { width: 100%; }

/* Dropdown */
.main-nav .dropdown {
  display: block;
}

.main-nav .has-dropdown { position: relative; }

.main-nav .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.main-nav .has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(139,94,60,0.15);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.5rem 0;
  padding-top: calc(0.5rem + 12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.main-nav .dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: none;
  font-weight: 400;
  border-bottom: none;
}

.main-nav .dropdown li a::after { display: none; }

.main-nav .dropdown li a:hover {
  color: var(--primary);
  background: var(--bg-card);
}

/* Dropdown-Pfeil oben */
.main-nav .dropdown::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
  filter: drop-shadow(0 -1px 0 var(--border));
}

.header-cta { font-size: 0.82rem; padding: 0.6rem 1.3rem; }

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #C8A882 0%, #8B5E3C 40%, #4A3020 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,28,14,0.3) 0%, rgba(44,28,14,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
  padding: 3rem 1.5rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-doctors {
  font-size: 1.1rem;
  color: var(--accent-light);
  margin-bottom: 2.5rem;
  font-style: italic;
  font-family: var(--font-heading);
}

/* =============================================
   AKTUELLES
   ============================================= */
.aktuelles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.aktuelles-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.aktuelles-datum {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.aktuelles-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.aktuelles-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.aktuelles-empty {
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  padding: 2rem 0;
  grid-column: 1 / -1;
}

/* =============================================
   ÖFFNUNGSZEITEN
   ============================================= */
.oeffnungszeiten-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.oeffnungszeiten-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.oeffnungszeiten-table tr.geschlossen .zeiten {
  color: var(--text-muted);
  font-style: italic;
}

.oeffnungszeiten-table td {
  padding: 0.9rem 1.5rem;
  text-align: left;
}

.oeffnungszeiten-table .tag {
  font-weight: 700;
  color: var(--primary);
  width: 38%;
}

.oeffnungszeiten-table .zeiten {
  color: var(--text);
}

.oeffnungszeiten-hinweis {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
}

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

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

.team-photo {
  height: 280px;
  background: linear-gradient(135deg, var(--accent-light), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-info {
  padding: 1.75rem;
}

.team-info h3 {
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.team-title {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-photo-img {
  background: var(--bg-card);
  padding: 0;
}

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

.team-details {
  margin-top: 0.5rem;
}

.team-details summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  user-select: none;
}

.team-details summary::-webkit-details-marker { display: none; }

.team-details summary::after {
  content: '▾';
  transition: transform var(--transition);
  font-size: 1rem;
  color: var(--accent);
}

.team-details[open] summary::after {
  transform: rotate(180deg);
}

.team-details-body {
  padding: 0.75rem 0 0.25rem;
}

.team-details-body h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

.team-details-body h4:first-child { margin-top: 0; }

.team-details-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 0;
}

.team-details-body ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.team-details-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* =============================================
   LEISTUNGEN – TABS (Reiter)
   ============================================= */
.leistungen-tabs {
  max-width: 780px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}

.tab-btn {
  padding: 0.9rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

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

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.tab-panel.active {
  display: block;
}

.leistung-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.leistung-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent-light);
}

.leistung-list li strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.leistung-list li p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.li-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.li-header h2 { margin-bottom: 0; }

.li-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--accent-light);
  color: var(--primary-dark);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}

.li-tag-cost {
  background: #FFF3E0;
  color: #7A4500;
}

.li-hinweis {
  margin-top: 0.75rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.li-hinweis-warn {
  background: #FFF3E0;
  border-left-color: #E8841A;
  font-size: 1rem;
}

.li-kosten {
  margin-top: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.li-kosten ul { margin-top: 0.4rem; }

.leistung-section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin: 3rem 0 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.apotheke-bestellung-box {
  margin-top: 3rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}

.apotheke-bestellung-box h2 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.apotheke-bestellung-box p {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontakt-block {
  margin-bottom: 2rem;
}

.kontakt-block h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.kontakt-block p {
  color: var(--text);
  line-height: 1.8;
}

.kontakt-block a {
  color: var(--primary);
}

.kontakt-block a:hover { color: var(--primary-dark); text-decoration: underline; }
.kontakt-block a.btn { text-decoration: none; }
.kontakt-block a.btn-primary { color: var(--white); }
.kontakt-block a.btn-primary:hover { color: var(--white); }
.kontakt-block a.btn-outline { color: var(--primary); }
.kontakt-block a.btn-outline:hover { color: var(--white); }

.kontakt-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #B8ADA4; }

.kontakt-map {
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

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

.map-consent {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}

.map-consent svg {
  color: var(--accent);
}

.map-consent p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 280px;
}

.anfahrt-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: start;
}

.anfahrt-map {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.anfahrt-route-btn {
  border-radius: 0 !important;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1rem;
  border-top: none !important;
}

@media (max-width: 900px) {
  .anfahrt-map { height: 280px; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 500;
}

.footer-address {
  font-size: 0.875rem;
}

.footer-address a {
  color: rgba(255,255,255,0.7);
}
.footer-address a:hover { color: var(--accent); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0.5rem 0;
  padding: 0 1rem;
}

.footer-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-map {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 247, 244, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
  }

  .main-nav.open {
    max-height: 400px;
    padding: 1rem 0 1.5rem;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem;
  }

  .main-nav li a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
  }

  .header-cta { display: none; }

  .hero { min-height: 70vh; }

  /* Mobile Dropdown — alles resetten, auch :hover (höhere Spezifität überschreiben) */
  .main-nav .dropdown,
  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown {
    position: static !important;
    transform: none !important;
    left: auto !important;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent-light);
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    padding: 0 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: unset;
  }

  .main-nav .dropdown::before { display: none; }

  .main-nav .has-dropdown.dropdown-open .dropdown,
  .main-nav .has-dropdown.dropdown-open:hover .dropdown {
    max-height: 200px;
  }

  .main-nav .dropdown li a {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
  }

  .main-nav .has-dropdown > a { justify-content: space-between; }

  .team-grid { grid-template-columns: 1fr; max-width: 400px; }

  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .oeffnungszeiten-table td { padding: 0.75rem 1rem; }
}

/* =============================================
   PAGE BANNER (Inner pages)
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, #C8A882 0%, #8B5E3C 100%);
  padding: 1.75rem 0 1.5rem;
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 0.4rem;
}

.breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb { display: none; }

/* =============================================
   HERO ACTIONS (2 buttons)
   ============================================= */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* =============================================
   HOME TEAM BILD (Startseite)
   ============================================= */
.home-team-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-team-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 3;
}

.home-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.home-team-img-wrap:hover .home-team-img {
  transform: scale(1.03);
}

.home-team-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--primary);
  margin: 0.5rem 0 1rem;
}

.home-team-text p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .home-team-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =============================================
   LEISTUNGEN TEASER (Startseite)
   ============================================= */
.leistungen-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.leistung-teaser-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  border-bottom: 3px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.leistung-teaser-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-bottom-color: var(--primary);
  color: var(--text);
}

.ltc-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ltc-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.leistung-teaser-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.leistung-teaser-card p {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.ltc-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
}

/* =============================================
   LEISTUNGEN OVERVIEW (leistungen.html)
   ============================================= */
.leistungen-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.leistung-overview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.leistung-overview-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.loc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.loc-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.loc-header h2 {
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.3;
}

.loc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0;
}

.loc-list li a {
  display: inline-block;
  background: var(--bg-card);
  border-radius: 50px;
  padding: 0.25rem 0.8rem;
  font-size: 0.82rem;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.loc-list li a::before { display: none; }

.loc-list li a:hover {
  background: var(--accent-light);
  color: var(--primary);
  padding-left: 0.8rem;
}

.loc-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .leistung-overview-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .loc-btn {
    justify-self: center;
    width: 100%;
    text-align: center;
  }
}

/* =============================================
   LEISTUNGEN DETAIL (schmerztherapie etc.)
   ============================================= */
.leistung-detail-wrap {
  max-width: 820px;
}

.leistung-intro {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
}

.leistung-intro p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

.leistung-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.leistung-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 90px;
}

.leistung-item:last-child { border-bottom: none; }

.li-header h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.li-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.li-body ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.li-body ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.li-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.leistung-cta-box {
  margin-top: 3rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.leistung-cta-box p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.lcta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   TEAM PROFILE (team.html)
   ============================================= */
.team-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.team-profile-photo {
  width: 280px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--accent-light), var(--bg-card));
  flex-shrink: 0;
}

.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-photo-placeholder.large {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 3.5rem;
}

.team-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.team-profile-content h2 {
  color: var(--primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.2rem;
}

.team-subtitle {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.team-profile-bio p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.team-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  margin: 0 0 1.25rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  line-height: 1.6;
}

.team-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

.team-profile-cv {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cv-block h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.cv-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cv-block ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.cv-block ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.team-schwerpunkte {
  margin-top: 1.5rem;
}

.team-schwerpunkte h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.schwerpunkte-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.schwerpunkte-tags span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}

.cv-block-full {
  grid-column: 1 / -1;
}

.cv-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.cv-timeline {
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}

.cv-timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.cv-timeline li:last-child { padding-bottom: 0; }

.cv-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent);
}

.cv-year {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cv-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.cv-text small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.team-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

/* =============================================
   ÖFFNUNGSZEITEN compact (Kontakt)
   ============================================= */
.oeffnungszeiten-compact td { padding: 0.5rem 0.75rem; }

/* =============================================
   RESPONSIVE – additional
   ============================================= */
@media (max-width: 900px) {
  .team-profile {
    grid-template-columns: 1fr;
  }

  .team-profile-photo {
    width: 100%;
    max-width: 320px;
    height: 300px;
  }

  .team-profile-cv {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .tabs-nav { overflow-x: auto; }
  .tab-btn { padding: 0.8rem 1.2rem; font-size: 1rem; }
  .leistung-cta-box { padding: 1.5rem 1rem; }
  .lcta-actions { flex-direction: column; align-items: center; }
}
