/* ============================================================
   Dr. Herzberg · Shared Components (kanonisch, Quelle: index.html)
   Nav · Buttons · Mobile-Menü · Footer · acessio-Badge ·
   WhatsApp-Sticky · Video-Cards · Final-CTA · Reveal · Trust-Zeile
   Wird auf JEDER Seite NACH den Seiten-Styles geladen.
   ============================================================ */

/* ── Design-Tokens (Fallback für Seiten ohne .dh-root) ── */
:root {
  --dh-blue: #0E9C8F;
  --dh-blue-2: #086E64;
  --dh-blue-3: #2DBFB1;
  --dh-blue-4: #7FD9CE;
  --dh-blue-soft: #E6F7F5;
  --dh-blue-mist: #F2FBFA;
  --dh-paper: #FFFFFF;
  --dh-paper-2: #FAFAF7;
  --dh-paper-3: #EFEFE9;
  --dh-ink: #18221F;
  --dh-ink-2: #2E3935;
  --dh-ink-3: #5E6863;
  --dh-ink-4: #93999B;
  --dh-line: rgba(24,34,31,0.08);
  --dh-line-2: rgba(14,156,143,0.22);
  --dh-shadow-md: 0 1px 3px rgba(15,26,36,0.05), 0 12px 32px rgba(15,26,36,0.06);
  --dh-shadow-blue: 0 6px 20px rgba(31,107,176,0.22);
  --dh-radius: 12px;
  --dh-radius-lg: 22px;
  --dh-pad: clamp(1.2rem, 4vw, 2.4rem);
  --dh-max: 1180px;
  --dh-col: 760px;
  --dh-col-head: 620px;
}

/* ── Komponenten-Reset (Seiten ohne .dh-root-Reset, z. B. Rechtsseiten) ── */
.dh-nav, .dh-nav *,
.dh-mobile-menu, .dh-mobile-menu *,
.dh-footer, .dh-footer *,
.dh-wa-wrap, .dh-wa-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.dh-nav a, .dh-mobile-menu a, .dh-footer a { text-decoration: none; }
.dh-nav img, .dh-footer img { max-width: 100%; height: auto; display: block; }
.dh-nav button, .dh-mobile-menu button {
  font-family: inherit; cursor: pointer; border: none; background: none; color: inherit;
}

/* ────────── Nav (kanonisch) ────────── */
.dh-nav {
  position: sticky; top: 0; z-index: 250;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--dh-line);
  padding: 0 var(--dh-pad);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.dh-nav-inner {
  max-width: var(--dh-max);
  margin: 0 auto;
  width: 100%;
  padding: 0.85rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.dh-nav-logo { position: relative; display: inline-flex; }
.dh-nav-logo img { height: 42px; width: auto; display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1); animation: dhLogoIn .7s ease both; }
.dh-nav-logo:hover img { transform: scale(1.04); }
.dh-nav-logo-shine { display: none; }
@keyframes dhLogoIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dh-nav-links { display: none; gap: 1.8rem; font-size: 0.95rem; }
.dh-nav-links a {
  color: var(--dh-ink-2); font-weight: 500;
  padding: 0.4rem 0; transition: color 0.2s;
  white-space: nowrap;
}
.dh-nav-links a:hover { color: var(--dh-blue); }
.dh-nav-links a.is-active { color: var(--dh-blue-2); font-weight: 600; box-shadow: inset 0 -2px 0 var(--dh-blue); }

/* ── Buttons (kanonisch) ── */
.dh-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 1.02rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.25s;
  white-space: nowrap;
  min-height: 48px;
  border: none; cursor: pointer;
}
.dh-btn svg { width: 16px; height: 16px; }
.dh-btn-primary { background: var(--dh-blue); color: #fff; box-shadow: var(--dh-shadow-blue); }
.dh-btn-primary:hover { background: var(--dh-blue-2); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31,107,176,0.32); }
a.dh-btn-primary, a.dh-btn-primary:hover { color: #fff; }
/* Nav-CTA Puls (kanonisch von der Startseite) */
@keyframes dhNavPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 156, 143, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(14, 156, 143, 0); }
}
.dh-nav .dh-btn-primary { animation: dhNavPulse 2.5s ease-in-out infinite; }

/* ── Hamburger ── */
.dh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 201;
}
.dh-hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--dh-ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.dh-hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.dh-hamburger.is-open span:nth-child(2) { opacity: 0; }
.dh-hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile Menu Overlay ── */
.dh-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.dh-mobile-menu.is-open { display: flex; }
.dh-mobile-menu a {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dh-ink);
  transition: color 0.2s;
}
.dh-mobile-menu a:hover, .dh-mobile-menu a.is-active { color: var(--dh-blue); }
.dh-mobile-menu .dh-btn { font-size: 1.02rem; }

