/* Landing page bauflow360.de – colours and font like the app. */

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-muted: #eef1f7;
  --text: #131b2e;
  --text-soft: #5b6577;
  --border: #e6e9f0;
  --primary: #2b52bd;
  --primary-tint: #eaeef8;
  --navy: #10203f;
  --navy-deep: #0b1730;
  --orange: #e8823a;
  --gradient: linear-gradient(120deg, #4a7cf0 0%, #2b52bd 48%, #6a4fe0 100%);
  --radius: 20px;
  --width: 1140px;
}

* {
  box-sizing: border-box;
}

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

/* The footer always sits at the bottom, also on short pages in tall windows. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p {
  margin: 0;
}

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

.sprite {
  display: none;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand__accent {
  color: var(--primary);
}

.brand--small .brand__name {
  font-size: 17px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button__icon {
  width: 18px;
  height: 18px;
}

.button--primary {
  background: var(--gradient);
  box-shadow: 0 10px 24px -8px rgba(74, 92, 230, 0.6);
  color: #ffffff;
}

.button--primary:hover {
  box-shadow: 0 14px 30px -8px rgba(74, 92, 230, 0.8);
}

.button--light {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.button--light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button--ghost {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--border);
  color: var(--text);
}

.button--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--primary);
  color: var(--primary);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(230, 233, 240, 0.8);
  background: rgba(244, 246, 251, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 12px 20px;
}

.header__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.header__link {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.header__link:hover,
.header__link--active {
  color: var(--text);
}

.header__actions {
  display: flex;
  gap: 10px;
}

/* Phones and small tablets: the links and buttons sit in a menu behind the toggle. */
.header__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.header__bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header--open .header__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header--open .header__bar:nth-child(2) {
  opacity: 0;
}

.header--open .header__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav,
  .header__actions {
    display: none;
    width: 100%;
  }

  .header--open .header__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 10px 0 0;
  }

  .header--open .header__link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 17px;
  }

  .header--open .header__actions {
    display: flex;
    gap: 10px;
    padding: 16px 0 6px;
  }

  .header__action {
    flex: 1;
    min-height: 48px;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(106, 79, 224, 0.35), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(74, 124, 240, 0.3), transparent 60%),
    var(--navy);
  color: #ffffff;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 88px 20px 96px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 130, 58, 0.16);
  color: #ffb27a;
  font-size: 14px;
  font-weight: 700;
}

.hero__title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero__highlight {
  background: linear-gradient(90deg, #8fb0ff, #b9a4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 540px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18.5px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero__fact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  font-weight: 600;
}

.hero__fact-icon {
  width: 18px;
  height: 18px;
  color: #5fd38a;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 56px 20px 72px;
  }
}

@media (max-width: 560px) {
  .hero__inner {
    gap: 36px;
    padding: 40px 20px 64px;
  }

  .hero__action {
    flex: 1 1 100%;
  }

  .phone {
    width: 260px;
  }

  .phone__screen {
    min-height: 380px;
  }
}

/* Phone mock-up in the hero */

.phone {
  width: 300px;
  padding: 12px;
  border-radius: 46px;
  background: #0a1226;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  transform: rotate(2deg);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 540px;
  padding: 34px 16px 20px;
  border-radius: 36px;
  background: var(--bg);
  color: var(--text);
}

