/* ============================================
   CSS-Variablen & Design-System
   Farben, Abstände, Typografie
   ============================================ */
:root {
  --clr-bg:          #0a0f1e;        /* Tiefdunkelblau Hintergrund */
  --clr-surface:     #111827;        /* Karten-Hintergrund */
  --clr-surface-2:   #1a2236;        /* Karten hover / border */
  --clr-primary:     #1d4ed8;        /* Hauptblau */
  --clr-accent:      #38bdf8;        /* Cyan Akzent / Scan-Farbe */
  --clr-accent-glow: rgba(56,189,248,.25);
  --clr-text:        #f0f6ff;        /* Haupttext */
  --clr-text-muted:  #8b9ab5;        /* Subtext */
  --clr-border:      rgba(56,189,248,.15);
  --clr-white:       #ffffff;

  --font-head:    'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius:    12px;
  --radius-lg: 20px;

  /* Abstands-Skala (8dp) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --transition: 200ms ease;
  --max-w: 1200px;
}

/* ============================================
   Reset & Basis
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-head);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

/* Barrierefreiheit: Focus-Ring */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced-motion Respekt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================
   Container / Layout-Hilfsklassen
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-7); } }

/* ============================================
   Wiederverwendbare Abschnitt-Elemente
   ============================================ */
.section-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}

.section-label--light { color: rgba(56,189,248,.7); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  color: var(--clr-text);
}

.section-title--light { color: var(--clr-white); }

.section-text {
  max-width: 640px;
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.section-text--light { color: rgba(255,255,255,.75); }

/* ============================================
   Logo-Bild
   ============================================ */
.header__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================
   Download-Buttons (Store-Buttons)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-family: var(--font-head);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
  touch-action: manipulation; /* iOS Tap-Delay vermeiden */
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

.btn--store { min-width: 160px; }

/* Apple Store Button */
.btn--apple {
  background: var(--clr-white);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.btn--apple:hover { box-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* Google Play Button */
.btn--google {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(29,78,216,.4);
}
.btn--google:hover { box-shadow: 0 8px 30px rgba(29,78,216,.6); }

/* Großer Button (CTA-Sektion) */
.btn--large { padding: var(--sp-4) var(--sp-6); font-size: 1rem; }

/* Button-Icon */
.btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
.btn--large .btn__icon { width: 26px; height: 26px; }

/* Button-Texte */
.btn__text { display: flex; flex-direction: column; line-height: 1.2; }
.btn__sub   { font-size: .65rem; opacity: .7; }
.btn__name  { font-size: .95rem; font-weight: 700; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-4);
}

/* ---- Desktop Navigation ---- */
.header__nav {
  display: none;           /* Mobile: versteckt */
  align-items: center;
  gap: var(--sp-5);
  flex: 1;
  justify-content: center;
}

@media (min-width: 900px) {
  .header__nav { display: flex; }
}

.header__nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.header__nav-link:hover { color: var(--clr-text); }

/* Download-Button in der Nav */
.header__nav-link--cta {
  color: var(--clr-accent);
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 8px;
  padding: var(--sp-1) var(--sp-4);
  transition: background var(--transition), color var(--transition);
}

.header__nav-link--cta:hover {
  background: rgba(56,189,248,.1);
  color: var(--clr-accent);
}

/* ---- Hamburger Button ---- */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .header__hamburger { display: none; }
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text-muted);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* X-Animation wenn offen */
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Menü ---- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease, padding 300ms ease;
}

.mobile-menu.is-open {
  max-height: 300px;
  padding-block: var(--sp-4);
}

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

.mobile-menu__link {
  padding: var(--sp-3) var(--sp-5);
  font-size: .95rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu__link:hover {
  color: var(--clr-text);
  background: rgba(56,189,248,.05);
}

.mobile-menu__link--cta {
  color: var(--clr-accent);
  margin: var(--sp-2) var(--sp-5) 0;
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 8px;
  text-align: center;
  padding: var(--sp-3);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header__brand {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* Sprachumschalter */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background var(--transition), opacity var(--transition);
  min-height: 44px; /* Touch-Target */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.lang-btn.active {
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.lang-btn:hover {
  opacity: 1;
}

/* Flaggen-Bild */
.lang-flag {
  width: 26px;
  height: 18px;
  border-radius: 2px;
  display: block;
  object-fit: cover;
}

/* ============================================
   HERO SEKTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--sp-9);
}

/* Scanner-Raster-Hintergrund */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Scan-Linie Animation */
.hero__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none;
  opacity: .5;
}

@keyframes scanline {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: .5; }
  95%  { opacity: .5; }
  100% { top: 100%; opacity: 0; }
}

/* Radiale Beleuchtung links */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(29,78,216,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  align-items: center;
  text-align: center;    /* Mobile: alles zentriert */
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;   /* Desktop: linksbündig */
  }
}

.hero__content { flex: 1; max-width: 560px; }

/* Badges Wrapper */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);          /* Mobile: mehr Abstand */
  margin-bottom: var(--sp-5);
  justify-content: center;   /* Mobile: zentriert */
}

