/* ── ViaCareer Theme ──────────────────────────────────────────────────────
   Dunkles Premium-Theme mit warmem Papier und grünem Akzent.
   Baut auf styles.css (Basis-Komponenten) auf und überschreibt Tokens.   */

:root {
  --ink: #171916;
  --blue: #22261f;
  --blue-deep: #0f120f;
  --orange: #2f7a5e;
  --orange-dark: #235c47;
  --paper: #f3f2ec;
  --white: #fffdf8;
  --muted: #6f6e66;
  --line: #d7d3c6;
  --mint: #6f8f7f;
  --amber: #b8863c;
  --red: #b84b43;
  --accent-light: #bcd8c6;
  --accent-mid: #9fc7ae;
}

body {
  background:
    radial-gradient(circle at top right, rgba(47, 122, 94, 0.13), transparent 28%),
    linear-gradient(180deg, #f6f4ec 0%, #f3f2ec 32%, #edeae0 100%);
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 18, 15, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.brand,
.main-nav,
.menu-toggle {
  color: #f7f5ee;
}

.brand {
  flex: 0 0 auto;
}

.brand-image {
  display: block;
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-image-full {
  height: 46px;
}

.brand-mark {
  border-radius: 3px;
  background: var(--orange);
  color: #fff;
}

.brand-light {
  font-weight: 500;
  color: var(--accent-light);
}

.main-nav a,
.site-footer a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--accent-light);
}

.nav-cta,
.hero .button-primary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-cta:hover,
.hero .button-primary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 640px;
  padding: 94px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 122, 94, 0.35), transparent 34%),
    linear-gradient(135deg, #0f120f 0%, #141a15 55%, #0f120f 100%);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto auto 0 0;
  width: min(30vw, 320px);
  height: min(30vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 122, 94, 0.24), transparent 70%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1,
.hero-copy .eyebrow,
.hero-copy .trust-list {
  color: #f7f5ee;
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-copy h1 em {
  color: var(--accent-light);
}

.hero-copy .eyebrow span {
  background: var(--accent-light);
}

.hero-copy .hero-text {
  color: #b9b8ae;
  text-wrap: pretty;
}

.hero-copy .trust-list {
  color: #b9b8ae;
}

.hero-copy .trust-list svg {
  color: var(--accent-mid);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 0;
  color: #f7f5ee;
}

.hero .button-secondary:hover {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

/* Lead-Card im dunklen Hero: Buttons wieder dunkel einfärben */
.hero .lead-card .button-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffdf8;
}

.hero .lead-card .button-primary:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

/* Consent-Checkbox in Formular-Karten: flex statt block */
.lead-card label.field-check,
.contact-card label.field-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.lead-card .field-check input,
.contact-card .field-check input {
  width: 17px;
  flex: none;
  margin-top: 3px;
}

/* ── Match-Card (Hero-Visual) ───────────────────────────────────────────── */

.match-stage {
  position: relative;
  padding: 34px 0 34px 42px;
}

.match-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(236, 234, 224, 0.98));
  box-shadow: 18px 18px 0 rgba(47, 122, 94, 0.72);
}

.match-window .report-bar {
  background: rgba(15, 18, 15, 0.06);
  color: #8b8a80;
}

.match-body {
  padding: 25px 27px 22px;
  backdrop-filter: blur(8px);
}

.match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-head p {
  margin: 0;
  color: #8b8a80;
  font-size: 12px;
}

.match-head strong {
  font: 600 17px var(--display);
}

.match-tag {
  padding: 3px 9px;
  background: rgba(47, 122, 94, 0.12);
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-row-main {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0;
}

.match-ring {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 89px;
  height: 89px;
  padding-top: 28px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 94%, #e6e4da 94%);
  color: var(--ink);
}

.match-ring::before {
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #fffdf8;
  content: "";
}

.match-ring b,
.match-ring small {
  z-index: 1;
}

.match-ring b {
  font: 700 27px var(--display);
}

.match-ring small {
  font-size: 10px;
}

.match-row-main h2 {
  margin: 4px 0 0;
  font-size: 19px;
  letter-spacing: -0.5px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid #e8e6dc;
  border-bottom: 1px solid #e8e6dc;
}

.skill-chips span {
  padding: 4px 10px;
  border: 1px solid #d3d0c2;
  background: #fffdf8;
  color: #4c4b43;
  font-size: 11px;
  font-weight: 600;
}

.match-facts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #4c4b43;
}

.match-facts div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-facts svg {
  width: 15px;
  color: var(--orange);
  flex: none;
}

.match-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding: 10px;
  background: rgba(47, 122, 94, 0.09);
  font-size: 11px;
}

.match-action b {
  font-size: 12px;
}

.match-action small {
  display: block;
  color: #5b6b60;
  font-size: 10px;
}

.match-action svg {
  width: 15px;
  margin-left: auto;
}

.match-action .action-number {
  background: var(--orange);
}

