/* Selbst ausgeliefert, damit Windows-Besucher dieselbe Schrift sehen wie
   macOS-Besucher. Variable Font, ein Download deckt 300 bis 900 ab.
   Figtree, SIL Open Font License 1.1, Lizenztext in assets/fonts/LICENSE.txt */
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-var.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Erlaubt die Höhen-Animation des FAQ-Akkordeons von 0 auf auto. */
  interpolate-size: allow-keywords;
  color-scheme: light;
  --navy: #07111f;
  --navy-soft: #163964;
  --primary: #144d90;
  --primary-hover: #103f78;
  --primary-soft: #e7f0fb;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-subtle: #edf2f6;
  --border: #d7e0e8;
  --text: #172033;
  --muted: #536076;
  --success: #167442;
  /* Struktur tragen 1px-Linien. Elevation nur, wo etwas wirklich
     ueber anderem Inhalt liegt. */
  --shadow-raised: 0 10px 30px rgba(7, 17, 31, 0.09);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page: min(1200px, calc(100vw - 40px));
  font-family: Figtree, 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 720px;
  background: linear-gradient(180deg, #eef4fb 0%, rgba(245, 247, 250, 0) 100%);
  content: '';
}

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

/* Das <picture> ist reiner Formatwahl-Container und soll das Layout der
   Aufnahmen nicht verändern. */
