/* cellonest.com — Design-System nach BESTAND-2026-09-15.md (Twenty-Twenty-Five-Look, ohne WordPress) */
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-VariableFont_wght.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --c-base: #F8F7F5; --c-contrast: #191919; --c-white: #FFFFFF; --c-orange: #F5B684; --c-grey: #5F5F5F; --c-creme: #F1EEE9; --c-line: rgba(25,25,25,.2); --c-dark: #494747;
  --fs-small: .875rem; --fs-medium: clamp(1rem, .95rem + .3vw, 1.125rem); --fs-large: clamp(1.125rem, 1rem + .6vw, 1.375rem); --fs-xl: clamp(1.75rem, 1.5rem + 1vw, 2rem); --fs-xxl: clamp(2.15rem, 1.6rem + 2vw, 3rem);
  --sp-20: 10px; --sp-30: 20px; --sp-40: 30px; --sp-50: clamp(30px, 5vw, 50px); --sp-60: clamp(30px, 7vw, 70px); --sp-70: clamp(50px, 7vw, 90px); --sp-80: clamp(70px, 10vw, 140px);
  --w-content: 645px; --w-wide: 1340px; --gutter: clamp(30px, 5vw, 50px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-base); color: var(--c-grey); font-family: Manrope, system-ui, sans-serif; font-size: var(--fs-large); font-weight: 300; line-height: 1.4; letter-spacing: -.1px; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: currentColor; text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { color: var(--c-contrast); font-weight: 400; line-height: 1.125; letter-spacing: -.1px; margin: 0 0 .6em; }
h1 { font-size: var(--fs-xxl); } h2 { font-size: var(--fs-xl); } h3 { font-size: var(--fs-xl); font-weight: 500; }
p { margin: 0 0 1.2rem; } p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.lead { font-size: var(--fs-large); } .text-large { font-size: var(--fs-large); } .text-medium { font-size: var(--fs-medium); }
.skip { position: absolute; left: -999px; top: 0; background: var(--c-contrast); color: #fff; padding: .5rem 1rem; z-index: 100; } .skip:focus { left: 1rem; }
.wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.stack > * + * { margin-top: var(--sp-50); }

/* Header */
.header { background: var(--c-white); border-bottom: 1px solid var(--c-line); padding: var(--sp-50) var(--gutter) var(--sp-40); text-align: center; }
.brand { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sp-40); text-decoration: none; }
.brand__logo img { width: 150px; } .brand__wortmarke img { width: 560px; max-width: 100%; }
.nav { margin-top: var(--sp-40); }
.nav__toggle { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-50); }
.nav__list a { font-size: var(--fs-medium); font-weight: 500; color: var(--c-contrast); text-decoration: none; }
.nav__list a:hover, .nav__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 781px) { .brand__logo img { width: 96px; } .brand__wortmarke img { width: 300px; } }
@media (max-width: 599px) {
  .nav__toggle { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid var(--c-line); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-size: var(--fs-medium); color: var(--c-contrast); cursor: pointer; }
  .nav__bars { width: 20px; height: 2px; background: currentColor; position: relative; } .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; } .nav__bars::before { top: -6px; } .nav__bars::after { top: 6px; }
  .nav__list { display: none; flex-direction: column; gap: 1rem; padding-top: var(--sp-40); } .nav--open .nav__list { display: flex; }
}

/* Sections */
.section { padding: var(--sp-70) 0; }
.section--creme { background: var(--c-creme); }
.section--dark { background: var(--c-dark); color: var(--c-base); }
.section--hero { background: var(--c-grey); color: var(--c-base); padding: var(--sp-60) 0; }
.section--hero p { color: var(--c-base); } .section--hero figcaption { color: var(--c-base); }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-60) var(--sp-80); align-items: center; }
.hero__img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hero__figure { margin: 0; } .hero__figure figcaption, figcaption { font-size: var(--fs-small); margin-top: .5rem; }
@media (max-width: 781px) { .hero { grid-template-columns: 1fr; } }
.kicker { display: inline-block; font-size: var(--fs-small); border: 1px solid var(--c-line); border-radius: 999px; padding: .15rem .7rem; margin-bottom: var(--sp-30); color: var(--c-contrast); }
.img-wide img { width: 100%; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--sp-40); } .btn-row--center { justify-content: center; }
.btn { display: inline-block; background: var(--c-contrast); color: var(--c-base); border: 1px solid var(--c-contrast); border-radius: 999px; padding: .6rem 1.6rem; font-size: var(--fs-medium); font-weight: 500; text-decoration: none; box-shadow: 0 6px 12px rgba(0,0,0,.08); line-height: 1.3; text-align: center; }
.btn:hover { background: rgba(25,25,25,.85); text-decoration: none; }
.btn--outline { background: transparent; color: var(--c-contrast); box-shadow: none; } .btn--outline:hover { background: rgba(25,25,25,.06); }
.btn--pending { cursor: default; opacity: .9; } .btn--pending::after { content: " ·"; opacity: 0; }

