html {
    font-size: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-size: 1rem;
    margin: 0;
    background-color: #e6e6e6;
}

table, td {
    font-size: 97%;
    line-height: 125%;
    color: #000;
}

p {
    margin: 0 0 1rem;
    padding: 0;
    line-height: 140%;
}

li {
    line-height: 140%;
}

h1 {
    font-size: 1.8rem;
    color: #606f96;
}

h2 {
    color: #606f96;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

h3 {
    margin: 20px 0;
    color: #606f96;
}

ul {
    padding-left: 20px;
}

.li {
    width: 14px;
    background-image: url("../img/ra1.jpg");
    background-repeat: repeat-y;
    vertical-align: top;
    border-right: solid 0 #BFBFBF;
}

.re {
    width: 14px;
    background-image: url("../img/ra2.jpg");
    background-repeat: repeat-y;
    border-left: solid 0 #BFBFBF;
}

.button {
    background: #606f96;
    color: white!important;
    padding: 10px;
    margin: 10px 0;
    display: inline-block;
}

#main {
    border-bottom: solid 1px #fff;
    border-right: solid 1px #fff;
    border-left: solid 1px #fff;

}

.introduction {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #606f96;
}

#hpname {
    height: 90px;
    padding-right: 10px;
    padding-top: 10px;
    text-align: right;
    color: #000;
    font-size: 14px;
    font-style: italic;
    background-color: white;
}

.obereleiste {
    vertical-align: top;
    height: 0;
    background-color: white;
    border-top: solid 1px #C4C4C4;
}

#menu2 a, #menu2 a:visited, #menu2 a:active {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 10px;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    border-left: solid 0 #AAAAAA;
    line-height: 36px;
    text-align: center;
    background-image: url("../img/bu_ob.jpg");
}


#menu2 a:hover {
    background-color: #fff;
    color: #7c9d57;
    text-decoration: none;
    background-image: url("../img/white.gif");
    border-left: solid 0 #fff;
    border-bottom: solid 0 #E6E6E6;
    border-top: solid 0 #fff;
}

#nav {
    padding: 0;
    vertical-align: top;
    background-color: #fff;
    background-repeat: repeat-y;
    background-position: top left;
    border-left: solid 0 #fff;
}

#sp2 {
    padding: 30px;
    background-color: #fff;
    width: 100%;
}

#foot {
    font: normal 12px verdana, sans-serif;
    color: #000;
    height: 100px;
    text-align: center;
    border-top: solid 1px #bfbfbf;
    background-image: url("../img/bu_ob.jpg");
    background-repeat: repeat-x;
    background-color: #fefefe;
    line-height: 16px
}

#navigation {
    border: dashed 0 #fff;
    background-color: #5F8349;
    text-align: left;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 10px;
}

#navigation ul, #navigation li {
    list-style-type: square;
    margin-left: 10px;
    padding: 0;
    color: #fff2a7
}

#navigation li a:link, #navigation li a:visited, #navigation li a:active {
    display: block;
    border-bottom: dashed 0 #C2631D;
    width: 200px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    height: 16px;
    line-height: 16px;
}

#navigation li a:hover {
    background: TRANSPARENT;
    color: #c7cc8a;
    text-decoration: underline;
}

.contain1 {
    background-color: #b7d2eb;
    color: #384E2C;
    height: 230px;
    padding: 15px;
}

.contain2 {
    background-color: #b7d2eb;
    padding: 15px;
    color: #29334e;
    height: 270px;
}

.contain1 p,
.contain2 p {
    line-height: 2rem;
    padding: 0.6rem;
}

strong {
    color: #606f96;
}

.containbild {
    background-color: #b7d2eb;
    padding: 70px 5px 15px;
    font: normal 11px/18px verdana, sans-serif;
    color: #29334E;
    border-TOP: solid 1px #FFF;
    width: 220px;
}

.abstand {
    padding-top: 23px;
    padding-left: 40px;
}

.contact-container {
    background-color: #b7d2eb;
    padding: 15px 5px;
    color: #29334E;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-image {
    text-align: center;
    margin-bottom: 10px;
}

.contact-image img {
    max-width: 100%;
    height: auto;
}

.contact-info {
    text-align: center;
    width: 100%;
}

.contact-info h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #29334E;
    font-weight: normal;
}

.contact-info p {
    margin: 5px 0;
}

.textc2 {
    font-size: 14px;
    font-weight: bold;
}

