/* ---------- Farbpalette ---------- */
:root {
  --primary:   #46b5ff;   /* Himmel‑Blau (Buttons, Links)   */
  --secondary: #ff975f;   /* Holz‑Orange (Akzente)          */
  /*--light:      #1b1b1b;*/   /* Fließtext                      */
  --light:      #f5f5f5;
  /*--dark:     #ffffff;*/   /* Hintergründe                   */
  --dark:     #1c1818;
  --font-display: "Inter", sans-serif;
  --main-heading: #f0e91b;
}

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

body {
  font-family: var(--font-display);
  line-height: 1.6;
  color: var(--light);
  background: var(--dark);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.main-heading {
  color: var(--main-heading);
}

/* ---------- HERO ---------- */
/*.hero {
  text-align: center;
  padding: 6rem 0 1rem;
  position: relative;
  overflow: hidden;
}*/

.hero {
  background-image: url("../assets/skyBack3.png"); /* Pfad anpassen */
  background-repeat: repeat-x;     /* nur horizontal wiederholen */
  background-size: auto 100%;      /* behält Seitenverhältnis des Bildes */
  background-position: center;     /* mittig auf der Y-Achse */
  text-align: center;
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
  color: var(--light); /* optional, je nach Bild evtl. aufhellen */
}


.hero .container {
  display: flex;
  align-items: center;      /* vertikal mittig */
  justify-content: center;  /* horizontal mittig */
  gap: 2rem;                /* Abstand zwischen Bild und Text */
  flex-wrap: wrap;          /* damit es auf kleineren Geräten umbrechen kann */
  text-align: center;       /* Text im Block zentriert */
  padding: 4rem 0;          /* etwas Platz oben/unten */
}

.hero .logo {
  max-width: 160px;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  margin-bottom: 1rem;
}

.hero h1,
.hero .tagline {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


.tagline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--main-heading);
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn.store {
  display: block;
  width: 160px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Offizielle Badge‑Grafiken (liegen in assets Ordner) */
/*.btn.store.app-store  { background-image: url("../assets/appstore-badge.svg");  }
.btn.store.google-play{ background-image: url("../assets/googleplay-badge.svg"); }*/

.hero-image {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
}


/* ---------- FEATURES ---------- */
.features {
  padding: 2rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature {
  text-align: center;
}

.feature img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

/* ---------- SCREENSHOTS ---------- */
.screenshots {
  padding: 4rem 0;
}

.screenshots .carousel {
  display: flex;
  overflow-x: auto;
  justify-content: center;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  /*flex-wrap: wrap;*/
}
/*
.screenshots .carousel img {
  width: 80%;
  max-width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}
*/

.screenshots .carousel img {
  width: 100%;
  max-width: 320px;
  height: auto; /* <-- verhindert Stauchung */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  object-fit: contain; /* optional, hilft bei gleichmäßiger Darstellung */
}


/* ---------- CTA ---------- */
/*.cta {
  background: var(--primary);
  color: var(--dark);
  text-align: center;
  padding: 4rem 0;
}*/

.cta {
  background-image: url("../assets/skyBack3.png"); /* Pfad anpassen */
  background-repeat: repeat-x;     /* nur horizontal wiederholen */
  background-size: auto 100%;      /* Höhe füllt Container, Breite bleibt im Seitenverhältnis */
  background-position: center;     /* zentriert die Grafik vertikal */
  color: var(--dark);             /* Textfarbe beibehalten */
  text-align: center;
  padding: 4rem 0;
}


.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.5rem;
  font-weight: 600;
}


/* ---------- NEWSLETTER ---------- */
.newsletter {
  padding: 4rem 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 1.5rem auto 0;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.btn.primary {
  background: var(--secondary);
  color: var(--dark);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

/* ---------- FOOTER ---------- */
footer.footer {
  background: #f8f8f8;
  padding: 2rem 0;
  font-size: 0.875rem;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer .social a {
  font-size: 1.25rem;
}

/* ---------- MEDIA QUERIES ---------- */
@media (min-width: 768px) {
  .hero { padding: 8rem 0 4rem; }
  .feature-grid { gap: 3rem; }
}
