/* === BASE STYLES === */

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-y: scroll; /* Scrollbalken immer anzeigen um Sprung zu verhindern */
    scrollbar-gutter: stable; /* Moderne Alternative: Platz für Scrollbalken reservieren */
}

body {
    padding: 0;
    margin: 0;
    background-image: url(../_images/background.jpg);
    background-attachment: fixed;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
}

@media (min-width: 768px) {
    body {
        margin: 0.8rem;
    }
}

body, button, input, select, textarea {
    font-size: 16px;
    line-height: 1.5;
}

p, td {
    text-align: justify;
    hyphens: auto;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* === FORMS === */

input[type="submit"], input[type="reset"], input[type="button"], input[type="file"] {
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #FCFCFC;
    padding: 4px 10px;
    background-color: #030303;
    border: 1px solid #030303;
    border-radius: 0;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, input[type="file"]:hover {
    color: #BE281E;
}
.btn{font-size: 1.5rem;}
.btn-primary, .btn-primary:hover {
    color: #fff;
    background-color: #BE281E;
    border-color: #BE281E;
}

.formular {
    border: 1px solid #BE281E;
    border-bottom-width: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 11pt;
    padding: 4px 8px;
    color: #030303;
    height: 25px;
}

.formular-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 11pt;
    font-weight: 400;
    color: #767676;
}

/* === SELECT DROPDOWNS === */
.form-select {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    color: #030303;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 25px 6px 8px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* CDN Override */
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){
	border-radius: 3px;
}

.form-select:focus {
    border-color: #BE281E;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(190, 40, 30, 0.2);
}

.form-select:hover {
    border-color: #999;
}

/* Spezifische Anpassungen für Pagination Selects */
.pagination select.form-select {
    margin: 0 5px;
    display: inline-block;
    width: auto;
    min-width: 120px;
}

.pagination .form-select.input-mini {
    min-width: 60px;
    width: 60px;
}

/* Pagination Container */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

.pagination-centered {
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .pagination .form-select {
        width: 100%;
        min-width: auto;
    }
    
    .pagination .form-select.input-mini {
        width: 100%;
    }
}

/* === LAYOUT === */

.pmx-header {
    display: block;
    font-size: 0;
}

.pmx-header__image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.pmx-content {
    background-color: #FFFFFF;
    padding: 2.5rem;
    box-sizing: border-box;
    color: #222;
    flex: 1;
}

.top-button{
	color: #828282;
	text-decoration: none;
	position: relative;
	font-size: 1rem;
	display:inline-flex;
	align-items:center; 
  	gap:.45rem;
}

@media (max-width: 767px) {
	.top-button{
		display: none;
	}
}

.top-button i{
	display: inline-block;
	transition: transform 0.2s ease-in-out;
}

.top-button:hover{
	text-decoration: none;
	color: #828282;

}

.top-button:hover i{
	animation: bounce 2s infinite;
}

.copyright-badge{
	font-size: 1rem;
	text-decoration: none;
	color: white;
}

.copyright-badge:hover{
	text-decoration: none;
	color: white;
}

.pmx-sidebar .mod-custom a:is(.copyright-badge){
	color: white;
	text-decoration: none;
}

.pmx-sidebar .mod-custom a:hover:is(.copyright-badge){
	color: white;
	text-decoration: none;
}

	

@media (min-width: 768px) {
    .pmx-content {
        /* width: 595px; */
        /* min-width: 595px; */
        max-width: 595px;
        /* flex: 0 0 595px; */
    }
}

.pmx-content--footerrow {
    display: none;
}

@media (min-width: 768px) {
    .pmx-content--footerrow {
        display: block;
    }
}

.pmx-content__headline, #phoca-dl-categories-box h1, h1 {
    font-size: 3.4rem;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
    padding: 0 8rem 1rem 0;
}

@media (min-width: 768px) {
    .pmx-content__headline {
        font-size: 3.4rem;
        line-height: 1.3;
    }
}

.pmx-content__headline2 {
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
    padding: 0 8rem 1rem 0;
}

@media (min-width: 768px) {
    .pmx-content__headline2 {
        font-size: 2.4rem;
        line-height: 1.0;
    }
}

.pmx-content__paragraph {
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: justify;
}

.pmx-content__paragraph--first {
    margin: 0;
}

.pmx-content__link {
    color: #BE281E;
    text-decoration: none;
    transition: color 300ms;
}

.pmx-content__link:hover {
    color: #870900;
}

