/* ============================================================
   VA Match Pro – Öffentliche VA-Profilseite
   Visuelle Overrides für wp_global_styles Post 881.
   WICHTIG: Layout-Properties (width, margin, padding-x, position,
   max-width, grid-template, flex) NICHT anfassen — das Layout
   nutzt 100vw-Breakouts und negative Margins, die Setup-spezifisch
   sind. Nur Farben, Borders, Border-Radius, Box-Shadow, Typo.
   ============================================================ */

body .va-profil {
  font-family: 'DM Sans', sans-serif;
  color: #083141;
  line-height: 1.55;
}
body .va-profil h1, body .va-profil h2, body .va-profil h3 {
  font-family: 'Montserrat', sans-serif !important;
  color: #083141;
}

/* === Hero: dunkle Petrol-Gradient (statt hell) + symmetrisches Padding.
   wp_global_styles setzt margin-top: -40px (Breakout) und padding 48/60.
   Effektives Top = 48 - 40 = 8 → viel zu wenig. Wir brauchen padding-top 100,
   damit Effektives Top = 100 - 40 = 60 (gleich wie bottom) und der Avatar
   vertikal mittig im sichtbaren Hero sitzt. */
body .va-profil .va-hero {
  background:
    radial-gradient(ellipse 60% 80% at 15% 30%, rgba(89,116,124,.45) 0, transparent 55%),
    radial-gradient(ellipse 70% 70% at 88% 75%, rgba(8,49,65,.55) 0, transparent 55%),
    linear-gradient(125deg, #083141 0%, #114C5F 50%, #59747C 100%) !important;
  color: #fff !important;
  overflow: hidden !important;
  /* Hero padding-bottom auf 0, weil .va-hero-inner schon 40px padding-bottom hat.
     Effektiv: Top = 80 - 40 (margin) = 40 / Bottom = 0 + 40 (inner) = 40 → symmetrisch. */
  /* Vertikales Spacing nur über Hero, Inner-Padding zu 0 gezwungen.
     Effektiv: Top = 100 - 40 (margin) = 60 / Bottom = 0 + 60 = 60 → symmetrisch */
  padding-top: 102px !important;
  padding-bottom: 0 !important;
}
@media (max-width: 720px) {
  body .va-profil .va-hero { padding-top: 65px !important; padding-bottom: 0 !important; }
}
body .va-profil .va-hero-inner {
  padding-top: 0 !important;
  padding-bottom: 58px !important;
}
@media (max-width: 720px) {
  body .va-profil .va-hero-inner { padding-bottom: 33px !important; }
}

/* Avatar: wp_global_styles macht .va-avatar-wrap zu einem quadratischen inline-block
   und .va-profilbild rund mit weißem Rand. Wir lassen die Sizes/border-radius in Ruhe
   und ergänzen nur den Schatten direkt am runden Bild. */
body .va-profil .va-profilbild {
  border: 4px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.20) !important;
}
/* Sicherstellen, dass der Wrap KEINEN sichtbaren Hintergrund/Border hat */
body .va-profil .va-avatar-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Name + Rating + Tagline in Weiß */
body .va-profil .va-name {
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
}
body .va-profil .va-hero-location {
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body .va-profil .va-hero-location svg { opacity: .85; }
body .va-profil .va-hero-rating { color: rgba(255,255,255,.85) !important; }
body .va-profil .va-stars { color: #f4b400 !important; letter-spacing: 2px; }
body .va-profil .va-rating-val { color: #fff !important; font-weight: 700; }
body .va-profil .va-rating-count { color: rgba(255,255,255,.75) !important; }
body .va-profil .va-rating-none { color: rgba(255,255,255,.7) !important; font-style: italic; }
body .va-profil .va-tagline { color: rgba(255,255,255,.92) !important; }

/* Hero-Buttons: weiß-auf-Petrol */
body .va-profil .va-btn-primary {
  background: #fff !important;
  color: #083141 !important;
  border: 1.5px solid transparent !important;
  font-family: 'DM Sans', sans-serif !important;
}
body .va-profil .va-btn-primary:hover {
  background: #c8dde3 !important;
  color: #083141 !important;
}
body .va-profil .va-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.5) !important;
  font-family: 'DM Sans', sans-serif !important;
}
body .va-profil .va-btn-outline:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.8) !important;
}

/* === Cards (Spezialisierungs- + Sidebar-Karten) === */
body .va-profil .va-card,
body .va-profil .va-sidebar-card {
  background: #fff !important;
  border: 1px solid #EBF2F4 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(8,49,65,.04) !important;
}

