:root {
  --sun: #ffcc00;
  --night: #000066;
  --bg: #ffffff;
  --muted: rgba(0, 0, 102, 0.72);
  --card: rgba(255, 255, 255, 0.9);
  --stroke: rgba(0, 0, 102, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 102, 0.14);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--night);
  background: radial-gradient(1200px 600px at 15% -10%, rgba(255, 204, 0, 0.22), transparent 55%), radial-gradient(900px 520px at 95% 12%, rgba(0, 0, 102, 0.12), transparent 55%), var(--bg);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Accessibility */
.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--night);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9999;
}

.skip:focus {
  left: 14px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--sun);
  /* #FFCC00 */
  border-bottom: 1px solid rgba(0, 0, 102, 0.22);
  z-index: 1000;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--night);
  /* #000066 */
}

/* neues Logo-Image */
.logoImg {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.35);
  /* falls PNG transparent ist */
  border: 1px solid rgba(0, 0, 102, 0.18);
}

/* Navigation im gelben Header gut lesbar */
.navlink {
  font-weight: 700;
  color: var(--night);
  padding: 8px 10px;
  border-radius: 12px;
}

.navlink:hover {
  text-decoration: none;
  background: rgba(0, 0, 102, 0.12);
}

/* Sprachwahl passend zum Header */
.lang {
  border: 1px solid rgba(0, 0, 102, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--night);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 102, 0.08);
}

/* Sections */
section {
  padding: 72px 0;
}

.sectionTitle {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.sectionLead {
  margin: 0 0 26px 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 70ch;
}

/* Hero */
.hero {
  padding-top: 58px;
  padding-bottom: 52px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 920px) {
  .grid2 {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: rgba(0, 0, 102, 0.85);
  background: rgba(255, 204, 0, 0.22);
  border: 1px solid rgba(255, 204, 0, 0.35);
  padding: 10px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.25);
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 0 0 14px 0;
}

.hero p {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 68ch;
}

.bullets {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px 0;
  padding: 0;
  list-style: none;
  max-width: 60ch;
}

.bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(0, 0, 102, 0.86);
  font-weight: 600;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 204, 0, 0.24);
  border: 1px solid rgba(255, 204, 0, 0.42);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.check svg {
  width: 14px;
  height: 14px;
}

.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--night);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 102, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btnPrimary {
  background: linear-gradient(135deg, var(--sun), #ffd84d);
  border-color: rgba(255, 204, 0, 0.65);
}

.btn:hover {
  transform: translateY(-1px);
  transition: 0.15s ease;
  text-decoration: none;
}

.btn small {
  font-weight: 750;
  opacity: 0.9;
}

/* Phone frame */
.phoneWrap {
  display: grid;
  justify-items: end;
}

.phone {
  width: min(360px, 92vw);
  aspect-ratio: 9/16;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(0, 0, 102, 0.08), rgba(0, 0, 102, 0.02));
  border: 1px solid rgba(0, 0, 102, 0.16);
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
}

.phone:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 110px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 102, 0.18);
  filter: blur(0.1px);
  opacity: 0.9;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0a0a2b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

video,
.fallbackImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playOverlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.playOverlay.show {
  opacity: 1;
}

.playIcon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: rgba(255, 204, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.playIcon svg {
  width: 26px;
  height: 26px;
  color: var(--night);
}

.tapHint {
  margin-top: 12px;
  color: rgba(0, 0, 102, 0.65);
  font-size: 13px;
  text-align: right;
}

/* Feature blocks (Use cases) */
.featureHead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.features {
  display: grid;
  gap: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 102, 0.06);
}

.feature:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature:nth-child(even) .phoneMini {
  order: 2;
}

.feature:nth-child(even) .fText {
  order: 1;
}

@media (max-width: 920px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .phoneMini {
    order: 0;
  }

  .tapHint {
    text-align: left;
  }

  .phoneWrap {
    justify-items: start;
  }
}

.phoneMini .phone {
  width: min(320px, 92vw);
}

.fTitle {
  font-size: 22px;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}

.fDesc {
  margin: 0 0 14px 0;
  color: var(--muted);
}

.miniList {
  margin: 0;
  padding-left: 18px;
  color: rgba(0, 0, 102, 0.82);
  font-weight: 600;
}

.miniList li {
  margin: 6px 0;
}

/* Testimonials */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 102, 0.06);
}

.stars {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 10px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 204, 0, 0.95);
}

.quote {
  margin: 0 0 14px 0;
  color: rgba(0, 0, 102, 0.86);
  font-weight: 650;
}

.who {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 14px;
}

.who strong {
  color: rgba(0, 0, 102, 0.9);
}

/* Stores */
.storeRow {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.storeBtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 102, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(0, 0, 102, 0.06);
  font-weight: 850;
}

.storeBtn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  transition: 0.15s ease;
}

.storeIcon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 204, 0, 0.22);
  border: 1px solid rgba(255, 204, 0, 0.45);
}

.storeIcon svg {
  width: 22px;
  height: 22px;
  color: var(--night);
}

.storeMeta {
  display: grid;
  line-height: 1.05;
}

.storeMeta small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.storeMeta span {
  font-size: 16px;
}

/* Footer */
footer {
  padding: 34px 0 46px 0;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.65);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
}

@media (max-width: 820px) {
  .footerGrid {
    grid-template-columns: 1fr;
  }
}

.footerLinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  color: rgba(0, 0, 102, 0.84);
}

.copyright {
  color: rgba(0, 0, 102, 0.6);
  font-size: 13px;
  margin-top: 10px;
}

.ucTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ucTab {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(0, 0, 102, 0.86);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 0, 102, 0.06);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  outline: none;
}

.ucTab:hover {
  transform: translateY(-1px);
  background: rgba(255, 204, 0, 0.18);
}

.ucTab.isActive {
  background: rgba(255, 204, 0, 0.22);
  border-color: rgba(255, 204, 0, 0.55);
  color: rgba(0, 0, 102, 0.9);
}

.ucPanels {
  margin-top: 18px;
}

.ucPanel[hidden] {
  display: none;
}

/* Karte nutzt bestehendes .feature Styling (Border/Shadow/Radius) */
.ucCard {
  /* NEW: kleine Optimierung fuer den Tab-Content */
  align-items: stretch;
}

.ucPhoto {
  position: relative;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 102, 0.06);
  min-height: 240px;
}

.ucPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

/* NEW: "Sonne vs Schatten" Overlay */
.ucPhoto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 204, 0, 0.22) 0%, rgba(255, 204, 0, 0.08) 35%, rgba(0, 0, 102, 0.28) 76%, rgba(0, 0, 102, 0.38) 100%);
  pointer-events: none;
}

/* NEW: Caption im Foto */
.ucPhotoCap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 102, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 102, 0.08);
  z-index: 1;
}

.ucPhotoKicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(0, 0, 102, 0.75);
  margin-bottom: 6px;
}

.ucPhotoKickerDot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2);
}

.ucStory {
  margin: 0;
  font-weight: 850;
  color: rgba(0, 0, 102, 0.92);
  line-height: 1.2;
}

/* NEW: rechte Spalte (Phone + Text) */
.ucRight {
  display: grid;
  gap: 16px;
}

.ucRightGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

@media (max-width: 920px) {
  .ucRightGrid {
    grid-template-columns: 1fr;
  }

  .ucPhoto {
    min-height: 220px;
  }
}

/* Beide Badges gleich gross */
.storeBadge {
  height: 48px;
  /* Einheitliche Höhe */
  width: auto;
  /* Proportionen beibehalten */
  display: block;
  /* Kein Baseline-Spacing */
}