.trenn1 {
    background-color: #9ab67c;
    padding: 15px 5px;
    font: normal 11px/18px verdana, sans-serif;
    color: #29334E;
    border-bottom: solid 1px #FFF;
    border-TOP: solid 0 #FFF;
    width: 220px;
    height: 10px
}

a:link, a:visited, a:active {
    color: #7C9D57;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

li.rubrik {
    background-color: #463f72;
    color: #c7cc8a;
    text-align: center;
    background-repeat: repeat-x;
    font-weight: bold;
    padding: 10px;
}

.menu {
    position: relative;
    margin: 0;
    font-size: 11px;
    background-color: #fff;
}

.menu ul li {
    position: relative;
    font-size: 0.875rem;
}

.menu ul li a, .menu ul li a:visited {
    display: block;
    text-decoration: none;
    color: #f7f5ef;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #463f72;
    background: #606f96;
    padding: 0.5rem 0;
    line-height: 1.2;
}

.menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.menu ul li ul {
    display: none;
}

.menu ul li:hover a {
    background: #536082;
}

.menu ul li:hover > ul {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    width: max-content;
    min-width: 150px;
    z-index: 10;
}

.menu ul li:hover ul li a.hide {
    background: #B5B297;
    color: #000;
}

.menu ul li:hover ul li:hover a.hide {
    width: 150px;
}

.menu ul li:hover ul li ul {
    display: none;
}

.menu ul li:hover ul li a {
    display: block;
    background: #606f96;
    color: #fff;
    width: 190px;
}

.menu ul li:hover ul li a:hover {
    background: #6b7ca7;
    color: #000;
}

.menu ul li:hover ul li:hover ul {
    display: block;
    position: absolute;
    left: 151px;
    top: 0;
    color: #000;
}

.menu ul li:hover ul li:hover ul li a {
    display: block;
    width: 200px;
    background: #B5B297;
    color: #000;
}

.menu ul li:hover ul li:hover ul li a:hover {
    background: #C3BFA1;
    color: #000;
}

.xsmall {
    font-size: 10px;
}

/* Theme-specific contact container styles */
.sys-be .contact-container {
    background-color: #e3dfe1;
}

.sys-be h1,
.sys-be h2 {
    color: #465302;
}

.sys-be strong {
    color: #465302;
}

.sys-be #top {
    background-image: url("../img/sys-be.jpg");
}

.sys-be .contain1 {
    background-color: #5a6e05;
    color: #e3dfe1;
}

.sys-be .contain2 {
    color: #384e2c;
    background-color: #e3dfe1;
    height: 230px;
    font-size: 14px;
    line-height: 18px;
}

.sys-be .containbild {
    background-color: #e3dfe1;
}

.sys-be li.rubrik {
    background-color: #5b6644;
}

.sys-be .menu ul li a,
.sys-be .menu ul li a:visited {
    background-color: #465302;
    border-bottom: 1px solid #5b6644;
}

.sys-be .menu ul li:hover ul li a,
.sys-be .menu ul li a:hover {
    background-color: #586804;
}

/* reinkarnation */

.reink strong,
.reink h1,
.reink h2 {
    color: #5d9357;
}

.reink #top {
    background-image: url("../img/reink.jpg");
}

.reink .obereleiste {
    background-image: none;
    height: 0;
}

.reink .contain1 {
    background-color: #68a461;
}

.reink .contain2 {
    background-color: #9ab67c;
    color: #384E2C;
    height: 230px;
    font-size: 14px;
    line-height: 18px;
}

.reink .containbild {
    background-color: #9AB67C;
}

.reink li.rubrik {
    background-color: #506D3E;
}

.reink .menu ul li a,
.reink .menu ul li a:visited {
    background-color: #5d9357;
    border-bottom: 1px solid #506D3E;
}

.reink .menu ul li:hover ul li a,
.reink .menu ul li a:hover {
    background-color: #54854f;
}

.reink .contact-container {
    background-color: #9AB67C;
}

/* astro */

.astro strong,
.astro h1,
.astro h2 {
    color: #375384;
}

.astro #top {
    background-image: url("../img/astro.jpg");
}

.astro .obereleiste {
    background-image: url("../img/bu_ob.jpg");
    background-repeat: repeat-x;
    height: 60px;
}

.astro .contain1 {
    background-color: #b7d2eb;
}

.astro .contain2 {
    height: 230px;
    background-color: #89aedc;
    font-size: 14px;
    line-height: 18px;
}

.astro .containbild {
    background-color: #89AEDC;
}

.astro li.rubrik {
    background-color: #153a72;
}

.astro .menu ul li a,
.astro .menu ul li a:visited {
    background-color: #375384;
    border-bottom: 1px solid #153a72;
}