/* Card-Titel mit kleinem Petrol-Akzent vorne */
body .va-profil .va-card-title,
body .va-profil .va-sidebar-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #083141 !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
body .va-profil .va-card-title::before,
body .va-profil .va-sidebar-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #114C5F;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Tags: Petrol-light Hintergrund, Petrol-Schrift */
body .va-profil .va-tag {
  background: #EBF2F4 !important;
  color: #114C5F !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* Spezialisierungs-Cards (linke Spalte): Tags strict 2-spaltig — sauberer Look */
body .va-profil .va-left .va-card .va-tags {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  flex-wrap: unset !important;
}
@media (max-width: 600px) {
  body .va-profil .va-left .va-card .va-tags {
    grid-template-columns: 1fr !important;
  }
}

/* Kontakt-Karte: Trennlinie „oder" zwischen Job-Post und Direktanfrage */
body .va-profil .vamp-contact-divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 20px 0 14px !important;
  color: #59747C !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
body .va-profil .vamp-contact-divider::before,
body .va-profil .vamp-contact-divider::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: #e2e8ec !important;
}
body .va-profil .vamp-contact-alt-intro {
  font-size: 13.5px !important;
  color: #59747C !important;
  margin: 0 0 8px !important;
  line-height: 1.5 !important;
}
body .va-profil .vamp-contact-alt-btn {
  background: transparent !important;
  border: none !important;
  color: #114C5F !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 4px 0 !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: color .15s !important;
}
body .va-profil .vamp-contact-alt-btn:hover { color: #083141 !important; text-decoration: underline !important; }

/* Sidebar-Cards: Tags auch 2-spaltig (statt flex-wrap chaos) */
body .va-profil .va-sidebar-card .va-tags {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  flex-wrap: unset !important;
}
@media (max-width: 480px) {
  body .va-profil .va-sidebar-card .va-tags {
    grid-template-columns: 1fr !important;
  }
}

/* Highlight-Card "Verifiziert / Konfliktvermittlung" */
body .va-profil .va-card-highlight {
  background: #EBF2F4 !important;
  border: none !important;
}
body .va-profil .va-card-highlight p {
  margin: 6px 0 0 !important;
  font-size: 14px !important;
  color: #59747C !important;
  line-height: 1.5 !important;
}
/* Highlight-Title: kein Petrol-Strich davor (Emoji macht's klar) */
body .va-profil .va-card-highlight .va-sidebar-title::before { display: none !important; }

/* === Bewertungen Buttons === */
body .va-profil .va-btn-bewertung {
  background: #114C5F !important;
  color: #fff !important;
  font-size: 13px !important;
  padding: 7px 14px !important;
  border-radius: 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  transition: background .15s;
}
body .va-profil .va-btn-bewertung:hover {
  background: #083141 !important;
  color: #fff !important;
}
body .va-profil .va-btn-mehr {
  color: #114C5F !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}
body .va-profil .va-btn-mehr:hover {
  color: #083141 !important;
  text-decoration: underline !important;
}

/* === Merken-Button (für eingeloggte Unternehmen) === */
body .va-profil .vamp-save-va-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif !important;
}
body .va-profil .vamp-save-va-btn.is-saved {
  background: #fff !important;
  color: #114C5F !important;
  border-color: #fff !important;
}
body .va-profil .vamp-save-va-btn .vamp-save-icon {
  line-height: 1;
  font-size: 16px;
}

/* Mobile-Anpassungen für Avatar — Layout lassen.
   WICHTIG: Die Global-Styles (Post 881) setzen .va-avatar-wrap img auf
   220x220px !important. Wenn wir nur den Wrap verkleinern, ragt das Bild
   unten heraus und überlappt den Namen. Daher Wrap UND Bild verkleinern. */
@media (max-width: 720px) {
  body .va-profil .va-avatar-wrap { width: 140px !important; height: 140px !important; }
  body .va-profil .va-avatar-wrap img { width: 140px !important; height: 140px !important; }
}
@media (max-width: 480px) {
  body .va-profil .va-avatar-wrap { width: 120px !important; height: 120px !important; }
  body .va-profil .va-avatar-wrap img { width: 120px !important; height: 120px !important; }
}

/* ─── Gründungsmitglied-Badge im Profil-Hero — 07.07.2026 ────── */
body .va-profil .va-gm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 100%);
  color: #fff;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  margin: 6px 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
