/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 29 2026 | 22:29:38 */
/* ===================================================================
   DISCHER Historie-Seite - Zweistrahl-Zeitstrahl
   Eigenstaendiges Snippet im "Simple Custom CSS and JS"-Plugin.
   Klassen-Praefix: .hist-
   =================================================================== */

.hist-page {
  --hist-blue: #001A41;
  --hist-green: #009878;
  --hist-card-bg: #ffffff;
  --hist-border: #E2E8EF;
  --hist-text: #4A5568;
  --hist-rail-track: #E2E8EF;

  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 100px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--hist-text);
  box-sizing: border-box;
}

.hist-page *,
.hist-page *::before,
.hist-page *::after { box-sizing: border-box; }

/* ---------- Intro ---------- */

.hist-intro { text-align: center; max-width: 760px; margin: 0 auto 56px; }

.hist-intro-eyebrow {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--hist-green);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hist-intro-title {
  font-size: 55px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hist-blue);
  margin: 0;
}

.hist-intro-divider {
  display: block;
  width: 70px;
  height: 3px;
  background: var(--hist-green);
  margin: 20px auto 22px;
  border-radius: 2px;
}

.hist-intro-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--hist-text);
  margin: 0;
}

/* ---------- Strang-Ueberschriften (ueber den Spalten) ---------- */

.hist-strand-headings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  padding: 0 110px;
  margin-bottom: 40px;
}

.hist-strand-heading-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hist-strand-heading-wrap--left { justify-content: flex-start; }
.hist-strand-heading-wrap--right { justify-content: flex-end; }

.hist-strand-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,26,65,.16);
}
.hist-strand-icon svg { width: 22px; height: 22px; }

.hist-strand-icon--left { background: var(--hist-blue); }
.hist-strand-icon--right { background: var(--hist-green); }

.hist-strand-heading {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left;
  margin: 0 !important;
}

.hist-strand-heading--left { color: var(--hist-blue); }
.hist-strand-heading--right { color: var(--hist-green); }

/* ---------- Grid-Wrapper mit Zeitstrahl-Linien ---------- */

.hist-grid-wrap {
  position: relative;
  padding: 0 110px;
}

.hist-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--hist-rail-track);
  overflow: hidden;
}
.hist-rail--left { left: 88px; }
.hist-rail--right { right: 88px; }

.hist-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  border-radius: 3px;
  transition: height .1s linear;
}
.hist-rail--left .hist-rail-fill { background: var(--hist-blue); }
.hist-rail--right .hist-rail-fill { background: var(--hist-green); }

/* Punkte an der Linie (werden per JS positioniert und aktiviert) */

.hist-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  opacity: 0;
  z-index: 2;
  transition: opacity .4s ease, transform .4s ease;
}
.hist-dot--left { left: 88px; background: var(--hist-blue); transform: translate(-50%, 0) scale(.4); }
.hist-dot--right { right: 88px; background: var(--hist-green); transform: translate(50%, 0) scale(.4); }

.hist-dot.is-active { opacity: 1; }
.hist-dot--left.is-active { transform: translate(-50%, 0) scale(1); }
.hist-dot--right.is-active { transform: translate(50%, 0) scale(1); }

.hist-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: histDotPulse 2.2s ease-out infinite;
}
.hist-dot--left.is-active::after { background: var(--hist-blue); }
.hist-dot--right.is-active::after { background: var(--hist-green); }

@keyframes histDotPulse {
  0%   { transform: scale(1); opacity: .45; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Jahreszahl auf der Aussenseite der Linie */

.hist-year-label {
  position: absolute;
  width: 71px;
  font-size: 26px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
  transform: translateY(-50%);
  transition: opacity .4s ease;
}
.hist-year-label.is-active { opacity: 1; }

.hist-year-label--left {
  left: 0;
  text-align: right;
  color: var(--hist-blue);
}
.hist-year-label--right {
  right: 0;
  text-align: left;
  color: var(--hist-green);
}

/* ---------- Raster ---------- */

.hist-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 56px;
}

.hist-row { display: contents; }

.hist-card-cell { min-height: 1px; }
.hist-card-cell--left { grid-column: 1; }
.hist-card-cell--right { grid-column: 2; }

/* Rechte Kachel startet minimal versetzt - wirkt lebendiger */
.hist-card-cell--right .hist-card { transition-delay: .08s; }

/* ---------- Kachel ---------- */

.hist-card {
  background: var(--hist-card-bg);
  border: 1px solid var(--hist-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,26,65,.10);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease, box-shadow .25s ease;
}

.hist-card.is-visible { opacity: 1; transform: translateY(0); }

.hist-card-media {
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 210px;
  overflow: hidden;
  background: var(--hist-border);
}
.hist-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hist-card-body { padding: 20px 22px 24px; }

.hist-card-heading-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
}

/* Jahreszahl in der Kachel: nur als Mobile-Fallback sichtbar,
   auf Desktop/Tablet uebernimmt das hist-year-label an der Linie */
.hist-card-year {
  display: none;
  font-size: 26px;
  font-weight: 700;
  color: var(--hist-blue);
  flex: 0 0 auto;
  white-space: nowrap;
}

.hist-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hist-blue);
  margin: 0;
  line-height: 1.3;
}

.hist-card-text { font-size: 15px; line-height: 1.6; color: var(--hist-text); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .hist-card, .hist-dot, .hist-dot::after, .hist-year-label, .hist-rail-fill { transition: none !important; animation: none !important; }
  .hist-card { opacity: 1 !important; transform: none !important; }
}

/* ---------- Tablet / Mobile ---------- */

@media (max-width: 900px) {
  .hist-strand-headings {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 0 44px;
  }
  .hist-strand-heading-wrap--left,
  .hist-strand-heading-wrap--right { justify-content: flex-start; }

  .hist-grid-wrap { padding: 0; }
  .hist-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .hist-row { display: block; grid-column: 1; }
  .hist-card-cell--left, .hist-card-cell--right { margin-left: 44px; margin-bottom: 16px; }
  .hist-card-cell--right .hist-card { transition-delay: 0s; }

  .hist-rail--right { display: none; }
  .hist-rail--left { left: 12px; }
  .hist-dot--left { left: 12px; }
  .hist-dot--right { left: 12px; right: auto; transform: translate(-50%, 0) scale(.4); }
  .hist-dot--right.is-active { transform: translate(-50%, 0) scale(1); box-shadow: 0 0 0 6px rgba(0,152,120,.16); }

  /* Aussen-Jahreslabels haben auf Mobile keinen Platz, dafuer zeigt die Kachel selbst das Jahr */
  .hist-year-label { display: none; }
  .hist-card-year { display: inline; }
}

@media (max-width: 600px) {
  .hist-page { padding: 48px 16px 72px; }
  .hist-intro-title { font-size: 32px; }
  .hist-intro-eyebrow { font-size: 20px; }
  .hist-card-title { font-size: 19px; }
  .hist-card-heading-row { flex-wrap: wrap; }
  .hist-card-media { max-height: 170px; }
  .hist-strand-heading { font-size: 22px !important; }
  .hist-strand-icon { width: 36px; height: 36px; }
  .hist-strand-icon svg { width: 18px; height: 18px; }
}
.hist-card-media img[alt="Logo von DQS MED als Symbol für die MDR-Zertifizierung"] {
  object-fit: contain;
  padding: 24px;
  background: #ffffff;
}