/*:root {
    --bannerbgcolor: #8a0915;
    --footerbgcolor: #8a0915;	
    --menucolor: #d15b66;
    --submenucolor: #d8a3a3;
    --brightcolor: white;
    --bgcolor: #EAEBED;
    --imgbg: silver;
    --contentcolor: #444;
    --h1color: #3D4852;
    --titlecolor: #3D4852;
    --textcolor: #3D4852;
}*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 1em;
    color:var(--textcolor);
}
body {
    background-color: var(--bgcolor);
    padding-top: 0px;
}
/*
header {
    background-color: var(--bannerbgcolor);
    padding: 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    position: relative;
}*/
/*
header {
    background-color: var(--bannerbgcolor);
    padding: 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    position: relative; 
}*/
header {
    background-color: var(--bannerbgcolor);
    padding: 0 0px; /* Reduced horizontal padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
}
.logo {
    height: 50px;
    width: 50px; /* Fixed width to match the margin */
    object-fit: contain;
    margin-right: 10px;
    margin-left: 10px;
    flex-shrink: 0;
}
/*.bannertitle {
    position:fixed;
    text-overflow: ellipsis;
    padding-left:2em;
    margin-left: 1em;
    transform: translateX(-20%);
    text-align: center;
    font-size: 1.8rem;
    color: white;
    white-space: nowrap;
}*//*
.bannertitle {
    flex: 1;
    text-overflow: ellipsis;
    padding-left: 1em;
    text-align: left;
    font-size: 1.8rem;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}*/

.banner-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    margin: 0 10px;
    padding-left: 60px; /* Logo width + margin */
    margin-left: -50px; /* Pull back by logo width */
    min-height: 50px;
}

.bannertitle {
    font-size: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    color: var(--bannertxtcolor);
}

