:root {
    --font-scale: 1;
    --navy: #455E80;
    --navy-dark: #0b2e57;
    --slate: #566C89;
    --slate-dark: #B0B9C8;
    --powder: #adbacb;
    --powder-light: #dce4ed;
    --ice: #eef3f8;
    --white: #fff;
    --text: #1c2b3a;
    --focus: #ffd54f;
    --line-height: 1.65;
}

html {
    font-size: calc(100% * var(--font-scale));
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #1c2b3a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: var(--line-height);
    overflow-wrap: break-word;
}

a {
    color: var(--navy);
    text-decoration: none;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-thickness: 0.14em;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 0.25rem solid var(--focus) !important;
    outline-offset: 0.2rem !important;
    box-shadow: none !important;
}

/* =========================================================
   SKIP-LINK
   ========================================================= */

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.75rem 1rem;
    color: #000;
    background: var(--focus);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   BARRIEREFREIHEITS-WERKZEUGLEISTE
   ========================================================= */

.accessibility-toolbar {
    position: relative;
    z-index: 1040;
    color: #fff;
    background: var(--navy);
    border-bottom: 3px solid var(--powder);
}

.accessibility-toolbar summary {
    width: fit-content;
    cursor: pointer;
    font-weight: 700;
}

.a11y-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.btn-a11y,
.btn-reset {
    min-height: 2.7rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    font-weight: 700;
}

.btn-a11y:hover,
.btn-a11y[aria-pressed="true"] {
    color: var(--navy-dark);
    background: var(--focus);
    border-color: var(--focus);
}

.btn-reset:hover {
    color: var(--navy-dark);
    background: #fff;
    border-color: #fff;
}

/* =========================================================
   KOPFBEREICH UND NAVIGATION
   ========================================================= */

.topbar {
    color: #fff;
    background: var(--navy-dark);
}

.topbar a {
    color: #fff;
}

.main-navbar {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0.4rem 1rem rgba(11, 46, 87, 0.2);
}

.navbar-brand {
    color: #fff !important;
    max-width: 70%;
}

.navbar-brand small {
    display: block;
    color: var(--powder-light);
    font-size: 0.75rem;
}

.brand-mark {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.25rem;
    color: #fff;
    background: var(--slate);
    font-size: 1.65rem;
    font-weight: 800;
}

.navbar .mod-menu {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar .mod-menu a,
.navbar .nav-link {
    display: block;
    margin: 0.15rem;
    padding: 0.75rem 1rem !important;
    border-radius: 0.25rem;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.navbar .mod-menu a:hover,
.navbar .mod-menu .active > a,
.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: var(--slate);
}

/* =========================================================
   HERO-BEREICH
   ========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-color: var(--navy-dark);
    background-image:
        linear-gradient(
            120deg,
            rgba(11, 46, 87, 0.75) 0%,
            rgba(69, 94, 128, 0.55) 55%,
            rgba(86, 108, 137, 0.35) 100%
        ),
        url("../images/hero-bg-dufrenne-eiden-rechtsanwaltsgesellschaft-pulheim_schmal.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.hero-kicker,
.section-kicker {
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-kicker {
    color: var(--powder-light);
}

.hero-section h1 {
   /* max-width: 13ch;*/
}

/* =========================================================
   BÜROKARTE UND ÖFFNUNGSZEITEN
   ========================================================= */

.office-card {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 5px;
    color: var(--navy-dark);
    background: var(--powder);
    box-shadow: 0 1.5rem 3rem rgba(5, 27, 52, 0.28);
}

