/* =============================================================
   Landingpage – eigenständiges, dunkles Gestaltungssystem
   Grundhaltung: hochwertig, ruhig, kompetent. Weniger sagen, mehr wirken.
   Gliederung nur über Weißraum und Haarlinien – keine Kästen, keine Rahmen.
   Präfix .dk- damit nichts mit dem übrigen Stylesheet kollidiert.
   ============================================================= */

.dk {
  /* dunkler Anker (3 Abstufungen) */
  --d1: #081820;  /* Body, Standardsektion */
  --d2: #0E2934;  /* mittlere Sektion */
  --d0: #061319;  /* Hero, Abschluss, Footer */
  --deep: #173A47; /* Flächen hinter Bildern */
  /* Papier (kein reines Weiß) */
  --p1: #F2EFE7;
  --p2: #EAE6DB;
  --line-l: #CBC6BC; /* Haarlinie auf hell */
  /* warme Akzente – Gold nur auf dunkel, Cognac nur auf hell */
  --acc: #C9A66B;
  --acc-soft: rgba(201,166,107,.20);
  --cognac: #9A6545;
  /* Signalton – nur Handlung, unter 2 % */
  --sig: #C3683F;
  /* Text */
  --cream: #EDE7DA;   /* Fließtext auf dunkel */
  --on-dark: #A4AFB1; /* Sekundärtext auf dunkel */
  --mut: #77868C;     /* Labels, Fußnoten */
  --text: #1C2224;    /* Fließtext auf hell */
  --on-light: #5F5B52; /* Sekundärtext auf hell */
  --hair-d: rgba(237,231,218,.13);
  --hair-l: rgba(28,34,36,.12);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --eo: cubic-bezier(.23,1,.32,1);
  --em: cubic-bezier(.77,0,.175,1);

  font-family: var(--sans);
  background: var(--d1);
  color: var(--cream);
  margin: 0;
}

.dk-wrap { max-width: 1440px; margin: 0 auto;
  padding-left: clamp(22px,5vw,84px); padding-right: clamp(22px,5vw,84px); }

/* Typografie – eine Stufe kleiner als der erste Instinkt */
.dk-kick { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc);
  font-weight: 600; margin: 0 0 20px; }
.dk-kick i { font-style: normal; opacity: .5; }
.dk-display { font-family: var(--serif); font-weight: 400; font-size: clamp(26px,4.4vw,50px);
  line-height: 1.14; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.dk-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px,2.7vw,33px);
  line-height: 1.2; letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance; }
.dk-h3 { font-size: clamp(15px,1.5vw,19px); font-weight: 600; letter-spacing: -.005em; margin: 0; }
.dk-body { font-size: clamp(13.5px,1.1vw,15px); line-height: 1.85; color: var(--on-dark);
  max-width: 54ch; margin: 0; }
.dk-em { font-style: italic; color: var(--acc); }

.dk-head { max-width: 56ch; margin-bottom: clamp(44px,6vw,80px); }
section.dk-sec { padding: clamp(110px,13vw,200px) 0; }

/* ---------- Hero (zentriert) ---------- */
.dk-hero { position: relative; min-height: 100dvh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden; }
.dk-hero-media { position: absolute; inset: 0; z-index: 0; background: var(--deep); }
.dk-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06); animation: dk-drift 26s var(--em) infinite alternate; }
/* Video-Hero: zwei Clips überblenden in fester Folge */
.dk-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--eo); z-index: 1; }
.dk-vid.on { opacity: 1; }
.dk-hero-fallback { position: absolute; inset: 0; z-index: 0; }
@keyframes dk-drift { to { transform: scale(1.13); } }
.dk-hero-veil { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,19,25,.84), rgba(6,19,25,.60) 44%, rgba(6,19,25,.95)); }
.dk-hero-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(56% 46% at 50% 42%, rgba(201,166,107,.13), transparent 70%); }
.dk-hero-in { position: relative; z-index: 2; max-width: 720px; }
.dk-hero-logo { height: 44px; width: auto; margin: 0 auto 32px; display: block;
  filter: brightness(0) invert(1); opacity: .92; }
.dk-hero .dk-body { margin: 24px auto 0; color: #C0B7AA; }
.dk-scrollhint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* Signal-Button */
.dk-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 38px;
  padding: 13px 24px; border: 0; border-radius: 2px; background: var(--sig); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--eo), background .2s var(--eo); }