.floating-note {
  border-radius: 0;
  background: var(--accent-light);
  color: var(--ink);
}

.floating-note svg {
  color: var(--orange-dark);
}

.floating-note small {
  color: #4e5a50;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.problems {
  background: #fffdf8;
}

.problems .problem-card {
  border-color: #dedacd;
  border-radius: 0;
  box-shadow: none;
}

.problems .problem-card > svg,
.problems .card-number {
  color: var(--orange);
}

.modules,
.diff-band,
.final-cta,
.site-footer {
  background: #0f120f;
}

.modules .module-card {
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 0;
  background: transparent;
}

.modules .module-card:hover {
  border-color: var(--accent-mid);
  background: #1a201b;
}

.modules .module-icon {
  background: var(--accent-light);
  color: var(--orange-dark);
}

.modules .module-index,
.modules .eyebrow,
.diff-band .eyebrow,
.final-cta .eyebrow {
  color: var(--accent-light);
}

.modules .module-card p {
  color: #c2c8bd;
}

.process,
.faq-preview {
  background: #f3f2ec;
}

.steps li {
  border-color: #d7d3c6;
}

.steps li > span {
  color: var(--orange);
}

.steps {
  border-top-color: #d7d3c6;
}

/* ── Stats-Band ─────────────────────────────────────────────────────────── */

.stats-band {
  padding: 70px 0;
  background: var(--orange);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item b {
  display: block;
  font: 700 46px/1 var(--display);
  letter-spacing: -1.5px;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

/* ── Differenzierungs-Band (keine Zeitarbeit) ───────────────────────────── */

.diff-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 80px 0;
  color: #f7f5ee;
}

.diff-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.diff-grid h2 {
  margin-bottom: 14px;
  text-wrap: balance;
}

.diff-grid h2 em {
  color: var(--accent-light);
}

.diff-grid > div > p {
  color: #b9b8ae;
  text-wrap: pretty;
}

.diff-grid .button-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f7f5ee;
  margin-top: 10px;
}

.diff-grid .button-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.diff-table th,
.diff-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-table th {
  font: 700 13px var(--display);
  letter-spacing: 0.02em;
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.04);
}

.diff-table td {
  color: #d8d8ce;
}

.diff-table td:last-child {
  color: #f7f5ee;
  font-weight: 600;
}

.diff-table tr:last-child td {
  border-bottom: 0;
}

.diff-table .yes {
  color: var(--accent-mid);
}

.diff-table .no {
  color: #8a8a80;
}

/* ── Lead-/CTA-Bereich ──────────────────────────────────────────────────── */

.report-lead {
  background: #e3e4d8;
}

.report-lead-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.report-lead h2 {
  margin: 8px 0 18px;
  font-size: 42px;
  text-wrap: balance;
}

.report-lead h2 em {
  color: var(--orange);
}

.report-lead > div > p:last-child {
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
}

.lead-card {
  padding: 32px;
  border: 1px solid #cfd2c2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 10px 10px 0 #c2c9b4;
}

.lead-card-label {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-card h3 {
  margin: 0 0 24px;
  font-size: 24px;
}

.lead-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.lead-card input,
.lead-card select,
.lead-card textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid #b8beb2;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  background: #fffdf8;
}

.lead-card input:focus,
.lead-card select:focus,
.lead-card textarea:focus {
  outline: 2px solid #8db4a0;
  border-color: var(--blue);
}

.lead-card small {
  display: block;
  margin-top: 12px;
  color: #655f57;
  font-size: 12px;
}

/* ── Final CTA ──────────────────────────────────────────────────────────── */

.final-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.final-cta::before {
  position: absolute;
  inset: auto auto 0 0;
  width: min(30vw, 320px);
  height: min(30vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 122, 94, 0.24), transparent 70%);
  content: "";
  pointer-events: none;
}

.final-cta {
  position: relative;
}

.final-cta h2 em {
  color: var(--accent-light);
}

.final-cta .button-primary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f7f5ee;
}

.final-cta .button-primary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.final-cta > div > p:not(.eyebrow) {
  color: #c2c8bd;
}

