/* Maiß CoWork – Landingpage. Values follow the design handoff 1:1. */

/* ---------------------------------------------------------------- Fonts (self-hosted, no Google request) */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300-normal.7fda4c62c1bd.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.8eff0b8045fd.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.115c2d84727b.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.c83e4437a53d.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-latin-900-normal.6d5bbe47bbb0.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-ext-300-normal.3f49b6de2f59.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-ext-400-normal.0df72e634b7f.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-ext-500-normal.f827d88683a8.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-ext-700-normal.4dd50877aa7d.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-latin-ext-900-normal.2f5fa3115053.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------------- Tokens */
:root {
  --ink: #1D1D1B;
  --red: #B51E28;
  --red-hover: #9A1922;
  --red-bright: #E30613;
  --white: #FFFFFF;
  --gray-700: #5A5A58;
  --gray-600: #747474;
  --gray-500: #9A9A9A;
  --sand-100: #F5F4F2;
  --sand-050: #FAFAF9;
  --sand-200: #E9E6E1;
  --hairline: #EDEDED;
  --warm-light: #CFCAC3;
  --warm-mid: #A9A49C;
  --warm-dim: #8A857F;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;

  --fs-h1: clamp(42px, 5.2vw, 76px);
  --fs-h2: clamp(34px, 4vw, 56px);
  --fs-h3: clamp(28px, 3vw, 40px);

  --grid-2col: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }

img { max-width: 100%; }

h1, h2, h3 { margin: 0; }

h2 {
  margin-top: 18px;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 900;
  text-wrap: balance;
}

.light { font-weight: 300; }

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

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--bright { color: var(--red-bright); }

.rule { background: var(--red); flex: none; }
.rule--5 { width: 5px; }
.rule--4 { width: 4px; }
.rule--44 { height: 44px; }

/* ---------------------------------------------------------------- Buttons & links */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.btn {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  transition: background-color 200ms;
}
.btn:hover { background: var(--red-hover); color: var(--white); }

.btn--header { font-size: 15px; padding: 12px 20px; }
.btn--lg { gap: 12px; padding: 18px 28px; font-size: 17px; }
.btn--md { gap: 12px; padding: 17px 26px; font-size: 17px; }

.btn--card {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  background: var(--ink);
}
.btn--card:hover { background: var(--red); }

.link-cta {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}
.link-cta--dark { color: var(--white); }
.link-cta--dark:hover { color: var(--red-bright); }
.link-cta--ink { color: var(--ink); }
.link-cta--ink span { color: var(--red); }
.link-cta--ink:hover { color: var(--red); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 4px 24px rgba(29, 29, 27, .08);
  transition: background-color 300ms, box-shadow 300ms;
}

.has-dark-hero .site-header:not(.is-scrolled) {
  color: var(--white);
  background: rgba(29, 29, 27, 0);
  box-shadow: none;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  white-space: nowrap;
  color: inherit;
}
.site-header__logo:hover { color: inherit; }

.site-header__signet {
  width: 40px;
  height: 40px;
  display: block;
  transition: filter 300ms;
}
.has-dark-hero .site-header:not(.is-scrolled) .site-header__signet { filter: invert(1); }

.site-header__divider {
  width: 1px;
  height: 28px;
  background: currentColor;
  opacity: .3;
}

.wordmark {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.03em;
}
.wordmark b { font-weight: 900; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 26px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}
.site-nav a { color: inherit; transition: color 200ms; }
.site-nav a:hover { color: var(--red-bright); }

body:not(.has-dark-hero) main { padding-top: 72px; }

/* Not in the prototype: below this width the nav wrapped into six lines over the logo. */
@media (max-width: 760px) {
  .site-header__inner { padding: 16px 20px; justify-content: space-between; }
  .site-nav { display: none; }
}

/* ---------------------------------------------------------------- Reveal (JS plays the animation) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse 80% 70% at 78% 38%, #57534D 0%, #3A3834 42%, #1D1D1B 100%);
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -80px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 30, 40, .28), rgba(181, 30, 40, 0) 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 170px 32px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 72px 64px;
  align-items: center;
}

.hero__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.hero__lockup-name { font-weight: 700; white-space: nowrap; }
.hero__lockup-divider { width: 1px; height: 22px; background: rgba(255, 255, 255, .25); }
.hero__lockup-claim { font-weight: 300; color: var(--warm-light); }

.hero__title {
  display: flex;
  gap: 26px;
  margin-top: 32px;
}
.hero__title h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 900;
  text-wrap: balance;
}

.hero__lead {
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--warm-light);
  max-width: 560px;
  text-wrap: pretty;
}

.hero__note {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--white);
  max-width: 560px;
}

.hero__ctas { margin-top: 36px; }

/* Dashboard mockup */
.dash-wrap {
  position: relative;
  max-width: 580px;
  width: 100%;
  justify-self: center;
}

