/* =========================================================
   Gerschon Verpackungs-Finder — Variante B
   Design-System auf Basis der gerschon.de CI
   Font: Raleway · Primär: #00a8a9 · Text: #333
   ========================================================= */

:root {
  /* Marke */
  --teal: #00a8a9;
  --teal-dark: #008c8d;
  --teal-deep: #00696a;
  --teal-tint: #e6f5f5;
  --teal-tint-soft: #f3fafa;

  /* Neutral */
  --ink: #1c2424;
  --body: #333333;
  --muted: #6f7878;
  --muted-soft: #9d9d9c;
  --line: #e3e8e8;
  --line-strong: #c6c6c6;
  --surface: #ffffff;
  --surface-alt: #f6f9f9;
  --page: #ffffff;

  /* Signale */
  --danger: #c0392b;
  --danger-tint: #fdeceb;

  /* Form */
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 40, 0.06), 0 2px 6px rgba(20, 40, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(20, 40, 40, 0.07), 0 12px 28px rgba(20, 40, 40, 0.07);
  --shadow-lg: 0 10px 24px rgba(12, 46, 46, 0.09), 0 30px 70px rgba(12, 46, 46, 0.12);

  --font: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1240px;
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

::selection {
  background: var(--teal);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------------------------------------------------------
   Bausteine
   --------------------------------------------------------- */

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.primary-button {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 168, 169, 0.24);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 168, 169, 0.3);
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 168, 169, 0.24);
}

.ghost-button {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.ghost-button:hover:not(:disabled),
.ghost-button:focus-visible:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-tint-soft);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 168, 169, 0.35);
  padding-bottom: 2px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.text-link::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.text-link:hover {
  color: var(--teal-deep);
  border-color: var(--teal);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.brand-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: auto;
  height: clamp(36px, 4.2vw, 50px);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.header-phone:hover {
  color: var(--teal-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--teal-dark);
  color: #fff;
}

/* ---------------------------------------------------------
   Hero (Copy links · Finder rechts)
   --------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  align-content: start;
  gap: 0 clamp(32px, 4vw, 64px);
  width: min(var(--container), 100% - clamp(32px, 8vw, 80px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 68px) 0 clamp(48px, 6vw, 88px);
}

.hero-content,
.hero > .ad-proof,
.hero > .hero-facts {
  grid-column: 1;
}

.hero-finder {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.hero-content {
  padding-top: clamp(0px, 1.5vw, 20px);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.hero-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero-microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-microcopy span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

.how-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.how-steps p {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.how-steps ol {
  display: grid;
  gap: 8px;
}

.how-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.how-steps li span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.ad-proof {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-md);
  background: var(--teal-tint-soft);
}

.ad-proof strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.ad-proof span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: grid;
  gap: 2px;
}

.hero-facts strong {
  color: var(--teal-dark);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero-facts span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   Finder-Karte
   --------------------------------------------------------- */

.hero-finder {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.finder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.finder-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 3vw, 30px);
  background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: #fff;
}

.finder-heading > div {
  display: grid;
  gap: 4px;
}

.finder-heading span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.finder-heading strong {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.3;
}

.finder-heading p {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.progress-wrap {
  padding: 18px clamp(20px, 3vw, 30px) 0;
}

.progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

#progressPercent {
  color: var(--teal-dark);
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress-bar {
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  transition: width 0.4s var(--ease);
}

/* Fragen */

.question-card {
  padding: clamp(22px, 3vw, 30px);
}

.question-card[hidden],
.lead-gate[hidden],
.result-panel[hidden] {
  display: none !important;
}

#questionField {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

#questionTitle {
  display: block;
  padding: 0;
  margin-bottom: 6px;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
}

#questionHelp {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.options-grid {
  display: grid;
  gap: 10px;
}

.option-card {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 16px 52px 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease), transform 0.16s var(--ease);
}

.option-card strong {
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
}

.option-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.option-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.option-card:hover {
  border-color: var(--teal);
  background: var(--teal-tint-soft);
  box-shadow: var(--shadow-sm);
}

.option-card:hover::after {
  border-color: var(--teal);
}

.option-card.is-selected {
  border-color: var(--teal);
  background: var(--teal-tint);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.option-card.is-selected::after {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #fff;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-actions .ghost-button,
.form-actions .primary-button {
  min-height: 48px;
  padding: 12px 24px;
}

.form-actions .ghost-button {
  border-color: transparent;
  color: var(--muted);
  box-shadow: none;
  padding-left: 8px;
  padding-right: 16px;
}

.form-actions .ghost-button:hover:not(:disabled) {
  background: transparent;
  color: var(--teal-deep);
}

/* ---------------------------------------------------------
   Lead-Gate
   --------------------------------------------------------- */

.lead-gate {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.lead-gate-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.015em;
}

.lead-gate-intro > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.gate-proof {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--teal-tint-soft);
  border: 1px solid var(--teal-tint);
}

.gate-proof li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.gate-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.lead-gate-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-gate label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.lead-gate input[type="email"],
.lead-gate input[type="text"],
.lead-gate input[type="tel"],
.lead-gate select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.lead-gate select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300a8a9' stroke-width='1.8' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.lead-gate input::placeholder {
  color: var(--muted-soft);
}

