/* Download-Seiten Inhalt – eigenes Design (Header/Footer unverändert) */

:root {
  --awron-orange: #ff802b;
  --awron-orange-hover: #e66f1f;
  --awron-black: #0a0a0a;
  --awron-panel: #111111;
  --awron-muted: #8a8a8a;
  --awron-border: rgba(255, 255, 255, 0.1);
  --awron-border-accent: rgba(255, 128, 43, 0.4);
  --awron-radius: 12px;
}

.download-page {
  --dl-text: #f2f2f2;
  --dl-text-muted: #a3a3a3;
}

.download-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.download-page a.btn-download {
  color: #000 !important;
  text-decoration: none;
}

.download-page a.btn-download:hover {
  color: #000 !important;
}

/* ── Hero (dunkel, Software-Look) ── */

.dl-hero {
  position: relative;
  padding: 72px 0 80px;
  background: var(--awron-black);
  color: var(--dl-text);
  overflow: hidden;
}

.dl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 128, 43, 0.07), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  pointer-events: none;
}

.dl-hero .container {
  position: relative;
  z-index: 1;
}

.dl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.dl-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--awron-orange);
}

.dl-eyebrow--dark {
  color: #888;
}

.dl-hero-text h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #fff;
}

.dl-lead {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dl-text-muted);
}

/* Unterstützte Geräte */

.dl-devices {
  margin-bottom: 32px;
}

.dl-devices-label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dl-text-muted);
}

.dl-device-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-device {
  display: block;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.dl-device-list .dl-device:hover {
  border-color: var(--awron-border-accent);
  background: rgba(255, 128, 43, 0.08);
  color: #fff !important;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--awron-border);
  border-radius: var(--awron-radius);
  overflow: hidden;
}

.dl-spec {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--awron-border);
}

.dl-spec:last-child {
  border-right: none;
}

.dl-spec-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dl-text-muted);
}

.dl-spec-label::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin-top: 8px;
  background: var(--awron-border-accent);
}

.dl-spec-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.dl-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  padding: 16px 28px;
  background: var(--awron-orange);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--awron-radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 128, 43, 0.25);
}

.btn-download:hover {
  background: var(--awron-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 128, 43, 0.3);
}

.btn-download svg {
  flex-shrink: 0;
}

.download-note {
  margin: 0;
  font-size: 13px;
  color: var(--dl-text-muted);
}

/* Screenshot-Vorschau */

.dl-app-frame {
  border-radius: var(--awron-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.dl-app-screenshot {
  width: 100%;
  vertical-align: top;
}

/* ── Features ── */

.dl-features {
  padding: 64px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.dl-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dl-feature {
  padding: 28px 24px 24px;
  border: 1px solid #e8e8e8;
  border-radius: var(--awron-radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dl-feature:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dl-feature-num {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--awron-orange);
}

.dl-feature h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.dl-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* ── Gallery (Bento-Layout) ── */

.dl-gallery {
  padding: 72px 0;
  background: #f4f4f4;
}

.dl-section-head {
  margin-bottom: 40px;
  max-width: 640px;
}

.dl-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #111;
}

.dl-section-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

.dl-gallery-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: start;
}

.dl-shot {
  margin: 0;
  border-radius: var(--awron-radius);
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}

.dl-shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.dl-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.dl-shot figcaption {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.dl-shot--main img {
  aspect-ratio: auto;
  min-height: 320px;
}

.dl-shot-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Requirements ── */

.dl-requirements {
  padding: 48px 0 64px;
  background: #fff;
}

.dl-req-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: var(--awron-radius);
  color: #111;
}

.dl-req-title h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: #111;
}

.dl-req-title p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  max-width: 360px;
}

.dl-req-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-req-list li {
  position: relative;
  padding-left: 16px;
}

.dl-req-list > li:not(.dl-req-devices)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--awron-orange);
}

.dl-req-devices {
  padding-left: 0 !important;
}

.dl-req-devices::before {
  display: none;
}

.dl-req-device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.dl-req-device-tags li {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.dl-req-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.dl-req-list span {
  display: block;
  font-size: 13px;
  color: #666;
}

/* Footer overrides – Flatsome übernimmt Basis-Styling */

.footer-widgets .textwidget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widgets .textwidget li {
  margin-bottom: 8px;
}

/* Responsive */

@media (max-width: 992px) {
  .dl-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dl-hero-preview {
    order: -1;
  }

  .dl-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dl-gallery-layout {
    grid-template-columns: 1fr;
  }

  .dl-req-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .dl-hero {
    padding: 48px 0 56px;
  }

  .dl-specs {
    grid-template-columns: 1fr;
  }

  .dl-device-list {
    grid-template-columns: 1fr;
  }

  .dl-spec {
    border-right: none;
    border-bottom: 1px solid var(--awron-border);
  }

  .dl-spec:last-child {
    border-bottom: none;
  }

  .dl-features-grid,
  .dl-shot-stack {
    grid-template-columns: 1fr;
  }

  .btn-download {
    width: 100%;
    min-width: 0;
  }

  .dl-req-list {
    flex-direction: column;
    gap: 16px;
  }

  .dl-req-bar {
    padding: 28px 24px;
  }
}
