:root {
  color-scheme: dark;
  --paper: #f2ede2;
  --gold: #e2c68e;
  --muted: #c1c1b6;
  --line: #3b3c34;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--paper);
  background: #121514;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 20% 10%, #252521 0%, transparent 48%), #121514; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 60px); }
a { color: var(--gold); text-underline-offset: 4px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #ffe3a4; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #f0ddb4; text-decoration: none; }
.brand img { width: 43px; height: 43px; border-radius: 11px; }
.brand b { display: block; font: 500 19px/1.1 var(--serif); letter-spacing: .105em; text-transform: uppercase; }
.brand small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.15; letter-spacing: .205em; text-transform: uppercase; }
.back, footer a { font-size: 13px; color: var(--muted); text-decoration: none; }
.back:hover, footer a:hover { color: var(--paper); text-decoration: underline; }
.back span { margin-left: 4px; }
.intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 90px); padding: clamp(42px, 6vw, 82px) 0; }
.lead h1 { font: 400 clamp(48px, 6.2vw, 86px)/.98 var(--serif); letter-spacing: -.06em; }
.lead h1 span { display: block; color: var(--gold); }
.lead p, .settings-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 35ch; }
.lead p { margin: 23px 0 26px; }
.gold-button { border: 1px solid #e3c792; background: #e6cca0; color: #222119; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; padding: 13px 20px; min-height: 44px; border-radius: 5px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 16px; }
.gold-button:hover:enabled, a.gold-button:hover { background: #f4deba; }
.gold-button:disabled { opacity: .55; cursor: default; }
#vorschau { border: 1px solid #514d40; border-radius: 18px; padding: clamp(19px, 3.15vw, 34px); background: linear-gradient(136deg, #2a2b25 0%, #242622 38%, #1b1e1c 100%); scroll-margin-top: 15px; }
#vorschau h2, #themen h2 { font: 400 clamp(29px,3.1vw,40px)/1.12 var(--serif); color: #f5ebd5; letter-spacing: -.035em; }
.hint { margin: 7px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.topics button { color: #d4d4ca; background: transparent; border: 1px solid #505249; border-radius: 24px; min-height: 40px; padding: 5px clamp(10px,1.4vw,17px); font-size: 13px; }
.topics button[aria-pressed="true"] { color: #f9e7bd; background: #373426; border-color: #a48d5d; }
.topics button:hover { border-color: #d3bb86; }
.sample { position: relative; padding: 22px 23px; border: 1px solid #4c493c; border-top-color: #8e7952; border-radius: 12px; background: linear-gradient(120deg, #1c1f1d, #151817); box-shadow: 0 8px 18px #10121129; overflow-wrap: anywhere; }
.sample-head { display: flex; gap: 13px; align-items: center; margin: 0 0 16px; }
.sample-head img { display: block; width: 53px; height: 53px; }
.sample-head span { color: #efe1c0; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; line-height: 1.55; }
.sample-head b { font-size: 9px; font-weight: 550; letter-spacing: .2em; color: #bfae89; }
.sample h3 { font-size: clamp(17px,1.42vw,21px); line-height: 1.3; letter-spacing: -.018em; }
.sample p { color: #d3d4ca; font-size: 15px; line-height: 1.55; margin: 7px 0 10px; }
.sample-link { font-size: 13px; font-weight: 600; display:inline-flex; align-items:center; gap: 8px; min-height: 30px; text-decoration: none; }
.sample-link::after { content: "↗"; }
.sample-link:hover { text-decoration: underline; }
.next, .text-action { color: var(--gold); padding: 8px 0; background: none; border: 0; font-size: 13px; min-height: 40px; }
.next { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 -6px; color: #e1d9c3; }
.next:hover, .text-action:hover { text-decoration: underline; text-underline-offset: 4px; }
#themen { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); padding: 44px 0; scroll-margin-top: 16px; }
.settings-copy p { margin-top: 12px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { font-size: 14px; font-weight: 650; padding: 0 0 10px; }
fieldset label { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 15px; border-bottom: 1px solid var(--line); cursor: pointer; }
fieldset input { accent-color: #dcc192; width: 19px; height: 19px; margin: 0 2px 0 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
#erster-tipp, #rueckmeldung:not(:empty), #ios:not([hidden]) { margin-top: 14px; }
#rueckmeldung, #ios, #erster-tipp p { font-size: 14px; line-height: 1.5; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 22px 0 35px; }
@media (max-width: 720px) {
  .mast { padding: 16px 0; }
  .intro, #themen { grid-template-columns: 1fr; gap: 28px; }
  .intro { padding: 34px 0 30px; }
  #themen { padding: 30px 0; gap: 20px; }
  .lead h1 span { display: inline; }
  .lead p { margin: 14px 0 17px; max-width: 44ch; }
  .sample { padding: 18px 16px 14px; }
  .topics button { min-height: 44px; }
  .next, .text-action, .sample-link { min-height: 44px; }
  .sample-head { margin-bottom: 12px; }
}
@media(max-width: 360px) { .lead h1 { font-size: 42px; } .brand b { font-size: 16px; } }
