/* =========================================================
   Mein Zuhause – Massivhaus | Karriereseite
   Design: "Massivhaus Precision" – Corporate / Architektonisch
   Tiefes Marineblau, viel Weißraum, flache Tonflächen, Inter
   ========================================================= */

:root {
  /* ---- Farben (Stitch "Massivhaus Precision") ----
     Master-Navy der Landingpage (#1E2F51 → #183054 → #0F172A) als verbindliche Grundlage. */
  --primary-soft:       #1E2F51;   /* helle Verlaufsstufe (Landingpage-Navy) */
  --primary:            #0F172A;   /* tiefes Marineblau – Master-Navy der Landingpage */
  --primary-container:  #183054;   /* mittleres Marineblau – Master-Navy der Landingpage */
  --on-primary:         #ffffff;
  --on-primary-container:#7687b2;  /* gedämpftes Blau auf dunkel */
  --accent:             #597fff;   /* Blau-Akzent (sparsam) */

  --surface:            #f8f9fa;   /* heller Seiten-Hintergrund */
  --surface-low:        #f3f4f5;
  --surface-container:  #edeeef;
  --surface-high:       #e7e8e9;
  --white:              #ffffff;   /* surface-container-lowest */

  --ink:                #191c1d;   /* on-surface – Fließtext */
  --ink-variant:        #44464e;   /* on-surface-variant */
  --secondary:          #5f5e5e;   /* Sekundärtext */
  --outline:            #75777f;
  --outline-variant:    #c5c6cf;   /* feine 1px-Kanten */

  /* ---- Schatten (ambient, sehr niedrige Deckkraft) ---- */
  --shadow-sm: 0 1px 2px rgba(25, 28, 29, 0.04), 0 2px 8px rgba(25, 28, 29, 0.03);
  --shadow-md: 0 8px 30px rgba(10, 31, 68, 0.06);
  --shadow-lg: 0 30px 80px rgba(0, 8, 30, 0.12);

  /* ---- Radius (soft: 0.25rem-Sprache) ---- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 9999px;

  /* ---- Layout ---- */
  --container: 1280px;
  --margin: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  line-height: 1.1;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--margin);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Primär: massives Marineblau, weiße Schrift */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 8, 30, 0.18);
}
.btn-primary:active { transform: scale(0.98); }

/* Ghost (auf hellem Hero-Bild): 1px-Kontur, dunkle Schrift */
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary);
  border-color: var(--outline-variant);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Sekundär auf hellem Grund: outline */
.btn-ghost-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost-dark:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: var(--on-primary);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  color: var(--secondary);
  font-weight: 600;
}
.brand-light .brand-mark { background: var(--white); color: var(--primary); }
.brand-light .brand-text strong { color: var(--on-primary); }
.brand-light .brand-text small { color: var(--on-primary-container); }

/* ---------- Header (immer hell, mit feiner Unterkante) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(248, 249, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 198, 207, 0.4);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease);
}
.site-header.scrolled {
  padding: 11px 0;
  background: rgba(248, 249, 250, 0.95);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  position: relative;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--secondary);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.is-active {
  color: var(--primary);
  font-weight: 600;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-nav { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (helles Overlay, dunkle Typo) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--primary);
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("./assets/karriere-bg.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(248, 249, 250, 0.78) 38%,
    rgba(248, 249, 250, 0.30) 72%,
    rgba(248, 249, 250, 0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 90px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 26px;
  padding: 7px 16px;
  border: 1px solid rgba(0, 8, 30, 0.2);
  border-radius: var(--r-pill);
  background: rgba(0, 8, 30, 0.06);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-variant);
  max-width: 540px;
  margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid rgba(0, 8, 30, 0.4);
  border-radius: var(--r-pill);
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   HERO (Split-Layout, Logik der Leistungsseite) + TRUST-OVERLAP
   Aufbau wie .lp-hero / .lp-trust auf der Leistungsseite:
   1. .kar-hero        = Wrapper, overflow:hidden
   2. .kar-hero__img   = absolut, rechte Seite = Bild
   3. .kar-hero__panel = Strukturelement + clip-path Schräge
   4. .kar-hero__content = Textinhalt innerhalb der sicheren Zone
   5. .kar-trust       = überlappende, helle Trust-Karte darunter
   ============================================================ */
