/* Spitex Herz Klopf — shared stylesheet for Unterseiten (Leistungen, FAQ) */

* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #C08B5C;
  --red-deep: #A67340;
  --red-soft: #F5EAD8;
  --ink: #1a2f4a;
  --ink-soft: #4a6080;
  --ink-mute: #8696ad;
  --cream: #FFFEF9;
  --cream-deep: #F7F0E4;
  --paper: #FEFCF8;
  --bone: #ece4d2;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ══════════ NAV ══════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 249, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,47,74,0.08);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-mark { width: 30px; height: 26px; }
.nav-name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: 0.005em; }
.nav-links { display: flex; gap: 26px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 13.5px; color: var(--ink); align-items: center; }
.nav-links a { color: inherit; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: 10px; opacity: 0.6; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: -16px;
  background: var(--cream); border: 1px solid rgba(26,47,74,0.1); border-radius: 6px;
  box-shadow: 0 8px 32px rgba(26,47,74,0.1); padding: 8px 0; min-width: 210px; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
/* Reale Brücke über die 14px-Lücke zum Menü. Ein ::before reicht hier nicht —
   .nav-inner gewinnt das Hit-Testing, und die Maus verliert :hover unterwegs. */
.nav-bridge {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  width: 220px;
  height: 16px;
}
.nav-dropdown:hover .nav-bridge { display: block; }
.nav-dropdown:focus-within .nav-bridge { display: block; }
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 9px 20px; font-size: 13.5px; color: var(--ink); text-decoration: none; transition: background 0.15s, color 0.15s; }
.nav-dropdown-menu a:hover { background: var(--red-soft); color: var(--red-deep); }
.nav-dropdown-menu a.active { font-weight: 600; color: var(--red); }
.nav-cta { padding: 10px 18px; background: var(--red); color: white; text-decoration: none; border-radius: 4px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; transition: background 0.2s, transform 0.2s; white-space: nowrap; flex-shrink: 0; }
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ══════════ BREADCRUMB ══════════ */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid rgba(26,47,74,0.06); background: var(--cream); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.breadcrumb-inner a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner span { color: var(--ink); }

/* ══════════ PAGE HERO ══════════ */
.page-hero {
  padding: 80px 0 72px;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: rgba(253,250,243,0.5); margin-bottom: 20px; }
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: #C08B5C; }
.page-hero-lede { font-size: 18px; line-height: 1.65; color: rgba(253,250,243,0.8); max-width: 640px; }
.page-hero-tagline { margin-top: 28px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: #C08B5C; }

/* ══════════ SECTIONS ══════════ */
.section { padding: 80px 0; }
.section-alt { background: var(--paper); }
.section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 12px 0 24px;
}
.section h2 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--red); }
.section p { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }

/* ══════════ LISTS / GRIDS ══════════ */
.list-clean { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.list-clean li { position: relative; padding-left: 18px; font-size: 15.5px; color: #444; line-height: 1.5; }
.list-clean li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.card { background: white; border: 1px solid rgba(26,47,74,0.08); border-radius: 8px; padding: 32px 28px; }
.card h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.65; color: #555; margin: 0; }
.card-icon { width: 36px; height: 36px; background: var(--red-soft); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }

/* ══════════ QUOTE / HALTUNG ══════════ */
.haltung {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 36px 40px;
  margin-top: 8px;
}
.haltung p { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink); margin: 0; }

.quality-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.quality-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px;
  background: white; border: 1px solid rgba(26,47,74,0.07); border-radius: 6px;
  font-size: 15px; color: #444;
}
.quality-item::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 16px; flex-shrink: 0; }

.quality-block { background: var(--ink); color: var(--cream); border-radius: 8px; padding: 40px 44px; margin-top: 40px; }
.quality-block .eyebrow { color: rgba(253,250,243,0.5); margin-bottom: 12px; }
.quality-block p { color: rgba(253,250,243,0.85); font-size: 16px; line-height: 1.7; margin: 0; }

/* ══════════ FAQ ══════════ */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.faq-item { background: white; border: 1px solid rgba(26,47,74,0.08); border-radius: 8px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 26px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 400; font-size: 22px; color: var(--red); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { border-bottom: 1px solid rgba(26,47,74,0.07); }
.faq-body { padding: 20px 26px 26px; }
.faq-body p { font-size: 15.5px; line-height: 1.7; color: #444; margin-bottom: 14px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 14px 0 0; }
.faq-body li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #444; line-height: 1.5; }
.faq-body li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 7px; }

/* ══════════ HOURS ══════════ */
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.hours-card { background: white; border: 1px solid rgba(26,47,74,0.08); border-radius: 8px; padding: 26px 28px; }
.hours-card .eyebrow { margin-bottom: 10px; }
.hours-card strong { display: block; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 6px; }
.hours-card span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ══════════ KARTEN-LINKS (Leistungsübersicht) ══════════ */
.card-link { display: block; text-decoration: none; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.card-link:hover { border-color: rgba(192,139,92,0.5); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,47,74,0.06); }
.card-more { display: inline-block; margin-top: 16px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); }

/* ══════════ TEAM ══════════ */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.team-card { background: white; border: 1px solid rgba(26,47,74,0.1); border-radius: 8px; padding: 34px 32px; }
.team-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; color: white;
  letter-spacing: 0.05em; margin-bottom: 22px;
}
.team-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.015em; }
.team-qual { font-size: 14.5px; color: var(--ink-soft); margin-top: 5px; }
.team-role {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; line-height: 1.7;
}
.team-contact {
  display: flex; flex-direction: column; gap: 7px; margin-top: 22px;
  padding-top: 20px; border-top: 1px solid rgba(26,47,74,0.1);
}
.team-contact a { color: var(--ink); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.team-contact a:hover { color: var(--red); }

/* ══════════ CONTACT / CTA ══════════ */
.contact-strip { padding: 64px 0; background: var(--cream-deep); border-top: 1px solid rgba(26,47,74,0.07); }
.contact-strip .eyebrow { margin-bottom: 12px; }
.contact-strip h2 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.025em; color: var(--ink); margin-bottom: 12px; }
.contact-strip h2 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--red); }
.contact-strip p { font-size: 16px; color: var(--ink-soft); margin-bottom: 28px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  background: var(--red); color: white; text-decoration: none; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }

