html,
body {
    min-height: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: dax;
    local: dax;
    src: url('../../fonts/DaxRegular.ttf');
}

@font-face {
    font-family: ubuntu;
    local: ubuntu;
    src: url('../../fonts/Ubuntu-L.ttf');
}

body {
    color: #ffffff;
    background-color: #2b2a33;
    font-family: ubuntu, sans-serif;
}

#newhead {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10000;
    min-height: 110px;
    background: #ffffff;
    color: #2b2a33;
}

#newinhead {
    max-width: 1200px;
    width: 100%;
    min-height: 90px;
    margin: 0 auto;
    padding: 15px 16px 10px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

#logo {
    height: 60px;
    display: block;
}

#toplinks {
    flex: 1 1 auto;
}

#welcome {
    flex: 1 1 320px;
}

#wrapper {
    position: relative;
    top: 110px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    background-color: #2b2a33;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

h1,
h2 {
    font-family: dax, sans-serif;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    color: #333333;
    padding: 8px 0 0 15px;
}

.xbox {
    min-height: 415px;
    background-color: #ffffff;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, .2);
    border-radius: 15px;
    overflow: hidden;
}

.xbox_head {
    min-height: 35px;
    border-bottom: 1px solid #2b2a33;
    background-color: #ffffff;
}

.xbox_content {
    height: 358px;
    padding: 10px 0 0;
    background-color: #ffffff;
    line-height: 1.3;
    overflow: auto;
}

ul {
    list-style-image: url('../../images/ul_grey.gif');
}

ul li {
    padding: 2px;
    margin-left: 25px;
}

.loginfeld {
    width: 120px;
    height: 24px;
    margin-right: 6px;
}

#login {
    vertical-align: middle;
}

a:link,
a:visited {
    color: #2b2a33;
    font-family: ubuntu, sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: bold;
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}

.public-placeholder {
    max-width: 1080px;
	min-width:800px;
    margin: 70px auto;
    padding: 56px 72px;
    color: #2b2a33;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.12);
    line-height: 1.7;
}

.public-placeholder h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 28px;
}

.public-placeholder p {
    font-size: 1.4rem;
    line-height: 1.85;
    margin-bottom: 22px;
}

.login-error {
    color: #a40000;
    font-weight: bold;
    margin-top: 6px;
}