@media (min-width: 768px) {
  .hero__badges {
    justify-content: flex-start;  /* Desktop: links */
    gap: var(--sp-2);             /* Desktop: kleinerer Abstand */
  }
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 100px;
  padding: var(--sp-1) var(--sp-4);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--clr-accent);
  letter-spacing: .05em;
}

/* Gold Download-Badge */
.hero__badge--gold {
  background: rgba(251,191,36,.1);
  border-color: rgba(251,191,36,.3);
  color: #fbbf24;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* Titel */
.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-5);
}

.hero__title--accent {
  color: var(--clr-accent);
  display: block;
}

/* Untertitel */
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  max-width: 480px;
  margin-inline: auto;   /* Mobile: zentriert */
}

@media (min-width: 768px) {
  .hero__subtitle { margin-inline: 0; }
}

/* CTA-Buttons */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;   /* Mobile: zentriert */
}

@media (min-width: 768px) {
  .hero__cta { justify-content: flex-start; }  /* Desktop: links */
}

/* Mockup Mobile-Version (zwischen Titel und Subtitle) */
.hero__mockup-mobile {
  display: flex;
  justify-content: center;
  margin-block: var(--sp-5);
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero__mockup-mobile { display: none; }  /* Desktop: versteckt, echtes Mockup sichtbar */
}

/* ============================================
   Handy-Mockup
   ============================================ */
.hero__mockup {
  flex-shrink: 0;
  display: none;              /* Mobile: versteckt (mobile version übernimmt) */
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero__mockup { display: flex; }  /* Desktop: sichtbar */
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.phone-frame {
  width: 220px;
  height: 440px;
  background: var(--clr-surface);
  border-radius: 36px;
  border: 2px solid var(--clr-border);
  padding: 16px 10px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(56,189,248,.1),
    inset 0 0 40px rgba(29,78,216,.05);
  position: relative;
  overflow: hidden;
}

/* Kamera-Notch oben */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(56,189,248,.2);
  border-radius: 3px;
}

.phone-screen {
  height: 100%;
  background: var(--clr-bg);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Echtes App-Screenshot-Bild im Phone-Frame */
.phone-screen__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 26px;
}

/* ============================================
   WAS IST DAS? SEKTION
   ============================================ */
.what-section {
  padding-block: var(--sp-9);
  border-top: 1px solid var(--clr-border);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

@media (min-width: 600px) { .what-grid { grid-template-columns: repeat(3, 1fr); } }

.what-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color var(--transition), transform var(--transition);
}

.what-card:hover {
  border-color: rgba(56,189,248,.35);
  transform: translateY(-4px);
}

.what-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(56,189,248,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--clr-accent);
}

.what-card__icon svg { width: 22px; height: 22px; }

.what-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.what-card p {
  font-size: .9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============================================
   FEATURES SEKTION
   ============================================ */
.features-section {
  padding-block: var(--sp-9);
  border-top: 1px solid var(--clr-border);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--sp-6);
}

@media (min-width: 768px) { .features-list { grid-template-columns: repeat(2, 1fr); } }

.feature-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
  border-right: 0;
  transition: background var(--transition);
  align-items: flex-start;
}

.feature-item:hover { background: rgba(56,189,248,.03); }

/* Abwechselnd rechte Grenze auf Desktop */
@media (min-width: 768px) {
  .feature-item:nth-child(odd)  { border-right: 1px solid var(--clr-border); }
  .feature-item:nth-last-child(-n+2) { border-bottom: none; }
}

.feature-item__num {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: rgba(56,189,248,.4);
  letter-spacing: .05em;
  padding-top: 2px;
  flex-shrink: 0;
  width: 24px;
}

.feature-item__content {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  flex: 1;
}

.feature-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(29,78,216,.15);
  border: 1px solid rgba(29,78,216,.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent);
}

.feature-item__icon svg { width: 18px; height: 18px; }

