/* ─── TEVRA WEBSITE — Styles ────────────────────────────── */

:root {
  --gruen:        #00c97a;
  --gruen-hell:   #00e691;
  --hintergrund:  #0d0d0d;
  --karte:        #181818;
  --border:       #2a2a2a;
  --text:         #f0f0f0;
  --text-grau:    #888;
  --radius:       16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--hintergrund);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ─── HEADER ─────────────────────────────────────────────── */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__logo-bild {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gruen);
  letter-spacing: -0.5px;
}

/* Großes Logo im Hero-Bereich */
.hero__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.header-btn {
  background: var(--gruen);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
}

.header-btn:hover {
  background: var(--gruen-hell);
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 6rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
}

h1 br + span,
h1 span {
  color: var(--gruen);
}

.hero__beschreibung {
  font-size: 1.1rem;
  color: var(--text-grau);
  max-width: 480px;
  line-height: 1.7;
}

/* Download-Buttons */
.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 160px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 201, 122, 0.2);
}

.download-btn--pwa {
  background: var(--gruen);
  color: #000;
  font-size: 1.05rem;
}

.download-btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.download-btn__sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.7;
  line-height: 1;
}

.download-btn__store {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.hinweis {
  font-size: 0.75rem;
  color: var(--text-grau);
}

.pwa-hinweis {
  font-size: 0.82rem;
  color: var(--gruen);
  opacity: 0.8;
}

/* ─── HANDY-MOCKUPS ──────────────────────────────────────── */

.hero__mockups {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 560px;
}

.mockup {
  width: 230px;
  height: 480px;
  background: #111;
  border-radius: 40px;
  border: 2px solid var(--border);
  overflow: hidden;
  position: absolute;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.mockup--hinten {
  right: calc(50% - 80px);
  bottom: 40px;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.7;
}

.mockup--vorne {
  right: calc(50% - 180px);
  bottom: 0;
  transform: rotate(3deg);
  z-index: 2;
}

.mockup__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mockup__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ─── FEATURES ───────────────────────────────────────────── */

.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features__titel {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.feature-kachel {
  background: var(--karte);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.15s;
}

.feature-kachel:hover {
  border-color: var(--gruen);
}

.feature-kachel__icon {
  font-size: 2rem;
}

.feature-kachel h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.feature-kachel p {
  font-size: 0.9rem;
  color: var(--text-grau);
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-grau);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--gruen);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--gruen-hell);
}

.footer-links span {
  color: var(--text-grau);
}

/* ─── IMPRESSUM / DATENSCHUTZ SEITEN ────────────────────── */

.rechtsseite-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.rechtsseite-titel {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2rem;
}

.rechtsseite-platzhalter {
  background: var(--karte);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--text-grau);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rechtsseite-inhalt {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.rechtsseite-inhalt h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gruen);
  margin-top: 0.5rem;
}

.rechtsseite-quelle {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-grau);
}

/* ─── RESPONSIVE (Handy) ─────────────────────────────────── */

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.2rem;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }

  .hero__text {
    order: 1;
  }

  .hero__beschreibung {
    max-width: 100%;
  }

  .download-buttons {
    justify-content: center;
  }

  .hero__mockups {
    order: 2;
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .mockup--hinten {
    display: none;
  }

  .mockup--vorne {
    position: relative;
    transform: none;
    width: 160px;
    height: 320px;
    margin: 0 auto;
  }

  .features {
    padding: 3rem 1.5rem;
  }
}