/* ── Responsive Nav (kanonisch: Links ab 860px, sonst Hamburger) ── */
@media (min-width: 860px) {
  .dh-nav-links { display: flex; }
  .dh-hamburger { display: none !important; }
}
@media (max-width: 859px) {
  .dh-nav-cta { display: none !important; }
  .dh-nav-logo img { height: 48px; }
  .dh-hamburger { display: flex !important; }
}
@media (max-width: 760px) {
  .dh-nav-logo { max-width: 64vw; }
  .dh-nav-logo img { height: auto; max-width: 100%; }
  .dh-hamburger { position: relative; z-index: 300; }
}

/* ────────── Footer (kanonisch) ────────── */
.dh-footer {
  background: #0A1A28;
  color: rgba(255,255,255,0.7);
  padding: 3rem var(--dh-pad) 1.8rem;
  font-size: 0.92rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
}
.dh-footer-inner {
  max-width: var(--dh-max);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
}
@media (min-width: 760px) { .dh-footer-inner { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; } }
.dh-footer-cred {
  margin-top: 1rem;
  font-size: 0.8rem; line-height: 1.5;
  color: rgba(255,255,255,0.42);
}
.dh-footer h5 {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.dh-footer ul { list-style: none; }
.dh-footer li { margin-bottom: 0.5rem; }
.dh-footer a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.dh-footer a:hover { color: var(--dh-blue-4); }
.dh-footer-brand { margin-bottom: 0.85rem; }
.dh-footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.dh-footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem; line-height: 1.6;
  max-width: 22rem;
}
.dh-footer-bottom {
  max-width: var(--dh-max); margin: 2.4rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}
.dh-footer-hwg {
  max-width: var(--dh-max);
  margin: 1.4rem auto 0;
  padding: 1rem var(--dh-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.48);
}

/* ── acessio-Badge: dezenter Shine + Micro-Hover ── */
.dh-acessio-badge {
  position: relative;
  display: inline-flex; align-items: center;
  margin-left: 0.75rem;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  line-height: 1;
  vertical-align: middle;
  overflow: hidden;
  isolation: isolate;
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dh-acessio-badge::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.14) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: dhAcessioShine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dhAcessioShine {
  0%   { transform: translateX(-130%); }
  12%  { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}
.dh-acessio-badge strong {
  position: relative;
  color: #00B7FF;
  font-weight: 600;
}
.dh-acessio-badge strong::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(0.22,1,0.36,1);
}
.dh-acessio-badge:hover {
  color: rgba(255,255,255,0.92);
  border-color: rgba(0,183,255,0.45);
  box-shadow: 0 0 0 1px rgba(0,183,255,0.12), 0 4px 18px rgba(0,183,255,0.14);
  transform: translateY(-1px);
  text-decoration: none;
}
.dh-acessio-badge:hover strong::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .dh-acessio-badge::after { animation: none; }
  .dh-acessio-badge, .dh-acessio-badge strong::after { transition: none; }
}
@media (max-width: 520px) {
  .dh-acessio-badge { margin-left: 0; margin-top: 0.5rem; }
}

