/* Castlepunk – dunkler Stein, genietete Platten, gemalte Pixel-Art. Keine fremden Schriften, keine Cookies, kein JavaScript. */
:root {
  --bg: #0e1016; --panel: #1a1d26; --panel-hi: #262b38; --line: #3a4050;
  --text: #e8ecf4; --dim: #a9b1c2; --cyan: #58d8cc; --amber: #ffb627; --rust: #d0604e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
a { color: var(--cyan); }
a:hover { color: var(--amber); }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
img { image-rendering: pixelated; }

.hero {
  position: relative; min-height: 340px; display: flex; align-items: flex-end;
  background: linear-gradient(90deg, rgba(8, 9, 13, .9), rgba(8, 9, 13, .35) 60%, rgba(8, 9, 13, .1)),
              linear-gradient(0deg, var(--bg), transparent 45%),
              url("hintergrund.jpg") center 35% / cover no-repeat;
  image-rendering: pixelated;
}
.hero .inner { display: flex; gap: 24px; align-items: center; width: 100%; max-width: 900px; margin: 0 auto; padding: 72px 20px 36px; }
.hero img { width: 112px; height: 112px; border: 4px solid #000; box-shadow: 0 0 0 2px var(--line), 5px 6px 0 rgba(0, 0, 0, .8); }
h1 { margin: 0; font-size: clamp(30px, 7vw, 56px); line-height: 1; font-weight: 900; letter-spacing: 1px; color: var(--cyan); text-shadow: 3px 4px 0 #000, 0 1px 0 #fff3; }
.sub { margin: 10px 0 0; color: var(--rust); font-weight: 800; }

nav { position: sticky; top: 0; z-index: 2; background: #0a0b10; border-block: 2px solid #000; box-shadow: inset 0 -2px 0 var(--line); }
nav ul { display: flex; flex-wrap: wrap; gap: 8px; max-width: 900px; margin: 0 auto; padding: 10px 20px; list-style: none; }
nav a {
  display: block; padding: 6px 12px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 14px;
  background: linear-gradient(#343b4b, var(--panel-hi) 45%, #1b1f29); border: 2px solid #000; box-shadow: inset 0 2px 0 #ffffff30, 3px 4px 0 #000;
}
nav a:hover { background: linear-gradient(#ffd273, var(--amber) 45%, #b87f12); color: #000; }

main { max-width: 900px; margin: 0 auto; padding: 32px 20px 24px; }
section { position: relative; margin: 0 0 28px; padding: 24px 26px; background: linear-gradient(#20242f, var(--panel) 30%, #14161d); border: 4px solid #000; box-shadow: inset 0 0 0 2px var(--line); }
/* Nieten */
section::before, section::after { content: ""; position: absolute; left: 8px; right: 8px; height: 5px; pointer-events: none;
  background: linear-gradient(90deg, #8f99ad 5px, transparent 5px calc(100% - 5px), #8f99ad calc(100% - 5px)); }
section::before { top: 8px; } section::after { bottom: 8px; }
h2 { margin: 6px 0 4px; font-size: 24px; line-height: 1.25; color: var(--amber); text-shadow: 2px 2px 0 #000; }
h3 { margin: 22px 0 4px; font-size: 16px; color: var(--cyan); }
p, ul { margin: 6px 0 10px; }
.stand { color: var(--dim); font-size: 14px; }
.kurz { padding: 12px 14px; background: #0c0e14; border-left: 4px solid var(--cyan); }
.lang { margin: 36px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--line); color: var(--dim); font-weight: 800; letter-spacing: 2px; }
address { font-style: normal; }
.todo { background: #ff4a5a; color: #000; font-weight: 800; padding: 0 5px; }
.embleme { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 4px; }
.embleme img { width: 64px; height: 64px; }
footer { padding: 18px 20px 40px; text-align: center; color: var(--dim); font-size: 14px; }
@media (max-width: 560px) { .hero .inner { gap: 16px; } .hero img { width: 76px; height: 76px; } section { padding: 20px 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
