/* Cassel Drive: Bausteine für Ratgeber-, Ablauf- und Ortsseiten.
   Baut auf den Variablen aus styles.css auf. Nur transform und opacity werden animiert. */

/* ---------- Gemeinsame Abschnitts-Köpfe ---------- */
.g-section {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
}
.g-section--deep {
  background: var(--navy-deep);
}
.g-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.g-head h2 {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--red);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.g-head p {
  margin: 18px 0 0 22px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.g-body a,
.g-prose a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease-out), text-decoration-color 0.2s var(--ease-out);
}
.g-body a:hover,
.g-prose a:hover {
  color: var(--red-bright);
}
.g-body a:focus-visible,
.g-prose a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}
.g-body a:active,
.g-prose a:active {
  color: var(--red);
}
.g-prose {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}
.g-prose p {
  margin: 0 0 16px;
}
.g-prose strong {
  color: var(--white);
  font-weight: 700;
}
.g-prose h3 {
  margin: 28px 0 10px;
  color: var(--white);
  font-style: italic;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.g-prose ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.g-prose li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.g-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: skewX(-18deg);
}

/* ---------- Einstieg: großer Satz + Kennzahlen ---------- */
.g-lead {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--navy-deep);
  border-block: 1px solid var(--line);
}
.g-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.g-lead-text {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.5;
  font-weight: 500;
}
.g-lead-text strong {
  color: var(--red-bright);
  font-weight: 800;
}
.g-stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.g-stat {
  padding: 4px 20px 4px 22px;
  border-left: 1px solid var(--line-strong);
}
.g-stat dt {
  order: 2;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.4;
}
.g-stat {
  display: flex;
  flex-direction: column;
}
.g-stat dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}
.g-stat dd {
  white-space: nowrap;
}
.g-stat dd small {
  font-size: 0.45em;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1px var(--red);
}

/* ---------- Zeitleiste ---------- */
.g-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gstep;
}
.g-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red) 0%, rgba(237, 51, 43, 0.15) 100%);
}
.g-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 330px);
  gap: 20px 32px;
  padding-bottom: clamp(36px, 5vw, 56px);
  align-items: start;
}
.g-step:last-child {
  padding-bottom: 0;
}
.g-step--nofig {
  grid-template-columns: 56px minmax(0, 1fr);
}
.g-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: var(--shadow-red);
}
.g-step-body h3 {
  margin: 4px 0 10px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.g-step-body p {
  margin: 0 0 12px;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}
.g-step-body p:last-child {
  margin-bottom: 0;
}
.g-step-body strong {
  color: var(--white);
}
.g-step-body a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.g-step-body a:hover {
  color: var(--red-bright);
}
.g-step-body a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.g-step-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px 4px 10px;
  background: rgba(237, 51, 43, 0.14);
  border-left: 3px solid var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.g-step-fig {
  margin: 0;
}
.g-step-fig img {
  width: 100%;
  height: auto;
  border-radius: 4px 22px 4px 22px;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.85), 0 6px 14px -8px rgba(0, 0, 0, 0.6);
}

