@charset "utf-8";
/* === MOBILE-OPTIMIERTES CSS === */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0}
:root{--bg:#fde05d;--panel:#fffefc;--header-dark:#3c404d;--muted:#333;--hot:#e91e63;--cta:#2f8a12}
body{font-family:Arial,Helvetica,sans-serif;background:var(--bg) url("../images/logbacktest.jpg") no-repeat center top fixed;background-size:cover;color:var(--muted);font-size:12px}
/* HEADER */
#kopf{width:100%;background:#fde05d;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,0.2);padding:6px 15px;position:sticky;top:0;z-index:10}
.kopf-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
.kopf-left{display:flex;align-items:center;gap:20px}
.header-logo{max-width:500px;width:90%;height:auto;border-radius:6px}
.flags{display:flex;gap:6px}
.flags img{width:32px;height:32px;border-radius:4px;transition:transform 0.2s}
.flags img:hover{transform:scale(1.1)}
.login-compact{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.login-compact input[type="text"],.login-compact input[type="password"]{padding:5px 8px;border-radius:5px;border:1px solid #999;width:120px;font-size:13px}
.login-compact label{color:#000000;font-size:12px;display:flex;align-items:center;gap:4px;cursor:pointer}
.header-btn,.login-compact input[type="submit"],.support-btn{display:inline-flex;align-items:center;justify-content:center;height:30px;border-radius:5px;font-weight:600;font-size:13px;padding:0 12px;cursor:pointer;text-decoration:none;color:#fff;border:0;transition:all 0.2s}
.login-compact input[type="submit"]{background:linear-gradient(180deg,#3ec922,#1b540c)}
.login-compact input[type="submit"]:hover{background:#11591c;transform:translateY(-1px)}
.support-btn{background:linear-gradient(180deg,#3ec922,#1b540c)}
.support-btn:hover{background:#11591c;transform:translateY(-1px)}
.btn-group{display:flex;align-items:center;gap:5px}
/* MOBILE OPTIMIERUNG */
@media (max-width:768px){
#kopf{padding:5px 10px}
.header-logo{max-width:300px;width:80%;height:auto}
.login-compact{width:100%;justify-content:center;margin-top:5px;flex-wrap:wrap}
.login-compact input[type="text"],.login-compact input[type="password"]{width:90px;font-size:12px;padding:5px 6px}
.login-compact label{font-size:11px}
.login-compact input[type="submit"],.support-btn{height:28px;padding:0 10px;font-size:12px}
.btn-group{gap:3px}
.flags img{width:18px;height:18px}
}
@media (max-width:768px){
#buero{width:100%;max-width:calc(100vw - 20px);min-height:400px;padding:15px}
#buero input[type="text"],#buero input[type="password"],#buero input[type="email"]{font-size:14px;padding:8px}
.standardcontainerkopf h5{font-size:18px}
}
/* MAIN CONTAINER */
main.container{width:100%;max-width:1100px;margin:24px auto;display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;justify-content:center;padding:0 10px}
/* BUERO BOX */
#buero{background:#fde57c url("../images/logback1.jpg") no-repeat center center;background-size:cover;box-shadow:0 0 40px rgba(0,0,0,0.6);width:610px;margin:0 auto;border-radius:20px;border:2px outset white;padding:20px;overflow:visible}
.standardcontainerkopf{background:linear-gradient(180deg,#c9b287,#968566);border-radius:20px 20px 0 0;min-height:40px;box-shadow:0px 4px 10px rgba(0,0,0,0.75);padding:10px;margin:-20px -20px 20px -20px}
.standardcontainerkopf h5{font-size:20px;color:black;text-shadow:white -1px -1px;text-align:center;font-weight:bold;margin:0}
#buero form{text-align:center}
#buero input[type="text"],#buero input[type="password"],#buero input[type="email"]{width:100%;padding:10px;margin-bottom:10px;border-radius:8px;border:2px solid white;border-top-color:grey;border-left-color:grey;background:#fde05d;color:blue;font-weight:bold;text-align:center;font-size:16px}
#buero input[type="checkbox"]{margin-right:8px;cursor:pointer}
#buero .button{display:inline-block;background:linear-gradient(180deg,#3ec922,#1b540c);color:#fff;border:0;padding:12px 20px;border-radius:8px;font-weight:700;cursor:pointer;font-size:20px;width:200px;margin:10px auto}
#buero .button:hover{background:#11591c}
#buero p{font-size:16px;margin:10px 0;text-align:center}
#buero a{color:black;text-decoration:none}
#buero a:hover{color:grey}
/* REITER/TABS */
.rangkopf{background:linear-gradient(180deg,#c9b287,#968566);border-radius:0 0 20px 20px;min-height:65px;margin:20px -20px -20px -20px;box-shadow:0px -4px 10px rgba(0,0,0,0.75);padding:15px 10px}
ul.reiter{list-style:none;padding:0;margin:0;display:flex;gap:5px;justify-content:center;flex-wrap:wrap}
ul.reiter li{min-width:90px;text-align:center}
ul.reiter a{color:black;font-size:14px;text-shadow:white 1px 1px;background:transparent;display:block;padding:8px 5px;text-transform:uppercase;text-decoration:none;font-weight:bold;border-radius:10px;border:1px solid white;border-left-color:black;border-top-color:black;box-shadow:inset 25px 20px 30px -25px #000000}
ul.reiter a:hover{color:black;text-shadow:none}
/* SIDEBAR */
aside#sidebarnews{flex:0 0 320px;display:flex;flex-direction:column;gap:12px}
#sidebarnews .panel{background:#fde05d;padding:12px;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,0.15)}
.news-item .title{font-weight:700;color:var(--hot);font-size:14px}
.news-item small{display:block;color:#666;margin-bottom:6px}
.news-item{font-size:12px;line-height:1.4}
/* FOOTER */
footer.sitefoot{width:100%;background:var(--header-dark);color:#fff;padding:16px 10px;text-align:center;margin-top:30px;font-size:14px}
footer.sitefoot div{display:flex;flex-direction:column;align-items:center;gap:8px}
footer.sitefoot span{display:block}
footer a{color:#fde05d;text-decoration:none;font-weight:600}
footer a:hover{color:#fff}
/* FEHLER/ERFOLGS-MELDUNGEN */
.err,.rig{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:url(../images/granite1.png) repeat;width:90%;max-width:400px;padding:10px;box-shadow:10px 10px 54px 43px rgba(0,0,0,0.71);z-index:9999}
.rig p,.err p{background:url(../images/richtig.jpg) repeat;font-size:18px;color:white;text-shadow:black 2px 2px;padding:10px;border:1px solid white;margin:0}
.err p{background:url(../images/err.jpg) repeat}
/* RESPONSIVE */
@media(max-width:800px){
.kopf-inner{flex-direction:column;align-items:center;text-align:center}
.login-compact{justify-content:center}
main.container{flex-direction:column;align-items:center}
aside#sidebarnews{width:100%}
#buero{width:100%;margin:0}
}
@media(max-width:600px){
.header-logo{max-width:280px;width:85%;height:auto}
.login-compact input[type="text"],.login-compact input[type="password"]{width:100%;max-width:250px}
footer.sitefoot div{display:flex;flex-direction:column;align-items:center;gap:4px}
footer.sitefoot span{display:block}
}
/* TOGGLE FORM STYLES */
.toggle-link{text-align:center;margin:15px 0;font-size:14px}
.toggle-link a{color:black;font-weight:bold}
/* ERROR AND SUCCESS MESSAGES */
.err,.rig{position:fixed;top:80px;left:50%;transform:translateX(-50%);min-width:300px;max-width:600px;padding:15px 40px 15px 20px;border-radius:10px;box-shadow:0 4px 15px rgba(0,0,0,0.3);z-index:1000;animation:slideDown 0.3s ease;line-height:1.6}
.err{background:#ff4444;color:white;border:2px solid #cc0000}
.rig{background:#44ff44;color:#006600;border:2px solid #00cc00}
.err p,.rig p{margin:0;line-height:1.6}
.err b,.rig b{font-weight:bold}
.close-btn{position:absolute;top:10px;right:15px;font-size:28px;font-weight:bold;color:inherit;cursor:pointer;line-height:1;transition:transform 0.2s}
.close-btn:hover{transform:scale(1.2)}
@keyframes slideDown{from{top:0;opacity:0}to{top:80px;opacity:1}}
/* NICKNAME AUTOCOMPLETE DROPDOWN */
.nickname-wrapper{position:relative}
.nickname-dropdown{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ccc;border-top:none;border-radius:0 0 4px 4px;max-height:200px;overflow-y:auto;z-index:100;box-shadow:0 4px 6px rgba(0,0,0,0.1)}
.nickname-dropdown.show{display:block}
.nickname-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;cursor:pointer;border-bottom:1px solid #eee}
.nickname-item:last-child{border-bottom:none}
.nickname-item:hover{background:#f5f5f5}
.nickname-item span{flex:1}
.nickname-delete{color:#999;font-weight:bold;padding:2px 8px;margin-left:10px;border-radius:3px;font-size:14px}
.nickname-delete:hover{background:#e74c3c;color:#fff}