.office-label {
    color: var(--navy-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.opening-hours > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(18, 63, 117, 0.25);
}

.opening-hours dt,
.opening-hours dd {
    margin: 0;
}

.opening-hours dd {
    font-weight: 800;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */

.breadcrumb-band {
    background: var(--powder-light);
    border-bottom: 1px solid var(--powder);
}

/* =========================================================
   SEKTIONEN
   ========================================================= */

.section {
    position: relative;
}

.section-light-blue {
    background: var(--powder-light);
}

.section-white {
    background: #fff;
}

.section-slate {
    color: #fff;
    background: var(--slate);
}

.section-heading {
    max-width: 48rem;
}

.section-heading h2 {
    color: var(--navy-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
}

.section-kicker {
    color: #fff;
}

.section-kicker-navy {
    color: var(--navy);
    font-weight: bold;
}

/* =========================================================
   LEISTUNGSKARTEN
   ========================================================= */

.service-card {
    position: relative;
    padding: 2rem;
    border-left: 0.45rem solid var(--navy);
    color: var(--text);
    background: #fff;
    box-shadow: 0 0.8rem 2rem rgba(70, 86, 109, 0.15);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 1.1rem 2.5rem rgba(70, 86, 109, 0.22);
}

.service-card h3 {
    color: var(--navy);
    font-weight: 800;
}

.card-number {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--slate);
    font-size: 1.35rem;
    font-weight: 900;
}

/* =========================================================
   HAUPTINHALT
   ========================================================= */

.main-content {
    min-width: 0;
}

.main-content > article,
.main-content .item-page,
.main-content .blog,
.main-content .category-list,
.main-content .com-content-article {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-top: 0.45rem solid var(--navy);
    background: #fff;
    box-shadow: 0 0.8rem 2rem rgba(70, 86, 109, 0.13);
}

.main-content h1,
.main-content .page-header h1 {
    color: var(--navy);
    font-weight: 800;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar-panel .moduletable {
    margin-bottom: 1.5rem;
    padding: 1.4rem;
    border-top: 0.4rem solid var(--slate);
    background: var(--ice);
    box-shadow: 0 0.6rem 1.4rem rgba(70, 86, 109, 0.12);
}

.sidebar-panel h2,
.sidebar-panel h3 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-outline-light {
    background: var(--navy);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    color: #0b2e57;
}

.footer-main {
    position: relative;
    overflow: hidden;
    background: var(--slate-dark);
    border-top: 0.5rem solid var(--powder);
}

.footer-main::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: clamp(420px, 55vw, 780px);
    aspect-ratio: 3 / 1;
    background:
        url("../images/pulheim.webp")
        left bottom / contain
        no-repeat;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.footer-main > .container {
    position: relative;
    z-index: 2;
}

.footer-bottom {
    color: #fff;
    background: var(--slate);
}

.footer-brand {
    color: #fff;
    text-decoration: none;
}

.site-footer h2 {
    color: #0b2e57;
    font-weight: 800;
}

.site-footer a {
    color: #0b2e57;
    text-decoration: none;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.65rem;
}

/* =========================================================
   SCROLL-TO-TOP-BUTTON
   ========================================================= */

#scrollTopBtn {
    position: fixed;
    right: -100px;
    bottom: 120px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 20%;
    color: #fff;
    background: #566C89;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
    background: #566C89;
    transform: translateY(-3px);
}

/* =========================================================
   WEITERE ELEMENTE
   ========================================================= */

.telefon {
    font-size: 25px;
}

/* =========================================================
   BARRIEREFREIHEIT: HOHER KONTRAST
   Aktivierung über:
   <html class="a11y-contrast">
   ========================================================= */

html.a11y-contrast {
    --navy: #000;
    --navy-dark: #000;
    --slate: #000;
    --slate-dark: #000;
    --powder: #ffeb00;
    --powder-light: #000;
    --ice: #000;
    --white: #fff;
    --text: #fff;
    --focus: #ffeb00;

    color-scheme: dark;
}

html.a11y-contrast,
html.a11y-contrast body {
    color: #fff !important;
    background: #000 !important;
}

/* Rahmen auf allen wichtigen Elementen angleichen */

html.a11y-contrast header,
html.a11y-contrast main,
html.a11y-contrast footer,
html.a11y-contrast section,
html.a11y-contrast article,
html.a11y-contrast aside,
html.a11y-contrast nav,
html.a11y-contrast div,
html.a11y-contrast ul,
html.a11y-contrast ol,
html.a11y-contrast dl,
html.a11y-contrast table,
html.a11y-contrast blockquote,
html.a11y-contrast figure {
    border-color: #fff !important;
}

/* Textfarben */

html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast h4,
html.a11y-contrast h5,
html.a11y-contrast h6,
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast dt,
html.a11y-contrast dd,
html.a11y-contrast address,
html.a11y-contrast small,
html.a11y-contrast span,
html.a11y-contrast strong,
html.a11y-contrast em,
html.a11y-contrast label,
html.a11y-contrast legend {
    color: #fff !important;
}

/* Links */

html.a11y-contrast a,
html.a11y-contrast a:visited {
    color: #7ee8ff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 0.14em !important;
    text-underline-offset: 0.2em;
}

html.a11y-contrast a:hover,
html.a11y-contrast a:focus {
    color: #000 !important;
    background: #ffeb00 !important;
    text-decoration: none !important;
}

/* Sichtbarer Tastaturfokus */

html.a11y-contrast :focus-visible {
    color: #000 !important;
    background-color: #ffeb00 !important;
    outline: 4px solid #ffeb00 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 2px #000 !important;
}

/* Kopfbereich und Navigation */

html.a11y-contrast .accessibility-toolbar,
html.a11y-contrast .topbar,
html.a11y-contrast .main-navbar,
html.a11y-contrast .navbar,
html.a11y-contrast .navbar-collapse {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
    box-shadow: none !important;
}

html.a11y-contrast .navbar-brand,
html.a11y-contrast .navbar-brand small,
html.a11y-contrast .navbar .mod-menu a,
html.a11y-contrast .navbar .nav-link {
    color: #fff !important;
    background: #000 !important;
    border: 2px solid transparent !important;
}

html.a11y-contrast .navbar .mod-menu a:hover,
html.a11y-contrast .navbar .mod-menu a:focus,
html.a11y-contrast .navbar .mod-menu .active > a,
html.a11y-contrast .navbar .nav-link:hover,
html.a11y-contrast .navbar .nav-link:focus,
html.a11y-contrast .navbar .nav-link.active {
    color: #000 !important;
    background: #ffeb00 !important;
    border-color: #ffeb00 !important;
}

html.a11y-contrast .brand-mark {
    color: #000 !important;
    background: #ffeb00 !important;
    border: 2px solid #fff !important;
}

/* Hero-Hintergrundbild entfernen */

html.a11y-contrast .hero-section {
    color: #fff !important;
    background-color: #000 !important;
    background-image: none !important;
    border-top: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
}

html.a11y-contrast .hero-kicker,
html.a11y-contrast .section-kicker,
html.a11y-contrast .section-kicker-navy {
    color: #ffeb00 !important;
}

/* Inhaltssektionen */

html.a11y-contrast .section,
html.a11y-contrast .section-white,
html.a11y-contrast .section-light-blue,
html.a11y-contrast .section-slate,
html.a11y-contrast .breadcrumb-band {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
}

/* Karten und Inhaltsboxen */

html.a11y-contrast .service-card,
html.a11y-contrast .main-content > article,
html.a11y-contrast .main-content .item-page,
html.a11y-contrast .main-content .blog,
html.a11y-contrast .main-content .category-list,
html.a11y-contrast .main-content .com-content-article,
html.a11y-contrast .sidebar-panel .moduletable {
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #fff !important;
    border-left: 8px solid #ffeb00 !important;
    border-top-color: #ffeb00 !important;
    box-shadow: none !important;
}

html.a11y-contrast .service-card:hover {
    transform: none;
    box-shadow: 0 0 0 4px #ffeb00 !important;
}

html.a11y-contrast .service-card h3,
html.a11y-contrast .main-content h1,
html.a11y-contrast .main-content h2,
html.a11y-contrast .main-content h3,
html.a11y-contrast .main-content .page-header h1,
html.a11y-contrast .sidebar-panel h2,
html.a11y-contrast .sidebar-panel h3,
html.a11y-contrast .section-heading h2,
html.a11y-contrast .card-number {
    color: #ffeb00 !important;
}

/* Gelbe Kontrastfläche der Bürokarte */

html.a11y-contrast .office-card {
    color: #000 !important;
    background: #ffeb00 !important;
    border: 3px solid #fff !important;
    box-shadow: none !important;
}

html.a11y-contrast .office-card *,
html.a11y-contrast .office-card h1,
html.a11y-contrast .office-card h2,
html.a11y-contrast .office-card h3,
html.a11y-contrast .office-card p,
html.a11y-contrast .office-card dt,
html.a11y-contrast .office-card dd,
html.a11y-contrast .office-label {
    color: #000 !important;
}

html.a11y-contrast .office-card a {
    color: #000 !important;
    text-decoration: underline !important;
}

html.a11y-contrast .office-card a:hover,
html.a11y-contrast .office-card a:focus {
    color: #fff !important;
    background: #000 !important;
}

html.a11y-contrast .opening-hours > div {
    border-color: #000 !important;
}

/* Schaltflächen */

html.a11y-contrast button,
html.a11y-contrast .btn,
html.a11y-contrast .btn-a11y,
html.a11y-contrast .btn-reset,
html.a11y-contrast .btn-outline-light,
html.a11y-contrast input[type="button"],
html.a11y-contrast input[type="submit"],
html.a11y-contrast input[type="reset"] {
    color: #fff !important;
    background: #000 !important;
    border: 3px solid #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

html.a11y-contrast button:hover,
html.a11y-contrast button:focus,
html.a11y-contrast .btn:hover,
html.a11y-contrast .btn:focus,
html.a11y-contrast .btn-a11y:hover,
html.a11y-contrast .btn-a11y:focus,
html.a11y-contrast .btn-a11y[aria-pressed="true"],
html.a11y-contrast .btn-reset:hover,
html.a11y-contrast .btn-reset:focus,
html.a11y-contrast input[type="button"]:hover,
html.a11y-contrast input[type="button"]:focus,
html.a11y-contrast input[type="submit"]:hover,
html.a11y-contrast input[type="submit"]:focus,
html.a11y-contrast input[type="reset"]:hover,
html.a11y-contrast input[type="reset"]:focus {
    color: #000 !important;
    background: #ffeb00 !important;
    border-color: #ffeb00 !important;
}

/* Formulare */

html.a11y-contrast input,
html.a11y-contrast textarea,
html.a11y-contrast select {
    color: #fff !important;
    background: #000 !important;
    border: 3px solid #fff !important;
    caret-color: #fff !important;
}

html.a11y-contrast input::placeholder,
html.a11y-contrast textarea::placeholder {
    color: #fff !important;
    opacity: 1;
}

html.a11y-contrast input:disabled,
html.a11y-contrast textarea:disabled,
html.a11y-contrast select:disabled,
html.a11y-contrast button:disabled {
    color: #ddd !important;
    background: #333 !important;
    border-color: #ddd !important;
    opacity: 1;
}

html.a11y-contrast input[type="checkbox"],
html.a11y-contrast input[type="radio"] {
    accent-color: #ffeb00;
}

/* Tabellen */

html.a11y-contrast table {
    color: #fff !important;
    background: #000 !important;
    border-collapse: collapse;
}

html.a11y-contrast th,
html.a11y-contrast td {
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #fff !important;
}

html.a11y-contrast th {
    color: #000 !important;
    background: #ffeb00 !important;
}

/* Bootstrap- und Joomla-Komponenten */

html.a11y-contrast .alert,
html.a11y-contrast .card,
html.a11y-contrast .modal-content,
html.a11y-contrast .dropdown-menu,
html.a11y-contrast .list-group-item,
html.a11y-contrast .accordion-item,
html.a11y-contrast .accordion-button,
html.a11y-contrast .offcanvas,
html.a11y-contrast .toast,
html.a11y-contrast .pagination,
html.a11y-contrast .page-link {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
    box-shadow: none !important;
}

html.a11y-contrast .dropdown-item,
html.a11y-contrast .accordion-button,
html.a11y-contrast .page-link {
    color: #fff !important;
}

html.a11y-contrast .dropdown-item:hover,
html.a11y-contrast .dropdown-item:focus,
html.a11y-contrast .dropdown-item.active,
html.a11y-contrast .accordion-button:hover,
html.a11y-contrast .accordion-button:focus,
html.a11y-contrast .page-link:hover,
html.a11y-contrast .page-link:focus,
html.a11y-contrast .page-item.active .page-link {
    color: #000 !important;
    background: #ffeb00 !important;
    border-color: #ffeb00 !important;
}

/* Trennlinien */

html.a11y-contrast hr {
    border: 0;
    border-top: 3px solid #fff !important;
    opacity: 1;
}

/* Bilder, Videos und eingebettete Inhalte */

html.a11y-contrast img,
html.a11y-contrast video,
html.a11y-contrast iframe {
    border: 2px solid #fff !important;
}

/* SVG-Symbole */

html.a11y-contrast svg {
    color: currentColor !important;
}

html.a11y-contrast svg:not([fill="none"]) {
    fill: currentColor;
}

html.a11y-contrast svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

/* Footer */

html.a11y-contrast .site-footer,
html.a11y-contrast .footer-main,
html.a11y-contrast .footer-bottom {
    color: #fff !important;
    background: #000 !important;
    border-color: #fff !important;
}

html.a11y-contrast .site-footer h1,
html.a11y-contrast .site-footer h2,
html.a11y-contrast .site-footer h3,
html.a11y-contrast .footer-brand {
    color: #fff !important;
}

html.a11y-contrast .site-footer a,
html.a11y-contrast .footer-bottom a {
    color: #7ee8ff !important;
}

html.a11y-contrast .site-footer a:hover,
html.a11y-contrast .site-footer a:focus,
html.a11y-contrast .footer-bottom a:hover,
html.a11y-contrast .footer-bottom a:focus {
    color: #000 !important;
    background: #ffeb00 !important;
}

/* Dekoratives Footerbild entfernen */

html.a11y-contrast .footer-main::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* Scroll-to-Top */

html.a11y-contrast #scrollTopBtn {
    color: #000 !important;
    background: #ffeb00 !important;
    border: 3px solid #fff !important;
    box-shadow: none !important;
}

html.a11y-contrast #scrollTopBtn:hover,
html.a11y-contrast #scrollTopBtn:focus {
    color: #fff !important;
    background: #000 !important;
}

/* Skip-Link */

html.a11y-contrast .skip-link {
    color: #000 !important;
    background: #ffeb00 !important;
    border: 3px solid #fff !important;
}

/* Textauswahl */

html.a11y-contrast ::selection {
    color: #000;
    background: #ffeb00;
}

/* =========================================================
   WEITERE BARRIEREFREIHEITS-MODI
   ========================================================= */

html.a11y-line-spacing {
    --line-height: 2;
}

html.a11y-readable-font body {
    font-family: Verdana, Arial, sans-serif;
    letter-spacing: 0.025em;
    word-spacing: 0.08em;
}

html.a11y-underline-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 0.14em !important;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
}