picture {
  display: contents;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Dunkle Abschnitte: heller Ring, damit der Fokus 3:1 gegen Navy hält. */
.product-stage :focus-visible,
.security-section :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: var(--page);
  margin: 14px auto 0;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 58px;
  padding: 6px 7px 6px 10px;
  border: 1px solid rgba(205, 216, 226, 0.96);
  border-radius: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(7, 17, 31, 0.045);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-navigation {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.site-navigation a {
  color: #39465a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-navigation a:hover,
.site-navigation a[aria-current] {
  color: var(--primary);
}

.mobile-navigation-actions {
  display: none;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.login-link {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 10px;
  align-items: center;
  color: #39465a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.login-link:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid var(--primary);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}

.button:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-secondary {
  border-color: var(--border);
  color: var(--navy);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: #b9cbe0;
  color: var(--primary);
  background: #f6f9fc;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  min-height: 43px;
  align-items: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  font-size: 18px;
  transition: transform 160ms var(--ease-out);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--navy);
  content: '';
  transition: transform 220ms var(--ease-out), opacity 140ms linear;
}

.menu-button[aria-expanded='true'] span {
  opacity: 0;
}

.menu-button[aria-expanded='true']::before {
  transform: translateY(10px) rotate(45deg);
}

.menu-button[aria-expanded='true']::after {
  transform: translateY(-10px) rotate(-45deg);
}

.hero {
  width: var(--page);
  margin: 0 auto;
  /* Bewusst knapp: die Produktbühne soll noch im ersten Bildschirm anfangen. */
  padding: clamp(48px, 5vw, 72px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(3.2rem, 6.4vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-highlight {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hero-highlight::before {
  position: absolute;
  right: -0.07em;
  bottom: 0.04em;
  left: -0.07em;
  z-index: -1;
  height: 0.24em;
  border-radius: 0.16em;
  background: #8bbcee;
  content: '';
  transform: rotate(-1.1deg);
}

.hero-intro {
  padding: 0;
}

.hero-intro > p {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.product-stage {
  width: var(--page);
  margin: clamp(24px, 2.5vw, 36px) auto 0;
  padding: 12px;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.10);
}

.stage-header {
  display: flex;
  gap: 20px;
  min-height: 58px;
  padding: 3px 7px 12px 10px;
  align-items: center;
  justify-content: space-between;
}

.stage-title {
  color: #dbe6f4;
  font-size: 14px;
  font-weight: 700;
}

.preview-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
}

.preview-tabs button {
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  color: #abb9ca;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 140ms var(--ease-out);
}

.preview-tabs[data-more] {
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}

.preview-tabs button:active {
  transform: scale(0.98);
}

.preview-tabs button[aria-selected='true'] {
  color: var(--navy);
  background: var(--surface);
}

.preview-window {
  position: relative;
  /* Feste Proportion: die Aufnahmen weichen leicht voneinander ab. Ohne sie
     springt die Bühne beim Tabwechsel und schiebt den Folgeinhalt. */
  aspect-ratio: 2466 / 1358;
  border-radius: 11px;
  overflow: hidden;
  background: #e9edf3;
}

.preview-panel {
  position: absolute;
  inset: 0;
  margin: 0;
}

.preview-panel[hidden] {
  display: none;
}

.preview-panel img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain statt cover: die Aufnahmen bleiben vollständig, ohne Beschnitt. */
  object-fit: contain;
  object-position: center;
}

/* Marker auf der Produktaufnahme. Die Koordinaten sind Prozentwerte des
   Panels. Für Screenreader sind sie ausgeblendet, dort tragen Alt-Text und
   Bildunterschrift dieselbe Information. */
/* Deckt sich exakt mit dem gerenderten Bild: alle Aufnahmen sind breiter
   als die Buehne, object-fit: contain zentriert sie also vertikal mit
   Balken. Ohne diesen Kasten waeren die Prozentwerte auf das Panel bezogen
   und die Marker um die Balkenhoehe verschoben. */
.shot-notes {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  aspect-ratio: var(--shot-ratio);
  pointer-events: none;
  transform: translateY(-50%);
}

.shot-note {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: flex;
  gap: 9px;
  align-items: center;
  transform: translateY(-50%);
}

.shot-note-left {
  flex-direction: row-reverse;
  transform: translate(-100%, -50%);
}

.shot-note b {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
}

.shot-note i {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 6px rgba(7, 17, 31, 0.08);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.preview-panel figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  color: #eaf0f7;
  background: rgba(7, 17, 31, 0.84);
  font-size: 11px;
  font-weight: 700;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 144px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(50px, 8vw, 110px);
  margin-bottom: 64px;
  align-items: end;
}

.section-heading h2,
.feature-copy h3,
.security-intro h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border);
}

.workflow-progress {
  position: absolute;
  top: 44px;
  right: 12.5%;
  left: 12.5%;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, #8eb8e7, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
}

.workflow-step {
  position: relative;
  min-height: 250px;
  padding: 28px 25px 34px;
  border-right: 1px solid var(--border);
}

.workflow-step:last-child {
  border-right: 0;
}

.step-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #a9c2df;
  border-radius: 50%;
  place-items: center;
  color: var(--primary);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

.workflow-role {
  display: block;
  margin-top: 24px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.workflow-step h3 {
  margin: 6px 0 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow-step::after {
  position: absolute;
  top: 45px;
  right: -4px;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: '';
}

.workflow-step:last-child::after {
  display: none;
}

.feature-section {
  padding-top: 24px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 7vw, 96px);
  margin-top: clamp(90px, 12vw, 156px);
  align-items: center;
}

.feature-story:first-child {
  margin-top: 0;
}

.feature-story-reverse {
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
}

.feature-story-reverse .feature-copy {
  order: 2;
}

.feature-copy h3 {
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  overflow-wrap: break-word;
}

.feature-copy > p {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #344057;
  font-size: 14px;
}

.feature-list li::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--primary);
  content: '';
}

.product-shot {
  --shot-scale: 1360px;
  --shot-height: 540px;
  position: relative;
  display: block;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  background: var(--surface);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-story-crop .product-shot {
  width: 100%;
  height: var(--shot-height);
}

.feature-story-crop .product-shot img {
  width: var(--shot-scale);
  max-width: none;
}

.feature-story-crop .product-shot-categories img {
  width: 100%;
  margin-top: -4px;
}

.feature-story-reverse.feature-story-crop .product-shot {
  margin-left: 0;
}

.mobile-showcase {
  position: relative;
  min-height: 720px;
  margin: 0;
  padding: 28px 34px 44px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #e6eef7 0%, #f8fafc 70%);
}

.mobile-shots {
  position: relative;
  width: min(620px, 100%);
  height: 640px;
  margin-inline: auto;
}

.mobile-shots img {
  position: absolute;
  bottom: 0;
  width: 315px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(7, 17, 31, 0.10));
}

.mobile-shots picture:first-child img {
  left: 1%;
  z-index: 2;
}

.mobile-shots picture:last-child img {
  right: 1%;
  z-index: 1;
  width: 315px;
  transform: translateY(10px) rotate(1.8deg);
}

.mobile-showcase figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.security-section {
  --security-width: min(1320px, calc(100vw - 24px));
  width: var(--security-width);
  margin: 12px auto;
  padding-block: clamp(68px, 8vw, 104px);
  padding-inline: max(20px, calc((var(--security-width) - 1160px) / 2));
  border-radius: 24px;
  color: #eaf1f9;
  background: var(--navy);
}

.security-intro {
  display: grid;
  grid-template-columns: minmax(min-content, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: end;
}

.security-intro h2 {
  color: #fff;
}

.security-intro p {
  max-width: 580px;
  margin: 0;
  color: #bac8d9;
  font-size: 17px;
}

.security-list {
  margin-top: 54px;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.security-list > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  padding: 21px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.security-list > div:last-child {
  border-bottom: 0;
}

.security-list strong {
  color: #fff;
  font-size: 15px;
}

.security-list span {
  color: #aebed0;
  font-size: 14px;
}

.security-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.security-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
}

.security-actions .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.final-cta {
  display: flex;
  gap: 50px;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) 0;
  align-items: end;
  justify-content: space-between;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
}

.final-cta p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.final-cta > .button {
  flex: 0 0 auto;
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 40px;
  width: var(--page);
  margin: 0 auto;
  padding: 58px 0 44px;
}

.footer-brand p {
  max-width: 330px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 13px;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  width: var(--page);
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid #e7ecf1;
  justify-content: space-between;
  color: #66758a;
  font-size: 12px;
}

.legal-page {
  width: min(840px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0;
}

.legal-page > h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.legal-lead {
  max-width: 680px;
  margin: 24px 0 70px;
  color: var(--muted);
  font-size: 18px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: #455066;
}

.legal-section p {
  margin: 10px 0;
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
}

.legal-section a {
  color: var(--primary);
}

.legal-table-wrap {
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  background: #fff;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.legal-table th {
  color: var(--navy);
  background: var(--surface-subtle);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.download-panel {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  padding: 26px;
  border: 1px solid #b9d0ea;
  border-radius: 14px;
  align-items: center;
  justify-content: space-between;
  background: #edf5fd;
}

.download-panel strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.download-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-intro {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* Zielgruppe */
.audience-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(60px, 7vw, 96px) 0;
  border-top: 1px solid var(--border);
}

.audience-section .section-heading {
  display: block;
  margin-bottom: 28px;
}

.audience-section .section-heading h2 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.audience-section .section-intro {
  margin-top: 14px;
  font-size: 16px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 28px;
  margin: 0;
  padding: 16px 0 4px;
  border-top: 1px solid var(--border);
}

.audience-grid li {
  padding: 10px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

@media (max-width: 1000px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
  }
}

@media (max-width: 620px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-note {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 144px) 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  margin: 44px 0 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  gap: 24px;
  padding: 22px 4px;
  align-items: baseline;
  justify-content: space-between;
  color: var(--navy);
  cursor: pointer;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform 200ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

/* Antwort schiebt sich auf, statt zu springen. Bei Browsern ohne
   ::details-content bleibt das bisherige, sofortige Verhalten. */
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    block-size 240ms var(--ease-out),
    content-visibility 240ms allow-discrete,
    opacity 160ms ease;
}

.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-answer {
  max-width: 68ch;
  margin: 0;
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 15px;
}

.faq-answer a {
  color: var(--primary);
}

/* Demo-Formular */
.demo-page {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) 0 clamp(80px, 10vw, 120px);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.demo-layout > * {
  min-width: 0;
}

.demo-page h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.demo-lead {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  text-wrap: pretty;
}

.demo-facts {
  margin: 40px 0 0;
  border-top: 1px solid var(--border);
}

.demo-facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.demo-facts dt {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.demo-facts dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 14px;
}

.demo-facts a {
  color: var(--primary);
}

.demo-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.demo-form-hint {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.field {
  display: flex;
  margin-top: 18px;
  flex-direction: column;
  gap: 7px;
}

.demo-form > .field:first-of-type {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-row > .field {
  min-width: 0;
}

.field-row .field {
  margin-top: 18px;
}

.field label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7b8698;
}

.field[data-invalid] input,
.field[data-invalid] textarea {
  border-color: #b3261e;
}

.field-error {
  margin: 0;
  color: #b3261e;
  font-size: 13px;
  font-weight: 700;
}

.field-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.field-check span {
  color: var(--text);
  font-size: 14px;
}

.field-check a {
  color: var(--primary);
}

.field-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.field-pair[aria-hidden='true'] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.demo-form-actions {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.demo-form-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--surface-subtle);
  color: var(--text);
  font-size: 14px;
}

.demo-form-note[data-state='error'] {
  background: #fbeceb;
  color: #8a1f19;
}

.demo-form {
  transition: opacity 140ms ease;
}

.demo-form[data-leaving] {
  opacity: 0;
  pointer-events: none;
}

.demo-confirm {
  align-self: center;
  opacity: 1;
  transform: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.demo-confirm h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.demo-confirm p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 16px;
}

/* Bestätigung steigt einmalig auf, statt an die Stelle des Formulars zu springen. */
@starting-style {
  .demo-confirm:not([hidden]) {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 860px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-heading,
  .hero-intro,
  .product-stage {
    animation: enter 680ms var(--ease-out) both;
  }

  .hero-intro {
    animation-delay: 80ms;
  }

  .product-stage {
    animation-delay: 150ms;
  }

  .preview-window[data-switched] .preview-panel:not([hidden]) {
    animation: panel-in 140ms ease-out both;
  }

  .workflow[data-visible] .workflow-progress {
    animation: workflow-line 620ms 80ms var(--ease-out) forwards;
  }

  .workflow[data-visible] .step-number {
    animation: workflow-step 380ms var(--ease-out) both;
  }

  .workflow[data-visible] .workflow-step:nth-of-type(2) .step-number {
    animation-delay: 160ms;
  }

  .workflow[data-visible] .workflow-step:nth-of-type(3) .step-number {
    animation-delay: 320ms;
  }

  .workflow[data-visible] .workflow-step:nth-of-type(4) .step-number {
    animation-delay: 480ms;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 641px) {
  .mobile-showcase[data-reveal] .mobile-shots img {
    transition: transform 720ms var(--ease-out);
  }

  .mobile-showcase[data-reveal]:not([data-visible]) .mobile-shots img {
    will-change: transform;
  }

  .mobile-showcase[data-reveal]:not([data-visible]) .mobile-shots picture:first-child img {
    transform: translate(-8%, 7%) rotate(-1.5deg);
  }

  .mobile-showcase[data-reveal]:not([data-visible]) .mobile-shots picture:last-child img {
    transform: translate(10%, 10%) rotate(4deg);
  }

  .mobile-showcase[data-visible] .mobile-shots picture:last-child img {
    transition-delay: 70ms;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-1px);
  }

  .text-link:hover span {
    transform: translateY(2px);
  }

}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
  }
}

@keyframes workflow-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes workflow-step {
  50%,
  100% {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
  }
}

@keyframes navigation-enter {
  from {
    opacity: 0.72;
    transform: translateY(-4px) scale(0.98);
  }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .site-navigation,
  .header-actions {
    display: none;
  }

  .site-navigation[data-open] {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: flex;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    align-items: stretch;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--shadow-raised);
  }

  .site-navigation[data-open] a {
    padding: 9px 8px;
  }

  .site-navigation[data-open] .mobile-navigation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .site-navigation[data-open] .mobile-navigation-actions a {
    justify-content: center;
    text-align: center;
  }

  .site-navigation[data-open] .mobile-navigation-actions .button {
    color: #fff;
  }

  .hero-intro {
    max-width: 690px;
    margin-inline: auto;
  }

  .section-heading,
  .security-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-progress {
    display: none;
  }

  /* Zu klein, um auf etwas Lesbares zu zeigen. Die Feature-Listen tragen
     dieselben Aussagen weiter unten in Textform. */
  .shot-notes {
    display: none;
  }

  .workflow-step:nth-of-type(2) {
    border-right: 0;
  }

  .workflow-step:nth-of-type(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .feature-story,
  .feature-story-reverse {
    grid-template-columns: 1fr;
  }

  .feature-story-crop .product-shot,
  .feature-story-reverse.feature-story-crop .product-shot {
    width: auto;
    height: auto;
    margin-left: 0;
    border: 1px solid var(--border);
    border-radius: 15px;
  }

  .feature-story-crop .product-shot img,
  .feature-story-reverse.feature-story-crop .product-shot img {
    width: 100%;
    margin-left: 0;
  }

  .feature-story-reverse .feature-copy {
    order: initial;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .site-navigation[data-open] {
    animation: navigation-enter 220ms var(--ease-out) both;
    transform-origin: top center;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100% - 24px, 1200px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .header-shell {
    min-height: 60px;
    border-radius: 12px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 88px 0 70px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .hero-highlight {
    white-space: normal;
  }

  .hero-actions {
    gap: 14px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .product-stage {
    padding: 8px;
    border-radius: 15px;
  }

  .stage-header {
    gap: 10px;
    padding: 8px 3px 11px;
    align-items: stretch;
    flex-direction: column;
  }

  .preview-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .preview-tabs button {
    padding-inline: 11px;
    flex: 0 0 auto;
  }

  .preview-tabs::-webkit-scrollbar {
    display: none;
  }

  .preview-panel img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .preview-panel figcaption {
    right: 8px;
    bottom: 8px;
  }

  .section {
    padding-block: 88px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-step,
  .workflow-step:nth-of-type(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .workflow-step::after {
    display: none;
  }

  .feature-section {
    padding-top: 10px;
  }

  .feature-story {
    margin-top: 96px;
  }

  .product-shot img {
    height: auto;
  }

  .mobile-showcase {
    min-height: auto;
    padding: 28px 18px 18px;
  }

  .site-navigation[data-open] .mobile-navigation-actions {
    grid-template-columns: 1fr;
  }

  .mobile-shots {
    display: grid;
    width: 100%;
    height: auto;
    gap: 38px;
    justify-items: center;
  }

  .mobile-shots img,
  .mobile-shots picture:first-child img,
  .mobile-shots picture:last-child img {
    position: static;
    width: min(276px, 100%);
    max-width: 100%;
    transform: none;
  }

  .mobile-showcase figcaption {
    position: static;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .security-section {
    border-radius: 17px;
  }

  .security-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .security-actions,
  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta {
    gap: 30px;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }

  .legal-page {
    width: min(100% - 28px, 840px);
  }

  .download-panel {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Sämtliche Keyframe-Animationen hängen bereits an
     `prefers-reduced-motion: no-preference` und entfallen hier von selbst.
     Hier bleibt nur: Positionswechsel als Zier abschalten. Farb- und
     Deckkraftwechsel bleiben erhalten, sie sind Rückmeldung, keine Bewegung. */
  .button,
  .button:hover,
  .button:active,
  .preview-tabs button:active,
  .text-link:hover span {
    transform: none;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after,
  .faq-item summary::after {
    transition: none;
  }

  .faq-item::details-content {
    transition: content-visibility 0s allow-discrete, opacity 160ms ease;
  }

  .demo-confirm {
    transform: none;
    transition: opacity 200ms ease;
  }

  .workflow-progress {
    transform: scaleX(1);
  }
}
