/* Acher – Formensprache wie die Hoffest-Anmeldeseite (rund, weich, leicht), Farben Pflaume, Ton, Dämmerblau */
:root {
  --ground: #F5F0EB;
  --surface: #FFFFFF;
  --ink: #221C27;
  --muted: #6A6470;
  --hairline: rgba(34, 28, 39, 0.08);
  --line-strong: rgba(34, 28, 39, 0.16);
  --text-2: #4A4350;
  --plum: #4B2B3F;
  --plum-2: #64395A;
  --plum-dark: #3A2131;
  --hero: var(--plum);
  --hero-ink: #FBF3F2;
  --hero-muted: #DCC0CB;
  --hero-line: rgba(255, 255, 255, 0.16);
  --hero-numeral: #E8AE92;
  --clay: #D08A6E;
  --dusk: #2C3A52;
  --dusk-ink: #F5F0EB;
  --dusk-muted: #B9C4D6;
  --tint-termin: #F6E5DC;
  --kind-termin: #96492F;
  --tint-idee: #E3E8F1;
  --kind-idee: #42597A;
  --tint-rose: #F3E1E2;
  --light-pill: linear-gradient(90deg, #FFF6F2, #F6D6C6);
  --plum-pill: linear-gradient(90deg, #6A3D5E, #4B2B3F);
  --shadow: 0 8px 40px rgba(58, 40, 60, 0.06);
  --shadow-lift: 0 14px 44px rgba(58, 40, 60, 0.12);
  --r-xl: 40px;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 16px;
  --gutter: 40px;
  --display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --serif: var(--display);
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-2); }
button, input, textarea, select { font-family: inherit; color: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form.inline { display: inline; margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Rahmen */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.brand { font-family: var(--display); font-size: 17px; font-weight: 400; letter-spacing: 0.32em; text-decoration: none; padding: 8px 0; }
nav.main { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; background: var(--surface); padding: 5px; border-radius: 999px; box-shadow: var(--shadow); }
nav.main a { white-space: nowrap; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; text-decoration: none; position: relative; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s; }
nav.main a:hover { background: var(--tint-rose); color: var(--ink); }
nav.main a.active { background: var(--plum-pill); color: var(--hero-ink); }
nav.main .dot { position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 2px var(--surface); }
main { padding-top: 8px; padding-bottom: 120px; }

/* Typografie */
.label { font-size: 14px; font-weight: 500; color: var(--muted); }
.meta-caps { font-size: 14px; font-weight: 500; color: var(--muted); }
.serif { font-family: var(--display); font-weight: 300; letter-spacing: -0.01em; }
h1, h2, h3 { font-family: var(--display); font-weight: 200; margin: 0; letter-spacing: -0.015em; line-height: 1.05; }
em { font-style: normal; font-weight: 400; }
h1.page { font-size: clamp(48px, 8vw, 88px); line-height: 1; }
h1.page em, h2.section em, .sechead em { color: var(--plum-2); }
h2.section { font-size: clamp(36px, 5.5vw, 52px); line-height: 1.05; }
.lead { font-family: var(--display); font-weight: 300; font-size: 20px; line-height: 1.45; color: var(--text-2); margin: 0; }
.small { font-size: 14px; color: var(--muted); }
.stack { display: flex; flex-direction: column; }

/* Knöpfe: Pillen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { color: var(--ink); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.on, .btn.primary { background: var(--plum-pill); border-color: transparent; color: var(--hero-ink); box-shadow: 0 10px 30px rgba(75, 43, 63, 0.22); }
.btn.on:hover, .btn.primary:hover { color: var(--hero-ink); }
.btn.bare { background: transparent; border-color: transparent; box-shadow: none; padding: 0 6px; }
.btn.bare:hover { transform: none; box-shadow: none; color: var(--plum-2); }
.btn.taken { background: var(--tint-rose); border-color: transparent; color: var(--muted); cursor: default; box-shadow: none; transform: none; }
.link { display: inline-flex; align-items: center; background: none; border: none; padding: 0; height: 40px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: underline; text-underline-offset: 5px; }
.link:hover { color: var(--plum-2); }

/* Dunkle Flächen: Sterne und helle Pille */
.hero, .pub-hero .txt, .ev-head, .empty-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::after, .pub-hero .txt::after, .ev-head::after, .empty-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 14%, rgba(255,240,230,.7), transparent 60%),
    radial-gradient(1px 1px at 63% 42%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(2px 2px at 78% 18%, rgba(255,226,206,.8), transparent 60%),
    radial-gradient(1px 1px at 88% 61%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 94% 33%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 37% 38%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(420px 260px at 85% 0%, rgba(232,174,146,.20), transparent 70%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: .55; } 50% { opacity: 1; } 100% { opacity: .7; } }
.hero .btn, .pub-hero .btn, .ev-head .btn, .empty-hero .btn { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.35); color: var(--hero-ink); backdrop-filter: blur(6px); }
.hero .btn.on, .pub-hero .btn.on, .ev-head .btn.on, .empty-hero .btn.on { background: var(--light-pill); border-color: transparent; color: var(--plum); box-shadow: 0 12px 36px rgba(20, 8, 16, 0.25); }
.hero .btn.bare, .pub-hero .btn.bare { background: transparent; border-color: transparent; backdrop-filter: none; }
.hero a:not(.btn) { color: var(--hero-ink); }

/* Startseite Mitglieder */
.home { display: flex; flex-direction: column; gap: 72px; }
.hero { background: var(--hero); color: var(--hero-ink); display: flex; flex-wrap: wrap; min-height: 460px; border-radius: var(--r-xl); }
.hero .main { flex: 999 1 520px; padding: 52px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero .label { color: var(--hero-muted); }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; max-width: 680px; }
.hero h1 em { color: var(--hero-numeral); }
.hero .when { font-family: var(--display); font-size: 18px; font-weight: 400; color: var(--hero-muted); }
.hero .where { font-size: 16px; color: var(--hero-muted); }
.hero .side { flex: 1 1 280px; padding: 52px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: rgba(255,255,255,.05); }
.hero .numeral { font-family: var(--display); font-weight: 200; font-size: clamp(120px, 16vw, 190px); line-height: 0.8; color: var(--hero-numeral); }
.hero .need { font-size: 15px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 18px; align-self: flex-start; }
.actions { display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; }
.empty-hero { background: var(--hero); color: var(--hero-ink); padding: 52px 56px; display: flex; flex-direction: column; gap: 20px; border-radius: var(--r-xl); }
.empty-hero em { color: var(--hero-numeral); }

.lastrow { display: flex; align-items: center; gap: 20px 40px; padding: 36px 44px; background: var(--dusk); color: var(--dusk-ink); flex-wrap: wrap; border-radius: var(--r-lg); }
.lastrow .label, .lastrow .meta-caps { color: var(--dusk-muted); }
.lastrow .btn.primary { background: var(--light-pill); color: var(--dusk); }
.lastrow .label { flex: none; width: 120px; }
.lastrow .t { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.lastrow .t span.serif { font-size: 38px; line-height: 1.05; font-weight: 200; }
.lastrow em { color: #F3C6AF; }

.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 4px; }
.sechead a.meta-caps { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.grid article { background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.grid article:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.grid article.k-termin { background: var(--tint-termin); box-shadow: none; }
.grid article.k-idee { background: var(--tint-idee); box-shadow: none; }
.grid .kind { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.grid article.k-termin .kind { color: var(--kind-termin); }
.grid article.k-idee .kind { color: var(--kind-idee); }
.grid article.k-termin .kind::before, .grid article.k-idee .kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.grid .who-line { display: flex; align-items: center; gap: 10px; }
.grid .title { font-family: var(--display); font-weight: 300; font-size: 27px; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.grid .meta { font-size: 15px; color: var(--muted); }
.grid .foot { margin-top: auto; display: flex; gap: 14px; align-items: center; }

.lineform { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 26px; box-shadow: var(--shadow); }
.lineform input { flex: 1; min-width: 0; height: 52px; border: none; background: transparent; padding: 0; font-family: var(--display); font-weight: 300; font-size: 22px; outline: none; }
.lineform button { flex: none; height: 50px; padding: 0 24px; border: none; border-radius: 999px; background: var(--plum-pill); color: var(--hero-ink); font-size: 15px; font-weight: 500; }

/* Listen: Kalender, Ideen */
.page-stack { display: flex; flex-direction: column; gap: 56px; }
.month { font-family: var(--display); font-size: 24px; font-weight: 300; padding: 0 4px 14px; }
.row { display: flex; align-items: center; gap: 16px 32px; padding: 20px 28px; margin-bottom: 10px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); flex-wrap: wrap; }
.row .day { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--tint-termin); color: var(--kind-termin); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1; }
.row .day.faded { background: var(--ground); color: var(--muted); }
.row .body { flex: 1 1 320px; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.row .body .serif { font-size: 26px; line-height: 1.2; }
.row-acts { flex: none; display: flex; align-items: center; gap: 24px; }
.row .count { flex: none; font-size: 15px; color: var(--muted); }
.row .btn { min-width: 150px; }
.badge { font-size: 13px; font-weight: 600; color: var(--kind-termin); background: var(--tint-termin); border-radius: 999px; padding: 3px 12px; align-self: flex-start; }

.idea { display: flex; gap: 20px 40px; padding: 30px 32px; margin-bottom: 12px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); flex-wrap: wrap; align-items: flex-start; }
.idea .n { flex: none; width: 96px; height: 96px; border-radius: 50%; background: var(--tint-idee); color: var(--kind-idee); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; text-align: center; }
.idea .n .serif { font-size: 38px; line-height: 1; font-weight: 300; }
.idea .n .label { font-size: 11px; font-weight: 600; color: var(--kind-idee); }
.idea .body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.idea .body .serif { font-size: 32px; line-height: 1.15; }
.idea .body .text { font-size: 16px; color: var(--text-2); }
.idea .acts { flex: none; width: 220px; display: flex; flex-direction: column; gap: 8px; }
.idea .acts .btn { width: 100%; }

/* Rückblick */
.two { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.two > .wide { flex: 999 1 520px; min-width: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }
.two > .narrow { flex: 1 1 340px; min-width: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }
.msg { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.msg .text { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; background: var(--ground); border-radius: 6px 22px 22px 22px; padding: 12px 18px; align-self: flex-start; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--plum); }
.avatar.s { width: 38px; height: 38px; font-size: 17px; }
.avatar.l { width: 64px; height: 64px; font-size: 28px; }
.avatar.xl { width: 88px; height: 88px; font-size: 36px; }
img.avatar { object-fit: cover; background: var(--tint-rose); }
.photo-pick { display: flex; gap: 18px; align-items: center; }
.person { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.person:last-of-type { border-bottom: none; }
.person .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person .who .name { font-size: 16px; font-weight: 500; }
.person .who .about { font-size: 14px; color: var(--muted); }

/* Kalender: eigene Anmeldungen */
.mine-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mine-card { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--tint-rose); border-radius: var(--r-md); text-decoration: none; }
.mine-card .day { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--plum); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; }

/* Fragen bei der Anmeldung */
fieldset.question { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.question legend { font-family: var(--display); font-size: 17px; padding: 0 0 8px; }
fieldset.question .opt { font-family: var(--sans); font-size: 13px; color: var(--muted); }
fieldset.question textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; resize: vertical; }
.q-options { display: flex; flex-wrap: wrap; gap: 8px; }
.q-options .chip span { height: 40px; padding: 0 16px; font-size: 14px; }
.signup fieldset.question legend { color: var(--hero-ink); }
.signup fieldset.question .opt { color: var(--hero-muted); }
.signup .q-options .chip span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: var(--hero-ink); }
.signup .q-options .chip input:checked + span { background: var(--light-pill); color: var(--plum); }
.signup fieldset.question textarea { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.angaben { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.angaben.missing { box-shadow: 0 0 0 2px var(--clay), var(--shadow); }
.angaben h3 { font-size: 26px; font-weight: 300; }
.rides { background: var(--tint-idee); border-radius: var(--r-md); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.sum-card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-top: 1px solid var(--hairline); padding-top: 6px; }

.btn.danger { background: #8A2E1F; border-color: #8A2E1F; color: #fff; }
.btn.danger:hover { color: #fff; background: #73251A; }
ul.plain { margin: 4px 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* Telegram */
.btn.tg { background: linear-gradient(90deg, #37AEE2, #1E96C8); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(30, 150, 200, 0.25); }
.btn.tg:hover { color: #fff; }
.tg-form { margin: 0; }
.or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.signup .or { color: var(--hero-muted); }
.signup .or::before, .signup .or::after { background: rgba(255,255,255,.25); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }

/* Bilder im Rückblick */
.photos-box { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.photos figure { margin: 0; position: relative; }
.photos .ph-img { position: relative; border-radius: var(--r-sm); overflow: hidden; }
.photos .ph-img > a { display: block; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .35s; }
.photos a:hover img { transform: scale(1.03); }
.photos .by { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 16px);
  padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(34, 22, 32, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 12px; font-weight: 500; pointer-events: none; }
.photos .by img, .photos .by .ini { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; aspect-ratio: auto; flex: none; transform: none !important; }
.photos .by .ini { display: inline-flex; align-items: center; justify-content: center; color: var(--plum); font-family: var(--display); font-size: 11px; }
.photos .by span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photos .del { position: absolute; top: 6px; right: 6px; margin: 0; opacity: 0; transition: opacity .2s; }
.photos figure:hover .del, .photos .del:focus-within { opacity: 1; }
@media (hover: none) { .photos .del { opacity: .85; } }
.photos .del button { width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(34, 22, 32, .55); color: #fff; font-size: 16px; line-height: 1; }
.private-note { margin: -8px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.private-note svg { flex: none; color: var(--plum-2); }
.photos .ph-action { margin: 4px 0 0; text-align: center; }
.photos .ph-action .link { height: 28px; font-size: 12px; color: var(--muted); text-decoration-color: var(--line-strong); }
.photos figure.is-hidden .ph-img > a { opacity: .35; }
.photos .ph-flag { position: absolute; top: 8px; left: 8px; background: rgba(138, 46, 31, .85); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.photos .ph-placeholder { text-decoration: none; aspect-ratio: 1; border-radius: var(--r-sm); border: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-size: 12px; color: var(--muted); background: var(--ground); }
.noshare { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.save-state { position: fixed; right: 16px; bottom: 16px; z-index: 8; background: var(--surface); color: var(--muted); font-size: 13px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-lift); opacity: 0; transition: opacity .3s; pointer-events: none; }
.save-state.show { opacity: 1; }
.save-state.err { color: #8A2E1F; }
.upload .left { opacity: .75; font-weight: 400; }
.lightbox { border: none; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; overflow: visible; min-width: min(80vw, 320px); }
.lightbox img { min-height: 120px; background: rgba(255,255,255,.06); }
.lightbox img.broken { display: none; }
.lightbox::backdrop { background: rgba(20, 12, 18, .82); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: var(--r-md); margin: 0 auto; }
.lightbox .cap { color: #fff; text-align: center; font-size: 14px; margin: 10px 0 0; opacity: .85; }
.lightbox .lb-hide { text-align: center; margin: 12px 0 0; }
.lightbox .lb-hide .btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--plum); font-size: 30px; line-height: 1; padding-bottom: 4px; box-shadow: var(--shadow-lift); }
.lightbox .lb-nav.prev { left: -62px; }
.lightbox .lb-nav.next { right: -62px; }
@media (max-width: 900px) { .lightbox .lb-nav.prev { left: 8px; } .lightbox .lb-nav.next { right: 8px; } .lightbox .lb-nav { background: rgba(255,255,255,.75); } }
.lightbox .close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--plum); font-size: 22px; box-shadow: var(--shadow-lift); }
.upload label { cursor: pointer; }
.upload.busy label { opacity: .6; pointer-events: none; }

/* Nachrichten */
.bubble { padding: 10px 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bubble.mine { align-items: flex-end; text-align: right; }
.bubble .text { font-size: 17px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; background: var(--surface); border-radius: 22px 22px 22px 6px; padding: 12px 18px; box-shadow: var(--shadow); max-width: 85%; }
.bubble.mine .text { background: var(--plum); color: var(--hero-ink); border-radius: 22px 22px 6px 22px; }

/* Profil und Formulare */
.setting { display: flex; gap: 16px 40px; padding: 30px 32px; margin-bottom: 12px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); flex-wrap: wrap; }
.setting > .serif { flex: none; width: 200px; font-size: 26px; line-height: 1.2; }
.setting > .ctl { flex: 1 1 400px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; transition: background .15s, border-color .15s; }
.chip span:hover { background: var(--tint-rose); }
.chip input:checked + span { background: var(--plum-pill); border-color: transparent; color: var(--hero-ink); }
.chip input:checked + span::before { content: "✓"; margin-right: 8px; font-size: 13px; }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label-s { font-family: var(--display); font-size: 17px; font-weight: 400; color: var(--ink); }
.field input:not([type=checkbox]):not([type=radio]), .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); padding: 14px 18px; font-size: 16px; outline: none; border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.field input:not([type=checkbox]):not([type=radio]):focus, .field textarea:focus, .field select:focus { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(208, 138, 110, 0.18); }
.field input.big { font-family: var(--display); font-weight: 300; font-size: 24px; padding: 14px 20px; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input[type=file] { border-style: dashed; background: var(--ground); }
.fieldrow { display: flex; gap: 16px; flex-wrap: wrap; }
.fieldrow .field { flex: 1 1 150px; }
.check { display: flex; gap: 12px; align-items: center; font-size: 15px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; }
.copy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; width: 100%; }
.copy input { flex: 1 1 260px; min-width: 0; height: 44px; border: 1px solid var(--line-strong); background: var(--ground); padding: 0 16px; font-size: 14px; border-radius: 999px; }
.error { color: #8A2E1F; font-size: 15px; background: #FBE6E0; padding: 12px 18px; border-radius: var(--r-sm); margin: 0; }

/* Panel von rechts */
.scrim { position: fixed; inset: 0; background: rgba(34, 22, 32, 0.35); backdrop-filter: blur(3px); display: flex; justify-content: flex-end; z-index: 5; }
.scrim > .close-area { position: absolute; inset: 0; }
.panel { position: relative; width: 520px; max-width: 100%; height: 100%; overflow-y: auto; background: var(--ground); padding: 40px; display: flex; flex-direction: column; gap: 28px; border-radius: var(--r-xl) 0 0 var(--r-xl); box-shadow: -20px 0 60px rgba(34, 22, 32, 0.15); }
.panel .head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.panel .x { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(36px, 7vw, 48px); line-height: 1.05; }
.panel .text { margin: 0; font-size: 17px; color: var(--text-2); white-space: pre-line; }
.panel img.preview-img { border-radius: var(--r-md); }
.needs-group { display: flex; flex-direction: column; gap: 8px; }
.needs-head { font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 4px 0; }
.needrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 22px; background: var(--ground); border-radius: 999px; }
.panel .needrow { background: var(--surface); }
.needrow .need-label { font-size: 16px; font-weight: 500; }
.needrow.mine { background: var(--tint-rose); }
.needrow.done .need-label { color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); align-self: flex-start; }
.tabs a { height: 40px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--text-2); }
.tabs a.active { background: var(--plum-pill); color: var(--hero-ink); }
body.has-panel { overflow: hidden; }

/* Meldung */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 8; max-width: calc(100% - 32px); background: var(--plum-pill); color: var(--hero-ink); padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; text-align: center; box-shadow: 0 16px 40px rgba(34, 22, 32, 0.25); transition: opacity .4s, transform .4s; animation: pop .35s ease-out; }
.toast.gone { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 14px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* Einstieg ohne Login */
.solo { max-width: 560px; padding-top: 8vh; display: flex; flex-direction: column; gap: 28px; }
.solo h1 em { color: var(--plum-2); }

/* Admin */
table.list { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
table.list td, table.list th { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.list th { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--tint-rose); }
.who-cell { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
table.members td { vertical-align: middle; }
.rename { display: flex; gap: 8px; align-items: center; margin: 0; }
.rename input { border: 1px solid transparent; background: transparent; padding: 6px 10px; border-radius: 10px; font-size: 15px; min-width: 0; width: 160px; }
.rename input:hover, .rename input:focus { border-color: var(--line-strong); background: var(--surface); outline: none; }
.rename button { opacity: 0; }
.rename:focus-within button { opacity: 1; }
.scroll-x { overflow-x: auto; border-radius: var(--r-md); }

/* Öffentliche Seiten */
.pub { display: flex; flex-direction: column; gap: 80px; }
.pub-hero { background: var(--plum); color: var(--hero-ink); display: flex; flex-wrap: wrap; min-height: 500px; border-radius: var(--r-xl); overflow: hidden; }
.pub-hero .txt { flex: 999 1 480px; padding: 60px 56px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.pub-hero h1 { font-size: clamp(56px, 9vw, 108px); line-height: 0.98; font-weight: 200; }
.pub-hero h1 em { color: var(--hero-numeral); }
.pub-hero p { margin: 0; font-family: var(--display); font-weight: 300; font-size: 22px; line-height: 1.45; color: var(--hero-muted); max-width: 580px; }
.pub-hero .img { flex: 1 1 380px; min-height: 320px; background: var(--plum-dark) center / cover no-repeat; }
.pub-hero.with-img { flex-direction: column; min-height: 0; }
.pub-hero.with-img .img { flex: none; width: 100%; aspect-ratio: 21 / 9; min-height: 0; background-position: center 60%; }
.pub-hero.with-img .txt { flex: none; padding-top: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); text-decoration: none; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .pic { aspect-ratio: 16 / 10; background: var(--tint-termin) center / cover no-repeat; position: relative; }
.card .pic .date { position: absolute; left: 16px; bottom: 16px; background: rgba(75, 43, 63, .82); backdrop-filter: blur(8px); color: var(--hero-ink); padding: 8px 18px 8px 14px; border-radius: 999px; display: flex; align-items: baseline; gap: 8px; }
.card .pic .date .serif { font-size: 26px; line-height: 1; color: var(--hero-numeral); }
.card .pic .date .meta-caps { color: var(--hero-muted) !important; }
.card .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.card .body .serif { font-size: 28px; line-height: 1.15; }
.card .body .teaser { font-size: 15px; color: var(--text-2); }
.band { padding: 52px 56px; display: flex; gap: 28px 64px; flex-wrap: wrap; border-radius: var(--r-xl); }
.band.rose { background: var(--tint-rose); }
.band.rose h2 em { color: var(--plum-2); }
.band.dusk { background: var(--dusk); color: var(--dusk-ink); }
.band.dusk h2 em { color: #F3C6AF; }
.band.dusk .label, .band.dusk .small { color: var(--dusk-muted); }
.band.dusk a:not(.btn) { color: var(--dusk-ink); }
.band.dusk .btn.primary { background: var(--light-pill); color: var(--dusk); }
.band.plain { background: var(--surface); box-shadow: var(--shadow); }
.band > .head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.band > .head h2 { font-size: clamp(38px, 5.5vw, 56px); line-height: 1.05; }
.band > .text { flex: 2 1 420px; font-size: 18px; line-height: 1.65; white-space: pre-line; display: flex; flex-direction: column; gap: 24px; }
footer.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 48px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }

/* Anlass-Seite */
.ev-hero { display: flex; flex-direction: column; gap: 0; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.ev-hero .cover-full { display: block; width: 100%; height: auto; }
.cover-tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; z-index: 2; }
.cover-tools form { margin: 0; }
.cover-tools .btn { background: rgba(255,255,255,.88); backdrop-filter: blur(6px); }
.ev-hero .pic { aspect-ratio: 21 / 9; background: var(--tint-termin) center / cover no-repeat; }
.ev-head { background: var(--plum); color: var(--hero-ink); padding: 44px 56px; display: flex; gap: 24px 48px; flex-wrap: wrap; align-items: flex-end; }
.ev-head .t { flex: 999 1 480px; display: flex; flex-direction: column; gap: 16px; }
.ev-head h1 { font-size: clamp(46px, 8vw, 84px); line-height: 1.02; }
.ev-head h1 em { color: var(--hero-numeral); }
.ev-head .when { font-family: var(--display); font-size: 19px; font-weight: 400; color: var(--hero-muted); }
.ev-head .teaser { margin: 0; font-family: var(--display); font-weight: 300; font-size: 21px; line-height: 1.45; color: var(--hero-muted); max-width: 640px; }
.ev-head .numeral { flex: none; font-family: var(--display); font-weight: 200; font-size: clamp(96px, 14vw, 170px); line-height: 0.8; color: var(--hero-numeral); }
.ev-body { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.ev-body > .wide { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ev-body > .wide > * { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px 36px; }
.ev-body > .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.ev-body .text { font-size: 18px; line-height: 1.7; white-space: pre-line; margin: 0; }
.ev-body .month { padding: 0 0 10px; }
.prog { display: flex; flex-direction: column; }
.prog .head { font-family: var(--display); font-weight: 300; font-size: 24px; padding: 22px 0 8px; display: flex; align-items: center; gap: 10px; }
.prog .head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--tint-termin); }
.prog .head:first-child { padding-top: 0; }
.prog .item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 17px; }
.prog .item .time { font-family: var(--display); font-weight: 400; color: var(--kind-termin); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts { display: flex; flex-direction: column; }
.facts .f { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 16px; }
.facts .f .k { flex: none; width: 110px; font-size: 14px; font-weight: 600; color: var(--muted); }
.facts .f .v { white-space: pre-line; overflow-wrap: anywhere; }
.signup { background: linear-gradient(170deg, #64395A 0%, #4B2B3F 55%, #3A2131 100%); color: var(--hero-ink); padding: 34px; display: flex; flex-direction: column; gap: 18px; border-radius: var(--r-xl); box-shadow: 0 20px 50px rgba(58, 33, 49, 0.25); }
.signup h2 { font-size: 36px; line-height: 1.05; font-weight: 200; }
.signup .small, .signup p { color: var(--hero-muted) !important; }
.signup a { color: var(--hero-ink); }
.signup .field label { color: var(--hero-ink); }
.signup .field input { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.signup .field input::placeholder { color: rgba(255,255,255,.55); }
.signup .field input:focus { border-color: var(--hero-numeral); box-shadow: 0 0 0 4px rgba(232, 174, 146, .25); }
.signup .check { color: var(--hero-ink); }
.signup .check input { accent-color: var(--hero-numeral); }
.signup .btn.primary { background: var(--light-pill); color: var(--plum); box-shadow: 0 12px 36px rgba(20, 8, 16, 0.3); }
.signup .link { color: var(--hero-muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s; }
.share a:hover, .share button:hover { background: var(--tint-rose); color: var(--ink); }
.share .native { background: var(--plum-pill); border-color: transparent; color: var(--hero-ink); }
.share-box { background: var(--tint-idee); padding: 22px 28px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-lg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vis { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 999px; align-self: flex-start; }
.vis::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vis.public { background: var(--tint-idee); color: var(--kind-idee); }
.vis.community { background: var(--tint-termin); color: var(--kind-termin); }
.vis.invite { background: var(--tint-rose); color: var(--plum); }

/* Formular Anlass */
.form-sec { display: flex; gap: 16px 40px; padding: 32px 36px; margin-bottom: 14px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); flex-wrap: wrap; }
.form-sec > .serif { flex: none; width: 200px; font-size: 26px; line-height: 1.2; }
.form-sec > .ctl { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hint { font-size: 14px; color: var(--muted); margin: -12px 0 0; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.radio-cards label { position: relative; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); height: 100%; transition: background .15s, border-color .15s; }
.radio-cards span b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.radio-cards span small { font-size: 14px; color: var(--muted); }
.radio-cards input:checked + span { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); background: var(--tint-rose); }
.radio-cards input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.invite-list { max-height: 340px; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.invite-list label { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink); display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--hairline); min-height: 44px; }
.invite-list input { width: 20px; height: 20px; accent-color: var(--plum); }
.preview-img { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--r-md); }

/* Handy */
.mob-only { display: none !important; }
@media (max-width: 720px) {
  .mob-only { display: inline-flex !important; }
  :root { --gutter: 14px; --r-xl: 30px; --r-lg: 24px; }
  header.top { padding-top: 16px; padding-bottom: 14px; }
  nav.main { gap: 2px; width: 100%; justify-content: space-between; padding: 4px; }
  nav.main a { font-size: 14px; padding: 0 8px; height: 38px; flex: 1 1 auto; justify-content: center; white-space: nowrap; }
}
@media (max-width: 380px) {
  nav.main a { font-size: 12.5px; padding: 0 5px; }
  nav.main { gap: 0; }
  main { padding-bottom: 96px; }
  .home { gap: 40px; }
  .page-stack { gap: 36px; }
  .hero { min-height: 0; }
  .hero .main, .hero .side, .empty-hero { padding: 28px 24px; }
  .hero .main { gap: 24px; }
  .hero .side { flex-direction: row; align-items: flex-end; gap: 20px; }
  .hero .side .stack { flex: 1; min-width: 0; }
  .hero .numeral { font-size: 88px; }
  .lastrow { padding: 26px 24px; }
  .lastrow .label { width: auto; }
  .lastrow .t span.serif { font-size: 30px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .grid article { padding: 24px; min-height: 0; }
  .lineform { padding-left: 20px; }
  .lineform input { font-size: 18px; }
  .lineform button { padding: 0 18px; }
  .row { gap: 12px 16px; padding: 16px 18px; }
  .row .day { width: 56px; height: 56px; font-size: 26px; }
  .row .body { flex: 1 1 0; }
  .row .body .serif { font-size: 22px; }
  .row-acts { flex: 1 1 100%; justify-content: space-between; gap: 12px; }
  .row .btn { min-width: 0; }
  .idea { gap: 16px; padding: 22px; }
  .idea .n { width: 72px; height: 72px; }
  .idea .n .serif { font-size: 28px; }
  .idea .body .serif { font-size: 26px; }
  .idea .acts { width: 100%; }
  .two > .wide, .two > .narrow { padding: 22px; }
  .photos-box { padding: 22px; }
  .photos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .msg .text { font-size: 16px; }
  .setting { padding: 22px; }
  .setting > .serif { width: 100%; font-size: 23px; }
  .setting > .ctl { flex-basis: 100%; }
  .panel { padding: 22px 16px 40px; gap: 22px; border-radius: 0; }
  .btn.lg { padding: 0 24px; height: 54px; }
  .solo { padding-top: 4vh; }
  .lead { font-size: 18px; }
  .pub { gap: 44px; }
  .pub-hero { min-height: 0; }
  .pub-hero .txt { padding: 30px 24px 32px; }
  .pub-hero p { font-size: 18px; }
  .pub-hero .img { min-height: 220px; order: -1; }
  .pub-hero.with-img .img { aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: 1fr; }
  .band { padding: 30px 24px; }
  .ev-hero .pic { aspect-ratio: 4 / 3; }
  .ev-head { padding: 28px 24px; }
  .ev-head .numeral { display: none; }
  .ev-body > .wide > * { padding: 24px 22px; }
  .ev-body > .side { position: static; }
  .prog .item { grid-template-columns: 84px 1fr; }
  .facts .f { flex-direction: column; gap: 2px; }
  .signup { padding: 26px 22px; }
  .form-sec { padding: 24px 20px; }
  .form-sec > .serif { width: 100%; font-size: 23px; }
}
.tg-widget { min-height: 44px; display: flex; align-items: center; }
.tg-widget iframe { max-width: 100%; }

/* Nachfrage vor «Kontakt anfragen» */
.ask { border: none; border-radius: var(--r-lg); padding: 30px 28px 26px; max-width: min(92vw, 440px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.ask::backdrop { background: rgba(20, 12, 18, .55); backdrop-filter: blur(3px); }
.ask .ask-emoji { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.ask h2 { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.ask p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.ask .ask-actions { display: flex; flex-direction: column; gap: 10px; }
.ask .ask-actions .btn { justify-content: center; white-space: normal; text-align: center; }
/* Formular auf dunklem Band (Einladung) */
.band.dusk .field label { color: rgba(255, 255, 255, .88); }
.band.dusk .small, .band.dusk .small a { color: rgba(255, 255, 255, .72); }

/* Kalender: Bild des Anlasses */
.hero.with-img .hero-img { flex: 1 1 100%; min-height: clamp(200px, 32vw, 340px); background: var(--plum-dark) center / cover no-repeat; }
.row .day.img { background-size: cover; background-position: center; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); border-radius: 22px; }

/* Kalender: rechts der Anfang der Beschreibung statt Datumsziffer */
.hero .teaser-side { flex: 1 1 420px; justify-content: flex-end; gap: 18px; }
.hero .hero-teaser { margin: 0; font-family: var(--display); font-weight: 300; font-size: 19px; line-height: 1.5; color: var(--hero-ink); white-space: pre-line; }
.hero .teaser-side .more { color: var(--hero-numeral); text-decoration: none; font-weight: 500; }
@media (max-width: 700px) { .hero .teaser-side { flex-direction: column; align-items: flex-start; } .hero .hero-teaser { font-size: 18px; } }

/* Bilder vom Acher (Startseite) */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 260px), 1fr)); gap: 10px; }
.gal a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1200 / 630; background: var(--ground); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gal a:hover img { transform: scale(1.03); }
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; width: 100%; }
.gal-admin label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.gal-admin img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r-sm); }

/* Nutzen */
.use-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.use-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); text-decoration: none; color: inherit; border: 2px solid transparent; }
.use-card.on { border-color: var(--plum-2); }
.use-card .emoji { font-size: 30px; line-height: 1; }
.use-card .serif { font-size: 22px; }
.use-card .go { margin-top: auto; padding-top: 6px; color: var(--plum-2); font-weight: 500; font-size: 15px; }
.use-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.flabel { font-size: 15px; font-weight: 500; }
.badge.ok { background: var(--tint-idee); color: var(--kind-idee); }
/* Sechs Punkte in der Navigation: auf dem Handy in einer Zeile */
@media (max-width: 480px) { nav.main { flex-wrap: nowrap; gap: 0; } nav.main a { font-size: 13px; padding: 0 6px; flex: 1 1 auto; } }
@media (max-width: 360px) { nav.main a { font-size: 11.5px; padding: 0 3px; } }

/* Werde Acherista */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px 20px; }
.perks li { display: flex; gap: 10px; align-items: baseline; line-height: 1.4; }
.perks li span { flex: none; width: 1.4em; text-align: center; }