.divider-top{
	position: relative;
}

.divider-top::before{
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 85%;              /* Länge der „Border“ */
	height: 2px;              /* Dicke */
	background-color: #BE281E;    /* Farbe */
}
/* === NAVIGATION === */

.pmx-navigation {
    background-color: #030303;
    color: #FCFCFC;
    width: 100%;
}

/* Mobile Navigation Bar - nur auf mobilen Geräten sichtbar */
@media (max-width: 767px) {
    .pmx-navigation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        box-sizing: border-box;
        background-color: #030303;
    }
    
    body {
        padding-top: 40px !important; /* Platz für fixed navigation - wichtig für Override */
        margin-top: 0 !important;
    }

	.pmx-sidebar .moduletable.pmx-login.divider-top::before {
		height: 0;
	}
}

.pmx-navigation__websitename {
    display: none; /* Standardmäßig versteckt */
    color: #FCFCFC;
    /* font-size: 18px; */
    flex: 1; /* Nimmt verfügbaren Platz */
    min-width: 0; /* Verhindert Overflow */
    text-align: right !important; /* Text nach rechts ausrichten */
    order: 2; /* Zweite Position (rechts) */
}

@media (max-width: 767px) {
    .pmx-navigation__websitename {
        display: block;
    }
}

.pmx-navigation__inner {
    display: block;
    position: relative;
}

@media (max-width: 767px) {
    .pmx-navigation__inner {
        /* Für mobile Navigation ist das inner nicht sichtbar in der top bar */
        display: none;
    }
}

.pmx-navigation__mobilenav {
    display: none; /* Standardmäßig versteckt */
    cursor: pointer;
    color: #FCFCFC;
    font-size: 16px;
    background: none;
    border: none;
    /* padding: 8px; */
    min-width: 0; /* Verhindert Overflow */
    flex-shrink: 0; /* Verhindert Kompression */
    order: 1; /* Erste Position (links) */
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pmx-navigation__mobilenav:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .pmx-navigation__mobilenav {
        display: flex;
        align-items: center;
    }
}

.pmx-navigation__mobilenav-icon {
    font-size: 20px;
    margin-right: 8px;
    line-height: 1;
}

.pmx-navigation__mobilenav-text {
    font-size: 16px;
    white-space: nowrap;
    /* font-weight: 500; */
}

/* === JOOMLA NAVIGATION === */

.pmx-navigation .moduletable {
    margin: 0;
    padding: 0;
}

/* Desktop Navigation - in der Sidebar sichtbar */
@media (min-width: 768px) {
    .pmx-navigation .mod-menu,
    .pmx-navigation .nav,
    .pmx-navigation #mod-menu1 {
        background-color: #030303;
        display: block;
        margin: 0;
        margin-bottom: 2rem;
        padding: 0;
        list-style: none;
        width: 100%;
    }
}

/* Mobile Navigation - Offcanvas */
@media (max-width: 767px) {
    .pmx-navigation .mod-menu,
    .pmx-navigation .nav,
    .pmx-navigation #mod-menu1 {
        display: none; /* Versteckt - wird durch Offcanvas ersetzt */
    }
}

/* Offcanvas Menu für Mobile */
.pmx-offcanvas-menu {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 280px;
    max-width: 80vw; /* Nicht breiter als 80% des Viewports */
    height: calc(100vh - 50px);
    background-color: #030303;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.pmx-offcanvas-menu.show {
    left: 0;
}

.pmx-offcanvas-overlay {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.pmx-offcanvas-overlay.show {
    display: block;
    opacity: 1;
}

/* Desktop Navigation Styles */
@media (min-width: 768px) {
    .pmx-navigation .nav-item,
    .pmx-navigation .mod-menu li,
    .pmx-navigation #mod-menu1 > li {
        display: block;
        margin: 0;
        padding: 0;
    }

    .pmx-navigation .nav-item a,
    .pmx-navigation .mod-menu a,
    .pmx-navigation #mod-menu1 > li > a {
        font-size: 1.6rem;
        line-height: 1.5;
        display: block;
        color: #FCFCFC;
        text-decoration: none;
        padding: 1rem 2rem 1rem 3rem;
        transition: background-color 0.4s;
        border: none;
    }

    .pmx-navigation .nav-item a:hover,
    .pmx-navigation .mod-menu a:hover,
    .pmx-navigation #mod-menu1 > li > a:hover,
    .pmx-navigation .nav-item.active a,
    .pmx-navigation .nav-item.current a,
    .pmx-navigation .mod-menu .current a,
    .pmx-navigation #mod-menu1 > li.current > a,
    .pmx-navigation #mod-menu1 > li.active > a {
        background-color: #BE281E;
        color: #FCFCFC;
    }
}

