/* tweaks.css — Wärme + Typografie-Anpassungen 2026-10-20 */

/* ── Prose: strukturierter Fliesstext (Datenschutz, Impressum) ── */
.prose { line-height: 1.8; color: var(--text); }
.prose h2 { font-size: var(--t-h3); font-weight: 700; margin: 2.2rem 0 0.5rem; color: var(--navy); }
.prose h3 { font-size: var(--t-sm); font-weight: 700; margin: 1.4rem 0 0.35rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.prose p  { margin-bottom: 0.9rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 0.9rem; }
.prose ul li { margin-bottom: 0.3rem; }
.prose a  { color: var(--gold); text-decoration: underline; }

/* ── Typografie: UI-Elemente bleiben Montserrat ─────────────── */
/* Libre Baskerville (--f-display) gilt nur für grosse Überschriften.
   Nav, Labels, Zahlen, Karten-Headings, Buttons → Montserrat (--f-ui). */

.nav-logo span,
.nav-links a,
.nav-contact,
.btn,
.btn-text,
.btn-inv,
.hero-eyebrow,
.page-hero-eyebrow,
.section-eyebrow,
.stat-val,
.stat-lbl,
.num-block .val,
.num-block .lbl,
.partner-name,
.partner-note,
.quote-name,
.quote-title,
.testimonial-name,
.testimonial-role,
.faq-item summary,
.form-group label,
.form-success h3,
.about-fact-label,
.about-fact-val,
.page-hero .breadcrumb,
.footer-col h4,
.footer-col ul,
.footer-bottom,
.news-card-date,
.news-card h3,
.news-article-date,
.service-num,
.service-item h3,
.step-num,
.step-body h3,
.industry-card h3,
.industry-name,
.ref-logo-chip,
.ref-full-card .cite-name,
.job-open-card h3,
.jobs-channel h3,
.job-tile-title,
.job-tile-meta,
.academy-card h3,
.news-preview-title,
.badge {
  font-family: var(--f-ui) !important;
}

/* Grosse h2-Überschriften in Sektionen → Libre Baskerville, leichter */
.split-cell h2,
.dark-section h2,
.quotes-band h2,
.testimonials-band h2,
.faq-section > .inner > h2,
.about-section h2,
.industries-band h2,
.news-section h2,
.section-header-row h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* CTA h2: bleibt Serif, aber etwas kleiner und normal weight */
.cta-half h2 {
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Zahlen: Montserrat Bold, tighter */
.num-block .val,
.stat-val {
  font-family: var(--f-ui) !important;
  font-weight: 800 !important;
}

/* ── Header: dunkel navy ────────────────────────────────────── */
/* Dunkler Header — weisses Logo ohne Filter */
.site-header {
  background: #1a2342 !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18) !important;
}
.nav {
  border-bottom: none !important;
}
/* Nav-Links weiss (Desktop-Header navy) */
.nav-links a,
.nav-contact {
  color: rgba(255,255,255,0.85) !important;
}
.nav-links a:hover,
.nav-contact:hover {
  color: #fff !important;
}
/* Hamburger weiss */
.nav-toggle {
  color: #fff !important;
}
/* Mobile-Dropdown: navy Hintergrund, weisse Links lesbar */
@media (max-width: 720px) {
  .nav.open .nav-links {
    background: #1a2342 !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
  }
  .nav.open .nav-links a {
    color: rgba(255,255,255,0.9) !important;
  }
}

/* ── Nav Login-Button ───────────────────────────────────────── */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--f-ui) !important;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-login:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
}
@media (max-width: 720px) {
  .nav-login { display: none; }
}

