:root {
  --ink: #0f1720;
  --muted: #526173;
  --line: #d7e0ea;
  --soft: #f5f8fb;
  --paper: #ffffff;
  --zeit: #1d6374;
  --zeit-dark: #114453;
  --nav: #12202b;
  --begleit: #20766f;
  --begleit-dark: #164f4c;
  --warm: #c2782b;
  --focus: #f59e0b;
  --shadow: 0 16px 36px rgba(15, 23, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--zeit);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: white;
  background: var(--nav);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand {
  padding: 14px 0;
}

.brand-logo {
  display: block;
  width: min(360px, 42vw);
  height: auto;
}

.brand img:not(.brand-logo),
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.main-nav a {
  padding: 10px 12px;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
  color: white;
  background: var(--zeit);
}

.main-nav .nav-download {
  color: white;
  background: var(--nav);
}

.nav-toggle {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font: inherit;
  font-weight: 700;
}

.hero {
  padding: 72px 0 42px;
  background:
    linear-gradient(135deg, rgba(29, 99, 116, 0.1), rgba(194, 120, 43, 0.08)),
    var(--soft);
}

.hero.compact {
  padding-bottom: 56px;
}

.hero-grid,
.two-column,
.compare-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.hero h1,
.page-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.lead {
  max-width: 720px;
  color: #334155;
  font-size: 1.16rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--zeit);
}

.button.begleit {
  color: white;
  background: var(--begleit);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button.large {
  min-height: 50px;
  padding-inline: 20px;
}

.hero-panel,
.product-card,
.feature-card,
.notice,
.security-card,
.download-card,
.info-card,
.install-step,
.legal-box,
.compare-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 32, 0.06);
}

.hero-panel,
.product-card,
.feature-card,
.notice,
.security-card,
.download-card,
.info-card,
.legal-box,
.compare-box {
  padding: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .button-row {
  margin-top: auto;
  padding-top: 16px;
}

.product-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: white;
  background: var(--zeit);
  border-radius: 8px;
  font-weight: 900;
}

.product-mark.begleit {
  background: linear-gradient(135deg, var(--begleit), #2b7ba6);
}

.product-mark img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.section {
  padding: 64px 0;
}

.muted-section {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.section-heading p,
.feature-card p,
.product-card p,
.info-card p,
.legal-box p {
  color: var(--muted);
}

.feature-grid,
.product-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card h3,
.product-card h2,
.info-card h3,
.legal-box h2,
.download-card h2 {
  margin-top: 0;
}

.feature-number {
  color: var(--warm);
  font-weight: 900;
}

.check-list,
.plain-list {
  padding-left: 1.2rem;
}

.check-list li,
.plain-list li {
  margin: 6px 0;
}

.decision-row,
.download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  background: #eef5f8;
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row span {
  padding: 7px 10px;
  color: #12313a;
  background: #e8f3f4;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  border-left: 6px solid var(--warm);
}

.notice-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--warm);
  border-radius: 999px;
  font-weight: 900;
}

.download-section {
  padding: 64px 0;
  background: var(--nav);
}

.download-list .download-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.download-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
}

.download-counter,
.counter-fallback {
  margin-top: 16px;
  color: var(--muted);
}

.download-counter strong {
  color: var(--ink);
}

.install-steps {
  display: grid;
  gap: 18px;
}

.install-step {
  display: grid;
  grid-template-columns: 48px 1fr minmax(180px, 280px);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.step-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--zeit);
  border-radius: 8px;
  font-weight: 900;
}

.shot-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shot-button img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.image-dialog {
  width: min(920px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 16px;
}

.image-dialog::backdrop {
  background: rgba(15, 23, 32, 0.7);
}

.dialog-close {
  float: right;
  margin-bottom: 10px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #f9fbfc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 6px 8px;
}

.legacy-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.legacy-highlight {
  outline: 3px solid var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    inset: 70px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .hero-grid,
  .two-column,
  .compare-grid,
  .legal-grid,
  .product-grid,
  .decision-row,
  .download-list {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install-step {
    grid-template-columns: 42px 1fr;
  }

  .shot-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 1120px);
  }

  .hero {
    padding-top: 42px;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: min(260px, 62vw);
  }

  .site-footer .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