.dash {
  background: rgba(29, 29, 27, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dash__light { width: 10px; height: 10px; border-radius: 50%; background: #4A4743; }
.dash__app {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-light);
}
.dash__app img { width: 20px; height: 20px; border-radius: 4px; display: block; }
.dash__url { margin-left: auto; font-size: 12px; color: #7A7672; }

.dash__body { padding: 22px; }

.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dash__kicker {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-mid);
}
.dash__kicker--tasks { margin-top: 20px; }

.dash__title { font-size: 19px; font-weight: 700; margin-top: 6px; }

.dash__ring {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(#E30613 var(--pct), rgba(255, 255, 255, .09) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash__ring-inner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #262523;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.dash__ring-inner span { font-size: 16px; font-weight: 700; }
.dash__ring-inner small { font-size: 9px; color: var(--warm-mid); margin-top: 2px; }

.dash__budget {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.dash__tile {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  padding: 12px;
}
.dash__tile-label { font-size: 11px; color: var(--warm-mid); }
.dash__tile-value { font-size: 15px; font-weight: 700; margin-top: 4px; }
.dash__meter {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  margin-top: 10px;
  overflow: hidden;
}
.dash__meter div {
  height: 100%;
  border-radius: 3px;
  background: var(--warm-dim);
  transition: width 900ms var(--ease), background-color 300ms;
}
.dash__meter div.is-moving { background: var(--red-bright); }
.dash__tile-value { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Narrow phones: "12.000 €" must still fit into a third of the card. */
@media (max-width: 420px) {
  .dash__body { padding: 18px; }
  .dash__tile { padding: 10px; }
  .dash__tile-value { font-size: 14px; }
}

.dash__tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.dash__task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06);
}
.dash__check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 11px;
  transition: all 300ms;
}
.dash__task-title {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #F2EFEA;
  transition: color 300ms;
}
.dash__avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.dash__task.is-done .dash__check { border-color: #E30613; background: #E30613; }
.dash__task.is-done .dash__check::after { content: "✓"; }
.dash__task.is-done .dash__task-title { color: var(--warm-dim); text-decoration: line-through; }

.dash__toast {
  position: absolute;
  left: -28px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 18px 14px 14px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms, transform 500ms var(--ease);
}
.dash__toast.is-visible { opacity: 1; transform: translateY(0); }
.dash__toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.dash__toast-text { display: flex; flex-direction: column; line-height: 1.3; }
.dash__toast-text b { font-size: 14px; font-weight: 700; }
.dash__toast-text span { font-size: 12px; color: var(--gray-600); }

/* ---------------------------------------------------------------- Vorteile */
.benefits { border-bottom: 1px solid var(--hairline); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.benefit {
  padding: 40px 28px 44px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--ink);
}
.benefit--first { border-top-color: var(--red); }
.benefit__title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.benefit__text { font-size: 15px; color: var(--gray-600); line-height: 1.5; }

/* ---------------------------------------------------------------- Section heads */
.section-head {
  display: grid;
  grid-template-columns: var(--grid-2col);
  gap: 24px 72px;
  align-items: end;
}
.section-head__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 520px;
}
.features .section-head__text { max-width: 500px; }
.section-head__text--dark { color: var(--warm-light); }

/* ---------------------------------------------------------------- Funktionen */
.features { padding: 140px 0 120px; }

.features__tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 4px;
  margin-top: 64px;
}

.features__tab {
  all: unset;
  cursor: pointer;
  padding: 18px 16px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features__tab:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.features__progress {
  display: block;
  height: 3px;
  background: var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.features__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}
.features__tab.is-filled .features__progress span { width: 100%; }
.features__tab.is-running .features__progress span { transition: width 7s linear; }

.features__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.features__tab-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-500);
  transition: color 250ms;
}
.features__tab.is-active .features__tab-title { color: var(--ink); }

.features__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 56px;
  margin-top: 40px;
  align-items: center;
}
/* The screenshot gets the wider column so the app UI stays legible. */
@media (min-width: 900px) {
  .features__body { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.features__texts { position: relative; min-height: 240px; }

.features__text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 500ms, transform 600ms var(--ease);
}
.features__text:first-child { position: relative; }
.features__text.is-active { opacity: 1; transform: none; pointer-events: auto; }

.features__heading { display: flex; gap: 22px; }
.features__heading h3 {
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 900;
}
.features__text p {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 500px;
}

.features__panel { position: relative; }
.features__screens { position: relative; aspect-ratio: 2798 / 2062; }

.features__screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.97);
  pointer-events: none;
  transition: opacity 600ms, transform 800ms var(--ease);
}
.features__screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.features__zoom {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.features__zoom:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.features__screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Gallery of the feature screenshots (opened by clicking a screenshot). */
html:has(.lightbox[open]) { overflow: hidden; }

.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100dvh;
  background: rgba(29, 29, 27, .94);
  color: var(--white);
}
.lightbox::backdrop { background: transparent; }
@keyframes lightbox-in { from { opacity: 0; } }
/* Fallback when the browser has no View Transitions: just fade in. */
.lightbox.is-fading[open], .lightbox.is-fading[open]::backdrop { animation: lightbox-in 300ms var(--ease); }

