/* ============================================================
   KAV2 Homepage – Custom Styles
   Farben: Primary #0077BB, Secondary #A855F7
   Bootstrap 5.3 data-bs-theme wird für Dark/Light genutzt.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --hp-primary: #0077BB;
  --hp-primary-dark: #005a8e;
  --hp-primary-light: #e6f3fa;
  --hp-secondary: #A855F7;
  --hp-secondary-light: #f3e8ff;
  --hp-radius: 1rem;
  --hp-radius-sm: 0.5rem;
  --hp-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --hp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --hp-transition: 0.25s ease;
}

[data-bs-theme="dark"] {
  --hp-primary-light: #0a2a3d;
  --hp-secondary-light: #2a1747;
  --hp-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  --hp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ---------- General ---------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

main {
  flex: 1;
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-section .hero-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

.hero-section .hero-subline {
  opacity: 0.9;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-section .btn-primary {
  background: #fff;
  color: var(--hp-primary);
  border-color: #fff;
}
.hero-section .btn-primary:hover {
  background: #f0f0f0;
  color: var(--hp-primary-dark);
}

.hero-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero-section .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.hero-small {
  padding: 3rem 0 2.5rem;
}

.hero-small .hero-headline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* ---------- Feature Cards ---------- */
.feature-card {
  border: none;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  transition: transform var(--hp-transition), box-shadow var(--hp-transition);
  height: 100%;
}

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

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  border: 1px solid rgba(0, 119, 187, 0.18);
  box-shadow: 0 8px 18px rgba(0, 119, 187, 0.12);
}

[data-bs-theme="dark"] .feature-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .feature-card .feature-icon {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

/* ---------- Feature Rows (abwechselnd Text/Bild) ---------- */
.feature-row {
  padding: 3rem 0;
}

.feature-row:nth-child(even) {
  background: var(--bs-body-bg);
}

.feature-icon-lg {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  flex-shrink: 0;
  border: 1px solid rgba(0, 119, 187, 0.22);
  box-shadow: 0 12px 24px rgba(0, 119, 187, 0.14);
}

.feature-icon-lg.secondary {
  background: var(--hp-secondary-light);
  color: var(--hp-secondary);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 24px rgba(168, 85, 247, 0.16);
}

[data-bs-theme="dark"] .feature-icon-lg {
  border-color: rgba(0, 119, 187, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .feature-icon-lg.secondary {
  border-color: rgba(168, 85, 247, 0.36);
}

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--bs-secondary-bg);
  border-radius: var(--hp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
  overflow: hidden;
  border: 2px solid var(--bs-border-color);
}

.img-placeholder > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Video Placeholder ---------- */
.video-placeholder {
  background: var(--bs-secondary-bg);
  border: 2px dashed var(--bs-border-color);
}

/* ---------- Referenz / Testimonial ---------- */
.testimonial-block {
  background: var(--hp-primary-light);
  border-radius: var(--hp-radius);
  padding: 2.5rem;
  border-left: 4px solid var(--hp-primary);
}

[data-bs-theme="dark"] .testimonial-block {
  background: var(--hp-primary-light);
  border-left-color: var(--hp-secondary);
}

/* ---------- CTA Block ---------- */
.cta-block {
  background: var(--bs-tertiary-bg);
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--hp-radius);
  transition: transform var(--hp-transition), box-shadow var(--hp-transition);
  position: relative;
  overflow: hidden;
}

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

.pricing-card.popular {
  border-color: var(--hp-primary);
  border-width: 2px;
}

.pricing-card.popular::before {
  content: 'Beliebt';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--hp-primary);
  color: #fff;
  padding: 2px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.pricing-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--hp-primary);
}

/* ---------- Addon Cards ---------- */
.addon-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--hp-radius);
  background: var(--bs-body-bg);
}

.addon-card .addon-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ---------- Two-Way Cards (3D Seite) ---------- */
.way-card {
  border-radius: var(--hp-radius);
  border: 1px solid var(--bs-border-color);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: box-shadow var(--hp-transition);
}

.way-card:hover {
  box-shadow: var(--hp-shadow-lg);
}

.way-card .way-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* ---------- Badge (z.B. "Seit Jahren im Einsatz") ---------- */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

[data-bs-theme="dark"] .feature-badge {
  background: rgba(0, 119, 187, 0.2);
}

