:root {
  --accent: #ff7a1a;
  --accent-dark: #c65300;
  --text: #1f2933;
  --muted: #5f6b76;
  --bg: #f7f7f8;
  --card: #ffffff;
  --border: #e5e7eb;
  --soft: #fff7ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
}

.hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,247,248,0.98)),
    url("assets/sudoku-feature.png") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 20px 42px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
}

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 16px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.15rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: 1.08rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding-left: 30px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--soft);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  color: #713f12;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #111827;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255,122,26,0.22);
}

.btn:hover {
  text-decoration: none;
  background: #e9680d;
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.mini {
  color: var(--muted);
  font-size: 0.94rem;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 24px 20px;
  text-align: center;
  font-size: 0.92rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.screenshot-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.82);
}

.screenshot-lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  width: min(96vw, 760px);
  max-height: 94vh;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}


.screenshot-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.download-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.download-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.download-item:hover {
  text-decoration: none;
  border-color: #fed7aa;
  background: #fffaf5;
}

.download-item strong {
  display: block;
  font-size: 1.02rem;
}

.download-item small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.download-item em {
  font-style: normal;
  white-space: nowrap;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

code {
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 5px;
}

@media (max-width: 900px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding-top: 36px;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .badges {
    justify-content: center;
  }

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

  .card {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-lightbox {
    padding: 14px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-image {
    max-height: 76vh;
  }

  .download-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Datenschutzseite */
.privacy-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.privacy-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.privacy-article h1,
.privacy-article h2 {
  line-height: 1.2;
  margin-top: 0;
}

.privacy-article h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.privacy-article h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 1.35rem;
}

.privacy-article p,
.privacy-article li {
  font-size: 1rem;
}

.privacy-meta {
  color: var(--muted);
  margin-bottom: 24px;
}

.privacy-notice {
  border-left: 5px solid var(--accent);
  background: #fff7ed;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 20px 0;
}

.todo {
  color: #9a3412;
  font-weight: 700;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

