:root {
  --bg-top: #f5efe6;
  --bg-bottom: #d8e1ea;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(248, 251, 255, 0.72);
  --text: #17344d;
  --text-soft: #4f6578;
  --border: rgba(23, 52, 77, 0.12);
  --accent: #1b5d91;
  --accent-dark: #123f64;
  --accent-gold: #c48e37;
  --shadow: 0 30px 80px rgba(18, 52, 79, 0.14);
  --shadow-soft: 0 14px 34px rgba(18, 52, 79, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 93, 145, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(210, 170, 110, 0.18), transparent 28%),
    linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  color: var(--accent);
}

.page-shell {
  width: min(1180px, calc(100% - 1rem));
  margin: 0 auto;
  min-height: 100dvh;
  padding: 0.1rem 0 calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

.hero,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  backdrop-filter: blur(14px);
}

.hero {
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.hero.compact {
  margin-bottom: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(145deg, rgba(19, 63, 100, 0.18), rgba(196, 142, 55, 0.12));
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.lede {
  max-width: 58rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.lede.secondary {
  color: var(--text-soft);
}

.page-content {
  padding-bottom: 0.15rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.page-shell > * + * {
  margin-top: 0.75rem;
}

.page-content > .panel + .panel {
  margin-top: 0.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.2rem;
}

.feature-card {
  padding: 1rem;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid rgba(23, 52, 77, 0.08);
}

.feature-card h2 {
  font-size: 1.05rem;
}

.bullet-panel,
.narrative-panel {
  padding: 1.2rem;
}

.bullet-panel ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.8;
}

.narrative-panel p + p {
  margin-top: 0.9rem;
}

.imprint {
  padding: 1.75rem;
  line-height: 1.7;
}

.page-content.panel,
.page-content > .panel {
  box-shadow: var(--shadow-soft);
  background: var(--surface-strong);
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 1rem));
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 0.75rem;
  font-size: 0.88rem;
  line-height: 1.2;
  text-align: right;
  border-top: 2px solid var(--border);
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.site-footer a {
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 880px) {
  .page-shell {
    width: min(1220px, calc(100% - 2rem));
  }

  .hero {
    padding: 1.35rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 1.5rem;
  }

  .brand-mark {
    width: 88px;
    height: 88px;
  }

  .lede {
    font-size: 1.08rem;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1.5rem;
  }

  .bullet-panel,
  .narrative-panel {
    padding: 1.5rem;
  }

  .page-shell > * + * {
    margin-top: 1rem;
  }

  .page-content > .panel + .panel {
    margin-top: 1rem;
  }

  .site-footer {
    width: min(1220px, calc(100% - 2rem));
    bottom: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 0.75rem, 100%);
  }

  .hero,
  .panel {
    border-radius: 22px;
  }

  .hero,
  .imprint,
  .bullet-panel,
  .narrative-panel,
  .feature-grid,
  .section-grid {
    padding: 1rem;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    min-height: 3rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) 0.7rem;
    font-size: 0.82rem;
  }
}