/* ── Logo ───────────────────────────────────────────────────── */
/* Weisses Logo auf dunklem Hintergrund via filter+screen-blend */
.site-header .nav-logo {
  background: none;
  border-radius: 0;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img--header {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.92;
}
/* Footer-Logo analog */
.site-footer .nav-logo {
  background: none;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.8rem;
}
.logo-img--footer {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.88;
}

/* ── Kontrast-Fix: eyebrow-Texte dunkler (WCAG AA) ──────────── */
/* --text-muted (#8896a4) hat nur ~3.1:1; --text-mid (#4a5568) ~7:1 */
.section-eyebrow,
.page-hero-eyebrow {
  color: var(--text-mid) !important;
}
/* Footer-Links (tel/mailto) auf navy-Hintergrund: genug Kontrast */
.site-footer a[href^="tel:"],
.site-footer a[href^="mailto:"] {
  color: rgba(255,255,255,0.9) !important;
}

/* ── Footer-Kontrast (WCAG AA) ───────────────────────────────── */
.footer-bottom-copy,
.footer-bottom-links a {
  color: rgba(255,255,255,0.75) !important;
}

/* ── Footer-Label (ersetzt h4, vermeidet Heading-Hierarchie-Fehler) ─ */
.footer-col-label {
  font-family: var(--f-ui) !important;
  font-size: var(--t-sm);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

/* ── CLS-Prävention: Hero-CTA Platz reservieren ─────────────── */
.hero-ctas {
  align-items: flex-start !important;
}
.hero-ctas .btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
}
.cta-band .btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.82rem !important;
}
/* Inactive service tile */
.split-cell-service-inactive {
  opacity: 0.45;
  pointer-events: none;
}
.split-cell-service-inactive .split-cell-service-name { color: var(--text-mid); }

