/* BMC Laichingen – Stylesheet */
:root {
  --rot: #8c1c2b;
  --rot-dunkel: #5e1019;
  --gold: #c9a44c;
  --gold-hell: #e8cf8a;
  --tinte: #1e1a1d;
  --text: #2f2a2c;
  --muted: #6f6669;
  --papier: #f7f2e8;
  --papier-dunkel: #ede4d3;
  --weiss: #fffdf9;
  --linie: #e2d8c6;
  --radius: 14px;
  --schatten: 0 10px 30px -12px rgba(40, 20, 25, .25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--text); background: var(--weiss); }
img { max-width: 100%; display: block; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
h1, h2, h3 { font-family: var(--serif); color: var(--tinte); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--tinte); }
.brand__stamp {
  display: grid; place-items: center; width: 50px; height: 56px;
  font: 700 .78rem/1 var(--serif); letter-spacing: .02em; color: var(--weiss);
  background: var(--rot);
  outline: 2px dashed var(--gold-hell); outline-offset: -6px;
  border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--serif); font-size: 1.15rem; }
.brand__text small { color: var(--muted); font-size: .78rem; }
.nav { display: flex; gap: .3rem; }
.nav a {
  white-space: nowrap;
  text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem;
  padding: .5rem .85rem; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--papier); color: var(--rot); }
.nav-toggle { display: none; background: none; border: 1px solid var(--linie); border-radius: 8px; font-size: 1.3rem; padding: .3rem .7rem; cursor: pointer; }

@media (max-width: 1100px) {
  .brand__text small { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; inset: 70px 0 auto 0; flex-direction: column;
    background: var(--weiss); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
  }
  .nav.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; cursor: pointer;
  font: 600 .98rem/1 var(--sans); padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--tinte); box-shadow: 0 6px 18px -6px rgba(201,164,76,.7); }
.btn--gold:hover { background: var(--gold-hell); color: var(--tinte); }
.btn--ghost { color: var(--weiss); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--weiss); }
.btn--outline { color: var(--rot); border-color: var(--rot); background: transparent; }
.btn--outline:hover { background: var(--rot); color: var(--weiss); }
.btn--rot { background: var(--rot); color: var(--weiss); }
.btn--rot:hover { background: var(--rot-dunkel); color: var(--weiss); }
.btn--klein { padding: .5rem .9rem; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--weiss); overflow: hidden; background: var(--rot-dunkel); }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(2px) saturate(1.1); transform: scale(1.05); opacity: .45;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(40,8,14,.95) 0%, rgba(94,16,25,.85) 45%, rgba(94,16,25,.35) 100%);
}
.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center;
  padding-block: clamp(4rem, 10vw, 7.5rem);
}
.hero h1 { color: var(--weiss); }
.hero .lead { font-size: 1.2rem; max-width: 36ch; color: rgba(255,255,255,.88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--rot); margin-bottom: .8rem; }
.hero .eyebrow, .eyebrow--gold { color: var(--gold-hell); }