.login-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.loginfeld {
    width: 170px;
    height: 42px;
    box-sizing: border-box;
    padding: 0 14px;
    color: #2b2a33;
    background: #ffffff;
    border: 1px solid #d6d9e0;
    border-radius: 999px;
    font-family: 'ubuntu', sans-serif;
    font-size: 0.98rem;
    outline: none;
    box-shadow: 0 3px 10px rgba(43, 42, 51, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.loginfeld::placeholder {
    color: #8a8d99;
}

.loginfeld:focus {
    border-color: #2f6fd6;
    box-shadow: 0 0 0 4px rgba(47, 111, 214, 0.13), 0 5px 14px rgba(43, 42, 51, 0.12);
}

.login-button {
    height: 42px;
    padding: 0 22px;
    color: #ffffff;
    background: #2f6fd6;
    border: 0;
    border-radius: 999px;
    font-family: 'ubuntu', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(47, 111, 214, 0.28);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.login-button:hover {
    background: #245fbd;
    box-shadow: 0 6px 16px rgba(47, 111, 214, 0.34);
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 9px rgba(47, 111, 214, 0.24);
}

.login-button:focus-visible {
    outline: 3px solid rgba(47, 111, 214, 0.28);
    outline-offset: 3px;
}

	/* Ab hier impressum */

.legal-page {
	width:1080px;
    max-width: 1080px;
	min-width:360px;
    margin: 70px auto;
    padding: 56px 72px;
    color: #2b2a33;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.12);
    line-height: 1.75;
}

.legal-page-header {
    margin-bottom: 34px;
}

.legal-page-header h1 {
    margin: 0 0 18px 0;
    padding: 0;
    color: #2b2a33;
    font-size: 2.4rem;
    line-height: 1.2;
}

.legal-page-header p {
    max-width: 760px;
    margin: 0;
    color: #555967;
    font-size: 1.18rem;
    line-height: 1.7;
}

.legal-card {
    padding: 28px 0;
    border-top: 1px solid #e4e7ee;
}

.legal-card:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.legal-card h2 {
    margin: 0 0 14px 0;
    padding: 0;
    color: #2b2a33;
    font-size: 1.45rem;
    line-height: 1.3;
}

.legal-card p,
.legal-card address {
    max-width: 860px;
    margin: 0 0 16px 0;
    color: #333743;
    font-size: 1.08rem;
    line-height: 1.75;
    font-style: normal;
}

.legal-card p:last-child,
.legal-card address:last-child {
    margin-bottom: 0;
}

.legal-card a {
    color: #2f6fd6;
    font-weight: 700;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}
	/* Ab hier registrieren */
.register-page {
    width: 1080px;
    max-width: 1080px;
    min-width: 360px;
    margin: 70px auto;
    padding: 56px 72px;
    color: #2b2a33;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.12);
    line-height: 1.75;
}
.register-page h1 {
    margin: 0 0 18px 0;
    padding: 0;
    color: #2b2a33;
    font-size: 2.4rem;
    line-height: 1.2;
}
.register-intro {
    max-width: 760px;
    margin: 0 0 34px 0;
    color: #555967;
    font-size: 1.18rem;
    line-height: 1.7;
}
.register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
    max-width: 860px;
}
.register-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.register-field-full {
    grid-column: 1 / -1;
}
.register-field label {
    color: #333743;
    font-size: 0.98rem;
    font-weight: 700;
}
.register-field input,
.register-field select {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 16px;
    color: #2b2a33;
    background: #ffffff;
    border: 1px solid #d6d9e0;
    border-radius: 14px;
    font-family: 'ubuntu', sans-serif;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 3px 10px rgba(43, 42, 51, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.register-field input:focus,
.register-field select:focus {
    border-color: #2f6fd6;
    box-shadow: 0 0 0 4px rgba(47, 111, 214, 0.13), 0 5px 14px rgba(43, 42, 51, 0.12);
}
.register-help {
    margin: 3px 0 0 0;
    color: #6b707c;
    font-size: 0.9rem;
    line-height: 1.45;
}
.register-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.register-button {
    height: 48px;
    padding: 0 28px;
    color: #ffffff;
    background: #2f6fd6;
    border: 0;
    border-radius: 999px;
    font-family: 'ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(47, 111, 214, 0.28);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.register-button:hover {
    background: #245fbd;
    box-shadow: 0 6px 16px rgba(47, 111, 214, 0.34);
    transform: translateY(-1px);
}
.register-button:active {
    transform: translateY(0);
}
.register-login-link {
    color: #555967;
    font-size: 0.98rem;
}
.register-login-link a {
    color: #2f6fd6;
    font-weight: 700;
    text-decoration: none;
}
.register-login-link a:hover {
    text-decoration: underline;
}
.form-message {
    max-width: 860px;
    margin: 0 0 28px 0;
    padding: 18px 20px;
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.6;
}
.form-message ul {
    margin: 0;
    padding-left: 20px;
    list-style-image: none;
}
.form-message li {
    margin: 0 0 5px 0;
    padding: 0;
}
.form-message-error {
    color: #7a1d1d;
    background: #ffecec;
    border: 1px solid #efb6b6;
}
.form-message-success {
    color: #245d26;
    background: #e9ffe8;
    border: 1px solid #a5d6a7;
}



/*****************************/
/* Ab hier für mobile Geräte */
/*****************************/

@media screen and (max-width: 700px) {
    .public-placeholder {
		min-width:360px;
        margin: 35px 18px;
        padding: 32px 26px;
    }

    .public-placeholder h1 {
        font-size: 1.7rem;
    }

    .public-placeholder p {
        font-size: 1.08rem;
        line-height: 1.65;
    }
    #newhead {
        position: static;
    }

    #newinhead {
        align-items: flex-start;
    }

    #wrapper {
        top: 0;
        grid-template-columns: 1fr;
    }
	/* Ab hier impressum */

    .legal-page {
        margin: 35px 18px;
        padding: 32px 26px;
    }

    .legal-page-header h1 {
        font-size: 1.7rem;
    }

    .legal-page-header p {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .legal-card {
        padding: 24px 0;
    }

    .legal-card h2 {
        font-size: 1.25rem;
    }

    .legal-card p,
    .legal-card address {
        font-size: 1rem;
        line-height: 1.65;
    }

	/* Ab hier registrieren */
    .register-page {
        margin: 35px 18px;
        padding: 32px 26px;
    }
    .register-page h1 {
        font-size: 1.7rem;
    }
    .register-intro {
        font-size: 1.05rem;
        line-height: 1.65;
    }
    .register-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .register-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .register-button {
        width: 100%;
        height: 48px;
    }
	/*  ---  */
}