/* ---------- Bild + Text im Wechsel ---------- */
.g-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.g-split--rev .g-split-media {
  order: 2;
}
.g-split-media {
  position: relative;
  margin: 0;
}
.g-split-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 18px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
  opacity: 0.9;
  z-index: 0;
}
.g-split--rev .g-split-media::before {
  inset: 22px 18px -22px -18px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.g-split-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 4% 100%);
  background: var(--navy-soft);
}
.g-split--rev .g-split-media img {
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}
.g-split-media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  color: var(--text-faint);
  font-size: 13.5px;
}
.g-split-copy h2 {
  color: var(--white);
  margin: 0 0 18px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------- Foto-Band ---------- */
.g-band {
  padding: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(360px, 46vw, 520px);
  overflow: hidden;
  background: var(--navy-deep);
}
.g-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.g-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 15, 22, 0.96) 0%, rgba(8, 15, 22, 0.9) 45%, rgba(8, 15, 22, 0.35) 100%);
}
.g-band-copy {
  max-width: 640px;
  padding-block: 56px;
}
.g-band-copy h2 {
  margin: 0 0 16px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.g-band-copy h2 em {
  font-style: italic;
  color: var(--red-bright);
}
.g-band-copy p {
  margin: 0 0 24px;
  color: #d3dbe2;
  font-size: 17.5px;
  line-height: 1.65;
}
.g-band-copy a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Checkliste (Unterlagen) ---------- */
.g-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-check {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
}
.g-check-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(237, 51, 43, 0.14);
  color: var(--red-bright);
  font-size: 26px;
  border-radius: 4px 16px 4px 16px;
}
.g-check h3 {
  margin: 0 0 6px;
  font-style: italic;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.g-check p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.g-check a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Behörden ---------- */
.g-authorities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.g-authority {
  position: relative;
  padding: 34px 34px 30px;
  background: linear-gradient(160deg, var(--navy-soft) 0%, rgba(22, 34, 46, 0.5) 100%);
  border-top: 4px solid var(--red);
  border-radius: 0 0 22px 4px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 54px -34px rgba(0, 0, 0, 0.85);
}
.g-authority {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.g-authority address {
  flex: 1;
}
.g-authority--alt {
  border-top-color: var(--white);
  border-radius: 0 0 4px 22px;
}
.g-authority h3 {
  margin: 0 0 6px;
  font-style: italic;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.g-authority-who {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
}
.g-authority address {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  font-style: normal;
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}
.g-authority address span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.g-authority address .icon {
  flex: none;
  margin-top: 4px;
  color: var(--red-bright);
}
.g-authority .btn {
  min-height: 46px;
}
.g-dist {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--red);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Entfernungsbalken zu Haltestellen ---------- */
.g-route {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-route li {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 80px;
  gap: 18px;
  align-items: center;
}
.g-route-name {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}
.g-route-name small {
  display: block;
  color: var(--text-faint);
  font-size: 12.5px;
  font-weight: 600;
}
.g-route-bar {
  position: relative;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.g-route-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.g-route-m {
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* ---------- Orte und Fahrzeiten ---------- */
.g-places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-place {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 20px 20px 18px 22px;
  background: var(--navy-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 14px 4px 0;
  transition: transform 0.35s var(--ease-out);
}
.g-place:hover {
  transform: translateY(-3px);
}
.g-place-min {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
}
.g-place-min small {
  margin-left: 4px;
  color: var(--red-bright);
  font-size: 0.45em;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}
.g-place-name {
  margin-top: 6px;
  font-weight: 700;
  font-size: 15.5px;
}
.g-place-km {
  color: var(--text-faint);
  font-size: 13px;
}
.g-note {
  margin: 28px 0 0;
  padding: 14px 18px;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--text-faint);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.g-note a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

/* ---------- Was läuft auf welcher Sprache (Matrix) ---------- */
.g-matrix {
  width: 100%;
  border-collapse: collapse;
}
.g-matrix th,
.g-matrix td {
  padding: 22px 18px 22px 0;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line-strong);
}
.g-matrix tbody tr:last-child th,
.g-matrix tbody tr:last-child td {
  border-bottom: 1px solid var(--line-strong);
}
.g-matrix thead th {
  border-top: none;
  padding-bottom: 12px;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.g-matrix tbody th {
  width: 30%;
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.g-matrix td {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.g-chip {
  display: inline-block;
  padding: 5px 14px 5px 12px;
  background: var(--red-cta, #d12a22);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  white-space: nowrap;
}
.g-chip--plain {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Häufige Fragen (aufklappbar, Text steht im HTML) ---------- */
.g-faq {
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-faq details {
  border-top: 1px solid var(--line-strong);
}
.g-faq details:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.g-faq summary {
  position: relative;
  padding: 22px 56px 22px 0;
  cursor: pointer;
  list-style: none;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.g-faq summary::-webkit-details-marker {
  display: none;
}
.g-faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.g-faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}
.g-faq summary:hover {
  color: var(--red-bright);
}
.g-faq summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.g-faq-a {
  padding: 0 56px 26px 0;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}
.g-faq-a p {
  margin: 0 0 12px;
}
.g-faq-a p:last-child {
  margin-bottom: 0;
}
.g-faq-a a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Quellen ---------- */
.g-sources {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 13.5px;
  line-height: 1.7;
}
.g-sources h2 {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.g-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-sources a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.g-sources a:hover {
  color: var(--white);
}

/* ---------- Ortsblock auf Leistungsseiten ---------- */
.g-local {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-block: 1px solid var(--line);
}
.g-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.g-local-media {
  position: relative;
  margin: 0;
}
.g-local-media::before {
  content: "";
  position: absolute;
  inset: 18px 16px -18px -16px;
  border: 2px solid var(--red);
  border-radius: 4px 28px 4px 28px;
}
.g-local-media img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 4px 28px 4px 28px;
}
.g-local-copy h2 {
  margin: 0 0 14px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.g-local-copy p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.7;
}
.g-local-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}
.g-local-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--white);
  font-size: 15.5px;
}
.g-local-list b {
  flex: none;
  min-width: 64px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--red-bright);
}
.g-local-copy a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.g-local-copy a:not(.btn):hover {
  color: var(--red-bright);
}

/* ---------- Weiterlesen-Kacheln (nutzen .more-tile) ---------- */
.g-related {
  padding-block: clamp(56px, 8vw, 96px);
}
.g-related .more-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g-related .more-grid .more-tile:first-child,
.g-related .more-grid .more-tile:nth-child(n + 4) {
  grid-column: auto;
  grid-row: auto;
}

/* ---------- Ratgeber-Übersicht ---------- */
.g-hub {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.g-hub-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  grid-column: span 4;
  min-height: 300px;
  overflow: hidden;
  background: var(--navy-soft);
  border-radius: 4px 26px 4px 26px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.85);
  transition: transform 0.45s var(--ease-out);
}
.g-hub-tile:nth-child(1),
.g-hub-tile:nth-child(6) {
  grid-column: span 7;
  min-height: 360px;
}
.g-hub-tile:nth-child(2),
.g-hub-tile:nth-child(7) {
  grid-column: span 5;
  min-height: 360px;
}
.g-hub-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.g-hub-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 15, 22, 0.97) 20%, rgba(8, 15, 22, 0.82) 48%, rgba(8, 15, 22, 0.28) 100%);
}
.g-hub-tile:hover {
  transform: translateY(-4px);
}
.g-hub-tile:hover img {
  transform: scale(1.05);
}
.g-hub-tile:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
.g-hub-tile:active {
  transform: translateY(-1px);
}
.g-hub-body {
  width: 100%;
  padding: 72px 26px 24px;
  background: linear-gradient(to top, rgba(8, 15, 22, 0.98) 0%, rgba(8, 15, 22, 0.94) 55%, rgba(8, 15, 22, 0) 100%);
}
.g-hub-body h2,
.g-hub-body h3 {
  margin: 0 0 8px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.g-hub-body p {
  margin: 0 0 14px;
  color: #d3dbe2;
  font-size: 15px;
  line-height: 1.55;
}
.g-hub-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.g-hub-go .icon {
  transition: transform 0.35s var(--ease-out);
}
.g-hub-tile:hover .g-hub-go .icon {
  transform: translateX(5px);
}

/* ---------- Fakten-Streifen unter dem Seitenkopf (Leistungsseiten) ---------- */
.g-fact-strip {
  padding: 0;
  background: var(--red);
  color: var(--white);
}
.g-fact-strip ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-fact-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.g-fact-strip li:first-child {
  border-left: none;
}
.g-fact-strip .icon {
  flex: none;
  font-size: 24px;
}

/* ---------- Startseite: Anfahrt und Einzugsgebiet ---------- */
.g-area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* ---------- Responsiv ---------- */
@media (max-width: 980px) {
  .g-lead-grid,
  .g-split,
  .g-local-grid,
  .g-area-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-split--rev .g-split-media {
    order: 0;
  }
  .g-split-media {
    max-width: 560px;
  }
  .g-step {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .g-step-fig {
    grid-column: 2;
    max-width: 440px;
  }
  .g-authorities {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-related .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g-hub-tile,
  .g-hub-tile:nth-child(n) {
    grid-column: span 6;
    min-height: 280px;
  }
}
@media (max-width: 720px) {
  .g-checks {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }
  .g-stat:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .g-route li {
    grid-template-columns: minmax(0, 1fr) 64px;
    row-gap: 6px;
  }
  .g-route-bar {
    grid-column: 1 / -1;
    order: 3;
  }
  .g-matrix thead {
    display: none;
  }
  .g-matrix,
  .g-matrix tbody,
  .g-matrix tr,
  .g-matrix th,
  .g-matrix td {
    display: block;
    width: 100%;
  }
  .g-matrix tbody th {
    width: 100%;
    padding: 22px 0 6px;
    border-top: 1px solid var(--line-strong);
  }
  .g-matrix td {
    padding: 0 0 6px;
    border-top: none;
  }
  .g-matrix tbody tr:last-child td:last-child {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-strong);
  }
  .g-matrix tbody tr:last-child th,
  .g-matrix tbody tr:last-child td {
    border-bottom: none;
  }
  .g-band::before {
    background: linear-gradient(to top, rgba(8, 15, 22, 0.95) 20%, rgba(8, 15, 22, 0.55) 100%);
  }
  .g-band {
    align-items: end;
  }
  .g-faq summary {
    padding-right: 40px;
  }
  .g-faq-a {
    padding-right: 8px;
  }
  .g-related .more-grid,
  .g-hub {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-hub-tile,
  .g-hub-tile:nth-child(n) {
    grid-column: auto;
    min-height: 260px;
  }
  .g-fact-strip li {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
  .g-fact-strip li:first-child {
    border-top: none;
  }
  .g-split-media::before {
    inset: 14px -10px -14px 10px;
  }
  .g-split--rev .g-split-media::before {
    inset: 14px 10px -14px -10px;
  }
  .g-authority {
    padding: 28px 22px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-place,
  .g-hub-tile,
  .g-hub-tile img,
  .g-hub-go .icon,
  .g-faq summary::after {
    transition: none;
  }
}

/* ---------- Ergänzungen ---------- */
.footer-top {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
.g-places--compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.g-places--compact .g-place {
  padding: 14px 14px 12px 16px;
}
.g-places--compact .g-place-min {
  font-size: 1.6rem;
}
.g-route-name-main {
  display: block;
}
.g-tr {
  max-width: 820px;
  padding: 28px 30px;
  background: linear-gradient(160deg, var(--navy-soft) 0%, rgba(22, 34, 46, 0.5) 100%);
  border-left: 4px solid var(--red);
  border-radius: 0 18px 18px 0;
}
.g-tr h2 {
  margin: 0 0 12px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
}
.g-tr p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.g-tr p:last-child {
  margin-bottom: 0;
}
.g-tr a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.g-authority .btn {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 720px) {
  .g-authority .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .g-authority {
    align-items: stretch;
  }
  .g-dist {
    align-self: flex-start;
  }
}

/* ---------- Navigation: ein Punkt mehr, deshalb etwas kompakter ---------- */
.nav-links a {
  white-space: nowrap;
}
@media (max-width: 1100px) and (min-width: 961px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }
  .nav-cta {
    padding: 0 16px 0 28px;
  }
}

/* ---------- Kontrast (WCAG AA): kleine Texte auf Rot und Navy ---------- */
:root {
  --text-faint: #8b99a6;
  --red-cta: #d12a22;
}
.nav-cta {
  background: var(--red-cta);
}
.nav-cta:hover {
  background: var(--red-bright);
}
.g-fact-strip {
  background: var(--red-cta);
}
.g-route-name small {
  color: var(--text-muted);
}

.more-tile .more-tile-note {
  color: #e3e9ee;
}

/* ---------- Karten: Foto oben, Text darunter (kein Text auf dem Foto) ---------- */
.g-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.g-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--navy-soft);
  border: 1px solid var(--line);
  border-radius: 4px 22px 4px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 50px -32px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
}
.g-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 51, 43, 0.5);
}
.g-card:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
.g-card:active {
  transform: translateY(-1px);
}
.g-card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}
.g-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.g-card:hover .g-card-media img {
  transform: scale(1.04);
}
.g-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
}
.g-card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.g-card-note {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.g-card-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.g-card-go .icon {
  transition: transform 0.35s var(--ease-out);
}
.g-card:hover .g-card-go .icon {
  transform: translateX(5px);
}
.g-cards--hub .g-card:first-child {
  grid-column: span 2;
}
.g-cards--hub .g-card:first-child .g-card-media {
  aspect-ratio: 16 / 7;
}
.g-split-copy h2 em {
  font-style: italic;
  color: var(--red-bright);
}
@media (max-width: 980px) {
  .g-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g-cards--hub .g-card:first-child .g-card-media {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 720px) {
  .g-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-cards--hub .g-card:first-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-card,
  .g-card-media img,
  .g-card-go .icon {
    transition: none;
  }
}
.g-card--icon {
  padding-top: 26px;
}
.g-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 22px;
  background: rgba(237, 51, 43, 0.14);
  color: var(--red-bright);
  font-size: 28px;
  border-radius: 4px 16px 4px 16px;
}
.more-tile-code {
  background: var(--red-cta);
}
.review-more {
  color: #ff7a70;
}
.review-more:hover {
  color: var(--white);
}
.class-link {
  color: #ff7a70;
}
.tiktok-btn {
  background: #e0193f;
}
.roadmap h2 .tag {
  color: var(--white);
  background: var(--red-cta);
}