.kar-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 48%),
    linear-gradient(145deg, var(--primary-soft) 0%, var(--primary-container) 50%, var(--primary) 100%);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.kar-hero__img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 72%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.kar-hero__panel {
  position: relative;
  z-index: 2;
  width: 62%;
  min-height: 580px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 48%),
    linear-gradient(145deg, var(--primary-soft) 0%, var(--primary-container) 50%, var(--primary) 100%);
  clip-path: polygon(0 0, 100% 0, 79% 100%, 0 100%);
  display: flex;
  align-items: center;
}
.kar-hero__content {
  padding: 110px clamp(36px, 3.5vw, 52px) 90px clamp(64px, 6.5vw, 96px);
  max-width: 600px;
  color: var(--white);
}
.kar-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 24px;
}
.kar-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}
.kar-hero__headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 700;
  margin: 0 0 22px;
}
.kar-hero__sub {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 36px;
  max-width: 42ch;
}
.kar-hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.kar-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.kar-hero__btn--solid {
  background: var(--white);
  color: var(--primary-container);
  border: 1px solid var(--white);
}
.kar-hero__btn--solid:hover { background: rgba(255,255,255,0.88); }
.kar-hero__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.42);
}
.kar-hero__btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

@media (max-width: 899px) {
  .kar-hero__img { width: 100%; opacity: 0.18; }
  .kar-hero__panel { width: 100%; min-height: 540px; clip-path: none; }
  .kar-hero__content { padding: 120px 20px 80px; max-width: 100%; }
  .kar-hero__actions { flex-direction: column; align-items: center; }
  .kar-hero__btn { justify-content: center; width: 100%; max-width: 340px; }
}

/* ---- Trust-Karte: heller, überlappender Übergang Hero → Inhalt ---- */
.kar-trust {
  position: relative;
  z-index: 5;
  padding: 0 20px;
  margin-top: -48px;
}
@media (min-width: 900px) {
  .kar-trust { padding: 0 64px; }
}
.kar-trust__card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(24, 48, 84, 0.13);
  border: 1px solid rgba(24, 48, 84, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 40px;
}
.kar-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 0 20px;
}
.kar-trust__item + .kar-trust__item {
  border-left: 1px solid rgba(24, 48, 84, 0.12);
}
.kar-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-container);
  margin-bottom: 2px;
}
.kar-trust__icon svg { width: 26px; height: 26px; }
.kar-trust__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.kar-trust__text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--secondary);
}

@media (max-width: 899px) {
  .kar-trust { margin-top: -32px; padding: 0 12px; }
  .kar-trust__card { grid-template-columns: repeat(2, 1fr); padding: 20px 12px; gap: 18px 0; }
  .kar-trust__item { padding: 0 16px; }
  .kar-trust__item:nth-child(2n+1) { border-left: none !important; }
  .kar-trust__item:nth-child(n+3) { border-top: 1px solid rgba(24, 48, 84, 0.12); padding-top: 18px; }
}

/* ---------- Section base ---------- */
.section { padding: 120px 0; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.section-title span { color: var(--secondary); font-weight: 500; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--secondary); margin-bottom: 32px; }
.lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Job Intro ---------- */
.job-intro { background: var(--surface); }
.job-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--outline-variant);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--r-pill);
  background: rgba(0, 8, 30, 0.05);
  color: var(--primary);
  margin-bottom: 18px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.benefit p { font-size: 0.92rem; color: var(--secondary); line-height: 1.55; }