.small-bannertitle {
    display: block;
    font-size: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0 0 0;
    padding: 0;
    line-height: 1.2;
    color: var(--bannertxtcolor);
    opacity: 0.9;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 480px) {
    .small-bannertitle {
        display: block;
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 2px 0 0 0;
        padding: 0;
        line-height: 1.2;
        color: var(--bannertxtcolor);
        opacity: 0.9;
        position: absolute;
        left: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove padding */
}


.navbar-links {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-right: 2em; /* Reduced padding */
    gap: 10px;

}
.navbar a {
    font-size: 16px;
    color: var(--bannertxtcolor);
    text-align: left;
    padding: 14px 16px;
    text-decoration: none;
}

.quote-box {
    font-style: italic;
    margin: 0.4em 0;
    padding: 1em;
    background-color: var(--quotebox-color );
    position: relative;
    padding-left: 1.5em;
    padding-right: 1.5em;
    border-radius: 4px;
    margin-left:3em;
}

.quote-box:before {
/*    content: "\201C"; /* Left double quotation mark */
    position: absolute;
    left:0.1em;
    top: 0.1em;
    font-size: 2.4em;
    color: var(--textcolor);
    opacity: 0.3;
}

.quote-box:after {
/*    content: "\201D"; /* Right double quotation mark */
    position: absolute;
    right: 0.2em;
    top: 90%; /* Position from top instead of bottom */
    transform: translateY(-50%); /* Adjust vertically */
    font-size: 2.4em;
    color: var(--textcolor);
    opacity: 0.3;
}

.quote-text {
    margin: 0;
    padding: 0;
    opacity: 0.7;
    padding-left: 1em;
}



    .content-container {
        display: flex;
        flex-direction: column;
        gap: 2em;
        padding: 0 1em;
        max-width: 1200px;
        margin: 0 auto;
        margin-bottom:2em;
        position: relative;
        z-index: 0;
    }
    .content-container-home {
        display: flex;
        flex-direction: row; /* Align items in a row */
        gap: 2em;
        padding: 0 3em;
    }

    .image-container {
        flex: 1; /* Take up equal space */
        text-align: center; /* Center the image */
    }

    .quote-text {
        flex: 2; /* Take up more space */
        line-height: 1.6;
        text-align: left; /* Align text to the left */
    }
    
        .text-content {
        line-height: 1.5;
        margin: 0;
        padding: 0.3em;
        display: inline-block;
        vertical-align: top;

    }

    .text-content a {
        text-decoration: underline;
        color: var(--linkcolor);
    }

    .text-content br {
        margin-bottom: 0.4em;
    }

    .text-content i {
        font-style: italic;
        opacity: 0.6;
    }

    .text-content b {
        font-weight: bold;
    }
    
    .quote {
        font-style: italic;
        margin: 0.4em 0;
        padding: 1em;
        background-color: #f5f5f5;
        border-left: 4px solid var(--bannerbgcolor);
    }


    
.dropdown {
    position: relative;
    z-index: 1000;
}

.dropbtn {
    cursor: pointer;
    font-size: 16px;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.dropbtn-text {
    flex: 1;
    display: block;
    color:var(--menubartitlecolor);
}

.dropbtn:hover {
    text-decoration:underline;
    color:var(--menubartitlecolor);
}

.dropbtn:active {
    color:white;
}

.dropdown-icon {
    height: 15px;
    width: auto;
    vertical-align: middle;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--submenucolor);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    top: 100%;
    left: 0;
    background: #fff;
    opacity: 1;
    color:white;
}

.dropdown-content a {
    float: none;
    color: var(--menubartxtcolor);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: var(--submenucolor);
}

.dropdown-content a:hover {
    background-color: var(--submenucolor);
}

.show {
    display: block !important;
}
.menu-icon {
    display: none;
    margin-left:auto;
    margin-right:1em;
}

.small-bannertitle {
    display: block;
    font-size: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0 0 0;
    padding: 0;
    line-height: 1.2;
    color: var(--bannertxtcolor);
    opacity: 0.9;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.banner-titles {
    display: flex;
    flex-direction: column;
    justify-content: left;
    flex-grow: 1;
    overflow: hidden;
    margin: 0 10px;
    padding-left: 60px;
    margin-left: -50px;
    min-height: 50px;
}

.navbar .banner-titles a {
    font-size: 1.8em;

}
.bannertitle {
    font-size: 1.5em;
    justify-content: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    color: var(--bannertxtcolor);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.lang-btn {
    color: var(--langswitchcolor);
    text-decoration: none;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.lang-btn.active {
    background-color: var(--langswitchcolor);
    color: white;
    border: 2px solid white;
}

.lang-separator {
    color: white;
    opacity: 0.6;
}

.navbar-links .language-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    margin: 0;
    padding: 15px;
    width: 100%;
}

.navbar-links .language-switch a {
    color:var(--langswitchtxt);

}

/* Optional: Add a brighter background for active language button */
.lang-btn.active {
    background-color: var(--langswitchcolor); /* Use the defined menu color */
    color: white;
    border: 2px solid white; /* Optional: Add a border for better visibility */
}
    .site-title {
        position: relative;
        z-index: 0;
        border-bottom: 2px solid var(--linecolor);
        margin-top: 1em;
    }

    .site-title h1 {
        text-align: center;
        font-size: 2em;
        color: var(--titlecolor);
        margin: 0;
        margin-top: 0.3em;
    }

    .title-section{
        margin-bottom:0.5em;
        margin-top: 0.5em;
        font-size: 1.3em;
        font-weight: bold;
    }

    .text-section{
        background-color: var(--bgcolor);
        margin-bottom: 1em;
        font-size: 1.1em;
        padding: 0;
    }

/* Für große Bildschirme, zeige den großen Bannertitel an */
@media screen and (min-width: 890px) {

    .small-bannertitle {
        display: none;
    }
    /* Image size classes */
.responsive-image {
    width: 300px; /* Default medium size */
    height: auto;
}

.responsive-image.size-small {
    width: 150px;
}
.responsive-image.size-medium {
    width: 300px;
}

.responsive-image.size-large {
    width: 600px;
}

.responsive-image.size-max {
    max-width:100%;
}
/* Ensure images maintain aspect ratio */
.responsive-image {
    max-width: 100%;
    height: auto;
}
}

/* SMALL SCREEN */
@media screen and (max-width: 889px) {
    .bannertitle {
        display: none;
    }
    .quote-box {
        font-style: italic;
        margin: 0.4em 0;
        padding: 1em;
        background-color: var(--quotebox-color );
        position: relative;
        padding-left: 1.5em;
        padding-right: 1.5em;
        border-radius: 4px;
        margin-left:0.2em;
    }
    .small-bannertitle {
        display: block;
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 2px 0 0 0;
        padding: 0;
        line-height: 1.2;
        color: var(--bannertxtcolor);
        opacity: 0.9;
        position: absolute;
        left: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
    .content-container-home {
        flex-direction: column;
        align-items: center;
    }
    .image-container {
        margin-bottom: 1em;
    }

 
    .site-title {
        text-align: center;
        font-size: 1.2em;
        width:100%;
        margin-bottom: 0em;
        color: var(--titlecolor);
        border-bottom: 2px solid var(--menucolor);
    }
    .site-title h1 {
        text-align: center;
        font-size: 1.4em;
        color: var(--titlecolor);
        margin: 0;
        margin-top: 0em;
        margin-bottom:0em;
    }

    .language-switch {
        display: none;
    }
    .navbar-links .language-switch {
        display: flex;
        align-items: right;
        justify-content: right;
        gap: 0.5em;
        margin: 0;
        padding: 15px;
        width: 50%;
        margin-left: auto;
    }
    .navbar-links .lang-btn {
        padding: 0.2em 0.4em;
        border-radius: 3px;
        transition: background-color 0.3s;
    }
    .navbar-links .lang-btn:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
    .navbar-links .lang-btn.active {
        background-color: var(--menucolor);
        color: white;
        border: 2px solid white;
    }
    .navbar-links .lang-separator {
        color: var(--menucolor);
        opacity: 0.6;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 10px 0;
    }
    .navbar {
        position: relative;
        padding: 0 10px;
    }
    .navbar-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        background-color: var(--bannerbgcolor);
        padding: 0;
        margin: 0;
        padding-bottom: 1em;
        z-index: 999;
    }
    .navbar-links > a,
    .navbar-links > .dropdown {
        width: 100%;
        margin: 0;
    }
    .navbar-links a,
    .navbar-links .dropbtn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        margin: 0;
        text-align: center;
    }
    .dropdown-content {
        display: none !important;
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--submenucolor);
        margin: 0 auto;
        margin-left:0%;
        padding: 0;
        opacity: 1;
    }

    .dropdown-content.show {
        display: block !important;
    }

    .dropdown-content a {
        text-align: center;
        color: white;
        background-color: var(--submenucolor);
        padding: 15px;
        margin: 0;
        width: 100%;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
    }

    .navbar-links {
        display: none;
    }

    .navbar-links.responsive {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bannerbgcolor);
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-links.responsive a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        text-align: left;
    }

    .navbar-links.responsive .dropdown {
        position: relative;
    }

    .navbar-links.responsive .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--submenuColor);
        margin: 0 auto;
        margin-left:0%;
        padding: 0;
    }

    .navbar-links.responsive .dropdown-content a {
        text-align: center;
        color: white;
        background-color: var(--submenuColor);
        padding: 15px;
        margin: 0;
        width: 100%;
    }
    .logo {
        height: 40px;
    }
    .menu-icon {
        display: block;
        cursor: pointer;
        margin-left: auto;
        z-index: 1001;
    }
    .navbar.responsive .navbar-links {
        display: flex;
    }
    .wrapper {
        margin-top: 80px !important;
    }
    .text-content a {
        text-decoration: underline;
        color: var(--linkcolor);
        font-weight: bold;
    }
}

