/* Brunnenfest Bad Sooden-Allendorf – Sitepackage
   Gestaltung nach dem Programmheft: Rot / Weiß, Wimpelkette, Söder Wappen, Lato */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../Fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../Fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../Fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../Fonts/lato-latin-900-normal.woff2") format("woff2"); }


:root {
  --red: #e30613;
  --red-dark: #b8000c;
  --red-soft: #fdf0f0;
  --ink: #2f2c2d;
  --grey: #686566;
  --grey-box: #ebe9e9;
  --line: #e9e3e3;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(47, 44, 45, .09);
  --wrap: 72rem;
  --text: 46rem;
  --font: "Lato", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1.0625rem/1.7 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--red); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Kopfbereich ---------- */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__crest { width: 3.1rem; height: auto; flex: none; transition: transform .2s; }
.brand:hover .brand__crest { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 900; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__place { font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin-top: .3rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav__item { position: relative; }
.main-nav__item > a { display: block; padding: .55rem .95rem; color: var(--ink); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .93rem; border-radius: 999px; transition: background .15s, color .15s; }
.main-nav__item > a:hover { background: var(--red-soft); color: var(--red); }
.main-nav__item.is-active > a { background: var(--red); color: #fff; }
.main-nav__sub { list-style: none; margin: 0; padding: .45rem; min-width: 15rem; position: absolute; right: 0; top: calc(100% + .35rem); background: #fff; border-radius: var(--radius); border-top: 4px solid var(--red); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(6px); transition: .15s; }
.main-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.main-nav__item:hover > .main-nav__sub, .main-nav__item:focus-within > .main-nav__sub { visibility: visible; opacity: 1; transform: none; }
.main-nav__sub a { display: block; padding: .5rem .75rem; border-radius: 6px; text-decoration: none; color: var(--ink); }
.main-nav__sub a:hover, .main-nav__sub a[aria-current="page"] { background: var(--red-soft); color: var(--red); }

@media (max-width: 52rem) {
  .site-header__inner { min-height: 4.25rem; }
  .brand__crest { width: 2.6rem; }
  .brand__name { font-size: 1.3rem; }
  .brand__place { font-size: .68rem; }
  .nav-burger { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; padding: .5rem .9rem; border: 2px solid var(--red); border-radius: 999px; font-weight: 700; color: var(--red); }
  .nav-burger__bars, .nav-burger__bars::before, .nav-burger__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
  .nav-burger__bars::before { position: absolute; top: -6px; }
  .nav-burger__bars::after { position: absolute; top: 6px; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--ink); outline-offset: 2px; }
  .nav-toggle:checked + .nav-burger { background: var(--red); color: #fff; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 4px solid var(--red); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 14px 24px rgba(0, 0, 0, .1); max-height: calc(100vh - 5rem); overflow: auto; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav__item > a { border-radius: 8px; padding: .7rem .75rem; }
  .main-nav__sub { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; padding: 0 0 .4rem 1rem; min-width: 0; }
  .main-nav__sub::before { display: none; }
}

/* ---------- Wimpelkette ---------- */
.bunting { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }

/* ---------- Startseite: Bühne ---------- */
.stage { position: relative; overflow: hidden; background:
    radial-gradient(ellipse 30% 45% at 12% 72%, rgba(184, 0, 12, .38), transparent 70%),
    radial-gradient(ellipse 22% 30% at 36% 18%, rgba(255, 255, 255, .22), transparent 70%),
    linear-gradient(100deg, var(--red) 0%, var(--red) 33%, #ee4a52 43%, #f7b4b7 53%, #fdeeee 63%, #fff 73%); }
.stage > picture .bunting, .stage > .bunting { position: absolute; top: -2px; left: 0; z-index: 1; filter: drop-shadow(0 6px 6px rgba(60, 0, 4, .18)); }
.stage__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 3fr; gap: 2rem; align-items: center; padding: calc(min(100vw, 120rem) / 5.8 * .98) 0 4.5rem; }
.stage__crest { justify-self: center; width: min(100%, 19rem); filter: drop-shadow(0 10px 22px rgba(80, 0, 5, .35)); animation: crest-in .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes crest-in { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.stage__text { max-width: 36rem; }
.stage .frame { margin: 0; }
.stage h1 { font-weight: 900; font-size: clamp(2.7rem, 6.6vw, 4.8rem); line-height: .98; text-transform: uppercase; margin: 0; color: var(--ink); letter-spacing: .01em; }
.stage header h2, .stage header h3 { font-weight: 400; font-size: clamp(1.45rem, 3.2vw, 2.3rem); line-height: 1.1; text-transform: uppercase; color: var(--ink); margin: .2rem 0 1.1rem; }
.stage p { font-size: 1.12rem; }
.stage__date { display: inline-flex; flex-direction: column; margin: .5rem 0 0; padding: .7rem 1.2rem .75rem; background: var(--red); color: #fff; border-radius: var(--radius); font-weight: 900; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; box-shadow: 0 8px 20px rgba(227, 6, 19, .28); }
.stage__date-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-bottom: .15rem; }
@media (max-width: 52rem) {
  .stage { background: linear-gradient(180deg, var(--red) 0%, var(--red) 34%, #f39a9f 46%, #fdeeee 56%, #fff 64%); }
  .stage__inner { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 2.75rem; }
  .stage__crest { width: 11rem; }
}

.button { display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 900; text-decoration: none; background: var(--red); color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: .93rem; transition: background .15s, transform .15s; }
.button:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.button--outline { background: #fff; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.button--outline:hover { background: var(--red); color: #fff; }

/* ---------- Aktuelles (Startseite) ---------- */
.news { padding: 3rem 0 3.5rem; background: #fff; }
.news__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.4rem; }
.news__title { font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-transform: uppercase; margin: 0; padding-left: 1.6rem; position: relative; line-height: 1.1; }
.news__title::before { content: ""; position: absolute; left: 0; top: .3em; width: .62em; height: .62em; background: var(--red); transform: rotate(45deg); }
.news__all { font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; text-decoration: none; }
.news__all::after { content: " →"; }
.news__list { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.25rem; }
.news-card { position: relative; display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(47, 44, 45, .16); }
.news-card__image { flex: 0 0 38%; position: relative; overflow: hidden; min-height: 9rem; background: var(--red-soft); }
.news-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__body { padding: 1.1rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.news-card__date { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.news-card__title { margin: 0; font-size: 1.15rem; font-weight: 900; line-height: 1.25; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a:hover { color: var(--red); }
.news-card__text { margin: 0; color: var(--grey); font-size: .97rem; }
.news-card--text { border-top: 0; }
.news-card--text::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 2.2rem, #fff 2.2rem 2.5rem); }
.news-card--text .news-card__body { padding-top: 1.5rem; }
.news-card--lead { grid-row: span 2; flex-direction: column; }
.news-card--lead:only-child { grid-column: 1 / -1; grid-row: auto; flex-direction: row; }
.news-card--lead .news-card__image { flex: 0 0 auto; aspect-ratio: 16 / 9; }
.news-card--lead:only-child .news-card__image { flex: 0 0 50%; aspect-ratio: auto; min-height: 16rem; }
/* genau zwei Beiträge: zwei gleich breite Spalten */
.news__list:has(> .news-card:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; align-items: start; }
.news__list:has(> .news-card:nth-child(2):last-child) > .news-card { grid-row: auto; flex-direction: column; }
.news__list:has(> .news-card:nth-child(2):last-child) .news-card__image { flex: 0 0 auto; aspect-ratio: 16 / 9; }
.news-card--lead .news-card__body { padding: 1.4rem 1.6rem 1.6rem; flex: 1; }
.news-card--lead .news-card__title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.news-card--lead .news-card__text { font-size: 1.05rem; color: var(--ink); }
.news-card--lead.news-card--text { background: var(--red); border-color: var(--red); }
.news-card--lead.news-card--text::before { background: repeating-linear-gradient(90deg, #fff 0 2.2rem, var(--red) 2.2rem 2.5rem); }
.news-card--lead.news-card--text .news-card__date, .news-card--lead.news-card--text .news-card__title a, .news-card--lead.news-card--text .news-card__text { color: #fff; }
@media (max-width: 52rem) {
  .news__list { grid-template-columns: 1fr; }
  .news-card--lead, .news-card--lead:only-child { grid-row: auto; flex-direction: column; }
  .news-card--lead:only-child .news-card__image { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 30rem) {
  .news-card { flex-direction: column; }
  .news-card__image { flex: 0 0 auto; aspect-ratio: 16 / 9; }
}

/* ---------- Seite Aktuelles ---------- */
.news-list { margin-top: 1.5rem; }
.news-list > .frame { display: flow-root; padding: 1.75rem 0; border-top: 1px solid var(--line); margin: 0; scroll-margin-top: 7rem; }
.news-list > .frame:target { background: var(--red-soft); box-shadow: 0 0 0 1rem var(--red-soft); border-radius: 2px; }
.news-list header h2 { margin-top: 0; }
.news-list header .date, .news-list header time { display: block; margin: .3rem 0 0; color: var(--red); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Zahlenleiste ---------- */
.facts { background: var(--ink); color: #fff; }
.facts .frame { margin: 0; }
.facts header { display: none; }
.facts ul { list-style: none; margin: 0; padding: 1.6rem 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem 1.5rem; }
.facts li { font-size: .9rem; line-height: 1.35; color: #d9d6d6; padding-left: 1rem; border-left: 3px solid var(--red); }
.facts strong { display: block; font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: #fff; margin-bottom: .2rem; }
@media (max-width: 60rem) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kacheln ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; padding-top: 2.75rem; }
.card { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem 1.5rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 2.2rem, #fff 2.2rem 2.5rem); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(47, 44, 45, .16); }
.card__title { font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.card__title:hover { color: var(--red); }
.card__text { color: var(--grey); font-size: .98rem; line-height: 1.55; margin: 0; }
.card__links { list-style: none; margin: .35rem 0 0; padding: .75rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.card__links a { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.card__links a::before { content: ""; width: .45em; height: .45em; background: var(--red); transform: rotate(45deg); flex: none; }
.card__links a:hover { color: var(--red); }

/* ---------- Foto-Band (Startseite) und Fotos im Inhalt ---------- */
.photo-band { padding-top: 2.75rem; }
.photo-band .frame { margin: 0; }
.photo-band header { display: none; }
.photo-band .ce-row, .photo-band .ce-column { display: block; margin: 0; }
.photo-band figure { margin: 0; position: relative; }
.photo-band img { display: block; width: 100%; height: clamp(13rem, 36vw, 30rem); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-band figcaption { position: absolute; left: 0; bottom: 1.25rem; margin: 0; padding: .4rem 1.2rem .45rem 1.25rem; background: var(--red); color: #fff; font-weight: 900; font-size: 1rem; border-radius: 0 999px 999px 0; }
.content .ce-gallery img { width: 100%; box-shadow: var(--shadow); }

/* Text mit Bild */
.ce-textpic::after { content: ""; display: block; clear: both; }
.ce-textpic .ce-gallery { margin: 0 0 1.25rem; }
.ce-textpic .ce-row, .ce-textpic .ce-column { display: block; margin: 0; }
.ce-textpic figure { margin: 0; }
.ce-textpic img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.ce-textpic.ce-intext.ce-right .ce-gallery { float: right; width: min(42%, 17rem); margin: .3rem 0 1rem 1.75rem; }
.ce-textpic.ce-intext.ce-left .ce-gallery { float: left; width: min(42%, 17rem); margin: .3rem 1.75rem 1rem 0; }
@media (max-width: 36rem) { .ce-textpic.ce-intext .ce-gallery { float: none; width: 100%; margin: 0 0 1.25rem; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { background: linear-gradient(180deg, var(--red-soft), #fff); }
.page-head__bunting { height: clamp(4.5rem, 8vw, 6.5rem); background-image: url("../Images/wimpelkette-band.png"); background-image: image-set(url("../Images/wimpelkette-band.webp") type("image/webp"), url("../Images/wimpelkette-band.png") type("image/png")); background-repeat: repeat-x; background-size: auto calc(100% - .4rem); background-position: center .4rem; }
.page-head__inner { padding-bottom: .25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; color: var(--grey); }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--red); font-weight: 900; }
.breadcrumb a { color: var(--grey); }
.subnav ul { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.subnav a { display: block; padding: .35rem .95rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; transition: .15s; }
.subnav a:hover { box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }
.subnav a[aria-current="page"] { background: var(--red); color: #fff; box-shadow: none; }

/* ---------- Inhalte ---------- */
.content { padding: 2rem 0 4.5rem; max-width: 60rem; display: flex; flex-wrap: wrap; column-gap: 1.25rem; align-content: flex-start; }
.content > * { flex: 0 0 100%; min-width: 0; }
.content > .frame { max-width: var(--text); }
.content > .frame + .frame { margin-top: 2.75rem; }
.content h1, .content h2, .content h3 { line-height: 1.2; }
.content h1 { display: inline-block; margin: 0 0 1rem -1.25rem; padding: .32rem 1.3rem .38rem 1.25rem; background: var(--red); color: #fff; font-weight: 900; font-size: clamp(1.75rem, 4vw, 2.5rem); border-radius: 0 999px 999px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.content h2 { font-size: 1.6rem; font-weight: 900; margin: 0 0 .8rem; color: var(--ink); padding-left: 1.35rem; position: relative; }
.content h2::before { content: ""; position: absolute; left: 0; top: .42em; width: .62em; height: .62em; background: var(--red); transform: rotate(45deg); }
.content h3 { font-size: 1.2rem; font-weight: 900; margin: 1.75rem 0 .35rem; color: var(--red); }
.content header h1 + h2, .content header h2 + h3 { font-size: 1.15rem; font-style: italic; font-weight: 400; color: var(--grey); margin: -.2rem 0 1.25rem; padding-left: 0; }
.content header h1 + h2::before { display: none; }
.content header h2 + h3 { margin-top: -.4rem; }
.content p { margin: 0 0 1rem; }
.content ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.content li { margin-bottom: .3rem; }
.content li::marker { color: var(--red); }
.content blockquote { margin: 1.5rem 0; padding: 1.6rem 1.9rem; background: var(--red-soft); border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; font-style: italic; line-height: 1.8; }
.content blockquote p:last-child { margin-bottom: 0; }

/* Tabellen im Stil der Zeitkästen aus dem Programmheft */
.contenttable { width: 100%; border-collapse: separate; border-spacing: 0 5px; margin: .5rem 0 1rem; }
.contenttable th { text-align: left; padding: .35rem .9rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.contenttable td { padding: .6rem .95rem; vertical-align: top; background: #fff; border: solid var(--line); border-width: 1px 0; line-height: 1.5; }
.contenttable td:first-child { background: var(--grey-box); font-weight: 900; width: 1%; min-width: 7.5rem; padding-right: 1.4rem; border-color: var(--grey-box); border-radius: 6px 0 0 6px; white-space: nowrap; }
.contenttable td:last-child { border-right-width: 1px; border-radius: 0 6px 6px 0; }
.contenttable tr:hover td:first-child { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 40rem) {
  .contenttable td:first-child { width: 7.2rem; min-width: 0; white-space: normal; padding-inline: .6rem; font-size: .95rem; }
  .contenttable td { padding-inline: .7rem; }
}

/* Bilder */
.ce-gallery figure { margin: 0; }
.ce-gallery img { border-radius: var(--radius); display: block; }
.ce-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.ce-column { flex: 1 1 14rem; }
figcaption { font-size: .88rem; color: var(--grey); margin-top: .35rem; }

/* ---------- Startseite: Inhalt zweispaltig ---------- */
.content--home { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem 3rem; padding-top: 3.5rem; align-items: start; }
.content--home > .frame { max-width: none; }
.content--home > .frame + .frame { margin-top: 0; }
.content--home > .frame:nth-child(2) { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.6rem .6rem; box-shadow: var(--shadow); }
.content--home > .frame:nth-child(2) h3:first-of-type { margin-top: .5rem; }
.content--home > .frame:nth-child(n+3) { grid-column: 1 / -1; max-width: var(--text); }
@media (max-width: 56rem) { .content--home { grid-template-columns: 1fr; } }

/* ---------- Personen ---------- */
.content > .frame-type-header { margin-top: 3rem; }
.content > .frame-type-header h2 { margin-bottom: 1rem; }
.content > .frame-type-brunnenfest_person { flex: 0 0 calc((100% - 3.75rem) / 4); max-width: none; margin: 0 0 1.25rem; }
.content > .frame + .frame-type-brunnenfest_person { margin-top: 0; }
.content > .frame-type-brunnenfest_person + .frame:not(.frame-type-brunnenfest_person) { margin-top: 2rem; }
@media (max-width: 56rem) { .content > .frame-type-brunnenfest_person { flex-basis: calc((100% - 2.5rem) / 3); } }
@media (max-width: 36rem) { .content { column-gap: 1rem; } .content > .frame-type-brunnenfest_person { flex-basis: calc((100% - 1rem) / 2); } }
.person { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: 0 3px 10px rgba(47, 44, 45, .05); transition: transform .18s, box-shadow .18s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person__photo { aspect-ratio: 1; background: linear-gradient(160deg, var(--red-soft), #fff); display: grid; place-items: center; overflow: hidden; }
.person__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__placeholder { width: 46%; opacity: .28; filter: grayscale(1); }
.person__caption { display: flex; flex-direction: column; padding: .75rem .9rem .95rem; border-top: 4px solid var(--red); }
.person__role { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); line-height: 1.35; }
.person__name { font-weight: 900; font-size: 1.05rem; line-height: 1.3; margin-top: .25rem; }
.person__text { font-size: .9rem; color: var(--grey); margin-top: .35rem; line-height: 1.45; }

/* ---------- Formular ---------- */
.frame-type-form_formframework form { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.frame-type-form_formframework fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.frame-type-form_formframework legend { font-weight: 900; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red); margin-bottom: .5rem; }
.form-group, .form-element { margin-bottom: 1rem; }
.form-group label, .form-element label { display: block; font-weight: 700; margin-bottom: .3rem; }
.form-control, .frame-type-form_formframework input[type="text"], .frame-type-form_formframework input[type="email"], .frame-type-form_formframework input[type="tel"], .frame-type-form_formframework textarea, .frame-type-form_formframework select { width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid #cfc9c9; border-radius: 8px; background: #fff; }
.form-control:focus { border-color: var(--red); outline: 3px solid rgba(227, 6, 19, .2); }
.form-check, .radio, .checkbox { margin: .35rem 0; }
.form-check label, .radio label, .checkbox label { font-weight: 400; display: flex; gap: .55rem; align-items: flex-start; }
.form-check input, .radio input, .checkbox input { margin-top: .4rem; accent-color: var(--red); }
.required { color: var(--red); }
.help-block, .form-text { font-size: .88rem; color: var(--grey); }
.error .help-block, .invalid-feedback { color: var(--red-dark); }
.frame-type-form_formframework button[type="submit"], .frame-type-form_formframework .btn-primary { font: inherit; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: .8rem 1.4rem; border: 0; border-radius: 999px; background: var(--red); color: #fff; cursor: pointer; }
.frame-type-form_formframework button[type="submit"]:hover { background: var(--ink); }

/* ---------- Social Media ---------- */
.social { background: var(--red-soft); padding: 2.4rem 0; position: relative; }
.social::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 2.2rem, #fff 2.2rem 2.5rem); }
.social__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.social__title { font-weight: 900; font-size: 1.35rem; margin: 0; padding-left: 1.35rem; position: relative; line-height: 1.2; }
.social__title::before { content: ""; position: absolute; left: 0; top: .42em; width: .62em; height: .62em; background: var(--red); transform: rotate(45deg); }
.social__links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--red); color: #fff; font-size: .95rem; }
.site-footer__bunting { background: #fff; height: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd9db; }
.site-footer__inner { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 1.5rem 2.5rem; align-items: start; padding-top: 3rem; }
.site-footer__crest { width: 4.75rem; }
.site-footer__title { font-weight: 900; font-size: 1.05rem; line-height: 1.3; text-transform: uppercase; margin-top: 0; }
.site-footer p { margin-top: 0; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: .4rem; }
.site-footer__since { margin-top: 2.5rem; background: var(--ink); color: #fff; }
.site-footer__since .wrap { padding: .9rem 0; font-weight: 700; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; }
.site-footer__since span { font-weight: 900; }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .bunting, .cards, .facts, .social, .subnav, .news { display: none; }
  .stage { background: none; }
  .content h1 { background: none; color: var(--ink); margin-left: 0; padding-left: 0; }
}