/* ---------- Mobile Offcanvas Nav ---------- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--bs-body-bg);
  border-left: 1px solid var(--bs-border-color);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.mobile-nav-links {
  flex: 1;
  padding: 0.5rem 0;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 500;
  transition: background var(--hp-transition), color var(--hp-transition);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  background: var(--hp-primary-light);
  color: var(--hp-primary);
}

.mobile-nav-links li a .fas {
  width: 24px;
  text-align: center;
}

.mobile-nav-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--bs-border-color);
}

/* Hide mobile nav on desktop */
@media (min-width: 1200px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* Tame Bootstrap gutters on small screens */
@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

/* ---------- Dark Mode Switch (consistent with KAV2 app) ---------- */
#darkModeSwitch {
  cursor: pointer;
  width: 2.5em;
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

#darkModeSwitch:checked {
  background-color: var(--hp-secondary);
  border-color: var(--hp-secondary);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Section Spacing ---------- */
.section-alt {
  background: var(--bs-tertiary-bg);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .feature-row .row {
    text-align: center;
  }

  .feature-icon-lg {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-section .hero-headline {
    font-size: 1.5rem;
  }

  .pricing-card .price {
    font-size: 1.3rem;
  }
}

/* ---------- Misc ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-primary-subtle {
  border-color: rgba(0, 119, 187, 0.25) !important;
}

[data-bs-theme="dark"] .border-primary-subtle {
  border-color: rgba(0, 119, 187, 0.4) !important;
}

/* ---------- 3D Viewer ---------- */
.feature3d-scene {
  width: 100%;
  height: min(72vh, 820px);
  border: 1px solid #ddd;
  border-radius: 8px;
  touch-action: none;
  overscroll-behavior: contain;
}

.feature3d-stage {
  position: relative;
}

.feature3d-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.feature3d-visibility-controls {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 5;
  pointer-events: auto;
}

.feature3d-visibility-controls .btn {
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.92);
  border-color: #d8d8d8;
}

.feature3d-controls .btn {
  min-width: 36px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .feature3d-scene {
    height: 68dvh;
    min-height: 360px;
    border-radius: 6px;
  }

  .feature3d-controls {
    top: 8px;
    right: 8px;
    gap: 4px;
  }

  .feature3d-visibility-controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 4px;
  }

  .feature3d-controls .btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }

  .feature3d-visibility-controls .btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
  }
}

/* 3D Viewer – compact (matches img-placeholder visually) */
.feature3d-compact {
  aspect-ratio: 16 / 10;
  background: var(--bs-secondary-bg);
  border-radius: var(--hp-radius);
  overflow: hidden;
  border: 2px solid var(--bs-border-color);
  position: relative;
}

.feature3d-compact > .alert {
  display: none !important;
}

.feature3d-compact .feature3d-stage {
  position: absolute;
  inset: 0;
}

.feature3d-compact .feature3d-scene {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: 0;
}

/* Sketch Viewer – compact (matches img-placeholder visually) */
.sketch-compact {
  aspect-ratio: 16 / 10;
  background: var(--bs-secondary-bg);
  border-radius: var(--hp-radius);
  overflow: hidden;
  border: 2px solid var(--bs-border-color);
  position: relative;
}

.sketch-compact > #sketch-share-page {
  position: absolute;
  inset: 0;
}

.sketch-compact .sketch-share-shell {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 100%;
}

.sketch-compact .sketch-share-canvas-wrap {
  padding: 0 !important;
  height: 100%;
}

.sketch-compact #sketch-canvas-frame {
  border: none !important;
  border-radius: 0 !important;
  min-height: unset !important;
  height: 100% !important;
}

.sketch-compact #sketch-canvas {
  min-height: unset !important;
  height: 100% !important;
}

.sketch-compact .alert {
  display: none !important;
}

/* 3D Viewer – Dark Mode */
[data-bs-theme="dark"] .feature3d-scene {
  border-color: #3a3f47;
}

[data-bs-theme="dark"] .feature3d-controls .btn,
[data-bs-theme="dark"] .feature3d-visibility-controls .btn {
  background-color: rgba(33, 37, 41, 0.88);
  border-color: #495057;
  color: #dee2e6;
}

[data-bs-theme="dark"] .feature3d-controls .btn:hover,
[data-bs-theme="dark"] .feature3d-visibility-controls .btn:hover {
  background-color: rgba(33, 37, 41, 0.95);
  border-color: #6c757d;
}

/* ---------- Header: Telefon + kompakte Desktop-Navigation ---------- */
.header-phone {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 0.35rem 0.4rem;
  border-radius: var(--hp-radius-sm);
  transition: background var(--hp-transition);
}

.header-phone:hover,
.header-phone:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    font-size: 0.92rem;
  }
}

.navbar .navbar-nav .nav-link {
  white-space: nowrap;
}

/* ---------- Hero: Kicker + Hinweis ---------- */
.hero-section .hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-section .col-12.text-center .hero-subline {
  max-width: 760px;
}

.hero-section .hero-note {
  opacity: 0.9;
}

.hero-section .hero-note a {
  color: #fff;
  font-weight: 600;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-body-bg);
  border-radius: var(--hp-radius-sm);
  padding: 0.6rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--hp-shadow);
}

