/* Driftwood – Verkaufsseite. Zwei Themes: .theme-classic (Startseite), .theme-wotlk (Northrend). */
:root {
  --bg: #0d0a07;
  --bg-2: #17110b;
  --panel: #1d150d;
  --panel-2: #261b10;
  --line: #5a4424;
  --gold: #ffd100;
  --gold-2: #f0b84a;
  --gold-dim: #b8913f;
  --text: #e8dcc2;
  --muted: #a8977a;
  --accent: #b5170f;
  --accent-2: #e2381f;
  --ok: #3fbf5a;
  --display: "Trajan Pro", "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
  --wrap: 1120px;
}
.theme-wotlk {
  --bg: #050a12;
  --bg-2: #0a1422;
  --panel: #0d1a2b;
  --panel-2: #12233a;
  --line: #2c4a6e;
  --gold: #bfe8ff;
  --gold-2: #7cc6f2;
  --gold-dim: #5b8fb8;
  --text: #dbe7f3;
  --muted: #8ea6bf;
  --accent: #1f5d9e;
  --accent-2: #3b8fd9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(10, 7, 4, .97), rgba(10, 7, 4, .88));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 209, 0, .08), 0 6px 18px rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
}
.theme-wotlk .site-header { background: linear-gradient(180deg, rgba(4, 9, 16, .97), rgba(4, 9, 16, .86)); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); font: 700 22px/1 var(--display); letter-spacing: .06em; }
.brand:hover { text-decoration: none; color: var(--gold); }
.brand img { width: 38px; height: 38px; }
.nav { position: relative; }
.nav-toggle, .nav-btn { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius);
  color: var(--text); font: 600 14px/1 var(--ui); letter-spacing: .04em; text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); background: rgba(255, 255, 255, .05); text-decoration: none; }
