/* ==== Reset & Base ==== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a2332;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: #1e88ff; text-decoration: none; transition: color .15s ease; }
a:hover { color: #0d47a1; text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 1rem; color: #0d1f3a; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
em { font-style: normal; font-weight: 600; color: #1e88ff; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: #1e88ff;
  margin: 0 0 .5rem;
}

.section {
  padding: 5rem 0;
  border-top: 1px solid #eef1f6;
}
.section-alt { background: #f6f8fb; }
.section-cta { background: linear-gradient(140deg, #0a2540 0%, #1e88ff 100%); color: #fff; }
.section-cta h2, .section-cta p, .section-cta .eyebrow { color: #fff; }
.section-cta .eyebrow { color: #ffd633; }
.section-cta a { color: #ffd633; }
.section-lead { max-width: 760px; font-size: 1.1rem; color: #3d4a60; margin-bottom: 2.5rem; }
.section-cta .section-lead { color: rgba(255,255,255,.85); }

.demo-access-line {
  margin: .5rem 0 1.25rem;
  font-size: .9rem;
  color: #5a6878;
}
.demo-access-line a { color: #1e88ff; }

.demo-access-hint {
  margin: 0 0 2rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid #1e88ff;
  background: #eef3fb;
  font-size: .95rem;
  color: #243044;
  border-radius: 4px;
}
.demo-access-hint strong { color: #0a2540; }

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid #eef1f6;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #0a2540;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: #0d47a1; }
.brand-mark { width: 40px; height: 20px; color: #1e88ff; }
.site-nav .nav-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #3d4a60;
  font-weight: 500;
  font-size: .95rem;
}
.site-nav a:hover { color: #1e88ff; text-decoration: none; }
.nav-toggle { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: 1rem;
}
.lang-flag {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .55;
  transition: opacity .15s ease, transform .15s ease, border-color .15s ease;
  cursor: pointer;
  text-decoration: none;
}
.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.lang-flag.is-active {
  opacity: 1;
  border-color: #1e88ff;
  cursor: default;
}

/* ==== Hero ==== */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30,136,255,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 80%, rgba(30,136,255,.06), transparent 60%),
    #fff;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text .lead {
  font-size: 1.18rem;
  color: #3d4a60;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  font-size: .95rem;
  color: #3d4a60;
}
.hero-bullets li {
  position: relative;
  padding-left: 1.4rem;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .65rem; height: .65rem;
  background: #1e88ff;
  border-radius: 50%;
}