/* Titelband der Unterseiten */
.title-band { padding: var(--sp-70) var(--gutter) var(--sp-50); max-width: var(--w-wide); margin: 0 auto; }
.title-band h1 { margin: 0; }

/* Zweispaltige Unterseiten (Orange + Foto) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__text { background: var(--c-orange); color: var(--c-contrast); padding: var(--sp-60) var(--sp-50); display: flex; flex-direction: column; justify-content: center; gap: .2rem; }
.split__text p { color: var(--c-contrast); }
.split__figure { margin: 0; position: relative; min-height: 420px; }
.split__img, .split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__figure figcaption { position: absolute; right: .8rem; bottom: .5rem; color: #fff; text-shadow: 0 0 6px rgba(0,0,0,.6); }
@media (max-width: 781px) { .split { grid-template-columns: 1fr; } .split__figure { min-height: 0; } .split__img img { height: auto; aspect-ratio: 4 / 3; } }

/* Veranstaltungen */
.event { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-60); align-items: center; padding: var(--sp-70) var(--gutter); max-width: var(--w-wide); margin: 0 auto; }
.event--alt { background: var(--c-white); max-width: none; } .event--alt > * { max-width: calc(var(--w-wide) / 2 - var(--gutter)); }
.event--alt .event__figure { justify-self: end; } .event--alt .event__text { justify-self: start; }
.event--right .event__figure { order: 2; }
.event__figure { margin: 0; } .event__img img { width: 100%; max-height: 720px; object-fit: contain; }
.event__kicker { font-size: var(--fs-xxl); color: var(--c-contrast); margin-bottom: .2rem; line-height: 1.1; }
.event__text p, .event__text li { color: var(--c-contrast); }
@media (max-width: 781px) { .event { grid-template-columns: 1fr; } .event--right .event__figure { order: 0; } }

/* Galerie */
.gallery { padding: var(--sp-70) 0; }
.gallery__head { margin-bottom: var(--sp-40); } .gallery__note { margin: -.4rem 0 0; } .gallery__credit { font-size: var(--fs-small); margin: .3rem 0 0; }
.gallery__cover { margin: 0; max-width: 480px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 12px; }
.grid__item a { display: block; height: 100%; } .grid__img, .grid__img img { width: 100%; height: 100%; object-fit: cover; }
.grid__item--tall { grid-row: span 2; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 600px) { .grid { grid-auto-rows: 150px; gap: 8px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,15,15,.92); }
.lightbox__img { position: absolute; inset: 0; margin: auto; max-width: min(92vw, 1600px); max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; } .lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); } .lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: var(--fs-small); margin: 0; }

/* Kontakt */
.contact__address { font-style: normal; } .contact__address p { color: var(--c-contrast); }
.map { display: grid; grid-template-columns: minmax(0, 588px) 1fr; gap: var(--sp-40); align-items: end; }
.map__img img { width: 100%; } .map__caption { font-size: var(--fs-small); color: var(--c-base); }
@media (max-width: 781px) { .map { grid-template-columns: 1fr; } }

/* Video-Klickvorschau */
.video { position: relative; } .video__play { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video__poster, .video__poster img { width: 100%; height: 100%; object-fit: cover; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 88px; height: 62px; transform: translate(-50%, -50%); background: rgba(230,33,23,.95); border-radius: 16px; }
.video__icon::after { content: ""; position: absolute; left: 36px; top: 19px; border-left: 24px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video__play:hover .video__icon { background: #e62117; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
.video__hint { font-size: var(--fs-small); margin: .6rem 0 0; }

/* Textseiten */
.prose ol, .prose ul { padding-left: 1.4em; } .prose li { margin-bottom: .4rem; } .prose h2, .prose h3 { margin-top: 1.6em; }
.prose h3:first-child, .prose h2:first-child { margin-top: 0; }
.band--satzung { background: var(--c-orange) url("/img/logo-480.webp") center / 220px auto no-repeat; padding: var(--sp-70) var(--sp-50); margin: var(--sp-60) calc(-1 * var(--gutter)); text-align: center; }
.band__title { font-size: var(--fs-xl); color: var(--c-contrast); margin: 0; background: rgba(245,182,132,.85); display: inline-block; padding: .3rem .8rem; }

/* Footer */
.footer { background: var(--c-base); border-top: 1px solid var(--c-line); padding: var(--sp-70) 0; font-size: var(--fs-medium); }
.footer__inner { max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--sp-80); align-items: start; }
.footer__name { color: var(--c-contrast); font-weight: 600; font-size: var(--fs-small); margin: 0; }
.footer__menu { list-style: none; margin: 0; padding: 0; } .footer__menu li { margin-bottom: .6rem; } .footer__menu a { text-decoration: none; } .footer__menu a:hover { text-decoration: underline; }
.footer__instagram { color: #fff; background: #e1306c; border-radius: 999px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 781px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-50); } .footer__name { grid-column: 1 / -1; } }
