/* ==========================================================================
   App-Download (public/download.php) – baut auf praesentation.css auf. Präfix .dl-
   ========================================================================== */

.dl h3 { font-weight: 750; letter-spacing: -.015em; }

/* Hero */
.dl-hero { position: relative; isolation: isolate; padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 72px); }
.dl-hero::before {
  content: ""; position: absolute; inset: -84px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(760px 480px at 80% 40%, color-mix(in oklab, var(--rf-akzent-hell) 22%, transparent), transparent 70%),
              radial-gradient(560px 360px at 0% 0%, color-mix(in oklab, var(--pr-warm) 12%, transparent), transparent 70%);
}
.dl-hero__raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.dl-hero__raster > * { min-width: 0; }
.dl-hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 22px; }
.dl-hero h1 .pr-gruen { display: block; }
.dl-hero .pr-lead { margin-bottom: 30px; }

.dl-zugang { padding: 20px; border-radius: 24px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); box-shadow: var(--rf-schatten-md); max-width: 560px; }
.dl-zugang__kopf { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; color: var(--rf-text-2); }
.dl-zugang__kopf b { display: block; color: var(--rf-text); font-size: 15.5px; }
.dl-zugang__kopf i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex: none; font-size: 15px; background: var(--rf-flaeche-2); color: var(--rf-text-3); }
.dl-zugang--frei .dl-zugang__kopf i { background: var(--rf-akzent-weich); color: var(--rf-akzent); }
.dl-zugang .pr-knopf { min-height: 54px; }

.dl-hero__bild .pr-telefon { width: min(100%, 320px); }

/* Beta-Hinweis */
.dl-beta { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 20px; border-radius: 18px; background: var(--pr-warm-weich); color: var(--rf-text-2); font-size: 15px; line-height: 1.5; }
.dl-beta i { color: color-mix(in oklab, var(--pr-warm), #000 25%); font-size: 18px; flex: none; }
[data-theme="dark"] .dl-beta i { color: var(--pr-warm); }
.dl-beta b { color: var(--rf-text); }
.dl-beta a { color: var(--rf-text); font-weight: 650; }

/* Funktionen */
.dl-funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-funktionen article { padding: 28px 26px; border-radius: 26px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); }
.dl-funktionen i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; background: var(--rf-akzent-weich); color: var(--rf-akzent); font-size: 19px; }
.dl-funktionen h3 { font-size: 19px; margin: 0 0 8px; }
.dl-funktionen p { margin: 0; color: var(--rf-text-2); font-size: 15px; line-height: 1.6; }

/* Tour */
.dl-tour-sektion { background: var(--rf-flaeche); border-block: 1px solid var(--rf-rand); }
.dl-tour { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1000px; margin-inline: auto; }
.dl-tour__telefon .pr-telefon { width: min(100%, 300px); animation: none; }
.dl-tour__bild { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--rf-kurve); }
.dl-tour__bild.ist-aktiv { opacity: 1; }
.dl-tour__schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-tour__schritte button { display: flex; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 20px; border: 1px solid transparent; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background .25s, border-color .25s; }
.dl-tour__schritte button:hover { background: var(--pr-papier); }
.dl-tour__schritte button.ist-aktiv { background: var(--pr-papier); border-color: var(--rf-rand); box-shadow: var(--rf-schatten-md); }
.dl-tour__nr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; flex: none; font: 800 15px/1 var(--rf-schrift-titel); background: var(--rf-flaeche-2); color: var(--rf-text-3); transition: background .25s, color .25s; }
.dl-tour__schritte button.ist-aktiv .dl-tour__nr { background: var(--rf-akzent); color: var(--rf-akzent-auf); }
.dl-tour__schritte b { display: block; font: 750 18px/1.3 var(--rf-schrift-titel); color: var(--rf-text); margin-bottom: 4px; }
.dl-tour__schritte small { display: block; color: var(--rf-text-2); font-size: 15px; line-height: 1.55; }
.dl-hinweis { margin: 32px 0 0; text-align: center; font-size: 12.5px; color: var(--rf-text-3); }

/* Installation */
.dl-installation { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.dl-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-schritte li { display: flex; gap: 18px; padding: 22px 24px; border-radius: 22px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); color: var(--rf-text-2); font-size: 15px; line-height: 1.55; }
.dl-schritte li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: none; font: 800 17px/1 var(--rf-schrift-titel); background: var(--rf-akzent); color: var(--rf-akzent-auf); }
.dl-schritte b { display: block; color: var(--rf-text); font-size: 16.5px; margin-bottom: 2px; }

/* Responsiv */
@media (max-width: 1000px) {
  .dl-hero__raster, .dl-installation { grid-template-columns: 1fr; }
  .dl-funktionen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .dl-funktionen { grid-template-columns: 1fr; }
  .dl-tour { grid-template-columns: 1fr; }
  .dl-tour__telefon .pr-telefon { width: min(70%, 260px); }
  .dl-zugang .pr-knoepfe { flex-direction: column; }
}