/* ── Hero: Firmenname über Eyebrow ──────────────────────────── */
.hero-company {
  font-family: var(--f-ui) !important;
  font-size: var(--t-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.75) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

/* ── Gold-Buttons ────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.18s, transform 0.12s;
  background: var(--gold) !important;
  color: #fff !important;
  border: 2px solid var(--gold) !important;
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  background: transparent !important;
  color: var(--gold) !important;
  border: 2px solid var(--gold) !important;
}
.btn-gold-outline:hover {
  background: var(--gold) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* btn-primary / btn-inv: original site.css-Farben bleiben erhalten */

/* ── GPG Alumni: dunkler Hintergrund (quotes-band) ───────────── */
/* Die quote-cards haben weisse Schrift, section-warm wäre hell → Kontrastproblem.
   Alumni-Sektion bekommt deshalb navy-Hintergrund wie quotes-band. */
.quotes-band.section-warm {
  background: #1a2342 !important;
}
.quotes-band.section-warm .section-sub {
  color: rgba(255,255,255,0.65) !important;
}

/* ── Split-Cell Service-Kacheln ──────────────────────────────── */
.split-cell-services {
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.split-cell-services li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 0.55rem 0.9rem;
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.split-cell-services li:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}
.split-cell-service-name {
  font-family: var(--f-ui) !important;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.1rem;
  line-height: 1.3;
  text-decoration: none;
  display: block;
}
a.split-cell-service-name::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
a.split-cell-service-name:hover { color: var(--accent); }

/* Sync split-cell intro heights (JS adds min-height) */
.split-cell { display: flex; flex-direction: column; }
.split-cell-intro { flex: 0 0 auto; }
.split-cell-service-teaser {
  font-size: 0.75rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.4;
}

/* Account-Badge in Jobsuchende-Kachel */
.split-cell-account-badge {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin: 0.5rem 0 0.2rem;
  padding: 0.4rem 0.7rem;
  background: rgba(189,160,6,0.08);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.split-cell-account-badge strong { color: var(--text); }

/* ── Gold-Akzent ────────────────────────────────────────────── */
.num-block {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.stat {
  border-left: 2px solid var(--gold);
  padding-left: 0.8rem;
}

/* Hintergründe leicht wärmer */
:root {
  --bg:        #faf9f7;    /* statt #ffffff — leicht cremig */
  --bg-warm:   #f4f1ec;    /* etwas wärmer als zuvor */
  --bg-warm-2: #ebe6dd;
  --border:    #e0ddd8;
  --border-warm: #d0cdc6;
}

/* Hero-Placeholder wärmer */
.hero-photo .photo-placeholder {
  background: var(--bg-warm-2);
}

/* Quote-Karten: Schatten etwas weicher */
.quote-card,
.testimonial-card {
  box-shadow: 0 2px 12px rgba(26,35,66,0.06);
}

/* Job-Tiles: wärmerer Hovereffekt */
.job-tile:hover {
  background: var(--bg-warm);
  border-color: var(--border-warm);
}

/* Academy-Karten: leichter Schatten */
.academy-card {
  box-shadow: 0 1px 8px rgba(26,35,66,0.05);
}

/* News-Vorschau-Karten */
.news-preview-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(26,35,66,0.06);
  border: 1px solid var(--border);
}
.news-preview-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.news-preview-card-body {
  padding: 1.4rem 1.5rem;
}

/* ── News-Artikel: Bilder ── */
.news-article-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  margin-bottom: 1.2rem;
}
.news-article-img--full {
  max-height: none;
  object-fit: unset;
  border-radius: 6px;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* ── Job-Tiles: Karten-Design (inspiriert von digitalstellen.ch) ── */
.job-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
  margin-bottom: 0.75rem;
}
.job-tile:hover {
  box-shadow: 0 4px 16px rgba(26,35,66,0.1);
  border-color: var(--border-warm);
  transform: translateY(-1px);
  background: #fff;
}
.job-tile-title {
  font-family: var(--f-ui) !important;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.3;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.job-tile-teaser {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin: 0 0 0.6rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-tile-meta {
  font-family: var(--f-ui) !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
}
.job-tile-meta-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.job-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.job-tile-tag {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
  background: var(--bg-warm);
  color: var(--text-mid);
  border: none;
}
/* IT-Funktionen (wie digitalstellen.ch) */
.job-tile-tag--fn1 { background: #e6ecf7; color: #34517d; }
.job-tile-tag--fn2 { background: #e2f2ef; color: #1f7a68; }
.job-tile-tag--fn3 { background: #f8e8ea; color: #a13d52; }
.job-tile-tag--fn4 { background: #efe7f8; color: #6b4a9c; }
.job-tile-tag--fn5 { background: #f8eeda; color: #96692a; }
.job-tile-tag--fn6 { background: #fde8e4; color: #8f4535; }
.job-tile-tag--fn7 { background: #f8e7f1; color: #9c3d76; }
.job-tile-tag--fn8 { background: #e6f3e4; color: #3f8a4a; }
/* Pflege / sonstige Funktionen */
.job-tile-tag--fn  { background: #edf6f1; color: #2e7355; }
/* Kantone / Regionen */
.job-tile-tag--region { background: #faf0e4; color: #6b5f51; }
/* Aktualitäts-Tag */
.job-tile-tag--fresh  { background: #e8f0fd; color: #2c4fa3; }

/* ── Service-Kacheln (Jobsuchende / Arbeitgeber) ─────────────── */
.service-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.service-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-tile:hover {
  box-shadow: 0 4px 18px rgba(26,35,66,0.09);
  transform: translateY(-2px);
}
.service-tile-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-warm);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
}
.service-tile h3 {
  font-family: var(--f-ui) !important;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.service-tile p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.service-tile .btn-text {
  font-size: 0.78rem;
  margin-top: 0.4rem;
}
@media (max-width: 640px) {
  .service-tiles-grid { grid-template-columns: 1fr; }
}

/* ── Partner-Logos Grid ─────────────────────────────────────── */
.partners-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.3) opacity(0.85);
  transition: filter 0.2s;
}
.partner-logo-img:hover { filter: grayscale(0) opacity(1); }
.partner-logo-item--text {
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 640px) {
  .partners-logos-grid { gap: 1.5rem; }
  .partner-logo-img { max-height: 40px; max-width: 120px; }
}

/* Hero-Bild */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Work@Goldwyn Bildgalerie */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: var(--gap-lg);
}
.work-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 640px) {
  .work-gallery { grid-template-columns: 1fr; }
}

/* ── Hero: vollflächig mit Gradient-Überlagerung ─────────────── */
.hero {
  position: relative !important;
  display: block !important;
  min-height: 420px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,35,66,0.72) 0%,
    rgba(26,35,66,0.55) 45%,
    rgba(26,35,66,0.18) 75%,
    rgba(26,35,66,0.02) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 5rem var(--gap-md);
  display: flex;
  align-items: center;
}
/* Text auf dunklem Overlay: weiss */
.hero-text {
  max-width: 560px;
  z-index: 1;
}
.hero-eyebrow  { color: rgba(255,255,255,0.7)  !important; }
.hero-h1       { color: #fff !important; }
.hero-sub      { color: rgba(255,255,255,0.82) !important; }
.hero-stats .stat-val,
.hero-stats .stat-val span { color: #fff !important; }
.hero-stats .stat-lbl      { color: rgba(255,255,255,0.7) !important; }
.hero-stats .stat          { border-color: var(--gold) !important; }
/* Sekundärer CTA-Button weiss */
.hero-ctas .btn-secondary {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
  background: transparent !important;
}
.hero-ctas .btn-secondary:hover {
  background: rgba(255,255,255,0.12) !important;
}
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero-content { padding: 3.5rem var(--gap-md); }
}
