/* DNSLotse: Ergänzungen zu site.css (Erklärfilm DynDNS, drei Tarife, Anschluss-Test) */

/* Erklärfilm: Elemente je Kapitel einblenden */
.dl-scene .lotse.dl-show { opacity: 1; }
.dl-scene .dl { opacity: 0; transition: opacity .5s ease; }
.film[data-step="0"] .v0, .film[data-step="1"] .v1, .film[data-step="2"] .v2, .film[data-step="3"] .v3 { opacity: 1; }
.dl-scene .ipcard { fill: var(--signal); }
.dl-scene text.ip-new { font: 600 16px ui-monospace, Consolas, monospace; fill: var(--hafen); }
.dl-scene .record { fill: var(--weiss); stroke: var(--signal); stroke-width: 2; }
.dl-scene text.rec { font: 600 16px ui-monospace, Consolas, monospace; fill: var(--hafen); }
.dl-scene text.rec-ip { font: 600 15px ui-monospace, Consolas, monospace; fill: var(--ok); }
.dl-scene text.sub { fill: var(--on-dark); }
.dl-scene .node text.sub, .dl-scene .lotse text.sub { fill: var(--muted); }
.dl-scene .lotse text.sub { fill: var(--hafen); }
.dl-scene .packet circle { fill: var(--signal); }
.dl-scene .packet { offset-path: path("M240 300 C 360 300, 380 120, 410 120"); offset-rotate: 0deg; }
.film[data-step="1"] .dl-scene .packet { animation: dl-send 2.2s ease-in-out infinite; }
@keyframes dl-send { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.dl-scene .lane-access { opacity: .15; transition: opacity .5s ease, stroke .5s ease; }
.film[data-step="3"] .dl-scene .lane-access { opacity: 1; stroke: var(--signal); stroke-dasharray: none; }
.dl-scene .ok-mark circle { fill: var(--ok); }
.dl-scene .ok-mark path { fill: none; stroke: var(--weiss); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .film .dl-scene .packet { animation: none !important; offset-distance: 50%; } }

/* Hero-Ansicht: IP-Adressen rechtsbündig, nicht umbrechen */
.senders td.ip { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; white-space: nowrap; }

/* Drei Tarife */
.price-grid.three { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.price-card.featured { position: relative; border-color: var(--signal); border-width: 3px; }
.badge-top { position: absolute; top: -14px; left: 24px; margin: 0; background: var(--signal); color: var(--hafen); font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 99px; }
.price-terms.wide { margin-top: 32px; max-width: 820px; }
@media (max-width: 960px) { .price-grid.three { grid-template-columns: 1fr; } }

/* Anschluss-Test */
#conn-result .ip-big { font: 600 1.4rem ui-monospace, Consolas, monospace; margin: 16px 0 4px; color: var(--hafen); }
#conn-result p { color: var(--hafen); }

/* Knopf auf hellem Grund (btn-ghost aus site.css ist für dunkle Flächen) */
.btn-outline { background: var(--weiss); color: var(--hafen); border: 2px solid var(--hafen); }
.btn-outline:hover { background: var(--see); }
.price-grid.three { align-items: stretch; }
.price-grid.three .price-card { display: flex; flex-direction: column; }
.price-grid.three .price-card .btn { margin-top: auto; }
.price-grid.three .price-card .checks { margin-bottom: 18px; }

/* Navigation: Knöpfe und Einträge nicht umbrechen; auf mittleren Breiten zwei Einträge ausblenden (Inhalte bleiben auf der Seite) */
.menu a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1360px) {
  .menu a[href="#film"], .menu a[href="#test"] { display: none; }
}