/* ---------- Cards ---------- */
.cards-section { background: var(--surface-low); border-top: 1px solid rgba(197,198,207,0.3); border-bottom: 1px solid rgba(197,198,207,0.3); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--white);
  border: 1px solid var(--outline-variant);
  border-radius: var(--r-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  background: rgba(0, 8, 30, 0.05);
  color: var(--primary);
  margin-bottom: 26px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 22px; }

/* Hervorgehobene Karte: massives Marineblau */
.card-highlight {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 48%),
    linear-gradient(145deg, var(--primary-soft) 0%, var(--primary-container) 50%, var(--primary) 100%);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.card-highlight h3 { color: var(--on-primary); }
.card-highlight .card-icon { background: rgba(255,255,255,0.1); color: var(--on-primary); }
.card-highlight .check-list li { color: rgba(255,255,255,0.92); border-top-color: rgba(255,255,255,0.12); }

.check-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--ink);
  border-top: 1px solid var(--outline-variant);
}
.check-list li:first-child { border-top: none; padding-top: 0; }
.check-list li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0, 8, 30, 0.06)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 4 4 10-10' stroke='%2300081e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  margin-top: 1px;
}
.card-highlight .check-list li::before {
  background-color: rgba(255,255,255,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 4 4 10-10' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Ansprechpartner ---------- */
.contact-section { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.contact-person { position: relative; }
.contact-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-card {
  position: absolute;
  z-index: 3;
  top: -24px; left: -24px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 26px 30px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-width: 330px;
}
.contact-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-primary-container);
  margin-bottom: 8px;
  font-weight: 700;
}
.contact-card h3 { color: var(--on-primary); font-size: 1.45rem; font-weight: 600; margin-bottom: 16px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  word-break: break-word;
  transition: color 0.2s var(--ease);
}
.contact-line:hover { color: var(--on-primary); }
.contact-line svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--on-primary-container); }

.trust-list { margin: 8px 0 36px; }
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--outline-variant);
}
.trust-list li:last-child { border-bottom: none; }
.trust-icon {
  flex: 0 0 36px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
}
.trust-icon svg { width: 19px; height: 19px; }
.trust-list strong { display: block; font-size: 1.02rem; font-weight: 600; color: var(--primary); }
.trust-list span { font-size: 0.92rem; color: var(--secondary); }
.contact-text-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer (massives Marineblau) ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-tagline { margin: 22px 0 24px; font-size: 0.95rem; line-height: 1.65; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  color: var(--on-primary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col address { font-style: normal; line-height: 1.9; font-size: 0.95rem; }
.footer-links li { padding: 5px 0; }
.footer-links a { font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--on-primary); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  color: var(--on-primary);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-icons a:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.social-icons svg { width: 21px; height: 21px; }

.creditreform-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
}
.cr-check {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1f9d55;
  color: var(--on-primary);
}
.cr-check svg { width: 18px; height: 18px; }
.cr-text { display: flex; flex-direction: column; line-height: 1.2; }
.cr-text strong { color: var(--on-primary); font-size: 0.95rem; font-weight: 600; }
.cr-text small { font-size: 0.78rem; color: var(--on-primary-container); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-align: center; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --margin: 40px; }
}
@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr; gap: 50px; }
  .cards { grid-template-columns: 1fr; gap: 22px; max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 80px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --margin: 20px; }
  .section { padding: 80px 0; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 100px 24px 40px;
    background: var(--primary);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: rgba(255,255,255,0.85); font-size: 1.08rem; padding: 14px 18px; }
  .main-nav a:hover, .main-nav a.is-active { color: var(--on-primary); }
  .main-nav a.is-active::after { display: none; }

  .hero-inner { padding-top: 40px; }
  .hero-cta .btn { flex: 1 1 auto; }

  .benefits { grid-template-columns: 1fr 1fr; }
  .contact-card { position: static; max-width: none; margin-bottom: 18px; top: 0; left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr; }
  .card { padding: 34px 26px; }
}