.astro .menu ul li:hover ul li a,
.astro .menu ul li a:hover {
    background-color: #4769a5;
}

.astro .contact-container {
    background-color: #89AEDC;
}

/* phanta */

.phanta strong,
.phanta h1,
.phanta h2 {
    color: #463b50;
}

.phanta #top {
    background-image: url("../img/phanta.jpg");
}

.phanta .obereleiste {
    background-image: url("../img/bu_ob.jpg");
    background-repeat: repeat-x;
    height: 60px;
}

.phanta .contain1 {
    background-color: #574963;
    color: #cab7df;
}

.phanta .contain2 {
    height: 230px;
    color: #384E2C;
    background-color: #cab7df;
    font-size: 14px;
    line-height: 18px;
}

.phanta .containbild {
    background-color: #CAB7DF;
}

.phanta li.rubrik {
    background-color: #5b3e6e;
}

.phanta .menu ul li a,
.phanta .menu ul li a:visited {
    background-color: #5a4c67;
    border-bottom: 1px solid #5b3e6e;
}

.phanta .menu ul li:hover ul li a,
.phanta .menu ul li a:hover {
    background-color: #766685;
}

.phanta .contact-container {
    background-color: #CAB7DF;
}


/* New layout structure */
.container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    width: 100%;
}

.header-left {
    width: 25%;
    background-color: #fff;
}

.header-right {
    width: 75%;
    background-image: url("../img/ent.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 260px;
    color: #2A3C22;
    background-color: #9ab67c;
}

main {
    display: flex;
    width: 100%;
}

.sidebar {
    min-width: 25%;
    background-color: #fff;
}

.content {
    width: 75%;
    padding: 30px;
    background-color: #fff;

    p {
        text-align: justify;
    }
}

footer {
    font-size: 14px;
    color: #333;
    background-color: #f8f8f8;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

footer a {
    display: inline-block;
    margin: 0 10px;
    color: #606f96;
    text-decoration: none;
}

footer img {
    vertical-align: middle;
    margin-right: 5px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* Theme-specific header-right styles */
.sys-be .header-right {
    background-image: url("../img/sys-be.jpg");
}

.astro .header-right {
    background-image: url("../img/astro.jpg");
}

.phanta .header-right {
    background-image: url("../img/phanta.jpg");
}

.reink .header-right {
    background-image: url("../img/reink.jpg");
}

/* mobile menu */
/* Burger button (hidden on desktop) */
.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive menu wrapper */
.menu-wrapper {
    position: relative;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Responsive header */
    header {
        flex-direction: column;
        position: relative;
    }

    /* Responsive footer */
    footer {
        padding: 15px 10px;
        font-size: 13px;
        flex-direction: column;
        align-items: center;
    }

    footer a {
        margin: 5px;
        display: inline-block;
    }

    .footer-left, .footer-right {
        text-align: center;
        width: 100%;
        margin: 5px 0;
    }

    .header-left {
        width: 100%;
        z-index: 2;
        position: absolute;
        background-color: transparent;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .header-left p {
        line-height: 1.5rem;
        text-align: center;
        padding: 0;
    }

    .header-right {
        width: 100%;
        margin-top: 0;
        min-height: 150px;
        height: auto;
    }

    .contain1 {
        background-color: transparent !important;
        color: #fff;
        height: auto;
        padding: 1rem;
    }

    /* Mobile menu */
    .burger {
        display: block;
    }

    .modal {
        display: none;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10;
        top: 100px;
        left: 0;
        right: 0;
        bottom: 0;
        height: 300vh;
    }

    .menu-wrapper.open .modal {
        display: block;
    }

    .menu {
        display: none;
        background: #606f96;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .menu-wrapper.open .menu {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        align-items: stretch;
    }

    .menu ul li a {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .menu ul li ul {
        position: static;
        display: none;
        padding-left: 1rem;
        background: #4f5c7a;
    }

    .menu ul li:hover > ul {
        display: block;
    }

    /* Responsive main content */
    main {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: 100%;
    }

    .content {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
}

.subsection {
    background-color: #f3f3f3;
    margin: 1.5rem 0;
}

.subsection-header {
    padding: 1rem;
    background-color: #e6e6e6;
    font-size: 1rem;
    color: #333333;
}

.subsection-header strong {
    color: #333333;
}

.subsection-content {
    font-size: 1rem;
    padding: 1rem;
}

.subsection-content ul {
    margin: 0 0 1rem 1rem;
    padding: 0;
}

.mt-20 {
    margin-top: 20px;
}