.feature-item h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.feature-item p {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============================================
   SCREENSHOTS SEKTION
   ============================================ */
.screenshots-section {
  padding-block: var(--sp-9);
  border-top: 1px solid var(--clr-border);
}

.screenshots-grid {
  display: flex;
  flex-direction: column;   /* Mobile: alle untereinander */
  gap: var(--sp-5);
  align-items: center;
  margin-top: var(--sp-6);
}

/* Ab 600px: nebeneinander mit versetztem Mittelbild */
@media (min-width: 600px) {
  .screenshots-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
  }
}

.screenshot-frame {
  flex-shrink: 0;
  width: 200px;            /* Mobile: etwas breiter */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), border-color var(--transition);
}

@media (min-width: 600px) {
  .screenshot-frame { width: 160px; }
}

.screenshot-frame:hover { border-color: rgba(56,189,248,.4); }

/* Mittlerer Screenshot größer + angehoben (nur Desktop) */
.screenshot-frame--center {
  border-color: rgba(56,189,248,.3);
  box-shadow: 0 20px 60px rgba(29,78,216,.3);
}

@media (min-width: 600px) {
  .screenshot-frame--center {
    width: 190px;
    transform: translateY(-16px);
  }
  .screenshot-frame--center:hover { transform: translateY(-20px); }
}

/* Screenshot-Item (Bild + Caption zusammen) */
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.screenshot-item--center {
  /* Mittleres Item etwas tiefer – Abstand für das versetzte Frame */
}

/* Echtes Screenshot-Bild */
.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Caption unter jedem Screenshot */
.screenshot-caption {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--clr-text-muted);
  letter-spacing: .05em;
}

.screenshot-caption__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--clr-accent);
}

.screenshot-caption__dot--red   { background: #f87171; }
.screenshot-caption__dot--green { background: #4ade80; }

/* ============================================
   DOWNLOAD CTA SEKTION
   ============================================ */
.cta-section {
  position: relative;
  padding-block: var(--sp-9);
  overflow: hidden;
  text-align: center;
}

/* Hintergrund-Gradient */
.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1f4e 0%, #0a1535 50%, #071028 100%);
  z-index: 0;
}

/* Dekorativer Kreis */
.cta-section__bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__inner .section-text--light {
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-5);
}

/* ============================================
   PRESSE SEKTION
   ============================================ */
.press-section {
  padding-block: var(--sp-9);
  border-top: 1px solid var(--clr-border);
  text-align: center;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

@media (min-width: 600px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }

.press-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.press-card:hover {
  border-color: rgba(56,189,248,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.press-card__logo {
  display: flex;
  align-items: center;
  height: 32px;
}

.press-card__name {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--clr-accent);
  text-transform: uppercase;
}

.press-card__quote {
  font-size: .85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
  font-style: italic;
}

.press-card__source {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: rgba(139,154,181,.5);
  letter-spacing: .04em;
}

.press-card__link {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: rgba(56,189,248,.5);
  letter-spacing: .05em;
  transition: color var(--transition);
}

.press-card:hover .press-card__link { color: var(--clr-accent); }

/* ============================================
   TO-TOP BUTTON
   ============================================ */
.to-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--clr-primary);
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease, background 200ms ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.to-top svg { width: 18px; height: 18px; color: var(--clr-white); }

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover { background: var(--clr-accent); }
.to-top:active { transform: scale(.93); }

/* ============================================
   Scroll-Animationen (via JS IntersectionObserver)
   ============================================ */
.will-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.will-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffeltes Einblenden für Karten und Features */
.what-card:nth-child(2).will-fade { transition-delay: 80ms; }
.what-card:nth-child(3).will-fade { transition-delay: 160ms; }

.feature-item:nth-child(2).will-fade { transition-delay: 60ms; }
.feature-item:nth-child(3).will-fade { transition-delay: 120ms; }
.feature-item:nth-child(4).will-fade { transition-delay: 180ms; }
.feature-item:nth-child(5).will-fade { transition-delay: 240ms; }
.feature-item:nth-child(6).will-fade { transition-delay: 300ms; }

.screenshot-frame:nth-child(2).will-fade { transition-delay: 80ms; }
.screenshot-frame:nth-child(3).will-fade { transition-delay: 160ms; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-6);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 600;
  font-size: .9rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;            /* Mobile: umbiechen wenn kein Platz */
  justify-content: center;    /* Mobile: zentriert */
  gap: var(--sp-3) var(--sp-5);
  font-size: .875rem;
  color: var(--clr-text-muted);
}

@media (min-width: 768px) {
  .footer__links {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}

.footer__links a:hover { color: var(--clr-accent); }

.footer__copy {
  font-size: .8rem;
  color: var(--clr-text-muted);
}
