*{box-sizing:border-box} :root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183b40;background:#e7edef;font-synthesis:none;font-size:16px;--ink:#163f45;--accent:#c3ef85;--muted:#57696c;--line:#dce5e5;--paper:#fff;--red:#ad3745;--yellow:#805d06;--green:#246743}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #3861d4;outline-offset:4px}.app-shell{max-width:510px;min-height:100dvh;margin:auto;background:#f8faf9;position:relative;box-shadow:0 0 80px #163f4510}.brand{padding:25px 25px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand a{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:1.25rem;font-weight:750;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;background:var(--ink);color:var(--accent);width:40px;height:40px;border-radius:13px;font-size:1.8rem;font-weight:500}.brand-sub{display:block;font-size:.64rem;letter-spacing:.16em;font-weight:600;margin-top:1px}.prototype{font-size:.65rem;letter-spacing:.1em;color:var(--muted)}main{padding:14px 25px 110px;outline:none}h1{font-size:2.4rem;line-height:1.12;letter-spacing:-.055em;margin:12px 0 18px;font-weight:650}h2{font-size:1.35rem;line-height:1.3;letter-spacing:-.025em;margin:0 0 14px}h3{font-size:1.05rem;margin:0 0 8px}p{line-height:1.65;margin:0 0 16px}.muted{color:var(--muted)}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.hero{background:var(--ink);color:#fff;padding:30px 27px;border-radius:26px;margin:8px 0 26px;overflow:hidden}.hero .eyebrow{color:#c6d9d9}.hero h1{font-size:2.65rem}.hero p{color:#d3e3e1}.hero strong{color:var(--accent);font-weight:650}.hero-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffffff40;border-radius:30px;padding:7px 11px;font-size:.8rem}.button{border:0;border-radius:15px;padding:16px 19px;min-height:52px;font-weight:650;background:var(--ink);color:white;display:flex;justify-content:center;align-items:center;gap:12px;width:100%;text-decoration:none}.button.lime{background:var(--accent);color:var(--ink)}.button.secondary{color:var(--ink);background:#e8efed}.button.outline{background:transparent;color:var(--ink);border:1px solid #a9bcba}.hero .button{margin-top:24px}.small-note{font-size:.8rem;color:var(--muted);line-height:1.6}.steps-preview{list-style:none;margin:0 0 23px;padding:0}.steps-preview li{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.step-number{font-size:.85rem;display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#e7efeb;color:var(--ink)}.steps-preview p{font-size:.9rem;margin:3px 0 0;color:var(--muted)}.steps-preview strong{font-size:1rem}.privacy{display:flex;gap:11px;padding:17px;background:#edf2f1;border-radius:15px}.privacy p{font-size:.8rem;margin:0;color:var(--muted)}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-button{padding:10px 0;background:none;border:0;color:var(--ink);font-size:.9rem;text-decoration:underline;text-underline-offset:4px}.back{display:inline-flex;align-items:center;gap:7px;text-decoration:none;margin:0 0 20px;color:var(--muted);font-size:.9rem;border:0;background:none;padding:4px 0}.progress-track{height:7px;background:#e1e9e7;border-radius:20px;overflow:hidden;margin:14px 0 25px}.progress-track span{display:block;height:100%;background:#538873;border-radius:20px;transition:width .2s}.question-number{font-size:.8rem;color:var(--muted)}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:1.6rem;font-weight:600;letter-spacing:-.035em;line-height:1.35;margin-bottom:24px}.options{display:grid;gap:10px}.option{background:white;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:13px;min-height:58px;padding:14px 16px;cursor:pointer;line-height:1.4}.option:has(input:checked){background:#edf6e4;border-color:#557847;box-shadow:inset 0 0 0 1px #557847}.option input{accent-color:var(--ink);width:19px;height:19px;flex:none;margin:0}.question-actions{display:flex;gap:12px;margin-top:24px}.question-actions .previous{width:55px;flex:none}.card{border:1px solid var(--line);border-radius:20px;background:white;padding:21px;margin-bottom:15px}.card p:last-child{margin-bottom:0}.section-head{margin:27px 0 15px}.factor-list{display:grid;gap:12px}.factor-card{display:block;text-decoration:none;border:1px solid var(--line);background:#fff;padding:18px;border-radius:18px}.factor-title{display:flex;align-items:center;gap:10px;font-weight:650}.factor-index{font-size:.75rem;color:var(--muted);min-width:22px}.factor-card .muted{font-size:.85rem;margin:8px 0 0}.badge{font-size:.75rem;font-weight:650;border-radius:30px;padding:5px 9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.red{background:#fbe7e9;color:var(--red)}.yellow{background:#fff1c7;color:var(--yellow)}.green{background:#e3f1e8;color:var(--green)}.neutral{background:#edf0f1;color:#53676b}.dot{width:7px;height:7px;background:currentColor;border-radius:50%;display:inline-block}.score{font-size:1.2rem;font-weight:650;white-space:nowrap}.score small{font-size:.75rem;font-weight:400;color:var(--muted)}.factor-meter{height:5px;background:#edf0ef;border-radius:4px;margin-top:15px;overflow:hidden}.factor-meter span{height:100%;display:block;background:currentColor}.legend{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.focus-control{display:flex;align-items:center;gap:11px;line-height:1.4}.focus-control input{width:20px;height:20px;accent-color:var(--ink);flex:none}.exercise-title{font-size:1.75rem;line-height:1.2;letter-spacing:-.035em;margin-bottom:18px}.phase-tabs{display:flex;gap:5px;background:#e9efed;border-radius:13px;padding:5px;margin-bottom:24px}.phase-tabs button{flex:1;border:0;background:none;border-radius:9px;padding:10px 3px;font-size:.85rem;color:var(--muted)}.phase-tabs button[aria-current="step"]{background:white;color:var(--ink);box-shadow:0 2px 5px #0000000a;font-weight:650}.exercise-steps{counter-reset:item;list-style:none;padding:0;margin:0 0 24px}.exercise-steps li{counter-increment:item;margin-bottom:19px;padding-left:40px;position:relative;line-height:1.7}.exercise-steps li:before{content:counter(item,decimal-leading-zero);position:absolute;left:0;top:3px;font-size:.8rem;color:#688176;font-weight:700}.reflect-question{padding:17px 0;border-bottom:1px solid var(--line)}.reflect-question p{margin:0}.reflect-question .eyebrow{margin-bottom:6px;font-size:.7rem}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.stat{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px}.stat strong{display:block;font-size:2.3rem;font-weight:600;letter-spacing:-.04em}.stat span{font-size:.85rem;color:var(--muted)}.empty{padding:20px 0;color:var(--muted)}.history-entry{padding:13px 0;border-bottom:1px solid var(--line)}.history-entry p{margin:0;font-size:.9rem}.history-entry time{font-size:.75rem;color:var(--muted)}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,510px);background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:10px 10px max(10px,env(safe-area-inset-bottom));display:flex;gap:4px;z-index:2}nav:empty{display:none}nav a{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;text-decoration:none;font-size:.75rem;color:var(--muted);border-radius:12px;padding:7px 4px}nav a[aria-current="page"]{background:#edf4e8;color:var(--ink);font-weight:650}.nav-icon{font-size:1.2rem;height:25px}.success-mark{background:var(--accent);color:var(--ink);width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-size:1.6rem;margin:20px 0}.source-note{font-size:.75rem;color:var(--muted);margin-top:25px;line-height:1.6}.storage-warning{margin:0 25px 15px;padding:15px;border-radius:12px;background:#fff1c7;color:#6b500e;font-size:.9rem;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-80px;left:10px;background:white;padding:15px;z-index:10}.skip:focus{top:10px}.space-top{margin-top:20px}.stack{display:grid;gap:12px}.comparison{width:100%;border-collapse:collapse;font-size:.85rem}.comparison td,.comparison th{padding:12px 5px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.comparison th{font-weight:600}.comparison th:not(:first-child),.comparison td:not(:first-child){text-align:right}.comparison td:first-child{overflow-wrap:anywhere}details summary{cursor:pointer;font-size:.85rem;line-height:1.5}details p{font-size:.85rem;margin-top:12px}dialog{max-width:min(90vw,430px);border:1px solid var(--line);border-radius:20px;padding:25px;color:var(--ink)}dialog::backdrop{background:#163f4566}dialog .button{margin-top:12px}@media(min-width:650px){body{padding:30px 0}.app-shell{border-radius:28px;min-height:calc(100dvh - 60px);overflow:hidden}nav{border-radius:0 0 25px 25px;bottom:30px}}@media(max-width:370px){.brand{padding:20px}main{padding:10px 18px 105px}.hero{padding:25px 21px}.hero h1{font-size:2.3rem}.prototype{font-size:.6rem}.badge{font-size:.7rem;padding:5px 7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Long German factor names remain readable on narrow phones and with larger text. */
h1,.factor-title{overflow-wrap:anywhere;hyphens:auto}.back{display:flex;width:fit-content}.row>*{min-width:0}.score,.badge{flex-shrink:0}

.intro-hero-link{display:block;width:fit-content;max-width:100%;margin:18px auto 0;padding:10px 4px;border:0;background:none;color:#e0eee7;font:inherit;font-size:.9rem;text-align:center;text-decoration:underline;text-underline-offset:4px;line-height:1.5}

.brand-logo{display:block;width:100px;height:auto;flex-shrink:0;object-fit:contain}.brand a{min-width:0}.brand .prototype{flex-shrink:0;max-width:58px;line-height:1.5;text-align:right}@media(max-width:370px){.brand-logo{width:86px}.brand a{font-size:1.1rem}.brand-sub{font-size:.6rem}}