.hero-logo-badge img,
.hero-logo-badge .media-placeholder {
  height: 48px;
  width: auto;
  max-width: 220px;
}

.hero-portrait img,
.hero-portrait .media-placeholder {
  width: min(320px, 70vw);
  height: auto;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--hp-shadow-lg);
}

/* ---------- Medien: Platzhalter, Rahmen, Darkmode-Bilder ---------- */
.media-placeholder {
  display: block;
  width: 100%;
  background: var(--bs-secondary-bg);
  border-radius: var(--hp-radius);
}

.img-placeholder > .media-placeholder {
  height: 100%;
  border-radius: 0;
}

.media-frame {
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--bs-secondary-bg);
  box-shadow: var(--hp-shadow);
}

.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.media-frame > .media-placeholder {
  height: 100%;
  border-radius: 0;
}

html:not([data-bs-theme="dark"]) .img-theme-dark,
[data-bs-theme="dark"] .img-theme-light {
  display: none !important;
}

/* ---------- Slideshow ---------- */
.media-slideshow {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--bs-border-color);
}

.media-slideshow .slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.media-slideshow .slideshow-slide.active {
  opacity: 1;
}

.media-slideshow .slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.slideshow-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.slideshow-dot.active {
  background: var(--hp-primary);
}

.slideshow-dot:focus-visible {
  outline: 2px solid var(--hp-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .media-slideshow .slideshow-slide {
    transition: none;
  }
}

/* ---------- Bedienhinweise: genau einer sichtbar, je nach Eingabeart ---------- */
.viewer-hint-touch {
  display: none;
}

@media (pointer: coarse) {
  .viewer-hint-touch { display: block; }
  .viewer-hint-mouse { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .viewer-hint-mouse { display: block; }
  .viewer-hint-touch { display: none; }
}

/* ---------- Fixierter Demo-Button (Smartphone) ---------- */
.mobile-demo-bar {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-demo-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    max-height: calc(56px + env(safe-area-inset-bottom));
    padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }

  .mobile-demo-bar.show {
    transform: translateY(0);
    visibility: visible;
  }

  body.has-demo-bar .site-footer {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-demo-bar {
    transition: none;
  }
}

/* ---------- Referenz-Block (Startseite) ---------- */
.reference-card {
  background: var(--hp-primary-light);
  border-radius: var(--hp-radius);
  padding: 2.5rem;
  border-left: 4px solid var(--hp-primary);
}

[data-bs-theme="dark"] .reference-card {
  border-left-color: var(--hp-secondary);
}

.reference-logo img,
.reference-logo .media-placeholder {
  height: 56px;
  width: auto;
  max-width: 220px;
}

.reference-quote {
  margin: 0;
}

.reference-quote p {
  font-size: 1.15rem;
  line-height: 1.6;
}

.reference-quote footer {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--hp-primary);
  line-height: 1.2;
}

[data-bs-theme="dark"] .stat-value {
  color: #4db3ec;
}

/* ---------- Entwickler-Block / Porträt ---------- */
.portrait img,
.portrait .media-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--hp-shadow);
}

/* ---------- Trust-Punkte ---------- */
.trust-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  flex-shrink: 0;
}

/* ---------- Preise ---------- */
.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-list li .fas {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .check-list.two-cols {
    column-count: 2;
    column-gap: 2.5rem;
  }

  .check-list.two-cols li {
    break-inside: avoid;
  }
}

.tier-chip {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  border: 1px solid rgba(0, 119, 187, 0.2);
}

[data-bs-theme="dark"] .tier-chip {
  color: #4db3ec;
  border-color: rgba(0, 119, 187, 0.45);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--hp-primary);
  color: #fff;
  margin: 0 auto 1rem;
}

.hint-strip {
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid var(--hp-secondary);
  border-radius: var(--hp-radius-sm);
  background: var(--bs-body-bg);
  padding: 1rem 1.25rem;
}

/* ---------- Referenz-Seite ---------- */
.facts-box {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--hp-radius);
  background: var(--bs-tertiary-bg);
  padding: 1.5rem;
}

.facts-box dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-secondary-color);
  font-weight: 600;
}

.facts-box dd {
  margin-bottom: 0.9rem;
}

.facts-box dd:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .facts-box {
    position: sticky;
    top: 90px;
  }
}

.quote-large {
  background: var(--hp-primary-light);
  border-left: 4px solid var(--hp-primary);
  border-radius: var(--hp-radius);
  padding: 2rem;
  margin: 2rem 0;
}

[data-bs-theme="dark"] .quote-large {
  border-left-color: var(--hp-secondary);
}

.quote-large p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.quote-small {
  border-left: 3px solid var(--bs-border-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ---------- Textseiten (Über mich, Referenz) ---------- */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2.5rem;
}
