/* ==========================================================
   moersbach-pfalz.de – Stylesheet
   ========================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-800.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --bg: #F4F4EF;
  --surface: #FFFFFF;
  --ink: #1B2620;
  --ink-2: #3A4640;
  --muted: #4A5650;
  --muted-2: #5A6660;
  --line: #E2E3DB;
  --forest: #1F3A2E;
  --green: #2F5D46;
  --green-dark: #1E4031;
  --sage: #E7EAE1;
  --frame: #E2E6DC;
  --accent: #B5482E;
  --on-dark: #DCE7E0;
  --on-dark-muted: #CFDCD4;
  --radius: 20px;
  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .container { padding-left: 16px; padding-right: 16px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.stack-8 { display: flex; flex-direction: column; gap: 8px; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.eyebrow--light { color: #B9D3C3; }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.lead { color: var(--ink-2); }
.section { padding-top: 112px; padding-bottom: 112px; }
@media (max-width: 720px) { .section { padding-top: 72px; padding-bottom: 72px; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head__aside { max-width: 380px; font-size: 15px; color: var(--muted); }

/* ---------- Kopfzeile ---------- */
.site-header { background: var(--forest); color: #fff; }
.site-header--hero { position: absolute; top: 0; left: 0; right: 0; z-index: 10; background: transparent; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand__sub { font-size: 13px; opacity: .9; }

.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav a.nav__cta { background: #fff; color: var(--ink); font-weight: 600; padding: 10px 18px; }
.nav a.nav__cta:hover { background: #E9EDE7; }

.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(15,25,20,.35); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; gap: 2px; padding: 8px; border-radius: 16px; background: var(--forest); }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 12px 14px; }
  .js .nav a.nav__cta { text-align: center; margin-top: 6px; }
}

/* ---------- Titelbild ---------- */
.hero { position: relative; min-height: 760px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: #fff; }
@media (max-width: 720px) { .hero { min-height: 640px; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,20,.6) 0%, rgba(15,25,20,.08) 35%, rgba(15,25,20,.78) 100%); }
.hero__content { position: relative; padding-top: 160px; padding-bottom: 80px; }
.hero__tag { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero__plz { background: var(--accent); padding: 4px 10px; border-radius: 6px; }
.hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(46px, 8vw, 104px); line-height: .95; letter-spacing: -.03em; max-width: 900px; }
.hero__lead { margin-top: 24px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 620px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E9EDE7; color: var(--ink); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--muted-2); color: var(--ink); }
.btn--danger { background: #fff; color: #9B2C1C; border-color: #E8C9C1; }
.btn--danger:hover { background: #FBEFEC; color: #7E2215; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- Zahlenleiste ---------- */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact__value { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.fact__label { font-size: 15px; color: var(--muted); }

/* ---------- Aktuelles (News) ---------- */
.news { padding-top: 96px; }
@media (max-width: 720px) { .news { padding-top: 64px; } }
.news__inner { display: flex; flex-direction: column; gap: 40px; }
/* Feste Spaltenbreite: Der Inhalt einer Karte kann die Seite nie verbreitern. */
.news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 480px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.news-card { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
/* Fester Rahmen im Format 3:4 – Flyer werden eingepasst, nie gestreckt oder beschnitten */
.news-card__frame { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; }
.news-card__frame--flyer { background: var(--frame); padding: 12px; }
.news-card__frame--flyer img { width: 100%; height: 100%; object-fit: contain; }
a.news-card__frame--flyer:hover { outline: 2px solid var(--green); outline-offset: 0; }
.news-card__zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.news-card__frame--termin { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.news-card__frame--dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.news-card__weekday, .news-card__day, .news-card__month { display: block; }
.news-card__weekday { font-size: 14px; font-weight: 600; color: var(--muted); }
.news-card__day { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; color: var(--accent); }
.news-card__month { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.news-card__frame--dark .news-card__weekday { color: var(--on-dark-muted); }
.news-card__frame--dark .news-card__day { color: #fff; }
.news-card__meta { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.news-card__frame--dark .news-card__meta { color: var(--on-dark); }
.news-card__meta span { display: flex; align-items: flex-start; gap: 8px; overflow-wrap: break-word; hyphens: auto; }
.news-card__meta svg { flex: none; margin-top: 3px; }
@media (max-width: 480px) {
  .news-card__frame--termin { padding: 16px; }
  .news-card__day { font-size: 46px; }
  .news-card__month { font-size: 18px; }
  .news-card__meta { font-size: 13px; }
}
.news-card__caption { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-card__kind { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); overflow-wrap: break-word; hyphens: auto; }
.news-card__title { font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; hyphens: auto; }
.news__empty { background: var(--surface); border: 1px dashed #C9CFC3; border-radius: var(--radius); padding: 32px; color: var(--muted); }

/* ---------- Der Ort ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 64px; align-items: center; }
@media (max-width: 720px) { .split { gap: 40px; } }
.split__text { display: flex; flex-direction: column; gap: 20px; }
.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted-2); }

/* ---------- Geschichte ---------- */
.history { background: var(--forest); color: #fff; }
.history__inner { display: flex; flex-direction: column; gap: 56px; }
.history .section-head__aside { color: var(--on-dark-muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.timeline li { border-top: 2px solid #fff; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.timeline__year { font-family: var(--font-head); font-weight: 700; font-size: 28px; }
.timeline__text { color: var(--on-dark); font-size: 16px; }

/* ---------- Dorfleben ---------- */
.village__inner { display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.card p { color: var(--muted); font-size: 16px; }
.card--photo { padding: 0; overflow: hidden; grid-row: span 2; }
.card--photo img { width: 100%; height: 360px; object-fit: cover; }
.card--photo .card__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.card--photo h3 { font-size: 24px; }
.card__icon { color: var(--accent); }

/* ---------- Ortsbeirat ---------- */
.council { background: var(--surface); border-top: 1px solid var(--line); }
.council__inner { display: flex; flex-direction: column; gap: 48px; }
.next-session { background: var(--bg); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; min-width: 260px; }
.next-session__label { font-size: 13px; color: var(--muted-2); }
.next-session__date { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.25; }
.next-session__place { font-size: 15px; color: var(--ink-2); }
.next-session--none .next-session__date { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--ink-2); }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.leader { background: var(--bg); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; gap: 20px; }
.leader--main { background: var(--forest); color: #fff; }
.leader__avatar { flex: none; width: 64px; height: 64px; border-radius: 999px; background: #DDE4DA; color: var(--forest); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.leader--main .leader__avatar { background: var(--accent); color: #fff; }
.leader__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.leader__role { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.leader--main .leader__role { color: #B9D3C3; }
.leader__name { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.2; }
.leader__party { font-size: 14px; color: var(--muted-2); }
.leader--main .leader__party { color: var(--on-dark-muted); }
.members__title { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.members li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.members__name { font-weight: 600; }
.members__party { font-size: 13px; color: var(--muted-2); }

/* ---------- Vereine ---------- */
.clubs { background: var(--sage); }
.clubs__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px; align-items: start; }
.clubs__intro { display: flex; flex-direction: column; gap: 16px; }
.club-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.club-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.club-list li:last-child { border-bottom: 0; }
.club-list__name { font-weight: 600; }
.club-list__state { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 480px) { .club-list li { padding: 16px 20px; } }

/* ---------- Anfahrt ---------- */
.directions dl { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.directions dt { font-size: 13px; color: var(--muted-2); }
.directions dd { margin: 0; font-weight: 600; }
.map { position: relative; height: 400px; border-radius: var(--radius); background: #DDE4DA; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__consent { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 24px; max-width: 360px; }
.map__pin { background: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.map__note { font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 10px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link { margin-top: 12px; font-size: 14px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: 64px; padding-bottom: 40px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--on-dark-muted); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer__name { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: #fff; }
.site-footer__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9FB3A7; }
.site-footer__bottom { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid #34423B; font-size: 14px; color: #9FB3A7; }
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal a { color: var(--on-dark); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.legal { padding-top: 64px; padding-bottom: 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 32px; }
.legal h2 { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal ul, .legal address { margin: 0 0 14px; color: var(--ink-2); }
.legal address { font-style: normal; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .placeholder { background: #FFF1C9; padding: 0 4px; border-radius: 4px; }

/* ==========================================================
   Verwaltung
   ========================================================== */
.admin { padding-top: 40px; padding-bottom: 80px; }
.admin__inner { max-width: 880px; display: flex; flex-direction: column; gap: 28px; }
.admin h1 { font-family: var(--font-head); font-weight: 800; font-size: 36px; line-height: 1.1; }
.admin h2 { font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--line); }
@media (max-width: 480px) { .panel { padding: 20px; } }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel__hint { font-size: 15px; color: var(--muted); }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.admin-bar__links { display: flex; flex-wrap: wrap; gap: 10px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field__help { font-size: 14px; color: var(--muted); }
.field input[type="text"], .field input[type="password"], .field input[type="date"], .field input[type="time"], .field input[type="file"] {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C9CFC3; border-radius: 12px; background: #fff; font: inherit; color: var(--ink);
}
.field input[type="file"] { padding: 10px; }
.field input:focus { outline: 3px solid rgba(47,93,70,.35); border-color: var(--green); }
.choice { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: 8px; }
.choice__option { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid #C9CFC3; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; }
.choice__option input { width: 18px; height: 18px; accent-color: var(--green); }
.choice__option:has(input:checked) { border-color: var(--green); background: #EEF3EF; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.js .is-hidden { display: none; }

.flash { border-radius: 14px; padding: 14px 18px; font-weight: 500; }
.flash--ok { background: #E4F1E8; color: #1D4B32; border: 1px solid #BFDCC9; }
.flash--error { background: #FBEDEA; color: #7E2215; border: 1px solid #EBC5BC; }
.flash--info { background: #FFF6DB; color: #5C4610; border: 1px solid #EEDFA8; }

.admin-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.admin-news li { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.admin-news__thumb { flex: none; width: 60px; height: 80px; border-radius: 8px; background: var(--frame); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 4px; }
.admin-news__thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-news__date { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--accent); text-align: center; line-height: 1; }
.admin-news__date small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.admin-news__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.admin-news__title { font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
.admin-news__meta { font-size: 14px; color: var(--muted); overflow-wrap: break-word; hyphens: auto; }
.admin-news form { flex: none; }
@media (max-width: 560px) {
  .admin-news li { flex-wrap: wrap; }
  .admin-news form { width: 100%; }
  .admin-news form .btn { width: 100%; }
}
.counter { font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--sage); font-size: 14px; }
.counter--full { background: #FBEDEA; color: #7E2215; }

.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login .panel { width: 100%; max-width: 420px; }

/* Verwaltung: Protokoll */
.log { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.log li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }
.log__time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log__text { overflow-wrap: break-word; }
.log__ip { color: var(--muted-2); font-size: 13px; }
@media (max-width: 560px) { .log li { grid-template-columns: 1fr; gap: 2px; } }
.flash code, .panel code { font-size: .9em; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }
