:root {
  --bg: #e9f5fb;
  --ink: #17212b;
  --muted: #5e6a75;
  --line: #c7d5df;
  --soft: #f6fbfe;
  --soft-green: #eef8f1;
  --accent: #197494;
  --accent-dark: #0d4258;
  --accent-warm: #bf4d2e;
  --accent-green: #147658;
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f6fbfe 0%, var(--bg) 360px, #f6fbfe 100%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.site-header {
  border-bottom: 1px solid rgba(13, 66, 88, 0.12);
  background: rgba(246, 251, 254, 0.96);
  box-shadow: 0 10px 30px rgba(13, 66, 88, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 92px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: var(--radius);
  background: #0d4258;
}

.nav-toggle {
  display: none;
}

.nav-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-button span,
.nav-button span::before,
.nav-button span::after {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  content: "";
  position: relative;
}

.nav-button .visually-hidden,
.nav-button .visually-hidden::before,
.nav-button .visually-hidden::after {
  width: 1px;
  height: 1px;
  background: transparent;
}

.nav-button span::before {
  position: absolute;
  top: -7px;
}

.nav-button span::after {
  position: absolute;
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1rem;
  background: #fff;
  min-height: 58px;
  padding: 0 10px;
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(13, 66, 88, 0.08);
}

.site-nav a,
.nav-item > a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-item > a[aria-current="page"] {
  background: var(--accent-dark);
  color: #fff;
  border-bottom-color: transparent;
}

.nav-item {
  position: relative;
}

.has-menu > a::after {
  content: "⌄";
  padding-left: 10px;
  font-size: 1rem;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  background: #fff;
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(13, 66, 88, 0.16);
  overflow: hidden;
}

.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 14px 20px;
  min-height: auto;
  white-space: normal;
}

.hero {
  min-height: 540px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(0, 35, 48, 0.42), rgba(0, 35, 48, 0.38)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 22px;
}

.hero-copy {
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 0 16px;
}

h1 {
  font-size: 3.4rem;
  font-weight: 400;
}

h2 {
  font-size: 2.35rem;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: 1.45rem;
  color: inherit;
}

.home-hero {
  color: #fff;
  text-align: center;
}

.home-hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.home-hero .lead {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  min-height: 520px;
  align-items: center;
  color: #111;
  background:
    linear-gradient(rgba(220, 239, 251, 0.68), rgba(220, 239, 251, 0.68)),
    var(--hero-image) center / cover no-repeat;
}

.page-hero h1,
.page-content h1 {
  font-size: 3.4rem;
  font-weight: 400;
}

.page-hero .hero-copy {
  max-width: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 8px 18px rgba(13, 66, 88, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--accent-dark);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 66, 88, 0.13);
}

.section {
  padding: 74px 22px;
  background: var(--bg);
}

.section.soft {
  background: var(--soft);
}

.section.green {
  background: var(--soft-green);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.offer-section {
  background:
    linear-gradient(rgba(220, 239, 251, 0.88), rgba(220, 239, 251, 0.88)),
    url("/assets/img/berater-stethoskop.webp") center / cover fixed;
  text-align: center;
}

.section-lead {
  font-size: 1.08rem;
  max-width: 1050px;
  margin: 0 auto 36px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.card {
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(13, 66, 88, 0.09);
}

.card-body {
  padding: 18px 22px;
  text-align: center;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.35);
}

.page-content {
  background: #dceffb;
}

.page-content .section-inner > * + * {
  margin-top: 24px;
}

.notice {
  padding: 24px;
  background: rgba(255, 255, 255, 0.54);
  border-left: 4px solid #111;
}

.profile-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.profile-section .image-frame {
  position: sticky;
  top: 150px;
}

.plain-list {
  padding-left: 20px;
  margin: 0;
}

.plain-list li {
  margin: 8px 0;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.app-list {
  display: grid;
  gap: 16px;
}

.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 26px rgba(13, 66, 88, 0.07);
}

.meta {
  color: var(--muted);
  font-size: 0.96rem;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.product-page {
  --product-ink: #111827;
  --product-muted: #5e646b;
  background: #f8fbfd;
}

.product-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.08)),
    var(--hero-image) center / cover no-repeat;
}

.product-hero-light {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.78) 48%, rgba(248, 250, 252, 0.2)),
    var(--hero-image) center / cover no-repeat;
}

.product-hero-dark {
  color: #fff;
}

.product-hero-light {
  color: #0f172a;
}

