/* ==========================================================================
   HeYbamme – öffentliche Landingpage (ohne Bootstrap, ohne CDN)
   Farben und Formen entsprechen dem App-Design-System in main.css.
   ========================================================================== */

:root {
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  --sage-900: #1F3D36;
  --sage-700: #234C42;
  --sage-600: #2C5F52;
  --sage-500: #3E7C6B;
  --sage-300: #6FAE99;
  --sage-200: #A9CFC2;
  --sage-100: #D3E6DF;
  --sage-50: #E8F1EE;
  --coral-500: #EE7F68;
  --coral-600: #C94F38;
  --coral-700: #B5452F;
  --coral-200: #F7AA98;
  --coral-50: #FDEDE8;

  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --surface-2: #FAFBF9;
  --border: #E3E8E4;
  --border-strong: #D2DBD6;
  --ink: #18211F;
  --muted: #55625D;
  --subtle: #7F8B86;
  --danger: #B42F2F;
  --danger-50: #FBEAEA;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(24, 33, 31, 0.04), 0 1px 3px rgba(24, 33, 31, 0.06);
  --shadow-md: 0 6px 16px rgba(24, 33, 31, 0.06), 0 16px 40px rgba(24, 33, 31, 0.08);
  --shadow-lg: 0 20px 40px rgba(24, 33, 31, 0.12), 0 40px 90px rgba(24, 33, 31, 0.18);
  --ring: 0 0 0 4px rgba(62, 124, 107, 0.2);
  --header-h: 72px;
}

/* --- Reset & Basis ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure, fieldset {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: var(--sage-600);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sage-700);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sage-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--sage-100);
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 2.5rem);
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* --- Logo ---------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.brand .logo-mark {
  width: 34px;
  height: 34px;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.brand__word b {
  font-weight: 400;
  color: var(--coral-500);
}

.logo-mark__leaf { fill: var(--lm-leaf, var(--sage-500)); }
.logo-mark__heart { fill: var(--lm-heart, var(--coral-500)); }
.logo-mark__vein { stroke: var(--lm-vein, #fff); opacity: 0.6; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.02rem;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.btn--accent {
  color: #fff;
  background: var(--coral-600);
  box-shadow: 0 10px 24px rgba(201, 79, 56, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--accent:hover {
  color: #fff;
  background: var(--coral-700);
  box-shadow: 0 14px 30px rgba(201, 79, 56, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn--glass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  color: var(--ink);
  background: var(--surface-2);
  border-color: #BDC9C3;
}

.btn--danger {
  color: #fff;
  background: #C53B3B;
}

.btn--danger:hover {
  color: #fff;
  background: #A93030;
}

.btn--link {
  padding-inline: 0;
  color: var(--sage-600);
  background: none;
}

.btn[aria-disabled="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: inherit;
  opacity: 1;
  background: rgba(127, 139, 134, 0.12);
}

.site-nav__login {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* Auf der Startseite: über dem Hero transparent und hell */
.page-home .site-header {
  color: #fff;
  background: rgba(31, 61, 54, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  --lm-leaf: var(--sage-300);
}

.js .page-home .site-header.is-top {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.js .page-home .site-header:not(.is-top) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(24, 33, 31, 0.02);
  --lm-leaf: var(--sage-500);
}

@media (max-width: 960px) {
  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 6px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.6rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .site-nav__login {
    margin: 0.3rem 0 0;
    border-top: 1px solid var(--border);
    border-radius: 0 0 10px 10px !important;
  }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(238, 127, 104, 0.32), transparent 60%),
    radial-gradient(55% 80% at 0% 100%, rgba(111, 174, 153, 0.35), transparent 60%),
    var(--sage-900);
}

.hero__mark {
  position: absolute;
  left: -120px;
  bottom: -160px;
  z-index: -1;
  width: 520px;
  height: 520px;
  opacity: 0.06;
  transform: rotate(-14deg);
  --lm-leaf: #fff;
  --lm-heart: #fff;
  --lm-vein: var(--sage-900);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-500);
}

.eyebrow--light {
  color: var(--sage-200);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero__title em {
  color: var(--coral-200);
}

.hero__lead {
  max-width: 54ch;
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #D6E7E0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #CFE2DB;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__trust .icon {
  color: var(--coral-200);
}

.hero__visual {
  position: relative;
  margin-right: -16%;
  padding: 0 0 76px 64px;
}

/* --- Geräte-Rahmen ------------------------------------------------------- */
.device-browser {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(24, 33, 31, 0.08);
}

.device-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #F1F3F0;
  border-bottom: 1px solid var(--border);
}

.device-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9DEDA;
}

