/* Protius 2026: Arbeitsrecht-Landingpage (/arbeitsrecht/) und Kündigung (/arbeitsrecht/kuendigung/).
   Seitenlayout; Tokens und Bauteile aus protius-2026.css.
   Hero, Formularkarte, Team, Warum und FAQ-Layout entsprechen p26-verkehrsrecht.css
   (bewusst dupliziert, damit beide Seiten unabhängig bleiben). */

/* ---------- Hero ---------- */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "form" "photo"; row-gap: 1.5rem; }
.hero__text { grid-area: text; }
.hero__form { grid-area: form; }
.hero__photo { grid-area: photo; }

.hero h1 { max-width: 16ch; }
.hero__lead { display: none; }
.hero__checks { margin-top: 1rem; font-size: var(--fs-1); }
.hero__checks li { margin-bottom: .375rem; }
.hero__checks li:last-child { margin-bottom: 0; }

/* Formularkarte im Hero */
.formcard { padding: 0; overflow: hidden; border: 0; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(7, 33, 58, .55); }
.formcard__body { padding: 1.375rem 1.25rem 1.25rem; }
.hero .formcard__title { font-size: var(--fs-4); color: var(--blue); }
.formcard__intro { display: none; margin: .5rem 0 0; font-size: var(--fs-1); color: var(--ink-2); }
.formcard .kurzformular { margin-top: 1rem; gap: .875rem; }
.formcard .rueckruf:has(.erfolg:not([hidden])) { padding-top: .25rem; }
.formcard__body:has(.erfolg:not([hidden])) :is(.formcard__title, .formcard__intro) { display: none; }

.formcard__tel { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding: .875rem 1.25rem 1rem; background: var(--paper-2); }
.formcard__tel-label { flex: 1 0 100%; font: 700 var(--fs-0)/1.3 var(--sans); color: var(--ink-2); }
.formcard__tel-num { display: inline-flex; align-items: center; min-height: 2.75rem; font: 800 1.5rem/1.2 var(--sans); color: var(--blue); text-decoration: none; white-space: nowrap; }
.formcard__tel-num:hover { text-decoration: underline; }
.formcard__tel-time { font-size: var(--fs-1); color: var(--ink-2); white-space: nowrap; }

.hero__photo { width: min(86%, 22rem); justify-self: center; margin-top: .75rem; }

/* ---------- Frist (sachlicher Hinweis direkt unter dem Hero) ---------- */
.frist-section { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.frist { display: grid; gap: 1rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); }
.frist__titel { font-size: var(--fs-4); line-height: 1.2; max-width: 26ch; }
.frist__text p { margin: 0; }
.frist__text p + p { margin-top: .875rem; }
.frist__liste { display: grid; gap: 1rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.frist__liste dt { font-weight: 700; color: var(--ink); }
.frist__liste dd { margin: .125rem 0 0; color: var(--ink-2); font-size: var(--fs-1); }

/* ---------- Team ---------- */
.team-section { padding-block: 2.5rem; }
.team__head { margin-bottom: 1rem; }
.team__head h2 { font-size: var(--fs-4); }
.team__addr { margin-top: .375rem; font-style: normal; color: var(--ink-2); }
@media (min-width: 60rem) { .team__head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; } .team__addr { margin: 0; } }

/* ---------- Schritte ---------- */
.schritte { gap: 1rem; }
.schritt { padding: clamp(1.375rem, 1rem + 1.2vw, 2rem); }
.schritt__nr { margin-bottom: .625rem; color: var(--blue); }