/* Image size classes */
.responsive-image {
    width: 300px; /* Default medium size */
    height: auto;
}

.responsive-image.size-small {
    width: 150px;
}
.responsive-image.size-medium {
    width: 300px;
}

.responsive-image.size-large {
    width: 600px;
}

.responsive-image.size-max {
    max-width:100%;
}
/* Ensure images maintain aspect ratio */
.responsive-image {
    max-width: 100%;
    height: auto;
}

.image-section {
    text-align: center;
    margin: 0;
}

.image-section img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Footer */
.footer {
    margin-top:3em;
    text-decoration: none;
    color: var(--footertxtcolor);
    overflow: hidden;
    height: 25px;
    padding-top:5px;
    background-color: var(--footerbgcolor);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0 5px;
    padding-top:5px;
}

.footer a {
    color: var(--footertxtcolor);
    text-decoration: underline;
}

.site-title {
    text-align: center;
    margin-top: 2em;
    padding: 0em;
}

.site-title h1 {
    font-size: 2.5rem;
    color: var(--titlecolor);
    margin-top:1.5em;
    line-height: 1.2;
}

@media (max-width: 768px) {
    /* Ensure proper scaling on mobile */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Header and Navbar adjustments */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 5px 0;
    }
    
    .navbar {
        display: flex;
        align-items: center;
        padding: 5px 10px;
        position: relative;
        flex-wrap: nowrap;
    }
    
    /* Logo adjustments */
    .logo {
        height: 40px;
        width: auto;
        max-width: 100%;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    /* Banner title container */
    .banner-titles {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        overflow: hidden;
    }
    
    /* Main banner title */
    .bannertitle {
        display:none;
        font-size: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        color: var(--bannertxtcolor);
    }
    
    /* Small banner title */
    .small-bannertitle {
        display: block;
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 2px 0 0 0;
        padding: 0;
        line-height: 1.2;
        color: var(--bannertxtcolor);
        opacity: 0.9;
        position: absolute;
        left: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .small-bannertitle a {
        color: var(--bannertxtcolor);
        text-decoration: none;
    }
    
    /* Menu button */
    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    .menu-icon img {
        height: 30px;
        width: 30px;
        max-width: 100%;
    }
    
    /* Rest of the mobile styles */
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bannerbgcolor);
        flex-direction: column;
        padding: 10px 0;
        z-index: 1001;
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
}
@media (max-width: 768px) {
    .site-title h1 {
        font-size: 2rem;
        margin-top:0.1em;
    }
}