.dk-cta:hover { background: #A9541F; }
.dk-cta:active { transform: scale(.975); }
.dk-cta:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------- Laufband ---------- */
.dk-band { padding: 26px 0; border-top: 1px solid var(--hair-d); border-bottom: 1px solid var(--hair-d);
  background: var(--d0); overflow: hidden; }
.dk-band-mask { -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.dk-band-track { display: flex; width: max-content; gap: 52px; animation: dk-run 46s linear infinite; }
.dk-band-mask:hover .dk-band-track { animation-play-state: paused; }
@keyframes dk-run { to { transform: translateX(-50%); } }
.dk-band-i { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--mut);
  white-space: nowrap; transition: color .25s var(--eo); }
.dk-band-i:hover { color: var(--acc); }
.dk-band-i span { color: #443E34; margin-right: 12px; }

/* ---------- Automatischer Umschalter ---------- */
.dk-switch { background: var(--d2); }
.dk-tabs { display: flex; border-bottom: 1px solid var(--hair-d); margin-bottom: 52px; }
.dk-tab { position: relative; flex: 1; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 0 0 18px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--mut);
  transition: color .3s var(--eo); }
.dk-tab em { display: block; font-style: normal; font-size: 10px; letter-spacing: .2em; color: #4A443B;
  margin-bottom: 9px; }
.dk-tab.on { color: var(--p1); } .dk-tab.on em { color: var(--acc); }
.dk-tab:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.dk-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--acc); transition: width .45s var(--eo); }
.dk-tab.on::after { width: 100%; }
.dk-panels { position: relative; min-height: 190px; }
.dk-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--eo), transform .5s var(--eo); }
.dk-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.dk-panel .dk-h2 { max-width: 20ch; }

/* ---------- Scrollgesteuerte Kreisgrafik ---------- */
.dk-proc { background: var(--d1); }
.dk-proc-rail { position: relative; height: 320vh; }
.dk-proc-stick { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; }
.dk-proc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,90px); align-items: center;
  width: 100%; }
.dk-dial { position: relative; width: min(420px,76vw); aspect-ratio: 1; margin: 0 auto; }
.dk-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dk-dial-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.dk-dial-fg { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round;
  transition: stroke .4s var(--eo); }
.dk-dial.done .dk-dial-fg { stroke: var(--sig); }
.dk-node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #3A342B;
  transform: translate(-50%,-50%); transition: background .4s var(--eo), box-shadow .4s var(--eo); }
.dk-node.on { background: var(--acc); box-shadow: 0 0 0 5px var(--acc-soft); }
.dk-node.last.on { background: var(--sig); box-shadow: 0 0 0 5px rgba(192,100,42,.22); }
.dk-nl { position: absolute; transform: translate(-50%,-50%); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mut); white-space: nowrap; transition: color .4s var(--eo); }
.dk-nl.on { color: var(--p1); }
.dk-dial-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; }
.dk-dial-n { font-family: var(--serif); font-size: 40px; color: var(--acc); line-height: 1; }
.dk-dial.done .dk-dial-n { color: var(--sig); }
.dk-dial-t { font-size: 13px; font-weight: 600; margin-top: 12px; }
.dk-steps { list-style: none; margin: 0; padding: 0; }
.dk-step { padding: 18px 0; border-top: 1px solid var(--hair-d); cursor: pointer; opacity: .38;
  transition: opacity .45s var(--eo), transform .45s var(--eo); }
.dk-step:first-child { border-top: 0; }
.dk-step.on { opacity: 1; } .dk-step:hover { transform: translateX(5px); }
.dk-step-h { display: flex; align-items: baseline; gap: 14px; }
.dk-step-n { font-size: 10px; letter-spacing: .18em; color: var(--acc); }
.dk-step.last.on .dk-step-n { color: var(--sig); }
.dk-step p { font-size: 13.5px; line-height: 1.8; color: var(--on-dark); margin: 8px 0 0; max-width: 46ch; }

/* ---------- Ausklappbare Bänder (Papierfläche) ---------- */
.dk-open { background: var(--p1); color: var(--text); }
.dk-open .dk-h2 { color: var(--text); } .dk-open .dk-body { color: var(--on-light); }
.dk-open .dk-kick { color: var(--cognac); }
.dk-row { border-top: 1px solid var(--line-l); }
.dk-row:last-child { border-bottom: 1px solid var(--line-l); }
.dk-row-btn { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: inherit;
  display: flex; align-items: center; gap: clamp(16px,3vw,40px); padding: clamp(22px,2.6vw,32px) 0;
  font-family: var(--sans); transition: background .35s var(--eo), padding-left .35s var(--eo); }
