:root{--g-bg:#160f0b;--g-card:#241810;--g-card2:#362418;--g-edge:rgba(214,173,109,.30);--g-soft:#d9c2a0;--g-gold:#d8b27a;--g-cream:#f5e4c9}
*{box-sizing:border-box}
.game-app{background:radial-gradient(ellipse 85% 44% at 50% 7%,#51321f 0%,transparent 78%),#150e0a;color:var(--g-cream)}
.game-shell{width:min(1160px,calc(100% - 42px));margin:0 auto;min-height:100dvh;display:flex;flex-direction:column}
.app-header{padding:23px 2px 21px;border-bottom:1px solid var(--g-edge);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-size:clamp(20px,3vw,26px);letter-spacing:.03em;font-variant:small-caps;text-decoration:none;color:#f8e4c0;font-weight:700}
.brand:hover{color:white}.brand-mark{color:#d6a962;margin-right:9px}
.top-nav{display:flex;align-items:center;gap:12px;font-family:Arial,Helvetica,sans-serif;font-size:13px}
.top-nav a,.app-footer a,.quiet-link{color:#d6b88a;text-decoration:none}.top-nav a:hover,.app-footer a:hover,.quiet-link:hover{color:white}
.top-nav a[aria-current]{color:#fff1d9;font-weight:700}.nav-separator{color:#836a4d}.header-divider{height:17px;width:1px;background:var(--g-edge);margin:0 8px}
.app-footer{margin-top:auto;display:flex;justify-content:space-between;gap:16px;padding:26px 0 24px;color:#bea47d;font-size:13px;letter-spacing:.02em}
.eyebrow{font:700 11px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.18em;color:#dbb77c}
/* Gründung */
.setup-shell{max-width:1000px}.setup-main{padding:45px 0 24px}.setup-intro{text-align:center;margin:0 auto 31px;max-width:730px}
.setup-intro h1{font-size:clamp(32px,5.5vw,51px);margin:10px 0 10px;font-weight:400}.setup-intro p{color:var(--g-soft);font:16px/1.6 Arial,Helvetica,sans-serif;margin:0}
.setup-card{background:linear-gradient(165deg,rgba(66,43,28,.89),rgba(32,20,14,.96));border:1px solid var(--g-edge);border-radius:10px;padding:clamp(21px,4vw,38px);box-shadow:0 21px 45px rgba(0,0,0,.25)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field{display:flex;flex-direction:column;gap:9px}
.form-field>span,.choice-fieldset legend{font:700 13px/1.4 Arial,Helvetica,sans-serif;color:#f0d7ac;letter-spacing:.02em}
.form-field input{width:100%;padding:14px 15px;border:1px solid #7d5c3c;border-radius:5px;background:#180f0b;color:#fff2d9;font:16px Arial,Helvetica,sans-serif}
.form-field input:focus-visible{outline:2px solid #e8be78;outline-offset:2px}.form-field input::placeholder{color:#8f7d69;font-size:14px}
.choice-fieldset{border:0;margin:29px 0 0;padding:0;min-width:0}.choice-fieldset legend{margin:0 0 12px;padding:0}
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice{position:relative;display:block;cursor:pointer}
.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:104px;height:100%;padding:16px 11px;text-align:center;border:1px solid rgba(198,151,87,.39);border-radius:6px;background:#23170f;transition:border-color .14s,background-color .14s}
.choice input:checked+.choice-content{background:linear-gradient(145deg,#694326,#362112);border-color:#eac187;box-shadow:inset 0 0 0 1px rgba(238,190,115,.28)}
.choice input:focus-visible+.choice-content{outline:2px solid #f6dca4;outline-offset:3px}
.choice-content strong{font:700 16px/1.3 Arial,Helvetica,sans-serif;color:#f5e2c2}.choice-content small{font:12px/1.5 Arial,Helvetica,sans-serif;color:#d2bca0}
.choice-icon{font-size:28px;color:#e0af6b;line-height:1.1}.profile-choices .choice-content{min-height:139px}
.form-hint{font:13px/1.6 Arial,Helvetica,sans-serif;color:#bba487;margin:19px 0 0}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--g-edge);padding-top:25px;margin-top:25px}
.gold-button{appearance:none;border:1px solid #f0c489;border-radius:5px;padding:15px 23px;min-height:51px;color:#1e1009;background:linear-gradient(135deg,#f0cb8d,#bd8746);font:700 16px Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.18)}
.gold-button:hover{background:#f7d69b}.gold-button:focus-visible{outline:2px solid white;outline-offset:3px}.gold-button span{margin-left:10px}
.alert{padding:14px 17px;margin:0 0 21px;border-radius:5px;font:14px/1.5 Arial,Helvetica,sans-serif}.alert.error{background:rgba(168,42,32,.20);border:1px solid #b85e4c}.alert.notice{background:rgba(168,113,52,.14);border:1px solid #9b754b;color:#edd6b7}
/* Hauptbildschirm */
.dashboard{padding:27px 0 38px}.dashboard-hero{position:relative;min-height:265px;display:flex;align-items:flex-end;padding:29px 37px;border:1px solid var(--g-edge);border-radius:9px;overflow:hidden;background:#312015 url('user-hero.webp') center 48%/cover no-repeat;box-shadow:0 13px 43px rgba(0,0,0,.22)}
.dashboard-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,11,7,.88) 0%,rgba(23,13,8,.60) 60%,rgba(23,13,8,.12) 100%)}
.dash-hero-content{position:relative;z-index:1;max-width:100%;width:100%}.dash-hero-top{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero-date{font:700 13px Arial,Helvetica,sans-serif;color:#f3d9ad;background:rgba(26,13,6,.78);border:1px solid rgba(224,178,103,.62);border-radius:20px;padding:9px 15px}
.dashboard-hero h1{font-size:clamp(32px,5.4vw,57px);line-height:1.06;margin:14px 0 8px;text-shadow:0 4px 13px rgba(0,0,0,.75);overflow-wrap:anywhere}
.dashboard-hero p{font:16px/1.5 Arial,Helvetica,sans-serif;color:#efe0c9;margin:0 0 15px}
.status-pill{color:#ead1a4;font:12px Arial,Helvetica,sans-serif}.status-pill:first-letter{color:#b8cf9f}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:17px}
.stat-card{display:flex;flex-direction:column;gap:9px;background:linear-gradient(170deg,#392617,#27180f);border:1px solid var(--g-edge);border-radius:7px;padding:20px 21px;min-width:0}
.stat-card small{font:12px Arial,Helvetica,sans-serif;color:#bd9f78;letter-spacing:.04em}.stat-card strong{font-size:clamp(19px,2.4vw,28px);overflow-wrap:anywhere;line-height:1.13;font-weight:400}.stat-card span{font:12px/1.6 Arial,Helvetica,sans-serif;color:#bbaa93}
.section-heading{margin:39px 0 17px}.section-heading h2{font-size:clamp(23px,3vw,31px);font-weight:400;margin:0 0 7px}.section-heading p{font:14px/1.6 Arial,Helvetica,sans-serif;color:#cdbb9e;margin:0}
.dashboard-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.area-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:#271a12;border:1px solid var(--g-edge);border-radius:8px;padding:23px 21px 22px;min-height:225px}
.area-icon{width:45px;height:45px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#e3b67b;font-size:24px;background:#452d1c;border:1px solid #755037}.area-card h3{font-size:19px;line-height:1.3;font-weight:400;margin:17px 0 7px}.area-card p{font:13px/1.6 Arial,Helvetica,sans-serif;color:#c4b398;margin:0 0 23px}.coming-pill{margin-top:auto;padding:6px 10px;border-radius:30px;font:11px Arial,Helvetica,sans-serif;color:#d2b28c;background:#48311f}
.dashboard-note{display:flex;gap:12px;align-items:flex-start;margin-top:22px;border:1px solid rgba(207,160,95,.24);background:rgba(57,39,26,.54);padding:16px 20px;border-radius:5px;color:#d8bf9c}.dashboard-note p{margin:0;font:13px/1.6 Arial,Helvetica,sans-serif}
@media(max-width:760px){.game-shell{width:min(620px,calc(100% - 24px))}.setup-main{padding-top:29px}.form-grid{grid-template-columns:1fr}.choice-grid{gap:7px}.choice-content{padding:12px 7px}.choice-content strong{font-size:13px}.choice-content small{font-size:11px}.profile-choices .choice-content{min-height:155px}.form-actions{flex-wrap:wrap}.stat-grid,.dashboard-areas{grid-template-columns:1fr}.dashboard-hero{min-height:230px;padding:24px}.stat-card{padding:16px 19px}.area-card{min-height:0}.app-header{padding:18px 0}.top-nav{font-size:12px;gap:9px}.app-footer{font-size:12px;flex-wrap:wrap}.section-heading{margin-top:28px}}
@media(max-width:425px){.choice-grid{grid-template-columns:1fr}.choice-content,.profile-choices .choice-content{min-height:0;flex-direction:row;justify-content:flex-start;text-align:left;align-items:center}.choice-icon{width:34px;flex-shrink:0}.choice-content small{max-width:180px}.choice-content strong{min-width:82px}.gold-button{width:100%}.form-actions .quiet-link{order:2}.form-actions{flex-direction:column-reverse;align-items:stretch}.app-header .brand{font-size:19px}.dashboard-hero{padding:19px}.dashboard-hero h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.choice-content{transition:none}}

/* User- und Neustartfunktionen */
.nav-logout-form{display:inline;margin:0}.nav-logout{border:0;padding:0;background:transparent;color:#d6b88a;font:inherit;cursor:pointer}.nav-logout:hover{color:white}
.restart-confirm{display:flex;align-items:start;gap:11px;margin-top:22px;padding:14px;border:1px solid rgba(222,150,74,.48);background:rgba(141,74,35,.15);font:14px/1.5 Arial,Helvetica,sans-serif;color:#f5dfbc}.restart-confirm input{margin-top:4px;accent-color:#d9a65c}

/* V0.6.1: Klarer, sicherer Neustart – auf allen Bildschirmgroessen */
.restart-overview{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:0 0 16px;padding:16px 18px;border:1px solid rgba(213,163,91,.35);border-radius:6px;background:rgba(16,10,7,.38)}
.restart-tag{font:700 11px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#d8ac72;width:100%}
.restart-overview strong{font-size:21px;font-weight:500;overflow-wrap:anywhere}
.restart-overview>span:last-child{font:13px/1.5 Arial,Helvetica,sans-serif;color:#d1b899}
.restart-impacts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px}
.restart-impacts>div{border:1px solid rgba(205,157,94,.26);background:rgba(25,16,11,.45);padding:14px 16px;border-radius:6px}
.restart-impacts strong{font:700 13px/1.4 Arial,Helvetica,sans-serif;color:#efd6ae}
.restart-impacts p{font:13px/1.55 Arial,Helvetica,sans-serif;color:#cdb798;margin:7px 0 0}
.restart-starter{display:flex;flex-direction:column;gap:7px;padding:16px 18px;margin-top:24px;background:rgba(67,45,26,.5);border-left:3px solid #d5a367;border-radius:3px}
.restart-starter strong{font:700 13px/1.4 Arial,Helvetica,sans-serif;color:#f1d5a6}
.restart-starter span{font:13px/1.5 Arial,Helvetica,sans-serif;color:#dbc4a5}
@media(max-width:600px){.restart-impacts{grid-template-columns:1fr}.restart-overview{display:flex;flex-direction:column;align-items:flex-start;gap:5px}}
