/*
 * PTF Group – Subpages & Flexible Layout Styles
 *
 * Diese Datei enthält alle CSS-Klassen die in den HTML-Prototypen als
 * Inline-<style> je Unterseite definiert waren, sowie fehlende :root-Variablen.
 */

/* ─── Fehlende CSS-Variablen-Aliase ───────────────────────────────────────────
 * Die HTML-Prototypen nutzen --text-muted / --text-base,
 * styles.css definiert aber --text-soft / --text-main.
 * Hier werden die Aliase ergänzt damit alle Komponenten funktionieren.
 */
:root {
  --text-muted: rgba(255, 255, 255, 0.58);   /* = --text-soft */
  --text-base:  #ffffff;                      /* = --text-main */
}

/* ─── Subpage Hero ────────────────────────────────────────────────────────────
 * Verwendet auf: Kernkompetenzen, Die Unternehmen, Karriere, Kontakt
 */
.subpage-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9rem 0 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sh-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 22% 55%, rgba(0, 53, 140, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.subpage-hero .container {
  position: relative;
  z-index: 2;
}
.sh-copy {
  max-width: min(520px, 52vw);
}
.sh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  letter-spacing: 0.03em;
}
.sh-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.sh-breadcrumb a:hover { color: var(--brand-light); }
.sh-breadcrumb .sh-sep { opacity: 0.35; }
.sh-breadcrumb .sh-current { color: var(--brand-light); }
.sh-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.2rem;
}
.sh-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 2.2rem;
}
.sh-media {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 52%;
  z-index: 1;
  clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.sh-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
}
.sh-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.4) 30%, rgba(5, 8, 15, 0.05) 65%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 860px) {
  .subpage-hero {
    min-height: unset;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .sh-media {
    display: block;
    position: relative;
    width: 100%;
    height: 58vw;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    order: -1;
    top: auto;
    right: auto;
  }
  .subpage-hero .container {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
  .sh-copy { max-width: 100%; }
}

/* ─── Kompetenz-Sektion ───────────────────────────────────────────────────────
 * Verwendet auf: Kernkompetenzen
 */
.competency-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.competency-section:last-of-type {
  border-bottom: none;
}
.competency-section .section-head {
  margin-bottom: 3.5rem;
}
.competency-section .section-head .eyebrow {
  margin-bottom: 0.6rem;
}
.competency-section .section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.competency-section .section-head .section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.competency-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}
.competency-layout--video-left  { grid-template-columns: 1fr 1.1fr; }
.competency-layout--video-right { grid-template-columns: 1.1fr 1fr; }

.comp-video-wrap {
  position: sticky;
  top: 7rem;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #0a0d14;
}
.comp-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  display: block;
}

.comp-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comp-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.comp-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.comp-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.comp-item h3 .lucide {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 1.8;
}
.comp-item p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.comp-full { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .competency-layout,
  .competency-layout--video-left,
  .competency-layout--video-right {
    grid-template-columns: 1fr;
  }
  .competency-layout--video-right .comp-video-wrap {
    order: -1;
  }
  .comp-video-wrap {
    position: relative;
    top: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ─── CTA Zentriert ───────────────────────────────────────────────────────────
 * Verwendet auf: Kernkompetenzen (Abschluss)
 */
.cta-section {
  padding: 5rem 0 6rem;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(0, 93, 161, 0.06) 50%, transparent);
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Intro-Band ──────────────────────────────────────────────────────────────
 * Verwendet auf: Die Unternehmen
 */
.intro-band {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.intro-band .intro-text {
  max-width: 780px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.75;
  color: var(--text-muted);
}
.intro-band .intro-text strong {
  color: var(--text-base);
  font-weight: 600;
}

/* ─── Unternehmens-Profil ─────────────────────────────────────────────────────
 * Verwendet auf: Die Unternehmen
 */
.company-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.company-section:last-of-type {
  border-bottom: none;
}

body:not(.home) .company-media {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a0d14;
  margin-bottom: 2.5rem;
}
body:not(.home) .company-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  display: block;
}
body:not(.home) .company-media-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
  margin-bottom: 2rem;
}
.company-header .eyebrow { margin-bottom: 0.5rem; }
.company-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}
.company-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.company-lead {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 1.2rem;
  border-left: 2px solid var(--brand-light);
  margin: 0;
  align-self: center;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.comp-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.8rem;
  padding: 1rem 1.1rem;
}
.comp-chip h4 {
  font-size:1.1rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.comp-chip h4 .lucide { width: 14px; height: 14px; stroke-width: 2; }
.comp-chip p {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .company-header { grid-template-columns: 1fr; gap: 1rem; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .comp-grid { grid-template-columns: 1fr; }
}

/* ─── Service-Versprechen ─────────────────────────────────────────────────────
 * Verwendet auf: Die Unternehmen
 */
.service-promise {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(0, 93, 161, 0.06) 0%, transparent 60%);
}
.promise-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.promise-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.promise-copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.promise-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.promise-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.promise-steps li .step-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 174, 226, 0.1);
  border: 1px solid rgba(0, 174, 226, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  margin-top: 0.1rem;
}
.promise-steps li .step-icon .lucide { width: 15px; height: 15px; stroke-width: 2; }
.promise-visual {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0a0d14;
}
.promise-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  display: block;
}