body .va-profil .va-gm-badge svg {
  color: #CBBA63;
  flex-shrink: 0;
}
body .va-profil .va-gm-badge span {
  white-space: nowrap;
}
@media (max-width: 500px) {
  body .va-profil .va-gm-badge { font-size: 11.5px; padding: 4px 10px 4px 8px; }
}

/* ── „Über mich"-Sektionen (Superkräfte, Erfahrungen, Wie ich helfe) ── */
body .va-profil .va-ueber-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 24px 0;
}
@media (min-width: 780px) {
	body .va-profil .va-ueber-row-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
	body .va-profil .va-ueber-row-cols-2 { grid-template-columns: 1fr 1fr; }
	body .va-profil .va-ueber-row-cols-1 {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}
}
body .va-profil .va-ueber-row .va-card {
	border-radius: 14px;
	padding: 22px 20px;
	border: none;
}
/* Karte 1 + 3 (außen): Petrol, weiße Schrift */
body .va-profil .va-ueber-row .va-card:nth-child(3n+1),
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) {
	background: #114C5F !important;
	color: #fff !important;
}
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-card-title,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-card-title { color: #fff !important; }
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-card-title::before,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-card-title::before { background: #fff !important; }
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-richtext,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-richtext { color: #EBF2F4 !important; }
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-richtext strong,
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-richtext b,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-richtext strong,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-richtext b { color: #fff !important; }
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-richtext em,
body .va-profil .va-ueber-row .va-card:nth-child(3n+1) .va-richtext i,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-richtext em,
body .va-profil .va-ueber-row .va-card:nth-child(3n+3) .va-richtext i { color: #c8dde3 !important; }

/* Karte 2 (Mitte): Hellblau, dunkle Schrift, Petrol-Strich */
body .va-profil .va-ueber-row .va-card:nth-child(3n+2) {
	background: #EBF2F4 !important;
	color: #083141 !important;
	border: none !important;
	box-shadow: none !important;
}
body .va-profil .va-ueber-row .va-card:nth-child(3n+2) .va-card-title::before {
	background: #114C5F !important;
	width: 4px !important;
	height: 16px !important;
	display: inline-block !important;
	content: "" !important;
	border-radius: 2px !important;
	flex-shrink: 0 !important;
}

/* Trennlinie unter Titel — bei allen 3 Kacheln, dick + farblich angepasst */
body .va-profil .va-ueber-row .va-card .va-card-title {
	padding-bottom: 14px !important;
	margin-bottom: 16px !important;
	border-bottom: 3px solid rgba(255,255,255,0.35) !important;
}
body .va-profil .va-ueber-row .va-card:nth-child(3n+2) .va-card-title {
	border-bottom: 3px solid rgba(8,49,65,0.25) !important;
}
body .va-profil .va-richtext {
	font-family: 'DM Sans', sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #2c3e44;
}
body .va-profil .va-richtext p { margin: 0 0 10px; }
body .va-profil .va-richtext p:last-child { margin-bottom: 0; }
body .va-profil .va-richtext ul,
body .va-profil .va-richtext ol { margin: 0 0 10px 20px; padding: 0; }
body .va-profil .va-richtext li { margin-bottom: 6px; }
body .va-profil .va-richtext strong,
body .va-profil .va-richtext b { color: #083141; font-weight: 700; }
body .va-profil .va-richtext em,
body .va-profil .va-richtext i { color: #114C5F; }

/* ── VA-Profil: Referenzen-Sektion („Wem ich schon geholfen habe") ──
   Doppelklasse gegen Site-Editor-CSS (Post 881) — schlägt dessen `.va-card`-Regeln
   per Spezifität, siehe CLAUDE.md §13. */
.va-referenzen-row { margin-top: 20px; }
.va-card.va-ref-tile.va-ref-tile {
	background: #c8dde3 !important;
	border-left: 4px solid #114C5F !important;
	border-radius: 6px !important;
	padding: 22px 24px 24px !important;
	box-shadow: 0 8px 30px rgba(8,49,65,0.08);
}
.va-ref-tile .va-ref-title {
	font-size: 20px;
	font-weight: 700;
	color: #083141 !important;
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(8,49,65,0.15);
}
.va-ref-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.va-ref-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 100px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
	line-height: 1.2;
}
.va-ref-pill-registered {
	background: #114C5F;
	color: #fff;
	border: 1.5px solid #114C5F;
}
.va-ref-pill-registered:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(8,49,65,0.20);
	color: #fff;
}
.va-ref-pill-registered svg { width: 12px; height: 12px; opacity: 0.85; }
.va-ref-pill-free {
	background: #fff;
	color: #083141;
	border: 1.5px solid #114C5F;
}
