/* ==========================================================================
   Odent — Seite „Datenübernahme"

   Baut auf stil.css und abschnitte.css auf (Farben, Schriften, Kopfleiste,
   Knöpfe, Auftritt beim Scrollen). Hier steht nur, was diese Seite eigen hat.

   Aufbau: hell und ruhig wie die Startseite; zwei dunkle Flächen setzen die
   Akzente — die Bühne, auf der aus der Exportzeile das Zahnschema wird, und
   das Band mit den drei Zusagen.
   ========================================================================== */

.du section { padding-block: clamp(72px, 11vh, 140px); }

.du-kopf { display: flex; flex-direction: column; gap: 16px; max-width: 46rem; }
.du-kopf h2 { text-wrap: balance; }
.du-kopf-text { max-width: 40rem; }

/* --- Einstieg ----------------------------------------------------------- */
.du-held { padding-block: clamp(48px, 8vh, 96px) clamp(72px, 10vh, 120px); }

.du-held-kopf {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.du-held h1 { text-wrap: balance; }
.du-leise { color: var(--tinte-still); }
.du-fuehrung { max-width: 38rem; }

.du-buehne {
  margin: clamp(40px, 7vh, 72px) auto 0;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 56px) clamp(22px, 3vw, 40px);
  border-radius: var(--rund-xl);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 60%),
    var(--papier-tief);
  color: #e8eef7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  box-shadow: 0 40px 80px -40px rgba(14, 20, 32, 0.55);
  overflow: hidden;
}

