/* Seite /update. Nur Layout; Farben kommen aus melucio-tokens.css. */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 100px var(--gutter-text) 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 720px; line-height: var(--read-lh, 1.7); }
.lead a, .update-hinweis a, .dl-klein a { color: var(--accent-hover); }
.page-h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; margin: 12px 0 18px; }
.page-h1 .gradient { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.update-h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 48px 0 14px; }
.dl-karte { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 16px; padding: var(--gutter-card, 28px); margin: 28px 0; max-width: 720px; }
.dl-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 32px; text-align: center; box-sizing: border-box; border-radius: 9999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: transform 160ms ease; }
.dl-knopf:hover { transform: translateY(-1px); }
.dl-knopf--zweit { background: transparent; color: var(--accent-text); border: 2px solid var(--accent); margin-left: 12px; }
.dl-knopf:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.dl-klein { margin: 14px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.dl-warnung { margin-top: 6px; color: var(--text); }
.update-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.update-raster .service-card { margin: 0; }
.update-schritte { max-width: 720px; padding-left: 1.4rem; line-height: var(--read-lh, 1.7); color: var(--text-muted); }
.update-schritte li { margin-bottom: 10px; padding-left: 4px; }
.update-schritte li::marker { color: var(--accent-text); font-weight: 700; }
.update-hinweis { max-width: 720px; margin: 28px 0; padding: 18px 22px; background: var(--bg-card); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: 12px; }
.update-hinweis h3 { margin: 0 0 8px; font-size: 1.05rem; }
.update-hinweis p { margin: 0 0 12px; color: var(--text-muted); line-height: var(--read-lh, 1.65); }
.update-code { display: flex; gap: 12px; align-items: center; max-width: 720px; margin: 8px 0 0; }
.update-code code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; font-size: 0.9rem; }
.update-code .btn { flex: 0 0 auto; min-height: 44px; min-width: 44px; }
@media (max-width: 767px) {
    .update-raster { grid-template-columns: minmax(0, 1fr); }
    .dl-knopf { display: flex; width: 100%; padding: 12px 16px; }
    .dl-knopf--zweit { margin: 12px 0 0; }
    .update-code { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .dl-knopf { transition: none; } }
/* Fensterbild: Das Token-System schaltet hell/dunkel ueber data-theme, bei
   System-Vorgabe ueber prefers-color-scheme (gleiche Logik wie melucio-tokens.css). */
.fenster-bild { display: block; width: 100%; height: auto; max-width: 560px; margin: 18px 0 0; border-radius: 12px; border: 1px solid var(--line-2); }
.fenster-dunkel { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .fenster-hell { display: none; }
    :root:not([data-theme="light"]) .fenster-dunkel { display: block; }
}
:root[data-theme="dark"] .fenster-hell { display: none; }
:root[data-theme="dark"] .fenster-dunkel { display: block; }

/* Telefon: Das Fensterbild (820 px breit) ist dort nicht lesbar und entfällt. */
@media (max-width: 600px) {
    .fenster-bild, .fenster-hell, .fenster-dunkel { display: none !important; }
    .page-h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); margin-bottom: 14px; }
    .lead { font-size: 1.02rem; }
    .dl-karte { padding: 18px; margin: 20px 0; }
    .dl-knopf { font-size: 1.02rem; min-height: 52px; }
    .update-raster { gap: 12px; margin-top: 20px; }
    .update-raster .service-card { padding: 16px 18px; }
    .update-h2 { margin: 32px 0 12px; }
    .update-hinweis { padding: 16px 16px; margin: 20px 0; }
}
