/**
 * Landing Page Arbeitsrecht, Rechtsanwälte Pommerening & Breitenbach
 * Schicht 2: Komponenten. Konsumiert nur Tokens aus styles.css.
 * Sektionen: Topbar, Hero (Foto full-bleed, Textfeld hell), Themenleiste (Signature),
 * Kündigung (Frist-Kalender), Vertrag/Abfindung (dunkles Statement), Fahrplan,
 * Anwälte (3/2), Bewertungen (Widget-Overrides), Kosten (Weiche), FAQ, Kontakt, Footer, Sticky.
 */

/* ===========================
   TOPBAR
   =========================== */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--tint-line);
  position: relative;
  z-index: 20;
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 68px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.lockup__mark { width: 40px; height: 40px; flex-shrink: 0; }

.lockup__text { display: flex; flex-direction: column; line-height: 1.1; }
.lockup__title { font-weight: 500; font-size: 1.05rem; color: var(--brand); letter-spacing: 0.01em; }
.lockup__names { font-weight: 400; font-size: 0.86rem; color: var(--text-muted); } /* Logo-Grau #878786 fällt bei 14 px unter AA (3,6:1), deshalb gedämpftes Textgrau */

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
}

.topbar__phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
.topbar__phone small { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-min); }
.topbar__phone:hover { background: var(--tint); }
.topbar__phone small { white-space: nowrap; }

@media (max-width: 520px) {
  .lockup__names { display: none; }
  .lockup__title { font-size: 1rem; }
  .topbar__phone { font-size: 0.9rem; }
  .topbar__phone small { white-space: normal; max-width: 8.5rem; line-height: 1.25; }
}

/* ===========================
   HERO: Foto full-bleed, helles Textfeld links
   =========================== */

.hero {
  position: relative;
  min-height: min(84vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #d9d8d6; /* Betonton des Fotos als Ladefläche */
}

.hero__media { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  filter: saturate(0.9);
}

.hero__grid { position: relative; z-index: 1; width: 100%; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }

.hero__panel {
  max-width: 39rem;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(1.75rem, 3.2vw, 3rem);
  border-radius: 2px;
}

.hero__eyebrow {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-2);
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--brand);
}
.hero h1 b { font-weight: 600; }

.hero__sub {
  margin-top: var(--s-2);
  font-size: var(--fs-lead);
  color: var(--text);
  max-width: 30rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--s-3);
}

.gbadge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.gbadge__stars { display: inline-flex; gap: 2px; }
.gbadge__stars svg { width: 15px; height: 15px; fill: var(--star); }
.gbadge b { font-weight: 600; color: var(--text); }

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) 1.1rem;
  color: var(--brand);
  font-size: var(--fs-small);
  line-height: 1.35;
}
.hero__caption b { font-weight: 600; }

.hero__mobile { display: none; }

@media (min-width: 861px) and (max-width: 1200px) {
  .hero__panel { max-width: 50vw; padding: 1.75rem; }
  .hero__media img { object-position: 74% 30%; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; background: var(--surface); display: block; }
  .hero__media { display: none; }
  .hero__caption--desktop { display: none; }
  .hero__grid { padding-top: var(--s-4); padding-bottom: var(--s-4); }
  .hero__panel { max-width: none; background: none; padding: 0; }
  .hero__sub { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__mobile {
    display: block;
    position: relative;
    margin: var(--s-3) 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .hero__mobile img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    object-position: 68% 30%;
    filter: saturate(0.9);
  }
  .hero__mobile .hero__caption { left: 0; right: 0; max-width: none; margin: 0; padding: 2.5rem 1rem 0.9rem; color: var(--text-on-dark); background: linear-gradient(180deg, rgba(28, 24, 65, 0), rgba(28, 24, 65, 0.72)); }
  .hero__mobile .hero__caption b { display: block; }
}

/* Page-Load-Choreografie (Rezept 1), nur ohne reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__panel > * { opacity: 0; transform: translateY(12px); animation: rise 0.6s var(--ease) forwards; }
  .hero__panel > *:nth-child(1) { animation-delay: 0ms; }
  .hero__panel > *:nth-child(2) { animation-delay: 80ms; }
  .hero__panel > *:nth-child(3) { animation-delay: 160ms; }
  .hero__panel > *:nth-child(4) { animation-delay: 240ms; }
  .hero__panel > *:nth-child(5) { animation-delay: 300ms; }
  .hero__panel > *:nth-child(6) { animation-delay: 360ms; }
  .hero__media img { opacity: 0; animation: fadein 0.5s var(--ease) 0.1s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }

/* ===========================
   THEMENLEISTE (Signature): typografischer Index, reagiert
   =========================== */

.themen { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--surface); }