/* Offcanvas Navigation Styles */
.pmx-offcanvas-menu .moduletable {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.pmx-offcanvas-menu .mod-menu,
.pmx-offcanvas-menu .nav,
.pmx-offcanvas-menu #mod-menu1 {
    display: block !important;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    flex-direction: column !important; /* Sicherstellen dass Flex-Items vertikal sind */
}

/* Bootstrap spezifische Overrides */
.pmx-offcanvas-menu .navbar-nav {
    flex-direction: column !important;
    width: 100%;
}

.pmx-offcanvas-menu .nav-link {
    padding: 18px 25px !important;
    color: #FCFCFC !important;
    border-bottom: 1px solid #333;
}

.pmx-offcanvas-menu .nav-item,
.pmx-offcanvas-menu .mod-menu li,
.pmx-offcanvas-menu #mod-menu1 > li {
    display: block !important;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #333;
    width: 100%;
    float: none !important; /* Bootstrap/andere Floats überschreiben */
    flex: none !important; /* Bootstrap Flex überschreiben */
    align-self: stretch !important; /* Bootstrap Alignment überschreiben */
}

.pmx-offcanvas-menu .nav-item a,
.pmx-offcanvas-menu .mod-menu a,
.pmx-offcanvas-menu #mod-menu1 > li > a {
    font-size: 1.6rem;
    line-height: 1.4;
    display: block;
    color: #FCFCFC;
    text-decoration: none;
    padding: 18px 25px;
    transition: all 0.2s ease;
    border: none;
    position: relative;
}

.pmx-offcanvas-menu .nav-item a::before,
.pmx-offcanvas-menu .mod-menu a::before,
.pmx-offcanvas-menu #mod-menu1 > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #BE281E;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pmx-offcanvas-menu .nav-item a:hover,
.pmx-offcanvas-menu .mod-menu a:hover,
.pmx-offcanvas-menu #mod-menu1 > li > a:hover,
.pmx-offcanvas-menu .nav-item.active a,
.pmx-offcanvas-menu .nav-item.current a,
.pmx-offcanvas-menu .mod-menu .current a,
.pmx-offcanvas-menu #mod-menu1 > li.current > a,
.pmx-offcanvas-menu #mod-menu1 > li.active > a {
    background-color: #BE281E;
    color: #FCFCFC;
    padding-left: 30px;
}

.pmx-offcanvas-menu .nav-item a:hover::before,
.pmx-offcanvas-menu .mod-menu a:hover::before,
.pmx-offcanvas-menu #mod-menu1 > li > a:hover::before,
.pmx-offcanvas-menu .nav-item.active a::before,
.pmx-offcanvas-menu .nav-item.current a::before,
.pmx-offcanvas-menu .mod-menu .current a::before,
.pmx-offcanvas-menu #mod-menu1 > li.current > a::before,
.pmx-offcanvas-menu #mod-menu1 > li.active > a::before {
    opacity: 1;
}
.pmx-offcanvas-menu #mod-menu1{padding: 0;}

@media (max-width: 767px) {
    .pmx-navigation .mod-menu,
    .pmx-navigation .nav,
    .pmx-navigation #mod-menu1 {
        display: none;
    }
    
    .pmx-navigation .mod-menu.nav-open,
    .pmx-navigation .nav.nav-open,
    .pmx-navigation #mod-menu1.nav-open {
        display: block !important;
    }
}

/* === SIDEBAR === */

.pmx-sidebar {
    background-color: #030303;
    flex: 1;
}

@media (min-width: 768px) {
    .pmx-sidebar {
        /* width: 255px; */
        /* min-width: 255px; */
        max-width: 255px;
        /* flex: 0 0 255px; */
    }
}

.pmx-sidebar:after {
    content: " ";
    display: table;
    clear: both;
}

/* === JOOMLA MODULES === */

/* Erstes Modul in Sidebar ist das Menü */
.pmx-sidebar .moduletable:first-child .mod-menu,
.pmx-sidebar .moduletable:first-child .nav,
.pmx-sidebar .moduletable:first-child #mod-menu1 {
    list-style: none;
    margin: 0;
    padding: 0;
    position: static;
    display: block !important;
    background: transparent;
    box-shadow: none;
    width: 100%;
}