.lightbox__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px;
  padding: clamp(64px, 8vh, 88px) clamp(16px, 8vw, 112px) clamp(24px, 5vh, 48px);
}

.lightbox__stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 12px;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__caption {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lightbox__count {
  font-size: 13px;
  color: var(--warm-mid);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.lightbox__title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.lightbox__text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--warm-light);
  text-wrap: pretty;
}

.lightbox__nav,
.lightbox__close {
  all: unset;
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 200ms, color 200ms;
}
.lightbox__nav {
  top: 42%;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav--prev { left: clamp(12px, 2.5vw, 40px); }
.lightbox__nav--next { right: clamp(12px, 2.5vw, 40px); }
.lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: var(--white);
  color: var(--ink);
}
.lightbox__close:hover { background: var(--red); color: var(--white); }
.lightbox__nav:focus-visible,
.lightbox__close:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

/* Phones: arrows move below the text so they don't cover the screenshot. */
@media (max-width: 750px) {
  .lightbox__figure { padding: 72px 16px 88px; gap: 20px; }
  .lightbox__text { font-size: 15px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
}

/* Shared-element zoom between the page screenshot and the gallery (View Transitions API). */
::view-transition-group(cw-shot) { animation-duration: 500ms; animation-timing-function: var(--ease); }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 350ms; }
/* While the page and gallery swap, tab switches on the page must apply instantly. */
.features.is-instant .features__screen,
.features.is-instant .features__text { transition: none; }

/* Neutral stand-in until the customer delivers the real images. */
.placeholder {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  background: repeating-linear-gradient(135deg, rgba(29, 29, 27, .03) 0 10px, rgba(29, 29, 27, .06) 10px 20px);
  border: 1px dashed rgba(29, 29, 27, .15);
}
.placeholder--rect { border-radius: 0; aspect-ratio: 2 / 1; height: auto; }

/* ---------------------------------------------------------------- Planungshilfe / Orbit */
.orbit-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 140px 0;
  background: radial-gradient(ellipse 60% 80% at 72% 50%, #3F3C38 0%, #262523 50%, #1A1A18 100%);
}

.orbit-section__grid {
  position: relative;
  display: grid;
  grid-template-columns: var(--grid-2col);
  gap: 64px 72px;
  align-items: center;
}

.orbit-section__text {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--warm-light);
  max-width: 520px;
}

.orbit-picker { margin-top: 56px; max-width: 520px; }
.orbit-picker__segments { display: flex; gap: 6px; }
.orbit-picker__segment {
  all: unset;
  cursor: pointer;
  flex: 1;
  padding: 10px 0;
}
.orbit-picker__segment span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, .18);
  transition: background-color 400ms;
}
.orbit-picker__segment.is-active span { background: var(--red-bright); }
.orbit-picker__segment:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