/* Echte Ueberschrift, nicht Tagline. Sie stand kleiner da als die Kachel-Titel
   darunter (Benjamin, 03.09.2026). Bewusst unter der Sektions-H2, damit die
   Leiste direkt unter dem Hero nicht mit der H1 konkurriert. */
.themen__title {
  font-size: var(--fs-blocktitel);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-bottom: var(--s-3);
}

.themen__list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(1rem, 2.4vw, 2rem);
  row-gap: 0.25rem;
}

.thema {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.2em 0.1em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--brand);
  border-radius: 4px;
  transition: font-weight var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  text-wrap: nowrap;
}

.thema::before {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: transparent;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  flex-shrink: 0;
}

.thema:hover { font-weight: 500; }
.thema:hover::before { background: var(--tint-strong); }
.thema.is-active { font-weight: 600; }
.thema.is-active::before { background: var(--brand); transform: scale(1.1); }

.themen__note {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: 80ch;
}

@media (max-width: 640px) {
  .themen__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; row-gap: 0; }
  .themen__list li { min-width: 0; }
  .thema { font-size: 1.3rem; text-wrap: wrap; text-align: left; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .themen__list { grid-template-columns: 1fr; }
  .thema { font-size: 1.5rem; }
}

/* ===========================
   KÜNDIGUNG: Frist-Kalender + Text
   =========================== */

.kuendigung__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.frist {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 26rem;
}

.frist__head, .frist__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.frist__head span { font-size: var(--fs-min); color: var(--text-muted); text-align: center; font-weight: 500; }
.frist__head { margin-bottom: 6px; }

.frist__grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--tint-line);
  position: relative;
}
.frist__grid i.frist__last::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 2px solid var(--surface);
  opacity: 0;
}

.frist__label {
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.frist__label b { display: block; font-size: 1.6rem; font-weight: 600; color: var(--brand); line-height: 1.1; }

/* Kästchen füllen sich gestaffelt (Rezept 12, angewandt) */
@media (prefers-reduced-motion: no-preference) {
  body.anim .frist.in .frist__grid i { animation: fillcell 0.4s var(--ease) forwards; }
  body.anim .frist.in .frist__grid i:nth-child(n) { animation-delay: calc(var(--i, 0) * 1ms); }
  body.anim .frist.in .frist__grid i.frist__last::after { animation: fadein 0.4s var(--ease) 0.75s forwards; }
}
body:not(.anim) .frist__grid i { background: var(--brand); }
body:not(.anim) .frist__grid i.frist__last::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .frist__grid i { background: var(--brand); }
  .frist__grid i.frist__last::after { opacity: 1; }
}
@keyframes fillcell { to { background-color: var(--brand); } }

.kuendigung__body p { margin: var(--s-2) 0 var(--s-3); max-width: 62ch; }

@media (max-width: 860px) {
  .kuendigung__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .frist { max-width: none; }
}

/* ===========================
   VERTRAG / ABFINDUNG: dunkles Statement
   =========================== */

.vertrag__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.vertrag__col {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  background: rgba(0, 0, 0, 0.16);
}
.vertrag__col h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-on-dark); }
.vertrag__col p { color: var(--text-on-dark-muted); max-width: 52ch; }

.vertrag__foot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
}
.vertrag__footnote { color: var(--text-on-dark-muted); max-width: 54ch; }

.vertrag__statement {
  font-size: var(--fs-statement);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  max-width: 18ch;
}

@media (prefers-reduced-motion: no-preference) {
  body.anim .vertrag__top .vertrag__statement { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease) 0.04s, transform 0.7s var(--ease) 0.04s; }
  body.anim .vertrag__top.in .vertrag__statement { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .vertrag__cols { grid-template-columns: 1fr; }
  .vertrag__foot { grid-template-columns: 1fr; align-items: start; }
  .vertrag__foot .btn { width: 100%; }
}

/* ===========================
   ABLAUF: Fahrplan (Rezept 3A)
   =========================== */