/* hero visual — app icon */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::before {
  /* sanftes farbiges Glow hinter dem Icon */
  content: "";
  position: absolute;
  inset: 12% 12%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 214, 51, .55), transparent 55%),
    radial-gradient(circle at 75% 30%, rgba(230, 57, 70, .45), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(76, 175, 80, .45), transparent 60%),
    radial-gradient(circle at 20% 75%, rgba(30, 136, 255, .55), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  border-radius: 50%;
}
.app-icon-hero {
  position: relative;
  z-index: 1;
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 56px;
  box-shadow:
    0 30px 60px rgba(13, 31, 58, .25),
    0 6px 14px rgba(13, 31, 58, .18);
  animation: appicon-float 6s ease-in-out infinite;
}
@keyframes appicon-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #1e88ff;
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,136,255,.32);
}
.btn-primary:hover { background: #0d47a1; color: #fff; box-shadow: 0 8px 24px rgba(30,136,255,.45); }
.btn-secondary {
  background: transparent;
  color: #1e88ff;
  border-color: #1e88ff;
}
.btn-secondary:hover { background: #1e88ff; color: #fff; }
.section-cta .btn-secondary { color: #fff; border-color: #fff; }
.section-cta .btn-secondary:hover { background: #fff; color: #0a2540; }
.section-cta .btn-primary { background: #ffd633; color: #0a2540; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.section-cta .btn-primary:hover { background: #ffc107; color: #0a2540; }

/* ==== Cards & Grids ==== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  padding: 1.8rem 1.6rem;
  border-radius: 14px;
  border: 1px solid #e6eaf0;
  box-shadow: 0 2px 6px rgba(13,31,58,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,31,58,.08); }
.card p { color: #3d4a60; margin: 0; }
.card h3 { color: #0a2540; }
.card-highlight { position: relative; padding-top: 2.6rem; }
.card-number {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-size: 2rem;
  font-weight: 800;
  color: #1e88ff;
  opacity: .25;
}

/* ==== Features ==== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}
.feature h3 { color: #0a2540; }
.feature p { color: #3d4a60; margin: 0; }

/* ==== Cost ==== */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}
.cost-card {
  background: #fff;
  border: 1px solid #d4dce8;
  border-radius: 14px;
  padding: 2rem 1.6rem;
  box-shadow: 0 2px 6px rgba(13,31,58,.04);
}
.cost-card h3 {
  color: #1e88ff;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .1em;
}
.cost-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #0a2540;
  margin: .3rem 0 .8rem;
  letter-spacing: -0.02em;
}
.cost-note { color: #3d4a60; font-size: .95rem; margin: 0; }
.cost-footnote {
  font-size: .9rem;
  color: #647289;
  font-style: italic;
}

/* ==== Roadmap ==== */
.roadmap-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.roadmap-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #3d4a60;
}
.roadmap-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1e88ff;
  font-weight: 800;
}

/* ==== Screenshots ==== */
.screenshots-heading {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #0a2540;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile: 2 cols */
  gap: 1.5rem;
  max-width: 1100px;
}
.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.shot:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,31,58,.10); }
.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background:
    linear-gradient(135deg, #eef1f6 25%, transparent 25%, transparent 50%, #eef1f6 50%, #eef1f6 75%, transparent 75%, transparent),
    #f6f8fb;
  background-size: 24px 24px;
  display: block;
}
.shot figcaption {
  padding: .8rem 1rem 1rem;
  font-size: .9rem;
  color: #3d4a60;
  line-height: 1.4;
}
@media (min-width: 700px) {
  .screenshots-grid { grid-template-columns: repeat(3, 1fr); } /* tablet: 3 cols */
}
@media (min-width: 1000px) {
  .screenshots-grid { grid-template-columns: repeat(4, 1fr); } /* desktop: 4 cols */
}

