/* ==========================================================
   VA MATCH PRO — Unternehmen-Seite (page-unternehmen.php)
   Ergänzt startseite.css — lädt nicht eigenständig.
   ========================================================== */

/* ── HERO ── */
.un-hero {
  position: relative; padding: 70px 0 50px; color: #fff;
  background-size: cover !important;
  /* niedriger % = Bild weiter rechts (mehr vom linken Bild-Inhalt sichtbar) */
  background-position: 10% center !important;
}
.un-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,49,65,0.85) 0%, rgba(8,49,65,0.65) 40%, rgba(17,76,95,0.30) 75%, rgba(17,76,95,0.10) 100%);
}
.un-hero .vs-container { position: relative; z-index: 1; }
.un-hero .vs-hero-eyebrow {
  background: #c8dde3; color: #083141 !important; border: none; backdrop-filter: none;
}
.un-hero h1 {
  color: #fff !important; font-size: 38px; font-weight: 800;
  line-height: 1.1; margin-bottom: 20px; max-width: 720px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}
.un-hero .un-hero-sub {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px; font-weight: 600;
  color: rgba(255,255,255,0.98); margin-bottom: 28px;
  max-width: 620px; line-height: 1.4;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.un-hero-bullets {
  display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; max-width: 480px;
}
.un-hero-bullets li {
  list-style: none; padding-left: 28px; position: relative;
  font-size: 15px; color: #fff; font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.un-hero-bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; background: #c8dde3; color: #083141;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.un-hero-cta { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.un-hero-cta .vs-btn { width: 100% !important; padding: 17px 24px; font-size: 16px; }
.un-hero-cta .un-hero-trust { font-size: 13px; color: rgba(255,255,255,0.85); display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 760px) {
  .un-hero { padding: 100px 0 80px; }
  .un-hero h1 { font-size: 56px; }
}

/* ── USE CASES — Was eine VA übernehmen kann ── */
.un-cases { background: #fff; padding: 70px 0; }
.un-cases-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
.un-case-card {
  background: #fff; border: 1px solid #EBF2F4; border-radius: 14px;
  padding: 24px 22px; transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.un-case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, #114C5F);
  opacity: 0.85;
}
.un-case-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(8,49,65,0.10); border-color: #fff; }
.un-case-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg, #EBF2F4);
}
.un-case-icon svg { width: 22px; height: 22px; stroke: var(--icon-stroke, #114C5F); fill: none; stroke-width: 1.8; }
.un-case-card h3 { font-size: 17px; margin-bottom: 4px; color: #083141; }
.un-case-card p { color: #59747C; font-size: 14.5px; line-height: 1.55; }

/* Rotierende Farb-Schemata */
.un-case-card.tone-a { --icon-bg: #c8dde3; --icon-stroke: #083141; --accent: #c8dde3; }
.un-case-card.tone-b { --icon-bg: #EBF2F4; --icon-stroke: #114C5F; --accent: #114C5F; }
.un-case-card.tone-c { --icon-bg: #114C5F; --icon-stroke: #fff;     --accent: #083141; background: linear-gradient(180deg, #fff 0%, #fafdfe 100%); }

@media (min-width: 700px) { .un-cases-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .un-cases-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── ZIELGRUPPEN ── */
.un-zielgruppen { background: #EBF2F4; padding: 70px 0; }
.un-zg-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.un-zg-card {
  background: #fff; border-radius: 16px; padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(8,49,65,0.06);
  border-top: 4px solid #114C5F;
}
.un-zg-card h3 { font-size: 18px; margin-bottom: 10px; color: #083141; }
.un-zg-card p { color: #59747C; font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
.un-zg-card .un-zg-list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: #114C5F; font-weight: 600; }
.un-zg-card .un-zg-list li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.un-zg-card .un-zg-list li::before { content: '→'; position: absolute; left: 0; color: #c8dde3; font-weight: 700; }
@media (min-width: 800px) { .un-zg-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── VERTRAUEN ── */
.un-trust { background: #fff; padding: 70px 0; }
.un-trust-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
.un-trust-card {
  background: linear-gradient(135deg, #083141 0%, #114C5F 100%);
  color: #fff; padding: 30px 26px; border-radius: 18px;
  position: relative; overflow: hidden;
}
.un-trust-icon {
  width: 52px; height: 52px; background: rgba(200,221,227,0.18);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.un-trust-icon svg { width: 26px; height: 26px; stroke: #c8dde3; fill: none; stroke-width: 1.8; }
.un-trust-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.un-trust-card p { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; }
.un-trust-card .un-trust-tag {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #c8dde3;
  background: rgba(200,221,227,0.12); padding: 5px 12px; border-radius: 100px;
}
@media (min-width: 800px) { .un-trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── KOSTENLOS-Block ── */
.un-kostenlos { background: #c8dde3; padding: 60px 0; text-align: center; }
.un-kostenlos h2 { font-size: 36px; color: #083141 !important; margin-bottom: 14px; font-weight: 800; }
.un-kostenlos p { font-size: 17px; color: #114C5F; max-width: 620px; margin: 0 auto 8px; line-height: 1.6; }
.un-kostenlos .un-kostenlos-detail { font-size: 14px; color: #59747C; margin-top: 18px; }
@media (min-width: 760px) { .un-kostenlos h2 { font-size: 44px; } }

/* Kleine VA-Vorschaukacheln in der Zielgruppen-Karte (Merker 10.08.2026).
   Zeigt statt einer Zahl echte VAs aus dem Bereich, taeglich rotierend. */
.un-zg-card .va-vorschau {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e4edf0;
}
.un-zg-card .va-vorschau-titel {
  font-size: 12.5px;
  color: #59747C;
  margin-bottom: 10px;
}
.un-zg-card .va-vorschau-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.un-zg-card .va-vorschau-karte {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e4edf0;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: .15s;
}
.un-zg-card .va-vorschau-karte:hover {
  border-color: #c8dde3;
  background: #fafdfe;
}
.un-zg-card .va-vorschau-karte img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 40px;
}
.un-zg-card .va-vorschau-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.un-zg-card .va-vorschau-text strong {
  font-size: 13.5px;
  color: #083141;
  line-height: 1.3;
}
.un-zg-card .va-vorschau-sterne {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.un-zg-card .va-vorschau-sterne em {
  font-style: normal;
  font-size: 11.5px;
  color: #59747C;
}

/* ── Abstände an die Startseite angeglichen (Merker 10.08.2026) ──
   Hero war 70/50, auf Desktop sogar 100/80. Die Sektionen hatten 70px.
   Das wirkte neben der schlankeren Startseite auseinandergezogen. */
.un-hero { padding: 44px 0 36px; }
@media (min-width: 760px) {
  .un-hero { padding: 52px 0 44px; }
}
@media (max-width: 860px) {
  .un-hero { padding: 32px 0 28px; }
}

.un-cases,
.un-zielgruppen,
.un-trust { padding: 52px 0; }
@media (max-width: 860px) {
  .un-cases,
  .un-zielgruppen,
  .un-trust { padding: 38px 0; }
}

/* Link von der Zielgruppen-Karte auf die passende Landingpage (30.08.2026).
   Doppelte Klasse gegen das Site-Editor-CSS (siehe §13). */
.un-zg-link.un-zg-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: #114C5F;
  text-decoration: none;
}
.un-zg-link.un-zg-link:hover { color: #083141; text-decoration: underline; text-underline-offset: 3px; }

/* Bild oben in den Zielgruppen-Kacheln (02.09.2026).
   Die Kacheln kommen jetzt aus den Zielgruppen-Konfigurationen und tragen
   dasselbe Bild wie das Karussell und die Bereichs-Balken. */
.un-zg-bild {
  display: block;
  margin: -26px -26px 18px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 7;
  background: #EBF2F4;
}
.un-zg-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.un-zg-card:hover .un-zg-bild img { transform: scale(1.04); }
@media (max-width: 640px) {
  .un-zg-bild { margin: -20px -20px 16px; aspect-ratio: 16 / 6; }
}

/* Hero-Buttons nebeneinander (Registrieren + Grundlagenartikel) — 16.09.2026.
   Unter 640px wieder untereinander. */
.un-hero-cta.un-hero-cta { flex-direction: row; flex-wrap: wrap; max-width: 720px; }
.un-hero-cta .vs-btn { flex: 1 1 260px; width: auto !important; }
.un-hero-cta .vs-btn.lp-cta-grundlagen { border: 0 !important; }
@media (max-width: 640px) {
  .un-hero-cta.un-hero-cta { flex-direction: column; }
  .un-hero-cta .vs-btn { width: 100% !important; flex: 0 0 auto; }
}
