* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #08080a;
  color: #d8d8dc;
  font-family: "JetBrains Mono", monospace;
  overflow-x: hidden;
}

/* Animierter Hintergrund, wie in der App selbst */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(200, 30, 40, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 30, 40, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 30% 10%, rgba(200, 30, 40, 0.18), transparent 50%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  border: 1px solid #c81e28;
  color: #ff9a9e;
  padding: 5px 14px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background: rgba(200, 30, 40, 0.06);
}

h1, h2, h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: #f2f2f2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  border-bottom: 1px solid #1c1c1e;
  position: sticky;
  top: 0;
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 1px 0 rgba(200, 30, 40, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(200, 30, 40, 0.5));
}

.logo-text {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
  color: #f2f2f2;
}

.navbar nav {
  display: flex;
  gap: 36px;
}

.navbar nav a {
  position: relative;
  color: #9a9a9e;
  font-size: 13px;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: #c81e28;
  transition: width 0.25s ease;
}

.navbar nav a:hover {
  color: #f2f2f2;
}

.navbar nav a:hover::after {
  width: 100%;
}

.btn-small {
  padding: 8px 18px !important;
  font-size: 12px !important;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: #c81e28;
  color: #08080a;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #e2313c;
  box-shadow: 0 0 24px rgba(200, 30, 40, 0.5);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid #3a3a40;
  color: #ccc;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #6a6a70;
  color: #fff;
}

.btn-large {
  padding: 18px 40px;
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 110px 24px 90px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: #ff2d3a;
  text-shadow: 0 0 24px rgba(255, 45, 58, 0.5);
}

.hero-text {
  color: #9a9a9e;
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ---------- Sections generic ---------- */
section {
  padding: 90px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, #131316 0%, #0e0e10 100%);
  border: 1px solid #222226;
  border-radius: 8px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c81e28, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 30, 40, 0.4);
  box-shadow: 0 16px 40px rgba(200, 30, 40, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 11px;
  color: #333338;
  font-weight: 700;
  letter-spacing: 1px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(200, 30, 40, 0.1);
  border: 1px solid rgba(200, 30, 40, 0.3);
  border-radius: 8px;
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(200, 30, 40, 0.18);
  border-color: rgba(200, 30, 40, 0.6);
  box-shadow: 0 0 20px rgba(200, 30, 40, 0.25);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.feature-card p {
  color: #9a9a9e;
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- Screenshots ---------- */
.screenshots {
  text-align: center;
}

/* ---------- Karussell ---------- */
.carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #222226;
  background: #0d0d0f;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
  animation: slideEin 0.3s ease;
}

@keyframes slideEin {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.carousel-slide img {
  width: 100%;
  display: block;
  cursor: zoom-in;
  border-bottom: 1px solid #222226;
  transition: filter 0.2s ease;
}

.carousel-slide img:hover {
  filter: brightness(1.08);
}

.carousel-slide p {
  padding: 16px 20px;
  font-size: 13.5px;
  color: #9a9a9e;
  text-align: center;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #333338;
  background: #111114;
  color: #ccc;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  border-color: #c81e28;
  color: #ff9a9e;
  box-shadow: 0 0 16px rgba(200, 30, 40, 0.3);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333338;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: #c81e28;
  box-shadow: 0 0 10px rgba(200, 30, 40, 0.5);
}

/* ---------- Lightbox (vergrößerte Ansicht) ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 4, 5, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.aktiv {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  border: 1px solid #333338;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 34px;
  font-size: 26px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: #ff9a9e;
}

/* ---------- Download ---------- */
.download {
  text-align: center;
  border-top: 1px solid #1c1c1e;
  border-bottom: 1px solid #1c1c1e;
  padding-top: 90px;
  padding-bottom: 90px;
}

.download h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.download p {
  color: #9a9a9e;
  font-size: 15px;
  margin-bottom: 30px;
}

.download-meta {
  margin-top: 18px;
  font-size: 12px;
  color: #5a5a60;
}

.install-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 60px auto 0;
  text-align: left;
}

.install-step {
  position: relative;
  padding: 24px 20px 20px;
  background: #0d0d0f;
  border: 1px solid #1e1e22;
  border-radius: 8px;
}

.install-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 16px;
  height: 1px;
  background: #2a2a2e;
}

.install-step:last-child::after {
  display: none;
}

.install-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(200, 30, 40, 0.12);
  border: 1px solid rgba(200, 30, 40, 0.4);
  color: #ff9a9e;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.install-step h4 {
  font-size: 14.5px;
  margin-bottom: 8px;
  color: #f2f2f2;
}

.install-step p {
  font-size: 12px;
  color: #8a8a90;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Changelog ---------- */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid #1c1c1e;
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-version {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.version-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  background: rgba(200, 30, 40, 0.12);
  border: 1px solid rgba(200, 30, 40, 0.35);
  color: #ff9a9e;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.version-date {
  font-size: 12px;
  color: #6a6a70;
}

.changelog-details h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.changelog-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.changelog-details li {
  font-size: 13.5px;
  color: #9a9a9e;
  padding-left: 18px;
  position: relative;
}

.changelog-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #c81e28;
}

/* ---------- Kontaktformular ---------- */
.contact-intro {
  color: #9a9a9e;
  font-size: 14px;
  margin-top: 12px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6a6a70;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: #0d0d0f;
  border: 1px solid #2a2a2e;
  border-radius: 5px;
  color: #e5e5e5;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c81e28;
  box-shadow: 0 0 0 3px rgba(200, 30, 40, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
footer {
  border-top: 1px solid #1c1c1e;
  padding: 70px 60px 30px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c81e28, transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-tagline {
  color: #7a7a80;
  font-size: 13px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-column h4 {
  font-size: 12px;
  color: #6a6a70;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: #9a9a9e;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ff9a9e;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #2a2a2e;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #9a9a9e;
  margin: 0;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  border-color: #c81e28;
  color: #ff9a9e;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1c1c1e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: #5a5a60;
  font-size: 12px;
}

.footer-made {
  color: #444448 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .navbar {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .navbar nav {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .carousel {
    flex-direction: column;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .install-guide {
    grid-template-columns: 1fr;
  }
  .install-step::after {
    display: none;
  }
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}