/* ==== About ==== */
.about-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-facts {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 1.6rem;
}
.about-facts dl { margin: 0; }
.about-facts dl > div {
  padding: .7rem 0;
  border-bottom: 1px solid #eef1f6;
}
.about-facts dl > div:last-child { border-bottom: none; }
.about-facts dt {
  font-size: .8rem;
  font-weight: 600;
  color: #647289;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .15rem;
}
.about-facts dd { margin: 0; color: #1a2332; font-weight: 500; }

/* ==== Contact ==== */
.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.contact-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ffd633;
  font-weight: 700;
  margin: 0 0 .4rem;
}
.contact-value {
  margin: 0;
  color: #fff;
  font-weight: 500;
  line-height: 1.5;
}
.contact-value a { color: #fff; text-decoration: underline; }
.contact-value a:hover { color: #ffd633; }
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==== Footer ==== */
.site-footer {
  background: #0d1f3a;
  color: #c0cad9;
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { margin: 0; font-size: .95rem; }
.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-nav a { color: #c0cad9; }
.footer-nav a:hover { color: #fff; }

/* ==== Impressum content ==== */
main h1 + h2 { margin-top: 2.5rem; }
main h2 { font-size: 1.25rem; margin-top: 2rem; color: #0a2540; }

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .app-icon-hero { width: 260px; border-radius: 48px; }
  .grid-3, .features, .cost-grid, .roadmap-list { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.6rem; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .grid-3, .features, .cost-grid, .roadmap-list { grid-template-columns: 1fr; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0a2540;
    border-radius: 2px;
    transition: transform .15s ease;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #eef1f6;
    padding: 1rem 1.5rem !important;
    gap: 0 !important;
    box-shadow: 0 8px 18px rgba(13,31,58,.06);
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav-list.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav-list li {
    border-top: 1px solid #eef1f6;
    padding: .8rem 0;
  }
  .nav-list li:first-child { border-top: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-direction: column; gap: .5rem; }
}

/* ==== Merge Party — bunte Card-Tone-Modifier ==== */
.card.tone-blue   { border-top: 4px solid #1e88ff; }
.card.tone-red    { border-top: 4px solid #e63946; }
.card.tone-yellow { border-top: 4px solid #ffd633; }
.card.tone-green  { border-top: 4px solid #4caf50; }

.card.tone-blue   h3 { color: #0d47a1; }
.card.tone-red    h3 { color: #b21e2c; }
.card.tone-yellow h3 { color: #b88a00; }
.card.tone-green  h3 { color: #2e7d32; }

/* dezenter Farbtupfer im Card-Hintergrund */
.card.tone-blue   { background: linear-gradient(180deg, #f3f8ff 0%, #fff 60%); }
.card.tone-red    { background: linear-gradient(180deg, #fff4f5 0%, #fff 60%); }
.card.tone-yellow { background: linear-gradient(180deg, #fffaeb 0%, #fff 60%); }
.card.tone-green  { background: linear-gradient(180deg, #f1faf2 0%, #fff 60%); }

/* Card-Icon (kleines Emoji- oder SVG-Icon oben in der Card) */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.6rem;
  margin-bottom: .9rem;
  background: #f0f4f9;
}
.card.tone-blue   .card-icon { background: #e3f0ff; }
.card.tone-red    .card-icon { background: #ffe6e8; }
.card.tone-yellow .card-icon { background: #fff4cc; }
.card.tone-green  .card-icon { background: #e3f4e4; }

/* ==== Status & Roadmap — Phase-Cards ==== */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: phase;
}
.phase-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-left: 4px solid #1e88ff;
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 2px 6px rgba(13, 31, 58, .04);
}
.phase-card .phase-date {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: #1e88ff;
  border-radius: 999px;
  padding: .25rem .7rem;
  margin-bottom: .9rem;
}
.phase-card h3 {
  color: #0a2540;
  margin-bottom: .5rem;
}
.phase-card p {
  color: #3d4a60;
  margin: 0;
  font-size: .98rem;
}
.phase-card.tone-yellow { border-left-color: #ffd633; }
.phase-card.tone-yellow .phase-date { background: #ffd633; color: #5a4500; }
.phase-card.tone-green  { border-left-color: #4caf50; }
.phase-card.tone-green  .phase-date { background: #4caf50; }

/* ==== Hero — leichter Konfetti-Touch im Background ==== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(255, 214, 51, .12), transparent 60%),
    radial-gradient(800px 500px at -10% 60%, rgba(30, 136, 255, .10), transparent 60%),
    radial-gradient(700px 400px at 110% 90%, rgba(230, 57, 70, .08), transparent 60%),
    #fff;
}

/* Eyebrow-Variante mit Pulse-Punkt für „In Entwicklung" */
.eyebrow.is-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow.is-live::before {
  content: "";
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #ffd633;
  box-shadow: 0 0 0 0 rgba(255, 214, 51, .6);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 214, 51, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 214, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 51, 0); }
}

/* Status-Box im Hero (kompakter Hinweis auf Demo-Zugang) */
.demo-access-hint {
  background: #fff8db;
  border-left-color: #ffd633;
}
.demo-access-hint strong { color: #5a4500; }

/* Phase-Grid responsive */
@media (max-width: 900px) {
  .phase-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .phase-grid { grid-template-columns: 1fr; }
}