.fahrplan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: var(--s-4);
  padding-top: 0.5rem;
}

.fahrplan::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--tint-strong);
  transform-origin: left center;
}

.fahrplan__step { position: relative; }

.fahrplan__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--surface);
}

.fahrplan__step h3 { font-size: 1.15rem; margin: var(--s-2) 0 0.35rem; }
.fahrplan__step p { color: var(--text-muted); max-width: 34ch; }

@media (prefers-reduced-motion: no-preference) {
  body.anim .fahrplan::before { transform: scaleX(0); transition: transform 0.9s var(--ease); }
  body.anim .fahrplan.in::before { transform: scaleX(1); }
  body.anim .fahrplan .fahrplan__step { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  body.anim .fahrplan.in .fahrplan__step:nth-child(1) { transition-delay: 150ms; }
  body.anim .fahrplan.in .fahrplan__step:nth-child(2) { transition-delay: 450ms; }
  body.anim .fahrplan.in .fahrplan__step:nth-child(3) { transition-delay: 800ms; }
  body.anim .fahrplan.in .fahrplan__step { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .fahrplan { grid-template-columns: 1fr; gap: var(--s-4); padding-left: 0; }
  .fahrplan::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; transform-origin: top center; }
  .fahrplan__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
  .fahrplan__step h3 { grid-column: 2; margin-top: 0.55rem; }
  .fahrplan__step p { grid-column: 2; }
  .fahrplan__num { grid-row: 1 / span 2; }
  body.anim .fahrplan::before { transform: scaleY(0); }
  body.anim .fahrplan.in::before { transform: scaleY(1); }
}

/* ===========================
   ANWÄLTE: asymmetrisch 3/2
   =========================== */

.anwaelte__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: var(--s-4);
  align-items: start;
}

.anwalt img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  filter: saturate(0.85);
}

.anwalt--lead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
}

.anwalt__body h3 { font-size: 1.35rem; }
.anwalt__role { color: var(--text-muted); font-size: var(--fs-small); margin: 0.2rem 0 var(--s-2); }
.anwalt__body > p:not(.anwalt__role) { max-width: 52ch; }

.anwalt:not(.anwalt--lead) img { max-width: 260px; }
.anwalt:not(.anwalt--lead) .anwalt__body { margin-top: var(--s-2); }

.laufbahn { margin-top: var(--s-3); display: grid; gap: 0.5rem; }
.laufbahn div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; font-size: var(--fs-small); }
.laufbahn dt { color: var(--brand); font-weight: 600; }
.laufbahn dd { color: var(--text-muted); }

.anwaelte__kanzlei { margin-top: var(--s-4); color: var(--text-muted); max-width: 62ch; }

@media (max-width: 960px) {
  .anwaelte__grid { grid-template-columns: 1fr; }
  .anwalt:not(.anwalt--lead) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: center; }
  .anwalt:not(.anwalt--lead) img { max-width: none; }
  .anwalt:not(.anwalt--lead) .anwalt__body { margin-top: 0; }
}
@media (max-width: 600px) {
  .anwalt--lead, .anwalt:not(.anwalt--lead) { grid-template-columns: 1fr; }
  .anwalt img { max-width: 100%; aspect-ratio: 4 / 4.2; }
  .laufbahn div { grid-template-columns: 6.5rem 1fr; }
}

/* ===========================
   BEWERTUNGEN: Widget-Overrides auf Marke
   =========================== */

.bewertungen #google-reviews { margin-top: var(--s-4); }
.gr-widget {
  --star-color: var(--star);
  --gr-accent: var(--brand);
  --text-dark: var(--text);
  --text-medium: var(--text);
  --text-light: var(--text-muted);
  --neutral-200: var(--tint-line);
  --neutral-300: var(--tint-strong);
  --border-radius-lg: var(--radius-lg);
}
.gr-header__verified { color: var(--brand); }
.gr-header__verified .gr-verified-icon circle { fill: var(--brand); }
.gr-card__author .gr-verified-icon circle { fill: var(--brand); }
.gr-card__text mark { background: var(--tint); }
.gr-card:hover .gr-card__text mark { background: var(--tint-line); }
.gr-slider__arrow { width: 44px; height: 44px; }
.gr-slider__dot { min-width: 6px; }
.gr-slider__dots { padding: 0.5rem 0; }
.gr-header__count { color: var(--text-muted); font-size: var(--fs-small); }
.gr-footer { font-size: var(--fs-min); opacity: 0.8; }
.gr-card__date { font-size: var(--fs-min); }
.gr-header__link { font-size: var(--fs-min); }
.gr-card__more { font-size: var(--fs-small); min-height: 44px; }

