/* =================================================================
   Event ABC – Profilkopf am Handy: Faktenleiste (29.10.2026, LIEFERUNG 275)
   Eingebunden aus templates/dienstleister.tpl, nur auf Profilen.

   Andrej: "Am Handy sieht alles so nicht schön aus, keine Struktur.
   Das Auge soll immer einen festen Platz haben. Band/DJ linksbündig,
   Sprachen mittig, Filmgalerie wieder links."
   Gewählt: Vorschlag A (Faktenleiste) – aber ohne weißen Kasten,
   nur Haarlinien wie in Vorschlag C.

   Handy:  [ ★ Note | 👁 Aufrufe | Preis ]  – immer in dieser Reihenfolge,
           das Auge steht also immer in der Mitte.
           Darunter LEISTUNGEN (Chips) und Sprachen – alles linksbündig.
   Rechner: unverändert (die Leiste ist dort aus).
   ================================================================= */
/* (bis LIEFERUNG 275 war die Leiste am Rechner aus - seit 276 ist sie überall) */

@media (max-width: 767.98px){

    /* Die alten Einzelteile im Kopf weichen der Leiste */
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-ppreis,
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-kz,
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-auge,
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-badges{ display: none !important; }

    body.ea .ea-fakten{
        display: flex; align-items: stretch;
        /* ueber dem rosa Zierkreis rechts oben - sonst schneidet er den Preis ab */
        position: relative; z-index: 2;
        margin: 20px 0 0; padding: 14px 0;
        border-top: 1px solid var(--ea-haar, #E7E2DE);
        border-bottom: 1px solid var(--ea-haar, #E7E2DE);
    }
    body.ea .ea-fakt{
        flex: 1 1 0; min-width: 0;
        padding: 0 12px;
        color: var(--ea-ink, #1E1E1C); text-decoration: none;
    }
    body.ea .ea-fakt:first-child{ padding-left: 0; flex-grow: 1.25; }
    body.ea .ea-fakt:last-child{ padding-right: 0; }
    body.ea .ea-fakt + .ea-fakt{ border-left: 1px solid var(--ea-line-2, #EDE8E4); }
    body.ea .ea-fakt b{
        display: flex; align-items: center; gap: 6px;
        font-size: 19px; font-weight: 700; line-height: 1.15;
        font-variant-numeric: tabular-nums; white-space: nowrap;
    }
    body.ea .ea-fakt b svg{ width: 17px; height: 17px; flex: 0 0 17px; }
    body.ea .ea-fakt__stern{ color: #DBC093; }
    body.ea .ea-fakt__auge{ color: var(--ea-accent, #3F5AD1); }
    /* Preis/"Neu": darf umbrechen ("Auf" / "Anfrage"), statt rechts abgeschnitten zu werden */
    body.ea .ea-fakt b.ea-fakt__klein{ display: block; font-size: 15px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
    body.ea .ea-fakt > span{
        display: block; margin-top: 4px;
        font-size: 12px; line-height: 1.3; color: var(--ea-muted, #77756F);
    }
    body.ea .ea-fakt__weg{ width: 11px; height: 11px; vertical-align: -1px; margin-left: 2px; opacity: .65; }
    body.ea a.ea-fakt:active{ opacity: .7; }

    /* Leistungen und Sprachen: ein Block, alles linksbündig */
    body.ea.ea-p-dienstleister .ea-pdaten{ border-top: 0 !important; padding-top: 18px; margin-top: 0; }
    body.ea .ea-pdaten__lbl{
        display: block; order: -1; margin: 0 0 10px;
        font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
        color: var(--ea-muted, #8B8D90);
    }
    body.ea .ea-profile--buehne .ea-phead__zweite,
    body.ea .ea-profile--buehne .ea-phead__spr{
        text-align: left; font-size: 14px; margin-top: 14px;
    }
    body.ea .ea-profile--buehne .ea-phead__spr svg{
        display: inline-block; width: 17px; height: 17px; vertical-align: -3px;
        margin-right: 6px; color: var(--ea-muted, #8B8D90);
    }
}

/* Weicher Seitenübergang (LIEFERUNG 274): Profile mit Fotogalerie oben
   statt Titelbild – das erste Foto ist das Ziel, in das die Karte wächst. */
body.ea-p-dienstleister .ea-gal--oben a:first-child img{ view-transition-name: ea-titel; }

/* =================================================================
   LIEFERUNG 276 (29.10.2026)
   1. Hörproben / Video im Profil als zwei Sprungknöpfe - auch am Handy.
   2. Rechner: dieselbe Ordnung wie am Handy. Andrej: "im Desktop ist es
      irgendwie gerutscht" - Name/Bewertung standen eingerückt neben dem
      Profilbild, Sprachen und Leistungen darunter am linken Rand. Jetzt
      steht alles unter dem Kopf an EINER Kante: Faktenleiste, Knöpfe,
      Leistungen, Sprachen. Der Preis steht am Rechner weiter rechts in
      der Anfragekarte - in der Leiste fällt er dort weg.
   3. Handy: das Geprüft-Zeichen rutschte allein in eine neue Zeile.
   ================================================================= */
body.ea .ea-extras{ display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; position: relative; z-index: 2; }
body.ea .ea-extra{
    display: inline-flex; align-items: center; gap: 7px;
    height: 36px; padding: 0 15px; border-radius: 18px;
    border: 1px solid var(--ea-haar, #E7E2DE); background: #fff;
    font-size: 14px; font-weight: 600; color: var(--ea-ink, #1E1E1C); text-decoration: none;
}
body.ea .ea-extra svg{ width: 15px; height: 15px; flex: 0 0 15px; color: var(--ea-accent, #3F5AD1); }
body.ea .ea-extra:hover{ border-color: var(--ea-accent, #3F5AD1); }

@media (max-width: 767.98px){
    /* Name und Haken als Fliesstext: der Haken steht direkt hinter dem
       letzten Wort, auch wenn der Name umbricht */
    body.ea.ea-p-dienstleister .ea-pname__z{ display: block; }
    body.ea.ea-p-dienstleister .ea-pname__z .ea-pname{ display: inline; }
    body.ea.ea-p-dienstleister .ea-pname__z > :not(.ea-pname){ display: inline-block; vertical-align: .15em; margin-left: 6px; }
}

@media (min-width: 768px){
    /* Die alten Teile im Kopf weichen der Leiste */
    body.ea.ea-p-dienstleister .ea-phead__rating,
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-badges,
    body.ea.ea-p-dienstleister .ea-phead__meta > .ea-auge{ display: none !important; }

    body.ea .ea-fakten{
        display: flex; align-items: stretch; position: relative; z-index: 2;
        margin: 24px 0 0; padding: 16px 0;
        border-top: 1px solid var(--ea-haar, #E7E2DE);
        border-bottom: 1px solid var(--ea-haar, #E7E2DE);
    }
    body.ea .ea-fakt{ flex: 0 0 auto; padding: 0 36px; color: var(--ea-ink, #1E1E1C); text-decoration: none; }
    body.ea .ea-fakt:first-child{ padding-left: 0; }
    body.ea .ea-fakt + .ea-fakt{ border-left: 1px solid var(--ea-line-2, #EDE8E4); }
    body.ea .ea-fakt--preis{ display: none; }
    body.ea .ea-fakt b{ display: flex; align-items: center; gap: 7px; font-size: 21px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
    body.ea .ea-fakt b svg{ width: 18px; height: 18px; flex: 0 0 18px; }
    body.ea .ea-fakt__stern{ color: #DBC093; }
    body.ea .ea-fakt__auge{ color: var(--ea-accent, #3F5AD1); }
    body.ea .ea-fakt b.ea-fakt__klein{ display: block; font-size: 16px; }
    body.ea .ea-fakt > span{ display: block; margin-top: 4px; font-size: 13px; color: var(--ea-muted, #77756F); }
    body.ea .ea-fakt__weg{ width: 11px; height: 11px; vertical-align: -1px; margin-left: 3px; opacity: .65; }
    body.ea a.ea-fakt:hover > span{ color: var(--ea-accent, #3F5AD1); }

    /* Leistungen zuerst (mit Überschrift), Sprachen darunter - wie am Handy */
    body.ea.ea-p-dienstleister .ea-pdaten{ display: flex; flex-direction: column; border-top: 0 !important; margin-top: 0; padding-top: 22px; }
    body.ea .ea-pdaten__lbl{
        display: block; order: -1; margin: 0 0 10px;
        font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
        color: var(--ea-muted, #8B8D90);
    }
    body.ea.ea-p-dienstleister .ea-pdaten .ea-chips{ order: 0; margin-top: 0 !important; }
    body.ea.ea-p-dienstleister .ea-pdaten .ea-phead__zweite{ order: 1; margin-top: 14px; }
    body.ea.ea-p-dienstleister .ea-pdaten .ea-phead__spr{ order: 2; margin: 14px 0 0; }
}

/* =================================================================
   LIEFERUNG 277 (29.10.2026) - Rechner: Vorschlag D1
   Andrej: "Am Desktop wird Platz verschwendet - eine ganze Zeile nur
   für zwei Blöcke." Bewertung, Aufrufe und die Knöpfe stehen am
   Rechner jetzt im Kopf direkt unter dem Namen (.ea-kopfzeile).
   Die Leiste über die volle Breite gibt es nur noch am Handy.
   ================================================================= */
body.ea .ea-kopfzeile{ display: none; }

@media (min-width: 768px){
    body.ea .ea-fakten,
    body.ea .ea-extras--unten{ display: none !important; }

    body.ea .ea-kopfzeile{ display: block; margin: 14px 0 0; position: relative; z-index: 2; }
    body.ea .ea-kopfzeile__z{ display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; }
    body.ea .ea-kopfzeile .ea-fakt{
        display: inline-flex; align-items: baseline; gap: 7px;
        padding: 0 18px; flex: 0 0 auto;
    }
    body.ea .ea-kopfzeile .ea-fakt:first-child{ padding-left: 0; }
    body.ea .ea-kopfzeile .ea-fakt + .ea-fakt{ border-left: 1px solid var(--ea-haar, #E7E2DE); }
    body.ea .ea-kopfzeile .ea-fakt b{ font-size: 17px; gap: 6px; }
    body.ea .ea-kopfzeile .ea-fakt b svg{ width: 15px; height: 15px; flex-basis: 15px; align-self: center; }
    body.ea .ea-kopfzeile .ea-fakt b.ea-fakt__klein{ display: inline; font-size: 15px; }
    body.ea .ea-kopfzeile .ea-fakt > span{ margin: 0; font-size: 14px; }
    body.ea .ea-kopfzeile .ea-extras{ margin: 12px 0 0; }
    body.ea .ea-kopfzeile .ea-extra{ height: 32px; padding: 0 13px; font-size: 13.5px; }

    /* Ohne die Leiste darunter: Leistungen mit etwas Luft unter dem Kopf */
    body.ea.ea-p-dienstleister .ea-pdaten{ margin-top: 26px; padding-top: 0; }
}

/* Eigene Kundenbewertungen zuerst; Google bleibt eine getrennte Quelle. */
body.ea .ea-kunden-zahl{font:inherit;font-size:.65em;white-space:nowrap;}
body.ea .ea-kunden-google{display:block;margin-top:6px;font-size:12px;line-height:1.35;color:var(--ea-muted,#737780);text-decoration:none;white-space:nowrap;}
body.ea .ea-kunden-desktop{display:none;}
@media(min-width:768px){
 body.ea .ea-kopfzeile .ea-kunden-zahl,body.ea .ea-kopfzeile .ea-kunden-google,body.ea .ea-kopfzeile .ea-kunden-mobile{display:none;}
 body.ea .ea-kopfzeile .ea-kunden-desktop{display:inline;}
 body.ea .ea-kopfzeile .ea-fakt--google-desktop a{color:inherit;text-decoration:none;font-size:14px;}
 body.ea .ea-kopfzeile .ea-fakt--aufrufe > span{display:none;}
}

/* Mobil genau zwei Zeilen, unabhängig von den allgemeinen Faktenregeln. */
@media(max-width:767.98px){
 body.ea .ea-fakten .ea-fakt--kunden > .ea-kunden-desktop{display:none;}
 body.ea .ea-fakten .ea-fakt--kunden > b{white-space:nowrap;gap:5px;}
 body.ea .ea-fakten .ea-fakt--kunden .ea-kunden-zahl{font-size:13px;font-weight:500;}
 body.ea .ea-fakten .ea-fakt--kunden > .ea-kunden-google{display:block;margin-top:6px;font-size:12px;line-height:1.35;white-space:nowrap;}
}

body.ea .ea-kunden-sprung{color:inherit;text-decoration:none;}
body.ea b > .ea-kunden-sprung{display:inline-flex;align-items:center;gap:5px;}
body.ea .ea-kunden-sprung:hover{text-decoration:underline;}
#ea-kundenbewertungen{scroll-margin-top:90px;}


/* =================================================================
   LIEFERUNG 361 - Weg vom Profil auf die eigene Event-ABC-Website
   1. Logo statt Profilbild (gleiche Groesse, weisses Feld, Logo ganz sichtbar)
   2. Knopf "Zur Website" / "Teil von ..." neben Hoerproben/Video, blau umrandet
   3. Textlink unter "Kostenlos anfragen"
   ================================================================= */
body.ea a.ea-avatar--logo{
    display: flex; align-items: center; justify-content: center; box-sizing: border-box;
    background: #fff; border: 1px solid var(--ea-haar, #E7E2DE); padding: 6%;
    text-decoration: none; overflow: hidden;
}
body.ea a.ea-avatar--logo img{ display: block; width: 100%; height: 100%; object-fit: contain; }
body.ea a.ea-avatar--logo:hover{ border-color: var(--ea-ink, #1E1E1C); }
body.ea .ea-extra--web{ border-color: var(--ea-accent, #3F5AD1); color: var(--ea-accent, #3F5AD1); }
body.ea .ea-extra--web:hover{ background: var(--ea-accent, #3F5AD1); color: #fff; }
body.ea .ea-extra--web:hover svg{ color: #fff; }
body.ea .ea-extra__pfeil{ font-weight: 400; margin-left: 1px; }
body.ea .ea-ask__web{
    display: block; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ea-haar, #E7E2DE);
    text-align: center; font-size: 14px; font-weight: 600; color: var(--ea-accent, #3F5AD1); text-decoration: none; text-wrap: balance;
}
body.ea .ea-ask__web:hover{ text-decoration: underline; }


/* =================================================================
   LIEFERUNG 414 - Knopf „Zur Website“ in Champagnergold (18.11.2026)
   Andrej: passend zur Goldkarte (L409-L411), elegant und hochwertig.
   Mockup _MOCKUP_2026-11-18_Profil-Knopf-Zur-Website, Fassung A1:
   EIN weicher heller Bereich oben links, kein Streifen-Verlauf (der
   Verlauf der Karte wurde auf dem kleinen Knopf zu Streifen).
   Bewegung wie der Knopf „Website“ auf der Karte: Licht einmal um den
   Rand, Schimmer durch die Schrift, kleiner Stern - einmal nach dem
   Laden, beim Darueberfahren noch einmal. Keine Schleife.
   ================================================================= */
body.ea .ea-extra.ea-extra--web{
    position: relative; overflow: hidden; isolation: isolate;
    border-color: #D9BA7B; color: #4A3A1C;
    background: radial-gradient(130% 220% at 28% 15%, #FCF6E6 0%, #F1E2BF 38%, #E3C993 100%);
}
body.ea .ea-extra.ea-extra--web svg{ color: #7A5C2C; }
body.ea .ea-extra.ea-extra--web:hover{ border-color: #B8955C; background: radial-gradient(130% 220% at 28% 15%, #FCF6E6 0%, #F1E2BF 38%, #E3C993 100%); color: #4A3A1C; }
body.ea .ea-extra.ea-extra--web:hover svg{ color: #7A5C2C; }
body.ea .ea-extra--web .ea-extra__t{
    position: relative; display: inline-block; color: #4A3A1C;
    background: linear-gradient(100deg, #4A3A1C 0%, #4A3A1C 42%, #FFFFFF 50%, #B8955C 54%, #4A3A1C 62%, #4A3A1C 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: ea-pw-schrift .9s ease-in-out 3.2s 1 both;
}
body.ea .ea-extra--web .ea-extra__t::after{
    content: ""; position: absolute; right: -6px; top: -4px; width: 9px; height: 9px; pointer-events: none;
    background: #fff;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    filter: drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 3px rgba(233,201,138,.9));
    opacity: 0; transform: scale(0) rotate(0deg);
    animation: ea-pw-funke .6s ease-out 4.0s 1 both;
}
@property --ea-pw-w{ syntax: '<angle>'; inherits: false; initial-value: 0deg; }
body.ea .ea-extra--web::before{
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.6px; pointer-events: none; z-index: 2;
    background: conic-gradient(from var(--ea-pw-w), rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 200deg,
                rgba(255,255,255,1) 285deg, #D9B25F 320deg, #F6E3B0 340deg, rgba(255,255,255,0) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0;
    animation: ea-pw-rand 1.9s ease-in-out 1.4s 1 both;
}
/* Darueberfahren: eigene Namen der Bewegungen, sonst startet der Browser sie nicht neu */
body.ea .ea-extra--web:hover::before{ animation: ea-pw-rand2 1.5s ease-in-out 0s 1 both; }
body.ea .ea-extra--web:hover .ea-extra__t{ animation: ea-pw-schrift2 .9s ease-in-out 1.3s 1 both; }
body.ea .ea-extra--web:hover .ea-extra__t::after{ animation: ea-pw-funke2 .6s ease-out 2.1s 1 both; }
@keyframes ea-pw-rand  { 0%{ --ea-pw-w: 0deg; opacity: 0; } 12%{ opacity: 1; } 88%{ opacity: 1; } 100%{ --ea-pw-w: 360deg; opacity: 0; } }
@keyframes ea-pw-rand2 { 0%{ --ea-pw-w: 0deg; opacity: 0; } 12%{ opacity: 1; } 88%{ opacity: 1; } 100%{ --ea-pw-w: 360deg; opacity: 0; } }
@keyframes ea-pw-schrift { from{ background-position: 100% 0; } to{ background-position: 0 0; } }
@keyframes ea-pw-schrift2{ from{ background-position: 100% 0; } to{ background-position: 0 0; } }
@keyframes ea-pw-funke  { 0%{ opacity: 0; transform: scale(0) rotate(0deg); } 40%{ opacity: 1; transform: scale(1) rotate(45deg); } 100%{ opacity: 0; transform: scale(.2) rotate(90deg); } }
@keyframes ea-pw-funke2 { 0%{ opacity: 0; transform: scale(0) rotate(0deg); } 40%{ opacity: 1; transform: scale(1) rotate(45deg); } 100%{ opacity: 0; transform: scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce){
    body.ea .ea-extra--web::before{ display: none; }
    body.ea .ea-extra--web .ea-extra__t, body.ea .ea-extra--web .ea-extra__t::after{ animation: none !important; }
}
