        /*
         * Overlay-FAB (cod-embed) — config-getrieben.
         * Farben/Groessen kommen ueber data-Attribute + Inline-Styles aus der
         * zentralen Overlay-Config. CSS-Custom-Properties (--cod-*) wirken
         * fuer globale Typografie und Animationen.
         */

        /* ── Einblend-Animation beim Seitenaufruf ── */
        @keyframes cod-fab-pop-in {
            0%   { opacity: 0; transform: scale(0); }
            65%  { opacity: 1; transform: scale(1.1); }
            82%  { transform: scale(0.95); }
            100% { opacity: 1; transform: scale(1); }
        }

        /* ── Wrapper: Position wird via Inline-Style + data-Attribute gesetzt ── */
        .cod-overlay-fab-wrap {
            position: fixed;
            z-index: 9800;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 8px;
            opacity: 0;
            pointer-events: none;
        }
        /* Koordinator setzt .cod-fab-revealed sobald alle Elemente bereit sind */
        .cod-overlay-fab-wrap.cod-fab-revealed {
            pointer-events: auto;
            animation: cod-fab-pop-in 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
        }

        /* Wenn side=left, Inhalt links ausrichten */
        .cod-overlay-fab-wrap[data-side="left"] {
            align-items: flex-start;
        }

        /* ── FAB-Basis ── */
        .cod-overlay-fab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            text-decoration: none;
            flex-shrink: 0;
            border-style: solid;
            /* Schatten und Transition aus COD-Design */
            box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
            /* Padding-Reset fuer <button> */
            padding: 0;
            font: inherit;
            /* Inline-Style setzt: background, border-color, border-width, border-radius,
               color, width, height — aus der zentralen Config. */
        }

        .cod-overlay-fab:hover,
        .cod-overlay-fab:focus,
        .cod-overlay-fab:focus-visible,
        .cod-overlay-fab:active {
            transform: scale(1.05);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
            outline: none;
        }

        .cod-overlay-fab:active {
            transform: translateY(0) scale(0.97);
        }

        /* Reset Browser-Defaults fuer <button> */
        button.cod-overlay-fab {
            appearance: none;
            -webkit-appearance: none;
        }

        /* ── Eingeloggt: Initiale ── */
        .cod-overlay-fab__initial {
            font-family: var(--cod-font-headline-main, "Arial Rounded MT Bold - Family", system-ui, sans-serif);
            font-size: 22px;
            font-weight: 700;
            line-height: 1;
            pointer-events: none;
            user-select: none;
        }

        /* ── Login-Icon ── */
        .cod-overlay-fab--guest img {
            pointer-events: none;
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

        /* ── Profilbild (eingeloggt, nach Hydration gesetzt) ── */
        .cod-overlay-fab__avatar {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
            pointer-events: none;
        }

        /* Box beschneidet das (ggf. gezoomte) Bild auf die abgerundete Form.
           Das Popover ist Geschwister im -wrap und wird NICHT mitbeschnitten.
           !important: verhindert Theme-Overrides (war ursaechlich fuer Form-Verlust). */
        .cod-overlay-fab {
            overflow: hidden !important;
        }

        /* Dummy-Profilbild hat eingebaute transparente Raender -> wie auf .net
           leicht hineinzoomen, damit es die Box randlos fuellt (keine weissen Ecken). */
        .cod-overlay-fab__avatar[src*="Dummy-Profilbild"],
        .cod-overlay-fab--guest img[src*="Dummy-Profilbild"],
        .cod-overlay-fab--logged-in img[src*="Dummy-Profilbild"] {
            transform: scale(1.16);
            transform-origin: center center;
        }

        /* ── Popover-Menue ── */
        .cod-overlay-fab-popover {
            position: absolute;
            min-width: 188px;
            background: rgba(255, 255, 255, 0.97);
            border: 1px solid rgba(181, 194, 216, 0.55);
            border-radius: 16px;
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
            padding: 6px;
            display: none;
            flex-direction: column;
            gap: 2px;
            -webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);
            -webkit--webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);
        }

        .cod-overlay-fab-popover.is-open {
            display: flex;
        }

        /* Name-Zeile */
        .cod-overlay-fab-popover__name {
            font-family: var(--cod-font-body, "Lato Semibold - Family", system-ui, sans-serif);
            font-size: 13px;
            font-weight: 700;
            color: var(--cod-color-text, #4d4d4d);
            padding: 8px 12px 6px;
            border-bottom: 1px solid rgba(181, 194, 216, 0.35);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 200px;
        }

        /* Menue-Eintraege */
        .cod-overlay-fab-popover__item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            border-radius: 10px;
            font-family: var(--cod-font-body, "Lato Semibold - Family", system-ui, sans-serif);
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.15s ease, color 0.15s ease;
            border: none;
            background: none;
            width: 100%;
            box-sizing: border-box;
            color: var(--cod-color-text, #4d4d4d);
        }

        .cod-overlay-fab-popover__item:hover,
        .cod-overlay-fab-popover__item:focus-visible {
            background: color-mix(in srgb, var(--cod-color-accent-blue, #3598db) 10%, transparent);
            color: var(--cod-color-accent-blue, #3598db);
            outline: none;
        }

        .cod-overlay-fab-popover__item--logout {
            color: var(--cod-color-muted, #657085);
        }

        .cod-overlay-fab-popover__item--logout:hover,
        .cod-overlay-fab-popover__item--logout:focus-visible {
            background: color-mix(in srgb, var(--cod-color-accent-blue, #3598db) 8%, transparent);
            color: var(--cod-color-accent-blue, #3598db);
        }

        /* ── screen-reader-text (WP-Standard) ── */
        .cod-overlay-fab-wrap .screen-reader-text {
            border: 0;
            clip: rect(1px, 1px, 1px, 1px);
            clip-path: inset(50%);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
            word-wrap: normal !important;
        }

        /* ── Inline-Login-Modal (cod-elm) ── */
        /* Identisch zum zentralen cod-login-modal; gescoped auf .cod-elm__ */

        /* Shell-Werte kommen aus den zentralen Popup-Tokens (cod-modal.css).
           Fallbacks = bisherige Werte, falls die Tokens mal nicht geladen sind. */
        .cod-elm__modal {
            position: fixed;
            inset: 0;
            height: 100vh;   /* Fallback */
            height: 100lvh;  /* iOS: grosse Viewport-Hoehe -> deckt auch den Bereich unter der einklappenden Safari-Leiste */
            z-index: var(--cod-modal-z, 999999);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .cod-elm__modal.is-open {
            display: flex;
        }
        body.cod-elm-open {
            overflow: hidden;
        }
        .cod-elm__backdrop {
            position: absolute;
            inset: 0;
            height: 100%;
            background: var(--cod-modal-backdrop, rgba(15, 23, 42, .58));
            -webkit--webkit-backdrop-filter: blur(var(--cod-modal-backdrop-blur, 6px));backdrop-filter: blur(var(--cod-modal-backdrop-blur, 6px));
            -webkit-backdrop-filter: blur(var(--cod-modal-backdrop-blur, 6px));backdrop-filter: blur(var(--cod-modal-backdrop-blur, 6px));
        }
        .cod-elm__dialog {
            position: relative;
            z-index: 2;
            width: min(92vw, var(--cod-modal-maxw, 520px));
            max-height: min(94vh, 900px);
            overflow: auto;
            background: var(--cod-modal-bg, linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,250,255,.98) 100%));
            border-radius: var(--cod-modal-radius, 22px);
            border: var(--cod-modal-border, 1px solid rgba(181, 194, 216, .4));
            box-shadow: var(--cod-modal-shadow, 0 28px 64px rgba(14, 36, 74, .28));
            padding: var(--cod-modal-pad, 26px);
        }
        .cod-elm__close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 2;
            appearance: none;
            border: 0;
            background: var(--cod-modal-close-bg, #d9e9fa);
            color: var(--cod-color-heading, #1f4d86);
            width: var(--cod-modal-close-size, 42px);
            height: var(--cod-modal-close-size, 42px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            cursor: pointer;
            line-height: 0;
            box-shadow: none;
        }
        .cod-elm__close svg {
            width: 18px;
            height: 18px;
            display: block;
        }
        .cod-elm__title {
            margin: 0 0 10px;
            font-size: 28px;
            line-height: 1.1;
            font-family: var(--cod-font-headline-main, "Arial Rounded MT Bold - Family", system-ui, sans-serif);
            color: var(--cod-color-heading, #1f4166);
        }
        .cod-elm__sub {
            margin: 0 0 18px;
            color: var(--cod-color-muted, #657085);
            line-height: 1.5;
        }
        .cod-elm__panel[aria-hidden="true"] {
            display: none !important;
        }
        .cod-elm__panel form p {
            margin: 0 0 14px;
        }
        .cod-elm__panel label {
            display: block;
            margin: 0 0 6px;
            color: var(--cod-color-text, #2f3640);
            font-weight: 600;
        }
        .cod-elm__panel input[type="text"],
        .cod-elm__panel input[type="email"],
        .cod-elm__panel input[type="password"],
        .cod-elm__panel input[type="date"],
        .cod-elm__panel select {
            width: 100%;
            min-height: 48px;
            padding: 12px 14px;
            border: 1px solid rgba(181, 194, 216, .75);
            border-radius: var(--cod-modal-field-radius, 12px);
            background: #fff;
            color: var(--cod-color-text, #2f3640);
            font-size: 15px;
            box-sizing: border-box;
            box-shadow: none;
            font-family: var(--cod-font-body, system-ui, sans-serif);
        }
        /* Passwortfeld mit Augen-Toggle */
        .cod-elm__pwd-wrap {
            position: relative;
            display: block;
        }
        .cod-elm__pwd-wrap input[type="text"],
        .cod-elm__pwd-wrap input[type="password"] {
            padding-right: 78px;
        }
        .cod-elm__pwd-btn {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: 0;
            background: transparent !important;
            -webkit-appearance: none;
            appearance: none;
            box-shadow: none !important;
            -webkit-tap-highlight-color: transparent;
            color: var(--cod-color-muted, #657085);
            cursor: pointer;
        }
        .cod-elm__pwd-btn:hover,
        .cod-elm__pwd-btn:focus,
        .cod-elm__pwd-btn:active {
            background: transparent !important;
            box-shadow: none !important;
            outline: none;
        }
        .cod-elm__pwd-btn:hover { color: var(--cod-color-heading, #1f4d86); }
        /* Vorschlag-Icon links neben dem Auge-Icon (etwas weiter rechts) */
        .cod-elm__pwd-btn--gen { right: 38px; }
        /* Auge-Toggle: zwei Icons (offen / durchgestrichen) umschalten */
        .cod-elm__pwd-toggle .cod-elm__icon-eye-off { display: none; }
        .cod-elm__pwd-toggle[aria-pressed="true"] .cod-elm__icon-eye { display: none; }
        .cod-elm__pwd-toggle[aria-pressed="true"] .cod-elm__icon-eye-off { display: inline-block; }
        .cod-elm__pwd-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 6px;
        }
        .cod-elm__pwd-actions .cod-elm__hint { margin: 0; }
        /* Kopfzeile fuer Passwort: Label + Hinweis links, Vorschlag-Link rechts */
        .cod-elm__field-head {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: nowrap;
            margin-bottom: 6px;
        }
        .cod-elm__field-head label {
            margin: 0;
            white-space: nowrap;
            flex: 0 1 auto;
            min-width: 0;
        }
        .cod-elm__field-head .cod-elm__pwd-gen {
            white-space: nowrap;
            flex: 0 0 auto;
        }
        .cod-elm__hint--inline {
            display: inline;
            font-weight: 500;
            margin-left: 4px;
            white-space: nowrap;
        }
        .cod-elm__pwd-gen {
            border: 0;
            background: transparent;
            padding: 0;
            color: var(--cod-color-heading, #1f4d86);
            font-size: 13px;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
            font-family: var(--cod-font-body, system-ui, sans-serif);
        }
        .cod-elm__pwd-gen:hover { opacity: .8; }
        /* Registrieren-Panel verdichten: alle Felder sollen bei 100% Zoom
           ohne Scrollen sichtbar sein (viele Felder = wenig Hoehe pro Feld). */
        #cod-elm-panel-register .cod-elm__title { margin-bottom: 6px; font-size: 24px; }
        #cod-elm-panel-register .cod-elm__sub { margin-bottom: 12px; }
        /* Exakt gleiche Abstaende zwischen ALLEN Eingabefeld-Zeilen (Felder + Raster).
           Wichtig: > p (nur direkte Form-Kinder), sonst bekommen die <p> IM Raster
           ebenfalls Abstand und der Abstand Name->E-Mail wird doppelt so gross. */
        #cod-elm-panel-register form > p,
        #cod-elm-panel-register form > .cod-elm__grid2 { margin: 0 0 11px; }
        #cod-elm-panel-register .cod-elm__grid2 { gap: 11px; }
        #cod-elm-panel-register .cod-elm__grid2 > p { margin: 0; }
        #cod-elm-panel-register input[type="text"],
        #cod-elm-panel-register input[type="email"],
        #cod-elm-panel-register input[type="password"],
        #cod-elm-panel-register input[type="date"],
        #cod-elm-panel-register select {
            min-height: 44px;
            height: 44px;
            padding: 9px 14px;
            line-height: 1.2;
            min-width: 0;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        /* Geschlecht: eigener Dropdown-Pfeil (groesser), da appearance:none den nativen entfernt */
        #cod-elm-panel-register select {
            padding-right: 44px;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23657085' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 13px center;
            background-size: 22px 22px;
        }
        /* Geburtsdatum: sichtbarer Chevron rechts (wie Geschlecht), zeigt Klickbarkeit.
           Als Hintergrundbild, da iOS Safari kein natives Klick-Icon hat. */
        #cod-elm-panel-register input[type="date"] {
            position: relative; /* Bezug für den absolut gelegten Picker-Indikator, siehe unten */
            padding-right: 44px;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23657085' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 13px center;
            background-size: 22px 22px;
        }
        /* Nativen Picker-Indikator (Chrome/Android) unsichtbar ÜBER den Chevron legen.
           WICHTIG - hier lag der Fehler: Der Indikator ist ein Inline-Element im
           CONTENT-Bereich des Feldes und wird deshalb vom padding-right: 44px nach
           links geschoben. Gemessen endete er 10 px LINKS vom gezeichneten Chevron
           (Indikator bis x=669,5 / Chevron 679,5 bis 701,5) - der sichtbare Pfeil war
           damit reine Dekoration ohne Klickziel, und das einzige echte Klickziel lag
           unsichtbar mitten im Feld. Absolut positioniert deckt er den Chevron exakt.
           Safari/iOS kennt dieses Pseudo-Element nicht und öffnet den Picker ohnehin
           beim Klick ins Feld - dort war der Pfeil nie tot. */
        #cod-elm-panel-register input[type="date"]::-webkit-calendar-picker-indicator {
            position: absolute;
            right: 7px;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            margin: 0;
            padding: 0;
            opacity: 0;
            cursor: pointer;
        }
        #cod-elm-panel-register input[type="date"]::-webkit-date-and-time-value {
            text-align: left;
        }
        /* Firefox zeigt einen EIGENEN Kalender-Knopf, den kein CSS ansprechen kann
           (ein ::-moz-…-Pseudo-Element gibt es nicht mehr). Gemessen standen dort
           zwei Symbole nebeneinander: sein Knopf, durch das padding-right nach links
           geschoben, und rechts daneben unser Chevron ohne jede Funktion. Deshalb
           entfällt hier UNSER Pfeil - der native übernimmt und rückt an dessen Platz.
           Erkennung über -moz-orient, das kennt nur Firefox. */
        @supports (-moz-orient: inline) {
            #cod-elm-panel-register input[type="date"] {
                background-image: none;
                padding-right: 12px;
            }
            /* Der Platzhalter darf den nativen Knopf nicht verdecken (nur mobil sichtbar). */
            .cod-elm__date-ph { right: 34px; }
        }
        #cod-elm-panel-register .cod-elm__pwd-actions { margin-top: 4px; }
        #cod-elm-panel-register .cod-elm__consent { margin-bottom: 8px !important; }
        /* Einheitliches Platzhalter-Grau (wie zuvor bei "Mindestens 8 Zeichen") */
        #cod-elm-panel-register ::placeholder { color: #9aa3b2; opacity: 1; }
        #cod-elm-reg-gender:invalid { color: #9aa3b2; }
        #cod-elm-reg-gender option { color: var(--cod-color-text, #2f3640); }
        /* Desktop: Platzhalter unsichtbar, da Label sichtbar ist */
        #cod-elm-reg-first::placeholder,
        #cod-elm-reg-last::placeholder,
        #cod-elm-reg-email::placeholder,
        #cod-elm-reg-pwd::placeholder { color: transparent; }
        /* Geburtsdatum-Platzhalter-Overlay (nur Mobile sichtbar) */
        .cod-elm__date-wrap { position: relative; display: block; }
        .cod-elm__date-ph,
        .cod-elm__date-fmt {
            display: none;
            position: absolute;
            left: 1px; top: 1px; bottom: 1px;
            right: 40px;
            align-items: center;
            padding-left: 13px;
            background: #fff;
            border-radius: 12px;
            color: #9aa3b2;
            pointer-events: none;
        }
        /* Formatangabe im Geburtsdatum, wo die Engine selbst keine zeigt (18.08.2026).
           GEMESSEN in allen drei Engines: Chromium und Firefox schreiben das
           erwartete Format ins leere Feld, Safari laesst es LEER - dort sieht man
           nur einen Pfeil und weiss nicht, ob Tag oder Monat zuerst kommt.
           Die Klasse setzt das Skript per Faehigkeits-Erkennung, nicht ueber die
           Browser-Kennung: Chromium kennt ::-webkit-calendar-picker-indicator,
           Firefox kennt -moz-orient - wer beides nicht kennt, zeigt kein Format.
           Auf schmalen Schirmen bleibt es beim Wort "Geburtsdatum": Dort ist das
           Label ausgeblendet, und der Feldname ist wichtiger als sein Format. */
        .cod-elm__date-wrap.zeigt-kein-format .cod-elm__date-fmt { display: flex; }
        .cod-elm__date-wrap.zeigt-kein-format.has-value .cod-elm__date-fmt,
        .cod-elm__date-wrap.zeigt-kein-format.is-focus .cod-elm__date-fmt { display: none; }
        @media (max-width: 480px) {
            .cod-elm__date-fmt { display: none !important; }
        }

        /* Zwei-Spalten-Raster fuer Vorname/Nachname + Geburtsdatum/Geschlecht */
        .cod-elm__grid2 {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 12px;
        }
        .cod-elm__grid2 > p { margin: 0; min-width: 0; }
        @media (max-width: 480px) {
            .cod-elm__grid2 { grid-template-columns: 1fr; }
            /* Mobile: Hoehe sparen, damit alles (inkl. "Bereits ein Konto") ohne Scrollen passt */
            .cod-elm__modal { padding: 8px; }
            .cod-elm__dialog { padding: 14px 16px; max-height: 96vh; }
            #cod-elm-panel-register .cod-elm__title { font-size: 20px; margin-bottom: 3px; }
            #cod-elm-panel-register .cod-elm__sub { margin-bottom: 8px; }
            #cod-elm-panel-register .cod-elm__consent { margin-bottom: 6px !important; }
            #cod-elm-panel-register .cod-elm__submit-wrap { margin-top: 2px !important; }
            #cod-elm-panel-register .cod-elm__links { margin-top: 8px; }
            .cod-elm__close { top: 8px; right: 8px; width: 36px; height: 36px; }
            /* Mobile: weniger Hoehe - Labels aus, Inhalt nur noch als Platzhalter im Feld. */
            #cod-elm-panel-register label[for="cod-elm-reg-first"],
            #cod-elm-panel-register label[for="cod-elm-reg-last"],
            #cod-elm-panel-register label[for="cod-elm-reg-email"],
            #cod-elm-panel-register label[for="cod-elm-reg-pwd"],
            #cod-elm-panel-register label[for="cod-elm-reg-bday"],
            #cod-elm-panel-register label[for="cod-elm-reg-gender"] { display: none; }
            #cod-elm-reg-first::placeholder,
            #cod-elm-reg-last::placeholder,
            #cod-elm-reg-email::placeholder,
            #cod-elm-reg-pwd::placeholder { color: #9aa3b2; }
            /* Passwort-Label aus -> Vorschlag-Link rechts ausrichten */
            #cod-elm-panel-register .cod-elm__field-head { justify-content: flex-end; }
            /* Geburtsdatum-Platzhalter nur einblenden, solange leer und nicht fokussiert */
            .cod-elm__date-ph { display: flex; }
            .cod-elm__date-wrap.has-value .cod-elm__date-ph,
            .cod-elm__date-wrap.is-focus .cod-elm__date-ph { display: none; }
            /* Meldungen als eigener Toast oben - vergroessern das Popup nicht in der Hoehe */
            .cod-elm__notice {
                position: fixed;
                top: 10px;
                left: 10px;
                right: 10px;
                z-index: 1000002;
                margin: 0 !important;
                box-shadow: 0 12px 32px rgba(14, 36, 74, .3);
            }
        }
        /* Zustimmungs-Checkboxen (AGB / Newsletter) */
        .cod-elm__consent {
            margin: 0 0 12px !important;
        }
        .cod-elm__consent label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 0;
            font-weight: 500;
            font-size: 13px;
            line-height: 1.5;
            color: var(--cod-color-muted, #657085);
            cursor: pointer;
        }
        .cod-elm__consent input[type="checkbox"] {
            margin-top: 3px;
            flex-shrink: 0;
        }
        .cod-elm__consent a {
            color: var(--cod-color-heading, #1f4d86);
            text-decoration: underline;
        }
        /* Newsletter-Pflichttext unter der Einwilligungs-Checkbox */
        .cod-elm__nl-legal {
            margin: -4px 0 12px;
            font-size: 12px;
            line-height: 1.5;
            color: var(--cod-color-muted, #657085);
        }
        .cod-elm__nl-legal p { margin: 0 0 6px; }
        .cod-elm__nl-legal a {
            color: var(--cod-color-heading, #1f4d86);
            text-decoration: underline;
        }
        .cod-elm__nl-legal summary {
            cursor: pointer;
            min-height: 24px;
            padding: 2px 0;
        }
        .cod-elm__remember {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--cod-color-muted, #657085);
            margin: 0 0 14px !important;
        }
        .cod-elm__remember label {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            font-weight: 500;
            cursor: pointer;
        }
        .cod-elm__hint {
            font-size: 12px;
            color: var(--cod-color-muted, #888);
            display: block;
        }
        .cod-elm__submit-wrap {
            margin-top: 4px !important;
        }
        .cod-elm__btn-primary {
            appearance: none;
            border: 0;
            border-radius: 999px;
            background: var(--cod-cta, #3598db);
            color: #fff;
            padding: 12px 20px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 14px 28px rgba(23, 105, 199, .22);
            width: 100%;
            font-family: var(--cod-font-body, system-ui, sans-serif);
            font-size: 15px;
            transition: opacity .15s ease;
        }
        .cod-elm__btn-primary:disabled {
            opacity: .6;
            cursor: not-allowed;
        }
        .cod-elm__links {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 18px;
        }
        .cod-elm__link {
            color: var(--cod-color-heading, #1f4d86);
            text-decoration: none;
            font-weight: 600;
        }
        .cod-elm__link:hover {
            text-decoration: underline;
        }
        .cod-elm__notice {
            margin: 0 0 16px;
            padding: 12px 14px;
            border-radius: 12px;
            font-size: 14px;
            line-height: 1.5;
        }
        .cod-elm__notice--error {
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }
        .cod-elm__notice--info {
            background: #eff6ff;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
        }
        .cod-elm__notice--success {
            background: #f0fdf4;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }
        /* Honeypot-Feld unsichtbar (nicht display:none, sonst erkennen Bots es) */
        .cod-elm__hp-wrap {
            position: absolute;
            left: -9999px;
            top: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
            opacity: 0;
            pointer-events: none;
        }
        /* Noscript-Fallback-Link */
        .cod-overlay-fab__noscript-link {
            display: none;
        }
        noscript .cod-overlay-fab__noscript-link {
            display: inline-block;
            margin-top: 4px;
            font-size: 11px;
            color: var(--cod-color-muted, #888);
            text-decoration: underline;
        }

        /* ── Mobile: Notification-Counter 25% kleiner ── */
        @media (max-width: 480px) {
            [data-cod-chat-embed-launcher] .cod-chat-launcher__count,
            [data-cod-chat-embed-launcher] .cod-chat-overlay-count {
                transform: scale(0.75) !important;
                transform-origin: top right !important;
            }
        }
        