/* PORTAL_CLEAN_FOOTER_LOGO_BASE_REWRITE_2026_06_04 */


/* PORTAL_CLEAN_VISUAL_BLOCK_V3_2026_06_05
   Sauberer Visual-/Wasserzeichenblock.
   Ziel:
   - Ueberschriften ruhig
   - Bilder automatisch einheitlicher
   - Herz nur bei bewusst gesetzter Klasse dbx-heart-watermark
   - Daumen runter nur bei bewusst gesetzter Klasse dbx-report-watermark
   - keine breit gestreuten [class*="report"]-Regeln
*/

:root {
  --dbx-watermark-heart-size: clamp(50px, 4.4vw, 70px);
  --dbx-watermark-report-size: clamp(46px, 4vw, 64px);
  --dbx-member-image-width: min(100%, 420px);
  --dbx-member-image-radius: 14px;
}

/* Ruhigere Ueberschriften */
.dbx-page-shell h1,
.dbx-card h1,
.content-card h1,
.content-section h1,
.member-card h1,
.dbx-profile-card h1,
.dbx-member-card h1 {
  font-size: clamp(2.05rem, 3vw, 3.05rem);
  line-height: 1.04;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.dbx-page-shell h2,
.dbx-card h2,
.content-card h2,
.content-section h2,
.member-card h2,
.dbx-profile-card h2,
.dbx-member-card h2 {
  font-size: clamp(1.42rem, 2vw, 2.05rem);
  line-height: 1.08;
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.dbx-page-shell h3,
.dbx-card h3,
.content-card h3,
.content-section h3,
.member-card h3,
.dbx-profile-card h3,
.dbx-member-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.48rem);
  line-height: 1.12;
  margin-top: 0;
  margin-bottom: 0.45rem;
}

/* Bilder begrenzen und gleichmäßiger darstellen */
img {
  max-width: 100%;
  height: auto;
}

.member-profile-photo,
.dbx-member-card img.member-profile-photo,
.member-card img.member-profile-photo,
[class*="member-card"] img.member-profile-photo {
  display: block;
  width: var(--dbx-member-image-width);
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--dbx-member-image-radius);
  margin: 0.65rem auto 0.85rem;
}

/* Nachrichtenbilder/Avatare klein und kontrolliert */
.msg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 16px;
  flex: 0 0 62px;
}

.msg-avatar-large {
  width: 132px;
  height: 132px;
  flex-basis: 132px;
}

.msg-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Herz-Wasserzeichen nur gezielt */
.dbx-heart-watermark,
.dbx-report-watermark {
  position: relative;
  overflow: hidden;
}

.dbx-heart-watermark > *,
.dbx-report-watermark > * {
  position: relative;
  z-index: 1;
}

.dbx-heart-watermark::after {
  content: "♡";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--dbx-watermark-heart-size);
  line-height: 1;
  color: rgba(255, 0, 24, 0.92);
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
}

/* Missbrauch / rechtswidrige Inhalte: nur Daumen runter */
.dbx-report-watermark::after,
.dbx-help-report-precise.dbx-report-watermark::after,
.dbx-help-align-report.dbx-report-watermark::after,
.dbx-help-wide-clean.dbx-report-watermark::after,
.dbx-legal-added.dbx-report-watermark::after {
  content: "👎🏻";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--dbx-watermark-report-size);
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  color: rgba(255, 248, 240, 0.08);
  filter: brightness(2.4) saturate(0.35);
  text-shadow: none;
}

/* Falls alte Hilfeklassen ohne report-Klasse auftauchen: kein Herz erzwingen */
.dbx-help-report-precise:not(.dbx-report-watermark)::after,
.dbx-help-align-report:not(.dbx-report-watermark)::after,
.dbx-help-wide-clean:not(.dbx-report-watermark)::after {
  content: "👎🏻";
  content: "👎🏻";
  color: rgba(255, 248, 240, 0.08);
  opacity: 0.08;
  filter: brightness(2.4) saturate(0.35);
  text-shadow: none;
}

/* Mobil */
@media (max-width: 700px) {
  :root {
    --dbx-member-image-width: min(100%, 330px);
  }

  .dbx-page-shell h1,
  .dbx-card h1,
  .content-card h1,
  .content-section h1,
  .member-card h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .msg-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .msg-avatar-large {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .dbx-heart-watermark::after,
  .dbx-report-watermark::after {
    right: 18px;
    opacity: 0.08;
  content: "👎🏻";
  color: rgba(255, 248, 240, 0.08);
  filter: brightness(2.4) saturate(0.35);
  text-shadow: none;
}
}

/* /PORTAL_CLEAN_VISUAL_BLOCK_V3_2026_06_05 */

/* PORTAL_LIVE_HEADER_CONTENT_GAP_3PX_2026_06_05
   Globaler sauberer Abstand:
   Menüleiste -> erster Seitenkasten = 3px.
   Kein neuer Designumbau, nur vertikaler Abstand.
*/


.dbx-site-header {
  margin-bottom: 3px !important;
}

.dbx-site-header + main,
.dbx-site-header + .dbx-page-shell,
.dbx-site-header + .dbx-home,
.dbx-site-header + .dbx-home-calm,
.dbx-site-header + .page-shell,
.dbx-site-header + .container {
  margin-top: 0 !important;
}

body > main,
body > .dbx-page-shell,
body > .dbx-home,
body > .dbx-home-calm,
body > .page-shell {
  margin-top: 3px !important;
}

@media (max-width: 760px) {
  .dbx-site-header {
    margin-bottom: 3px !important;
  }

  .dbx-site-header + main,
  .dbx-site-header + .dbx-page-shell,
  .dbx-site-header + .dbx-home,
  .dbx-site-header + .dbx-home-calm,
  .dbx-site-header + .page-shell,
  .dbx-site-header + .container {
    margin-top: 0 !important;
  }
}
/* /PORTAL_LIVE_HEADER_CONTENT_GAP_3PX_2026_06_05 */

/* PORTAL_V1_5_2_STRUCTURE_TEMPLATE_REBUILD_2026_05_29 */

/*
   Sauberes Portal-Template:
   - eine zentrale style.css
   - Header-Struktur: Logo links, Menü rechts
   - braun/gold Premium-Stil
   - aktive Seite sichtbar
   - ruhige Überschriften
   - Kartenbreite wie Menü
   - Footer heller und lesbar
*/

:root {
    --dbx-page-max: 980px;
    --dbx-gap: 2px;

    --dbx-bg-top: #07131f;
    --dbx-bg-mid: #2e586c;
    --dbx-bg-light: #8fc5d8;
    --dbx-bg-bottom: #07131f;

    --dbx-card-a: #351113;
    --dbx-card-b: #561b1d;
    --dbx-card-c: #2a090c;

    --dbx-card-soft-a: #4a1719;
    --dbx-card-soft-b: #6b2520;
    --dbx-card-soft-c: #300b0d;

    --dbx-gold: #d99d21;
    --dbx-gold-light: #fff0a8;
    --dbx-gold-strong: #f2c544;
    --dbx-gold-dark: #8d5b13;

    --dbx-text: #fff8ec;
    --dbx-muted: #f3dfc7;
    --dbx-dark-text: #190d05;

    --dbx-radius: 13px;
    --dbx-shadow: 0 18px 34px rgba(0,0,0,0.34);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #07131f;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--dbx-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    background:
        linear-gradient(180deg,
            var(--dbx-bg-top) 0%,
            #10283a 17%,
            var(--dbx-bg-light) 50%,
            #24475b 76%,
            var(--dbx-bg-bottom) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(170, 217, 232, 0.42), transparent 34%),
        linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.55) 100%);
    opacity: 0.72;
    z-index: -1;
}