.orbit-picker__current {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 18px;
}
.orbit-picker__count {
  white-space: nowrap;
  flex: none;
  font-size: 14px;
  color: var(--warm-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.orbit-picker__title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.orbit-picker__texts { display: grid; margin-top: 16px; }
.orbit-picker__text {
  grid-area: 1 / 1;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 450ms, transform 550ms var(--ease);
}
.orbit-picker__text.is-active { opacity: 1; transform: none; }

.orbit {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  justify-self: center;
}
.orbit__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 30, 40, .32) 0%, rgba(181, 30, 40, 0) 60%);
  pointer-events: none;
}
.orbit__stage { position: absolute; inset: 0; }
.orbit__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit__spin {
  transform-origin: 260px 260px;
  animation: cw-spin 160s linear infinite;
}
@keyframes cw-spin { to { transform: rotate(360deg); } }

.orbit__node {
  all: unset;
  cursor: pointer;
  position: absolute;
  width: 0;
  height: 0;
}
.orbit__node-inner {
  position: absolute;
  left: -110px;
  top: -7px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.orbit__dot-box {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm-dim);
  box-shadow: none;
  transition: all 450ms var(--ease);
}
.orbit__label {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-dim);
  letter-spacing: .01em;
  transition: color 400ms;
}
.orbit__node.is-active .orbit__dot {
  width: 14px;
  height: 14px;
  background: var(--red-bright);
  box-shadow: 0 0 0 6px rgba(227, 6, 19, .18), 0 0 28px rgba(227, 6, 19, .7);
}
.orbit__node.is-active .orbit__label { font-size: 15px; font-weight: 700; color: var(--white); }
.orbit__node:focus-visible .orbit__label { outline: 2px solid var(--red-bright); outline-offset: 4px; }

.orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 14px rgba(255, 255, 255, .03), 0 30px 60px rgba(0, 0, 0, .5);
}
.orbit__center img { width: 100%; height: 100%; display: block; border-radius: 24%; }

/* ---------------------------------------------------------------- Praxistest */
.testimonial { padding: 130px 32px; }

.testimonial__box {
  max-width: 1176px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--sand-100);
  padding: clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 72px;
  align-items: center;
}

.testimonial__quote {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.38;
  font-weight: 300;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.testimonial__quote strong { font-weight: 700; }

.testimonial__author {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  line-height: 1.45;
  color: var(--gray-700);
}
.testimonial__author strong { color: var(--ink); }

.testimonial__link { margin-top: 28px; font-size: 16px; }

/* The school delivered a photo with its logo, so it runs edge to edge instead of sitting on a white card. */
.testimonial__logo {
  border-radius: 20px;
  overflow: hidden;
}
.testimonial__logo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }

/* ---------------------------------------------------------------- Datensicherheit */
.security {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 140px 0;
  background: radial-gradient(ellipse 70% 80% at 15% 20%, #4A4743 0%, #2B2A28 45%, #1D1D1B 100%);
}

.security__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
  margin-top: 64px;
}
.security__card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.security__label { font-size: 13px; color: var(--warm-mid); }
.security__value { font-size: 18px; font-weight: 700; margin-top: 4px; }

/* ---------------------------------------------------------------- Nutzung */
.usage { padding: 140px 0; }

.usage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 64px;
}

.step {
  background: var(--sand-100);
  border-radius: 24px;
  padding: 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.step--dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse at 85% 0%, #4A4743, #1D1D1B 70%);
}
.step__num {
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .8;
  color: var(--warm-light);
}
.step--dark .step__num { color: var(--red-bright); }
.step__title { font-size: 24px; font-weight: 700; }
.step__text { font-size: 16px; line-height: 1.6; color: var(--gray-700); margin-top: 10px; }
.step--dark .step__text { color: var(--warm-light); }

.usage__ctas { margin-top: 40px; }

/* ---------------------------------------------------------------- Preise */
.pricing { background: var(--sand-100); padding: 140px 0; }

.pricing__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.pricing__head p {
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 640px;
}

.toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
}
.toggle__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: var(--ink);
  border-radius: 999px;
  transition: left 350ms var(--ease);
}
.toggle[data-term="three_years"] .toggle__pill { left: 50%; }
.toggle__option {
  all: unset;
  cursor: pointer;
  position: relative;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--gray-700);
  transition: color 300ms;
}
.toggle__option[aria-pressed="true"] { color: var(--white); }
.toggle__option:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 999px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 56px;
}