.pmx-sidebar .moduletable:first-child .mod-menu li,
.pmx-sidebar .moduletable:first-child .nav li,
.pmx-sidebar .moduletable:first-child #mod-menu1 > li {
    display: block;
    margin: 0;
    padding: 0;
}

.pmx-sidebar .moduletable:first-child .mod-menu a,
.pmx-sidebar .moduletable:first-child .nav a,
.pmx-sidebar .moduletable:first-child #mod-menu1 > li > a {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
    color: #FCFCFC;
    text-decoration: none;
    padding: 1rem 2rem 1rem 3rem;
    transition: background-color 0.4s;
    border: none;
}

@media (min-width: 768px) {
    .pmx-sidebar .moduletable:first-child .mod-menu a,
    .pmx-sidebar .moduletable:first-child .nav a,
    .pmx-sidebar .moduletable:first-child #mod-menu1 > li > a {
        font-size: 1.6rem;
        line-height: 1.5;
    }
}

.pmx-sidebar .moduletable:first-child .mod-menu a:hover,
.pmx-sidebar .moduletable:first-child .nav a:hover,
.pmx-sidebar .moduletable:first-child #mod-menu1 > li > a:hover,
.pmx-sidebar .moduletable:first-child .mod-menu .current a,
.pmx-sidebar .moduletable:first-child .nav .current a,
.pmx-sidebar .moduletable:first-child #mod-menu1 > li.current > a,
.pmx-sidebar .moduletable:first-child #mod-menu1 > li.active > a {
    background-color: #BE281E;
    color: #FCFCFC;
}

.pmx-sidebar p, .pmx-sidebar div{
    color: #FCFCFC;
    text-align: unset;
}

/* Mobile responsive für das erste Modul (Menü) */
@media (max-width: 767px) {
    .pmx-sidebar .moduletable:first-child .mod-menu,
    .pmx-sidebar .moduletable:first-child .nav,
    .pmx-sidebar .moduletable:first-child #mod-menu1 {
        display: none;
    }
    
    .pmx-sidebar .moduletable:first-child .mod-menu.nav-open,
    .pmx-sidebar .moduletable:first-child .nav.nav-open,
    .pmx-sidebar .moduletable:first-child #mod-menu1.nav-open {
        display: block !important;
    }
}