/* =========================================================
   RESPONSIVE DARSTELLUNG
   ========================================================= */

@media (min-width: 992px) {
    .navbar .mod-menu {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .hero-section h1 {
        max-width: none;
    }

    .footer-main::before {
        width: min(90vw, 600px);
        opacity: 0.7;
    }
}

/* =========================================================
   BEVORZUGT REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   DRUCKANSICHT
   ========================================================= */

@media print {
    .accessibility-toolbar,
    .main-navbar,
    .skip-link,
    #scrollTopBtn {
        display: none !important;
    }

    body,
    .hero-section,
    .section-slate,
    .footer-main,
    .footer-bottom {
        color: #000 !important;
        background: #fff !important;
        background-image: none !important;
    }

    .footer-main::before {
        display: none !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

.breadcrumb-item,
.breadcrumb-item a {
    color: #455E80 !important;
}

.breadcrumb-item.active {
    color: #455E80 !important;
}

img{
    border-radius:6px;
}
.sidemenu{
    font-size:larger;
}



/* Bild links, Liste rechts */
.anwalt-inhalt {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

/* Bild */
.anwalt-bild img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Liste rechts neben dem Bild */
.anwalt-text {
    min-width: 0;
}

.anwalt-text .rechtsgebiete {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

/* Smartphone */
@media (max-width: 575px) {
    .anwalt-inhalt {
        grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
        gap: 12px;
    }

    .anwalt-text .rechtsgebiete {
        padding-left: 16px;
        font-size: 14px;
    }
}

.anwalt-profil {
    height: 100%;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}




/* Team-Karten */
.unser-team .team-card {
    background: #f2f3f5;
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* Gleicher Innenabstand für alle Karten */
.unser-team .team-info {
    padding: 28px;
}

/* Überschrift */
.unser-team .team-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #15263a;
    margin: 0 0 10px;
}

/* Einheitliche Bilder */
.unser-team .team-image {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin: 0 0 16px;
}

/* Berufsbezeichnung */
.unser-team .team-position {
    font-size: 0.95rem;
    color: #263443;
    margin-bottom: 6px;
}

/* Trennlinie */
.unser-team .team-line {
    width: 42px;
    height: 3px;
    background: #455e80;
    margin: 12px 0;
    border-radius: 3px;
}

/* Beschreibung */
.unser-team .team-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #263443;
    margin-bottom: 0;
}

/* Kopfbereich */
.unser-team .team-header {
    text-align: center;
    margin-bottom: 45px;
}

.unser-team .team-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.unser-team .team-header p {
    color: #65717d;
    font-size: 1.05rem;
}

/* Mobil */
@media (max-width: 767px) {
    .unser-team .team-info {
        padding: 20px;
    }

    .unser-team .team-image {
        height: auto;
        aspect-ratio: 600 / 481;
    }
}
.chat-window-title-center{
    background:#adbacb;
}
.chat-window-head{
    background:#adbacb!important;
}
.chat-button{
    background:#adbacb!important;
    color:#000!important;
}
.botario-floating-button{
      background:#adbacb!important;
      border: 1px solid #566c89!important; 
          color:#000!important; 
}



/* Farbschema: sanftes Blaugrau passend zu #455e80 */
/* Barbara Dufrenne: ausschließlich innerhalb .bd-joomla; keine section-Elemente */
/* Kanzlei-Unterseite Barbara Dufrenne */
.bd-joomla {--ink:#26364b;--muted:#627187;--cream:#f5f7fa;--white:#fff;--sage:#e8eef5;--green:#455e80;--gold:#bd9b69;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65;background:var(--cream)}
.bd-joomla *, .bd-joomla *::before, .bd-joomla *::after {box-sizing:border-box}
.bd-joomla * {
            box-sizing: border-box
        }
.bd-joomla h1, .bd-joomla h2, .bd-joomla h3 {
            font-family: Georgia, "Times New Roman", serif;
            font-weight: normal;
            line-height: 1.16
        }
.bd-joomla h1 {
            font-size: clamp(2.8rem, 6vw, 5.5rem);
            margin: 20px 0
        }
.bd-joomla h2 {
            font-size: clamp(2rem, 3.8vw, 3.3rem);
            margin: 0 0 22px
        }
.bd-joomla h3 {
            font-size: 1.55rem;
            margin: 0 0 12px
        }
.bd-joomla p {
            margin: 0 0 18px
        }
.bd-joomla a {
            color: inherit
        }
.bd-joomla .bd-button {
            display: inline-block;
            background: var(--green);
            color: white;
            padding: 14px 24px;
            text-decoration: none;
            font-size: 13px;
            font-weight: bold;
            letter-spacing: .3px;
            border: 1px solid var(--green)
        }
.bd-joomla .bd-button.bd-outline {
            background: transparent;
            color: var(--green)
        }
.bd-joomla .bd-button:hover {
            opacity: .85
        }
.bd-joomla .bd-hero {
            background: linear-gradient(110deg, #e8eef5 0%, #f7f9fc 65%);
            position: relative;
            overflow: hidden
        }
.bd-joomla .bd-hero:after {
            content: "";
            position: absolute;
            width: 38vw;
            height: 38vw;
            min-width: 280px;
            min-height: 280px;
            border: 1px solid #cbd7e5;
            border-radius: 50%;
            right: -9vw;
            top: 10%;
            box-shadow: 0 0 0 70px #dce6f055, 0 0 0 140px #dce6f044;
            pointer-events: none
        }
.bd-joomla .bd-wrap {
            max-width: 1200px;
            margin: auto;
            padding: 100px 26px
        }
.bd-joomla .bd-hero .bd-wrap {
            min-height: 610px;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1
        }
.bd-joomla .bd-hero-copy {
            max-width: 780px
        }
.bd-joomla .bd-eyebrow {
            color: var(--green);
            text-transform: uppercase;
            letter-spacing: 2.8px;
            font-size: 11px;
            font-weight: bold
        }
.bd-joomla .bd-lead {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            max-width: 650px;
            color: #53677f
        }
.bd-joomla .bd-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 28px
        }
.bd-joomla .bd-intro {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 90px;
            align-items: start
        }
.bd-joomla .bd-section-note {
            font-size: 1.13rem;
            color: var(--muted)
        }
.bd-joomla .bd-section-white {
            background: #fff
        }
.bd-joomla .bd-section-green {
            background: var(--green);
            color: #fff
        }
.bd-joomla .bd-section-green .bd-eyebrow, .bd-joomla .bd-section-green .bd-section-note {
            color: #e8eef5
        }
.bd-joomla .bd-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            margin-top: 40px
        }
.bd-joomla .bd-service {
            background: #fff;
            border: 1px solid #e0e7f0;
            padding: 30px;
            min-height: 260px
        }
.bd-joomla .bd-service .bd-number {
            font-size: 12px;
            color: var(--gold);
            letter-spacing: 2px;
            display: block;
            margin-bottom: 35px
        }
.bd-joomla .bd-service p {
            color: var(--muted);
            font-size: 14px
        }
.bd-joomla .bd-service a {
            font-weight: bold;
            font-size: 13px;
            color: var(--green);
            text-decoration: none
        }
.bd-joomla .bd-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 22px;
            margin-top: 38px
        }
.bd-joomla .bd-detail {
            border-top: 1px solid #cbd7e5;
            padding-top: 25px
        }
.bd-joomla .bd-detail p {
            color: var(--muted)
        }
.bd-joomla .bd-detail ul {
            padding-left: 19px;
            color: #526277
        }
.bd-joomla .bd-detail li {
            margin: 7px 0
        }
.bd-joomla .bd-highlight {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 65px;
            align-items: center
        }
.bd-joomla .bd-quote {
            font: italic clamp(1.7rem, 3vw, 2.7rem)/1.3 Georgia, serif;
            border-left: 3px solid var(--gold);
            padding-left: 28px
        }
.bd-joomla .bd-steps {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 38px
        }
.bd-joomla .bd-step {
            border-top: 1px solid #ffffff66;
            padding-top: 22px
        }
.bd-joomla .bd-step strong {
            display: block;
            color: #e0c9a4;
            font-size: 12px;
            margin-bottom: 12px
        }
.bd-joomla .bd-step h3 {
            font-size: 1.45rem
        }
.bd-joomla .bd-step p {
            color: #e8eef5;
            font-size: 14px
        }
.bd-joomla .bd-contact {
            max-width: 750px
        }
.bd-joomla .bd-contact p {
            color: var(--muted)
        }
.bd-joomla .notice {
            font-size: 13px;
            color: #6d787a;
            border-left: 2px solid var(--gold);
            padding-left: 15px;
            margin-top: 25px
        }
@media (max-width:850px)  {.bd-joomla .bd-grid, .bd-joomla .bd-steps {
                grid-template-columns: 1fr 1fr
            }
.bd-joomla .bd-intro, .bd-joomla .bd-highlight {
                grid-template-columns: 1fr;
                gap: 25px
            }
.bd-joomla .bd-wrap {
                padding: 70px 24px
            }}
@media (max-width:600px)  {.bd-joomla .bd-grid, .bd-joomla .bd-details, .bd-joomla .bd-steps {
                grid-template-columns: 1fr
            }
.bd-joomla .bd-hero .bd-wrap {
                min-height: 540px
            }
.bd-joomla .bd-service {
                min-height: 0
            }
.bd-joomla .bd-hero:after {
                opacity: .4
            }}

.bd-joomla div[id] {
            scroll-margin-top: 24px
        }
.bd-joomla .bd-hero .bd-wrap{min-height:380px}.bd-joomla .bd-wrap{padding-top:65px;padding-bottom:65px}.bd-joomla .bd-hero h1{font-size:clamp(2.3rem,5vw,4rem)}






/* Mark Theodor Speitel – ausschließlich innerhalb .ms-joomla */
.ms-joomla{--ms-ink:#26364b;--ms-muted:#627187;--ms-accent:#455e80;--ms-pale:#e8eef5;--ms-cream:#f5f7fa;--ms-line:#cbd7e5;color:var(--ms-ink);font:16px/1.7 Arial,Helvetica,sans-serif;background:#fff}
.ms-joomla,.ms-joomla *,.ms-joomla *::before,.ms-joomla *::after{box-sizing:border-box}
.ms-joomla h1,.ms-joomla h2,.ms-joomla h3{line-height:1.2;letter-spacing:-.02em;color:var(--ms-ink)}
.ms-joomla h1{font-family:Georgia,serif;font-size:clamp(2.3rem,5vw,4rem);font-weight:400;margin:12px 0 22px}
.ms-joomla h2{font-family:Georgia,serif;font-size:clamp(1.9rem,3.5vw,2.8rem);font-weight:400;margin:0 0 20px}
.ms-joomla h3{font-size:1.22rem;margin:0 0 10px;font-weight:600}
.ms-joomla p{margin:0 0 16px}
.ms-joomla .ms-eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.76rem;font-weight:700;color:var(--ms-accent);margin-bottom:12px}
.ms-joomla .ms-hero{background:linear-gradient(110deg,#e8eef5,#f5f7fa);padding:68px 0 60px;border-bottom:1px solid var(--ms-line)}
.ms-joomla .ms-inner{max-width:1160px;padding:0 24px;margin:auto}
.ms-joomla .ms-intro{font-size:1.2rem;max-width:770px;color:#4d617a}
.ms-joomla .ms-tag{display:inline-block;background:#dbe5f0;color:#455e80;border-radius:30px;padding:7px 14px;font-size:.85rem;margin:8px 8px 0 0}
.ms-joomla .ms-main{max-width:1160px;margin:auto;padding:0 24px 75px}
.ms-joomla .ms-section{padding-top:66px}
.ms-joomla .ms-lead{color:var(--ms-muted);max-width:800px}
.ms-joomla .ms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
.ms-joomla .ms-card{border:1px solid var(--ms-line);border-radius:12px;padding:28px;background:white;min-width:0}
.ms-joomla .ms-card:nth-child(4n+2),.ms-joomla .ms-card:nth-child(4n+3){background:var(--ms-cream)}
.ms-joomla .ms-num{color:var(--ms-accent);font-size:.85rem;font-weight:700;letter-spacing:.08em;margin-bottom:12px}
.ms-joomla .ms-card p{color:var(--ms-muted)}
.ms-joomla .ms-card ul{padding-left:20px;margin:10px 0 0}
.ms-joomla .ms-card li{margin:5px 0}
.ms-joomla .ms-feature{margin-top:65px;background:var(--ms-pale);border-radius:14px;padding:35px 40px}
.ms-joomla .ms-feature p{max-width:800px}
.ms-joomla .ms-contact{border-top:1px solid var(--ms-line);margin-top:70px;padding-top:45px}
.ms-joomla .ms-note{font-size:.88rem;color:var(--ms-muted)}
@media(max-width:700px){.ms-joomla .ms-grid{grid-template-columns:1fr}.ms-joomla .ms-hero{padding:48px 0}.ms-joomla .ms-section{padding-top:45px}.ms-joomla .ms-feature{padding:25px}.ms-joomla .ms-card{padding:23px}}


/* Speitel: Hero-Abstände und Ausrichtung korrigieren */

.ms-joomla .ms-hero .ms-hero-layout {
    align-items: start !important;
    padding-top: 25px !important;
    padding-bottom: 45px !important;
    min-height: 0 !important;
}

/* Text oben bündig mit dem Bild */
.ms-joomla .ms-hero .ms-inner {
    align-self: start !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    min-height: 0 !important;
}

/* Erste Überschrift ohne oberen Abstand */
.ms-joomla .ms-hero .ms-eyebrow {
    margin-top: 0 !important;
}

/* Bild ebenfalls oben ausrichten */
.ms-joomla .ms-hero-image {
    align-self: start !important;
    margin-top: 0 !important;
}

/* Smartphone */
@media (max-width: 900px) {
    .ms-joomla .ms-hero .ms-hero-layout {
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }
}

/* SPEITEL – Hero-Layout korrigieren */

@media (min-width: 901px) {

    .ms-joomla .ms-hero .ms-hero-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
        align-items: start !important;
        gap: 40px !important;
        padding: 25px 35px 45px !important;
        max-width: 1200px;
        margin: 0 auto;
        min-height: 0 !important;
    }

    .ms-joomla .ms-hero .ms-inner {
        grid-column: 1 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        align-self: start !important;
    }

    .ms-joomla .ms-hero .ms-hero-image {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: start !important;
    }

    .ms-joomla .ms-hero-image img {
        display: block;
        width: 100% !important;
        height: 440px !important;
        object-fit: cover;
        object-position: center 25%;
        border-radius: 8px;
    }

    .ms-joomla .ms-hero .ms-eyebrow,
    .ms-joomla .ms-hero h2 {
        margin-top: 0 !important;
    }
}

/* Tablet und Smartphone */
@media (max-width: 900px) {

    .ms-joomla .ms-hero .ms-hero-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 25px !important;
        padding: 25px 20px !important;
    }

    .ms-joomla .ms-hero .ms-inner,
    .ms-joomla .ms-hero .ms-hero-image {
        grid-column: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .ms-joomla .ms-hero-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 420px;
        object-fit: cover;
    }
}


.weiss{
    background:#f8f7f3!important;
}

.rechtszitat {
  background: #f8f7f3;
  border-left: 4px solid #b6955b;
  padding: 30px 35px;
  border-radius: 8px;
  margin: 25px 0;
  font-family: Georgia, serif;
}

.rechtszitat blockquote {
  margin: 0 0 18px;
  color: #333;
  font-size: 24px;
  font-style: italic;
  line-height: 1.6;
}

.rechtszitat cite {
  color: #826a48;
  font-size: 15px;
  font-style: normal;
}
/* Joomla-Menü auf Mobilgeräten sichtbar halten */
@media (max-width: 991.98px) {
    #mainNavigation {
        display: block;
        width: 100%;
    }
}

/* Mobile Navigation: Logo links, Hamburger rechts */
@media (max-width: 991.98px) {

    .main-navbar > .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .main-navbar .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 10px;
    }

    .main-navbar .navbar-brand img {
        max-width: 100%;
        height: auto;
    }

    #mainNavigation {
        display: block;
        flex: 0 0 auto;
        width: auto;
    }

    #mainNavigation .ms-auto {
        margin-left: 0 !important;
    }
}

