:root {
  --color-blue: #3a4dc7;
  --color-blue-dark: #2a3899;
  --color-blue-mid: #7c8ce0;
  --color-orange: #fe5f38;
  --color-lavender: #dce5ff;
  --color-lavender-soft: #eef2ff;
  --color-text: #1c2340;
  --color-text-muted: #55598a;
  --color-white: #ffffff;
  --font-display: "Fira Sans", sans-serif;
  --font-body: "Fira Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  color: var(--color-text);
}

a { color: inherit; }

/* Header */
.site-header {
  padding: 20px 0;
  background: var(--color-white);
}
.site-header.on-blue {
  background: var(--color-blue);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.site-header.on-blue.static-header {
  position: static;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(58, 77, 199, 0.2);
  background: rgba(220, 229, 255, 0.45);
}
.on-blue .lang-switch {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.lang-option {
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.5em 0.7em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.on-blue .lang-option { color: var(--color-white); }
.lang-option.active {
  background: var(--color-orange);
  color: var(--color-white);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--color-orange);
}
.on-blue .logo { color: var(--color-white); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-blue);
}
.on-blue .main-nav a { color: var(--color-white); }
.main-nav a[aria-current="page"] { color: var(--color-orange); }

@media (max-width: 900px) {
  .site-header {
    padding: 18px 0;
    background: var(--color-blue);
  }
  .site-header.on-blue {
    position: static;
    background: var(--color-blue);
  }
  .header-inner {
    gap: 10px;
    background: var(--color-blue);
  }
  .logo {
    font-size: 1.15rem;
  }
  .on-blue .logo {
    color: var(--color-white);
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    flex: 1;
  }
  .main-nav {
    display: none;
  }
  .btn-nav {
    padding: 0.6em 0.8em;
    font-size: 0.68rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  .on-blue .btn-outline-light {
    border-color: var(--color-white);
    color: var(--color-white);
  }
  .hero {
    padding-top: 0;
    background: transparent;
  }
  .hero::before {
    display: none;
  }
  .hero-claim {
    display: none;
  }
  .hero-visual-mobile {
    margin-top: 0;
  }
  .site-header.on-blue:not(.static-header) {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 3;
    background: transparent;
    padding: 0;
  }
  .site-header.on-blue:not(.static-header) .header-inner {
    background: transparent;
    justify-content: flex-start;
  }
  .site-header.on-blue:not(.static-header) .logo {
    display: none;
  }
  .site-header.on-blue:not(.static-header) .header-actions {
    /* line up with the left edge of the hero tagline */
    margin-left: calc(10.3vw - 24px);
    margin-right: auto;
    flex: 0 0 auto;
  }
  .site-header.on-blue:not(.static-header) .btn-nav-home {
    display: none;
  }
  .site-header.on-blue:not(.static-header) .lang-switch {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-outline {
  border-color: var(--color-blue);
  color: var(--color-blue);
}
.btn-outline-light {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn:hover { background: var(--color-orange); border-color: var(--color-orange); color: var(--color-white); }

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 0;
  background: var(--color-blue);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-claim {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw + 0.8rem, 2rem);
  text-align: right;
  max-width: 640px;
  margin: 0 0 24px auto;
  line-height: 1.35;
}
.hero-illustration {
  width: 100%;
  display: block;
  margin-top: 40px;
}

@media (min-width: 901px) {
  .hero-illustration {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.hero-visual-mobile { display: none; }
.hero-beta-btn { display: none; }
.hero-figma { display: none; }
.figma-screens { display: none; }

@media (min-width: 901px) {
  .hero {
    padding: max(0px, calc(100px - 5.9vw)) 0 0;
    background: #2548AE;
  }
  .hero .hero-claim,
  .hero .hero-illustration { display: none; }
  .hero-figma {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  :root[lang="en"] .hero-figma.lang-de-only,
  :root:not([lang="en"]) .hero-figma.lang-en-only { display: none; }
  /* Tagline window: top 230 of 1108 units of the full hero (only the slogan on blue) */
  .hero-figma-tagline {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 15.972vw;
    overflow: hidden;
  }
  .hero-figma-tagline .hero-figma { margin: 0; }
  /* Graphic-only export (715 units), pulled up so STITCHA sits higher */
  .hero-figma-graphic { margin-top: 0; }
  /* Blue stops 87 units above the graphic's bottom (as in the design) so the thread pokes out */
  .hero {
    background: linear-gradient(#2548AE, #2548AE) top / 100% calc(100% - 6.049vw) no-repeat;
  }
  .site-header.on-blue:not(.static-header) { background: transparent; }
  .hero { position: relative; z-index: 1; }

  .figma-screens {
    display: block;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* screens y=1108 units lands 30 units below the hero */
    margin-top: calc(-76.944vw + 2.083vw);
    overflow: hidden;
    z-index: 0;
  }
  .figma-screens-img { position: relative; display: block; width: 100%; height: auto; }
  /* Light-blue band behind the "Für alle" screen (screen 3 of the 1020.89-unit grid) */
  .figma-bg-audience { position: absolute; left: 0; width: 100%; top: 141.79vw; height: 70.895vw; background: #F3F6FF; }
  :root[lang="en"] .figma-screens-img.lang-de-only,
  :root:not([lang="en"]) .figma-screens-img.lang-en-only { display: none; }
  .figma-gif {
    position: absolute;
    height: auto;
    max-width: none;
    pointer-events: none;
  }
  .figma-gif-mirror { transform: scaleX(-1); }
  .figma-beta-link {
    position: absolute;
    left: 38%;
    width: 24%;
    top: 89.2%;
    height: 1.6%;
    color: transparent;
    font-size: 0;
    z-index: 2;
  }

  .desktop-thread-wrap .features,
  .desktop-thread-wrap .audience,
  .desktop-thread-wrap .coming-soon,
  .site-thread-full { display: none !important; }
}

@media (max-width: 900px) {
  .hero::before {
    display: none;
  }
  .hero {
    background: transparent;
    padding: 0;
  }
  .hero .container {
    padding: 0;
  }
  .hero-claim {
    display: block;
    position: absolute;
    top: 92px;
    left: 28px;
    right: auto;
    width: 44vw;
    z-index: 2;
    text-align: left;
    font-size: 1rem;
    line-height: 1.35;
    max-width: none;
    margin: 0;
  }
  .hero-beta-btn {
    display: inline-flex;
    position: absolute;
    top: 400px;
    left: 28px;
    z-index: 2;
    font-size: 0.85rem;
    padding: 0.6em 1.1em;
  }
  .hero-visual-desktop { display: none; }
  .hero-visual-mobile {
    display: block;
    position: relative;
    width: 100vw;
    height: 195vw;
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    background-image:
      url("assets/backgrounds/hero-mobile-bg.png"),
      linear-gradient(to bottom, var(--color-blue) 92%, transparent 92%);
    background-repeat: no-repeat, no-repeat;
    background-position: top center, top center;
    background-size: 100% auto, 100% 100%;
  }
}

/* Features */
.features {
  padding: 90px 0 60px;
  background: var(--color-white);
  position: relative;
}
.features .container { z-index: 1; }
.features h2 {
  color: var(--color-orange);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.feature-scatter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin-top: 60px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.feature-item img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.feature-item p {
  color: var(--color-orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
.pos-1 { transform: translateY(10px); }
.pos-3 { transform: translateY(-10px); }
.pos-4 { transform: translateY(20px); }
.pos-6 { transform: translateY(-6px); }

@media (max-width: 760px) {
  .feature-scatter { grid-template-columns: repeat(2, 1fr); }
  .feature-item img { width: 90px; height: 90px; }
  .pos-1, .pos-3, .pos-4, .pos-6 { transform: none; }
}
.feature-path-mobile { display: none; }
.site-thread-full { display: none; }
.mobile-thread-wrap { position: static; }

@media (min-width: 901px) {
  .features { background: transparent; }
  .features .container { z-index: 2; }
  .desktop-thread-wrap { position: relative; overflow: hidden; }
  .site-thread-full {
    display: block;
    position: absolute;
    top: 186px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    z-index: 1;
    pointer-events: none;
  }
  .feature-scatter {
    display: block;
    position: relative;
    aspect-ratio: 1800 / 1000;
    margin-top: 40px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .feature-item {
    position: absolute;
    width: 18%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .feature-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .pos-1 { left: 13%; top: 24%; }
  .pos-2 { left: 60%; top: 23%; }
  .pos-3 { left: 40%; top: 56%; }
  .pos-4 { left: 16%; top: 72%; }
  .pos-5 { left: 88%; top: 33%; }
  .pos-6 { left: 74%; top: 70%; }
}

@media (max-width: 900px) {
  .features { padding-top: 0; padding-bottom: 0; }
  .features h2 {
    margin: 0;
    position: absolute;
    top: 14px;
    left: 24px;
    right: 24px;
    z-index: 2;
  }
  .feature-scatter { display: none; }

  .feature-path-mobile {
    display: block;
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw) 0;
    height: 192vw;
    background: url("assets/backgrounds/hero-mobile-bg.png") no-repeat center -195vw / 100vw auto;
  }
  .path-stop {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    width: 148px;
    z-index: 1;
  }
  .path-stop-narrow { width: 132px; }
  .path-pond {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 144px;
    height: 144px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .path-pond img {
    width: 110px;
    height: 110px;
    object-fit: contain;
  }
  .path-stop p {
    position: absolute;
    left: 50%;
    top: 42px;
    transform: translateX(-50%);
    width: 100%;
    color: var(--color-orange);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.25;
    margin: 0;
  }
}

/* Audience */
.audience {
  background: var(--color-white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.audience h2 {
  color: var(--color-orange);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  position: relative;
  z-index: 1;
}
.audience-inner { text-align: center; }

.audience-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -60px;
  flex-wrap: wrap;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.circle {
  width: min(420px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--color-white);
  text-align: center;
}
.circle-designer {
  background: var(--color-blue-dark);
  margin-right: -70px;
  z-index: 1;
}
.circle-stricker {
  background: var(--color-blue-mid);
  z-index: 0;
}
.circle-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 14px;
  display: block;
}
.circle-label em { font-style: normal; font-weight: 500; opacity: 0.85; }
.circle ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .audience-circles { flex-direction: column; gap: 24px; }
  .circle-designer { margin-right: 0; margin-bottom: -40px; }
}

.audience-yarnball { display: none; }
.yarnball-extra { display: none; }

@media (min-width: 901px) {
  .audience-circles { display: none; }
  .audience-yarnball {
    display: block;
    position: relative;
    width: min(58vw, 820px);
    margin: 60px 2% 0 0;
    align-self: flex-end;
    z-index: 1;
  }
  .yarnball-figure {
    position: absolute;
    z-index: 2;
    pointer-events: none;
  }
  .yarnball-figure-designer {
    left: -9%;
    top: 30%;
    width: 13%;
    height: auto;
  }
  .yarnball-figure-stricker {
    right: 8%;
    top: -14%;
    width: 15%;
    height: auto;
  }
  .yarnball-img { width: 100%; height: auto; display: block; }
  .yarnball-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .yarnball-curve text { font-family: var(--font-display); }
  .yarnball-list {
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6em;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
  }
  .yarnball-list-designer {
    left: 6%;
    top: 46%;
    width: 40%;
    text-align: center;
    color: var(--color-blue-dark);
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  }
  .yarnball-list-stricker {
    right: 4%;
    top: 14%;
    width: 44%;
    text-align: center;
    color: var(--color-blue-dark);
    font-size: clamp(0.68rem, 0.85vw, 0.9rem);
  }
  .audience-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .audience-inner h2 { align-self: flex-start; }
  .scribble-sweater { display: none; }
  .audience-tail { display: none; }
  .yarnball-extra {
    display: block;
    position: absolute;
    right: -6%;
    top: 88%;
    width: 110px;
    text-align: left;
  }
  .yarnball-tail-desktop {
    color: var(--color-orange);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 8px;
  }
  .yarnball-swatch { width: 100%; height: auto; display: block; }
  .audience {
    background: var(--color-lavender-soft);
    padding-bottom: 100px;
    overflow: visible;
  }
}

.audience-mobile { display: none; }
.audience-thread-fill { display: none; }

@media (min-width: 901px) {
  .audience .container, .coming-soon .container { position: relative; z-index: 2; }
}

@media (max-width: 900px) {
  .audience {
    background: transparent;
    padding-top: 4px;
    padding-bottom: 60px;
    overflow: visible;
  }
  .mobile-thread-wrap {
    position: relative;
  }
  .audience-thread-fill {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("assets/backgrounds/hero-mobile-bg.png") no-repeat center -387vw / 100vw auto;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .audience h2 {
    color: var(--color-blue);
    font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
    font-weight: 700;
    text-align: left;
    margin-left: 0;
    position: relative;
    top: 0;
  }
  .audience-circles { display: none; }
  .audience-mobile {
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 4px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    top: 0;
  }
  .audience-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    margin-bottom: 0;
    min-height: 175px;
    transform: translateX(-22px);
  }
  .audience-row .yarn-block {
    flex: 0 0 auto;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }
  .yarn-block {
    position: relative;
    text-align: center;
  }
  .yarn-img-spacer {
    width: 150px;
    height: 78px;
    margin: 0 auto;
  }
  .curve-label {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    pointer-events: none;
    z-index: 2;
  }
  .curve-label text {
    font-family: "Fira Sans Condensed", var(--font-display);
    font-size: 26px;
  }
  .tilt-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.18;
    color: var(--color-text);
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 290px;
  }
  .tilt-list + .tilt-list { margin-top: 16px; }
  .audience-row + .tilt-list { margin-top: 12px; }
  .tilt-list li {
    display: block;
    transform-origin: center;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    letter-spacing: -0.02em;
  }
  .tilt-list li:nth-child(odd) { transform: rotate(-2deg); }
  .tilt-list li:nth-child(even) { transform: rotate(2deg); }

  .scribble-knitter {
    width: 170px;
    height: 150px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    z-index: 1;
  }
  .scribble-knitter img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-16deg);
  }
  .yarn-block-stricker .curve-label {
    top: 118px;
    left: -22px;
    width: 220px;
    transform: translateX(0) rotate(-24deg);
  }
  .yarn-block-designer .curve-label {
    top: 64px;
    left: -36px;
    width: 215px;
    transform: translateX(0) rotate(24deg);
  }
  .audience-icon-visualisieren {
    position: absolute;
    top: -102px;
    right: 6px;
    width: 84px;
    height: auto;
    transform: rotate(8deg);
    z-index: 3;
  }
  .scribble-sweater {
    width: 150px;
    height: 212px;
    margin: 16px auto 0;
    overflow: hidden;
    position: relative;
    top: 8px;
  }
  .scribble-sweater img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.audience-tail {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-orange);
  font-size: 1.3rem;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .audience-tail { top: 8px; }
}

/* Coming soon */
.coming-soon {
  padding: 100px 0 120px;
  text-align: center;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}
.coming-soon-thread { display: none; }
@media (max-width: 900px) {
  .coming-soon-thread {
    display: block;
    position: absolute;
    top: 0;
    right: -8vw;
    width: 52vw;
    max-width: none;
    height: auto;
    z-index: 0;
    pointer-events: none;
  }
  .coming-soon {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 190px;
    background: transparent;
    overflow: visible;
  }
  .coming-soon .container {
    position: relative;
    z-index: 1;
  }
}
@media (min-width: 901px) {
  .coming-soon {
    overflow: visible;
  }
  .coming-soon .container {
    position: relative;
    z-index: 1;
  }
}
.coming-soon h2 {
  color: var(--color-orange);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.beta-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  font-size: 1.1rem;
}
.coming-soon-btn { margin-top: 20px; }
.faq-beta-btn { margin-top: 12px; display: inline-flex; }

@media (max-width: 900px) {
  .btn-nav-home { display: none; }
}
.beta-link:hover { color: var(--color-orange); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-lavender);
  padding: 28px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-blue);
}
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--color-orange); }
.footer-team { justify-self: start; }
.footer-handle { justify-self: center; }
.footer-faq { justify-self: end; }
.footer-imprint {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-body, inherit);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .site-footer {
    background: transparent;
    position: relative;
    z-index: 2;
  }
}

/* Team page */
.page-title { display: flex; align-items: center; gap: 0.15em; }
.back-arrow {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
}
.back-arrow:hover { opacity: 0.7; }

.team-page { padding: 60px 0 100px; }
.team-page h1,
.imprint-page h1,
.faq-page h1 {
  color: var(--color-orange);
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.4rem);
}
.team-intro { display: none; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (min-width: 901px) {
  .team-grid {
    max-width: 980px;
    gap: 56px;
    margin-left: auto;
    margin-right: auto;
  }
}
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: var(--color-lavender);
  margin-top: 10px;
  margin-bottom: 16px;
  display: block;
}
.team-photo--annika { object-position: center 18%; }
.team-photo--gwyneth { object-position: center; }
.team-photo--derman { object-position: center 28%; }
.team-photo--linn { object-position: center 20%; }
.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--color-blue);
}
.team-card h3 {
  color: var(--color-blue);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.team-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin: 0;
  text-align: right;
}

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .team-card {
    text-align: left;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 900px) {
  .team-page { padding: 40px 0 80px; }
}

/* FAQ page */
.faq-page {
  padding: 60px 0 120px;
  position: relative;
  overflow: hidden;
}
.faq-page::before {
  content: "";
  position: absolute;
  top: -40px;
  bottom: 0;
  right: 4%;
  width: 30%;
  max-width: 360px;
  background: url("assets/backgrounds/faq-thread.png") no-repeat center / 100% 100%;
  z-index: 0;
  pointer-events: none;
}
.faq-page .container { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .faq-page::before {
    width: 100vw;
    max-width: none;
    right: calc(50% - 50vw);
    background: url("assets/backgrounds/faq-thread.png") no-repeat top right / contain;
  }
}

.faq-list {
  max-width: 720px;
  margin: 50px auto 0;
  display: grid;
  gap: 4px;
}
.imprint-page {
  padding: 60px 0 120px;
}
.imprint-card {
  max-width: 780px;
  margin: 40px auto 0;
  background: var(--color-lavender-soft);
  border: 1px solid rgba(58, 77, 199, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
}
.imprint-card h2 {
  color: var(--color-blue);
  font-size: 1.2rem;
  margin-top: 0;
}
.imprint-card p,
.imprint-card li {
  color: var(--color-text-muted);
}
.imprint-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.faq-list details {
  border-bottom: 1px solid var(--color-lavender);
  padding: 18px 4px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-blue);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "⌄";
  color: var(--color-orange);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list p { margin: 14px 0 0; color: var(--color-text-muted); }

/* Mobile home rebuilt from designer exports (550px-wide artboard -> 100vw; 1 unit = 0.181818vw) */
.figma-mobile { display: none; }

@media (max-width: 900px) {
  .figma-mobile {
    display: block;
    position: relative;
    width: 100vw;
    height: 730vw;
    overflow: hidden;
  }
  .hero,
  .desktop-thread-wrap .features,
  .desktop-thread-wrap .audience,
  .desktop-thread-wrap .coming-soon,
  .audience-thread-fill { display: none !important; }

  :root[lang="en"] .figma-mobile .lang-de-only,
  :root:not([lang="en"]) .figma-mobile .lang-en-only { display: none; }

  .fm-bg { position: absolute; left: 0; width: 100%; height: 185.62vw; }
  .fm-bg-hero { top: 0; background: #2548AE; }
  .fm-bg-audience { top: 373.67vw; background: #F3F6FF; }
  .fm-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-width: none;
  }
  .fm-hero-de, .fm-hero-en {
    position: absolute;
    height: auto;
    max-width: none;
  }
  .fm-hero-de { left: 10.221vw; top: 3.154vw; width: 82.18vw; }
  .fm-hero-en { left: 0; top: 0; width: 100vw; }
  .fm-gif {
    position: absolute;
    height: auto;
    max-width: none;
    pointer-events: none;
  }
  .fm-mirror { transform: scaleX(-1); }
  .fm-designer {
    position: absolute;
    left: 99.19vw;
    top: 377.255vw;
    width: 0;
    height: 0;
    transform-origin: 0 0;
    transform: matrix(-0.971621, -0.236542, -0.236542, 0.971621, 0, 0);
    pointer-events: none;
  }
  .fm-designer img {
    position: absolute;
    left: -5.462vw;
    top: -8.182vw;
    width: 45.51vw;
    max-width: none;
    height: auto;
  }
  .fm-beta-link {
    position: absolute;
    left: 25vw;
    width: 50vw;
    top: 640.5vw;
    height: 12.5vw;
    font-size: 0;
    color: transparent;
    z-index: 2;
  }
}

/* Animated GIFs laid over the static icons baked into the exports (white patch hides the static drawing) */
.fx { position: absolute; transform-origin: 0 0; pointer-events: none; }
.fx-clip { position: absolute; inset: 0; overflow: hidden; }
.fx-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: brightness(0) invert(1)
    drop-shadow(0 0 0.6px #fff) drop-shadow(0 0 0.6px #fff)
    drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff)
    drop-shadow(0 0 1.2px #fff);
}
.fx-gif { position: absolute; height: auto; max-width: none; }

@media (min-width: 901px) {
  .figma-screens .fx-balloon   { left: 49.664vw; top: 97.984vw;  width: 16.091vw; height: 15.960vw; transform: scaleX(-1); }
  .figma-screens .fx-visualize { left: 10.786vw; top: 115.881vw; width: 17.202vw; height: 13.679vw; transform: rotate(-6.46231deg); }
  .figma-screens .fx-lookup    { left: 68.609vw; top: 108.889vw; width: 24.444vw; height: 20.556vw; transform: rotate(2.75576deg); }
  .figma-screens .fx-community { left: 56.121vw; top: 82.688vw;  width: 9.362vw;  height: 13.242vw; }
}
@media (max-width: 900px) {
  .figma-mobile .fx-balloon   { left: 60.627vw; top: 260.451vw; width: 28.908vw; height: 28.674vw; transform: scaleX(-1); }
  .figma-mobile .fx-visualize { left: 64.575vw; top: 294.558vw; width: 27.960vw; height: 22.235vw; transform: rotate(-6.46231deg); }
  .figma-mobile .fx-lookup    { left: 64.746vw; top: 229.833vw; width: 30.930vw; height: 26.009vw; transform: rotate(2.75576deg); }
  .figma-mobile .fx-community { left: 13.177vw; top: 286.422vw; width: 16.862vw; height: 23.852vw; }
}

/* Subpages: plain white header with orange logo and only the language toggle */
.site-header.plain-header,
.site-header.plain-header .header-inner { background: var(--color-white); }
.footer-inner a[aria-current="page"] { color: var(--color-orange); }

/* Home desktop header: only the beta button (left) and the language toggle (right) */
@media (min-width: 901px) {
  .site-header.on-blue:not(.static-header) .header-actions {
    flex: 1;
    justify-content: space-between;
  }
  .site-header.on-blue:not(.static-header) .btn-nav-home { order: -1; }
}
.site-header.plain-header .logo { color: var(--color-blue); }
@media (min-width: 901px) {
  .site-header.on-blue:not(.static-header) .header-actions { align-items: flex-start; }
}
/* Balloon: wider white silhouette so no faint static lines show through the GIF */
.fx-balloon .fx-mask {
  filter: brightness(0) invert(1) drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #fff);
}
/* Keep the balloon's white mask above the caption so "Überblick" is not washed out */
@media (min-width: 901px) { .figma-screens .fx-balloon .fx-clip { clip-path: inset(0 0 7% 0); } }
@media (max-width: 900px) { .figma-mobile .fx-balloon .fx-clip { clip-path: polygon(0 0, 100% 0, 100% 86%, 56% 86%, 56% 100%, 0 100%); } }