.dk-row-btn:hover { background: var(--p2); padding-left: 14px; }
.dk-row-btn:focus-visible { outline: 2px solid var(--cognac); outline-offset: -2px; }
.dk-row-n { font-size: 10px; letter-spacing: .18em; color: var(--cognac); flex: 0 0 auto; }
.dk-row-t { font-size: clamp(15px,1.6vw,19px); font-weight: 600; flex: 1; }
.dk-row-s { font-size: 12.5px; color: var(--on-light); flex: 0 0 auto; display: none; }
.dk-row-x { position: relative; width: 13px; height: 13px; flex: 0 0 auto; }
.dk-row-x::before, .dk-row-x::after { content: ""; position: absolute; background: var(--text);
  transition: transform .45s var(--eo), opacity .3s var(--eo); }
.dk-row-x::before { left: 0; top: 6px; width: 13px; height: 1px; }
.dk-row-x::after { left: 6px; top: 0; width: 1px; height: 13px; }
.dk-row.on .dk-row-x::after { transform: rotate(90deg); opacity: 0; }
.dk-row-body { max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--em), opacity .35s var(--eo); }
.dk-row.on .dk-row-body { opacity: 1; }
.dk-row-body p { padding: 0 0 clamp(22px,2.6vw,32px); }
@media (min-width: 760px) { .dk-row-s { display: block; } }

/* ---------- Abschluss (zweispaltig an Haarlinie) ---------- */
.dk-end { background: var(--d0); padding: clamp(90px,11vw,150px) 0 0; }
.dk-end-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px,5vw,70px);
  max-width: 1000px; margin: 0 auto; align-items: center; }
.dk-end-r { padding-left: clamp(30px,5vw,70px); border-left: 1px solid var(--hair-d); }
.dk-person { display: flex; gap: 24px; align-items: center; margin: 22px 0; }
.dk-person img { width: 92px; height: auto; border-radius: 3px; display: block; }
.dk-person-n { font-size: 15px; font-weight: 600; }
.dk-person-r { font-size: 12px; color: var(--on-dark); margin-top: 3px; }

.dk-foot { margin-top: clamp(80px,9vw,120px); border-top: 1px solid var(--hair-d);
  padding: 28px 0 32px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; }
.dk-foot small { font-size: 11.5px; color: var(--mut); }
.dk-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.dk-foot a { font-size: 11.5px; color: var(--on-dark); text-decoration: none; }
.dk-foot a:hover { color: var(--acc); }

/* ---------- Scroll-Einblendungen ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--eo), transform .9s var(--eo); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .08s; } .rv-2 { transition-delay: .16s; } .rv-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .rv, .dk-panel { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dk-hero-media img { animation: none; transform: none; }
  .dk-vid { transition: none; }
  .dk-band-track { animation: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .dk-proc-grid { grid-template-columns: 1fr; gap: 28px; }
  .dk-proc-rail { height: 300vh; }
  .dk-proc-stick { height: auto; padding: 60px 0; position: relative; }
  .dk-dial { width: min(280px,66vw); }
  .dk-tabs { flex-direction: column; border-bottom: 0; }
  .dk-tab { border-bottom: 1px solid var(--hair-d); padding: 16px 0; }
  .dk-panels { position: static; min-height: 0; }
  .dk-panel { position: static; display: none; } .dk-panel.on { display: block; }
  .dk-end-grid { grid-template-columns: 1fr; }
  .dk-end-r { padding-left: 0; border-left: 0; padding-top: 28px; border-top: 1px solid var(--hair-d); }
  .dk-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Handy-Feinschliff ---------- */
@media (max-width: 900px) {
  /* auf kleinen Geräten kein langer Sticky-Scroll: Sektion auf Inhaltshöhe */
  .dk-proc-rail { height: auto; }
}
@media (max-width: 560px) {
  .dk-wrap { padding-left: 20px; padding-right: 20px; }
  section.dk-sec { padding: 72px 0; }
  .dk-hero { min-height: 92dvh; }
  .dk-hero-logo { height: 38px; margin-bottom: 22px; }
  .dk-display { font-size: clamp(27px, 8.4vw, 34px); }
  .dk-head { margin-bottom: 38px; }
  .dk-band { padding: 20px 0; } .dk-band-track { gap: 34px; }
  .dk-proc-stick { padding: 44px 0; }
  .dk-dial { width: min(240px, 72vw); }
  .dk-tabs { margin-bottom: 34px; }
  .dk-cta { width: 100%; justify-content: center; }
  .dk-row-btn { gap: 12px; padding: 20px 0; }
  .dk-row-t { font-size: 16px; }
  .dk-end { padding-top: 72px; }
  .dk-end-r { padding-top: 24px; }
  .dk-foot { gap: 14px; }
}