.field-hint {
  margin-top: -2px;
  color: var(--muted-soft);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead-gate input:focus,
.lead-gate select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 169, 0.16);
}

.consent-line {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px !important;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  cursor: pointer;
}

.captcha-wrap {
  display: grid;
  gap: 6px;
  align-items: start;
  min-height: 72px;
}

.captcha-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.consent-line input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.consent-line input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4.5 4.4 8 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.consent-line span {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

.form-error:not(:empty) {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-tint);
}

.lead-gate > button[type="submit"] {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

/* ---------------------------------------------------------
   Ergebnis
   --------------------------------------------------------- */

.result-panel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 32px);
}

.result-header h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 300;
  letter-spacing: -0.015em;
}

.result-header p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 62ch;
}

.result-conversion {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: stretch;
}

/* Absolut positioniert, damit das Hochformat-Foto die Höhe nicht diktiert:
   die Kachel folgt der Rasterhöhe, das Bild füllt sie per cover. */
.result-visual {
  position: relative;
  min-height: 280px;
  max-height: 460px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  overflow: hidden;
}

.result-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#resultBadge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(12, 46, 46, 0.18);
}

.advisor-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}

.advisor-card .eyebrow {
  margin: 0;
  color: var(--teal);
}

.advisor-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 400;
  line-height: 1.25;
}

.advisor-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.55;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-strip a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-strip a:hover {
  color: var(--teal);
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}

.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.advisor-actions .ghost-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.advisor-actions .ghost-button:hover,
.advisor-actions .ghost-button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.analysis-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.route-card {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.route-header h3 {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 500;
}

.route-steps {
  display: grid;
  gap: 2px;
}

.route-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.route-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.route-steps > li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
}

.route-steps strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2px;
}