@media (max-width: 900px) {
  .promise-inner { grid-template-columns: 1fr; }
  .promise-visual { aspect-ratio: 16 / 9; }
}

/* ─── Warum-Grid ──────────────────────────────────────────────────────────────
 * Verwendet auf: Karriere
 */
.why-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.why-section .section-head {
  margin-bottom: 3rem;
}
.why-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.why-section .section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.8rem;
}
.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 174, 226, 0.1);
  border: 1px solid rgba(0, 174, 226, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  margin-bottom: 1.1rem;
}
.why-card-icon .lucide { width: 20px; height: 20px; stroke-width: 1.6; }
.why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.45rem; }
.why-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

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

/* ─── Stellen-Sektion ─────────────────────────────────────────────────────────
 * Verwendet auf: Karriere
 */
.jobs-section {
  padding: 5.5rem 0;
}
.jobs-section .section-head {
  margin-bottom: 2.5rem;
}
.jobs-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.jobs-section .section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}
.career-filter {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ─── Karriere-Slider ────────────────────────────────────────────────────────
 * Verwendet auf: Homepage (career_section) + Karriere (jobs_section)
 */
.career-slider-wrap {
  overflow: hidden;
  margin-inline: calc(-1 * max(calc((100vw - min(92vw, 1180px)) / 2), 4vw));
  padding-inline: max(calc((100vw - min(92vw, 1180px)) / 2), 4vw);
}
.career-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}
.career-slider::-webkit-scrollbar { display: none; }

.career-card {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.25s, background 0.25s;
}
.career-card:hover {
  border-color: rgba(0, 174, 226, 0.3);
  background: rgba(0, 174, 226, 0.04);
}
.career-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.career-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.career-pill--type {
  border-color: rgba(0, 174, 226, 0.4);
  color: var(--brand-light);
}
.career-card h3 {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.career-card h3 a { color: inherit; text-decoration: none; }
.career-card h3 a:hover { color: var(--brand-light); }
.career-card time {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.career-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-light);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
}
.career-card__cta:hover { opacity: 0.8; }

.career-card--more {
  flex: 0 0 min(220px, 70vw);
  background: rgba(0, 174, 226, 0.05);
  border: 1px solid rgba(0, 174, 226, 0.2);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-base);
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
  line-height: 1.4;
}
.career-card--more:hover {
  background: rgba(0, 174, 226, 0.1);
  border-color: rgba(0, 174, 226, 0.4);
}
.career-card--placeholder {
  flex: 0 0 min(300px, 80vw);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}
.more-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 174, 226, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
}

/* ─── Initiativbewerbung ──────────────────────────────────────────────────────
 * Verwendet auf: Karriere
 */
.initiative-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 93, 161, 0.06) 0%, transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.initiative-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.initiative-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.initiative-copy p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.initiative-visual {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0d14;
}
.initiative-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  display: block;
}

@media (max-width: 860px) {
  .initiative-inner { grid-template-columns: 1fr; }
  .initiative-visual { aspect-ratio: 16 / 9; }
}

/* ─── Kontakt-Sektion ─────────────────────────────────────────────────────────
 * Verwendet auf: Kontakt
 */