/* ===========================
   KOSTEN: Weiche
   =========================== */

.weiche {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--tint-strong);
}
.weiche__side { padding: clamp(1.5rem, 3vw, 2.5rem); }
.weiche__side { background: var(--tint); }
.weiche__side--frei { background: var(--surface); }
.weiche__k { font-size: 1.5rem; font-weight: 600; color: var(--brand); margin-bottom: 0.5rem; }
.weiche__side p:not(.weiche__k) { color: var(--text-muted); max-width: 40ch; }
.kosten__rs { margin-top: var(--s-3); color: var(--text); }

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

/* ===========================
   FAQ: zweispaltig
   =========================== */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.faq__side { position: sticky; top: 88px; }
.faq__side p { margin: var(--s-2) 0 var(--s-3); color: var(--text-muted); max-width: 32ch; }

.faq-item { border-bottom: 1px solid var(--tint-strong); }
.faq-item h3 { font-size: 1rem; }
.faq-item__q {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  padding: 1rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand);
  text-align: left;
  cursor: pointer;
}
.faq-item__q svg { width: 20px; height: 20px; stroke: var(--brand); stroke-width: 1.8; fill: none; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.faq-item.open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-item__a p { padding-bottom: 1rem; color: var(--text); max-width: 62ch; }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
}

/* ===========================
   KONTAKT: hell, Formular offen
   =========================== */

.kontakt { background: var(--tint); }

.kontakt__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.kontakt__side { display: flex; flex-direction: column; height: 100%; }
.kontakt__side .lead { margin-top: var(--s-2); }
.kontakt__phone { margin-top: var(--s-3); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.kontakt__hours { font-size: var(--fs-small); color: var(--text-muted); }

.zusagen { margin-top: auto; padding-top: var(--s-4); display: grid; gap: 0.75rem; }
.zusagen li { position: relative; padding-left: 1.4rem; color: var(--text-muted); }
.zusagen li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand); }
.zusagen li b { color: var(--text); font-weight: 600; }

.anfrage {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.anfrage__title { font-size: 1.35rem; font-weight: 600; color: var(--brand); }
.anfrage__sub { font-size: var(--fs-small); color: var(--text-muted); margin: 0.25rem 0 var(--s-3); }

.anliegen { border: none; margin: 0 0 var(--s-3); padding: 0; }
.anliegen legend { font-size: var(--fs-small); font-weight: 600; color: var(--brand); margin-bottom: 0.6rem; }
.anliegen__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
.anliegen__opt { position: relative; display: block; }
.anliegen__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.anliegen__opt span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--tint-strong);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.anliegen__opt input:checked + span { border-color: var(--brand); background: var(--tint); color: var(--brand); font-weight: 600; }
.anliegen__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.anliegen__opt--wide { grid-column: span 3; }
.anliegen__opt--wide span { justify-content: flex-start; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form-group { margin-bottom: var(--s-2); }
.form-group label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--brand); margin-bottom: 0.35rem; }
.form-group label small { font-weight: 400; color: var(--text-muted); }

.anfrage input[type="text"], .anfrage input[type="tel"], .anfrage input[type="email"], .anfrage textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--tint-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.anfrage input:focus-visible, .anfrage textarea:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus); }
.anfrage input[aria-invalid="true"], .anfrage textarea[aria-invalid="true"] { border-color: var(--error); }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--brand); }
.consent label { font-weight: 400; font-size: var(--fs-min); color: var(--text-muted); margin: 0; line-height: 1.5; }
.consent label a { color: var(--brand); text-decoration: underline; display: inline-block; padding: 14px 0; margin: -14px 0; }
.consent.consent-error label { color: var(--error); }

.anfrage__error { display: none; color: var(--error); font-size: var(--fs-small); margin-bottom: var(--s-2); }
.anfrage__error.show { display: block; }