.route-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.link-panel {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

.link-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.link-panel-head span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-panel-head p {
  color: var(--muted-soft);
  font-size: 12px;
}

.link-group-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.link-group-label:first-of-type {
  margin-top: 0;
}

/* Basiszeile: Label + erklärende Zeile, damit das Ziel vorab erkennbar ist. */
.link-item {
  position: relative;
  display: block;
  padding: 10px 30px 10px 0;
  color: var(--ink);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.link-item-body {
  display: grid;
  gap: 2px;
}

.link-item [data-role="label"] {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.link-item [data-role="hint"] {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.link-item::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 14px;
  transition: transform 0.16s var(--ease);
}

.link-item:hover {
  color: var(--teal-deep);
}

.link-item:hover::after {
  transform: translate(2px, calc(-50% - 2px));
}

/* Aus den Antworten abgeleitet – bekommt Kartenoptik und Türkis-Marker. */
.link-item.is-match {
  padding: 14px 34px 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  background: #fff;
}

.link-item.is-match [data-role="label"] {
  font-size: 15.5px;
}

.link-item.is-match [data-role="hint"] {
  color: var(--teal-deep);
}

.link-item.is-match:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.link-item.is-match::after {
  right: 12px;
}

/* Sekundärgruppe: ruhige Zeilen mit Trennlinien. */
.link-item:not(.is-match) + .link-item:not(.is-match) {
  border-top: 1px solid var(--line);
}

.next-steps {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--teal-tint);
  border-radius: var(--radius-md);
  background: var(--teal-tint-soft);
}

.next-steps h3 {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 500;
}

.next-steps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 72ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Ergebnisansicht: Finder nutzt die volle Breite */
.hero:has(#resultPanel:not([hidden])) {
  grid-template-columns: minmax(0, 1fr);
}

.hero:has(#resultPanel:not([hidden])) > .hero-content,
.hero:has(#resultPanel:not([hidden])) > .ad-proof,
.hero:has(#resultPanel:not([hidden])) > .hero-facts {
  display: none;
}

.hero:has(#resultPanel:not([hidden])) .hero-finder {
  position: static;
  grid-column: 1;
  grid-row: auto;
  max-width: none;
}

/* ---------------------------------------------------------
   Trust-Strip
   --------------------------------------------------------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.trust-strip > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 1px 0 0 var(--line);
}

.trust-strip > span:last-child {
  box-shadow: none;
}

.trust-strip > span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

/* ---------------------------------------------------------
   How it works
   --------------------------------------------------------- */

.how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(var(--container), 100% - clamp(32px, 8vw, 80px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0;
}

.finder-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.finder-intro p {
  margin-bottom: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.how-detail-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 28px;
}

.how-detail-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.how-detail-list > li > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.how-detail-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.how-detail-list p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

/* Reihenfolge: Claim-Banner → Ablauf + Beleg → Produktbandbreite.
   Ohne explizites order entstehen durch die vollbreiten Elemente Leerspalten. */
.hero-media > .hero-packshot {
  grid-column: 1 / -1;
  order: 1;
}

.hero-media > .consulting-board {
  order: 2;
}

.hero-media > .mini-proof {
  order: 3;
}

.hero-media > .range-strip {
  order: 4;
}

.consulting-board {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.consulting-board > p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consulting-board ol {
  display: grid;
  gap: 10px;
}

.consulting-board li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.consulting-board li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

.hero-packshot {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-packshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 500;
  object-fit: cover;
  object-position: center;
}

/* Produktbandbreite – drei echte Packshots statt Behauptung. */
.range-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.range-strip li {
  display: grid;
  gap: 8px;
}

.range-strip img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.range-strip span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.mini-proof {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}

.mini-proof strong {
  font-size: 15px;
  font-weight: 600;
}

.mini-proof span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(var(--container), 100% - clamp(32px, 8vw, 80px));
  margin: 0 auto;
  padding: 36px 0;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: auto;
  height: 46px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

.footer-contact a {
  color: var(--ink);
}

.footer-contact a:hover {
  color: var(--teal-dark);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

/* ---------------------------------------------------------
   Cookie-Banner
   --------------------------------------------------------- */

.cc-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: cc-in 0.28s var(--ease);
}

@keyframes cc-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cc-inner {
  display: grid;
  gap: 14px;
}

.cc-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cc-body {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* display in .cc-details/.cc-button würde das hidden-Attribut aushebeln. */
.cc-banner [hidden] {
  display: none !important;
}

.cc-details {
  display: grid;
  gap: 4px;
  max-height: 44vh;
  overflow-y: auto;
  padding: 4px 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cc-category {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cc-category:last-child {
  border-bottom: 0;
}

.cc-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc-category strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.cc-category p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 52ch;
}

.cc-always {
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Schalter */
.cc-switch {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.cc-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cc-switch-track {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color 0.18s var(--ease);
}

.cc-switch-track::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 40, 40, 0.3);
  transition: transform 0.18s var(--ease);
}

.cc-switch input:checked + .cc-switch-track {
  background: var(--teal);
}

.cc-switch input:checked + .cc-switch-track::after {
  transform: translateX(20px);
}

.cc-switch input:focus-visible + .cc-switch-track {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Ablehnen und Akzeptieren bewusst gleich gewichtet. */
.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cc-button {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.cc-button-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

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

.cc-button-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.cc-button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.cc-link {
  grid-column: 1 / -1;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cc-link:hover {
  color: var(--teal-deep);
}

.cc-legal {
  display: flex;
  gap: 8px;
  color: var(--muted-soft);
  font-size: 12.5px;
}

.cc-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-legal a:hover {
  color: var(--teal-dark);
}

/* Der Sticky-CTA würde sonst unter dem Banner liegen. */
.cc-open .mobile-cta {
  display: none;
}

#cookieSettingsLink {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

#cookieSettingsLink:hover {
  color: var(--teal-dark);
}

@media (max-width: 520px) {
  .cc-banner {
    bottom: 0;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  }

  .cc-actions {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Mobile Sticky CTA
   --------------------------------------------------------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(20, 40, 40, 0.08);
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta .primary-button {
  width: 100%;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

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

  .hero-content,
  .hero > .ad-proof,
  .hero > .hero-facts,
  .hero-finder {
    grid-column: 1;
    grid-row: auto;
    max-width: 720px;
  }

  .hero-finder {
    position: static;
    margin-top: 36px;
  }

  .how {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

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

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .header-phone {
    display: none;
  }

  .brand-header {
    padding: 0 16px;
  }

  /* Mobil zuerst das Formular, danach die Argumente. */
  .hero {
    display: flex;
    flex-direction: column;
    width: calc(100% - 32px);
    padding: 24px 0 40px;
  }

  .hero-finder {
    order: 1;
    margin-top: 26px;
  }

  .hero > .ad-proof {
    order: 2;
    margin-top: 30px;
  }

  .hero > .hero-facts {
    order: 3;
  }

  .hero-actions {
    display: none;
  }

  .hero-microcopy {
    margin-top: 18px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hero-facts li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }

  .finder {
    border-radius: var(--radius-md);
  }

  .finder-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lead-gate-fields {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .trust-strip > span {
    justify-content: flex-start;
    padding: 16px 20px;
    text-align: left;
    box-shadow: 0 1px 0 var(--line);
  }

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

  /* Drei Bilder nebeneinander wären auf 375px je 105px breit –
     stattdessen ein wischbarer Streifen mit brauchbarer Bildgröße. */
  .range-strip {
    grid-template-columns: repeat(3, 62%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .range-strip li {
    scroll-snap-align: start;
  }

  .how {
    width: calc(100% - 32px);
    padding: 44px 0;
  }

  .result-visual {
    min-height: 180px;
  }

  .advisor-actions .primary-button,
  .advisor-actions .ghost-button,
  .cta-row .primary-button,
  .cta-row .ghost-button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 76px;
  }

  .mobile-cta {
    display: block;
  }
}

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

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

@media print {
  .brand-header,
  .mobile-cta,
  .hero-content,
  .how,
  .trust-strip,
  .form-actions {
    display: none !important;
  }

  .finder {
    box-shadow: none;
    border: 0;
  }
}