/* ---------- Leistungen (Arbeitsrecht) ---------- */
.leistungen__kopf { display: grid; gap: 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.leistungen__intro p { margin: 1rem 0 0; color: var(--ink-2); }
.leistungen__photo { width: min(88%, 24rem); justify-self: center; }
.leistungen { display: grid; gap: 1rem; }
.leistung { display: flex; flex-direction: column; gap: .875rem; border: 0; }
.leistung h3 { font-size: var(--fs-3); line-height: 1.3; }
.leistung p { margin: 0; color: var(--ink-2); }
.leistung .checks { font-size: var(--fs-1); }
.leistung .checks li:last-child { margin-bottom: 0; }
.leistung__hinweis { padding-top: .875rem; border-top: 1px solid var(--line); font-size: var(--fs-1); }
.leistung .textlink { margin-top: auto; align-self: flex-start; }

/* ---------- Kündigungsschutzklage (Kündigung) ---------- */
.klage { display: grid; gap: 2.5rem; }
.klage__intro { margin: 1rem 0 0; color: var(--ink-2); }
.klage__text h3 { margin: 2rem 0 .75rem; font-size: var(--fs-3); line-height: 1.3; }
.klage__text > p { color: var(--ink-2); }
.klage__text > p:last-child { margin-bottom: 0; }
.klage__text .checks { margin-bottom: 1rem; }
.gruende { display: grid; gap: 1rem; margin: 0; }
.gruende > div { padding-left: 0; }
.gruende dt { font-weight: 700; }
.gruende dd { margin: .125rem 0 0; color: var(--ink-2); }
.klage__photo { width: min(88%, 24rem); justify-self: center; }

/* ---------- Abfindung, Aufhebungsvertrag, Zeugnis ---------- */
.zwei { display: grid; gap: 1rem; }
.zwei__karte, .zeugnis { border: 0; }
.zwei__karte h3, .zeugnis h3, .sonder__karte h3 { font-size: var(--fs-3); line-height: 1.3; margin-bottom: .75rem; }
.zwei__karte p, .zeugnis p, .sonder__karte p { color: var(--ink-2); }
.zwei__karte p:last-child, .zeugnis p:last-child, .sonder__karte p:last-child { margin-bottom: 0; }
.zwei__karte .checks, .sonder__karte .checks { margin-bottom: 1rem; }
.zeugnis { margin-top: 1rem; }

/* ---------- Sonderfälle ---------- */
.sonder { display: grid; gap: 1rem; }
.sonder__karte { background: var(--paper-2); border: 0; }

/* ---------- Kosten (dunkel) ---------- */
.kosten { display: grid; gap: 2rem; }
.kosten__kopf h2 { max-width: 24ch; }
.kosten__kopf p { margin: 1rem 0 0; color: var(--on-dark-2); font-size: var(--fs-3); }
.kosten__liste { display: grid; gap: 1.75rem; }
.kosten__liste h3 { font-size: var(--fs-3); line-height: 1.3; margin-bottom: .5rem; }
.kosten__liste p { margin: 0; color: var(--on-dark-2); }
.kosten__fuss { margin: 0; color: var(--on-dark-2); font-size: var(--fs-1); }
.kosten__fuss a { font-weight: 700; }

/* ---------- Warum ein Anwalt ---------- */
.why { display: grid; gap: 1.75rem; }
.why h3 { font-size: var(--fs-3); line-height: 1.3; margin-bottom: .5rem; }
.why p { margin: 0; color: var(--on-dark-2); }
.why__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.why__cta p { margin: 0; color: var(--on-dark-2); }
.why__cta a.num { font-weight: 700; }

/* ---------- Häufige Fragen ---------- */
.faqlayout { display: grid; gap: 2rem; }
.faqlayout__head h2 { max-width: 16ch; }
.faqlayout__head p { margin: 1rem 0 0; color: var(--ink-2); max-width: 22rem; }
.faqlayout__head a { font-weight: 700; color: var(--blue); white-space: nowrap; }

/* ===================== ab 48rem (Tablet) ===================== */
@media (min-width: 48rem) {
  .hero__grid { row-gap: 2.5rem; }
  .hero__lead { display: block; }
  .hero__checks { margin-top: 1.5rem; font-size: var(--fs-2); }
  .formcard__intro { display: block; }
  .formcard__body { padding: 1.75rem 1.75rem 1.5rem; }
  .formcard__tel { padding: 1rem 1.75rem 1.125rem; }
  .hero__photo { width: min(60%, 24rem); justify-self: end; margin: 0 .5rem 0 0; }

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

  .team-section { padding-block: 3rem; }

  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sonder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kosten__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .gruende { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }

  .why { max-width: 40rem; gap: 2rem; }
}

/* Tablet: Formular in die Breite, Felder nebeneinander */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .formcard .kurzformular { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .formcard .kurzformular > :not(.field) { grid-column: 1 / -1; }
  .formcard .kurzformular .btn { margin-top: .375rem; }
  .schritte:not(.schritte--sechs) { grid-template-columns: minmax(0, 1fr); }
  .schritte--sechs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===================== ab 64rem (Desktop) ===================== */
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 25rem;
    grid-template-areas: "text form" "photo form";
    grid-template-rows: auto 1fr;
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
  .hero__form { align-self: start; }
  .hero h1 { max-width: 14em; }
  .hero__photo { width: 24rem; justify-self: start; align-self: end; margin: 0 0 0 .25rem; }

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

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

  .leistungen__kopf { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
  .leistungen__photo { width: 100%; max-width: 26rem; justify-self: end; }
  .leistungen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .leistung--frage { grid-column: span 2; }

  .klage { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
  .klage__photo { width: 100%; max-width: 26rem; justify-self: end; margin-top: 4rem; position: sticky; top: calc(var(--header-h) + 2rem); }
  .gruende { grid-template-columns: minmax(0, 1fr); }

  .zwei, .sonder { gap: 1.5rem; }
  .zeugnis { margin-top: 1.5rem; }

  .kosten { gap: 2.5rem; }
  .kosten__kopf h2 { max-width: none; }
  .kosten__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; }

  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; column-gap: 3rem; }

  .faqlayout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(3rem, 6vw, 5rem); align-items: start; }
  .faqlayout__head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Letzte Kachel der Leistungen: Frage statt Karte (füllt das Raster) */
.leistung--frage { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1.5px dashed var(--line); border-radius: var(--r-2); }
.leistung--frage .btn { align-self: flex-start; margin-top: .25rem; }
.leistung--frage a.num { font-weight: 700; color: var(--blue); }