.anfrage__submit { width: 100%; }
.anfrage__after { margin-top: 0.75rem; font-size: var(--fs-min); color: var(--text-muted); text-align: center; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.anfrage__success { display: none; text-align: center; padding: var(--s-4) 0; }
.anfrage__success svg { width: 44px; height: 44px; stroke: var(--success); stroke-width: 1.8; fill: none; margin: 0 auto var(--s-2); display: block; }
.anfrage__success h3 { margin-bottom: 0.4rem; }
.anfrage__success p { color: var(--text-muted); }
.anfrage.sent form { display: none; }
.anfrage.sent .anfrage__success { display: block; }

.kanzlei {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--s-4);
  border-top: 1px solid var(--tint-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.kanzlei__item { display: grid; gap: 0.35rem; align-content: start; }
.kanzlei__k { font-size: var(--fs-min); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.kanzlei__v { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; }

@media (max-width: 960px) {
  .kontakt__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .anliegen__grid { grid-template-columns: 1fr 1fr; }
  .anliegen__opt--wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .kanzlei { grid-template-columns: 1fr; }
}

/* ===========================
   FOOTER
   =========================== */

.footer { background: var(--surface-deep); color: var(--text-on-dark-muted); padding: var(--s-3) 0; font-size: var(--fs-small); }
.footer__row { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
.footer__links { display: inline-flex; gap: 1.25rem; }
.footer a { color: var(--text-on-dark); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.footer__row { align-items: flex-start; }
.footer__adressen { flex: 1 1 22rem; line-height: 1.55; }
.footer__adressen b { color: var(--text-on-dark); font-weight: 600; margin-right: .35rem; }
.footer__firma { display: inline-block; margin-top: .5rem; opacity: .75; }
.footer__kontakt { flex: 0 1 18rem; display: flex; flex-direction: column; gap: .15rem; }
.footer__tel { font-size: 1.15rem; font-weight: 600; text-decoration: none !important; letter-spacing: .01em; }
.footer__tel:hover { text-decoration: underline !important; }
.footer__zeiten { line-height: 1.5; opacity: .85; }
@media (max-width: 700px) {
  .footer__row { flex-direction: column; gap: var(--s-2); }
  .footer__adressen, .footer__kontakt { flex: 1 1 auto; }
}

/* ===========================
   STICKY CTA (mobil, scrollbewusst)
   =========================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 0.75rem clamp(1rem, 4vw, 1.5rem) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--tint-line);
  transform: translateY(110%);
  transition: transform 0.25s var(--ease);
  display: none;
}
.sticky-cta.visible { transform: none; }
.sticky-cta__btn { width: 100%; }
@media (max-width: 860px) { .sticky-cta { display: block; } }

/* ===========================================================
   RUNDE 2 (17.08.2026, Feedback Benjamin)
   Themenleiste als Kacheln, Abfindung als eigener Teil,
   Anwalt solo, mehrstufiges Formular.
   =========================================================== */

/* --- Themenleiste: Kacheln statt Link-Reihe --- */
.themen__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  align-items: stretch;
}

.thema {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.3rem;
  width: 100%;
  height: 100%;
  min-height: 96px;
  padding: var(--s-3);
  text-align: left;
  text-wrap: balance;
  background: var(--surface);
  border: 1.5px solid var(--tint-strong);
  border-radius: var(--radius-lg);
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.thema::before { content: none; }

.thema__name {
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.thema__line {
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted);
}

.thema:hover { border-color: var(--brand); transform: translateY(-2px); font-weight: inherit; }
.thema.is-active { border-color: var(--brand); background: var(--tint); font-weight: inherit; }
.thema.is-active .thema__line { color: var(--brand); }

@media (max-width: 700px) {
  .themen__list { grid-template-columns: 1fr; }
  .thema { min-height: 0; }
}

.vertrag__icon {
  width: 38px;
  height: 38px;
  display: block;
  color: var(--text-on-dark);
  opacity: 0.75;
  margin-bottom: 0.9rem;
}

/* --- Aufhebungsvertrag: Lead über den zwei Risiko-Spalten --- */
.vertrag__lead {
  max-width: 62ch;
  margin-top: var(--s-3);
  color: var(--text-on-dark-muted);
}

/* --- Abfindung: eigener Teil mit drei Stellhebeln --- */
/* Hintergrund kommt aus .section--tint, hier bewusst keine eigene Farbe */
.abfindung__head { max-width: min(92ch, 78%); }
.abfindung__head .h2 { max-width: 36ch; }
.abfindung__head .lead { margin-top: var(--s-3); max-width: 86ch; color: var(--text-muted); }
@media (max-width: 900px) { .abfindung__head { max-width: none; } }

.hebel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  list-style: none;
  counter-reset: none;
}
.hebel__item { border-top: 2px solid var(--brand); padding-top: var(--s-2); }
.hebel__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--brand);
  opacity: 0.55;
  margin-bottom: 0.6rem;
}
.hebel__item h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.45rem; }
.hebel__item p { color: var(--text-muted); }

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

/* --- Kündigung: Prüfpunkte unter dem Frist-Kalender --- */
.pruef { margin-top: clamp(3rem, 6vw, 4.5rem); }
.pruef__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.pruef__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pruef__item {
  background: var(--surface);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}
@supports (grid-template-rows: subgrid) {
  .pruef__list { grid-auto-rows: auto; }
  .pruef__item { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; row-gap: 0; }
}
.pruef__item b { display: block; font-weight: 600; color: var(--brand); margin-bottom: 0.35rem; }

/* Eigene Strichzeichnungen je Pruefpunkt. Kein Icon-Set, die Motive sind fuer
   diese sechs Punkte gezeichnet (Gremium, Waage, Blatt mit Ausrufezeichen,
   Unterschrift, Kalender mit markiertem Tag, Schild). */
.pruef__icon {
  width: 40px;
  height: 40px;
  display: block;
  color: var(--brand);
  opacity: 0.9;
  margin-bottom: 1rem;
}
.pruef__item:hover .pruef__icon { opacity: 1; }
.pruef__item p { color: var(--text-muted); font-size: var(--fs-small); }

.pruef__foot {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-3);
  justify-items: start;
  background: var(--surface);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.pruef__notes { display: grid; gap: 0.5rem; }
.pruef__ergebnis { font-size: 1.0625rem; font-weight: 500; color: var(--text); max-width: 66%; }
.pruef__note { color: var(--text-muted); font-size: var(--fs-small); max-width: 66ch; }

/* Die zwei Bedingungen des KSchG standen als grauer Fliesstext-Klotz da und
   beantworteten die Frage "gilt das fuer mich" erst nach dem Lesen
   (Benjamin, 03.09.2026). Jetzt als zwei sichtbare Groessen. */
.kschg { margin-top: 0.9rem; }
.kschg__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.kschg__bed {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.kschg__bed li { display: flex; flex-direction: column; gap: 0.15rem; }
.kschg__kachel {
  flex: 1 1 0;
  min-width: 12rem;
  padding: 0.85rem 1rem;
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius);
}
.kschg__bed b {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.kschg__bed span { font-size: var(--fs-small); color: var(--text-muted); }
.kschg__sonst { font-size: var(--fs-small); color: var(--text-muted); max-width: 66%; }

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

@media (max-width: 900px) {
  .pruef__ergebnis, .kschg__sonst { max-width: none; }
}

@media (max-width: 700px) {
  .pruef__list { grid-template-columns: 1fr; }
  .pruef__foot { grid-template-columns: 1fr; }
  .pruef__foot .btn { width: 100%; }
}

/* --- Aufhebungsvertrag: Statement links, Text rechts --- */
.vertrag__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.vertrag__leadcol { display: grid; gap: var(--s-2); }
.vertrag__top .vertrag__statement {
  max-width: 22ch;
  margin-top: 0.15rem;
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem);
}
.vertrag__top .vertrag__lead { margin-top: 0; }

@media (max-width: 860px) {
  .vertrag__top { grid-template-columns: 1fr; }
  .vertrag__top .vertrag__statement { max-width: 20ch; }
}

/* --- Aufhebungsvertrag: Checkliste --- */
.checkliste {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
/* Das weisse Blatt ist der Hauptinhalt der Sektion, sein Titel stand aber so
   klein da wie die Titel der zwei Risiko-Kaesten darueber und ging unter
   (Benjamin, 03.09.2026). */
.section--dark .checkliste__title {
  font-size: var(--fs-blocktitel);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-bottom: var(--s-3);
}
.checkliste__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4rem);
}
@media (min-width: 1100px) { .checkliste__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.checkliste__list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-top: 1px solid var(--tint-line);
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.4;
}
.checkliste__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}

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