/* Die Exportzeile: Satzart und Befundkürzel, wie sie in der Datei stehen */
.du-zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.8125rem, 1.6vw, 1.0625rem);
}
.du-satz,
.du-token {
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 238, 247, 0.55);
  transition: background-color 280ms var(--kurve), color 280ms var(--kurve), scale 280ms var(--kurve);
}
.du-satz { color: rgba(232, 238, 247, 0.35); }
.du-token.an { color: #e8eef7; background: rgba(255, 255, 255, 0.1); }
.du-token.jetzt { background: var(--blau); color: #fff; scale: 1.08; }

/* Das Zahnschema auf der Bühne */
.du-schema { width: 100%; max-width: 980px; height: auto; overflow: visible; }
.dz-strich { fill: none; stroke: rgba(232, 238, 247, 0.38); stroke-width: 2.4; transition: stroke 400ms var(--kurve); }
.dz-ziffer {
  fill: rgba(232, 238, 247, 0.5);
  font: 600 22px "Inter", system-ui, sans-serif;
  text-anchor: middle;
  transition: fill 400ms var(--kurve);
}
.dz-zahn.an .dz-ziffer { fill: #fff; }
.dz-zahn.an .dz-strich { stroke: rgba(232, 238, 247, 0.85); }

/* Befunde: unsichtbar, bis ihr Kürzel an der Reihe war */
.dz-krone,
.dz-versiegelung,
.dz-glied { opacity: 0; transition: opacity 500ms var(--kurve), transform 500ms var(--kurve); transform-box: fill-box; transform-origin: center; transform: scale(0.92); }
.dz-zahn.an .dz-krone,
.dz-zahn.an .dz-versiegelung,
.dz-zahn.an .dz-glied { opacity: 1; transform: none; }

.dz-krone { fill: #dbe3ee; stroke: #9aa8bb; stroke-width: 4; }
.dz-versiegelung { fill: #5fd6c6; stroke: #0d9488; stroke-width: 3; }
.dz-glied { fill: #c9b48a; }
/* Ein Brückenglied ersetzt den Zahn: die natürliche Form tritt zurück */
.dz-zahn[data-zahn="15"] .dz-natur { transition: opacity 500ms var(--kurve); }
.dz-zahn[data-zahn="15"].an .dz-natur { opacity: 0.12; }

.du-lesart {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.du-lesart-kurz { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #9fbcff; }
.du-lesart-pfeil { color: rgba(232, 238, 247, 0.4); }
.du-lesart-lang { color: #fff; min-width: 8ch; }

/* --- Ablauf ------------------------------------------------------------- */
.du-ablauf { background: var(--papier-grau); }
.du-schritte {
  list-style: none;
  margin: clamp(32px, 6vh, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.du-schritt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 28px;
  border-radius: var(--rund-l);
  background: var(--papier);
  box-shadow: 0 1px 2px rgba(21, 32, 46, 0.04), 0 18px 40px -28px rgba(21, 32, 46, 0.25);
  min-width: 0;
}
.du-schritt h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.du-schritt p { color: var(--tinte-leise); font-size: 0.96875rem; line-height: 1.55; }
.du-nr {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--blau);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1060px) {
  .du-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .du-schritt:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .du-schritte { grid-template-columns: 1fr; }
}

/* Die Seiten „Wechsel von …“ haben drei Schritte statt fünf. */
.du-schritte.du-schritte-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .du-schritte.du-schritte-drei { grid-template-columns: 1fr; }
  .du-schritte.du-schritte-drei .du-schritt:last-child { grid-column: auto; }
}
.du-hinweis {
  max-width: 46rem;
  margin-top: clamp(24px, 4vh, 36px);
  font-size: 0.96875rem;
  color: var(--tinte-leise);
}
.du-wechsel .du-held .du-knoepfe { justify-content: center; }

/* --- Zeitplan ----------------------------------------------------------- */
/* Drei Wochen als Leiste: eine Linie, drei Marken. Sie zeigt eine Abfolge,
   keine Zusage über Tage — darum ohne Daten und ohne Fortschrittsbalken. */
.du-wochen {
  list-style: none;
  margin: clamp(32px, 6vh, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(18px, 3vw, 36px);
}
.du-woche {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--linie);
  min-width: 0;
}
.du-woche::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blau);
  box-shadow: 0 0 0 4px var(--papier);
}
.du-woche-nr {
  font-size: var(--t-mini);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blau);
}
.du-woche h3 { margin-top: 10px; font-size: 1.25rem; letter-spacing: -0.02em; }
.du-woche p:last-child { margin-top: 8px; color: var(--tinte-leise); font-size: 0.96875rem; }
@media (max-width: 760px) {
  .du-wochen { grid-template-columns: 1fr; gap: 0; }
  .du-woche { border-top: 0; border-left: 2px solid var(--linie); padding: 0 0 30px 26px; }
  .du-woche:last-child { padding-bottom: 0; }
  .du-woche::before { top: 2px; left: -8px; }
  .du-woche h3 { margin-top: 6px; }
}

/* --- Erklärvideo -------------------------------------------------------- */
.du-video { background: var(--papier-grau); }
.du-film { margin: clamp(32px, 6vh, 56px) 0 0; }
.du-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--rund-l);
  background: var(--papier-tief);
  box-shadow: 0 30px 70px -36px rgba(21, 32, 46, 0.35);
}
.du-film-weiter { margin-top: 18px; font-weight: 600; }
.du-film-weiter a { display: inline-block; padding-block: 6px; color: var(--blau); }
.du-film-weiter a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Prüfbericht und Stichprobe ----------------------------------------- */
.du-bild {
  margin: clamp(32px, 6vh, 56px) auto 0;
}
.du-bild img {
  width: 100%;
  border-radius: var(--rund-l);
  box-shadow:
    0 0 0 1px var(--linie),
    0 30px 70px -36px rgba(21, 32, 46, 0.35);
}
.du-zwischen { margin-top: clamp(72px, 12vh, 140px); }

/* --- Was mitkommt ------------------------------------------------------- */
.du-umfang { background: var(--papier-grau); }
.du-kacheln {
  list-style: none;
  margin: clamp(32px, 6vh, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.du-kachel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px 30px;
  border-radius: var(--rund-l);
  background: var(--papier);
  min-width: 0;
}
.du-kachel h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.du-kachel h3::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.5 7.4-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--tuerkis);
}
.du-kachel p { color: var(--tinte-leise); font-size: 0.96875rem; }

@media (max-width: 900px) { .du-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .du-kacheln { grid-template-columns: 1fr; } }

.du-getrennt {
  margin-top: 28px;
  padding: 26px 26px 10px;
  border-radius: var(--rund-l);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.du-getrennt-titel {
  font-size: var(--t-mini);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinte-still);
  margin-bottom: 8px;
}
.du-getrennt dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.du-getrennt dl > div { padding-block: 10px 18px; min-width: 0; }
.du-getrennt dt { font-weight: 600; margin-bottom: 4px; }
.du-getrennt dd { margin: 0; color: var(--tinte-leise); font-size: 0.96875rem; }
@media (max-width: 900px) { .du-getrennt dl { grid-template-columns: 1fr; } }

/* --- Drei Zusagen ------------------------------------------------------- */
.du-zusagen {
  background: var(--papier-tief);
  color: #e8eef7;
}
.du-zusagen-titel { color: rgba(232, 238, 247, 0.45); font-size: var(--t-mittel); }
.du-zusagen-liste {
  list-style: none;
  margin: clamp(28px, 5vh, 48px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 48px);
}
.du-zusage {
  font-size: var(--t-gross);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}
.du-zusage-text {
  margin-top: 12px;
  font-size: var(--t-klein);
  color: rgba(232, 238, 247, 0.6);
  max-width: 38rem;
}

/* --- Häufige Fragen ---------------------------------------------------- */
.du-fragen-bahn { max-width: 52rem; }
.du-fragen-liste { margin-top: clamp(28px, 5vh, 44px); border-top: 1px solid var(--linie); }
.du-frage { border-bottom: 1px solid var(--linie); }
.du-frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.du-frage summary::-webkit-details-marker { display: none; }
/* Plus, das beim Öffnen zum Minus wird: zwei Striche, kein Bild. */
.du-frage summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--blau);
  transition: rotate 220ms var(--kurve);
}
.du-frage[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat; }
.du-antwort { padding: 0 0 22px; max-width: 44rem; }
.du-antwort p { color: var(--tinte-leise); }
.du-antwort p + p { margin-top: 10px; }
.du-antwort a { color: var(--blau); font-weight: 600; }
.du-antwort a:hover { text-decoration: underline; text-underline-offset: 3px; }
.du-antwort strong { color: var(--tinte); }