/* ── Unterseiten ────────────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0 67px;
  background:
    linear-gradient(135deg, rgba(15, 18, 15, 0.98), rgba(24, 27, 22, 0.95)),
    radial-gradient(circle at top right, rgba(47, 122, 94, 0.22), transparent 26%);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.page-hero h1,
.page-hero .eyebrow,
.page-hero .breadcrumb {
  color: #f7f5ee;
}

.page-hero h1 {
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--accent-light);
}

.page-hero .eyebrow span {
  background-color: var(--accent-light);
}

.page-hero p:last-child,
.breadcrumb a {
  color: #b9b8ae;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  padding-bottom: 8px;
}

.content-section {
  background: var(--paper);
}

.content-section:nth-of-type(even) {
  background: rgba(255, 253, 248, 0.58);
}

.content-section p,
.content-section li {
  text-wrap: pretty;
}

.check-list svg {
  color: var(--orange);
}

.article-card,
.contact-card,
.quote-card {
  border: 1px solid rgba(47, 122, 94, 0.16);
  border-color: #d7d3c6;
  border-radius: 0;
  box-shadow: 0 22px 55px rgba(23, 25, 22, 0.06);
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(10px);
}

.article-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.article-card > svg,
.article-card .text-link {
  color: var(--orange);
}

.contact-card,
.quote-card {
  position: relative;
  overflow: hidden;
}

.contact-card {
  border-top: 3px solid var(--orange);
}

.contact-card input,
.contact-card textarea,
.contact-card select {
  border-color: #cfcabb;
  border-radius: 0;
  background: #fffdf8;
}

.contact-card {
  padding: 32px;
}

.contact-card label:not(.field-check) {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.contact-card input:not([type="checkbox"]),
.contact-card textarea,
.contact-card select {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid #cfcabb;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus {
  outline: 2px solid #8db4a0;
  border-color: var(--blue);
}

.contact-card small {
  display: block;
  margin-top: 12px;
  color: #655f57;
  font-size: 12px;
}

.content-section .button-primary,
.contact-card .button-primary {
  border-radius: 0;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.content-section .button-primary:hover,
.contact-card .button-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.callout {
  border-radius: 0;
  border-left-color: var(--orange);
  background: #e8ece2;
  color: var(--ink);
}

.page-hero + .content-section .container > h2:first-child,
.content-section > .container > h2:first-child {
  max-width: 760px;
}

/* ── Quotes / Testimonials ──────────────────────────────────────────────── */

.quote-card {
  padding: 28px;
}

.quote-card blockquote {
  margin: 0 0 18px;
  font: 500 18px/1.5 var(--display);
  letter-spacing: -0.3px;
  color: var(--ink);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 700 14px var(--display);
  flex: none;
}

.quote-card figcaption b {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

/* ── Tabellen ───────────────────────────────────────────────────────────── */

.table-wrap {
  border: 1px solid rgba(47, 122, 94, 0.16);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 22px 55px rgba(23, 25, 22, 0.06);
}

.comparison-table th {
  background: #ecefe4;
  color: var(--ink);
}

.comparison-table th,
.comparison-table td {
  border-bottom-color: var(--line);
}

/* ── Karten-Interaktionen ───────────────────────────────────────────────── */

.problem-card,
.module-card,
.article-card,
.quote-card,
.contact-card,
.accordion details {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.problem-card::before,
.article-card::before,
.quote-card::before,
.contact-card::before,
.accordion details::before,
.module-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 122, 94, 0.9), rgba(47, 122, 94, 0));
  content: "";
}

.problem-card:hover,
.article-card:hover,
.quote-card:hover,
.module-card:hover,
.contact-card:hover,
.accordion details:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(23, 25, 22, 0.1);
}

.accordion {
  border-top-color: #d7d3c6;
}

.accordion details {
  border-bottom-color: #d7d3c6;
  border-radius: 0;
}

.accordion details[open] {
  border-color: rgba(47, 122, 94, 0.42);
  background: #fffdf8;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 122, 94, 0), rgba(47, 122, 94, 0.75), rgba(47, 122, 94, 0));
  content: "";
}

.site-footer p,
.site-footer small,
.site-footer .footer-bottom,
.site-footer a {
  color: rgba(247, 245, 238, 0.8);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fffdf8;
  opacity: 1;
}

.site-footer .brand-mark {
  background: var(--orange);
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* ── Formular-Feedback ──────────────────────────────────────────────────── */

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

.contact-feedback {
  margin-top: 14px;
  min-height: 1.4em;
  font-size: 14px;
}

.contact-feedback-success {
  color: #1d5c40;
  background: #eef7f0;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
}

.contact-feedback-error {
  color: #7c2d2d;
  background: #fef2f2;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
}

button:disabled,
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-copy {
    max-width: none;
  }

  .content-grid,
  .report-lead-grid,
  .faq-grid,
  .process-grid,
  .diff-grid,
  .contact-grid {
    gap: 32px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    background: #0f120f;
  }

  .main-nav {
    background: #0f120f;
  }

  .hero {
    min-height: 0;
    padding: 70px 0;
  }

  .match-stage {
    padding: 12px 0 34px;
  }

  .match-window {
    box-shadow: 8px 8px 0 rgba(47, 122, 94, 0.72);
  }

  .report-lead-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .report-lead h2 {
    font-size: 34px;
  }

  .lead-card {
    padding: 24px;
    box-shadow: 6px 6px 0 #c2c9b4;
  }

  .stat-item b {
    font-size: 36px;
  }

  .problem-card:hover,
  .article-card:hover,
  .quote-card:hover,
  .module-card:hover,
  .contact-card:hover,
  .accordion details:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .match-body {
    padding: 20px;
  }

  .match-window {
    font-size: 90%;
  }
}