.price-card {
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  transition: box-shadow 300ms;
}
.price-card:hover { box-shadow: 0 24px 48px rgba(29, 29, 27, .08); }
.price-card__product { font-size: 15px; font-weight: 700; }
.price-card__users { font-size: 15px; color: var(--gray-600); }
.price-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 28px;
}
.price-card__amount {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-card__unit { font-size: 16px; color: var(--gray-700); white-space: nowrap; }
.price-card__note { font-size: 14px; color: var(--gray-600); min-height: 20px; margin-top: 6px; }
.price-card__saving { font-size: 14px; font-weight: 700; color: var(--red); min-height: 20px; }

/* ---------------------------------------------------------------- FAQ */
.faq { padding: 140px 0; }

.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px 48px;
  align-items: start;
  margin-top: 56px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.faq__question {
  all: unset;
  cursor: pointer;
  position: relative;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0 20px 22px;
  border-bottom: 1px solid var(--hairline);
}
.faq__question:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.faq__bar {
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 300ms;
}
.faq__question.is-active .faq__bar { opacity: 1; }

.faq__num {
  flex: none;
  font-size: 13px;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.faq__text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-500);
  transition: color 300ms;
}
.faq__question.is-active .faq__text { color: var(--ink); }

.faq__card {
  position: sticky;
  top: 120px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 0%, #4A4743, #1D1D1B 70%);
  color: var(--white);
  padding: clamp(32px, 4vw, 52px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.faq__count {
  font-size: 13px;
  color: var(--warm-mid);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

/* All answers share one grid cell, so the card is as tall as the longest answer and never jumps. */
.faq__answers {
  display: grid;
  margin-top: 24px;
  flex: 1;
}
.faq__answer {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 450ms, transform 550ms var(--ease);
}
.faq__answer.is-active { opacity: 1; transform: none; pointer-events: auto; }
.faq__answer h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.faq__answer p {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--warm-light);
}

.faq__mail {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.faq__mail:hover { color: var(--red-bright); }
.faq__mail-arrow { color: var(--red-bright); }

/* Single column: answer above the list, so tapping a question shows its answer. */
@media (max-width: 750px) {
  .faq__card { order: -1; position: static; }
}

/* ---------------------------------------------------------------- Support */
.support { padding: 0 32px 32px; }

.support__box {
  position: relative;
  overflow: hidden;
  max-width: 1176px;
  margin: 0 auto;
  border-radius: 28px;
  color: var(--white);
  background: radial-gradient(ellipse 70% 90% at 80% 0%, #57534D, #2B2A28 50%, #1D1D1B);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
}
.support__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 30, 40, .35), rgba(181, 30, 40, 0) 65%);
}
.support__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 72px;
  align-items: start;
}
/* The form gets the wider column so the paired fields keep a comfortable width. */
@media (min-width: 1000px) {
  .support__box { padding-left: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px); }
  .support__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 56px; }
}

.support__app {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.support__app img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.support__app > span { display: flex; flex-direction: column; line-height: 1.3; }
.support__app b { font-size: 17px; font-weight: 700; }
.support__app > span > span { font-size: 14px; color: var(--warm-mid); }

.support__title {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.support__text {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--warm-light);
  max-width: 460px;
  text-wrap: pretty;
}
.support__ctas { margin-top: 32px; gap: 12px 24px; }

/* Contact form: light card on the dark support box. */
.contact {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__title {
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.contact__intro { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--gray-700); }

.contact__topics {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact__topics legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #E2DFDA;
  background: var(--sand-050);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background-color 200ms, border-color 200ms, color 200ms;
}
.chip:hover span { border-color: var(--warm-dim); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.contact__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px 16px;
}
/* School names can be long, phone numbers are short. */
.contact__row--school { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 560px) {
  .contact__row--school { grid-template-columns: minmax(0, 1fr); }
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field__req { color: var(--red); }
.field input,
.field textarea {
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--sand-050);
  border: 1px solid #E2DFDA;
  border-radius: 14px;
  padding: 16px 18px;
  min-height: 58px;
  width: 100%;
  transition: border-color 200ms, box-shadow 200ms, background-color 200ms;
}
.field textarea { resize: vertical; min-height: 180px; line-height: 1.55; }
.field input:hover,
.field textarea:hover { border-color: var(--warm-dim); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(29, 29, 27, .08);
}
/* Errors only show after a send attempt, never while someone is still typing. */
.field__error { display: none; font-size: 13px; color: var(--red); }
.contact.is-checked .field :invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(181, 30, 40, .1); }
.contact.is-checked .field :invalid ~ .field__error { display: block; }

.contact__submit { justify-content: center; gap: 12px; padding: 17px 26px; font-size: 17px; border: 0; cursor: pointer; font-family: inherit; }
.contact__submit:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.contact__note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--gray-600); }