/* Login Module */
.pmx-sidebar .mod-login {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.pmx-sidebar .mod-login .form-group {
    margin-bottom: 15px;
}

.pmx-sidebar .mod-login .input-group {
    display: flex;
    width: 100%;
}

.pmx-sidebar .mod-login .form-control {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

.pmx-sidebar .mod-login .input-group-text,
.pmx-sidebar .mod-login .btn-secondary {
    display: none;
}


.pmx-sidebar .mod-login .btn-primary {
    background-color: #BE281E;
    color: #fff;
    border: 1px solid #BE281E;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.3s;
}

.pmx-sidebar .mod-login .btn-primary:hover {
    background-color: #9d1e15;
}

.pmx-sidebar .mod-login .form-check {
    margin-bottom: 10px;
}

.pmx-sidebar .mod-login .form-check-input {
    margin-right: 8px;
}

.pmx-sidebar .mod-login .form-check-label {
    color: #fff;
    font-size: 16px;
}

.pmx-sidebar .mod-login .mod-login__options,
.pmx-sidebar .mod-login .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.pmx-sidebar .mod-login .mod-login__options li,
.pmx-sidebar .mod-login .list-unstyled li {
    margin-bottom: 5px;
}

.pmx-sidebar .mod-login .mod-login__options a,
.pmx-sidebar .mod-login .list-unstyled a {
    color: #BE281E;
    font-size: 16px;
    text-decoration: none;
	transition: color 300ms;
}

.pmx-sidebar .mod-login .mod-login__options a:hover,
.pmx-sidebar .mod-login .list-unstyled a:hover {
    text-decoration: none;
	color: #870900;
}

.pmx-sidebar .mod-login .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Custom Module */


.pmx-sidebar .mod-custom a {
    color: #BE281E;
    text-decoration: none;
}

.pmx-sidebar .mod-custom a:hover {
    text-decoration: underline;
}

/* Moduletable */
.pmx-sidebar .moduletable {
    margin-bottom: 20px;
    padding: 1.5rem 2rem;
}

.pmx-sidebar .moduletable.divider-top{
	padding-top: 2.5rem;
}

.pmx-sidebar .moduletable h3,
.pmx-sidebar .moduletable .module-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #444;
}

.pmx-copyright.moduletable{
	padding: 0;
}

/* === UTILITIES === */

.stichwort {
    color: #2E2E2E;
    font-weight: bold;
}

.bild-umfluss {
    float: right;
    margin: 5px 0px 15px 15px;
    max-width: 50%;
}

.bild-umfluss-links {
    float: left;
    margin: 5px 15px 15px 0px;
    max-width: 50%;
}

.bildschatten {
    box-shadow: 4px 4px 2px #848484;
}

/* === NEWS === */

.news {
    background-color: #030303;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}

/* News Moduletable - konsolidiert */
.news.moduletable {
    margin-bottom: 0px;
}

.news .moduletable h3,
.news .moduletable .module-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #444;
}

.news .mod-custom {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
}

.news .mod-custom a {
    color: #BE281E;
    text-decoration: none;
	transition: color 300ms;
}

.news .mod-custom a:hover {
    color: #870900;
	text-decoration: none;
}

.news__headline {
    font-size: 2.4rem;
    line-height: 1.2;
    border-top: 2px solid #BE281E;
    padding-top: 0.2rem;
    margin: 1.5rem 0 2.5rem 0;
    color: #BE281E;
    font-weight: 400;
}

.news__item {
    display: block;
    margin-top: 2.5rem;
}

.news__item:first-child {
    margin: 0;
}

.news__title {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #FCFCFC;
    font-weight: 400;
}

.news__link {
    color: #BE281E;
    text-decoration: none;
    transition: color 300ms;
}

.news__link:hover {
    color: #870900;
}


/* === CONTAINERS === */

.pmx-container {
    max-width: 85rem;
    margin: 0 auto;
    background-color: #FFFFFF;
}

.pmx-container:after {
    content: " ";
    display: table;
    clear: both;
}

@media (min-width: 768px) {
    .pmx-container {
        display: flex;
    }
}

.pmx-container--first {
    margin: 0px auto 0 auto;
}

@media (min-width: 768px) {
    .pmx-container--first {
        margin: 25px auto 0 auto;
    }
}

/* === RESPONSIVE === */

@media (max-width: 767px) {
    .pmx-container.pmx-container--ie {
        flex-direction: column;
    }
    
    .content {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .pmx-sidebar {
        width: 100% !important;
    }
}

/* === WEBSITE WRAPPER === */

.pmx-website {
    max-width: 85rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pmx-website {
        box-shadow: 0 0 6px #BE281E;
        zoom: 1;
    }
}

/* === FOOTER === */

.footer {
    background-color: #030303;
    padding: 2rem;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    color: #FCFCFC;
    margin: 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 0 2rem;
        margin: 3.3rem 0 0 0;
    }
}

/* === PHOCA DOCUMENT CARDS === */

/* Dezente Styles für Phoca Download Cards */
#phoca-dl-categories-box .card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

#phoca-dl-categories-box .card:hover {
    border-color: #BE281E;
}

#phoca-dl-categories-box .card-body {
    padding: 20px;
    background: transparent;
}

#phoca-dl-categories-box .card-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

#phoca-dl-categories-box .card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

#phoca-dl-categories-box .card:hover .card-title a {
    color: #BE281E;
}

#phoca-dl-categories-box .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 12px 20px;
    font-size: 0.9rem;
}

#phoca-dl-categories-box .card-footer .text-muted {
    color: #666 !important;
    font-weight: normal;
}
#phoca-dl-categories-box .pd-categories-number, .pd-sep-number{display:none;}

#phoca-dl-categories-box .pd-files-number {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

/* .pd-sep-number bereits oben als display:none definiert */

/* Responsive Anpassungen für Cards */
@media (max-width: 767px) {
    #phoca-dl-categories-box .row {
        margin: 0 -8px;
    }
    
    #phoca-dl-categories-box .col {
        padding: 8px;
    }
    
    #phoca-dl-categories-box .card {
        border-radius: 8px;
    }
    
    #phoca-dl-categories-box .card-body {
        padding: 20px 16px 16px;
    }
    
    #phoca-dl-categories-box .card-title {
        font-size: 1.2rem;
    }
    
    #phoca-dl-categories-box .card-footer {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

@keyframes bounce {
  0%, 20%, 60%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  80% {
    transform: translateY(-4px);
  }
}

.jmodedit, .user-admin [id^="tip"]{display: none !important;}
