/*------------------------------------
  dokuguru Facelift 2026
  Modernes Design-Update, passend zum Logo (#254aa5 / #231f20)
  Wird nach theme.css und mods.css geladen und überschreibt gezielt.
------------------------------------*/

:root {
  --dg-blue: #254aa5;
  --dg-blue-dark: #1d3b85;
  --dg-blue-deep: #16295c;
  --dg-blue-soft: rgba(37, 74, 165, 0.08);
  --dg-ink: #231f20;
  --dg-radius: 14px;
  --dg-shadow: 0 10px 30px rgba(22, 41, 92, 0.10);
  --dg-shadow-lg: 0 20px 45px rgba(22, 41, 92, 0.16);
}

/* ---------- Typografie ---------- */
body {
  font-family: "Inter", "Roboto", Helvetica, Arial, sans-serif;
  color: #45505c;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4 {
  font-family: "Inter", "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Farbe der Überschriften: dunkles Anthrazit wie im Logo,
   aber nur außerhalb von hellen Text-Containern (Hero etc.) */
main h1:not(.text-white), main h2:not(.text-white), main h3:not(.text-white),
main h4:not(.text-white), main h5:not(.text-white), main h6:not(.text-white) {
  color: var(--dg-ink);
}

.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6 {
  color: #fff !important;
}

.gradient-half-primary-v1 h1,
.gradient-half-primary-v1 .display-4.text-white {
  color: #fff !important;
}

/* Abschnitts-Überschriften mit dezentem Akzent-Strich */
span.h2 {
  position: relative;
  display: inline-block;
  padding-bottom: .75rem;
  margin-bottom: .5rem;
}

span.h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--dg-blue) 0%, #4f79e0 100%);
}

/* ---------- Header / Navigation ---------- */
.u-header__section {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(22, 41, 92, 0.07);
}

.u-header--bordered .u-header__section {
  border-bottom: none;
}

.u-header__nav-link {
  font-weight: 500;
  color: #45505c;
  transition: color .2s ease;
}

.u-header__nav-link:hover,
.u-header__nav-link:focus {
  color: var(--dg-blue);
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .25s ease;
}

.btn-primary,
.btn-primary:not([href]):not(:disabled):not(.disabled) {
  border-radius: 50rem;
  background: linear-gradient(115deg, var(--dg-blue) 0%, #3a63c9 100%);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(37, 74, 165, 0.30);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(115deg, var(--dg-blue-dark) 0%, var(--dg-blue) 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 74, 165, 0.38);
}

/* ---------- Hero (Startbereich) ---------- */
.dzsparallaxer .divimage {
  filter: brightness(0.92);
}

/* ---------- Karten & Boxen allgemein ---------- */
.rounded {
  border-radius: var(--dg-radius) !important;
}

.shadow-sm {
  box-shadow: var(--dg-shadow) !important;
}

/* Preisbox */
#price .bg-white.border.rounded {
  border: none !important;
  border-radius: var(--dg-radius) !important;
  box-shadow: var(--dg-shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}

#price .bg-white.border.rounded:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15, 28, 63, 0.25);
}

#price .display-4 {
  color: var(--dg-blue);
  font-weight: 800;
}

/* Preis-Hero: Verlauf in Logo-Blau statt Lila/Grün */
.gradient-half-primary-v1 {
  background-image: linear-gradient(25deg, var(--dg-blue-deep) 0%, #3f6ad8 100%) !important;
}

/* ---------- Vorteile-Box ---------- */
#advantages .bg-primary {
  background: linear-gradient(135deg, var(--dg-blue) 0%, var(--dg-blue-deep) 100%) !important;
  border-radius: var(--dg-radius);
  box-shadow: var(--dg-shadow-lg);
}

#advantages .bg-primary li {
  font-weight: 500;
}

#advantages .bg-primary .fa-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px !important;
}

/* ---------- Video-Kacheln ---------- */
.more-videos .img-fluid,
#videos .img-fluid {
  border-radius: var(--dg-radius);
}

/* ---------- Vergleichs-Tabelle (Warum dokuguru) ---------- */
div.reason-table {
  border-radius: var(--dg-radius);
  overflow: hidden;
  box-shadow: var(--dg-shadow);
}

/* ---------- Icon-Blöcke (Merkmale) ---------- */
.u-media-player__icon {
  transition: transform .2s ease;
}

.u-media-player:hover .u-media-player__icon {
  transform: scale(1.06);
}

/* ---------- FAQ ---------- */
#faq .card,
#faq .list-group-item {
  border-radius: 10px;
}

/* Dunkle Kontaktbox im FAQ-Bereich */
#faq .bg-dark,
#faq [class*="bg-dark"] {
  border-radius: var(--dg-radius);
  box-shadow: var(--dg-shadow-lg);
}

/* ---------- Footer ---------- */
footer .list-unstyled a,
footer a {
  transition: color .2s ease;
}

/* ---------- Bilder ---------- */
.img-fluid.rounded,
#benefit img.img-fluid,
#calc img.img-fluid {
  border-radius: var(--dg-radius);
  box-shadow: var(--dg-shadow);
}

/* "Let's begin"-Label in Markenblau statt Lila */
.u-label--purple {
  background-color: var(--dg-blue-soft) !important;
  color: var(--dg-blue) !important;
}

/* ---------- Scroll-Animationen ----------
   Fix: Elemente mit data-animation waren erst sichtbar, verschwanden
   beim Scrollen und flogen dann erst ins Bild. Sie werden jetzt
   unsichtbar gehalten, bis ihre Animation startet (.u-in-viewport). */
html.js-enabled [data-animation]:not(.u-in-viewport) {
  opacity: 0;
}

/* Sanftere, schnellere Animationen */
[data-animation] {
  animation-duration: 600ms !important;
}

/* ---------- Feinschliff ---------- */
::selection {
  background: var(--dg-blue);
  color: #fff;
}

a {
  color: var(--dg-blue);
}

a:hover {
  color: var(--dg-blue-dark);
}
