@charset "utf-8";

@font-face {
  font-family: 'Istok Web';
  src: url('../fonts/03_3qTqojGmgSyUukBzKslhvU5q-WMQ-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Istok Web';
  src: url('../fonts/04_3qTvojGmgSyUukBzKslpBmt6.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dv-primary: rgb(41, 66, 147);
  --dv-text: rgb(92, 105, 113);
  --dv-on-primary: #ffffff;
  --dv-brand: rgb(0, 173, 238);
  --dv-on-brand: rgb(255, 255, 255);
}

body {
  font-family: "Istok Web", Helvetica, Arial, sans-serif;
  color: var(--dv-text);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.6;
}

#wrapper {
  max-width: 63em;
  margin: 0 auto;
  background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--dv-primary); text-decoration: none; }

/* ── HEADER / HERO ───────────────────────────────────────── */
.dv-header { position: relative; }

.dv-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 456;
  overflow: hidden;
  background: #d8d8d8;
}

.dv-hero-track { display: flex; height: 100%; }
.dv-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.dv-logobar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  padding: 1rem 1.75rem 2.75rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}

.dv-logo { height: 3rem; width: auto; }

/* ── MAIN CONTENT ────────────────────────────────────────── */
.dv-main { padding: 2rem 2.25rem 2.5rem; }

.dv-intro { margin-bottom: 1.75rem; }

h1 {
  color: var(--dv-primary);
  font-size: 2.4rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1.12;
  margin: 0.5rem 0 0.85rem;
}

h2 {
  color: var(--dv-primary);
  font-size: 1.6rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

p { margin: 0 0 0.85rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

ul, ol { margin: 0 0 0.85rem; padding-left: 1.4rem; }
li { margin-bottom: 0.3rem; }

.dv-section { margin-top: 2rem; }

/* ── META ROW ────────────────────────────────────────────── */
.dv-meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.95rem;
}
.dv-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}
.dv-meta-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
}

/* ── APPLY BUTTON ────────────────────────────────────────── */
.dv-apply { margin: 2.25rem 0; }
.dv-apply--bottom { margin: 2.5rem 0 0; }

.dv-btn {
  display: inline-block;
  background: var(--dv-primary);
  color: var(--dv-on-primary);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 2.25rem;
  border-radius: 4px;
}
.dv-btn:hover { filter: brightness(0.9); }

/* ── CONTACT CARD ────────────────────────────────────────── */
.dv-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.dv-contact-photo {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dv-contact-info p { margin-bottom: 0.15rem; }
/* Telefonnummer ist anklickbar (tel:), soll aber wie normaler Text
   aussehen — nicht als Link hervorgehoben (Original zeigt sie als Fließtext). */
.dv-tel { color: inherit; text-decoration: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 38em) {
  .dv-main { padding: 1.5rem 1.25rem 2rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  .dv-contact { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .dv-hero-track { animation: none; }
}

@media print {
  .dv-hero-track { animation: none; }
  .dv-btn { border: 1px solid #000; color: #000 !important; background: none; }
}

/* ── DEFAULT DESIGN (d.vinci) ─────────────────────────────── */
.dv-main--default { padding-left: 15px; padding-right: 15px; }
/* Logo in einem eigenen weißen Bereich mit Marken-Streifen oben — nicht als
   Overlay über dem Headerbild (der Gradient-Balken bleibt dem liquid design).
   Das Logo sitzt UNTER dem Streifen (kein Überlappen) und in seiner am Original
   gemessenen Größe (O-177662: die Vorlage bestimmt Größe UND Position). */
.dv-topbar {
  position: relative;
  background: #ffffff;
  padding: calc(14px + 0.9rem) 15px 1rem;
  display: flex;
  align-items: center;
}
.dv-topbar .dv-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: var(--dv-brand);
}
.dv-topbar .dv-logo {
  position: relative;
  height: 61px;
  width: auto;
  margin-top: 0;
}

.dv-titlebox {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  /* Weißer Überhang oben (15px), und die Box ragt ins Headerbild — wie im Original. */
  padding-top: 15px;
  margin: -45px 0 2.5rem;
}
.dv-titlebox--nohero { margin-top: 1.75rem; }
.dv-titlebox h1 {
  background: var(--dv-brand);
  color: var(--dv-on-brand);
  margin: 0;
  /* Der grüne Balken sitzt IM weißen Feld und trägt oben dessen Rundung. */
  border-radius: 30px 30px 0 0;
  padding: 20px 24px 14px;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}
.dv-titlebox .dv-metacols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 14px;
}
.dv-titlebox .dv-metacols > ul:first-child { border-right: 1px solid #e3e6e8; }
.dv-titlebox ul { list-style: none; margin: 0; padding: 0 10px; }
.dv-titlebox li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  font-size: 1rem;
  color: var(--dv-text);
}
.dv-titlebox .dv-meta-icon { width: 22px; height: 22px; fill: var(--dv-brand); flex: none; }

.dv-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 1.75rem; align-items: start; }
.dv-aside {
  background: #d6dce5;
  border-radius: 30px;
  padding: 28px 16px;
}
.dv-aside .dv-section { margin: 0; }
/* Die Außenabstände des ersten/letzten Kindes würden sich sonst zum Padding
   addieren (Überschrift oben, Liste unten) — das Padding soll die Abstände setzen. */
.dv-aside .dv-section > :first-child { margin-top: 0; }
.dv-aside .dv-section > :last-child { margin-bottom: 0; }

.dv-main--default h2,
.dv-main--default h3 { color: var(--dv-text); font-size: 1.25rem; font-weight: 700; }

.dv-main--default .dv-section ul { list-style: none; padding-left: 1.25rem; }
.dv-main--default .dv-section li {
  position: relative;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
/* Der Aufzählungspunkt ist ein gezeichneter Kreis, KEIN „•"-Glyph: dessen
   vertikale Lage hängt an den Metriken der jeweiligen Schrift und lässt sich
   nicht verlässlich zentrieren (SDE-108968, zwei Anläufe). Der Kreis sitzt exakt
   in der Mitte der ERSTEN Textzeile: top = (Zeilenhöhe − Durchmesser) / 2. */
.dv-main--default .dv-section li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.55em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--dv-brand);
}

/* Querstrich unter dem Anzeigentext, über dem Bewerben-Button. */
.dv-main--default .dv-apply--bottom {
  border-top: 1px solid #d9dde0;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
}

.dv-main--default .dv-btn {
  background: var(--dv-brand);
  color: var(--dv-on-brand);
  border-radius: 999px;
  padding: 15px 32px;
  font-weight: 400;
}

@media (max-width: 48rem) {
  .dv-cols { grid-template-columns: 1fr; }
  .dv-titlebox .dv-metacols { grid-template-columns: 1fr; }
  .dv-titlebox .dv-metacols > ul:first-child { border-right: 0; }
}

#wrapper, .wrapper { padding-bottom: 2.5rem; }
