/* ==========================================================================
   GenoLotse GmbH – Website
   Zurückhaltendes, seriöses Design für Genossenschaftsbanken.
   Farbwelt: dunkles Marineblau, wenig Farbe, viel Ruhe.
   ========================================================================== */

:root {
  --navy-900: #0a1733;
  --navy-800: #0e1f44;
  --navy-700: #142a5c;
  --navy-600: #1d3a78;
  --navy-500: #2b4e9b;
  --accent: #3f6fd1;
  --accent-soft: #e8eefb;

  --ink: #0d1526;
  --body: #313a4d;
  --muted: #68718a;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 23, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 23, 51, 0.16);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--navy-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--navy-600);
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy-600);
  color: #fff!important;
}

.btn-primary:hover {
  background: var(--navy-700);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-600);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy-600);
}

.btn-light {
  background: #fff;
  color: var(--navy-700);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #eaf0fb;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 85% 15%,
      rgba(63, 111, 209, 0.28),
      transparent 45%
    ),
    radial-gradient(circle at 10% 90%, rgba(43, 78, 155, 0.3), transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  max-width: 820px;
}

.hero .eyebrow {
  color: #9cb8f0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #c6d3ee;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ---------- Sections ---------- */
section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- Grid cards ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card p {
  color: var(--body);
  margin: 0;
  font-size: 0.98rem;
}

.card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--accent-soft);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

/* ---------- Screenshots ---------- */
.screenshot {
  margin: 0 0 3rem;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.screenshot-framed img {
  max-width: 720px;
  margin-inline: auto;
}

.screenshot figcaption {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 44rem;
  margin-inline: auto;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--navy-600);
  margin-bottom: 1rem;
}

.icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Feature list ---------- */
.feature-list {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.9rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Problem / Ausgangssituation ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pain-grid li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--body);
  font-size: 0.98rem;
}

.pain-grid li::before {
  content: "„";
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}

/* ---------- Split / Callout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.panel {
  background: var(--navy-800);
  color: #dce6fa;
  border-radius: var(--radius);
  padding: 2rem;
}

.panel h3 {
  color: #fff;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.panel li {
  margin-bottom: 0.5rem;
}

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #c6d3ee;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card .name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.contact-card .role {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--navy-600);
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #9fb0d2;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #9fb0d2;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #6f80a6;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-links .btn {
    margin-top: 0.75rem;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }
}

@media (max-width: 560px) {
  .grid-3,
  .grid-4,
  .grid-2,
  .pain-grid,
  .feature-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  section {
    padding: 3.5rem 0;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