.device-browser__bar span:first-child { background: #F2A08E; }
.device-browser__bar span:nth-child(2) { background: #F2CF7E; }
.device-browser__bar span:nth-child(3) { background: #9FCDB7; }

.device-browser__bar i {
  margin: 0 auto;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.72rem;
  font-style: normal;
  color: var(--subtle);
  transform: translateX(-24px);
}

.device-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  overflow: hidden;
  border: 7px solid #142420;
  border-radius: 32px;
  background: #142420;
  box-shadow: var(--shadow-lg);
}

.device-phone img {
  border-radius: 25px;
}

.device-phone--solo {
  position: relative;
  width: min(300px, 80%);
  margin-inline: auto;
  border-width: 9px;
  border-radius: 40px;
}

.device-phone--solo img {
  border-radius: 31px;
}

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    max-width: 760px;
    margin-inline: auto;
    padding: 0 0 64px 52px;
  }
}

@media (max-width: 560px) {
  .hero__visual {
    padding: 0 0 44px 30px;
  }

  .hero .device-phone {
    width: 104px;
    border-width: 5px;
    border-radius: 22px;
  }

  .hero .device-phone img {
    border-radius: 17px;
  }

  .device-browser__bar i {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* --- Sektionen ----------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

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

.section--simple {
  min-height: calc(100vh - var(--header-h) - 200px);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card h3,
.feature h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card p,
.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--sage-50);
  color: var(--sage-600);
  font-size: 1.4rem;
}

.icon-chip--accent {
  background: var(--coral-50);
  color: var(--coral-600);
}

.icon-chip--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.icon-chip--lg {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  font-size: 1.9rem;
}

.pain-resolution {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

.pain-resolution .icon {
  margin-right: 0.35rem;
  color: var(--coral-500);
}

.feature {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--sage-100);
  box-shadow: var(--shadow-md);
}

/* --- Einblicke (Tabs) ---------------------------------------------------- */
.showcase__tabs {
  display: none;
}

.js .showcase__tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: 5px;
  overflow-x: auto;
  background: #E8ECE8;
  border-radius: 16px;
  scrollbar-width: none;
}

.showcase__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.showcase__tabs button:hover {
  color: var(--ink);
}

.showcase__tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(24, 33, 31, 0.08), 0 4px 10px rgba(24, 33, 31, 0.06);
}

.showcase__panel {
  max-width: 1080px;
  margin: 0 auto;
}

.showcase__panel + .showcase__panel {
  margin-top: 3rem;
}

.js .showcase__panel + .showcase__panel {
  margin-top: 0;
}

.js .showcase__panel:not(.is-active) {
  display: none;
}

.js .showcase__panel.is-active {
  animation: fade-in 0.35s ease both;
}

.showcase__panel figcaption {
  max-width: 640px;
  margin: 1.25rem auto 0;
  text-align: center;
  color: var(--muted);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* --- Split (Mobil) ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.split__visual {
  position: relative;
}

.split__visual::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 127, 104, 0.22), rgba(111, 174, 153, 0.18) 45%, transparent 70%);
}

.split__visual .device-phone {
  z-index: 1;
}

.check-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--muted);
}

.check-list li > .icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: var(--sage-50);
  color: var(--sage-600);
}

.check-list strong {
  display: block;
  color: var(--ink);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__text {
    order: -1;
  }
}

/* --- Schritte ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.75rem;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.1rem;
  left: calc(50% + 2.4rem);
  right: calc(-50% + 2.4rem);
  border-top: 2px dashed var(--sage-100);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--coral-500);
  color: var(--coral-600);
  font-family: var(--font-display);
  font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(238, 127, 104, 0.2);
}

.step h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.step p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

/* --- Mitgestalten (dunkel) ----------------------------------------------- */
.section--dark {
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(238, 127, 104, 0.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(111, 174, 153, 0.28), transparent 60%),
    var(--sage-900);
}

.section--dark .section-lead {
  color: #CFE2DB;
}

.section--dark__mark {
  position: absolute;
  right: -140px;
  top: -100px;
  z-index: -1;
  width: 460px;
  height: 460px;
  opacity: 0.05;
  transform: rotate(16deg);
  --lm-leaf: #fff;
  --lm-heart: #fff;
  --lm-vein: var(--sage-900);
}

.available {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-bottom: 2rem;
}

.available__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sage-200);
}

.available__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.available__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
}

.available__list .icon {
  color: var(--sage-300);
}

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

@media (max-width: 960px) {
  .ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ideas {
    grid-template-columns: minmax(0, 1fr);
  }
}