/* Untermenüs auf Mobilgeräten */
@media (max-width: 991.98px) {

    #mainNavigation .dropdown-menu.show {
        display: block !important;
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 5px;
        box-shadow: none;
    }

    #mainNavigation .dropdown-menu {
        position: static;
    }
}

/* Mobile Untermenüs als Akkordeon */
@media (max-width: 991.98px) {

    #mainNavigation .jmm-wrapper .nav-child {
        display: none !important;
        position: static !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: none !important;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    #mainNavigation .jmm-wrapper li.parent.jmm-open > .nav-child {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
@media (max-width: 991.98px) {

    /* Untermenüs nicht über andere Inhalte legen */
    #mainNavigation .jmm-wrapper li.parent {
        position: relative;
    }

    #mainNavigation .jmm-wrapper li.parent.jmm-open > .nav-child {
        position: static !important;
        z-index: auto !important;
        pointer-events: auto !important;
    }

    /* Untermenü-Links anklickbar halten */
    #mainNavigation .jmm-wrapper .nav-child a {
        position: relative;
        pointer-events: auto !important;
    }
}

/* Mobiles Menü: Hamburger rechts, Menü über dem Inhalt */
@media (max-width: 991.98px) {

    .main-navbar {
        position: relative;
        z-index: 1000;
    }

    .main-navbar > .container {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    /* Menücontainer aus dem normalen Seitenfluss nehmen */
    #mainNavigation {
        position: absolute;
        top: 0;
        right: 12px;
        width: auto;
        display: block;
        transform: none;
        z-index: 1001;
    }

    /* Hamburger bleibt oben rechts */
    #mainNavigation .jmm-toggle {
        display: block;
        margin-left: auto;
    }

    /* Ausgeklapptes Menü überlagert den Seiteninhalt */
    #mainNavigation .nav-menu.jmm-show {
        position: absolute;
        top: 100%;
        right: 0;
        width: 220px;
        max-width: calc(100vw - 24px);
        z-index: 1002;
    }

    /* Untermenüs innerhalb des Menüs aufklappen */
    #mainNavigation .jmm-wrapper li.parent.jmm-open > .nav-child {
        position: static !important;
    }

    .main-navbar,
    .main-navbar > .container,
    #mainNavigation {
        overflow: visible !important;
    }
}

/* Mobile Hauptnavigation */
@media (max-width: 991.98px) {

    .main-navbar {
        position: relative;
        z-index: 1000;
        overflow: visible;
    }

    .main-navbar > .container {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        overflow: visible;
    }

    .main-navbar .navbar-brand {
        flex: 0 1 auto;
        min-width: 0;
        margin-right: 60px;
    }

    .main-navbar .navbar-brand img {
        max-width: 100%;
        height: auto;
    }

    #mainNavigation {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        width: auto;
        display: block;
        overflow: visible;
        z-index: 1001;
    }

    #mainNavigation .jmm-wrapper {
        position: relative;
    }

    /* Hamburger bleibt sichtbar und anklickbar */
    #mainNavigation .jmm-toggle {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        z-index: 1003;
    }

    /* Menü unterhalb des Hamburgers */
    #mainNavigation .nav-menu.jmm-show {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        width: 220px;
        max-width: calc(100vw - 24px);
        z-index: 1002;
    }

    /* Untermenüs innerhalb des mobilen Menüs */
    #mainNavigation .jmm-wrapper li.parent.jmm-open > .nav-child {
        position: static !important;
    }
}