/* ============================================================
   NÄCHSTER SCHRITT — Abschluss-CTA (1:1 nach dem Vorbild von
   Über uns/Referenzen/Leistungen ".uu-next-step" / ".referenzen-next-step"
   übertragen, eigener Klassen-Namespace ".kar-next-step".) Nutzt
   ausschließlich die bestehenden Farbtokens dieser Seite (--primary*,
   --secondary, --outline-variant, --white, --surface), keine neue Farbwelt.
   ============================================================ */
.kar-next-step { padding: 88px 0 96px; background: var(--surface); border-top: 1px solid var(--outline-variant); }

.kar-next-step__header { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.kar-next-step__header h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 700; color: var(--primary-container); margin: 0 0 14px; line-height: 1.2;
}
.kar-next-step__header p { font-size: 15.5px; line-height: 1.65; color: var(--secondary); margin: 0; }

.kar-next-step__options {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; margin-bottom: 48px;
}
.kar-next-step-card {
  background: var(--white); border: 1px solid var(--outline-variant); border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 40px 40px 36px; display: flex; flex-direction: column;
  position: relative;
}
.kar-next-step-card__icon {
  font-size: 26px; color: var(--primary-container);
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(24, 48, 84, 0.08); margin-bottom: 22px;
}
.kar-next-step-card__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700;
  color: var(--primary-container); margin: 0 0 12px; line-height: 1.25;
}
.kar-next-step-card__text { font-size: 14.5px; line-height: 1.65; color: var(--secondary); margin: 0; }
.kar-next-step-card__divider { display: block; height: 1px; background: var(--outline-variant); margin: 28px 0 24px; }
.kar-next-step-card__list {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.kar-next-step-card__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--primary-container); }
.kar-next-step-card__list .material-symbols-outlined { font-size: 19px; color: var(--primary-container); opacity: .55; }
.kar-next-step-card__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; text-decoration: none;
  background: var(--primary-container); color: var(--white); border: 1px solid var(--primary-container);
  transition: background .25s var(--ease), color .25s var(--ease), transform .15s var(--ease), border-color .25s var(--ease);
}
.kar-next-step-card__button .material-symbols-outlined { font-size: 18px; }
.kar-next-step-card__button:hover { background: var(--primary); transform: translateY(-1px); }
.kar-next-step-card__button--ghost { background: transparent; color: var(--primary-container); border: 1px solid var(--outline-variant); }
.kar-next-step-card__button--ghost:hover { border-color: var(--primary-soft); background: rgba(24, 48, 84, 0.08); transform: translateY(-1px); }
.kar-next-step-card__button--quiz { background: #d97706; border-color: transparent; box-shadow: 0 3px 10px rgba(180,83,9,0.24); }
.kar-next-step-card__button--quiz:hover { background: #b45309; transform: translateY(-1px); box-shadow: 0 5px 16px rgba(180,83,9,0.32); }

.kar-next-step__trust {
  list-style: none; margin: 0; padding: 28px 36px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  background: var(--white); border: 1px solid var(--outline-variant); border-radius: 18px;
}
.kar-next-step__trust-item { display: flex; align-items: flex-start; gap: 14px; padding-left: 28px; border-left: 1px solid var(--outline-variant); }
.kar-next-step__trust-item:first-child { padding-left: 0; border-left: none; }
.kar-next-step__trust-item .material-symbols-outlined { font-size: 22px; color: var(--primary-container); opacity: .55; margin-top: 2px; }
.kar-next-step__trust-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--primary-container); margin-bottom: 4px; }
.kar-next-step__trust-item p { font-size: 13.5px; line-height: 1.55; color: var(--secondary); margin: 0; }

@media (max-width: 900px) {
  .kar-next-step__options { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kar-next-step { padding: 64px 0 72px; }
  .kar-next-step-card { padding: 30px 26px 28px; }
  .kar-next-step-card__button { width: 100%; }
  .kar-next-step__trust { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px; border-radius: 16px; }
  .kar-next-step__trust-item { padding-left: 0; border-left: none; padding-top: 22px; border-top: 1px solid var(--outline-variant); }
  .kar-next-step__trust-item:first-child { padding-top: 0; border-top: none; }
}
