@charset "utf-8";
@import url('pt_themes.css');
/* === MOBILE-OPTIMIERTES CSS === */
*,*::before,*::after{box-sizing:border-box}
html,body{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;display:flex;flex-direction:column;min-height:100vh}
/* 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}
/* 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;flex:1}
/* 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}
#buero .rangkopf a,#buero .rangkopf a:hover,#buero .rangkopf a:visited,#buero .rangkopf a:active,#buero .rangkopf a:focus{color:black;text-decoration:none}
/* 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;-webkit-tap-highlight-color:transparent}
ul.reiter a:visited{color:black;text-shadow:white 1px 1px}
ul.reiter a:hover{color:black;text-shadow:none}
ul.reiter a:active,ul.reiter a:focus{color:black;text-shadow:white 1px 1px;outline:none;background:transparent;box-shadow:inset 25px 20px 30px -25px #000000;border-color:white;border-left-color:black;border-top-color:black}/* 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: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}
.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}
/* Buttons */
.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}}
/* TOGGLE FORM STYLES */
.toggle-link{text-align:center;margin:15px 0;font-size:14px}
.toggle-link a{color:black;font-weight:bold}
/* 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}
/* === MEDIA QUERY: MOBILE (max-width: 768px) === */
@media (max-width:1024px){
/* Header */
#kopf{padding:5px 10px}
.header-logo{max-width:280px;width:80%;height:auto}
.kopf-inner{flex-direction:column;align-items:center;text-align:center}
.login-compact{width:100%;justify-content:center;margin-top:5px;flex-wrap:wrap}
.login-compact input[type="text"],.login-compact input[type="password"]{width:100%;max-width:250px;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}
/* Layout */
main.container{flex-direction:column;align-items:center}
aside#sidebarnews{width:100%}
/* Buero */
#buero{width:100%;max-width:calc(100vw - 20px);min-height:400px;padding:15px;margin:0}
#buero input[type="text"],#buero input[type="password"],#buero input[type="email"]{font-size:14px;padding:8px}
.standardcontainerkopf h5{font-size:18px}
/* Footer */
footer.sitefoot div{display:flex;flex-direction:column;align-items:center;gap:4px}
footer.sitefoot span{display:block}
}
/* ── MARKT-TICKER ──────────────────────────────────────── */
#pt-ticker-bar{width:100%;height:30px;background:#fde05d;border-top:1px solid #c9a800;border-bottom:2px solid #c9a800;display:flex;align-items:center;overflow:hidden;position:sticky;top:0;z-index:9}
.pt-ticker-label{flex-shrink:0;height:100%;padding:0 12px;background:#2f8a12;color:#fff;font-weight:700;font-size:11px;letter-spacing:0.12em;display:flex;align-items:center;border-right:1px solid #1b540c}
.pt-ticker-track{flex:1;overflow:hidden;position:relative;height:100%;display:flex;align-items:center}
.pt-ticker-track::after{content:'';position:absolute;right:0;top:0;bottom:0;width:40px;background:linear-gradient(to left,#fde05d,transparent);pointer-events:none}
.pt-ticker-inner{display:flex;white-space:nowrap;animation:ptTickerScroll 45s linear infinite;font-size:11px;font-family:Arial,Helvetica,sans-serif}
.pt-ticker-item{display:inline-flex;align-items:center;gap:5px;padding:0 16px;border-right:1px solid #c9a800}
.pt-sym{color:#1b540c;font-weight:700}
.pt-typ{color:#666;font-size:10px}
.pt-val{color:#333}
.pt-up{color:#2f8a12;font-size:10px}
.pt-down{color:#cc0000;font-size:10px}
.pt-kritisch{color:#cc0000;font-weight:700;font-size:10px;animation:ptBlink 1s step-start infinite}
@keyframes ptTickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes ptBlink{50%{opacity:0.3}}
/* ── ENDE TICKER ───────────────────────────────────────── */

/* ── CHANGELOG ACCORDION ───────────────────────────────── */
.cl-accordion{margin-top:4px}
.cl-accordion-toggle{display:block;width:100%;padding:10px 12px;background:#fde05d;border:none;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,0.15);cursor:pointer;font-size:13px;font-weight:bold;color:#333;list-style:none;text-align:center;transition:background 0.2s}
.cl-accordion-toggle::-webkit-details-marker{display:none}
.cl-accordion-toggle::after{content:' ▼';font-size:10px;color:#999}
.cl-accordion[open] .cl-accordion-toggle::after{content:' ▲'}
.cl-accordion-toggle:hover{background:#fce94a}
.cl-accordion .panel.news-item{margin-top:8px}
/* ── ENDE ACCORDION ─────────────────────────────────────── */