/* =====================================================
   KONTAKT PAGE STYLES
===================================================== */

/* ---- LIVE STANDORTE ---- */
.slive-section {
  background: var(--cream);
  padding: 64px 28px 72px;
}
.slive-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.slive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.slive-card:hover { box-shadow: var(--shadow); }

/* Top bar — location identity */
.slive-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
}
.slive-card--soeflingen .slive-topbar { background: var(--dark); }
.slive-card--kuhberg   .slive-topbar { background: var(--stone); }

.slive-num {
  font-family: var(--ff-serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}
.slive-topbar-text strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}
.slive-topbar-text span {
  display: block;
  font-size: 0.71rem;
  color: rgba(255,255,255,0.52);
  margin-top: 5px;
  letter-spacing: 0.03em;
}

.slive-body { padding: 30px 30px 30px; }

/* Zwei Status nebeneinander: Praxis + Telefon */
.slive-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.slive-status-lbl {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Live badge — zwei Zeilen: Zustand + nächste Zeit */
.slive-badge {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  min-height: 28px;
}
.sb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  transition: background 0.4s;
}
.slive-badge--open    .sb-dot { background: #27ae60; box-shadow: 0 0 0 3px rgba(39,174,96,0.20); }
.slive-badge--closed  .sb-dot { background: #aaa; }
.slive-badge--break   .sb-dot { background: #d4910a; box-shadow: 0 0 0 3px rgba(212,145,10,0.20); }
.slive-badge--special .sb-dot { background: #999; }

.sb-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sb-main {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.slive-badge--open    .sb-main { color: #1a7a42; }
.slive-badge--closed  .sb-main { color: var(--muted); }
.slive-badge--break   .sb-main { color: #8a5d00; }
.slive-badge--special .sb-main { color: var(--muted); }

.sb-next {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}

/* Phone — the biggest, most prominent element */
.slive-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-serif);
  font-size: 2.05rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.slive-phone:hover { color: var(--stone); }
.slive-phone svg { width: 22px; height: 22px; color: var(--stone); flex-shrink: 0; }

/* Address */
.slive-addr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-style: normal;
  font-size: 0.87rem;
  color: var(--dark-mid);
  line-height: 1.55;
}
.slive-addr svg { width: 14px; height: 14px; color: var(--stone); margin-top: 2px; flex-shrink: 0; }
.slive-addr small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

.slive-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Time blocks */
.slive-zblock { margin-bottom: 16px; }
.slive-zblock:last-child { margin-bottom: 0; }

.slive-zhead {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.slive-zhead svg { width: 12px; height: 12px; color: var(--stone); flex-shrink: 0; }

.slive-zsub {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.69rem;
  color: var(--muted);
}
.slive-zsub--warn {
  color: #8a4f00;
  background: rgba(138,79,0,0.09);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Time table rows */
.slive-tt {}
.stt-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
.stt-row:last-child { border-bottom: none; }
.stt-d { font-weight: 600; color: var(--dark); }
.stt-t { color: var(--muted); }

/* Sprechstunde block — visually distinct */
.slive-zblock--termin {
  background: rgba(115,106,99,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px 10px;
}
.slive-zblock--termin .slive-zhead { color: var(--dark-mid); }
.slive-zblock--termin .stt-row { border-bottom-color: rgba(115,106,99,0.12); }

.slive-termin-hint {
  font-size: 0.75rem;
  color: var(--stone);
  margin-top: 10px;
  line-height: 1.4;
}
.slive-termin-hint a { color: var(--stone); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.slive-termin-hint a:hover { color: var(--dark); }

/* ---- KONTAKT / TERMINFORMULAR ---- */
.kontakt-section {
  background: var(--white);
  padding: 80px 28px;
}
.kontakt-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.kontakt-details .eyebrow { margin-bottom: 20px; }
.kontakt-details h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 16px;
}
.kontakt-details h2 em { font-style: italic; color: var(--stone); }
.kontakt-details .body-lg { margin-bottom: 36px; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.ccard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.ccard:hover { border-color: var(--border-str); box-shadow: var(--shadow-sm); }
.ccard-icon {
  width: 42px; height: 42px;
  background: var(--stone);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ccard-icon svg { width: 19px; height: 19px; }
.ccard-text strong { display: block; font-size: 0.70rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ccard-text a, .ccard-text span { font-size: 0.95rem; font-weight: 500; color: var(--dark); transition: color var(--transition); }
.ccard-text a:hover { color: var(--stone); }
.ccard-phone-status { margin-top: 6px; font-size: 0.78rem; }
.ccard-phone-status .sb-dot { width: 7px; height: 7px; }
.ccard-phone-status .sb-main { font-size: 0.78rem; }
.ccard-phone-status .sb-next { font-size: 0.70rem; }

.kontakt-map-form {}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}
.contact-form h3 { font-family: var(--ff-serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.contact-form p { font-size: 0.84rem; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-sans);
  font-size: 0.90rem;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--stone); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.74rem; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.form-submit { width: 100%; justify-content: center; }

/* ---- STANDORTE DETAIL CARDS ---- */
.standorte-section {
  background: var(--cream-dark);
  padding: 80px 28px;
}
.standorte-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.standort-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.standort-detail-card:hover { box-shadow: var(--shadow); }
.sdc-header {
  background: var(--stone);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sdc-header h3 { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 600; color: var(--white); }
.sdc-header span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.sdc-body { padding: 26px; }
.sdc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: var(--dark-mid);
}
.sdc-row svg { width: 15px; height: 15px; color: var(--stone); margin-top: 2px; flex-shrink: 0; }
.sdc-row a { color: var(--stone); }
.sdc-divider { height: 1px; background: var(--border); margin: 18px 0; }
.sdc-map { height: 220px; overflow: hidden; }
.sdc-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- NOTRUF ---- */
.notruf-section {
  background: var(--dark);
  padding: 64px 28px;
}
.notruf-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.notruf-inner .eyebrow { color: var(--taupe); margin-bottom: 18px; }
.notruf-inner h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 32px;
}
.notruf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.notruf-card {
  padding: 20px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.notruf-card:hover { background: rgba(255,255,255,0.09); }
.notruf-card .n-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.42); }
.notruf-card .n-num { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 500; line-height: 1; }
.notruf-card .n-desc { font-size: 0.72rem; color: rgba(255,255,255,0.46); text-align: center; line-height: 1.4; }
.notruf-card.emergency .n-num { color: #ff6b6b; }
.notruf-card.normal .n-num { color: rgba(250,248,244,0.85); }

/* ---- DUAL MAP ---- */
.map-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 420px;
}
.map-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map-panel + .map-panel {
  border-left: 2px solid var(--dark);
}
.map-panel iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
}
.map-panel-hdr {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.map-panel-hdr--soe { background: var(--dark); }
.map-panel-hdr--kuh { background: var(--stone); }
.mph-info strong { display: block; font-family: var(--ff-serif); font-size: 1.1rem; color: var(--white); }
.mph-info span { font-size: 0.73rem; color: rgba(255,255,255,0.48); }
.mph-route { font-size: 0.74rem; font-weight: 600; color: rgba(255,255,255,0.65); white-space: nowrap; transition: color var(--transition); }
.mph-route:hover { color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .slive-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .kontakt-inner,
  .standorte-row { grid-template-columns: 1fr; gap: 40px; }
  .notruf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .slive-section { padding: 48px 20px 56px; }
  .kontakt-section,
  .standorte-section,
  .notruf-section { padding: 56px 20px; }
  .contact-form { padding: 24px 18px; }
  .sdc-header, .sdc-body { padding: 20px; }
  .map-canvas-section { height: 320px !important; }
  .map-dual { grid-template-columns: 1fr; height: 560px; }
  .map-panel + .map-panel { border-left: none; border-top: 2px solid var(--dark); }
}
@media (max-width: 640px) {
  .slive-topbar { padding: 18px 20px; gap: 14px; }
  .slive-num { font-size: 2rem; }
  .slive-topbar-text strong { font-size: 1.25rem; }
  .slive-body { padding: 18px 20px 22px; }
  .slive-phone { font-size: 1.6rem; }
  .stt-row { grid-template-columns: 44px 1fr 1fr; font-size: 0.79rem; }
  .form-row { grid-template-columns: 1fr; }
  .ccard { align-items: flex-start; gap: 12px; padding: 14px; }
  .ccard-icon { width: 36px; height: 36px; }
  .map-canvas-section { height: 280px !important; }
}