.nav .nav-cta {
  margin-left: 8px; color: var(--gold); border: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, rgba(255, 209, 0, .12), rgba(255, 209, 0, .02));
}
@media (max-width: 860px) {
  .nav-btn {
    display: block; cursor: pointer; user-select: none; padding: 8px 12px;
    border: 1px solid var(--line); border-radius: var(--radius); color: var(--gold);
    font: 600 14px/1 var(--ui); text-transform: uppercase; letter-spacing: .06em;
  }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .nav-toggle:focus-visible + .nav-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
  .nav ul {
    display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
    flex-direction: column; align-items: stretch; padding: 8px;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  }
  .nav-toggle:checked ~ ul { display: flex; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; min-height: 46px; border-radius: 4px;
  font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  color: #ffe9a8; text-shadow: 0 1px 2px #000;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 55%, #5e0805 100%);
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px var(--gold-dim), inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 10px rgba(0, 0, 0, .55);
  cursor: pointer; transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.15); color: #fff4cc; text-decoration: none; transform: translateY(-1px); }
.theme-wotlk .btn { color: #eaf7ff; background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 55%, #0b2747 100%); }
.btn-ghost {
  background: rgba(0, 0, 0, .35); color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-dim), 0 3px 10px rgba(0, 0, 0, .4);
}
.btn[aria-disabled="true"] { filter: grayscale(.8) brightness(.7); cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 88px;
  background:
    radial-gradient(ellipse 60% 55% at 70% 35%, rgba(240, 160, 50, .18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 110%, rgba(181, 23, 15, .22), transparent 70%),
    linear-gradient(180deg, #120c07 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker { margin: 0 0 12px; color: var(--gold-2); font: 600 13px/1.2 var(--ui); letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); color: var(--gold); line-height: 1.15; margin: 0 0 16px; letter-spacing: .03em; }
h1 {
  font-size: clamp(42px, 7vw, 76px); font-weight: 700;
  background: linear-gradient(180deg, #fff3b0 0%, var(--gold) 45%, #b9790f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .7));
}
.theme-wotlk h1 { background-image: linear-gradient(180deg, #ffffff 0%, #bfe8ff 45%, #3f86c4 100%); }
.lead { font-size: 20px; color: var(--text); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { margin: 16px 0 0; color: var(--muted); font: 14px/1.4 var(--ui); }

/* WoW-artiger Rahmen */
.frame {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 2px solid #000; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--gold-dim), inset 0 0 0 4px rgba(0, 0, 0, .6), inset 0 0 0 5px var(--line),
    0 18px 40px rgba(0, 0, 0, .6);
}
.frame::before, .frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold-dim);
  background: var(--bg-2); transform: rotate(45deg); top: -10px;
}
.frame::before { left: -10px; }
.frame::after { right: -10px; }

/* Overlay-Vorschau im Hero */
.mock { padding: 22px 22px 18px; font: 14px/1.5 var(--ui); }
.mock-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--gold); font: 700 15px/1 var(--display); letter-spacing: .08em; }
.pill { font: 700 11px/1 var(--ui); padding: 5px 8px; border-radius: 99px; letter-spacing: .08em; text-transform: uppercase; }
.pill-ok { color: #0c2312; background: var(--ok); }
.mock-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); color: var(--muted); }
.mock-row b { color: var(--text); font-weight: 600; }
.mock-log { margin-top: 14px; padding: 10px 12px; border-radius: 4px; background: rgba(0, 0, 0, .45); font: 12.5px/1.7 ui-monospace, Consolas, monospace; color: #c9d1c0; }
.mock-log .y { color: var(--gold); }
.mock-log .g { color: #6fdc84; }
.mock-buttons { display: flex; gap: 8px; margin-top: 14px; }
.mock-buttons span { flex: 1; text-align: center; padding: 8px; border-radius: 4px; font: 700 12px/1 var(--ui); text-transform: uppercase; letter-spacing: .06em; }
.mock-buttons .stop { background: #3a0a08; color: #ff9b8a; border: 1px solid #7a1a12; }
.mock-buttons .set { background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--line); }

/* ------------------------------------------------------------- Abschnitte */
.section { padding: 84px 0; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin: 0; }
.ornament { width: 220px; height: 18px; margin: 0 auto 14px; opacity: .9; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px 24px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; margin-bottom: 14px; color: var(--gold); }

/* Erweiterungen */
.exp { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.exp-art { height: 150px; border-bottom: 1px solid var(--line); background-size: cover; background-position: center; }
.exp-art.wotlk { background-image: url("/assets/northrend.svg"); background-color: #0a1828; }
.exp-art.planned { background:
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px), var(--panel-2); }
.exp-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.exp-body p { margin: 0; color: var(--muted); font-size: 16px; }
.exp-body .btn { margin-top: auto; align-self: flex-start; }
.badge { align-self: flex-start; font: 700 11px/1 var(--ui); padding: 6px 9px; border-radius: 3px; letter-spacing: .1em; text-transform: uppercase; }
.badge-live { background: #12361d; color: #8af0a1; border: 1px solid #2c7a42; }
.badge-soon { background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--line); }
.exp.muted { opacity: .72; }

/* Ablauf */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 22px 24px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin: -52px auto 14px;
  border-radius: 50%; border: 2px solid var(--gold-dim); background: var(--bg-2);
  color: var(--gold); font: 700 20px/1 var(--display);
  box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(255, 209, 0, .2);
}
.step h3 { font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Preise */
.price { padding: 32px 26px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.price h3 { font-size: 22px; margin: 0; }
.price .amount { font: 700 36px/1 var(--display); color: var(--text); margin: 6px 0 2px; }
.price .per { color: var(--muted); font: 14px/1.3 var(--ui); }
.price ul { list-style: none; padding: 0; margin: 8px 0 14px; text-align: left; color: var(--muted); font-size: 15.5px; }
.price li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.price li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold-dim); font-size: 12px; top: 9px; }
.price .btn { margin-top: auto; }
.price form { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.price form .btn { margin-top: 0; width: 100%; }
.price .pay-note { color: var(--muted); font: 13px/1.4 var(--ui); margin: 0; }
.price.featured { box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 4px rgba(0, 0, 0, .6), inset 0 0 0 5px var(--gold-dim),
  0 0 40px rgba(255, 209, 0, .12), 0 18px 40px rgba(0, 0, 0, .6); }
.ribbon { align-self: center; margin-top: -46px; margin-bottom: 4px; padding: 6px 14px; background: var(--accent); color: #ffe9a8;
  border: 1px solid var(--gold-dim); font: 700 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; border-radius: 3px; }
.fineprint { text-align: center; color: var(--muted); font: 14px/1.5 var(--ui); margin: 28px auto 0; max-width: 680px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  color: var(--gold); font: 600 18px/1.35 var(--display); letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--ui); color: var(--gold-dim); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Tabellen (WotLK-Seite) */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.spec th { width: 34%; color: var(--gold); font: 600 15px/1.4 var(--display); letter-spacing: .03em; }
.spec td { color: var(--text); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.table-frame { padding: 8px; overflow-x: auto; }

.setup { counter-reset: s; list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 14px; }
.setup li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; }
.setup li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-dim);
  color: var(--gold); font: 700 17px/1 var(--display); background: var(--bg-2);
}
.setup b { color: var(--gold); font-family: var(--display); font-weight: 600; letter-spacing: .02em; }
.setup p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
kbd { font: 600 13px/1 ui-monospace, Consolas, monospace; padding: 3px 7px; border-radius: 4px; color: var(--text);
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-bottom-width: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.callout { padding: 28px; }
.callout h3 { font-size: 22px; }
.callout p { color: var(--muted); margin: 0 0 18px; }

/* WotLK-Hero */
.theme-wotlk .hero {
  padding: 110px 0 120px;
  background:
    url("/assets/northrend.svg") center bottom / cover no-repeat,
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(90, 200, 255, .22), transparent 70%),
    linear-gradient(180deg, #040812 0%, #0a1830 60%, var(--bg) 100%);
}
.theme-wotlk .hero .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.theme-wotlk .hero .lead { margin-left: auto; margin-right: auto; text-shadow: 0 2px 8px #000; }
.theme-wotlk .cta-row { justify-content: center; }
.frost-sigil { width: 92px; height: 92px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(120, 200, 255, .55)); }
.theme-wotlk .frame::before, .theme-wotlk .frame::after { background: #0b1a2c; }
.theme-wotlk .section-alt { background: linear-gradient(180deg, #081322, var(--bg)); }
.theme-wotlk .step::before { box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(124, 198, 242, .35); }

/* ------------------------------------------------------------- Fußzeile */
.site-footer { padding: 46px 0 40px; background: #070504; border-top: 1px solid var(--line); color: var(--muted); font: 14px/1.6 var(--ui); }
.theme-wotlk .site-footer { background: #03070d; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.site-footer p { margin: 0 0 8px; }
.legal-note { font-size: 12.5px; opacity: .8; }

/* Einfache Textseiten (Impressum, 404) */
.page { padding: 72px 0 90px; min-height: 60vh; }
.page .frame { padding: 34px 32px; max-width: 760px; margin: 0 auto; }
.page h1 { font-size: clamp(32px, 5vw, 46px); }
.page h2 { font-size: 22px; margin-top: 28px; }
.page p, .page li { color: var(--muted); }
.todo { color: #ff9b8a; font-family: var(--ui); font-size: 14px; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer ul { justify-content: flex-start; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4.steps { gap: 40px; }
  .lead { font-size: 18px; }
  .spec th { width: auto; display: block; padding-bottom: 0; border: 0; }
  .spec td { display: block; padding-top: 4px; }
  .page .frame { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.center { text-align: center; }

/* ------------------------------------------------------------- Bild-Heros (ComfyUI) */
.theme-classic .hero {
  min-height: min(720px, 86vh); display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 10, 7, .94) 0%, rgba(13, 10, 7, .78) 34%, rgba(13, 10, 7, .15) 62%, rgba(13, 10, 7, 0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 10, 7, 0) 22%),
    url("/assets/img/hero-classic.webp") 70% center / cover no-repeat, #1a120a;
}
.theme-classic .hero .wrap { grid-template-columns: minmax(0, 620px); width: 100%; }
.theme-classic .hero .lead, .theme-classic .hero .kicker { text-shadow: 0 2px 6px #000; }
.theme-wotlk .hero {
  min-height: min(760px, 90vh); display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, .55) 0%, rgba(5, 10, 18, .35) 45%, rgba(5, 10, 18, .8) 85%, var(--bg) 100%),
    url("/assets/img/hero-wotlk.webp") center 60% / cover no-repeat, #081322;
}
.theme-wotlk .hero .wrap { width: 100%; }
.theme-wotlk .hero .kicker { text-shadow: 0 2px 6px #000; }
.exp-art.wotlk { background: url("/assets/img/card-wotlk.webp") center / cover, url("/assets/northrend.svg") center / cover, #0a1828; }
.exp-art.tbc { background: url("/assets/img/card-tbc.webp") center / cover, #1a1030; filter: saturate(.6) brightness(.8); }
.exp-art.classic { background: url("/assets/img/card-classic.webp") center / cover, #10200f; filter: saturate(.6) brightness(.8); }
.how { align-items: center; }
.steps-2 { grid-template-columns: repeat(2, 1fr); gap: 46px 22px; padding-top: 22px; }
.hero-emblem { width: 120px; height: 120px; margin: 0 0 18px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-dim), 0 0 30px rgba(255, 209, 0, .25); }
@media (max-width: 960px) {
  .theme-classic .hero { background:
    linear-gradient(0deg, rgba(13, 10, 7, .96) 0%, rgba(13, 10, 7, .8) 55%, rgba(13, 10, 7, .35) 100%),
    url("/assets/img/hero-classic.webp") 72% center / cover no-repeat, #1a120a; }
}
@media (max-width: 620px) { .steps-2 { grid-template-columns: 1fr; } }

/* Self-Service-Seite (/reset, von licsrv gerendert) */
.reset-box { max-width: 560px !important; }
.reset-box .kicker { margin-bottom: 4px; }
.reset-form { display: grid; gap: 18px; margin-top: 8px; }
.reset-form label { display: grid; gap: 8px; font: 600 14px/1.3 var(--ui); color: var(--text); }
.reset-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--muted); }
.reset-form input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line);
  background: #0a0705; color: var(--gold); font: 600 16px/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7);
}
.reset-form input[type=text]::placeholder { color: #5f5139; }
.reset-form input[type=text]:focus { outline: none; border-color: var(--gold-dim); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7), 0 0 0 2px rgba(255, 209, 0, .25); }
.reset-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.reset-form .btn { justify-self: start; }
.msg { padding: 12px 16px; border-radius: 4px; font: 15px/1.45 var(--ui); border: 1px solid; }
.page p.msg.ok { color: #b9f0c4; background: rgba(63, 191, 90, .12); border-color: rgba(63, 191, 90, .5); }
.page p.msg.err { color: #ffc2b8; background: rgba(181, 23, 15, .18); border-color: rgba(181, 23, 15, .6); }

/* Nummern der Ablauf-/Setup-Listen: nicht die 45°-Drehung/Position der Rahmen-Ecke (.frame::before) erben */
.frame.step::before { position: relative; top: auto; left: auto; transform: rotate(-4deg); }
.setup li.frame::before { left: 18px; top: 16px; transform: rotate(-4deg); }

/* Sprachwahl (Flaggen) oben rechts */
.site-header .wrap { justify-content: flex-start; }
.brand { margin-right: auto; }
.lang { list-style: none; margin: 0 0 0 6px; padding: 0 0 0 12px; display: flex; align-items: center; gap: 6px;
  border-left: 1px solid var(--line); }
.lang a { display: block; padding: 3px; border-radius: 3px; line-height: 0; opacity: .55;
  transition: opacity .15s, box-shadow .15s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--gold-dim); }
.lang img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
@media (max-width: 860px) {
  .site-header .wrap { gap: 10px; }
  .lang { margin: 0; padding-left: 10px; gap: 3px; }
}
@media (max-width: 420px) {
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .lang img { width: 21px; height: 14px; }
}
.license-key { display: block; margin: 6px 0; padding: 10px 12px; font: 600 15px/1.4 ui-monospace, Consolas, monospace; background: rgba(0, 0, 0, .35); border: 1px solid var(--gold-dim); border-radius: 4px; word-break: break-all; user-select: all; }
