/* Merkliste & Vergleich (ADR-129) – abgeleitet aus Suchergebnissen/Hinweisseiten, Farben aus den Tokens */
.oaf-fav { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid #C9D1D4; border-radius: 99px; background: #FFFFFF; color: #2B363C; font: 500 13.5px "Geist", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.oaf-fav:hover { border-color: #9AA5AB; }
.oaf-fav:focus-visible { outline: 2px solid #1D4E5A; outline-offset: 2px; }
.oaf-fav.is-on { color: #1D4E5A; border-color: #1D4E5A; background: #E3ECEE; }
.oaf-fav.is-on svg { fill: currentColor; }
.oaf-fav--icon .oaf-fav__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.oaf-fav--icon { width: 34px; padding: 0; justify-content: center; }
.oaf-favp { max-width: 1240px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 20px 72px; display: flex; flex-direction: column; gap: 16px; }
.oaf-favp__title { margin: 0; font: 600 clamp(28px, 4vw, 40px)/1.1 "Geist", system-ui, sans-serif; letter-spacing: -.03em; color: #141C1F; }
.oaf-favp__lead { margin: 0; font: 400 16px/1.55 "Geist", system-ui, sans-serif; color: #55626A; max-width: 680px; }
.oaf-favp__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; font: 400 15px/1.5 "Geist", system-ui, sans-serif; color: #55626A; }
.oaf-favp__empty strong { color: #141C1F; font-size: 17px; }
.oaf-favp__btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 6px; background: #DFA13A; color: #141C1F; font: 500 15px "Geist", system-ui, sans-serif; text-decoration: none; }
.oaf-favp__btn:hover { background: #C98C24; color: #141C1F; }
.oaf-favp__btn--sm { height: 38px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.oaf-cmp { overflow-x: auto; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; }
.oaf-cmp:focus-visible { outline: 2px solid #1D4E5A; outline-offset: 2px; }
.oaf-cmp__t { border-collapse: collapse; width: 100%; min-width: 560px; font: 400 15px/1.45 "Geist", system-ui, sans-serif; color: #2B363C; }
.oaf-cmp__t th, .oaf-cmp__t td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #E8ECED; }
.oaf-cmp__t tbody tr:last-child th, .oaf-cmp__t tbody tr:last-child td { border-bottom: 0; }
.oaf-cmp__t tbody th { font-weight: 500; color: #55626A; white-space: nowrap; width: 1%; }
.oaf-cmp__firm { min-width: 180px; }
.oaf-cmp__name { display: block; font-weight: 600; font-size: 16px; color: #141C1F; text-decoration: none; }
.oaf-cmp__name:hover { text-decoration: underline; }
.oaf-cmp__rm { margin-top: 4px; padding: 0; border: 0; background: none; color: #55626A; font: 400 13px "Geist", system-ui, sans-serif; text-decoration: underline; cursor: pointer; }
.oaf-cmp__yes { color: #23784A; font-weight: 500; }
.oaf-cmp__no { color: #9AA5AB; }
.oaf-cmp__sub { color: #6B777E; font-size: 13.5px; }
.oaf-rcard__fav { align-self: center; }
/* gegen die Knopf-Stile des Themes (Hello Elementor setzt button/[type=button] inkl. :hover/:focus) */
button.oaf-cmp__rm, button.oaf-cmp__rm:hover, button.oaf-cmp__rm:focus { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; color: #55626A !important; font: 400 13px "Geist", system-ui, sans-serif !important; text-decoration: underline !important; text-transform: none !important; border-radius: 0 !important; }
button.oaf-cmp__rm:hover { color: #141C1F !important; }
button.oaf-fav, button.oaf-fav:hover, button.oaf-fav:focus { background: #FFFFFF !important; color: #2B363C !important; border: 1px solid #C9D1D4 !important; box-shadow: none !important; text-transform: none !important; font: 500 13.5px "Geist", system-ui, sans-serif !important; border-radius: 99px !important; }
button.oaf-fav:hover { border-color: #9AA5AB !important; }
button.oaf-fav.is-on, button.oaf-fav.is-on:hover, button.oaf-fav.is-on:focus { color: #1D4E5A !important; border-color: #1D4E5A !important; background: #E3ECEE !important; }
button.oaf-fav--icon { padding: 0 !important; }
button.oaf-fav:not(.oaf-fav--icon) { padding: 0 12px !important; }
button.oaf-fav--icon { flex: none !important; width: 34px !important; min-width: 34px !important; }

/* Förderhinweis (ADR-131) – Info-Kasten, Farben aus Tokens (Petrol hell) */
.oaf-subsidy { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 8px; background: #E3ECEE; color: #1D4E5A; max-width: 820px; }
.oaf-subsidy__t { font: 600 15.5px "Geist", system-ui, sans-serif; color: #1D4E5A; }
.oaf-subsidy__p { margin: 0; font: 400 15px/1.55 "Geist", system-ui, sans-serif; color: #2B363C; }
.oaf-subsidy__src { font: 400 12.5px/1.5 "Geist", system-ui, sans-serif; color: #55626A; }
.oaf-subsidy__src a { color: #1D4E5A; }

/* Angebotsvergleich der anfragenden Person (ADR-132) */
.oaf-offp { max-width: 1100px; }
.oaf-offp__price { font-size: 18px; color: #141C1F; display: block; }
.oaf-offp .oaf-cmp { width: 100%; text-align: left; }

/* Merkliste im Header (ADR-129) – Header-Knopfhöhe 40 px, Zähler wie im Dashboard */
a.oaf-favhead, a.oaf-favhead:hover, a.oaf-favhead:focus, a.oaf-favhead:visited { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: #2B363C !important; text-decoration: none !important; }
a.oaf-favhead:hover { background: #F0F2F1; }
a.oaf-favhead:focus-visible { outline: 2px solid #1D4E5A; outline-offset: 2px; }
a.oaf-favhead.is-on { color: #1D4E5A !important; }
a.oaf-favhead.is-on svg { fill: currentColor; }
.oaf-favhead__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #1D4E5A; color: #FFFFFF; font: 600 11px/18px "Geist Mono", ui-monospace, monospace; text-align: center; box-shadow: 0 0 0 2px #FFFFFF; }
.oaf-favhead__n[hidden] { display: none; }
.elementor-widget-oaf-fav-header { width: auto; flex: none; }
.elementor-widget-oaf-fav-header { margin-left: auto; } .elementor-widget-oaf-fav-header + .e-con { margin-left: 4px !important; } /* Symbol innen: vor „Dashboard / Firma eintragen“ (Wunsch Auftraggeber) */
/* Handy/Tablet (Header-Umbruch bei 1024 px, Wunsch Auftraggeber): Menü-Knopf links, Logo in der Mitte, Merkliste rechts.
   Beide Seiten 44 px breit, damit das Logo genau mittig steht. */
@media (max-width: 1024px) {
	.e-con:has(> .elementor-widget-oaf-fav-header) > .oaf-menu-toggle { order: 1; margin-left: 0 !important; margin-right: auto !important; }
	.e-con:has(> .elementor-widget-oaf-fav-header) > :first-child { order: 2; }
	.e-con:has(> .elementor-widget-oaf-fav-header) > .elementor-widget-oaf-fav-header { order: 3; width: 44px; margin-left: auto; margin-right: 0; display: flex; justify-content: flex-end; }
}

/* Sammelanfrage aus der Merkliste (ADR-133) – abgeleitet: Kasten wie „Noch keine Firmen gemerkt“, Häkchen wie Formular-Auswahl, Zustände wie Status-Badges */
.oaf-favp__group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; }
.oaf-favp__gtext { display: flex; flex-direction: column; gap: 2px; font: 400 15px/1.5 "Geist", system-ui, sans-serif; color: #55626A; max-width: 640px; }
.oaf-favp__gtext strong { color: #141C1F; font-size: 16px; font-weight: 600; }
.oaf-favp__group .oaf-favp__btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.oaf-cmp__pick { display: inline-flex; align-items: center; gap: 6px; margin: 8px 12px 0 0; font: 500 13.5px "Geist", system-ui, sans-serif; color: #1D4E5A; cursor: pointer; }
.oaf-cmp__pick input { width: 16px; height: 16px; margin: 0; accent-color: #1D4E5A; }
.oaf-cmp__pick input:disabled + span { color: #9AA5AB; }
.oaf-drawer .oaf-drawer__sub { display: block; margin-top: 2px; font-size: 13.5px; color: #55626A; }
.oaf-favsent__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid #DCE1E3; border-radius: 10px; background: #FFFFFF; max-width: 760px; }
.oaf-favsent__item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; border-bottom: 1px solid #E8ECED; font: 400 15px/1.45 "Geist", system-ui, sans-serif; }
.oaf-favsent__item:last-child { border-bottom: 0; }
.oaf-favsent__name { font-weight: 600; color: #141C1F; text-decoration: none; }
.oaf-favsent__name:hover { text-decoration: underline; }
.oaf-favsent__nr { font: 500 13px "Geist Mono", ui-monospace, monospace; color: #55626A; }
.oaf-favsent__st { margin-left: auto; padding: 2px 10px; border-radius: 99px; font-size: 13.5px; font-weight: 500; }
.oaf-favsent__st.is-ok { color: #23784A; background: #E6F2EA; }
.oaf-favsent__st.is-wait { color: #3D2600; background: #FBF0DC; }
.oaf-favsent__facts { margin: 0; font: 400 14px "Geist", system-ui, sans-serif; color: #55626A; }
.oaf-favsent .oaf-favp__btn { align-self: flex-start; }

/* Merken im Profilkopf: so hoch wie die Kennzeichen („✓ Verifiziert“: 12,5 px, 3/9 px Innenabstand) – Wunsch Auftraggeber */
button.oaf-fav.oaf-fav--sm, button.oaf-fav.oaf-fav--sm:hover, button.oaf-fav.oaf-fav--sm:focus { height: auto !important; min-height: 0 !important; padding: 2px 9px 2px 7px !important; gap: 4px; font: 500 12.5px "Geist", system-ui, sans-serif !important; line-height: normal !important; } /* Schrift + Zeilenhöhe wie .oaf-pbadge, damit der Text gleich sitzt */
.oaf-fav--sm svg { width: 13px; height: 13px; }
/* Symbol und Text als eigene Blöcke mittig (sonst sitzt das Symbol auf der Schriftlinie und wirkt zu hoch) */
button.oaf-fav { display: inline-flex !important; align-items: center !important; justify-content: center; } /* Theme setzt Knöpfe auf display:block */
.oaf-fav svg { display: block; flex: none; }
.oaf-fav .oaf-fav__txt { display: block; }
/* kein Theme-Rahmen nach Mausklick; Tastatur-Fokus bleibt sichtbar */
button.oaf-fav:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
button.oaf-fav:focus-visible { outline: 2px solid #1D4E5A !important; outline-offset: 2px !important; box-shadow: none !important; }
/* „Anfragen“ und „Entfernen“ in einer Zeile, mittig auf gleicher Höhe (Wunsch Auftraggeber) */
.oaf-cmp__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; }
.oaf-cmp__acts .oaf-cmp__pick { margin: 0; line-height: 1.2; }
.oaf-cmp__acts button.oaf-cmp__rm, .oaf-cmp__acts button.oaf-cmp__rm:hover, .oaf-cmp__acts button.oaf-cmp__rm:focus { margin: 0 !important; line-height: 1.2 !important; display: inline-block !important; }
/* Orange Knöpfe einheitlich wie Startseite/Profil: dunkle Schrift (Theme-Linkfarbe überschrieb sie mit Petrol) */
a.oaf-favp__btn, a.oaf-favp__btn:visited, a.oaf-favp__btn:focus, a.oaf-favp__btn:hover { color: #141C1F !important; text-decoration: none !important; }
/* Trefferkarte: Merken ruhiger (Wunsch Auftraggeber) – kein Kreis, nur ein dezentes Lesezeichen; gemerkt = Petrol gefüllt */
button.oaf-fav.oaf-fav--icon, button.oaf-fav.oaf-fav--icon:hover, button.oaf-fav.oaf-fav--icon:focus { width: 32px !important; height: 32px !important; border: 0 !important; background: transparent !important; color: #9AA5AB !important; border-radius: 6px !important; }
button.oaf-fav.oaf-fav--icon:hover { color: #2B363C !important; background: #F0F2F1 !important; }
button.oaf-fav.oaf-fav--icon.is-on, button.oaf-fav.oaf-fav--icon.is-on:hover, button.oaf-fav.oaf-fav--icon.is-on:focus { color: #1D4E5A !important; background: transparent !important; border: 0 !important; }
button.oaf-fav.oaf-fav--icon svg { width: 20px; height: 20px; }
/* Trefferkarte: „Merken“ als Textlink bei den Aktionen, gleicher Stil wie der Telefon-Link (Wunsch Auftraggeber) */
button.oaf-fav.oaf-fav--link, button.oaf-fav.oaf-fav--link:hover, button.oaf-fav.oaf-fav--link:focus { height: 32px !important; padding: 0 4px !important; gap: 6px; border: 0 !important; background: transparent !important; color: #2B363C !important; font: 500 14.5px "Geist", system-ui, sans-serif !important; border-radius: 4px !important; }
button.oaf-fav.oaf-fav--link:hover { color: #1D4E5A !important; text-decoration: underline; text-underline-offset: 3px; }
button.oaf-fav.oaf-fav--link svg { width: 15px; height: 15px; color: #55626A; }
button.oaf-fav.oaf-fav--link.is-on, button.oaf-fav.oaf-fav--link.is-on:hover, button.oaf-fav.oaf-fav--link.is-on:focus { color: #1D4E5A !important; background: transparent !important; border: 0 !important; }
button.oaf-fav.oaf-fav--link.is-on svg { color: #1D4E5A; }

/* Merken als kleiner quadratischer Knopf neben „Anfrage senden“ (Trefferkarte, Variante B) */
button.oaf-fav.oaf-fav--sq, button.oaf-fav.oaf-fav--sq:hover, button.oaf-fav.oaf-fav--sq:focus { width: 44px !important; height: 44px !important; flex: none; border: 1px solid #C9D1D4 !important; border-radius: 6px !important; background: #FFFFFF !important; color: #55626A !important; }
button.oaf-fav.oaf-fav--sq:hover { border-color: #55626A !important; color: #2B363C !important; }
button.oaf-fav.oaf-fav--sq.is-on, button.oaf-fav.oaf-fav--sq.is-on:hover, button.oaf-fav.oaf-fav--sq.is-on:focus { border: 1px solid #1D4E5A !important; color: #1D4E5A !important; background: #FFFFFF !important; }
/* Trefferkarte: Lesezeichen ohne Rahmen (Wunsch Auftraggeber 28.10.2026) – nur Symbol, grau; gemerkt Petrol gefüllt */
button.oaf-fav.oaf-fav--sq, button.oaf-fav.oaf-fav--sq:hover, button.oaf-fav.oaf-fav--sq:focus, button.oaf-fav.oaf-fav--sq.is-on, button.oaf-fav.oaf-fav--sq.is-on:hover, button.oaf-fav.oaf-fav--sq.is-on:focus { border: 0 !important; background: transparent !important; }
button.oaf-fav.oaf-fav--sq:hover { background: #F0F2F1 !important; }
button.oaf-fav.oaf-fav--sq svg { width: 20px; height: 20px; }