.product-hero-copy {
  max-width: 680px;
}

.product-hero-copy h1 {
  font-weight: 800;
  font-size: 4rem;
}

.product-hero-copy p:not(.lead):not(.product-badge) {
  max-width: 640px;
  font-size: 1.05rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 6px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.robowait-page .product-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.88);
}

.menueplan-page .product-badge {
  background: #e7f6ee;
  border: 1px solid #bfe6ce;
  color: #147658;
}

.product-hero .button {
  border-color: currentColor;
}

.product-hero-dark .button {
  background: rgba(255, 255, 255, 0.95);
  color: #23272b;
}

.product-hero-dark .button.primary {
  background: #23272b;
  border-color: #697d91;
  color: #fff;
}

.menueplan-page .button.primary {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.product-band {
  background: #fff;
}

.robowait-band {
  background: #f5f7f9;
  color: #23272b;
}

.menueplan-band {
  background: #f8fafc;
  color: #0f172a;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.product-screen {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d8df;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.dark-screen {
  border-color: #697d91;
  background: #23272b;
  box-shadow: 0 18px 44px rgba(35, 39, 43, 0.22);
}

.light-screen {
  border-color: #dbeafe;
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.12);
}

.product-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-feature-section {
  background: #e6f2f8;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-feature-grid.expanded {
  margin-top: 26px;
}

.product-feature {
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(13, 66, 88, 0.12);
  background: #fff;
  box-shadow: 0 14px 30px rgba(13, 66, 88, 0.08);
}

.robowait-page .product-feature {
  border-color: #d1d8df;
  background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
}

.menueplan-feature {
  border-color: #ccebd8;
  background: linear-gradient(180deg, #fff 0%, #eef8f1 100%);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #edf2f7;
  color: #3d5164;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.menueplan-feature .feature-kicker {
  background: #ecfdf5;
  color: #047857;
}

.process-section {
  background: #f7fbfd;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.process-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(13, 66, 88, 0.07);
}

.step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 800;
}

.process-steps h3 {
  margin-bottom: 8px;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-section {
  background: #fff;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.screenshot-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 66, 88, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(13, 66, 88, 0.1);
}

.screenshot-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #f8fafc;
}

.screenshot-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.96rem;
  border-top: 1px solid rgba(13, 66, 88, 0.1);
}

.site-footer {
  background: #f6fbfe;
  color: #111;
  padding: 50px 22px;
  border-top: 1px solid rgba(13, 66, 88, 0.16);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.site-footer a {
  color: #111;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.small {
  font-size: 0.92rem;
  color: #111;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 74px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
    padding: 4px;
  }

  .nav-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    padding: 14px 22px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 14px 28px rgba(13, 66, 88, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .nav-item > a {
    padding: 10px 12px;
  }

  .submenu {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    padding-left: 18px;
  }

  .hero {
    min-height: 460px;
    background:
      linear-gradient(rgba(0, 35, 48, 0.42), rgba(0, 35, 48, 0.42)),
      var(--hero-image) center / cover no-repeat;
  }

  .page-hero {
    background:
      linear-gradient(rgba(220, 239, 251, 0.74), rgba(220, 239, 251, 0.74)),
      var(--hero-image) center / cover no-repeat;
  }

  .section {
    padding: 54px 18px;
  }

  .hero-inner {
    padding: 70px 18px 54px;
  }

  h1,
  .page-hero h1,
  .page-content h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.18rem;
  }

  .home-hero h1 {
    font-size: 2.45rem;
  }

  .split,
  .grid,
  .grid.two,
  .gallery,
  .screenshot-gallery,
  .footer-inner,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-section .image-frame {
    position: static;
  }

  .app-row {
    grid-template-columns: 1fr;
  }

  .app-row .button {
    width: 100%;
  }

  .product-hero {
    min-height: 500px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.5)),
      var(--hero-image) center / cover no-repeat;
  }

  .product-hero-light {
    background:
      linear-gradient(rgba(248, 250, 252, 0.94), rgba(248, 250, 252, 0.78)),
      var(--hero-image) center / cover no-repeat;
  }

  .product-layout,
  .product-feature-grid,
  .product-feature-grid.expanded {
    grid-template-columns: 1fr;
  }

  .product-hero-copy h1 {
    font-size: 2.6rem;
  }

  .product-feature {
    min-height: auto;
  }

  .process-steps li {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery img {
    aspect-ratio: 4 / 3;
  }
}