/* "Not available yet" notice after sending. */
.notice {
  border: 0;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  width: min(440px, calc(100vw - 32px));
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  text-align: center;
}
.notice::backdrop { background: rgba(29, 29, 27, .6); backdrop-filter: blur(4px); }
.notice[open] { animation: notice-in 350ms var(--ease); }
.notice[open]::backdrop { animation: lightbox-in 300ms var(--ease); }
@keyframes notice-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.notice__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(181, 30, 40, .08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice__title { margin-top: 18px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.notice__text { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--gray-700); }
.notice__actions { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.notice__btn { justify-content: center; gap: 10px; padding: 15px 20px; font-size: 16px; border-radius: 12px; }
.notice__close {
  all: unset;
  cursor: pointer;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  border-radius: 12px;
  transition: color 200ms, background-color 200ms;
}
.notice__close:hover { color: var(--ink); background: var(--sand-100); }
.notice__close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------------------------------------------------------------- Legal pages (Impressum, Datenschutz) */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 32px 40px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  overflow-wrap: break-word;
}
.legal h1 {
  margin: 18px 0 40px;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 900;
  color: var(--ink);
  hyphens: manual;
}
.legal h2 {
  margin: 48px 0 12px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.legal h3 {
  margin: 32px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal li::marker { color: var(--red); }

/* ---------------------------------------------------------------- Anwenderbericht */
.report {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 32px 40px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-700);
}
.report__back { display: inline-block; font-size: 15px; font-weight: 700; margin-bottom: 40px; }
.report__head h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 900;
  color: var(--ink);
  text-wrap: balance;
}
.report .report__lead {
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--gray-700);
  text-wrap: pretty;
}
.report__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin: 48px 0 0;
}
.report__facts {
  margin: 24px 0 0;
  padding: 28px 32px;
  background: var(--sand-100);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px 40px;
}
.report__facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.report__facts dd { margin: 4px 0 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.report h2 {
  margin: 64px 0 16px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--ink);
}
.report p { margin: 0 0 18px; text-wrap: pretty; }

.report__quote { margin: 36px 0 40px; padding-left: 28px; border-left: 4px solid var(--red); }
.report__quote blockquote { margin: 0; }
.report__quote blockquote p {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--ink);
}
.report__quote figcaption { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--gray-700); }
.report__quote figcaption strong { color: var(--ink); }

.report__cta {
  margin: 72px 0 0;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 24px;
  color: var(--white);
  background: radial-gradient(ellipse 70% 90% at 80% 0%, #57534D, #2B2A28 50%, #1D1D1B);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.report__cta-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.report__cta p { margin: 10px 0 0; font-size: 17px; font-weight: 300; color: var(--warm-light); }

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: 96px 0 40px; }
.site-footer:has(.about) { padding-top: 0; margin-top: 96px; }
/* Legal pages show only the bottom line of the footer. */
.is-legal .site-footer { padding-top: 40px; }
.is-legal .site-footer__bottom { margin-top: 0; }

/* Über uns: light band with text and the drawing of the Maiß house, as on the other Maiß sites. */
.about { background: var(--sand-050); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.about__text { max-width: 560px; }
.about__heading { display: flex; align-items: stretch; gap: 18px; }
.about__rule { width: 4px; flex: none; background: var(--gray-600); }
.about__heading h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}
.about__text p {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  text-wrap: pretty;
}
.about__img {
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: end;
  display: block;
}
@media (max-width: 860px) {
  .about__img { justify-self: center; max-width: 420px; }
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a { color: var(--gray-600); }
.site-footer__links a:hover { color: var(--red); }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orbit__spin { animation: none; }
  .features__tab.is-running .features__progress span { transition: none; }
  .faq__answer, .faq__bar, .faq__text { transition: none; }
  .faq__answer { transform: none; }
  .lightbox.is-fading[open], .lightbox.is-fading[open]::backdrop { animation: none; }
  .notice[open], .notice[open]::backdrop { animation: none; }
  .orbit-picker__text { transition: none; transform: none; }
}
