/* MiniSKR – Stylesheet
   Farben: Gelb #FFCB32 · Tinte #1F1A17 · Blau #2B6CEB · Rot #E8452C · Grün #48C285
   Schriften: Coda (Überschriften), Antic (Text) – wie auf der bisherigen Seite */

@font-face { font-family: 'Coda'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/coda-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Coda'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/coda-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Antic'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/antic-latin-400-normal.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: #1F1A17; font-family: 'Antic', Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.55;
  background: #D1CFCC url(bg-nordschleife.jpg) center top / cover no-repeat fixed;
}
img { max-width: 100%; display: block; }
a { color: #1F1A17; }
a:hover { color: #1D4FC4; }
h1, h2, h3, .card-title, .logo-text, .big { font-family: 'Coda', 'Arial Narrow', sans-serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(36px, 5.5vw, 64px); margin: 0 0 12px; }
h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 0 0 12px; }
h3 { font-size: 26px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: #F1ECE4; padding: 1px 5px; }
:focus-visible { outline: 4px solid #2B6CEB; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: #1F1A17; color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 920px; }
.inline { display: inline; margin: 0; }
.muted { color: #5C534C; }
.small { font-size: 15px; }
.sr { position: absolute; left: -9999px; }
section { padding-top: 64px; }
main { padding-bottom: 80px; }

/* ---------- Kopf ---------- */
.hd { position: relative; z-index: 2; }
.hd-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo .flag { width: 44px; height: 44px; background: repeating-conic-gradient(#1F1A17 0 25%, #FFFFFF 0 50%) 0 0 / 22px 22px; }
.logo-text { font-size: 30px; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 17px; }
.nav a, .nav-btn { padding: 10px 14px; text-decoration: none; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; }
.nav a.on { background: #1F1A17; color: #FFCB32; }
.nav .nav-btn { margin-left: 8px; background: #FFFFFF; color: #1F1A17; }
.hd-kid { background: #FFCB32; }
.hd-tech { background: #FFFFFF; color: #172033; }
.hd-tech .flag { width: 34px; height: 34px; background: repeating-conic-gradient(#172033 0 25%, #FFCB32 0 50%) 0 0 / 17px 17px; }
.hd-tech .logo-text { font-size: 24px; }
.hd-tech .nav a.on { background: none; color: #172033; box-shadow: inset 0 -3px 0 #FFCB32; }
.hd-tech .nav .nav-btn { background: #172033; color: #FFFFFF; }
.hd-member, .hd-admin { background: #1F1A17; color: #FFFFFF; }
.hd-admin { background: #172033; }
.logo-dark .flag { background: repeating-conic-gradient(#1F1A17 0 25%, #FFCB32 0 50%) 0 0 / 20px 20px; width: 40px; height: 40px; }
.hd-member .nav a.on { background: #FFCB32; color: #1F1A17; }
.hd-member .nav-btn, .hd-admin .nav-btn { background: #FFFFFF; color: #1F1A17; }

/* ---------- Fuß ---------- */
.ft { background: #1F1A17; color: #FFFFFF; font-size: 16px; }
.ft-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.ft p { margin: 0; }
.ft nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ft a { color: #FFCB32; }

/* ---------- Bausteine ---------- */
.btn { display: inline-block; padding: 15px 24px; background: #1F1A17; color: #FFFFFF; text-decoration: none; border: 0; font: inherit; font-size: 18px; cursor: pointer; line-height: 1.2; min-height: 48px; }
.btn:hover { color: #FFCB32; }
.btn-blue { background: #2B6CEB; color: #FFFFFF; }
.btn-blue:hover { background: #1D4FC4; color: #FFFFFF; }
.btn-yellow { background: #FFCB32; color: #1F1A17; }
.btn-yellow:hover { background: #F2B800; color: #1F1A17; }
.btn-light { background: #F1ECE4; color: #1F1A17; }
.btn-light:hover { background: #E4DDD2; color: #1F1A17; }
.btn-red { background: #FDECEA; color: #8F1D12; }
.btn-red:hover { background: #F9D6D1; color: #8F1D12; }
.btn-green { background: #136C3A; color: #FFFFFF; }
.btn-sm { padding: 9px 14px; font-size: 15px; min-height: 42px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btns.end { justify-content: flex-end; }
.tag { display: inline-block; padding: 4px 12px; background: #FFFFFF; font-size: 15px; line-height: 1.3; }
.tag-corner { position: absolute; top: 12px; right: 12px; }
.panel { background: #FFFFFF; padding: 28px; }
.panel + .panel { margin-top: 24px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.head-row h2 { margin: 0; }
.lead { font-size: 21px; max-width: 780px; }
.t-yellow { background: #FFF1C2; } .t-red { background: #FFE4DE; } .t-blue { background: #DCEBFF; }
.t-green { background: #DDF5E7; } .t-purple { background: #EDE3FF; } .t-sand { background: #F1ECE4; }
.checker { display: block; width: 100%; height: 100%; background: repeating-conic-gradient(#1F1A17 0 25%, #FFFFFF 0 50%) 0 0 / 40px 40px; }
.car { width: 80%; height: auto; }
.flash { padding: 14px 18px; margin: 20px 0 0; font-size: 17px; }
.flash-ok { background: #48C285; } .flash-info { background: #DCEBFF; } .flash-err { background: #FDECEA; color: #8F1D12; }
.empty { background: rgba(255,255,255,.85); padding: 28px; font-size: 19px; }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; text-decoration: none; background: #FFFFFF; color: #1F1A17; }
.card:hover { color: #1F1A17; }
.card:hover .card-title { color: #1D4FC4; }
.card-media { position: relative; display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.card-title { font-size: 26px; }
.card-meta { font-size: 17px; }
.card-sub { font-size: 15px; color: #5C534C; }
.card-kicker { font-size: 15px; color: #1D4FC4; }
.card-text { font-size: 17px; }
.card-post { flex-direction: row; flex-wrap: wrap; }
.card-post .card-media { flex: 1 1 300px; min-height: 220px; height: auto; }
.card-post .card-body { flex: 999 1 420px; justify-content: center; padding: 26px 30px; }
.card-post.compact .card-media { flex: 0 0 140px; min-height: 120px; }
.card-post.compact .card-body { flex: 1 1 200px; padding: 16px 20px; }
.card-post.compact .card-title { font-size: 23px; }
.list-posts { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Startseite ---------- */
.hero { background: #FFCB32; }
.hero-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-text h1 { font-size: clamp(42px, 6vw, 68px); }
.hero-text p { font-size: 22px; }
.hero-art { flex: 1 1 400px; min-width: 0; background: #FFFFFF; padding: 28px; }
.pill { display: inline-block; background: #FFFFFF; padding: 6px 16px; margin-bottom: 14px; }
.race-box { background: #2B6CEB; color: #FFFFFF; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.race-date { flex: 0 0 auto; min-width: 130px; padding: 14px 16px; background: #FFFFFF; color: #1F1A17; text-align: center; }
.race-date .big { font-size: 40px; display: block; }
.race-box .kicker { letter-spacing: .05em; margin: 0; font-size: 16px; }
.race-box h2 { color: #FFFFFF; margin: 4px 0 8px; font-size: clamp(28px, 3vw, 38px); }
.race-text { flex: 1 1 420px; min-width: 0; }
.race-text p { margin: 0; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { padding: 24px; }
.step .num { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; font-family: 'Coda', sans-serif; font-size: 28px; }
.step h3 { margin-top: 14px; }
.step p { margin: 0; }
.starter { background: #FFFFFF; padding: 36px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.starter ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 19px; }
.starter li { display: flex; gap: 12px; align-items: center; }
.starter li i { width: 14px; height: 14px; flex: 0 0 auto; }
.price { background: #FFCB32; padding: 22px; text-align: center; }
.price .big { font-size: 56px; display: block; }
.cta { background: #48C285; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta div { flex: 1 1 480px; }

/* ---------- Galerie / Modell ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.filters a { padding: 12px 20px; background: #FFFFFF; text-decoration: none; min-height: 48px; }
.filters a.on { background: #1F1A17; color: #FFFFFF; }
.model { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.model-photos { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.model-main { display: flex; align-items: center; justify-content: center; background: #FFFFFF; min-height: 300px; }
.model-main img { width: 100%; max-height: 640px; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumbs button { padding: 0; border: 4px solid transparent; background: #FFFFFF; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: #1D4FC4; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.model-info { flex: 1 1 380px; min-width: 0; }
.model-info h1 { margin-top: 8px; }
.byline { font-size: 21px; margin: 0; }
.back { display: inline-block; margin: 32px 0 20px; font-size: 18px; }
.notice { background: #FFF1C2; padding: 14px 18px; margin-top: 20px; }

/* ---------- Artikel ---------- */
.article-cover { height: 420px; background: #FFFFFF; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { background: rgba(255,255,255,.9); padding: 28px 32px; margin-top: 24px; font-size: 20px; line-height: 1.7; }
.article-body p:last-child { margin-bottom: 0; }
.kicker-blue { color: #1D4FC4; margin: 32px 0 6px; }
.files { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 18px; }
.file { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1 / 1; background: #FFFFFF; text-decoration: none; padding: 10px; text-align: center; overflow: hidden; }
.file img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.file .fname { font-size: 14px; line-height: 1.25; word-break: break-word; }
.file .pdf-ico { width: 42px; height: 50px; }

/* Bild groß ansehen */
.lightbox { position: fixed; inset: 0; background: rgba(20, 17, 15, .92); display: none; align-items: center; justify-content: center; z-index: 50; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #FFFFFF; border: 0; font: inherit; font-size: 18px; padding: 10px 16px; cursor: pointer; }

/* ---------- Racing ---------- */
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.timeline li { display: flex; gap: 18px; align-items: center; padding: 14px 18px; }
.timeline .time { flex: 0 0 auto; min-width: 100px; text-align: center; background: #FFFFFF; padding: 6px 10px; font-family: 'Coda', sans-serif; font-size: 22px; }
.box { padding: 28px; }
.box ul { margin: 0; padding-left: 22px; }

/* ---------- Formulare ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form label, .label { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.form .check { flex-direction: row; gap: 10px; align-items: flex-start; font-size: 16px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=url], input[type=email], textarea, select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 18px; color: #1F1A17; background: #FFF8E7; border: 2px solid #8A817A;
}
textarea { resize: vertical; line-height: 1.55; }
input[type=file] { font: inherit; font-size: 16px; }
.hint { font-size: 15px; color: #5C534C; margin: 0; }
.counter { text-align: right; font-size: 15px; color: #5C534C; margin: 4px 0 0; }
.section-title { display: flex; align-items: center; gap: 12px; }
.section-title .num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; font-family: 'Coda', sans-serif; font-size: 22px; flex: 0 0 auto; }
.bg-red { background: #E8452C; } .bg-blue { background: #7FB0FF; } .bg-green { background: #48C285; } .bg-yellow { background: #FFCB32; }
.slots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.slot { display: flex; flex-direction: column; gap: 8px; }
.slot-media { aspect-ratio: 1 / 1; background: #F1ECE4; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.slot-media img { width: 100%; height: 100%; object-fit: cover; }
.slot .check { font-size: 15px; }
.drop { background: #FFF1C2; padding: 20px; }
.region-preview { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; background: #DCEBFF; padding: 12px 16px; margin-top: 12px; }
.region-preview b { font-family: 'Coda', sans-serif; font-weight: 400; font-size: 22px; }
.login-box { max-width: 480px; margin: 56px auto 0; background: #FFFFFF; padding: 36px; }
.login-box .flag-big { width: 72px; height: 72px; margin: 0 auto 12px; background: repeating-conic-gradient(#1F1A17 0 25%, #FFCB32 0 50%) 0 0 / 36px 36px; }
.login-box h1 { text-align: center; font-size: 40px; }
.login-box .sub { text-align: center; }
.pw-box { background: #FFF1C2; padding: 18px 20px; margin-top: 16px; }
.pw-box code { font-size: 20px; background: #FFFFFF; }

/* ---------- Mitgliederbereich ---------- */
.items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.items li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: #FFF8E7; padding: 12px 14px; }
.items .t { display: flex; flex-direction: column; }
.items .d { font-size: 14px; color: #5C534C; }
.st { display: inline-block; padding: 3px 10px; font-size: 14px; }
.st-draft { background: #F1ECE4; } .st-wait { background: #FFCB32; } .st-ok { background: #48C285; } .st-no { background: #FDECEA; color: #8F1D12; }
.note { font-size: 15px; color: #8F1D12; }

/* ---------- Technik & Verwaltung (sachlich) ---------- */
.theme-tech, .theme-admin { color: #172033; font-size: 16px; line-height: 1.6; }
.theme-tech a, .theme-admin a { color: #1D4ED8; }
.theme-tech .hd a, .theme-admin .hd a { color: inherit; }
.theme-tech .ft a, .theme-admin .ft a { color: #FFCB32; }
.theme-tech .ft, .theme-admin .ft { background: #172033; }
.tech-hero { background: #172033; color: #FFFFFF; }
.tech-hero .wrap { padding-top: 48px; padding-bottom: 48px; }
.tech-hero .kicker { font-size: 13px; letter-spacing: .08em; color: #FFCB32; margin: 0; }
.tech-hero h1 { font-size: clamp(32px, 4vw, 44px); margin-top: 8px; }
.tech-hero p { max-width: 760px; font-size: 18px; color: #C9D1DE; margin: 0; }
.tech-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 40px; }
.toc { flex: 1 1 220px; max-width: 260px; background: #FFFFFF; padding: 16px; }
.toc p { font-size: 12px; letter-spacing: .08em; color: #5B6577; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tech-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.tsec { background: #FFFFFF; padding: 28px; scroll-margin-top: 20px; }
.tsec h2 { font-size: 26px; margin-bottom: 4px; }
.tsec h3 { font-size: 19px; margin: 18px 0 6px; }
.tsec .muted { color: #5B6577; }
.tsec.mark { background: #FFF8E1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; }
thead th { border-bottom: 2px solid #172033; font-family: 'Antic', sans-serif; }
tbody tr { border-bottom: 1px solid #E4E8EE; }
td.mono { font-family: ui-monospace, Consolas, monospace; white-space: nowrap; }
.cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cols ul { margin: 0; padding-left: 20px; }
dl.facts { margin: 0; display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 10px 20px; }
dl.facts dt { font-family: 'Coda', sans-serif; }
dl.facts dd { margin: 0; }
.plan { background: #F5F6F8; padding: 16px; }
.plan .k { font-size: 12px; letter-spacing: .08em; color: #5B6577; margin: 0; }
.dl { margin: 0; padding: 0; list-style: none; }
.dl li { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #E4E8EE; }
.ftype { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: #172033; color: #FFFFFF; padding: 2px 6px; margin-right: 10px; }

/* Verwaltung */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 24px; background: #FFFFFF; }
.tabs a { padding: 14px 18px; text-decoration: none; color: #5B6577; }
.tabs a.on { color: #172033; box-shadow: inset 0 -3px 0 #FFCB32; }
.adm { background: #FFFFFF; margin-top: 24px; padding-top: 0; }
.adm-head { padding: 16px 20px; border-bottom: 1px solid #E4E8EE; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.adm-head h2 { margin: 0; font-size: 22px; }
.adm-body { padding: 20px; }
.queue { margin: 0; padding: 0; list-style: none; }
.queue li { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid #E4E8EE; }
.queue .qimg { flex: 0 0 72px; height: 72px; background: #EEF1F5; overflow: hidden; }
.queue .qimg img { width: 100%; height: 100%; object-fit: cover; }
.queue .qtext { flex: 1 1 300px; min-width: 0; }
.queue .kind { font-size: 12px; letter-spacing: .06em; color: #5B6577; }
.queue .qtitle { font-family: 'Coda', sans-serif; font-size: 19px; display: block; }
.queue form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.queue input[type=text] { width: 220px; padding: 8px 10px; font-size: 15px; background: #FFFFFF; border: 1px solid #B8C0CC; }
.theme-admin .btn { font-size: 15px; padding: 10px 16px; min-height: 42px; }
.theme-admin input[type=text], .theme-admin input[type=email], .theme-admin input[type=password], .theme-admin input[type=number], .theme-admin input[type=url], .theme-admin select, .theme-admin textarea { background: #FFFFFF; border: 1px solid #B8C0CC; font-size: 16px; padding: 10px 12px; }
.theme-admin .form label { font-size: 15px; }
.adm-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.adm-grid > .adm { flex: 999 1 560px; min-width: 0; }
.adm-grid > .adm.side { flex: 1 1 320px; }
.role { padding: 3px 9px; font-size: 13px; background: #EEF1F5; }
.role-admin { background: #FFF1C2; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: #1D4ED8; cursor: pointer; text-decoration: underline; }
.linkbtn.red { color: #B42318; }

@media (max-width: 640px) {
  body { font-size: 17px; background-attachment: scroll; }
  .nav { gap: 0; }
  .nav a, .nav-btn { padding: 8px 10px; font-size: 16px; }
  .nav .nav-btn { margin-left: 0; }
  .article-cover { height: 240px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .panel, .starter, .cta, .race-box { padding: 22px; }
}
@media print {
  body { background: none; }
  .hd, .ft { display: none; }
}
.form .section-title label { display: inline; font-size: inherit; font-family: inherit; }
.legal h2 { font-size: 21px; margin: 26px 0 6px; } .legal h3 { font-size: 18px; margin: 18px 0 4px; } .legal ul { padding-left: 22px; margin: 0 0 14px; }

/* Schalter (Administrator ja/nein) */
.switch { position: relative; width: 48px; height: 28px; border: 0; padding: 0; background: #C9CED6; cursor: pointer; vertical-align: middle; }
.switch span { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: #FFFFFF; transition: left .15s; }
.switch.on { background: #136C3A; }
.switch.on span { left: 24px; }
.switch:disabled { cursor: not-allowed; opacity: .6; }
.switch-row { flex-direction: row !important; justify-content: space-between; align-items: center; background: #F5F6F8; padding: 12px 14px; font-weight: 400; }
.switch-input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; margin: 0; background: #C9CED6; position: relative; cursor: pointer; flex: 0 0 auto; }
.switch-input::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: #FFFFFF; transition: left .15s; }
.switch-input:checked { background: #136C3A; }
.switch-input:checked::after { left: 24px; }
.switch-input:disabled { opacity: .6; }
form.is-admin [data-kid-only] { display: none; }
form:not(.is-admin) [data-admin-only] { display: none; }

/* Bilder */
.hero-art.logo-box { padding: 20px; display: flex; align-items: center; justify-content: center; }
.hero-art.logo-box img { width: 100%; max-width: 560px; height: auto; }
.photo-band { width: 100%; height: 320px; object-fit: cover; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
.mosaic figure { margin: 0; overflow: hidden; background: #FFFFFF; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .big { grid-column: span 2; grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }
.photo-box { display: flex; flex-wrap: wrap; gap: 0; background: #FFFFFF; }
.photo-box img { flex: 1 1 360px; min-width: 0; height: auto; max-height: 420px; object-fit: cover; }
.photo-box .box { flex: 1 1 360px; }
.examples { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 14px; }
.examples figure { margin: 0; background: #F5F6F8; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; overflow: hidden; }
.examples img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Technik: Zeichnungen, Werkzeuge, Beispiele */
.drawings { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 18px; }
.drawing { margin: 0; background: #FFFFFF; }
.drawing img { width: 100%; height: auto; }
.drawing figcaption { font-size: 14px; color: #5B6577; padding: 8px 2px 0; }
.drawings .drawing { background: #F5F6F8; padding: 12px; }
.tools { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tool { background: #F5F6F8; padding: 14px; }
.tool-img { height: 130px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 8px; margin-bottom: 10px; }
.tool-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tool h3 { margin: 0 0 4px; font-size: 17px; }
.tool p { margin: 0; font-size: 15px; }
.examples figure { position: relative; }
.examples-no figure { background: #FDECEA; }
.badge-no { position: absolute; left: 8px; top: 8px; background: #B42318; color: #FFFFFF; font-size: 12px; padding: 2px 8px; }
.dl-slot { background: #F5F6F8; padding: 16px 18px; }
.dl-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.dl-form label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; flex: 1 1 240px; }