/* Header: Logo links, Menü rechts */
.dbx-site-header {
    width: min(var(--dbx-page-max), calc(100vw - 34px));
    min-height: 58px;
    margin: 14px auto 10px auto;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1.5px solid var(--dbx-gold-strong);
    border-radius: 13px;
    background:
        radial-gradient(circle at 24% 20%, rgba(121, 35, 43, 0.78), transparent 36%),
        linear-gradient(105deg, #441719 0%, #381013 45%, #23080a 100%);
    box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

.dbx-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.68rem;
    min-height: 44px;
    color: #ffe89a;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
}

.dbx-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 0;
    color: #ff1028;
    font-size: 42px;
    line-height: 1;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", serif;
    filter: saturate(1.45) contrast(1.12) drop-shadow(0 0 8px rgba(255, 16, 40, 0.58));
    transform: translateY(0);
}

.dbx-brand-text {
    font-size: 25px;
    letter-spacing: 0.01em;
}

.dbx-main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.dbx-main-nav a,
.dbx-nav-link {
    height: 31px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid transparent;
    color: #fff9ed;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.dbx-main-nav a:hover,
.dbx-nav-link:hover {
    background: linear-gradient(180deg, #b97913 0%, #7b3f06 100%) !important;
    color: #160701 !important;
    border-color: #6f3900 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.dbx-main-nav a.is-active,
.dbx-main-nav a[aria-current="page"],
.dbx-nav-link.is-active,
.dbx-nav-link[aria-current="page"] {
    color: var(--dbx-dark-text);
    border-color: #fff3a6;
    background:
        linear-gradient(180deg, #fff3a0 0%, #f5c946 48%, #b77413 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.58),
        0 5px 12px rgba(0,0,0,0.30);
}

/* Hauptbereich */
.dbx-main {
    width: min(var(--dbx-page-max), calc(100vw - 34px));
    margin: 0 auto;
}

/* Standardkarten und viele vorhandene Klassennamen */
.dbx-main > *,
.card,
.box,
.panel,
.hero,
.section,
.content-box,
.form-box,
.form-card,
.legal-box,
.legal-section,
.notice,
.admin-box,
.dashboard-box {
    position: relative;
    margin-top: var(--dbx-gap);
    border-radius: var(--dbx-radius);
    border: 1px solid rgba(217,157,33,0.76);
    background:
        radial-gradient(circle at 47% 10%, rgba(125, 54, 36, 0.78), transparent 34%),
        linear-gradient(105deg, var(--dbx-card-b) 0%, var(--dbx-card-a) 46%, var(--dbx-card-c) 100%);
    color: var(--dbx-text);
    box-shadow: var(--dbx-shadow);
    overflow: hidden;
}

.dbx-main > * {
    padding: 34px 36px;
}

.dbx-main > *:first-child {
    margin-top: 0;
}

/* Subkarten innerhalb großer Seiten */
.dbx-main > * > section,
.dbx-main > * > article,
.dbx-main > * > .card,
.dbx-main > * > .box,
.dbx-main > * > .panel,
.dbx-main > * > .legal-section,
.dbx-main > * > .notice {
    margin-top: var(--dbx-gap);
    padding: 26px 30px;
    border-radius: 11px;
    border: 1px solid rgba(217,157,33,0.72);
    background:
        radial-gradient(circle at 45% 12%, rgba(112, 48, 34, 0.46), transparent 38%),
        linear-gradient(105deg, #491517 0%, #351012 52%, #23080a 100%);
    box-shadow: none;
}

.dbx-main > * > section:first-child,
.dbx-main > * > article:first-child,
.dbx-main > * > .card:first-child,
.dbx-main > * > .box:first-child,
.dbx-main > * > .panel:first-child,
.dbx-main > * > .legal-section:first-child,
.dbx-main > * > .notice:first-child {
    margin-top: 0;
}

/* dezentes Wasserzeichen-Herz */
.dbx-main > *::after {
    content: "♡";
    position: absolute;
    right: 34px;
    top: 22px;
    color: rgba(255, 0, 24, 0.92);
    font-size: 80px;
    line-height: 1;
    pointer-events: none;
    font-family: Georgia, "Times New Roman", serif;
  opacity: 0.88;
}

.dbx-main > * > * {
    position: relative;
    z-index: 1;
}

/* Typografie ruhiger */
h1, h2, h3, h4 {
    margin: 0 0 14px 0;
    color: var(--dbx-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(34px, 4.2vw, 54px);
    max-width: 760px;
}

h2 {
    font-size: clamp(26px, 3.0vw, 36px);
}

h3 {
    font-size: clamp(20px, 2.2vw, 27px);
}

h4 {
    font-size: 19px;
}

p {
    margin: 0 0 14px 0;
    max-width: 760px;
}

small,
.muted,
.hint,
.help-text {
    color: var(--dbx-muted);
}

/* Buttons */
a.button,
button,
input[type="submit"],
input[type="button"],
.btn,
.button,
.primary,
.secondary,
.link-button {
    min-height: 34px;
    padding: 8px 18px;
    border: 1px solid #fff0a2;
    border-radius: 9px;
    color: var(--dbx-dark-text);
    background:
        linear-gradient(180deg, #fff2a4 0%, #f5c844 48%, #b77413 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.60),
        0 6px 13px rgba(0,0,0,0.28);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

a.button::before,
button::before,
.btn::before,
.button::before,
.primary::before,
.link-button::before {
    content: "♡";
    font-size: 13px;
    line-height: 1;
}

a.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover,
.button:hover,
.primary:hover,
.secondary:hover,
.link-button:hover,
.form-button:hover,
.member-block-button:hover,
button.member-block-button:hover {
    background: linear-gradient(180deg, #b97913 0%, #7b3f06 100%);
    color: #160701;
    border-color: #6f3900;
    filter: none;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Links */
a {
    color: var(--dbx-gold-light);
    font-weight: 800;
}

a:hover {
    color: #c48718;
}

/* Formulare */
form {
    max-width: 620px;
}

label {
    display: block;
    margin: 14px 0 6px 0;
    color: var(--dbx-gold-light);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(217,157,33,0.65);
    padding: 10px 13px;
    background: #fff7e7;
    color: #241008;
    font: inherit;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.13);
}

textarea {
    min-height: 145px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(242,197,68,0.48);
    border-color: var(--dbx-gold-strong);
}

/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 9px;
}

th {
    background: #a76724;
    color: #fff6dc;
    text-align: left;
    padding: 10px 12px;
}

td {
    border-top: 1px solid rgba(217,157,33,0.36);
    padding: 10px 12px;
}

/* Startseiten-ähnliche Raster, falls Klassen vorhanden */
.hero-grid,
.start-grid,
.steps,
.feature-grid,
.cards,
.grid {
    display: grid;
    gap: var(--dbx-gap);
}

.steps,
.feature-grid,
.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-grid,
.start-grid {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

/* kleine Symbolkarten */
.steps > *,
.feature-grid > *,
.cards > *,
.grid > * {
    border: 1px solid rgba(217,157,33,0.72);
    border-radius: 11px;
    padding: 24px;
    background:
        radial-gradient(circle at 45% 10%, rgba(114, 47, 31, 0.48), transparent 38%),
        linear-gradient(105deg, #431315 0%, #2b0a0d 100%);
}

/* Footer hell, lesbar, nicht hart */
.dbx-site-footer {
    box-sizing: border-box;
    width: min(var(--dbx-page-max), calc(100vw - 34px));
    max-width: 1000px;
    margin: 2px auto 0;
    padding: 20px 22px 22px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(172, 223, 232, 0.76), rgba(35, 78, 93, 0.72) 52%, rgba(7, 28, 40, 0.92) 100%);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    color: #050505;
    text-align: center;
}

.dbx-footer-copy {
    margin: 0 0 13px 0;
    color: #050505;
    font-weight: 800;
    text-align: center;
}

.dbx-footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 0;
    padding: 0;
}

.dbx-footer-nav a {
    color: #050505;
    font-weight: 800;
    text-decoration: none;
}

.dbx-footer-nav a:hover {
    text-decoration: underline;
}

/* Kompatibilität für alte Header-Klassen, falls irgendwo noch vorhanden */
.site-header,
.main-header,
.top-header,
.header,
.dbx-header {
    width: min(var(--dbx-page-max), calc(100vw - 34px));
    margin-left: auto;
    margin-right: auto;
}

/* Adminbereich etwas kompakter */
.dbx-is-admin .dbx-main > * {
    padding: 30px 34px;
}

.dbx-is-admin h1 {
    font-size: clamp(34px, 4vw, 50px);
}

.dbx-is-admin h2 {
    font-size: clamp(24px, 2.7vw, 34px);
}

/* Mobile */
@media (max-width: 860px) {
    .dbx-site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }

    .dbx-brand {
        min-width: 0;
    }

    .dbx-brand-text {
        font-size: 22px;
    }

    .dbx-main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 7px;
    }

    .dbx-main-nav a,
    .dbx-nav-link {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

    .dbx-main > * {
        padding: 26px 22px;
    }

    .hero-grid,
    .start-grid,
    .steps,
    .feature-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(32px, 10vw, 44px);
    }
}

/* PORTAL_V1_5_3_TYPOGRAPHY_SOFT_FINEFIX_2026_05_29 START */

/*
   V1.5.3: Nur Typografie.
   Keine Änderung an Header-Struktur, Kartenbreite, Farben oder Footer.
   Ziel: Überschriften und Schriftbild ruhiger.
*/

body {
    font-size: 14px;
    line-height: 1.52;
}

/* große Seitenüberschriften deutlich beruhigen */
h1 {
    font-size: clamp(30px, 3.35vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.012em !important;
    margin-bottom: 14px !important;
}

h2 {
    font-size: clamp(23px, 2.45vw, 31px) !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
}

h3 {
    font-size: clamp(18px, 1.75vw, 24px) !important;
    line-height: 1.18 !important;
    margin-bottom: 10px !important;
}

h4 {
    font-size: 17px !important;
    line-height: 1.22 !important;
}

/* besonders große Login/Register/Kontakt-Titel abfangen */
.dbx-main > * h1:first-child,
.dbx-main > * .title,
.dbx-main > * .page-title {
    font-size: clamp(30px, 3.35vw, 44px) !important;
}

/* Texte etwas ruhiger und kompakter */
p,
li,
td,
th,
label,
input,
textarea,
select {
    font-size: 14px !important;
}

p {
    line-height: 1.52 !important;
    margin-bottom: 11px !important;
}

/* Karten innen nicht übertrieben luftig */
.dbx-main > * {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

.dbx-main > * > section,
.dbx-main > * > article,
.dbx-main > * > .card,
.dbx-main > * > .box,
.dbx-main > * > .panel,
.dbx-main > * > .legal-section,
.dbx-main > * > .notice {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

/* Formulartexte/Buttons ruhig, aber gut lesbar */
button,
input[type="submit"],
input[type="button"],
.btn,
.button,
.primary,
.secondary,
.link-button,
a.button {
    font-size: 13px !important;
    min-height: 32px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

label {
    font-size: 13px !important;
}

/* Adminbereich und Tabellen kompakter */
.dbx-is-admin h1 {
    font-size: clamp(30px, 3.2vw, 42px) !important;
}

.dbx-is-admin h2 {
    font-size: clamp(22px, 2.25vw, 29px) !important;
}

.dbx-is-admin h3 {
    font-size: clamp(18px, 1.7vw, 23px) !important;
}

table,
table th,
table td {
    font-size: 13px !important;
}

th,
td {
    padding: 8px 10px !important;
}

/* Menü nicht anfassen, nur falls Schrift durch alte Regeln zu groß wäre */
.dbx-main-nav a,
.dbx-nav-link {
    font-size: 13px !important;
}

/* Mobile noch ruhiger */
@media (max-width: 860px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(28px, 8vw, 38px) !important;
    }

    h2 {
        font-size: clamp(22px, 6vw, 30px) !important;
    }

    h3 {
        font-size: clamp(18px, 5vw, 23px) !important;
    }

    .dbx-main > * {
        padding: 23px 20px !important;
    }
}

/* PORTAL_V1_5_3_TYPOGRAPHY_SOFT_FINEFIX_2026_05_29 END */

/* START PORTAL_V1_5_6_STYLED_INSTALLER_CREATE_ADMIN_2026_05_29 */
body.dbx-utility-page {
    min-height: 100vh;
    margin: 0;
    color: #fff7dc;
    background:
        radial-gradient(circle at 50% 52%, rgba(128, 183, 201, 0.88) 0, rgba(55, 95, 114, 0.68) 26%, rgba(7, 22, 34, 0.98) 58%, #030d17 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

body.dbx-utility-page .dbx-utility-shell {
    width: min(980px, calc(100% - 32px));
    margin: 28px auto 42px;
}

body.dbx-utility-page .dbx-utility-card {
    padding: 34px 40px;
    border: 1px solid rgba(204, 139, 36, 0.88);
    border-radius: 14px;
    background:
        radial-gradient(circle at 42% 18%, rgba(137, 61, 38, 0.42), transparent 34%),
        linear-gradient(115deg, #74102f 0%, #4f1415 42%, #250508 100%);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
}

body.dbx-utility-page h1,
body.dbx-utility-page h2,
body.dbx-utility-page h3 {
    margin: 0 0 16px;
    color: #fff2ad;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
}

body.dbx-utility-page h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

body.dbx-utility-page h2 {
    margin-top: 26px;
    font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

body.dbx-utility-page h3 {
    font-size: 1.35rem;
}

body.dbx-utility-page form,
body.dbx-utility-page fieldset,
body.dbx-utility-page .box,
body.dbx-utility-page section {
    max-width: 760px;
}

body.dbx-utility-page label {
    display: block;
    margin: 12px 0 5px;
    color: #fff2ad;
    font-weight: 700;
}

body.dbx-utility-page input[type="text"],
body.dbx-utility-page input[type="email"],
body.dbx-utility-page input[type="password"],
body.dbx-utility-page input[type="url"],
body.dbx-utility-page input[type="number"],
body.dbx-utility-page textarea,
body.dbx-utility-page select {
    width: min(620px, 100%);
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(198, 139, 44, 0.92);
    border-radius: 8px;
    color: #20150d;
    background: #fff7e5;
    font: inherit;
}

body.dbx-utility-page textarea {
    min-height: 150px;
}

body.dbx-utility-page input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: translateY(1px);
}

body.dbx-utility-page button,
body.dbx-utility-page input[type="submit"],
body.dbx-utility-page .button,
body.dbx-utility-page a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 10px 8px 0 0;
    padding: 8px 18px;
    border: 1px solid #ffe57f;
    border-radius: 9px;
    color: #170f08;
    background: linear-gradient(180deg, #fff4aa 0%, #f4c944 48%, #ba7b13 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 7px 16px rgba(0,0,0,.22);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

body.dbx-utility-page button::before,
body.dbx-utility-page input[type="submit"]::before,
body.dbx-utility-page .button::before,
body.dbx-utility-page a.button::before {
    content: "♡";
    margin-right: 7px;
    font-weight: 900;
}

body.dbx-utility-page a {
    color: #ffe878;
    font-weight: 700;
}

body.dbx-utility-page ul {
    padding-left: 1.4rem;
}

body.dbx-utility-page li {
    margin: 6px 0;
}

body.dbx-utility-page strong,
body.dbx-utility-page b {
    color: #fff2ad;
}

body.dbx-utility-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 10px;
}

body.dbx-utility-page th {
    padding: 10px 12px;
    color: #fff7dc;
    background: #a96822;
    text-align: left;
}

body.dbx-utility-page td {
    padding: 10px 12px;
    border-top: 1px solid rgba(198, 139, 44, 0.45);
}

body.dbx-utility-page p {
    max-width: 820px;
}

@media (max-width: 720px) {
    body.dbx-utility-page .dbx-utility-shell {
        width: min(100% - 18px, 980px);
        margin-top: 10px;
    }

    body.dbx-utility-page .dbx-utility-card {
        padding: 22px 18px;
    }
}
/* END PORTAL_V1_5_6_STYLED_INSTALLER_CREATE_ADMIN_2026_05_29 */


/* PORTAL_LIVE_CLEAN_BUTTON_LINKS_ADMIN_2026_06_04
   Sauberer Sammelblock:
   - Honeypot-Feld unsichtbar
   - interne Schriftbuttons als Goldbuttons
   - Admin-Rohlinks beruhigt
   - dpfix/alte Adminseiten optisch eingefangen
   Keine weiteren Einzel-Finefix-Bloecke darunter stapeln.
*/

.dbx-honeypot-hidden,
.dbx-honeypot-hidden *,
label[for="company_website"],
input#company_website,
input[name="company_website"] {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    tab-size: 0 !important;
}

.dbx-btn,
a.dbx-btn,
button.dbx-btn,
input[type="submit"].dbx-btn,
.btn-link,
.admin-top-button-fix,
.btn.btn-secondary,
.dpfix-btn,
a.button,
.button,
.link-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: .22rem .28rem .22rem 0 !important;
    padding: .55rem .9rem !important;
    border: 1px solid #b98125 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #fff19a 0%, #ffd94e 48%, #c98722 100%) !important;
    color: #210b02 !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.68) !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.dbx-btn:hover,
a.dbx-btn:hover,
button.dbx-btn:hover,
input[type="submit"].dbx-btn:hover,
.btn-link:hover,
.admin-top-button-fix:hover,
.btn.btn-secondary:hover,
.dpfix-btn:hover,
a.button:hover,
.button:hover,
.link-button:hover,
.form-button:hover,
a.form-button:hover,
button.form-button:hover,
.dbx-button-link:hover,
a.dbx-button-link:hover,
a.btn-link:hover,
a.btn-link:focus,
a.member-btn.dbx-button-link:hover,
a.member-btn.dbx-button-link:focus,
a.member-btn-primary.dbx-button-link:hover,
a.member-btn-secondary.dbx-button-link:hover,
a.contact-card.dbx-button-link:hover {
    background: linear-gradient(180deg, #b97913 0%, #7b3f06 100%) !important;
    color: #160701 !important;
    border-color: #6f3900 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.dbx-btn-danger,
a.dbx-btn-danger,
button.dbx-btn-danger {
    background: linear-gradient(180deg, #ffe7a0 0%, #e5a33a 55%, #9a4a20 100%) !important;
    border-color: #d08c32 !important;
}

.dbx-btn-small,
a.dbx-btn-small,
button.dbx-btn-small {
    padding: .46rem .78rem !important;
    border-radius: 10px !important;
    font-size: .86rem !important;
}

.dbx-admin-clean-panel a[href]:not([href^="mailto:"]):not(.dbx-footer-link),
.dbx-admin-clean-sms a[href]:not([href^="mailto:"]):not(.dbx-footer-link),
.dbx-admin-sms-actions a[href]:not([href^="mailto:"]):not(.dbx-footer-link),
.dbx-admin-actions a[href]:not([href^="mailto:"]):not(.dbx-footer-link) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: .22rem .28rem .22rem 0 !important;
    padding: .46rem .78rem !important;
    border: 1px solid #b98125 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #fff19a 0%, #ffd94e 48%, #c98722 100%) !important;
    color: #210b02 !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.62) !important;
}
.dbx-admin-clean-panel a[href]:not([href^="mailto:"]):not(.dbx-footer-link):hover,
.dbx-admin-clean-sms a[href]:not([href^="mailto:"]):not(.dbx-footer-link):hover,
.dbx-admin-sms-actions a[href]:not([href^="mailto:"]):not(.dbx-footer-link):hover,
.dbx-admin-actions a[href]:not([href^="mailto:"]):not(.dbx-footer-link):hover {
    background: linear-gradient(180deg, #b97913 0%, #7b3f06 100%) !important;
    color: #160701 !important;
    border-color: #6f3900 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.dbx-main a[href^="mailto:"],
.dbx-main .dbx-text-link,
main a[href^="mailto:"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff1a8 !important;
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
}

/* Alte Admin-/dpfix-Seiten optisch einfangen, ohne PHP-Logik anzufassen */
body > h1,
body > h2,
body > h3,
body > p,
body > form {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body > h1:first-of-type {
    margin-top: 2rem;
}

body > form {
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(217,159,55,.86);
    border-radius: 18px;
    background:
        radial-gradient(circle at 28% 8%, rgba(139,55,38,.72), transparent 38%),
        linear-gradient(135deg, rgba(92,28,23,.96), rgba(45,7,11,.98));
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

body > form label {
    display: block;
    margin: .75rem 0 .35rem;
    color: #fff2aa;
    font-weight: 800;
}

body > form input[type="text"],
body > form input[type="email"],
body > form input[type="password"],
body > form input[type="tel"],
body > form textarea,
body > form select {
    width: min(100%, 720px);
}

body > a[href*="/admin/"],
body > a[href="/"],
body > a[href="/logout.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: .25rem .28rem .25rem 0;
    padding: .46rem .78rem;
    border: 1px solid #b98125;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff19a 0%, #ffd94e 48%, #c98722 100%);
    color: #210b02 !important;
    font-weight: 800;
    text-decoration: none;
}

/* /PORTAL_LIVE_CLEAN_BUTTON_LINKS_ADMIN_2026_06_04 */


/* PORTAL_HAND_LIGHTER_GRUNDSATZ_CLEAN_2026_06_05
   Daumen im Missbrauch-Kasten sehr hell.
   Portal-Grundsatz ohne Daumen/Wasserzeichen.
*/
.dbx-report-watermark::after,
.dbx-help-report-precise.dbx-report-watermark::after,
.dbx-help-align-report.dbx-report-watermark::after,
.dbx-help-wide-clean.dbx-report-watermark::after,
.dbx-legal-added.dbx-report-watermark::after {
  content: "👎🏻" !important;
  color: rgba(255, 248, 240, 0.08) !important;
  opacity: 0.08 !important;
  filter: brightness(2.4) saturate(0.35) !important;
  text-shadow: none !important;
}

.db-home-principle::after,
.db-home-calm-principle::after,
.dbx-principle::after,
[class*="principle"]::after,
[class*="grundsatz"]::after,
[class*="Grundsatz"]::after {
  content: none !important;
  display: none !important;
}

/* /PORTAL_HAND_LIGHTER_GRUNDSATZ_CLEAN_2026_06_05 */


/* PORTAL_MISSBRAUCH_THUMB_VISIBLE_2026_06_05
   Nur Missbrauch-/Meldekasten: heller, aber sichtbarer Daumen.
   Grundsatz-Kaesten bleiben ohne Wasserzeichen.
*/
.dbx-report-watermark::after,
.dbx-help-report-precise.dbx-report-watermark::after,
.dbx-help-align-report.dbx-report-watermark::after,
.dbx-help-wide-clean.dbx-report-watermark::after,
.dbx-legal-added.dbx-report-watermark::after {
  content: "👎🏻" !important;
  display: block !important;
  position: absolute !important;
  right: 28px !important;
  bottom: 24px !important;
  z-index: 0 !important;
  font-size: clamp(42px, 5vw, 66px) !important;
  line-height: 1 !important;
  opacity: 0.24 !important;
  color: rgba(255, 224, 196, 0.24) !important;
  filter: brightness(1.75) saturate(0.55) !important;
  text-shadow: none !important;
  pointer-events: none !important;
}

.db-home-principle::after,
.db-home-calm-principle::after,
.dbx-principle::after,
[class*="principle"]::after,
[class*="grundsatz"]::after,
[class*="Grundsatz"]::after {
  content: none !important;
  display: none !important;
}

/* /PORTAL_MISSBRAUCH_THUMB_VISIBLE_2026_06_05 */


/* PORTAL_THUMB_VERY_LIGHT_FIX_2026_06_05
   - Missbrauch-Kasten: heller, sichtbarer Daumen
   - Grundsatz-Kaesten: kein Daumen
   - Herzen unveraendert
*/
.dbx-report-watermark,
.dbx-help-report-precise.dbx-report-watermark,
.dbx-help-align-report.dbx-report-watermark,
.dbx-help-wide-clean.dbx-report-watermark,
.dbx-legal-added.dbx-report-watermark {
  position: relative !important;
  overflow: hidden !important;
}

.dbx-report-watermark > *,
.dbx-help-report-precise.dbx-report-watermark > *,
.dbx-help-align-report.dbx-report-watermark > *,
.dbx-help-wide-clean.dbx-report-watermark > *,
.dbx-legal-added.dbx-report-watermark > * {
  position: relative !important;
  z-index: 1 !important;
}

.dbx-report-watermark::after,
.dbx-help-report-precise.dbx-report-watermark::after,
.dbx-help-align-report.dbx-report-watermark::after,
.dbx-help-wide-clean.dbx-report-watermark::after,
.dbx-legal-added.dbx-report-watermark::after {
  content: "👎🏻" !important;
  display: block !important;
  position: absolute !important;
  right: 24px !important;
  bottom: 18px !important;
  z-index: 0 !important;
  font-size: clamp(54px, 6vw, 78px) !important;
  line-height: 1 !important;
  opacity: 0.72 !important;
  color: rgba(255, 233, 214, 0.72) !important;
  filter: brightness(1.28) saturate(0.30) !important;
  text-shadow: none !important;
  pointer-events: none !important;
}

.db-home-principle::after,
.db-home-calm-principle::after,
.dbx-principle::after,
[class*="principle"]::after,
[class*="grundsatz"]::after,
[class*="Grundsatz"]::after {
  content: none !important;
  display: none !important;
}
/* /PORTAL_THUMB_VERY_LIGHT_FIX_2026_06_05 */


/* PORTAL_THUMB_LIGHTER_REPORT_BUTTONS_2026_06_05
   Saubere Einzelkorrektur:
   - Missbrauch-Daumen einen Tick heller
   - Links im Missbrauch-Kasten als Buttons
   - Herz-Wasserzeichen bleibt unveraendert
*/
.dbx-report-watermark::after,
.dbx-help-report-precise.dbx-report-watermark::after,
.dbx-help-align-report.dbx-report-watermark::after,
.dbx-help-wide-clean.dbx-report-watermark::after,
.dbx-legal-added.dbx-report-watermark::after {
  content: "👎🏻" !important;
  opacity: 0.74 !important;
  filter: brightness(1.24) saturate(0.82) contrast(0.98) !important;
  text-shadow: none !important;
}

.dbx-report-watermark a,
.dbx-help-report-precise.dbx-report-watermark a,
.dbx-help-align-report.dbx-report-watermark a,
.dbx-help-wide-clean.dbx-report-watermark a,
.dbx-legal-added.dbx-report-watermark a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 6px 13px !important;
  margin: 3px 5px 3px 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(95, 55, 0, 0.75) !important;
  background: linear-gradient(180deg, #fff4a8 0%, #f5c63d 52%, #b56b12 100%) !important;
  color: #160b03 !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255,255,255,0.70) !important;
}

.dbx-report-watermark a:hover,
.dbx-help-report-precise.dbx-report-watermark a:hover,
.dbx-help-align-report.dbx-report-watermark a:hover,
.dbx-help-wide-clean.dbx-report-watermark a:hover,
.dbx-legal-added.dbx-report-watermark a:hover {
  filter: brightness(1.06) !important;
  text-decoration: none !important;
}
/* /PORTAL_THUMB_LIGHTER_REPORT_BUTTONS_2026_06_05 */

/* PORTAL_REMAINING_TEXTLINKS_BUTTONS_CLEAN_2026_06_06
   Restbereinigung:
   - Besucher/Merkliste/Nachrichten/Profil-Navigation als Buttons
   - Links bleiben klickbar
   - keine Footer-Links betroffen
*/

a.dbx-button-link,
a.btn-link,
a.form-button.dbx-button-link,
a.member-btn.dbx-button-link,
a.member-btn-primary.dbx-button-link,
a.member-btn-secondary.dbx-button-link,
a.contact-card.dbx-button-link,
a.contact-card.form-button,
a.contact-card.dbx-message-contact-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 28px !important;
  padding: 6px 14px !important;
  margin: 4px 6px 4px 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(122,70,8,.96) !important;
  background: linear-gradient(180deg, #fff4a8 0%, #efbf37 54%, #b87314 100%) !important;
  color: #1b0804 !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: 0 2px 7px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.68) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

a.dbx-button-link:hover,
a.dbx-button-link:focus,
a.btn-link:hover,
a.btn-link:focus,
a.form-button.dbx-button-link:hover,
a.form-button.dbx-button-link:focus,
a.member-btn.dbx-button-link:hover,
a.member-btn.dbx-button-link:focus,
a.member-btn-primary.dbx-button-link:hover,
a.member-btn-primary.dbx-button-link:focus,
a.member-btn-secondary.dbx-button-link:hover,
a.member-btn-secondary.dbx-button-link:focus,
a.contact-card.dbx-button-link:hover,
a.contact-card.dbx-button-link:focus {
  background: linear-gradient(180deg, #b97913 0%, #7b3f06 100%) !important;
  color: #160701 !important;
  border-color: #6f3900 !important;
  filter: none !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

a.contact-card.dbx-button-link,
a.contact-card.form-button,
a.contact-card.dbx-message-contact-card {
  max-width: 100% !important;
  min-height: 54px !important;
  padding: 7px 13px !important;
  margin: 5px 0 12px 0 !important;
}

a.contact-card.dbx-button-link *,
a.contact-card.form-button *,
a.contact-card.dbx-message-contact-card * {
  color: #1b0804 !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

a.contact-card.dbx-button-link .msg-avatar,
a.contact-card.form-button .msg-avatar,
a.contact-card.dbx-message-contact-card .msg-avatar,
a.contact-card.dbx-button-link img,
a.contact-card.form-button img,
a.contact-card.dbx-message-contact-card img {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  object-fit: cover !important;
  border-radius: 9px !important;
  margin: 0 !important;
}

/* /PORTAL_REMAINING_TEXTLINKS_BUTTONS_CLEAN_2026_06_06 */

/* PORTAL_GLOBAL_IMAGE_ZOOM_PREVIEW_FIX_V2_2026_06_06
   Zentrale Bildgroessen getrennt vom Zoombild.
   Normale Profilbilder bleiben klein/einheitlich.
   Das Bild im Zoomfenster wird NICHT mehr durch diese Kleinbild-Regeln begrenzt.
*/

/* Normale Profilbilder im Portal */
.dbx-page-shell img[src*="uploads/profiles/"],
.dbx-page-shell .member-profile-photo,
.dbx-page-shell .profile-photo,
.dbx-page-shell .profile-picture,
.dbx-page-shell .dbx-profile-photo,
.dbx-page-shell .dbx-preview-photo,
.dbx-page-shell .profile-preview img,
.dbx-page-shell .dbx-profile-preview img,
.dbx-page-shell .profile-card img,
.dbx-page-shell .member-card img.member-profile-photo,
.dbx-page-shell .dbx-member-card img.member-profile-photo,
.dbx-page-shell [class*="preview"] img[src*="uploads/profiles/"],
.dbx-page-shell [class*="vorschau"] img[src*="uploads/profiles/"] {
  width: 240px !important;
  max-width: 240px !important;
  height: 285px !important;
  max-height: 285px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 14px !important;
  display: block !important;
  cursor: zoom-in !important;
}

/* Formular-/Profilbearbeitung ebenfalls ruhig halten */
.dbx-page-shell form img[src*="uploads/profiles/"] {
  width: 240px !important;
  max-width: 240px !important;
  height: 285px !important;
  max-height: 285px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Nachrichten-Avatare klein und einheitlich */
.dbx-page-shell .msg-avatar,
.dbx-page-shell .msg-avatar-large {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.dbx-page-shell .msg-avatar img,
.dbx-page-shell .msg-avatar-large img {
  width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  max-height: 54px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  cursor: zoom-in !important;
}

/* Nachrichten-Kontaktkarte als Button/Karte */
.dbx-page-shell a.contact-card,
.dbx-page-shell a.contact-card.form-button,
.dbx-page-shell a.contact-card.dbx-message-contact-card {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: 7px 14px !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
  cursor: pointer !important;
}

.dbx-page-shell a.contact-card *,
.dbx-page-shell a.contact-card.form-button *,
.dbx-page-shell a.contact-card.dbx-message-contact-card * {
  text-decoration: none !important;
}

/* Bild in Kontaktkarte klein */
.dbx-page-shell a.contact-card img,
.dbx-page-shell a.contact-card .msg-avatar img,
.dbx-page-shell .contact-card img,
.dbx-page-shell .contact-card .msg-avatar img {
  width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  max-height: 44px !important;
  border-radius: 9px !important;
  object-fit: cover !important;
  cursor: zoom-in !important;
}

/* Zoom-Fenster */
html.dbx-image-zoom-open,
body.dbx-image-zoom-open {
  overflow: hidden !important;
}

.dbx-image-zoom-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px !important;
  background: rgba(0, 8, 16, 0.82) !important;
}

.dbx-image-zoom-box {
  position: relative !important;
  max-width: min(92vw, 820px) !important;
  max-height: 92vh !important;
  padding: 16px !important;
  border: 2px solid #b98220 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #4b0f14, #23060a) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65) !important;
}

/* WICHTIG: Zoombild ist bewusst von den Kleinbild-Regeln getrennt */
body .dbx-image-zoom-overlay img.dbx-image-zoom-big,
html .dbx-image-zoom-overlay img.dbx-image-zoom-big,
.dbx-image-zoom-overlay .dbx-image-zoom-box img.dbx-image-zoom-big {
  width: min(78vw, 620px) !important;
  max-width: min(78vw, 620px) !important;
  height: auto !important;
  max-height: calc(92vh - 90px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 12px !important;
  background: #fff8e8 !important;
  cursor: default !important;
}

.dbx-image-zoom-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 2 !important;
}

/* Smileys beim Nachrichtenschreiben */
.dbx-emoji-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 6px 0 5px 0 !important;
}

.dbx-emoji-button {
  min-width: 38px !important;
  padding: 5px 9px !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

/* Mobile */
@media (max-width: 760px) {
  .dbx-page-shell img[src*="uploads/profiles/"],
  .dbx-page-shell .member-profile-photo,
  .dbx-page-shell .profile-photo,
  .dbx-page-shell .profile-picture,
  .dbx-page-shell .dbx-profile-photo,
  .dbx-page-shell .dbx-preview-photo,
  .dbx-page-shell .profile-preview img,
  .dbx-page-shell .dbx-profile-preview img,
  .dbx-page-shell [class*="preview"] img[src*="uploads/profiles/"] {
    width: 210px !important;
    max-width: 210px !important;
    height: 250px !important;
    max-height: 250px !important;
  }

  body .dbx-image-zoom-overlay img.dbx-image-zoom-big,
  html .dbx-image-zoom-overlay img.dbx-image-zoom-big,
  .dbx-image-zoom-overlay .dbx-image-zoom-box img.dbx-image-zoom-big {
    width: min(86vw, 420px) !important;
    max-width: min(86vw, 420px) !important;
    max-height: calc(92vh - 80px) !important;
  }

  .dbx-image-zoom-box {
    padding: 10px !important;
  }
}

/* /PORTAL_GLOBAL_IMAGE_ZOOM_PREVIEW_FIX_V2_2026_06_06 */

/* PORTAL_START_ROMANCE_ROTATION_2026_06_06
   Startseite: Bildkasten erster Inhaltskasten.
   Text links, echtes Foto rechts.
   Foto wird komplett angezeigt, damit keine Köpfe abgeschnitten werden.
*/
body .dbx-page-shell .card.dbx-start-romance-card,
body .card.dbx-start-romance-card,
.dbx-start-romance-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 30px 34px !important;
  min-height: 265px !important;
}

body .dbx-start-romance-card > .dbx-start-romance-text {
  min-width: 0 !important;
}

body .dbx-start-romance-card .dbx-kicker {
  display: block !important;
  margin: 0 0 8px 0 !important;
  font-weight: 800 !important;
  color: #fff1a8 !important;
}

body .dbx-start-romance-card h2 {
  margin: 0 0 14px 0 !important;
  max-width: 560px !important;
  line-height: 1.08 !important;
}

body .dbx-start-romance-card p {
  max-width: 570px !important;
  margin: 0 !important;
}

body .dbx-start-romance-card > .dbx-start-romance-image-wrap {
  justify-self: end !important;
  align-self: center !important;
  width: 390px !important;
  max-width: 100% !important;
  background: rgba(20, 6, 8, 0.42) !important;
  border-radius: 16px !important;
}

body .dbx-start-romance-card img.dbx-start-romance-photo,
body .dbx-start-romance-card img.dbx-romance-photo,
body img.dbx-start-romance-photo.dbx-romance-photo,
body img.dbx-romance-photo.dbx-zoomable-image {
  display: block !important;
  width: 390px !important;
  max-width: 100% !important;
  height: 240px !important;
  min-height: 240px !important;
  object-fit: cover !important;
  object-position: center top;
  background: rgba(20, 6, 8, 0.62) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 210, 95, 0.95) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34) !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: zoom-in !important;
}

body .dbx-start-romance-card img.dbx-start-romance-photo:hover,
body .dbx-start-romance-card img.dbx-romance-photo:hover {
  transform: translateY(-1px) !important;
}

body .dbx-start-romance-image-missing {
  width: 390px !important;
  max-width: 100% !important;
  min-height: 240px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 1px dashed rgba(255, 210, 95, 0.75) !important;
  border-radius: 16px !important;
  padding: 18px !important;
}

body .dbx-start-romance-image-missing span {
  display: block !important;
  margin-top: 8px !important;
}

@media (max-width: 760px) {
  body .dbx-page-shell .card.dbx-start-romance-card,
  body .card.dbx-start-romance-card,
  .dbx-start-romance-card {
    grid-template-columns: 1fr !important;
    padding: 24px 20px !important;
    gap: 18px !important;
  }

  body .dbx-start-romance-card > .dbx-start-romance-image-wrap {
    justify-self: stretch !important;
    width: 100% !important;
  }

  body .dbx-start-romance-card img.dbx-start-romance-photo,
  body .dbx-start-romance-card img.dbx-romance-photo,
  body img.dbx-start-romance-photo.dbx-romance-photo,
  body img.dbx-romance-photo.dbx-zoomable-image,
  body .dbx-start-romance-image-missing {
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
  }
}
/* /PORTAL_START_ROMANCE_ROTATION_2026_06_06 */


/* PORTAL_PROFILE_EDIT_IMAGE_SMALLER_2026_06_07
   Profil bearbeiten: aktuelles Profilbild kleiner anzeigen.
   Zoom-Bild, Mitgliederliste und Profilansicht bleiben unberuehrt.
*/
body .dbx-page-shell form img[src*="/uploads/profiles/"],
body .dbx-page-shell form img[src*="uploads/profiles/"] {
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 300px !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block !important;
  border-radius: 8px !important;
}

@media (max-width: 700px) {
  body .dbx-page-shell form img[src*="/uploads/profiles/"],
  body .dbx-page-shell form img[src*="uploads/profiles/"] {
    width: 180px !important;
    max-width: 180px !important;
    max-height: 240px !important;
  }
}
/* /PORTAL_PROFILE_EDIT_IMAGE_SMALLER_2026_06_07 */


/* PORTAL_PROFILE_EDIT_IMAGE_DIRECT_SMALLER_2026_06_07
   Direkt markiertes Profilbild im Profilformular kleiner anzeigen.
*/
body .dbx-profile-edit-current-image {
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
  max-height: 230px !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block !important;
  border-radius: 8px !important;
}

@media (max-width: 700px) {
  body .dbx-profile-edit-current-image {
    width: 150px !important;
    max-width: 150px !important;
    max-height: 210px !important;
  }
}
/* /PORTAL_PROFILE_EDIT_IMAGE_DIRECT_SMALLER_2026_06_07 */

/* PORTAL_EMOJI_FINAL_GROSS_KLAR_2026_06_17
   Nachrichten-Emoji-Leiste: keine gelben Buttons, keine Herzen, große klare Symbole. */
.dbx-emoji-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .62rem !important;
    margin: .72rem 0 .62rem 0 !important;
    align-items: center !important;
}

.dbx-emoji-toolbar .dbx-emoji-button::before,
.dbx-emoji-toolbar .dbx-emoji-button:before,
.dbx-emoji-toolbar .dbx-emoji-plain::before,
.dbx-emoji-toolbar .dbx-emoji-plain:before {
    content: none !important;
    display: none !important;
}

.dbx-emoji-toolbar .dbx-emoji-button,
.dbx-emoji-toolbar .dbx-emoji-plain,
button.dbx-emoji-button.dbx-emoji-plain {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    min-width: 2.05rem !important;
    height: 2.05rem !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 2.05rem !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    color: inherit !important;
}

.dbx-emoji-toolbar .dbx-emoji-button:hover,
.dbx-emoji-toolbar .dbx-emoji-button:focus {
    transform: scale(1.18) !important;
    outline: none !important;
}