/* --- Abschluss ---------------------------------------------------------- */
.du-schluss-bahn {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 48rem;
}
.du-schluss .fuehrung { max-width: 42rem; }
.du-schluss .fuehrung a { color: var(--blau); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.du-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }


.du-marke {
  margin-top: clamp(20px, 3vh, 32px);
  font-size: var(--t-mini);
  color: var(--tinte-still);
  max-width: 42rem;
}

/* Auf den Seiten „Wechsel von …“ wechseln Weiss und Grau Abschnitt für
   Abschnitt: Weg (grau), Ihr Export (weiss), Umfang (grau), Zeitplan (weiss),
   Fragen (grau) — sonst liefen zwei gleiche Flächen ohne Grenze ineinander. */
.du-wechsel .du-zeitplan { background: var(--papier); }
.du-wechsel .du-fragen { background: var(--papier-grau); }

/* ===== Von welchem Programm — vier Karten, am Telefon untereinander ===== */
.du-systeme { margin-top: clamp(-56px, -5vh, -24px); padding-block: 0 clamp(56px, 9vh, 104px); }
.du-systeme-titel { font-size: var(--t-mittel); letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.du-systeme-text { margin-top: 10px; max-width: 40rem; color: var(--tinte-leise); }
.du-systeme-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.du-system {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 140px; padding: 22px 24px; border-radius: var(--rund-l);
  background: var(--papier-grau); box-shadow: inset 0 0 0 1px var(--linie);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.du-system:hover { transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1px var(--linie), 0 18px 40px -24px rgba(15, 23, 42, 0.35); }
.du-system-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--tinte); }
.du-system-anders .du-system-name { font-size: 1.125rem; }
.du-system-weg { font-size: 0.9375rem; font-weight: 600; color: var(--blau); }
.du-system-weg::after { content: " →"; }
@media (max-width: 899.98px) { .du-systeme-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .du-systeme-liste { grid-template-columns: 1fr; } .du-system { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .du-system { transition: none; } .du-system:hover { transform: none; } }

/* ===== Ansprechperson im Schluss — ohne Foto, mit Monogramm ===== */
.du-ansprech { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px; border-radius: var(--rund-l); background: var(--papier-grau); box-shadow: inset 0 0 0 1px var(--linie); max-width: 30rem; }
.du-ansprech-zeichen { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.du-ansprech-wort { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.du-ansprech-rolle { font-size: 0.8125rem; color: var(--tinte-leise); }
.du-ansprech-name { font-size: 1.0625rem; font-weight: 700; color: var(--tinte); }
.du-ansprech-zusatz { font-size: 0.875rem; color: var(--tinte-leise); overflow-wrap: anywhere; }
.du-ansprech-zusatz a { color: var(--blau); }

/* ===== Ihr Export: Schritte oder Anfrage, Checkliste, Vorlage ===== */
.du-export-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(28px, 5vh, 44px); align-items: start; }
@media (max-width: 900px) { .du-export-raster { grid-template-columns: 1fr; } }
.du-export-weg, .du-export-liste { padding: 24px 26px; border-radius: var(--rund-l); box-shadow: inset 0 0 0 1px var(--linie); min-width: 0; }
.du-export-liste { background: var(--papier-grau); }
.du-export-weg h3, .du-export-liste h3 { font-size: 1.125rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.du-export-weg > p { color: var(--tinte-leise); }
.du-export-weg > p + p { margin-top: 10px; }
.du-export-weg .du-knoepfe { margin-top: 18px; }
.du-export-schritte { list-style: none; padding: 0; margin: 0; counter-reset: schritt; display: grid; gap: 12px; }
.du-export-schritte li { counter-increment: schritt; position: relative; padding-left: 40px; color: var(--tinte-leise); overflow-wrap: anywhere; }
.du-export-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blau); color: #fff; font-size: 0.875rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.du-export-schritte strong, .du-export-weg strong { color: var(--tinte); }
.du-stand { margin-top: 16px; font-size: var(--t-mini); color: var(--tinte-still); }
.du-stand a, .du-quelle a { color: var(--blau); overflow-wrap: anywhere; }
/* Die Fussnotenziffer ist sonst nur 4 px breit — zu klein für einen Finger. */
.du-stand sup a { display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px; text-align: center; }
.du-quelle { margin-top: 8px; font-size: var(--t-mini); color: var(--tinte-still); }
.du-haken { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.du-haken li { position: relative; padding-left: 30px; color: var(--tinte-leise); }
.du-haken li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--tuerkis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.du-haken li strong { color: var(--tinte); }

.du-vorlage { margin-top: 20px; border-radius: var(--rund-l); box-shadow: inset 0 0 0 1px var(--linie); background: var(--papier); scroll-margin-top: 96px; }
.du-vorlage > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.du-vorlage > summary::-webkit-details-marker { display: none; }
.du-vorlage > summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; color: var(--blau); }
.du-vorlage[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat; }
.du-vorlage-innen { padding: 0 26px 24px; }
.du-vorlage-hinweis { color: var(--tinte-leise); font-size: 0.96875rem; max-width: 44rem; }
.du-vorlage-hinweis + .du-vorlage-hinweis { margin-top: 8px; }
.du-vorlage-hinweis a { color: var(--blau); }
.du-vorlage-text { margin-top: 16px; padding: 22px 24px; border-radius: 16px; background: var(--papier-grau); box-shadow: inset 0 0 0 1px var(--linie); font-size: 0.9375rem; line-height: 1.6; max-height: 34rem; overflow: auto; overflow-wrap: anywhere; }
.du-vorlage-text p + p { margin-top: 10px; }
.du-vorlage-text .du-vorlage-punkt { padding-left: 1.4em; text-indent: -1.4em; }
.du-vorlage-text .du-vorlage-unter { padding-left: 2.6em; text-indent: -1.2em; margin-top: 4px; }
.du-vorlage-text code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.84375rem; }
.du-vorlage-text .du-vorlage-fuss { font-size: var(--t-mini); color: var(--tinte-still); font-style: italic; }
.du-vorlage-tun { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.du-vorlage-meldung { font-size: 0.9375rem; color: var(--tuerkis); font-weight: 600; }
.du-vorlage-meldung[hidden], .du-vorlage-tun [hidden] { display: none; }
@media (max-width: 560px) {
  .du-export-weg, .du-export-liste { padding: 20px; }
  .du-vorlage > summary { padding: 18px 20px; }
  .du-vorlage-innen { padding: 0 16px 20px; }
  .du-vorlage-text { padding: 16px; }
}

/* Umstiegsseite: Verweis auf die Export-Anleitungen und die allgemeine Vorlage */
.du-systeme-export { margin-top: 18px; color: var(--tinte-leise); max-width: 46rem; }
.du-systeme-export a { color: var(--blau); }