/* --- Abfindungsrechner --- */
.rechner {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.rechner { box-shadow: 0 14px 34px rgba(41, 35, 92, 0.07); }
.rechner__title {
  font-size: var(--fs-blocktitel);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.rechner__head p { color: var(--text-muted); font-size: var(--fs-small); max-width: 64ch; }

.rechner__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: var(--s-3);
}
.rechner__field--wide { grid-column: 1 / -1; }
.rechner__field label,
.rechner__legend {
  display: block;
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
}

.rechner__input { position: relative; display: block; }
.rechner__input input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 4.5rem 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--tint-strong);
  border-radius: var(--radius);
}
.rechner__input input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--focus); }
.rechner__input input::-webkit-outer-spin-button,
.rechner__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rechner__input input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.rechner__unit {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--fs-small);
  pointer-events: none;
}

.rechner__out {
  margin-top: var(--s-3);
  padding: var(--s-3);
  background: var(--tint);
  border-radius: var(--radius);
}
.rechner__outlabel {
  font-size: var(--fs-min);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.rechner__value {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand);
  margin: 0.25rem 0 0.5rem;
}
.rechner__formel { color: var(--text-muted); font-size: var(--fs-small); max-width: 60ch; }

.rechner__hinweis {
  margin-top: var(--s-2);
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--tint-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-small);
  max-width: 68ch;
}
.rechner__hinweis b { display: block; font-weight: 600; color: var(--brand); margin-bottom: 0.2rem; }
.rechner__hinweiszeile { margin: 0; }
.anliegen__opt--voll { grid-column: 1 / -1; }
.rechner__hinweiszeile + .rechner__hinweiszeile { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.rechner__hinweis--wichtig { border-color: var(--brand); background: var(--surface); }

.rechner__leer {
  margin-top: var(--s-3);
  padding: var(--s-3);
  background: var(--tint);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.rechner__leer.is-fehlend { border-color: var(--error); color: var(--text); }
.rechner__leerhilfe { margin-top: 0.5rem; }
.linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}

.rechner__foot {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.rechner__foot span { font-size: var(--fs-small); color: var(--text-muted); max-width: 42ch; }

@media (max-width: 700px) {
  .rechner__grid { grid-template-columns: 1fr; }
  .rechner__foot .btn { width: 100%; }
}

/* --- Anwalt solo: keine zweite Spalte mehr --- */
.anwaelte__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 62rem; }

/* --- Mehrstufiges Formular --- */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 var(--s-3);
  padding: 0;
  list-style: none;
}
.stepper__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.55rem;
  border-top: 3px solid var(--tint-strong);
  font-size: var(--fs-min);
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.stepper__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.stepper__item.is-current { border-top-color: var(--brand); color: var(--brand); font-weight: 600; }
.stepper__item.is-done { border-top-color: var(--brand); color: var(--brand); }
.stepper__item.is-done .stepper__num { background: var(--brand); border-color: var(--brand); color: var(--text-on-dark); }

