/* Open Sans, lokal ausgeliefert (keine Verbindung zu Google) – SIL Open Font License */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(fonts/open-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(fonts/open-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Entwurf 3 – aufgeräumt: ein Raster, wenige Bausteine, Farbe als Orientierung */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --line: #e7e2d9;
  --ink: #1b1a17;
  --ink-2: #5d594f;
  --ink-3: #8a857a;
  /* Bereichsfarben aus dem Logo */
  --blue: #2557d6;     /* Mitglieder */
  --yellow: #f2c51a;   /* Städtle-Scheck */
  --green: #2a9d4b;    /* Für Unternehmen */
  --orange: #e8801a;   /* Verein & Termine */
  --tint-blue: #eaf0fd;
  --tint-yellow: #fdf6d8;
  --tint-green: #e6f4ea;
  --tint-orange: #fdefe1;
  --r: 20px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font: "Open Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 54px); }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 14px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--area, var(--ink-2)); }

/* ---------- Kopf ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; margin-right: auto; text-decoration: none; }
.logo b { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.dots4 { display: inline-flex; gap: 3px; }
.dots4 i { width: 7px; height: 7px; border-radius: 50%; }
.dots4 i:nth-child(1) { background: var(--orange); } .dots4 i:nth-child(2) { background: var(--yellow); }
.dots4 i:nth-child(3) { background: var(--blue); } .dots4 i:nth-child(4) { background: var(--green); }
.menu { display: flex; gap: 6px; }
.menu a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.menu a:hover { background: #efebe3; color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); background: #efebe3; }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #33312b; }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-area { background: var(--area); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
.arrow-link::after { content: "→"; transition: transform 160ms var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { max-width: 52ch; color: var(--ink-2); }
.page-head { padding: clamp(48px, 7vw, 80px) 0 32px; }
.page-head h1 { margin-bottom: 14px; }
.crumbs { margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.area-blue { --area: var(--blue); --tint: var(--tint-blue); }
.area-yellow { --area: #b88a00; --area-fill: var(--yellow); --tint: var(--tint-yellow); }
.area-green { --area: var(--green); --tint: var(--tint-green); }
.area-orange { --area: #c4650c; --area-fill: var(--orange); --tint: var(--tint-orange); }
.page-head.has-area { border-top: 6px solid var(--area-fill, var(--area)); }

/* Karten: ein einziger Kartentyp für alles */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card-tint { background: var(--tint); border-color: transparent; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

/* ---------- Startseite ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { margin: 6px 0 18px; }
.hero .btn-row { margin-top: 30px; }
.hero-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: 100%; max-width: 440px; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.media-label { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(27,26,23,.6); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }

.entry { display: flex; flex-direction: column; gap: 12px; min-height: 100%; text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
a.entry:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.3); }
.entry .badge { width: 44px; height: 44px; border-radius: 12px; background: var(--area-fill, var(--area)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.entry p { color: var(--ink-2); }
.entry .arrow-link { margin-top: auto; padding-top: 8px; color: var(--area); }
.entry-search { position: relative; margin-top: 4px; }
.entry-search input { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 500 16px var(--font); }
.entry-img { height: 120px; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.entry-img img { height: 100%; object-fit: contain; }
.entry .big { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.entry .big small { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }

.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.date-box { width: 96px; padding: 14px 0; border-radius: 16px; background: var(--tint-orange); text-align: center; color: #8a4708; }
.date-box b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.date-box span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event h3 { font-size: 22px; margin-bottom: 4px; }

.logos-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos-track { display: flex; gap: 14px; width: max-content; animation: slide 90s linear infinite; }
.logos-row:hover .logos-track { animation-play-state: paused; }
.logo-tile { flex: none; width: 150px; height: 80px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.logo-tile img { max-width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter 200ms var(--ease), opacity 200ms var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

.cta-band { border-radius: 28px; padding: clamp(32px, 5vw, 56px); background: var(--green); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band p { color: #dff3e5; margin-top: 10px; }
.cta-band .btn { background: #fff; color: var(--ink); }

/* ---------- Mitglieder ---------- */
.toolbar { position: sticky; top: 72px; z-index: 20; padding: 14px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; }
.field { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 500 16px var(--font); color: var(--ink); }
select.field { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d594f' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.result-info { margin: 22px 0 14px; font-size: 14px; color: var(--ink-2); }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.member { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.member-logo { width: 84px; height: 60px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.member-logo img { max-width: 76px; max-height: 50px; object-fit: contain; }
.mono { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--tint-blue); color: var(--blue); }
.member b { display: block; font-size: 15px; line-height: 1.3; }
.member span { display: block; font-size: 13px; color: var(--ink-2); }
.member .cat { color: var(--ink-3); }
.load-more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Reiter ---------- */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #efebe3; width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font: 600 15px var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.panel { padding-top: 32px; }
.panel[hidden] { display: none; }

/* ---------- Listen & Fakten ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact b { display: block; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.fact span { color: var(--ink-2); font-size: 15px; }
.values { display: flex; gap: 8px; flex-wrap: wrap; }
.values span { padding: 6px 14px; border-radius: 999px; background: var(--tint-yellow); font-weight: 700; color: #6f5400; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--area-fill, var(--area, var(--green))) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.steps b { display: block; }
.steps span { color: var(--ink-2); font-size: 15px; }
.shop-list { display: grid; gap: 12px; }
.shop { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.shop img { max-height: 46px; max-width: 76px; object-fit: contain; justify-self: center; }
.shop b { display: block; }
.shop .new { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: 2px; }
.notice { padding: 18px 20px; border-radius: 14px; background: #f3efe7; font-size: 15px; color: var(--ink-2); }
.notice b { color: var(--ink); }
address { font-style: normal; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* Formular */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input:not([type=checkbox]), .form select { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 400 16px var(--font); color: var(--ink); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form .btn { justify-self: start; }
.form-ok { display: none; padding: 14px 16px; border-radius: 12px; background: var(--tint-green); color: #1d5a2d; font-size: 14px; }
.form.sent .form-ok { display: block; }
.person { display: flex; gap: 14px; align-items: center; }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.person b { display: block; }
.person a { text-decoration: none; font-weight: 600; }

/* Verein */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat b { display: block; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: 15px; }
.board { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.board img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #eee; }
.board b { display: block; margin-top: 10px; font-size: 16px; }
.board span { font-size: 14px; color: var(--ink-2); }
.past { list-style: none; padding: 0; margin: 0; }
.past li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.past time { font-weight: 700; }
.past span { color: var(--ink-2); }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.clip { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 14; background: #ddd; }
.clip video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fuß ---------- */
.footer { margin-top: clamp(64px, 9vw, 104px); padding: 56px 0 36px; background: #f1ede5; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .legal { margin-top: 40px; font-size: 12px; color: var(--ink-3); }

/* Einblenden: dezent, einmalig */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .menu.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.open a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .menu-btn span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); }
  .header .cta { display: none; }
  .split, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-4, .facts, .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-media { justify-self: stretch; max-width: none; aspect-ratio: 16 / 10; }
  .stats, .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toolbar .wrap { grid-template-columns: minmax(0, 1fr); }
  .toolbar { top: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .facts, .members { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .event { grid-template-columns: auto minmax(0, 1fr); }
  .event .btn { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .shop { grid-template-columns: 60px minmax(0, 1fr); }
  .shop .arrow-link { grid-column: 2; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 12px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form input:not([type=checkbox]), .form select { width: 100%; min-width: 0; }
.form .row > label { min-width: 0; }

/* Korrekturen aus dem automatischen Test */
.hero-media { margin: 0; }
.crumbs a { display: inline-block; padding: 10px 0; }
@media (max-width: 600px) {
  .tabs { flex-wrap: wrap; border-radius: 22px; }
  .tabs button { flex: 1 1 auto; }
}
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 600px) {
  .date-box { width: 72px; padding: 10px 0; }
  .date-box b { font-size: 26px; }
  .event { gap: 16px; }
  .stat b { font-size: 30px; }
}

/* ===================== Entwurf 4: Startseite ===================== */
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* Wandernde Punkte */
.flydots { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.flydots span { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; background: var(--c); will-change: transform; }
[data-a] { display: block; }

/* Hero */
.hero4 { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.hero4-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero4 h1 { font-size: clamp(36px, 4.8vw, 60px); margin: 4px 0 0; }
.anchor-row { display: flex; gap: 12px; margin: 22px 0 20px; }
.anchor-row i { width: 18px; height: 18px; }
.live-search { position: relative; margin-top: 18px; }
.live-search input {
  width: 100%; min-height: 58px; padding: 0 20px 0 52px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: 500 17px var(--font); color: var(--ink); outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231b1a17' stroke-width='2.2'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='M13.5 13.5l5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 20px center;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.live-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 5px var(--tint-blue); }
.ls-hits { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.ls-hits a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; text-decoration: none; }
.ls-hits a:hover, .ls-hits a:focus { background: var(--bg); outline: none; }
.ls-logo { flex: none; width: 62px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.ls-logo img { max-width: 54px; max-height: 32px; object-fit: contain; }
.ls-logo .mono { width: 30px; height: 30px; font-size: 13px; }
.ls-hits b { display: block; font-size: 15px; line-height: 1.3; }
.ls-hits small { color: var(--ink-2); font-size: 13px; }
.ls-all a { justify-content: center; font-weight: 600; color: var(--blue); }
.ls-none { padding: 12px; color: var(--ink-2); font-size: 15px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.quick button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--font); color: var(--ink); cursor: pointer; transition: border-color 160ms var(--ease); }
.quick button:hover { border-color: var(--ink); }
.hero4-media { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; clip-path: inset(var(--inset, 6%) round 28px); }
.hero4-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.12)); }

/* Vier Bereiche: der Punkt landet im farbigen Slot */
.areas .entry { position: relative; }
.dot-slot { width: 22px; height: 22px; margin-bottom: 6px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--tint); }
.areas .entry h3 { font-size: 19px; }

/* Countdown */
.event4 { grid-template-columns: auto minmax(0, 1fr) auto; }
.countdown { width: 104px; padding: 14px 0; border-radius: 16px; background: var(--orange); color: #fff; text-align: center; }
.countdown b { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Logo-Wand */
.wall { display: grid; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-row { overflow: hidden; }
.wall-track { display: flex; gap: 12px; width: max-content; animation: slide 90s linear infinite; }
.wall-row.rev .wall-track { animation-direction: reverse; animation-duration: 105s; }
.wall:hover .wall-track { animation-play-state: paused; }

/* Einladung mit Kleeblatt */
.cta4 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; }
.cta4 p { color: #cfcabe; margin-top: 10px; max-width: 52ch; }
.clover { position: relative; width: 150px; height: 150px; }
.clover i { position: absolute; width: 56%; height: 56%; }
.clover i:nth-child(1) { left: 0; top: 0; } .clover i:nth-child(2) { right: 0; top: 0; }
.clover i:nth-child(3) { left: 0; bottom: 0; } .clover i:nth-child(4) { right: 0; bottom: 0; }

@media (max-width: 960px) {
  .hero4-grid { grid-template-columns: minmax(0, 1fr); }
  .hero4-media { aspect-ratio: 16 / 11; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .areas { grid-template-columns: minmax(0, 1fr); }
  .event4 { grid-template-columns: auto minmax(0, 1fr); }
  .countdown { width: 76px; padding: 10px 0; }
  .countdown b { font-size: 30px; }
  .cta4 { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .clover { width: 96px; height: 96px; }
}
.hero4-media .media-label { left: calc(var(--inset, 6%) + 14px); bottom: calc(var(--inset, 6%) + 14px); }
@media (prefers-reduced-motion: reduce) {
  .hero4-media { clip-path: none; }
  .hero4-media .media-label { left: 14px; bottom: 14px; }
  .hero4-media video { transform: none; }
}

/* ===================== Finale Version: klare Trennung ===================== */
:root {
  --bg: #f4f1eb;            /* getönte Bänder */
  --band-white: #ffffff;    /* helle Bänder */
  --line: #e4ded3;
  --shadow: 0 1px 2px rgba(27,26,23,.05), 0 12px 32px -18px rgba(27,26,23,.22);
  --band-pad: clamp(64px, 8vw, 104px);
}
body { background: var(--bg); }

/* Bänder: jeder Abschnitt ist ein eigener, klar begrenzter Block */
.band { padding: var(--band-pad) 0; }
.band-white { background: var(--band-white); }
.band-tint { background: var(--bg); }
.band + .band { border-top: 1px solid var(--line); }
.band-head { margin-bottom: 36px; }
.band-head h2 { font-size: clamp(28px, 3vw, 38px); }
.section-head.band-head { align-items: flex-end; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.k-ink { color: var(--ink-2); } .k-orange { color: #c4650c; } .k-blue { color: var(--blue); } .k-green { color: var(--green); } .k-yellow { color: #a37900; }

/* Kopf: feste Linie und weißer Grund, damit er sich vom Inhalt trennt */
.header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }

/* Einstieg kompakter: Video so hoch wie der Text, kein Loch darunter */
.hero4 { padding: clamp(40px, 5vw, 64px) 0; }
.hero4-grid { align-items: stretch; }
.hero4-copy { display: flex; flex-direction: column; justify-content: center; }
.hero4-media { aspect-ratio: auto; height: 100%; min-height: 380px; max-height: 520px; }
.hero4-media video { position: absolute; inset: 0; }

/* Karten: Kontur, Schatten, farbiger Streifen oben */
.card { border-color: var(--line); box-shadow: var(--shadow); }
.band-white .card { box-shadow: none; background: #fbfaf7; }
.areas .entry { padding: 30px 26px 26px; border-top: 0; overflow: hidden; }
.areas .entry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--area-fill, var(--area)); }
.areas .entry h3 { margin-top: 4px; }
.dot-slot { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--area-fill, var(--area)) 35%, transparent); }
a.entry:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(27,26,23,.06), 0 22px 44px -20px rgba(27,26,23,.3); }

/* Termin als eigene, orange markierte Karte */
.event4 { border-left: 5px solid var(--orange); background: #fffaf4 !important; }

/* Logo-Wand auf getöntem Band: weiße Kacheln mit Schatten */
.band-tint .logo-tile { border-color: var(--line); box-shadow: 0 1px 2px rgba(27,26,23,.04); }

/* Einladung: dunkler Block auf hellem Band */
.cta4 { box-shadow: 0 30px 60px -30px rgba(27,26,23,.5); }

/* Dunkler Fuß als klares Seitenende */
.footer-dark { margin-top: 0; background: var(--ink); color: #cfcabe; }
.footer-dark .logo b { color: #fff; }
.footer-dark h4 { color: #8f8a7f; }
.footer-dark a, .footer-dark .muted { color: #cfcabe; }
.footer-dark a:hover { color: #fff; }
.footer-dark .legal { color: #7d786d; }

/* ---------- Unterseiten ---------- */
.page-head { background: var(--tint, #fff); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-head.has-area { border-top: 0; box-shadow: inset 0 5px 0 var(--area-fill, var(--area)); }
.area-yellow.page-head { --tint: #fdf6d8; } .area-blue.page-head { --tint: #eaf0fd; }
.area-green.page-head { --tint: #e6f4ea; } .area-orange.page-head { --tint: #fdefe1; }
main > .section { padding: var(--band-pad) 0; }
main > .section:nth-of-type(odd) { background: var(--band-white); }
main > .section + .section { padding-top: var(--band-pad); border-top: 1px solid var(--line); }
.toolbar { background: rgba(255,255,255,.97); }
main > .section > .wrap > h2:first-child, main > .section > .wrap > .section-head:first-child { margin-bottom: 28px; }

@media (max-width: 960px) {
  .hero4-media { min-height: 0; height: auto; aspect-ratio: 16 / 11; }
  .hero4-media video { position: static; }
}
@media (max-width: 600px) {
  .band-head { margin-bottom: 24px; }
  .areas .entry { padding: 26px 20px 20px; }
  .event4 { border-left-width: 4px; }
}

/* ---------- Ergänzungen für das neue System ---------- */
.member-links { margin-top: 4px; }
.member-links a { color: var(--ink-2); font-weight: 600; }
.accept-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop .mono { justify-self: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #b42318; font-size: 13px; font-weight: 600; }
.form textarea { min-height: 120px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 400 16px/1.5 var(--font); color: var(--ink); resize: vertical; width: 100%; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .fs { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; min-width: 0; }
.form .fs legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.form .row-tight { grid-template-columns: 110px minmax(0, 1fr); }
.form-done { margin-bottom: 18px; padding: 22px 24px; border-radius: 16px; background: var(--tint-green); color: #1d5a2d; }
.form-done h3 { margin-bottom: 4px; color: #1d5a2d; }
.form-done .muted { color: #2f6b3d; }
.legal-text h2 { font-size: 22px; margin: 36px 0 10px; }
.legal-text p { color: var(--ink-2); max-width: 70ch; }
.legal-text p + p { margin-top: 12px; }
@media (max-width: 700px) {
  .accept-list { grid-template-columns: minmax(0, 1fr); }
  .form .row-tight { grid-template-columns: 90px minmax(0, 1fr); }
}
.menu a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1140px) {
  .menu { gap: 2px; }
  .menu a { padding: 8px 10px; font-size: 14px; }
}

/* Downloads */
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl { display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--area-fill, var(--area)); }
.dl h3 { margin: 4px 0 0; }
.dl p { margin: 0; flex: 1; }
.dl .btn { align-self: flex-start; margin-top: 8px; }
.dl .btn small { font-weight: 400; opacity: .75; margin-left: 4px; }
.dl-icon { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: var(--tint, #f3efe7); color: var(--area); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.cta-band .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 900px) { .downloads { grid-template-columns: minmax(0, 1fr); } }

/* Sprungmarken nicht unter der festen Kopfzeile verstecken */
section[id] { scroll-margin-top: 84px; }

/* Kopfzeile: Knopf nie umbrechen; zwischen Tablet und kleinem Laptop reicht der Platz nicht für Menü + Knopf */
.header .cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) { .header .cta { display: none; } }

/* Handy/kleines Tablet: keine wandernden Punkte, sondern feste farbige Punkte an jedem Platz */
@media (max-width: 960px) {
  .flydots { display: none; }
  [data-a] { border-radius: 50%; background: var(--dot); }
  .dot-slot[data-a] { box-shadow: none; }
  [data-a="0"] { --dot: var(--orange); } [data-a="1"] { --dot: var(--yellow); }
  [data-a="2"] { --dot: var(--blue); } [data-a="3"] { --dot: var(--green); }
}

/* Termine (Über uns) */
.ev-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ev-list { display: grid; gap: 16px; }
.ev { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 22px; row-gap: 10px; padding: 22px; border-left: 5px solid var(--orange); }
.ev-date { grid-row: 1 / span 4; align-self: start; display: grid; justify-items: center; gap: 2px; padding: 12px 0; border-radius: 14px; background: var(--tint-orange); color: #8a4708; text-align: center; }
.ev-date small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ev-date b { font-size: 32px; line-height: 1; letter-spacing: -0.03em; }
.ev-date span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ev-date em { margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 600; line-height: 1.2; padding: 0 6px; }
.ev-head h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.ev-chip { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; }
.ev-meta { display: grid; gap: 4px; margin: 0; font-size: 15px; }
.ev-meta div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
.ev-meta dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding-top: 3px; }
.ev-meta dd { margin: 0; color: var(--ink); }
.ev-text { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
details.ev-text summary { cursor: pointer; list-style: none; }
details.ev-text summary::-webkit-details-marker { display: none; }
details.ev-text summary span { font-weight: 600; color: var(--ink); text-decoration: underline; white-space: nowrap; }
details.ev-text[open] summary { display: none; }
.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ev-past h3 { margin-bottom: 8px; }
@media (max-width: 960px) {
  .ev-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ev { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-left-width: 4px; }
  .ev-date { grid-row: 1; padding: 8px 0; border-radius: 12px; }
  .ev-date b { font-size: 24px; }
  .ev-date small, .ev-date span { font-size: 11px; }
  .ev-head { align-self: center; }
  .ev-head h3 { font-size: 18px; }
  .ev-meta, .ev-text, .ev-actions { grid-column: 1 / -1; }
  .ev-actions .btn { flex: 1 1 auto; justify-content: center; }
}
