/* Dorfverein Seewil – öffentliche Website */

@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --green: #6fa90b;
  --green-d: #3f6a05;
  --green-dd: #2c4b03;
  --green-band: #33560a;
  --green-bg: #eef4e2;
  --green-soft: #f7faf1;
  --green-line: #dbe8c4;
  --chip-open: #e3efcf;
  --ink: #2b2d30;
  --text: #3e3e41;
  --muted: #5f6368;
  --line: #e4e4df;
  --line-2: #ecece7;
  --input: #c9ccc2;
  --ground: #f6f6f4;
  --white: #fff;
  --amber-bg: #fbecd9;
  --amber: #7a3c02;
  --blue-bg: #e4ebf0;
  --blue: #234a63;
  --red-bg: #fcebea;
  --red: #8a1c14;
  --grey-chip: #efefeb;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 10px 28px rgba(30, 35, 20, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--ground); }
img { max-width: 100%; height: auto; }
a { color: var(--green-d); }
a:hover { color: var(--green-dd); }
:focus-visible { outline: 3px solid #9cc95a; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.08; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.icon { flex: 0 0 auto; vertical-align: -3px; }

/* Leisten */
.adminbar { background: var(--ink); color: #d5d6d2; font-size: 14px; }
.adminbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.adminbar a { color: var(--white); font-weight: 600; }
.banner { background: var(--amber-bg); color: var(--amber); font-size: 15px; }
.banner .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 10px; padding-bottom: 10px; align-items: baseline; }
.banner strong { color: #5c2c00; }
.banner a { color: #5c2c00; font-weight: 600; }

/* Kopf */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: .05em; text-transform: uppercase; }
.mainnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; flex: 1 1 auto; justify-content: flex-end; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: .02em; }
.mainnav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.mainnav a:not(.btn):hover { border-bottom-color: var(--line); }
.mainnav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--green); }
@media (max-width: 720px) {
  .header-inner { gap: 8px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 20px; }
  .mainnav { justify-content: flex-start; gap: 6px 16px; font-size: 17px; width: 100%; }
  .mainnav a { white-space: nowrap; }
}

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green-d); color: var(--white); text-decoration: none; padding: 13px 22px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 16px; border: 1px solid var(--green-d); cursor: pointer; line-height: 1.2; min-height: 46px; }
.btn:hover { background: var(--green-dd); border-color: var(--green-dd); color: var(--white); }
.btn-sm { padding: 8px 16px; min-height: 38px; font-size: 15px; font-family: var(--body); letter-spacing: 0; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--input); }
.btn-ghost:hover { background: var(--ground); color: var(--ink); border-color: #aeb2a5; }
.btn-light { background: var(--white); color: var(--green-dd); border-color: var(--white); }
.btn-light:hover { background: var(--green-bg); color: var(--green-dd); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 9px 14px; border: 1px solid var(--input); border-radius: 999px; background: var(--white); min-height: 40px; }
.btn-pill:hover { border-color: #aeb2a5; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }

/* Chips */
.chip { display: inline-flex; align-items: center; flex: 0 0 auto; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; line-height: 1.3; }
.chip-open { background: var(--chip-open); color: var(--green-dd); }
.chip-scarce { background: var(--amber-bg); color: var(--amber); }
.chip-full { background: var(--red-bg); color: var(--red); }
.chip-info { background: var(--grey-chip); color: #4a4c50; }
.chip-blue { background: var(--blue-bg); color: var(--blue); }

/* Datums-Kachel */
.datetile { width: 66px; height: 72px; flex: 0 0 auto; border-radius: 12px; background: var(--green-bg); color: var(--green-dd); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display); line-height: 1; }
.dt-wd, .dt-mon { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dt-day { font-size: 30px; font-weight: 700; margin: 2px 0; }

/* Titel & Abschnitte */
.eyebrow { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); }
.h-display { margin: 0 0 18px; font-size: clamp(38px, 6vw, 60px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }
.h-page { margin: 0 0 14px; font-size: clamp(34px, 5vw, 52px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }
.h-section { margin: 0; font-size: 34px; text-transform: uppercase; letter-spacing: .03em; }
.lead { font-size: 18px; max-width: 640px; }
.section { padding: 56px 0 8px; }
.section:last-of-type { padding-bottom: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 20px; }
.breadcrumb a { color: var(--muted); }
.page-top { padding-top: 48px; }

/* Startseite */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green-dd); color: #fff; min-height: clamp(440px, 72vh, 680px); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-zoom 18s ease-out both; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 46, 4, .88) 0%, rgba(28, 46, 4, .62) 42%, rgba(28, 46, 4, .08) 78%),
    linear-gradient(0deg, rgba(20, 30, 4, .55) 0%, rgba(20, 30, 4, 0) 45%); }
.hero-noimg .hero-shade { background: radial-gradient(ellipse at 85% 10%, rgba(111, 169, 11, .55), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(111, 169, 11, .25), transparent 50%); }
.hero .hero-inner { position: relative; width: 100%; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; padding-top: 96px; padding-bottom: 64px; }
.hero-text { flex: 1 1 460px; max-width: 640px; min-width: 0; }
.hero .eyebrow { color: #cfe8a3; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--green); vertical-align: middle; margin-right: 10px; }
.hero h1 { color: #fff; font-size: clamp(44px, 7vw, 84px); line-height: .98; letter-spacing: -.01em; margin: 0 0 20px; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; margin-bottom: 30px; color: rgba(255, 255, 255, .92); }
.btn-hero { background: #c8e68e; border-color: #c8e68e; color: var(--green-dd); }
.btn-hero:hover { background: #fff; border-color: #fff; color: var(--green-dd); }
.btn-hero-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn-hero-ghost:hover { background: #fff; color: var(--green-dd); border-color: #fff; }
.next-card { flex: 0 1 360px; background: rgba(255, 255, 255, .96); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); padding: 16px 18px; text-decoration: none; color: var(--text); display: flex; gap: 16px; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }
.next-card:hover { color: var(--text); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(0, 0, 0, .32); }
.next-card .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--green-d); }
.next-card .t { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.next-card .s { font-size: 14px; color: var(--muted); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero .hero-inner { padding-top: 200px; padding-bottom: 32px; }
  .hero-shade { background: linear-gradient(0deg, rgba(28, 46, 4, .94) 0%, rgba(28, 46, 4, .78) 50%, rgba(28, 46, 4, .2) 100%); }
  .next-card { flex-basis: 100%; }
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 10px; }
a.card:hover { border-color: #cfd3c6; box-shadow: var(--shadow); color: var(--text); }
.card .chip { align-self: flex-start; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; }
.card-title { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.card-text { font-size: 15px; }
.card-more { font-weight: 600; color: var(--green-d); margin-top: auto; }

/* Terminliste */
.evlist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.evrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 22px; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--text); }
.evrow:first-child { border-top: 0; }
a.evrow:hover { background: #fbfbf9; color: var(--text); }
.evrow-date { width: 58px; flex: 0 0 auto; text-align: center; font-family: var(--display); line-height: 1; }
.evrow-date b { display: block; font-size: 28px; font-weight: 700; color: var(--ink); }
.evrow-date span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.evrow-main { flex: 1 1 260px; min-width: 0; }
.evrow-title { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.evrow-meta { font-size: 14px; color: var(--muted); }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--input); border-radius: var(--radius); }

.evcards { display: flex; flex-direction: column; gap: 14px; }
.evcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.evcard-main { flex: 1 1 320px; min-width: 0; }
.evcard h2 { margin: 0; font-size: 25px; }
.evcard h2 a { color: var(--ink); text-decoration: none; }
.evcard h2 a:hover { text-decoration: underline; }
.evcard-meta { font-size: 15px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 999px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; background: var(--white); color: var(--ink); border: 1px solid var(--input); }
.filters a[aria-current="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }

.typegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.typecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
a.typecard:hover { border-color: #cfd3c6; box-shadow: var(--shadow); color: var(--text); }
.typecard .k { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--green-d); }
.typecard .t { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.typecard .s { font-size: 14px; color: var(--muted); }

/* Berichte */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.rcard { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 10px; }
.rcard:hover { color: var(--text); }
.rcard:hover .rcard-title { text-decoration: underline; }
.rcard .photo { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; }
.rcard-meta { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rcard-title { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.rcard-text { font-size: 15px; }
.photo { display: block; background: #dfe5d2; }
.photo-empty { display: flex; align-items: center; justify-content: center; background: var(--green-bg); }
.photo-empty img { width: 64px; height: 64px; opacity: .55; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* Band & Fuss */
.band { background: var(--green-band); color: var(--white); margin-top: 56px; }
.band-inner { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.band h2 { color: var(--white); margin: 0 0 12px; font-size: 38px; text-transform: uppercase; letter-spacing: .03em; }
.band p { margin: 0; font-size: 17px; color: #e8f0dc; max-width: 560px; }
.band-text { flex: 1 1 460px; min-width: 0; }
.site-footer { background: var(--ink); color: #d5d6d2; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.site-footer a { color: #d5d6d2; }
.site-footer a:hover { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.band + .site-footer { margin-top: 0; }
.page-main { padding-bottom: 80px; }

/* Anlass-Seite */
.ev-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 24px; }
.ev-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ev-side { flex: 1 1 400px; min-width: 0; }
.ev-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 16px; color: var(--ink); }
.ev-facts span, .ev-facts a { display: inline-flex; align-items: center; gap: 8px; }
.ev-facts .icon { color: var(--green-d); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ev-media .photo { width: 100%; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); object-fit: cover; }
.prose { font-size: 17px; max-width: 700px; }
.prose h2 { font-size: 28px; text-transform: uppercase; margin: 32px 0 12px; }
.prose h3 { font-size: 22px; margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose > :last-child { margin-bottom: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.panel h2 { margin: 0 0 4px; font-size: 30px; text-transform: uppercase; letter-spacing: .03em; }
.panel-sub { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.other-dates { display: flex; flex-direction: column; gap: 8px; }
.other-dates a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
a.mini-card:hover { border-color: #cfd3c6; color: var(--text); }
.mini-card .k { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-card .t { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink); }

/* Formulare */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: flex; flex-wrap: wrap; gap: 16px 14px; }
.ff { flex: 1 1 100%; min-width: 0; }
.ff-half { flex: 1 1 calc(50% - 7px); min-width: 150px; }
.ff[hidden] { display: none; }
.ff-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ff-label .req { color: var(--red); margin-left: 2px; }
.ff-help { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ff input:not([type]), .ff input[type=text], .ff input[type=email], .ff input[type=tel], .ff input[type=date], .ff input[type=time], .ff input[type=number], .ff input[type=url], .ff input[type=search], .ff input[type=password], .ff select, .ff textarea,
.input-prefix input, .input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--input); border-radius: 10px; background: var(--white); }
.ff textarea { resize: vertical; min-height: 84px; }
.ff input:not([type=checkbox]):not([type=radio]):not([type=file]), .ff select { min-height: 46px; }
.ff select { cursor: pointer; }
.ff input:focus, .ff select:focus, .ff textarea:focus, .input:focus { border-color: var(--green-d); outline: 2px solid #cfe3ad; outline-offset: 0; }
.ff-err input, .ff-err select, .ff-err textarea, .ff-err .choice-box { border-color: var(--red); }
.ff-errtext { color: var(--red); font-size: 14px; margin-top: 4px; font-weight: 500; }
.ff-heading { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; margin: 6px 0 -4px; }
.ff-info { font-size: 15px; color: var(--text); background: var(--ground); border-radius: 12px; padding: 12px 14px; }
.ff-info p:last-child { margin: 0; }

.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.stepper-row .ff-label { margin: 0; }
.stepper-note { font-size: 13px; color: var(--muted); }
.stepper-note.low { color: var(--amber); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.stepper button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--input); background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.stepper button.plus { background: var(--green-d); border-color: var(--green-d); color: var(--white); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input[type=number] { width: 54px; text-align: center; font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); border: 0; padding: 4px 0; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); color: var(--ink); margin-bottom: 8px; }
.choice:last-child { margin-bottom: 0; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-d); flex: 0 0 auto; }
.choice-label { flex: 1 1 auto; font-weight: 600; }
.choice-note { font-size: 13px; color: var(--muted); text-align: right; }
.choice-note.low { color: var(--amber); font-weight: 600; }
.choice:has(input:checked) { border: 2px solid var(--green-d); background: var(--green-soft); padding: 11px 13px; }
.choice.is-full { background: var(--ground); color: #6b6d70; cursor: not-allowed; }
.choice.is-full .choice-label { text-decoration: line-through; }
.choice-sub { margin-left: 24px; }
.choice-single { align-items: flex-start; }
.choice-single input { margin-top: 2px; }
.choice-single .choice-label { display: block; }
.choice-single small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }

.slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 8px 4px; border-radius: 10px; border: 1px solid #b9c99c; background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.2; }
.slot small { font-weight: 500; font-size: 12px; color: var(--muted); }
.slot input:checked + span { background: var(--green-d); border-color: var(--green-d); color: var(--white); }
.slot input:checked + span small { color: #e8f0dc; }
.slot input:focus-visible + span { outline: 3px solid #9cc95a; outline-offset: 2px; }
.slot.is-full { cursor: not-allowed; }
.slot.is-full span { background: #e3e3df; border-color: #e3e3df; color: #6b6d70; }
.slot.is-full input { cursor: not-allowed; }
.slot-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.slot-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 1px solid #b9c99c; background: var(--white); }
.slot-legend i.t { background: #e3e3df; border-color: #e3e3df; }
.slot-legend i.p { background: var(--green-d); border-color: var(--green-d); }

.calc-out { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); }
.form-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.form-total-label { font-size: 13px; color: var(--muted); }
.form-total-sum { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--ink); }
.form-submit { display: flex; justify-content: flex-end; }

.note { border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.note p:last-child { margin: 0; }
.note-err { background: var(--red-bg); color: var(--red); }
.note-ok { background: var(--chip-open); color: var(--green-dd); }
.note-info { background: var(--ground); color: var(--text); }
.note-warn { background: var(--amber-bg); color: var(--amber); }
.note ul { margin: 6px 0 0; padding-left: 1.2em; }

.success { display: flex; flex-direction: column; gap: 18px; }
.success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--chip-open); color: var(--green-dd); display: flex; align-items: center; justify-content: center; }
.summary { background: #f7f7f4; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }

/* Bericht */
.article-head { max-width: 820px; }
.article-meta { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--green-d); margin-bottom: 10px; }
.article-lead { font-size: 20px; color: var(--ink); margin: 0 0 28px; }
.article-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }
.article-body { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.article-body .prose { flex: 999 1 520px; min-width: 0; font-size: 18px; }
.article-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box-k { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.box-t { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; }
.box-list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: #dfe5d2; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lightbox { position: fixed; inset: 0; background: rgba(20,22,18,.94); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; background: #111; }
.lb-bar { width: min(1400px, 100%); display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: 15px; gap: 12px; }
.lb-cap { color: #d5d6d2; font-size: 15px; min-height: 1.4em; text-align: center; }
.lb-btn { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb-close { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.lb-nav { display: flex; gap: 12px; }
.lb-open { overflow: hidden; }

/* Merkzettel (Druck) */
.print-sheet { background: var(--white); max-width: 800px; margin: 32px auto; padding: 40px; border-radius: var(--radius); }
.print-sheet h1 { font-size: 40px; text-transform: uppercase; margin: 0 0 4px; }
.print-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.print-head img { width: 72px; height: 72px; }
.print-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.print-table td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.print-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); width: 1%; }
.print-actions { max-width: 800px; margin: 24px auto 0; display: flex; gap: 12px; padding: 0 24px; }
@media print {
  body { background: #fff; }
  .print-actions, .site-header, .site-footer, .adminbar, .banner { display: none !important; }
  .print-sheet { margin: 0; padding: 0; max-width: none; }
}

/* Kleine Bildschirme */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 44px; }
  .h-section { font-size: 30px; }
  .panel { padding: 20px 16px; }
  .evrow { padding: 14px 16px; }
  .evcard { padding: 16px; }
}

.mobile-only { display: none; }
@media (max-width: 960px) { .mobile-only { display: inline-flex; align-self: flex-start; } }