/* ────────── WhatsApp-Sticky (kanonisch, wird per dh-shared.js injiziert) ────────── */
.dh-wa-wrap {
  position: fixed; bottom: 1.4rem; right: 1.4rem;
  z-index: 300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.dh-wa-wrap.is-raised { bottom: 5rem; }
.dh-wa-fab {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  border: 3px solid rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 0 rgba(37,211,102,0.55);
  position: relative; flex-shrink: 0;
  transition: transform 0.2s ease;
  animation: dhWaPulse 2.6s ease-out infinite;
}
@keyframes dhWaPulse {
  0%   { box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 0    rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 14px rgba(37,211,102,0);    }
  100% { box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 0 0 0    rgba(37,211,102,0);    }
}
@media (prefers-reduced-motion: reduce) { .dh-wa-fab { animation: none; } }
.dh-wa-fab:hover { transform: translateY(-2px); }
.dh-wa-fab svg { width: 28px; height: 28px; flex-shrink: 0; }
.dh-wa-fab::after { display: none; }
.dh-wa-popup {
  width: 296px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(0,0,0,0.28);
  background: #fff;
  transform: translateY(14px) scale(0.96); opacity: 0; visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s, visibility 0.22s;
  transform-origin: bottom right;
}
.dh-wa-popup.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.dh-wa-popup-head {
  background: #086E64; padding: 15px 14px 15px 18px;
  display: flex; align-items: center; gap: 11px; color: #fff;
}
.dh-wa-popup-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.dh-wa-popup-info { flex: 1; min-width: 0; }
.dh-wa-popup-info strong { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.dh-wa-popup-info span { font-size: 11px; opacity: 0.75; }
.dh-wa-popup-close {
  background: none; border: none; color: rgba(255,255,255,0.65);
  cursor: pointer; font-size: 17px; line-height: 1; padding: 4px 6px;
  transition: color 0.15s; flex-shrink: 0;
}
.dh-wa-popup-close:hover { color: #fff; }
.dh-wa-popup-body { background: #f0ebe3; padding: 18px 16px 16px; }
.dh-wa-popup-bubble {
  background: #fff; border-radius: 0 12px 12px 12px;
  padding: 11px 14px; font-size: 13.5px; line-height: 1.58;
  color: #18221F; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: inline-block; position: relative;
}
.dh-wa-popup-bubble::before {
  content: ""; position: absolute; left: -7px; top: 0;
  border-width: 0 7px 7px 0; border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.dh-wa-popup-foot { padding: 13px 16px 15px; background: #fff; }
.dh-wa-popup-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; border-radius: 10px;
  background: #25D366; color: #fff; font-size: 14.5px; font-weight: 700;
  text-decoration: none; transition: background 0.15s;
}
.dh-wa-popup-cta:hover { background: #1da851; color: #fff; }
.dh-wa-popup-cta svg { width: 19px; height: 19px; flex-shrink: 0; }
/* Mobile: FAB bleibt sichtbar (52px), Popup füllt Breite.
   Überschreibt ältere Seiten-Regeln, die den Sticky mobil versteckt haben. */
@media (max-width: 859px) {
  .dh-wa-wrap { display: flex !important; }
  .dh-wa-wrap .dh-wa-fab { display: flex !important; }
}
@media (max-width: 700px) {
  .dh-wa-fab { width: 52px; height: 52px; }
  .dh-wa-popup { width: calc(100vw - 32px); }
}

/* ────────── Video-Cards + Final-CTA (für „Noch Fragen"-Block) ────────── */
.dh-video-card-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: center;
  margin-top: 2.4rem;
}
@media (min-width: 860px) {
  .dh-video-card-grid { grid-template-columns: 1.2fr 1fr; }
  .dh-video-card-grid.flip { grid-template-columns: 1fr 1.2fr; }
}
.dh-video-card-grid .dh-video-card-wrap { min-width: 0; }
.dh-video-card-wrap { max-width: 100%; margin: 0 auto; }
.dh-video-card-player {
  display: block; width: 100%;
  aspect-ratio: 16/9;
  border: none; padding: 0;
  background: var(--dh-paper-3);
  border-radius: var(--dh-radius-lg) var(--dh-radius-lg) 0 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.dh-video-card-player:hover { transform: translateY(-3px); }
.dh-video-card-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-video-card-player .dh-hero-play { width: 72px; height: 72px; }
.dh-video-card-player .dh-hero-play svg { width: 30px; height: 30px; margin-left: 4px; }
.dh-video-card-label {
  background: #fff;
  border: 1px solid var(--dh-line);
  border-top: none;
  border-radius: 0 0 var(--dh-radius-lg) var(--dh-radius-lg);
  padding: 0.85rem 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: left;
}
.dh-video-card-label strong {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--dh-ink); display: block; line-height: 1.25;
}
.dh-video-card-label span {
  font-size: 0.8rem; color: var(--dh-blue);
  font-weight: 500; display: block; margin-top: 0.2rem;
}
.dh-video-card-label .dh-video-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dh-blue);
  background: var(--dh-blue-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.35rem;
}
.dh-hero-video-trigger {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.dh-hero-video-trigger:hover { transform: translateY(-3px); }
.dh-hero-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 44px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12);
  color: var(--dh-blue-2);
  z-index: 3;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.dh-hero-play svg { width: 34px; height: 34px; margin-left: 5px; }
.dh-hero-video-trigger:hover .dh-hero-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
  box-shadow: 0 18px 52px rgba(0,0,0,0.32), 0 4px 12px rgba(0,0,0,0.16);
}
.dh-cta-final {
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(45,191,177,0.22) 0%, transparent 60%),
    radial-gradient(600px 500px at 10% 100%, rgba(127,217,206,0.12) 0%, transparent 60%),
    var(--dh-blue-2);
  color: #fff;
}
.dh-cta-final .dh-section-eyebrow { color: rgba(255,255,255,0.7); }
.dh-cta-final-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dh-cta-final-btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}
a.dh-cta-final-btn-ghost, a.dh-cta-final-btn-ghost:hover { color: #fff; }
@media (max-width: 700px) {
  .dh-cta-final .dh-video-card-grid { text-align: center; }
  .dh-video-card-player { aspect-ratio: 16/9; }
}

/* ── Reveal (kanonisch) ── */
.dh-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.25,0.1,0.25,1), transform 0.7s cubic-bezier(0.25,0.1,0.25,1);
}
.dh-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .dh-reveal { opacity: 1; transform: none; transition: none; }
}

/* ────────── Reviews-Trust-Zeile (Google-Logo + Verifikationstext) ────────── */
.dh-trust-verified {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--dh-ink-3);
  flex-wrap: wrap;
}
.dh-trust-verified .dh-g-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.dh-trust-verified .dh-g-logo svg { width: 16px; height: 16px; display: block; }
.dh-cta-final .dh-trust-verified,
.dh-reviews-bar-text .dh-trust-verified { margin-top: 0.15rem; }
.dh-cta-final .dh-trust-verified { color: rgba(255,255,255,0.75); justify-content: center; }
