/* ============================================================
   glowiszyn UG – Landing Page
   Seriöses, helles Theme · Navy + zurückhaltendes Blau
   ============================================================ */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f5f7fa;
  --ink:       #0f1b2d;   /* Überschriften, fast-Navy */
  --text:      #3b4759;
  --muted:     #6b7787;
  --line:      #e4e9f0;
  --brand:     #1f4ed8;   /* seriöses Blau */
  --brand-dk:  #1a3fb0;
  --brand-soft:#eef3ff;
  --radius:    14px;
  --maxw:      1140px;
  --shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 1px 3px rgba(15,27,45,.05);
  --shadow-md: 0 10px 30px rgba(15,27,45,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Brand --- */
.brand { font-weight: 800; font-size: 1.16rem; letter-spacing: -.2px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand__logo { border-radius: 7px; }
.brand__accent { color: var(--brand); }

/* --- NAV --- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.85); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a { color: var(--text); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav__links > a:hover { color: var(--brand); }

.lang { display: inline-flex; gap: 3px; padding: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; }
.lang__btn { display: inline-flex; padding: 4px 6px; background: transparent; border: 0; border-radius: 6px; cursor: pointer; opacity: .45; transition: opacity .15s, background .15s; }
.lang__btn svg { border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(15,27,45,.08); }
.lang__btn:hover { opacity: .8; }
.lang__btn--active { opacity: 1; background: #fff; box-shadow: var(--shadow-sm); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; transition: transform .12s, box-shadow .18s, background .15s, border-color .15s; cursor: pointer; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31,78,216,.22); }
.btn--primary:hover { background: var(--brand-dk); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31,78,216,.3); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* --- HERO --- */
.hero { padding: 78px 0 58px; background:
  radial-gradient(60% 80% at 80% -10%, rgba(31,78,216,.06), transparent 60%),
  linear-gradient(180deg, #fbfcfe, #ffffff); border-bottom: 1px solid var(--line); }
.hero__inner { max-width: 800px; }
.pill { display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,78,216,.16); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; font-weight: 800; letter-spacing: -1px; }
.lead { font-size: 1.16rem; color: var(--muted); margin: 0 0 30px; max-width: 620px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.stats { display: flex; gap: 48px; margin: 50px 0 0; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat { margin: 0; }
.stat__num { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.stat dd { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* --- Sections --- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0 0 12px; letter-spacing: -.5px; }
.section__title--left { text-align: left; }
.section__sub { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* --- App cards (Fokus) --- */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4ddec; }
.card--soon { background: #fbfcfe; }

/* Screenshot-Vorschau / Galerie */
.card__preview {
  position: relative; height: 260px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(31,78,216,.10), transparent 60%),
    linear-gradient(180deg, #eef2f8, #e7ecf4);
  border-bottom: 1px solid var(--line);
}
/* Einzelbild (direkt im preview) */
.card__preview > .card__shot { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.card__shot { height: 244px; width: auto; border-radius: 16px 16px 0 0; box-shadow: 0 14px 34px rgba(15,27,45,.22); }
.card__preview--icon { display: flex; align-items: center; justify-content: center; }
.card__shot-icon { height: 96px; width: 96px; border-radius: 22px; box-shadow: 0 10px 26px rgba(15,27,45,.16); }

/* Galerie */
.gallery { position: absolute; inset: 0; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; scroll-snap-align: center; }
.gallery__nav {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .18s, background .15s; padding: 0;
}
.gallery__nav:hover { background: #fff; color: var(--brand); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.card__preview:hover .gallery__nav { opacity: 1; }
.gallery__dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; gap: 6px; justify-content: center; }
.gallery__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(15,27,45,.28); cursor: pointer; transition: width .18s, background .18s; box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.gallery__dot--active { width: 18px; border-radius: 4px; background: var(--brand); }

@media (hover: none) {
  .gallery__nav { display: none; }
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card__icon { width: 46px; height: 46px; flex: none; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.card__icon img { width: 100%; height: 100%; object-fit: cover; }
.card__name { font-size: 1.22rem; font-weight: 700; margin: 0 0 6px; letter-spacing: -.3px; }
.card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 3px 9px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; }
.card__tag { color: var(--text); font-size: .98rem; margin: 0 0 22px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.card__stores { display: flex; gap: 8px; flex-wrap: wrap; }
.store img { display: block; height: 36px; width: auto; border-radius: 7px; transition: transform .12s, box-shadow .15s; }
.store:hover img { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.card__more { font-weight: 600; font-size: .92rem; color: var(--brand); white-space: nowrap; transition: gap .15s; }
.card__more:hover { color: var(--brand-dk); }
.card__more--muted { color: var(--muted); }
.card__badge { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,78,216,.18); padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }

/* --- About --- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about__text p { color: var(--text); margin: 0 0 14px; }
.about__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800; }

/* --- Kontakt / CTA --- */
.cta-band { background: linear-gradient(135deg, #15294a, #0f1b2d); color: #e8edf5; padding: 84px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 12px; letter-spacing: -.5px; }
.cta-band p { color: #aab6c9; max-width: 540px; margin: 0 auto 28px; font-size: 1.06rem; }
.cta-band .btn--primary { background: #fff; color: var(--brand-dk); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cta-band .btn--primary:hover { background: #eef3ff; }
.cta-band__mail { display: block; margin-top: 18px; color: #8fa6ce; font-size: .95rem; font-weight: 500; }
.cta-band__mail:hover { color: #fff; }

/* --- Footer --- */
.footer { background: #0b1422; color: #93a0b4; padding: 40px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__accent { color: #6f96ff; }
.footer__brand p { margin: 8px 0 0; font-size: .9rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: #93a0b4; font-size: .92rem; }
.footer__links a:hover { color: #fff; }
.footer__legal { color: #5b6779; font-size: .82rem; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .nav__links > a, .nav .btn--sm { display: none; }
  .stats { gap: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
