:root {
  --bg: #f5f9fc;
  --bg-strong: #eef5fa;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --text: #1f2f3e;
  --nav-text: #1f2f3e;
  --login-link: #FFFFFF;
  --muted: #617081;
  --line: rgba(69, 78, 90, 0.12);
  --line-strong: rgba(41, 132, 193, 0.18);
  --brand: #2984c1;
  --brand-soft: #479ccf;
  --brand-dark: #454e5a;
  --success: #2f9d6a;
  --shadow-lg: 0 30px 70px rgba(38, 71, 99, 0.15);
  --shadow-md: 0 18px 40px rgba(38, 71, 99, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(71, 156, 207, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(41, 132, 193, 0.1), transparent 24%),
    linear-gradient(180deg, #fafdff 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 253, 255, 0.84);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 5.6rem;
}

.nav-toggle {
    display: none;
    position: absolute;
    top: 24px;
    right: 16px;
    width:56px;
    height: 56px;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand strong,
.footer-column h3,
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-logo {
  width: 200px;
  /*height: 3rem;*/
  border-radius: 0;
  /*box-shadow: 0 14px 28px rgba(214, 41, 41, 0.18);*/
}

.nav-links,
.nav-cta,
.hero-actions,
.cta-actions,
.footer-grid,
.feature-grid,
.workflow-grid,
.gallery-grid,
.proof-grid,
.hero-grid,
.security-grid,
.cta-grid {
  display: grid;
}

.nav-links {
  grid-auto-flow: column;
  justify-content: right;
  gap: 40px;
}

.nav-links.active {
  display: grid;
}

.nav-links a,
.text-link {
  color: var(--nav-text);
  font-weight: 600;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--login-link);
}

.login-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.login-icon svg {
  width: 100%;
  height: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.nav-cta:hover {
  background-color: var(--muted);
}

.nav-cta {
  grid-auto-flow: column;
  align-items: center;
  gap: 1rem;
  padding: 12px 24px;
  border-radius: 10px;
  background-color: rgba(41, 132, 193, 0.85);

  /*background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.7),
    rgba(0, 200, 255, 0.5)
  );*/

  /* Smooth transition */
  transition: all 0.3s ease;

}

.nav-cta.active {
  display: grid;
}

.play-badge-link {
  display: inline-flex;
  align-items: center;
}

.play-badge {
  width: 300px;
  height: auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 253, 255, 0.96) 0%, rgba(250, 253, 255, 0.88) 42%, rgba(250, 253, 255, 0.76) 62%, rgba(250, 253, 255, 0.92) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.9rem, 6vw, 4.7rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-text,
.section-heading p,
.workflow-copy > p,
.feature-card p,
.workflow-points p,
.security-panel p,
.report-card p,
.footer-note,
.footer-column p {
  color: var(--muted);
}

.hero-text {
  max-width: 41rem;
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

.hero-text-secondary {
  max-width: 38rem;
  margin-top: -0.5rem;
}

.hero-actions,
.cta-actions {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 18px 34px rgba(41, 132, 193, 0.24);
}

.button-secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(41, 132, 193, 0.16);
  box-shadow: 0 12px 24px rgba(38, 71, 99, 0.08);
}

.button-on-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.hero-metrics div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 35px rgba(38, 71, 99, 0.06);
}

.hero-metrics dt {
  margin-bottom: 0.3rem;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  
  height:700px;
  background-image: url("img/hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-highlight-card,
.feature-card,
.gallery-card,
.security-panel,
.report-card,
.proof-grid article {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}

.hero-highlight-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
}

.hero-cta-card {
  max-width: 32rem;
  margin-left: auto;
}

.hero-highlight-copy {
  max-width: 34rem;
  padding: 0.5rem 0.4rem 1rem;
}

.hero-cta-actions {
  display: grid;
  grid-auto-flow: row;
  gap: 1rem;
  justify-items: start;
  margin-top: 56px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  height: auto;
}

.hero-checklist {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.hero-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--success) 100%);
}

.proof-band {
  padding: 1.2rem 0 2.2rem;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proof-grid article {
  padding: 1.3rem 1.2rem;
  border-radius: 22px;
}

.proof-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 4.8rem 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.55)),
    var(--bg-strong);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

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

.feature-card {
  padding: 1.5rem;
  border-radius: 26px;
}

.workflow-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.75rem;
  align-items: start;
}

.workflow-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.workflow-points article {
  padding: 1.2rem 1.25rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 32px rgba(38, 71, 99, 0.08);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  padding: 1rem;
}

.gallery-card figcaption {
  padding: 1rem 0.3rem 0.2rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.security-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.security-panel,
.report-card {
  padding: 1.7rem;
  border-radius: var(--radius-xl);
}

.testimonial-card {
  align-self: start;
}

.testimonial-placeholder {
  margin-bottom: 0;
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
}

.security-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--success) 100%);
}

.section-cta {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #23486a 0%, #2984c1 52%, #479ccf 100%);
}

.cta-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.section-cta .eyebrow,
.section-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 4rem 0 3.5rem;
  background: #f8fbfd;
  /* background: rgba(250, 253, 255, 0.84); */
  border-top: 3px solid rgba(255, 255, 255, 0.8);
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 1.5rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-note {
  max-width: 28rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.footer-column h3 {
  margin-bottom: 0.35rem;
  color: var(--brand-dark);
  font-size: 1rem;
}

.footer-column a {
  color: var(--muted);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--brand);
}

.impressum-column {
  grid-column: 1 / span 4;
}

.impressum-column li {
  color: var(--muted);
}

#impressum {
  display: none;
}

@media (max-width: 1100px) {
  /*.nav {
    grid-template-columns: auto 1fr;
  }

  .nav-cta {
    grid-column: 1 / -1;
    justify-content: start;
  }*/

  .brand-logo {
    width: 200px;
    height: 89px;

  }

  /*.hero-grid,*/
  .workflow-grid,
  .security-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand-logo {
    width: 200px;
  }

  .nav-links,
  .nav-cta,
  .hero-actions,
  .cta-actions {
    grid-auto-flow: row;
    justify-content: start;
  }

  .hero-grid,
  .gallery-grid,
  .proof-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
  }

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

  .brand-logo {
    width: 160px;
  }

  .button,
  .play-badge-link,
  .play-badge {
    max-width: 100%;
  }

  .button {
    width: 100%;
  }
}