.nextmeet {
  background: var(--weiss); color: var(--text); padding: 2rem; border-radius: 6px; position: relative;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,.6); transform: rotate(1.5deg);
  outline: 2px dashed var(--gold); outline-offset: -12px;
}
.nextmeet p { margin: 0; }
.nextmeet__label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--rot); }
.nextmeet__date { font: 700 1.6rem/1.2 var(--serif); color: var(--tinte); margin: .5rem 0 .2rem !important; }
.nextmeet__time { font-size: 1.15rem; font-weight: 600; color: var(--rot); margin-bottom: 1rem !important; }
.nextmeet__place { color: var(--muted); }
.nextmeet__hint { margin-top: 1rem !important; padding-top: 1rem; border-top: 1px solid var(--linie); font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .nextmeet { transform: none; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--paper { background: var(--papier); }
.section--dark { background: var(--tinte); color: rgba(255,255,255,.85); }
.section--dark h2 { color: var(--weiss); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.small { font-size: .85rem; opacity: .75; margin-top: 1.2rem; }
.empty { padding: 1.5rem; background: var(--weiss); border-radius: var(--radius); border: 1px dashed var(--linie); }

.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts li {
  background: var(--papier); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column;
  border: 1px solid var(--linie);
}
.facts__num { font: 700 2.2rem/1 var(--serif); color: var(--rot); margin-bottom: .4rem; }
.facts li span:last-child { color: var(--muted); font-size: .95rem; }

/* ---------- Termine (Briefmarken-Look) ---------- */
.termine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.termin {
  display: flex; gap: 1.3rem; background: var(--weiss); padding: 1.4rem; border-radius: var(--radius);
  box-shadow: var(--schatten); transition: transform .2s, box-shadow .2s;
}
.termin:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(40,20,25,.35); }
.termin__stamp {
  flex: 0 0 86px; height: 104px; padding: 7px; align-self: flex-start;
  /* Perforation: weißes Papier mit runden "Löchern" am Rand */
  background: radial-gradient(circle at center, transparent 3.2px, #fff 3.7px) -6px -6px / 12px 12px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
  transform: rotate(-2deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  position: relative; isolation: isolate; color: var(--weiss);
}
.termin:nth-child(even) .termin__stamp { transform: rotate(1.5deg); }
.termin__stamp::before {
  content: ""; position: absolute; inset: 7px; background: var(--rot); z-index: -1;
  outline: 1px solid rgba(255,255,255,.35); outline-offset: -4px;
}
.termin__tag { font: 700 2.1rem/1 var(--serif); }
.termin__monat { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; margin-top: .2rem; }
.termin__jahr { font-size: .7rem; opacity: .8; }
.termin--versammlung .termin__stamp::before { background: #1f4e5f; }
.termin--ausflug .termin__stamp::before { background: #3b6b3a; }
.termin--feier .termin__stamp::before { background: #a8741a; }
.termin--ausstellung .termin__stamp::before { background: #4b3f7a; }
.termin--sonstiges .termin__stamp::before { background: #5a5356; }
.termin__body { min-width: 0; }
.termin__body h3 { margin: .45rem 0 .35rem; }
.termin__meta { color: var(--muted); font-size: .92rem; }
.termin__body p:last-child { margin-bottom: 0; }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--papier-dunkel); color: var(--rot-dunkel); padding: .25rem .6rem; border-radius: 999px;
}

.archiv { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie); }
.archiv li { display: flex; gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.archiv time { color: var(--muted); min-width: 16rem; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card__icon {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--papier); border-radius: 50%; margin-bottom: 1.2rem;
}
.card p { color: var(--muted); margin: 0; }

/* ---------- Beitritt ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1rem;
  border-radius: 50%; aspect-ratio: 1; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #f3dc9c, var(--gold) 55%, #8c6d24);
  color: var(--tinte); box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), inset 0 0 0 9px rgba(0,0,0,.12), 0 15px 30px -10px rgba(0,0,0,.6);
}
.price__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.price__value { font: 700 clamp(2.2rem, 5vw, 3rem)/1.1 var(--serif); }
.price__per { font-size: .85rem; }

/* ---------- Kontakt ---------- */
.contact { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact li { display: flex; gap: 1rem; align-items: flex-start; }
.contact li > span {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center; background: var(--papier); border-radius: 50%;
}
.place { background: var(--papier); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--linie); }

/* ---------- Unterseiten ---------- */
.pagehead { background: linear-gradient(110deg, var(--tinte), var(--rot-dunkel)); color: rgba(255,255,255,.85); padding-block: 3.5rem; }
.pagehead h1 { color: var(--weiss); font-size: clamp(2rem, 4vw, 3rem); }
.pagehead .lead { max-width: 60ch; font-size: 1.1rem; margin: 0; }
.prose .wrap { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--tinte); color: rgba(255,255,255,.7); font-size: .9rem; padding-block: 2.5rem; border-top: 4px solid var(--gold); }
.footer__inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer strong { color: var(--weiss); }
.footer__nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: var(--gold-hell); }

/* ---------- Admin ---------- */
.admin-body { background: var(--papier); }
.admin-bar { background: var(--tinte); color: var(--weiss); }
.admin-bar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 60px; gap: 1rem; flex-wrap: wrap; }
.admin-bar a, .admin-bar button { color: var(--gold-hell); }
.admin-bar nav { display: flex; gap: 1rem; align-items: center; }
.admin-main { padding-block: 2.5rem 4rem; }
.panel { background: var(--weiss); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten); margin-bottom: 2rem; }
.linkbutton { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th, .tabelle td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tabelle tr.vergangen td { opacity: .55; }
.tabelle .aktionen { white-space: nowrap; display: flex; gap: .4rem; }
.tabelle .aktionen form { margin: 0; }
@media (max-width: 760px) {
  .tabelle thead { display: none; }
  .tabelle tr { display: block; border-bottom: 1px solid var(--linie); padding: .6rem 0; }
  .tabelle td { display: block; border: 0; padding: .2rem 0; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.form-grid .voll { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
input[type=text], input[type=password], input[type=date], input[type=time], input[type=tel], input[type=email], input[type=number], input[type=url], select, textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--linie); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.checkbox { display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.hinweis { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.5rem; background: #e9f4e6; color: #24521f; border: 1px solid #c6e2bf; }
.hinweis--fehler { background: #fbeaea; color: #7a1c1c; border-color: #efc4c4; }
.login { max-width: 420px; margin: 8vh auto; }

/* ---------- Aktionen / Berichte ---------- */
.termin--jugend .termin__stamp::before { background: #2b6c8f; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.berichte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.bericht-karte { background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); transition: transform .2s, box-shadow .2s; }
.bericht-karte:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(40,20,25,.4); }
.bericht-karte__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.bericht-karte__link:hover { color: inherit; }
.bericht-karte__bild { position: relative; aspect-ratio: 4 / 3; background: var(--papier-dunkel); overflow: hidden; }
.bericht-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bericht-karte:hover .bericht-karte__bild img { transform: scale(1.05); }
.bericht-karte__platzhalter { display: grid; place-items: center; height: 100%; font-size: 3rem; opacity: .5; }
.bericht-karte__anzahl {
  position: absolute; right: .7rem; bottom: .7rem; background: rgba(30,26,29,.75); color: #fff;
  font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.bericht-karte__body { padding: 1.2rem 1.4rem 1.5rem; }
.bericht-karte__meta { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.bericht-karte h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.bericht-karte__body > p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }

.filter { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; }
.filter__gruppe { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__jahr select { width: auto; min-width: 9rem; }
.chip {
  text-decoration: none; color: var(--text); background: var(--weiss); border: 1px solid var(--linie);
  padding: .45rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: all .15s;
}
.chip:hover { border-color: var(--rot); color: var(--rot); }
.chip--aktiv, .chip--aktiv:hover { background: var(--rot); border-color: var(--rot); color: var(--weiss); }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2.5rem; color: var(--muted); }

.zurueck { color: var(--gold-hell); text-decoration: none; font-size: .9rem; }
.zurueck:hover { color: var(--weiss); }
.bericht__text { max-width: 720px; font-size: 1.08rem; margin-bottom: 2.5rem; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.galerie figure { margin: 0; }
.galerie a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--papier-dunkel); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.galerie a:hover img { transform: scale(1.05); }
.galerie figcaption { font-size: .85rem; color: var(--muted); padding: .4rem .2rem 0; }
.bericht__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.bericht__nav a { text-decoration: none; max-width: 45%; font-family: var(--serif); font-size: 1.05rem; }
.bericht__nav small { font-family: var(--sans); color: var(--muted); font-size: .8rem; }
.bericht__nav .rechts { text-align: right; margin-left: auto; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15, 10, 12, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); margin: auto; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: .8rem; font-size: .95rem; }
.lightbox button { position: fixed; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__zu { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Admin: Bildverwaltung ---------- */
.admin-tabs { display: flex; gap: .5rem; }
.dropzone {
  border: 2px dashed var(--linie); border-radius: var(--radius); padding: 2rem; text-align: center;
  background: var(--papier); transition: border-color .2s, background .2s; cursor: pointer;
}
.dropzone.ueber { border-color: var(--gold); background: #fbf3dd; }
.dropzone input { display: none; }
.upload-status { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9rem; }
.upload-status li { padding: .2rem 0; }
.bildliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.bildliste__item { background: var(--papier); border-radius: 10px; padding: .6rem; border: 1px solid var(--linie); }
.bildliste__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: .5rem; }
.bildliste__item input[type=text] { padding: .45rem .6rem; font-size: .85rem; }
.bildliste__zeile { display: flex; gap: .4rem; align-items: center; justify-content: space-between; margin-top: .45rem; font-size: .85rem; }
.bildliste__zeile .checkbox { font-size: .85rem; }
.admin-thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }

/* ---------- Frei gestaltete Inhaltsseiten (Angebote) ---------- */
.inhalt { max-width: 780px; font-size: 1.08rem; }
.inhalt > :first-child { margin-top: 0; }
.inhalt h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.2em 0 .5em; padding-bottom: .35em;
  border-bottom: 2px solid var(--papier-dunkel); position: relative;
}
.inhalt h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.5rem; height: 2px; background: var(--gold); }
.inhalt h3 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.inhalt ul, .inhalt ol { padding-left: 1.4em; margin: 0 0 1em; }
.inhalt li { margin-bottom: .35em; }
.inhalt ul li::marker { color: var(--rot); }
.inhalt blockquote {
  margin: 1.5em 0; padding: 1.1em 1.4em; background: var(--papier); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05em;
}
.inhalt img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: var(--schatten); margin: .5em 0; }
.inhalt a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inhalt hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-align-center img { margin-inline: auto; }
.ql-indent-1 { padding-left: 2em; } .ql-indent-2 { padding-left: 4em; } .ql-indent-3 { padding-left: 6em; }
li.ql-indent-1 { margin-left: 1.5em; padding-left: 0; } li.ql-indent-2 { margin-left: 3em; padding-left: 0; }

/* ---------- Admin: Editor (Quill) ---------- */
.editor-wrap { background: #fff; border-radius: 12px; border: 1px solid var(--linie); overflow: hidden; }
.editor-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,76,.25); }
.editor-wrap .ql-toolbar.ql-snow {
  border: 0; border-bottom: 1px solid var(--linie); background: var(--papier); padding: .6rem .7rem;
  position: sticky; top: 0; z-index: 5; font-family: var(--sans);
}
.editor-wrap .ql-container.ql-snow { border: 0; font: 17px/1.65 var(--sans); color: var(--text); }
.editor-wrap .ql-editor { min-height: 460px; padding: 1.6rem 1.8rem; }
.editor-wrap .ql-editor h2 { font-family: var(--serif); font-size: 1.7rem; margin: 1.2em 0 .4em; color: var(--tinte); }
.editor-wrap .ql-editor h3 { font-family: var(--serif); font-size: 1.3rem; margin: 1em 0 .3em; color: var(--tinte); }
.editor-wrap .ql-editor p { margin-bottom: .8em; }
.editor-wrap .ql-editor blockquote { border-left: 4px solid var(--gold); background: var(--papier); padding: .7em 1em; margin: .8em 0; }
.editor-wrap .ql-editor img { border-radius: 8px; max-width: 100%; }
.editor-wrap .ql-editor.ql-blank::before { color: var(--muted); font-style: normal; left: 1.8rem; }
.editor-wrap .ql-snow.ql-toolbar button:hover .ql-stroke, .editor-wrap .ql-snow .ql-active .ql-stroke { stroke: var(--rot); }
.editor-wrap .ql-snow.ql-toolbar button:hover .ql-fill, .editor-wrap .ql-snow .ql-active .ql-fill { fill: var(--rot); }
.editor-wrap .ql-snow.ql-toolbar button.ql-active, .editor-wrap .ql-snow .ql-picker-label.ql-active { color: var(--rot); }
.editor-wrap .ql-snow.ql-toolbar button { border-radius: 6px; }
.editor-wrap .ql-snow.ql-toolbar button:hover { background: var(--papier-dunkel); }
.editor-wrap .ql-snow .ql-tooltip { border-radius: 10px; border-color: var(--linie); box-shadow: var(--schatten); font-family: var(--sans); z-index: 10; }
.editor-wrap .ql-snow .ql-tooltip input[type=text] { width: 240px; padding: .35rem .5rem; border-radius: 6px; }
.editor-hilfe { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
kbd { font: .8em var(--sans); background: var(--papier); border: 1px solid var(--linie); border-bottom-width: 2px; border-radius: 4px; padding: .05em .4em; }

/* Quill-Menütexte auf Deutsch */
.editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label::before, .editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item::before { content: 'Normaler Text'; }
.editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: 'Überschrift'; }
.editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: 'Zwischentitel'; }
.editor-wrap .ql-snow .ql-picker.ql-header { width: 128px; }
.editor-wrap .ql-snow .ql-tooltip::before { content: 'Link öffnen:'; }
.editor-wrap .ql-snow .ql-tooltip[data-mode=link]::before { content: 'Link-Adresse:'; }
.editor-wrap .ql-snow .ql-tooltip a.ql-action::after { content: 'Bearbeiten'; }
.editor-wrap .ql-snow .ql-tooltip a.ql-remove::before { content: 'Entfernen'; }
.editor-wrap .ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: 'Übernehmen'; }
.editor-wrap .ql-editor > :first-child { margin-top: 0; }
.form-grid small { display: block; margin-top: .3rem; font-size: .8rem; }