.step { display: none; border: none; margin: 0; padding: 0; }
.step.is-current { display: block; }
.step__legend {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.6rem;
  padding: 0;
}
.step__hint { font-size: var(--fs-min); color: var(--text-muted); margin-top: 0.6rem; }
.form-note { font-size: var(--fs-min); color: var(--text-muted); margin-top: 0.35rem; }

.anfrage input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--tint-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
}

/* Schritt 1 und die Teilfragen in Schritt 2 laufen zweispaltig */
.step[data-step="1"] .anliegen__grid,
.teilfrage .anliegen__grid { grid-template-columns: 1fr 1fr; }
.teilfrage .anliegen__grid--drei { grid-template-columns: 1fr 1fr 1fr; }

/* Teilfrage: Statusfrage und Rechtsschutzfrage in Schritt 2 */
.teilfrage { margin-bottom: var(--s-3); }
.teilfrage[hidden] { display: none; }
.teilfrage__legend {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.teilfrage__legend small { font-weight: 400; color: var(--text-muted); }

@media (max-width: 480px) {
  .teilfrage .anliegen__grid--drei { grid-template-columns: 1fr; }
}

.step-nav { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.step-nav .btn { flex: 1; }
#anfrage-form[data-step="1"] .step-nav__back,
#anfrage-form[data-step="1"] .anfrage__submit,
#anfrage-form[data-step="2"] .anfrage__submit,
#anfrage-form[data-step="3"] .step-nav__next { display: none; }
#anfrage-form[data-step="1"] .step-nav__next { display: inline-flex; }