.cta-strip { padding: 80px 0; background: var(--red); color: white; text-align: center; }
.cta-strip .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.cta-strip h2 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-strip h2 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: rgba(255,255,255,0.85); }
.cta-strip p { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: rgba(255,255,255,0.9); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  background: white; color: var(--red); text-decoration: none; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-1px); }

/* ══════════ FOOTER ══════════ */
footer { background: var(--ink); color: var(--cream); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { margin-bottom: 4px; }
.footer-brand p { color: rgba(253,250,243,0.6); font-size: 14px; line-height: 1.6; max-width: 300px; margin: 16px 0 14px; }
.footer-tagline { font-family: 'Instrument Serif', serif; font-style: italic; color: #C08B5C; font-size: 16px; }
.footer-col h4 { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(253,250,243,0.4); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--cream); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #C08B5C; }
.footer-col li { color: rgba(253,250,243,0.75); font-size: 14px; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(253,250,243,0.1); display: flex; justify-content: space-between; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(253,250,243,0.5); }

/* ══════════ SPEZIALPFLEGE — Fachbereiche ══════════ */
.fach-grid { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.fach {
  background: white;
  border: 1px solid rgba(26,47,74,0.08);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 30px 30px 26px;
}
.fach h3 {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18.5px;
  color: var(--ink); line-height: 1.35; margin-bottom: 14px;
}
.fach-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red-soft); display: flex; align-items: center;
  justify-content: center; font-size: 16px; line-height: 1;
}
.fach-intro { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 4px; }
.fach-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.fach-list li {
  font-size: 14.8px; line-height: 1.65; color: #555;
  padding-left: 18px; border-left: 1px solid var(--bone);
}
.fach-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }

/* ══════════ TAXORDNUNG — TarifTabellen ══════════ */
.table-scroll { overflow-x: auto; margin-top: 36px; -webkit-overflow-scrolling: touch; }
.tarif-table {
  width: 100%; min-width: 660px; border-collapse: collapse;
  background: white; border: 1px solid rgba(26,47,74,0.1); border-radius: 8px;
}
.tarif-table th {
  text-align: left; vertical-align: bottom;
  font-family: 'DM Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 14px 20px; background: var(--cream-deep);
  border-bottom: 1px solid rgba(26,47,74,0.12);
}
.tarif-table td {
  vertical-align: top; padding: 18px 20px; font-size: 14.5px; line-height: 1.55;
  color: #555; border-bottom: 1px solid rgba(26,47,74,0.07);
}
.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table td strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.tarif-table td span { display: block; }
.tarif-cell { white-space: normal; }
.tarif-cell strong { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--red-deep); white-space: nowrap; }
.tarif-note { font-size: 12.5px; color: var(--ink-mute); line-height: 1.45; }
.tarif-payer { font-size: 13.5px; color: var(--ink-soft); }
.tarif-hinweis {
  margin-top: 32px; padding: 26px 28px;
  background: var(--red-soft); border-radius: 8px;
}
.tarif-hinweis h3 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--ink); margin-bottom: 8px;
}
.tarif-hinweis p { font-size: 14.5px; line-height: 1.65; color: #4a3a2a; margin: 0; }
.tarif-hinweis strong { color: var(--red-deep); }

/* ══════════ RECHTSTEXTE ══════════ */
.legal h3 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--ink); margin: 32px 0 10px; letter-spacing: -0.01em;
}
.legal .haltung h3 { margin-top: 0; }
.legal p strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--red-deep); }
.legal .list-clean li strong { color: var(--ink); }
/* Sichtbare Luecke: faellt auf, wenn eine Angabe noch fehlt. */
mark.todo {
  background: #FFF3B0; color: #6b5200; padding: 1px 7px; border-radius: 3px;
  font-family: 'DM Mono', monospace; font-size: 12.5px; font-weight: 500;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #C08B5C; }

/* Auf dem Handy wird die Tabelle zur Liste — seitliches Scrollen wuerde die
   Preisspalte verstecken. */
@media (max-width: 700px) {
  .table-scroll { overflow-x: visible; }
  .tarif-table { min-width: 0; display: block; border-radius: 8px; overflow: hidden; }
  .tarif-table thead { display: none; }
  .tarif-table tbody, .tarif-table tr, .tarif-table td { display: block; width: 100%; }
  .tarif-table tr { padding: 8px 0 14px; border-bottom: 1px solid rgba(26,47,74,0.1); }
  .tarif-table tr:last-child { border-bottom: none; }
  .tarif-table td { padding: 8px 20px; border-bottom: none; }
  .tarif-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .tarif-cell strong { font-size: 17px; }
}

/* Hervorgehobener letzter Eintrag im Leistungen-Dropdown */
.nav-dropdown-menu a.nav-feature {
  border-top: 1px solid var(--bone); margin-top: 6px; padding-top: 12px;
  font-weight: 600; color: var(--red-deep);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .fach { padding: 24px 22px 22px; }
  .fach h3 { font-size: 17px; }
  .tarif-hinweis { padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-hero { padding: 56px 0 48px; }
  .quality-block { padding: 28px 24px; }
}