.phone__greeting {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.phone__title {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.phone__card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.phone__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone__tile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.phone__tile--blue { background: #e3ebfd; color: #2f6bf0; }
.phone__tile--orange { background: #fdeedf; color: #ea7417; }
.phone__tile--green { background: #e0f7e6; color: #1f9a4c; }

.phone__icon {
  width: 19px;
  height: 19px;
}

.phone__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.phone__name {
  overflow: hidden;
  font-size: 13.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.phone__meta {
  color: var(--text-soft);
  font-size: 12px;
}

.phone__progress {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 99px;
  background: var(--surface-muted);
}

.phone__progress-bar {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.phone__cta {
  align-self: center;
  margin-top: auto;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 10px 24px -8px rgba(74, 92, 230, 0.6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 13.5px;
}

.chip--top {
  bottom: 130px;
  left: -10px;
}

.chip--bottom {
  top: 46px;
  right: -6px;
}

.chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.chip__icon--green { background: #e0f7e6; color: #1f9a4c; }
.chip__icon--blue { background: #e3ebfd; color: #2f6bf0; }

.chip__svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 1080px) {
  .chip--top { left: 0; }
  .chip--bottom { right: 0; }
}

@media (max-width: 420px) {
  .chip {
    display: none;
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

.section--intro {
  padding: 0;
}

.section--muted {
  background: var(--surface-muted);
}

.section--dark {
  background: var(--navy);
  color: #ffffff;
}

.section__inner {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 20px;
}

.section__eyebrow {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.section__eyebrow--light {
  color: #8fb0ff;
}

.section__title {
  max-width: 720px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.9px;
}

.section__title--light {
  color: #ffffff;
}

.section__lead {
  max-width: 640px;
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 18px;
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }
}

/* Benefits (overlap the hero) */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -44px;
  position: relative;
}

.benefit {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 40px -24px rgba(16, 32, 63, 0.25);
}

.benefit__title {
  font-size: 18px;
  font-weight: 800;
}

.benefit__text {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
}

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

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: #d4dcf0;
  box-shadow: 0 18px 36px -22px rgba(16, 32, 63, 0.3);
}

.feature__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.feature__tile--blue { background: #e3ebfd; color: #2f6bf0; }
.feature__tile--orange { background: #fdeedf; color: #ea7417; }
.feature__tile--green { background: #e0f7e6; color: #1f9a4c; }
.feature__tile--violet { background: #f0eafd; color: #7a4fe0; }
.feature__tile--sky { background: #e0f3fb; color: #0a93c9; }
.feature__tile--amber { background: #fbf1d9; color: #c98a00; }
.feature__tile--pink { background: #fbe6ee; color: #df3f78; }
.feature__tile--teal { background: #dff4f2; color: #0f9f97; }

.feature__icon {
  width: 22px;
  height: 22px;
}

.feature__title {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
}

.feature__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15px;
}

@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Audience */

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.audience__icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.audience__title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
}

.audience__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15px;
}

@media (max-width: 900px) {
  .audience {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Languages */

.languages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.languages__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages__item {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 600;
}

.languages__item {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.languages__item--active {
  background: var(--gradient);
  box-shadow: 0 8px 22px -8px rgba(106, 79, 224, 0.8);
  transform: scale(1.08);
}

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

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps__item {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Arrow from one step to the next (desktop). */
.steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 98px;
  right: -34px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b52bd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 15px;
  box-shadow: 0 6px 16px -6px rgba(16, 32, 63, 0.35), inset 0 0 0 1px var(--border);
}

.steps__art {
  position: relative;
  margin: -24px -24px 6px;
  padding: 12px 8px 0;
  border-radius: 20px 20px 0 0;
}

.steps__art--blue { background: linear-gradient(140deg, #eef3fe, #dde7fc); }
.steps__art--violet { background: linear-gradient(140deg, #f6f2fe, #e7defb); }
.steps__art--green { background: linear-gradient(140deg, #eefaf1, #d9f3e1); }

.steps__scene {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.steps__item:hover .steps__scene {
  transform: translateY(-6px) scale(1.03);
}

.steps__number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 8px 18px -6px rgba(74, 92, 230, 0.7);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.steps__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
}

.steps__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15px;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Stacked: the arrow points down between the cards. */
  .steps__item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -32px;
    left: calc(50% - 14px);
    transform: rotate(90deg);
  }
}

/* Call to action */

.section--cta {
  padding-top: 0;
}

/* After a grey section the call to action needs its own space. */
.section--muted + .section--cta {
  padding-top: 96px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 28px;
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(106, 79, 224, 0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.cta__title {
  max-width: 640px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.cta__text {
  max-width: 560px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 17.5px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cta__mail {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 15px;
}

.cta__mail-link {
  color: var(--primary);
  font-weight: 700;
}

/* Footer */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 28px 20px max(28px, env(safe-area-inset-bottom));
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer__link {
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 600;
}

.footer__link:hover {
  color: var(--text);
}

.footer__copy {
  margin-left: auto;
  color: var(--text-soft);
  font-size: 14px;
}

/* "Alle Funktionen" link below a section */

.section__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--primary);
  font-weight: 700;
}

.section__more-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.section__more:hover .section__more-icon {
  transform: translateX(3px);
}

.section--tight {
  padding-top: 72px;
}

/* Hero of the sub pages */

.page-hero {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(106, 79, 224, 0.32), transparent 60%),
    var(--navy);
  color: #ffffff;
}

.page-hero__inner {
  max-width: var(--width);
  margin: 0 auto;
  padding: 80px 20px 84px;
}

.page-hero__eyebrow {
  margin-bottom: 12px;
  color: #ffb27a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.page-hero__title {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.page-hero__lead {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18.5px;
}

/* Feature details (Funktionen) */

.details {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.detail--reverse .detail__visual {
  order: -1;
}

.detail__title {
  margin-top: 18px;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.detail__claim {
  margin-top: 6px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 700;
}

.detail__body {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 16.5px;
}

.detail__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
}

.detail__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #1f9a4c;
}

.detail__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
}

/* Illustrations (inline SVG scenes) */
.art {
  display: block;
  width: 100%;
  height: auto;
}

.detail__scene {
  width: 92%;
}

.feature__art {
  margin: -24px -24px 6px;
  padding: 10px 6px 0;
  border-radius: 20px 20px 0 0;
}

.feature__art--blue { background: linear-gradient(140deg, #eef3fe, #dde7fc); }
.feature__art--orange { background: linear-gradient(140deg, #fef5ec, #fce6d1); }
.feature__art--green { background: linear-gradient(140deg, #eefaf1, #d9f3e1); }
.feature__art--violet { background: linear-gradient(140deg, #f6f2fe, #e7defb); }
.feature__art--sky { background: linear-gradient(140deg, #eef8fc, #d7eff9); }
.feature__art--amber { background: linear-gradient(140deg, #fdf8ec, #f8ecc9); }
.feature__art--pink { background: linear-gradient(140deg, #fdf1f5, #f9dde8); }
.feature__art--teal { background: linear-gradient(140deg, #eefaf8, #d6f1ee); }

.detail__visual--blue { background: linear-gradient(140deg, #eef3fe, #d3e0fb); }
.detail__visual--orange { background: linear-gradient(140deg, #fef5ec, #fadcc0); }
.detail__visual--green { background: linear-gradient(140deg, #eefaf1, #cdeed7); }
.detail__visual--violet { background: linear-gradient(140deg, #f6f2fe, #e0d4fa); }
.detail__visual--sky { background: linear-gradient(140deg, #eef8fc, #cbe9f7); }
.detail__visual--amber { background: linear-gradient(140deg, #fdf8ec, #f5e3b5); }
.detail__visual--pink { background: linear-gradient(140deg, #fdf1f5, #f7d2e0); }
.detail__visual--teal { background: linear-gradient(140deg, #eefaf8, #c9ece8); }

@media (max-width: 860px) {
  .details {
    gap: 64px;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail__visual,
  .detail--reverse .detail__visual {
    order: -1;
    aspect-ratio: auto;
    padding: 18px 0 8px;
  }

  .detail__scene {
    width: 100%;
    max-width: 440px;
  }
}

/* "Außerdem" (Funktionen) */

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.extra {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.extra__icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.extra__title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 800;
}

.extra__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15px;
}

@media (max-width: 900px) {
  .extras {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Demo page */

.section--demo {
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(74, 124, 240, 0.12), transparent 60%),
    var(--bg);
}

.demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 64px;
}

.demo__title {
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.demo__lead {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 18px;
}

.demo__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.demo__point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.demo__check {
  width: 20px;
  height: 20px;
  color: #1f9a4c;
}

.demo__mail {
  margin-top: 32px;
  color: var(--text-soft);
  font-size: 15px;
}

.demo__mail-link {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .demo {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 48px -28px rgba(16, 32, 63, 0.3);
}

.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .demo-form {
    padding: 22px;
  }

  .demo-form__row {
    grid-template-columns: 1fr;
  }
}

.demo-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.demo-form__label {
  font-size: 14px;
  font-weight: 700;
}

.demo-form__input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Own chevron with the same inset as the text, instead of the browser arrow at the edge. */
.demo-form__input--select {
  padding-right: 44px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.demo-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.demo-form--checked .demo-form__input:invalid {
  border-color: #e0342a;
}

.demo-form__input--area {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

/* Only bots see and fill in this field. */
.demo-form__trap {
  position: absolute;
  left: -10000px;
}

.demo-form__error {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffe6e4;
  color: #b3261e;
  font-size: 14.5px;
  font-weight: 600;
}

.demo-form__submit {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.demo-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.demo-form__legal {
  color: var(--text-soft);
  font-size: 13px;
}

.demo-form__link {
  color: var(--primary);
  font-weight: 600;
}

.demo-form--done {
  align-items: center;
  padding: 56px 32px;
  text-align: center;
}

.demo-form__done-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e0f7e6;
  color: #1f9a4c;
}

.demo-form__done-svg {
  width: 30px;
  height: 30px;
}

.demo-form__done-title {
  font-size: 24px;
  font-weight: 800;
}

.demo-form__done-text {
  color: var(--text-soft);
}

[hidden] {
  display: none !important;
}

/* Demo type: online / telephone / on site */

.demo-form__choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
}

.demo-form__label--legend {
  padding: 0;
}

.demo-form__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.demo-form__option {
  position: relative;
  cursor: pointer;
}

.demo-form__radio {
  position: absolute;
  opacity: 0;
}

.demo-form__option-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.demo-form__option:hover .demo-form__option-text {
  border-color: #d4dcf0;
}

.demo-form__radio:checked + .demo-form__option-text {
  border-color: var(--primary);
  background: var(--primary-tint);
  color: var(--primary);
}

.demo-form__radio:focus-visible + .demo-form__option-text {
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.demo-form__hint {
  color: var(--text-soft);
  font-size: 13px;
}

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

/* Avatars (initials until there are photos) */

.avatar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.avatar--small {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--bg);
  font-size: 14px;
}

.avatar--photo {
  object-fit: cover;
  background: var(--surface-muted);
}

.avatar--blue { background: linear-gradient(140deg, #4a7cf0, #2b52bd); }
.avatar--violet { background: linear-gradient(140deg, #8a6cf0, #6a4fe0); }
.avatar--orange { background: linear-gradient(140deg, #f0a060, #e8823a); }

/* "Ihr sprecht direkt mit uns" on the demo page */

.founders-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.founders-note__faces {
  display: flex;
}

.founders-note__face + .founders-note__face {
  margin-left: -10px;
}

.founders-note__text {
  color: var(--text-soft);
  font-size: 14.5px;
}

.founders-note__title {
  display: block;
  color: var(--text);
}

/* About us: story and team */

.story {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
  gap: 56px;
}

.story__facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.story__value {
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
}

.story__label {
  color: var(--text-soft);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.founder__name {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 800;
}

.founder__role {
  margin-top: 2px;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
}

.founder__text {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 15px;
}

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

/* Pricing: licences */

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.plan__title {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
}

.plan__text {
  margin-top: 6px;
  color: var(--text-soft);
}

.plan__price {
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.plan__amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
}

.plan__unit {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.plan__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plan__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
}

.plan__check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--primary);
}

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

/* Pricing: base package */

.base {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 48px;
}

.base__list {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each column flows on its own, so every point has the same gap below it. */
.base__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
  break-inside: avoid;
}

.base__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #1f9a4c;
}

@media (max-width: 860px) {
  .base {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .base__list {
    columns: 1;
  }
}

/* Pricing: add-ons */

.addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.addon {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.addon__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 800;
}

.addon__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fdeedf;
  color: #c0601a;
  font-size: 12px;
  font-weight: 700;
}

.addon__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15.5px;
}

.addon__price {
  margin-top: auto;
  padding-top: 18px;
  font-size: 24px;
  font-weight: 800;
}

.addon__unit {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .addons {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Pricing: calculator */

.calculator {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  margin-top: 40px;
}

.calculator__inputs {
  display: flex;
  flex-direction: column;
  padding: 8px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.calculator__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.calculator__row + .calculator__row {
  border-top: 1px solid var(--border);
}

.calculator__row--toggle {
  cursor: pointer;
}

/* Package still in development: greyed out, not bookable. */
.calculator__row--soon {
  opacity: 0.5;
  cursor: not-allowed;
}

.calculator__label {
  display: flex;
  flex-direction: column;
}

.calculator__name {
  font-size: 17px;
}

.calculator__hint {
  color: var(--text-soft);
  font-size: 14px;
}

.calculator__total {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(106, 79, 224, 0.4), transparent 70%),
    var(--navy);
  color: #ffffff;
}

.calculator__total-label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.75;
}

.calculator__amount {
  margin-top: 4px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.4px;
  font-variant-numeric: tabular-nums;
}

.calculator__total-unit {
  font-size: 14px;
  opacity: 0.75;
}

.calculator__once {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
}

.calculator__cta {
  margin-top: 26px;
}

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

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

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

.stepper__icon {
  width: 18px;
  height: 18px;
}

.stepper__value {
  width: 64px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper__value::-webkit-inner-spin-button,
.stepper__value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper__value:focus {
  border-color: var(--primary);
}

/* On/off switch */

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 30px;
  margin: 0;
  border-radius: 999px;
  background: #d4d9e4;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 32, 63, 0.25);
  transition: transform 0.2s ease;
}

.switch:disabled {
  cursor: not-allowed;
}

.switch:checked {
  background: var(--primary);
}

.switch:checked::after {
  transform: translateX(20px);
}

/* FAQ */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin-top: 36px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

/* Own chevron with room to the question; it turns when the answer opens. */
.faq__question::after {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b52bd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform 0.3s ease;
}

.faq__item--open .faq__question::after {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
}

.faq__answer {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-soft);
}

.faq__note {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

/* ---------------------------------------------------------------------------
   Motion
   ------------------------------------------------------------------------- */

/* Header gets a shadow once the page scrolls. */
.header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header--scrolled {
  box-shadow: 0 10px 30px -18px rgba(16, 32, 63, 0.35);
}

/* Light sweeps across buttons on hover. */
.button {
  position: relative;
  overflow: hidden;
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.button--primary:hover::after {
  transform: translateX(120%);
}

.button--primary .button__icon {
  transition: transform 0.25s ease;
}

.button--primary:hover .button__icon {
  transform: translateX(3px);
}

/* Hero: drifting light, floating phone, chips popping in, shimmering words. */
.hero::before,
.hero::after,
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  top: -160px;
  right: -120px;
  background: rgba(122, 92, 255, 0.45);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero::after {
  bottom: -220px;
  left: -160px;
  background: rgba(63, 162, 255, 0.35);
  animation: drift 22s ease-in-out -8s infinite alternate-reverse;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  top: -260px;
  right: -100px;
  background: rgba(122, 92, 255, 0.4);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__inner,
.page-hero__inner {
  position: relative;
  z-index: 1;
}

.hero__text > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
.hero__text > :nth-child(5) { animation-delay: 0.32s; }

.hero__highlight {
  background: linear-gradient(90deg, #8fb0ff, #b9a4ff, #ffb27a, #8fb0ff) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

.phone {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both, phone-float 6s ease-in-out 1.2s infinite alternate;
  will-change: transform;
}

.phone__card {
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.phone__card:nth-of-type(1) { animation-delay: 0.7s; }
.phone__card:nth-of-type(2) { animation-delay: 0.85s; }
.phone__card:nth-of-type(3) { animation-delay: 1s; }

.phone__progress-bar {
  animation: fill 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 1s both;
}

.phone__cta {
  animation: pulse 2.4s ease-in-out 2s infinite;
}

.chip--top {
  animation: pop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) 1.3s both, float 5s ease-in-out 2s infinite alternate;
}

.chip--bottom {
  animation: pop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) 1.7s both, float 5.5s ease-in-out 2.4s infinite alternate-reverse;
}

/* Floating elements get their own layer, so they glide between pixels instead of stepping. */
.chip,
.detail__scene {
  will-change: transform;
}

/* Cards: the icon tile tilts, the card lifts slightly. */
.feature,
.extra,
.plan,
.addon,
.founder,
.steps__item,
.benefit {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature:hover,
.extra:hover,
.plan:hover,
.addon:hover,
.founder:hover,
.steps__item:hover {
  transform: translateY(-4px);
  border-color: #d4dcf0;
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.35);
}

.feature__tile {
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.feature:hover .feature__tile,
.plan:hover .feature__tile,
.detail:hover .feature__tile {
  transform: rotate(-8deg) scale(1.12);
}

.audience__icon,
.extra__icon {
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.audience__item:hover .audience__icon,
.extra:hover .extra__icon {
  transform: translateY(-3px) scale(1.15);
}

/* Feature pages: the big icon floats, a ring breathes around it. */
.detail__visual {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.detail__scene {
  animation: float 7s ease-in-out infinite alternate;
}

.feature__scene {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature:hover .feature__scene {
  transform: translateY(-6px) scale(1.03);
}

.detail:hover .detail__visual {
  transform: scale(1.02) rotate(-1deg);
}

/* Steps: the number rings once when it comes into view. */
.reveal--seen .steps__number::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: ring 1.2s ease-out var(--reveal-delay, 0ms) both;
}

/* Avatars: a soft glow on hover. */
.avatar {
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.35s ease;
}

.founder:hover .avatar {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 16px 30px -12px rgba(43, 82, 189, 0.5);
}

/* Calculator total bumps when it changes (class set by preise.js). */
.calculator__amount--bump {
  animation: bump 0.35s ease;
}

/* Content glides in while scrolling (classes set by motion.js; last, so it wins over
   the hover transitions of the cards until it is done). */
/* Until motion.js takes over, the same elements already wait invisibly (no flash on load).
   Keep the list in step with REVEAL in motion.js. */
.motion .page-hero__inner > *:not(.reveal--seen),
.motion .section__eyebrow:not(.reveal--seen),
.motion .section__title:not(.reveal--seen),
.motion .section__lead:not(.reveal--seen),
.motion .section__more:not(.reveal--seen),
.motion .benefit:not(.reveal--seen),
.motion .feature:not(.reveal--seen),
.motion .audience__item:not(.reveal--seen),
.motion .steps__item:not(.reveal--seen),
.motion .detail:not(.reveal--seen),
.motion .extra:not(.reveal--seen),
.motion .plan:not(.reveal--seen),
.motion .addon:not(.reveal--seen),
.motion .bundle:not(.reveal--seen),
.motion .onboarding:not(.reveal--seen),
.motion .base__item:not(.reveal--seen),
.motion .calculator:not(.reveal--seen),
.motion .founder:not(.reveal--seen),
.motion .value:not(.reveal--seen),
.motion .story__fact:not(.reveal--seen),
.motion .faq__item:not(.reveal--seen),
.motion .cta:not(.reveal--seen),
.motion .languages__item:not(.reveal--seen),
.motion .demo__intro > *:not(.reveal--seen),
.motion .demo-form:not(.reveal--seen) {
  opacity: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.6) translateY(10px); }
}

@keyframes phone-float {
  from { transform: rotate(2deg) translate3d(0, 0, 0); }
  to { transform: rotate(2deg) translate3d(0, -12px, 0); }
}

@keyframes float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -12px, 0); }
}

@keyframes drift {
  to { transform: translate(-80px, 110px) scale(1.15); }
}

@keyframes shimmer {
  to { background-position: 300% 0; }
}

@keyframes fill {
  from { width: 0; }
}

@keyframes pulse {
  50% { box-shadow: 0 10px 30px -4px rgba(106, 79, 224, 0.75); transform: scale(1.04); }
}

@keyframes ring {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 0; transform: scale(1.8); }
}

@keyframes bump {
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* About us: what makes us different */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.value {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value:hover {
  transform: translateY(-4px);
  border-color: #d4dcf0;
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.35);
}

.value__art {
  margin: -26px -26px 4px;
  padding: 10px 6px 0;
  border-radius: 20px 20px 0 0;
}

.value__art--orange { background: linear-gradient(140deg, #fef5ec, #fce6d1); }
.value__art--blue { background: linear-gradient(140deg, #eef3fe, #dde7fc); }
.value__art--violet { background: linear-gradient(140deg, #f6f2fe, #e7defb); }
.value__art--sky { background: linear-gradient(140deg, #eef8fc, #d7eff9); }

.value__scene {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.value:hover .value__scene {
  transform: translateY(-6px) scale(1.03);
}

.value__title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
}

.value__text {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 15px;
}

@media (max-width: 1000px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Pricing: All-Paket (the focus) */

.bundle {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(500px 320px at 100% 0%, rgba(122, 92, 255, 0.55), transparent 70%),
    radial-gradient(400px 300px at 0% 100%, rgba(63, 162, 255, 0.35), transparent 70%),
    var(--navy);
  box-shadow: 0 40px 80px -40px rgba(16, 32, 63, 0.7);
  color: #ffffff;
}

.bundle__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.bundle__title {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.bundle__lead {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.bundle__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bundle__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.bundle__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #5fd38a;
}

.bundle__offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.bundle__was {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 600;
}

.bundle__price {
  margin-top: 2px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.bundle__unit {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
}

.bundle__saving {
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(95, 211, 138, 0.16);
  color: #8be4ac;
  font-size: 13.5px;
  font-weight: 700;
}

.bundle__cta {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .bundle {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

.section__subtitle {
  margin: 48px 0 -20px;
  font-size: 20px;
  font-weight: 800;
}

/* Pricing: onboarding (once, separate from the packages) */

.onboarding {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.onboarding__title {
  font-size: 24px;
  font-weight: 800;
}

.onboarding__lead {
  max-width: 560px;
  margin-top: 6px;
  color: var(--text-soft);
}

.onboarding__offer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.onboarding__price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.onboarding__unit {
  color: var(--text-soft);
  font-size: 14px;
}

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

  .onboarding__offer {
    align-items: flex-start;
    text-align: left;
  }
}

/* Calculator: All-Paket row and included packages */

.calculator__row--all {
  margin: 8px -14px 0;
  padding: 18px 14px;
  border-radius: 16px;
  background: var(--primary-tint);
}

.calculator__row--all + .calculator__row {
  border-top: none;
}

.calculator__badge {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: middle;
}

.calculator__row--included .calculator__hint {
  color: #1f9a4c;
  font-weight: 700;
}

/* Included in the All-Paket: on, but greyed out and fixed. */
.calculator__row--included .switch:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Pricing: illustrations of the packages and the onboarding */

.addon__art {
  margin: -28px -28px 8px;
  padding: 12px 8px 0;
  border-radius: 24px 24px 0 0;
}

.addon__art--teal { background: linear-gradient(140deg, #eefaf8, #d6f1ee); }
.addon__art--amber { background: linear-gradient(140deg, #fdf8ec, #f8ecc9); }
.addon__art--blue { background: linear-gradient(140deg, #eef3fe, #dde7fc); }
.addon__art--violet { background: linear-gradient(140deg, #f6f2fe, #e7defb); }
.addon__art--pink { background: linear-gradient(140deg, #fdf1f5, #f9dde8); }

.addon__scene {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.addon:hover .addon__scene {
  transform: translateY(-6px) scale(1.03);
}

.onboarding__art {
  width: 260px;
  padding: 10px 6px 0;
  border-radius: 20px;
  background: linear-gradient(140deg, #eef8fc, #d7eff9);
}

@media (max-width: 760px) {
  .onboarding__art {
    width: 100%;
  }
}

.calculator__demo {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calculator__demo:hover {
  color: #ffffff;
}

/* Footer: social media */

.footer__social {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
}

.footer__social + .footer__copy {
  margin-left: 0;
}

/* Phone: logo, legal links, social media and copyright stacked in the middle. */
@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    gap: 18px;
    padding-top: 32px;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
    gap: 8px 24px;
  }

  .footer__social {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .calculator__inputs {
    padding: 8px 18px;
  }

  .calculator__name {
    white-space: nowrap;
  }

  .stepper__button {
    width: 36px;
    height: 36px;
  }

  .stepper__value {
    width: 48px;
    height: 36px;
  }

  .bundle {
    padding: 24px;
  }

  .bundle__offer {
    padding: 22px;
  }

  .onboarding {
    padding: 24px;
  }
}

/* Pricing: checkout */

.calculator__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(224, 52, 42, 0.18);
  color: #ffd4d0;
  font-size: 14px;
  font-weight: 600;
}

.calculator__secure {
  margin-top: 12px;
  font-size: 12.5px;
  opacity: 0.7;
}

.calculator__cta {
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.calculator__cta:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Thank-you page after the purchase (state modifiers set by danke.js) */

.thanks {
  display: flex;
  justify-content: center;
}

.thanks__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 44px 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 60px -34px rgba(16, 32, 63, 0.4);
  text-align: center;
}

.thanks__art {
  width: 100%;
  max-width: 420px;
  margin: -12px 0 -4px;
}

/* Celebration: the check pops in, cards glide in, confetti drifts down, sparkles twinkle. */
.thanks-art__badge {
  transform-box: fill-box;
  transform-origin: center;
  animation: thanks-pop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.1s both;
}

.thanks-art__float {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

.thanks-art__float--right {
  animation-delay: 0.65s;
}

.thanks-art__float--bottom {
  animation-delay: 0.8s;
}

.thanks-art__piece {
  transform-box: fill-box;
  transform-origin: center;
  animation: thanks-confetti 3.2s ease-in calc(var(--i) * 0.25s) infinite;
}

.thanks-art__sparkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: thanks-twinkle 1.8s ease-in-out infinite;
}

.thanks-art__sparkle:nth-of-type(2) { animation-delay: 0.6s; }
.thanks-art__sparkle:nth-of-type(3) { animation-delay: 1.2s; }

@keyframes thanks-pop {
  from { opacity: 0; transform: scale(0.3); }
}

@keyframes thanks-confetti {
  0% { opacity: 0; transform: translateY(-24px) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(60px) rotate(240deg); }
}

@keyframes thanks-twinkle {
  50% { opacity: 0.3; transform: scale(0.6); }
}

.thanks__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.thanks__text {
  color: var(--text-soft);
  font-size: 16.5px;
}

.thanks__ready,
.thanks__text--failed,
.thanks__card--ready .thanks__text--pending,
.thanks__card--failed .thanks__text--pending {
  display: none;
}

.thanks__card--ready .thanks__ready {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.thanks__card--failed .thanks__text--failed {
  display: block;
}

.thanks__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--primary-tint);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.thanks__key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 20px;
  border: 1.5px dashed var(--primary);
  border-radius: 16px;
  background: var(--primary-tint);
}

.thanks__key-value {
  color: var(--primary);
  font-size: clamp(17px, 4.6vw, 22px);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
}

.thanks__copy {
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.thanks__hint {
  color: var(--text-soft);
  font-size: 14px;
}

.thanks__link {
  color: var(--primary);
  font-weight: 700;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Checkout page (embedded Stripe form) */

.checkout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 48px;
}

.checkout__title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.9px;
}

.checkout__lines {
  display: flex;
  flex-direction: column;
  margin: 24px 0 0;
  padding: 6px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  list-style: none;
}

.checkout__line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.checkout__line + .checkout__line {
  border-top: 1px solid var(--border);
}

.checkout__tile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.checkout__tile--blue { background: #e3ebfd; color: #2f6bf0; }
.checkout__tile--orange { background: #fdeedf; color: #ea7417; }
.checkout__tile--violet { background: #f0eafd; color: #7a4fe0; }
.checkout__tile--teal { background: #dff4f2; color: #0f9f97; }
.checkout__tile--sky { background: #e0f3fb; color: #0a93c9; }

.checkout__icon {
  width: 20px;
  height: 20px;
}

.checkout__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.checkout__name {
  font-size: 15.5px;
}

.checkout__detail {
  color: var(--text-soft);
  font-size: 13px;
}

.checkout__stepper {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.checkout__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.checkout__step:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.checkout__step:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checkout__icon--small {
  width: 16px;
  height: 16px;
}

.checkout__count {
  min-width: 30px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.checkout__amount {
  flex: 0 0 auto;
  min-width: 70px;
  font-size: 15.5px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Phones: stepper and amount move to their own row below the name. */
@media (max-width: 480px) {
  .checkout__line--adjustable {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .checkout__line--adjustable .checkout__text {
    flex-basis: calc(100% - 54px);
  }

  .checkout__stepper {
    margin-left: 54px;
  }

  .checkout__amount {
    margin-left: auto;
  }
}

.checkout__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(106, 79, 224, 0.4), transparent 70%),
    var(--navy);
  color: #ffffff;
}

.checkout__total-label {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.75;
}

.checkout__total-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.checkout__once {
  font-weight: 700;
}

.checkout__terms {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.checkout__back {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 700;
}

.checkout__note {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.checkout__pay {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 48px -28px rgba(16, 32, 63, 0.3);
}

.checkout__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
  color: var(--text-soft);
}

.checkout__loading[hidden] {
  display: none;
}

.checkout__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--primary-tint);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.checkout__error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffe6e4;
  color: #b3261e;
  font-size: 14.5px;
  font-weight: 600;
}

.checkout__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 13px;
}

.checkout__secure-icon {
  width: 16px;
  height: 16px;
  color: #1f9a4c;
}

@media (max-width: 900px) {
  .checkout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .checkout__pay {
    padding: 18px;
  }
}

/* Gründungsaktion: link in the hero of the home page */

.hero__offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 14px 9px 12px;
  border: 1px solid rgba(255, 178, 122, 0.4);
  border-radius: 999px;
  background: rgba(232, 130, 58, 0.14);
  color: #ffffff;
  font-size: 14.5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero__offer:hover {
  border-color: #ffb27a;
  background: rgba(232, 130, 58, 0.24);
}

.hero__offer-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: #ffb27a;
}

.hero__offer-text strong {
  color: #ffb27a;
}

.hero__offer-arrow {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.hero__offer:hover .hero__offer-arrow {
  transform: translateX(3px);
}

/* Gründungsaktion: box on the pricing page with the code and the free spots */

.founding {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(232, 130, 58, 0.32), transparent 65%),
    radial-gradient(480px 320px at 0% 100%, rgba(106, 79, 224, 0.35), transparent 65%),
    var(--navy);
  margin-bottom: 88px;
  color: #ffffff;
  text-align: left;
  overflow: hidden;
  scroll-margin-top: 110px;
}

.founding__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(232, 130, 58, 0.18);
  color: #ffb27a;
  font-size: 14px;
  font-weight: 800;
}

.founding__eyebrow-icon {
  width: 18px;
  height: 18px;
}

.founding__title {
  margin-top: 16px;
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.founding__highlight {
  color: #ffb27a;
}

.founding__lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
}

.founding__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 26px;
  padding: 14px 14px 14px 18px;
  border: 2px dashed rgba(255, 178, 122, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.founding__code-label {
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.founding__code-value {
  color: #ffffff;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 1.5px;
  word-break: break-all;
}

.founding__copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.founding__copy:hover {
  transform: scale(1.04);
}

.founding__copy-icon {
  width: 16px;
  height: 16px;
}

.founding__spots {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founding__seats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Free spots: orange helmets that pop in one after another; taken ones fade back. */
.founding__seat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(140deg, #ffb27a, #e8823a);
  box-shadow: 0 10px 22px -10px rgba(232, 130, 58, 0.9);
  color: #ffffff;
  animation: founding-seat 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
  animation-delay: calc(var(--seat) * 60ms);
}

.founding__seat--taken {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.3);
}

.founding__seat-icon {
  width: 26px;
  height: 26px;
}

@keyframes founding-seat {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

.founding__count {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
}

.founding__cta {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .founding {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 420px) {
  .founding__seats {
    gap: 8px;
  }

  .founding__seat {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .founding__copy {
    margin-left: 0;
  }
}

/* Gründungsaktion: note below the price in the calculator */

.calculator__founder {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(232, 130, 58, 0.18);
  color: #ffd2b0;
  font-size: 14px;
}

.calculator__founder strong {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.calculator__founder-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: #ffb27a;
}

/* Package "Maßarbeit": on request instead of a monthly price */

.addon__art--sky { background: linear-gradient(140deg, #f1f6ff, #fdeee2); }

.addon__badge--quote {
  background: var(--primary-tint);
  color: var(--primary);
}

.addon__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.addon__link-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.addon__link:hover .addon__link-icon {
  transform: translateX(3px);
}

/* Checkout: price after the free months */

.checkout__after {
  font-size: 14px;
  opacity: 0.75;
}

/* Checkout: promotion code */

.promo {
  margin-top: 18px;
}

.promo__label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.promo__row {
  display: flex;
  gap: 10px;
}

.promo__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.promo__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.promo__error {
  margin-top: 7px;
  color: #e0342a;
  font-size: 13.5px;
  font-weight: 600;
}

.promo__applied {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border: 1.5px solid #bfe5cd;
  border-radius: 14px;
  background: #ecf8f0;
}

.promo__applied-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: #1f9a4c;
}

.promo__applied-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: #1f7a40;
  font-size: 14px;
}

.promo__applied-code {
  color: var(--text);
  letter-spacing: 0.5px;
}

.promo__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.promo__remove:hover {
  background: rgba(19, 27, 46, 0.06);
  color: var(--text);
}

.promo__remove-icon {
  width: 16px;
  height: 16px;
}

.promo__tip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1.5px dashed #f3c49f;
  border-radius: 14px;
  background: #fff6ef;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.promo__tip:hover {
  border-color: var(--orange);
}

.promo__tip-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.promo__tip-action {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

/* With a code: the applied code instead of the field and the tip. */
.promo--applied .promo__form,
.promo--applied .promo__tip {
  display: none !important;
}

.promo--applied .promo__applied {
  display: flex;
}

/* Maßarbeit page: illustration in the intro, a bigger field for the idea */

.demo__art {
  margin-top: 26px;
  padding: 14px 10px 0;
  border-radius: 24px;
  background: linear-gradient(140deg, #f1f6ff, #fdeee2);
}

.demo-form__input--large {
  min-height: 170px;
}

/* Changing pages: the content cross-fades, the header stays where it is. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  .header {
    view-transition-name: header;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.28s;
    animation-timing-function: ease;
  }
}

/* Back to top (created by motion.js) */

.to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px -8px rgba(16, 32, 63, 0.35);
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(0.9);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  border-color: var(--primary);
}

.to-top__icon {
  width: 20px;
  height: 20px;
}