.contact-section {
  padding: 6rem 0 7rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-location {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
}
.contact-location-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.contact-location-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 174, 226, 0.1);
  border: 1px solid rgba(0, 174, 226, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  flex-shrink: 0;
}
.contact-location-icon .lucide { width: 16px; height: 16px; stroke-width: 2; }
.contact-location h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.contact-location address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-location address a {
  color: var(--brand-light);
  text-decoration: none;
}
.contact-location address a:hover { opacity: 0.8; }

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 2.5rem;
}
.contact-form-wrap h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.contact-form-wrap > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--text-base);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0, 174, 226, 0.5);
  background: rgba(0, 174, 226, 0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.form-group select option { background: #0d1219; color: var(--text-base); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.form-submit {
  width: 100%;
  justify-content: center;
}
.career-portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.form-notice {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}
.form-notice--success {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}
.form-notice--error {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ─── Promise-Streifen ────────────────────────────────────────────────────────
 * Verwendet auf: Kontakt
 */
.promise-strip {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(0, 93, 161, 0.05) 0%, transparent 60%);
}
.promise-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.promise-item .promise-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 174, 226, 0.1);
  border: 1px solid rgba(0, 174, 226, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  margin: 0 auto 1rem;
}
.promise-item .promise-icon .lucide { width: 22px; height: 22px; stroke-width: 1.6; }
.promise-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.promise-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .promise-strip-inner { grid-template-columns: 1fr; max-width: 380px; margin: auto; }
}

/* ─── Footer (Unterseiten-Variante) ──────────────────────────────────────────
 * Die --text-muted Variante wird nun durch :root-Alias oben abgedeckt.
 * Diese Regel stellt sicher dass .footer-links auch auf Unterseiten greift.
 */
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0;
  flex-wrap: wrap;
}
.footer-links li::marker{
 content: "";
} .footer-links li{
  margin: 0; padding: 0;
}
.footer-links a {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-base); }



/* ============================================================
   TEXT CONTENT – Datenschutz / Impressum
   ============================================================ */
.text-content-section {
  padding: 80px 0 100px;
}

.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--container-pad, 24px);
}

.text-content-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-base);
  line-height: 1.15;
}

/* WYSIWYG-Inhalt */
.text-content-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.text-content-body h2,
.text-content-body h3,
.text-content-body h4 {
  color: var(--text-base);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  line-height: 1.3;
}

.text-content-body h2 { font-size: 1.45rem; }
.text-content-body h3 { font-size: 1.2rem; }
.text-content-body h4 { font-size: 1rem; font-weight: 700; }

.text-content-body p  { margin-bottom: 1.2rem; }

.text-content-body a {
  color: var(--text-base);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-content-body a:hover { opacity: .75; }

.text-content-body ul,
.text-content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.text-content-body li { margin-bottom: .45rem; }

.text-content-body strong { color: var(--text-base); font-weight: 600; }

.text-content-body hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 2.5rem 0;
}

@media (max-width: 560px) {
  .text-content-section { padding: 56px 0 72px; }
  .text-content-heading { margin-bottom: 1.75rem; }
}

/* ─── YouTube-Video-Element (video_youtube) ──────────────────────────────────── */
.yt-section {
  padding: 72px 0 88px;
}
.yt-section__head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.yt-embed {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
}
.yt-embed__facade,
.yt-embed__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.yt-embed__iframe { background: #000; }

.yt-embed__facade {
  position: relative;
  padding: 0;
  cursor: pointer;
  background: #000;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.yt-embed__facade:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.yt-embed__facade:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 4px;
}
.yt-embed__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.yt-embed__facade:hover .yt-embed__poster {
  transform: scale(1.04);
  opacity: 0.9;
}
/* Subtle dark gradient so the play button always reads clearly */
.yt-embed__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5, 8, 15, 0.15), rgba(5, 8, 15, 0.55));
}
.yt-embed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-left: 4px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light));
  box-shadow: 0 18px 44px rgba(19, 100, 174, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.yt-embed__facade:hover .yt-embed__play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 22px 60px rgba(21, 186, 230, 0.55);
}
.yt-embed__caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-soft);
}

@media (max-width: 560px) {
  .yt-section { padding: 48px 0 60px; }
  .yt-embed__play { width: 66px; height: 66px; }
  .yt-embed__facade,
  .yt-embed__iframe { border-radius: 16px; }
}