.idea {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.idea__body {
  flex: 1;
}

.idea h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.idea p {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: #C3D9D1;
}

.idea__vote {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.no-js .idea__vote {
  display: none;
}

.idea__vote:hover {
  background: rgba(255, 255, 255, 0.1);
}

.idea__vote-on {
  display: none;
}

.idea__vote[aria-pressed="true"] {
  background: var(--coral-600);
  border-color: var(--coral-600);
}

.idea__vote[aria-pressed="true"] .idea__vote-on {
  display: block;
  animation: pop 0.3s ease;
}

.idea__vote[aria-pressed="true"] .idea__vote-off {
  display: none;
}

.idea.is-selected {
  background: rgba(238, 127, 104, 0.1);
  border-color: rgba(238, 127, 104, 0.6);
  box-shadow: 0 0 0 4px rgba(238, 127, 104, 0.12);
}

@keyframes pop {
  50% { transform: scale(1.35); }
}

.ideas__hint {
  max-width: 720px;
  margin: 1.75rem auto 1.5rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--sage-200);
}

.ideas__hint strong {
  color: #fff;
}

/* --- Warteliste ---------------------------------------------------------- */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 960px) {
  .signup {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--muted);
}

.benefits li > .icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: var(--coral-50);
  color: var(--coral-600);
}

.benefits strong {
  color: var(--ink);
}

.signup__form {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  border: 0;
  padding: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.signup__form > .field,
.signup__form > .wishes {
  margin-top: 1.1rem;
}

.field__label {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.field__optional {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--subtle);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2355625D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 14px 10px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: var(--ring);
}

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

.has-error input:not([type="checkbox"]),
.has-error select,
.has-error textarea {
  border-color: var(--danger);
}

.field__error {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--danger);
}

.form-alert {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--danger-50);
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-alert .icon {
  margin-top: 0.2rem;
}

.wishes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.wish-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.wish-chip input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--coral-600);
}

.wish-chip:hover {
  border-color: var(--coral-500);
}

.wish-chip:has(input:checked) {
  background: var(--coral-50);
  border-color: var(--coral-500);
  color: var(--coral-700);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--sage-500);
}

.field--check {
  margin-bottom: 1.4rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__fineprint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--subtle);
}

/* --- FAQ ----------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--border);
}

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

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.25rem;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq__chevron {
  color: var(--subtle);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
  color: var(--coral-600);
}

.faq__item p {
  padding: 0 0.25rem 1.4rem;
  max-width: 68ch;
  color: var(--muted);
}

/* --- Abschluss-CTA ------------------------------------------------------- */
.section--cta {
  padding-top: 0;
  background: var(--surface);
}

.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(238, 127, 104, 0.35), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(111, 174, 153, 0.35), transparent 60%),
    var(--sage-900);
  box-shadow: var(--shadow-lg);
}

.cta-card__mark {
  position: absolute;
  right: -40px;
  bottom: -70px;
  z-index: -1;
  width: 280px;
  height: 280px;
  opacity: 0.08;
  --lm-leaf: #fff;
  --lm-heart: #fff;
  --lm-vein: var(--sage-900);
}

.cta-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
}

.cta-card__title em {
  color: var(--coral-200);
}

.cta-card p {
  max-width: 52ch;
  margin: 1rem auto 2rem;
  color: #CFE2DB;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
}

.site-footer__brand p {
  max-width: 40ch;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 0.5rem 1.5rem;
}

.site-footer__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--sage-600);
  text-decoration: underline;
}

.site-footer__copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--subtle);
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

/* --- Einfache Seiten (Bestätigung, Austragen) ---------------------------- */
.simple-card {
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.simple-card__title {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08;
}

.simple-card > p {
  max-width: 54ch;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.simple-card__hints {
  display: grid;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
  font-size: 0.92rem;
  color: var(--muted);
}

.simple-card__hints li {
  display: flex;
  gap: 0.55rem;
}

.simple-card__hints .icon {
  margin-top: 0.3rem;
  color: var(--sage-500);
}

.simple-card__actions,
.share__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.share {
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  max-width: 520px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.share__title {
  font-size: 1.1rem;
  font-weight: 800;
}

.share p {
  margin: 0.35rem 0 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* --- Rechtliches --------------------------------------------------------- */
.legal {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
}

.legal__lead {
  margin: 0.75rem 0 2rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal p {
  color: #2F3B37;
}

.legal code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.88em;
}

.legal__stand-top {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--subtle);
}

.legal__facts {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.55rem 1.5rem;
  margin: 0;
}

.legal__facts dt {
  font-weight: 700;
  color: var(--ink);
}

.legal__facts dd {
  margin: 0;
  color: #2F3B37;
}

@media (max-width: 560px) {
  .legal__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  .legal__facts dd {
    margin-bottom: 0.6rem;
  }
}

.legal__list {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  list-style: disc;
  color: #2F3B37;
}

.legal__list li::marker {
  color: var(--sage-500);
}

/* --- Einblend-Animationen ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

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

  .hero__text > :nth-child(2) { animation-delay: 0.06s; }
  .hero__text > :nth-child(3) { animation-delay: 0.12s; }
  .hero__text > :nth-child(4) { animation-delay: 0.18s; }
  .hero__text > :nth-child(5) { animation-delay: 0.24s; }

  .hero__visual {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
