/* Heddesheimer Liste – Website-Entwurf
   Gestaltung: ruhig, luftig, lokal. Eine Schrift (Source Sans 3), Schiefer als Hausfarbe,
   Regenbogen-Ring nur als Kennfarbe. */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3VF-Upright.woff2") format("woff2-variations"),
       url("fonts/SourceSans3VF-Upright.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e2026;
  --text: #4b4f58;
  --muted: #6b6f78;
  --line: #e2e1dc;
  --line-strong: #d9d8d2;
  --stone: #f3f3f0;
  --slate: #363b4a;
  --slate-deep: #2a2e3a;
  --on-slate: #d9dbe4;
  --ring-blue: #0b6fae;
  --ring-orange: #e98a00;
  --ring-green: #1f9a5a;
  --ring-berry: #a3124f;
  --wrap: 1200px;
  --gutter: 32px;
  --section: 112px;
  --radius: 4px;
  --radius-btn: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ring-blue); outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; }
h1 { font-size: 64px; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 21px; line-height: 1.55; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.text { color: var(--text); }
.prose > * + * { margin-top: 18px; }
.prose p { color: var(--text); max-width: 40em; }
.prose h3 { margin-top: 36px; }
.prose ul { color: var(--text); padding-left: 1.2em; max-width: 40em; }
.prose li + li { margin-top: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--stone { background: var(--stone); }
.section--slate { background: var(--slate); color: #fff; }
.section--slate h2, .section--slate h3 { color: #fff; }
.section--slate .text, .section--slate p { color: var(--on-slate); }
.section--slate a { color: #fff; }
.section--rule { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }

.grid { display: grid; gap: 64px 96px; align-items: start; }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--center { align-items: center; }
.grid--end { align-items: end; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.96); position: sticky; top: 0; z-index: 20; -webkit-backdrop-filter: saturate(160%) blur(8px); backdrop-filter: saturate(160%) blur(8px); }
[id] { scroll-margin-top: 104px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 17px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--slate); }
.nav .btn { border-bottom: 0; padding: 11px 20px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 17px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; z-index: 5; }
.menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 500; }
.menu nav .btn { margin-top: 18px; text-align: center; border: 0; }

/* Knöpfe */
.btn { display: inline-block; background: var(--slate); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 18px; padding: 15px 26px; border-radius: var(--radius-btn); border: 0; cursor: pointer; font-family: inherit; line-height: 1.3; }
.btn:hover { background: var(--slate-deep); }
.btn--light { background: #fff; color: var(--slate) !important; }
.btn--light:hover { background: var(--stone); }
.link-strong { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* Seitenkopf für Unterseiten */
.page-head { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 56px; max-width: 14em; }
.page-head .lead { margin-top: 24px; }
.crumbs { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

/* Kennfarben */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; flex-shrink: 0; }
.c-blue { color: var(--ring-blue); } .c-orange { color: var(--ring-orange); } .c-green { color: var(--ring-green); } .c-berry { color: var(--ring-berry); } .c-slate { color: var(--slate); }
.tag { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.traits { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; font-size: 17px; font-weight: 500; }
.traits li { display: flex; align-items: center; gap: 12px; }

/* Karten ohne Kasten */
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.card img, .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.card .tag { padding-top: 6px; }
.card p { font-size: 17px; color: var(--text); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.ph { background: var(--stone); border: 1px dashed #c8c8c2; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }

/* Listen mit Linien */
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.list-head h2 { font-size: 28px; line-height: 1.2; }
.list-head a { font-size: 16px; font-weight: 600; }
.news { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.news img { width: 112px; height: 84px; object-fit: cover; border-radius: var(--radius); }
.news .ph { width: 112px; height: 84px; aspect-ratio: auto; font-size: 12px; text-align: center; }
.news .meta { font-size: 15px; color: var(--muted); }
.news .title { font-size: 19px; font-weight: 600; line-height: 1.3; display: block; }
.news .sum { font-size: 16px; line-height: 1.45; color: var(--text); display: block; }
a.news:hover .title { text-decoration: underline; text-underline-offset: 3px; }
.event { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.event .date { font-size: 15px; color: var(--muted); line-height: 1.3; }
.event .date strong { display: block; font-size: 30px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.event .title { font-size: 20px; font-weight: 600; }
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }

/* Bilanz: Problem → Tat → Nutzen */
.bilanz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.bilanz:first-of-type { border-top: 1px solid var(--ink); }
.bilanz img, .bilanz .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ptn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 20px 0 0; }
.ptn dt { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.ptn dd { margin: 0; color: var(--text); font-size: 17px; }
.ptn dd strong { color: var(--ink); font-weight: 600; }
.area-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: 17px; font-weight: 500; }
.area-nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.steps .n { font-size: 30px; line-height: 1; color: var(--slate); }
.steps strong { font-weight: 600; }

/* Menschen */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.person .name { font-size: 19px; font-weight: 600; margin-top: 12px; }
.person .role { font-size: 16px; color: var(--muted); }

/* Zitate */
.quote { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.quote p { font-size: 21px; line-height: 1.45; color: var(--ink); }
.quote .who { font-size: 16px; color: var(--muted); margin-top: 10px; }

/* Bildband und Galerie */
.band img { width: 100%; height: 520px; object-fit: cover; object-position: 50% 45%; }
.band figcaption { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 0; font-size: 15px; color: var(--muted); }
figure { margin: 0; }
.figure figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 2 / 1; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; }

/* Formular */
.form { background: #fff; color: var(--ink); border-radius: 8px; padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 500; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 18px; padding: 12px 14px; border: 1px solid #b9b8b2; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.form input { height: 50px; }
.form .full { grid-column: 1 / -1; }
.privacy { font-size: 15px; line-height: 1.55; color: var(--text); padding: 16px 18px; background: var(--stone); border-radius: var(--radius); }
.privacy strong { color: var(--ink); font-weight: 600; }
.form .send { display: flex; justify-content: flex-end; }
.note { font-size: 15px; color: var(--muted); }
.box { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 18px 20px; font-size: 16px; color: var(--text); background: #fff; }

/* Fuß */
.site-footer { background: var(--slate-deep); color: #c9ccd6; font-size: 16px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid img { height: 40px; width: auto; }
.foot-grid h2 { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: #c9ccd6; text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #434858; font-size: 15px; color: #9ea2ae; }

/* Hinweis für Entwurfsinhalte */
.draft-note { background: #fff8e6; border-bottom: 1px solid #f0dca8; color: #5c4400; font-size: 15px; text-align: center; padding: 8px 16px; }

/* Responsiv */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .wrap { position: relative; }
  .cards--4, .people, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --section: 72px; --gutter: 20px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .page-head { padding: 64px 0 48px; }
  .page-head h1 { font-size: 40px; }
  .grid--7-5, .grid--5-7, .grid--half, .cards, .bilanz, .ptn, .facts { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 48px; }
  .traits { grid-template-columns: minmax(0, 1fr); }
  .band img { height: 300px; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}
@media (max-width: 520px) {
  .people, .gallery, .cards--4, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery .wide { grid-column: auto; }
  .brand img { height: 38px; }
}

/* Navigation mit Aufklappmenüs */
.nav { gap: 8px; }
.nav-item { position: relative; }
.nav-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px !important; border-radius: var(--radius-btn); border-bottom: 0 !important; }
.nav-top:hover, .nav-item:focus-within .nav-top { background: var(--stone); }
.nav-top[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--slate); border-radius: 0; }
.chev { transition: transform .15s ease; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.nav-item--cta { margin-left: 12px; }
.nav-item--cta .btn { display: flex; align-items: center; gap: 8px; }
.sub { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 30; }
.sub--right { left: auto; right: 0; }
.nav-item:hover .sub, .nav-item:focus-within .sub { display: block; }
.sub-in { min-width: 280px; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 16px 40px rgba(30, 32, 38, 0.10); padding: 8px; display: flex; flex-direction: column; }
.sub-in a { padding: 10px 14px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 0 !important; }
.sub-in a:hover, .sub-in a:focus-visible { background: var(--stone); }
.sub-in a:first-child { font-weight: 600; }
.m-group { display: flex; flex-direction: column; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.menu nav .m-top { border-bottom: 0; padding: 10px 0 6px; font-size: 19px; font-weight: 600; }
.menu nav .m-sub { border-bottom: 0; padding: 8px 0 8px 14px; font-size: 17px; font-weight: 400; color: var(--text); }
.menu nav { max-height: calc(100vh - 90px); overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }
.news--text { grid-template-columns: minmax(0, 1fr); }

/* ---- Überarbeitung 13:03 ---- */
.foot-grid img.foot-logo { width: 180px; max-width: 100%; height: auto; align-self: flex-start; }
.kicker { font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--slate); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border: 4px solid var(--green, #1f9a5a); border-radius: 50%; }
.nav-cta { margin-left: 12px; padding: 11px 22px; font-size: 17px; }
.section--slate .form p, .section--slate .privacy { color: var(--text); }
.section--slate .privacy strong { color: var(--ink); }
.section--slate .form a { color: var(--slate); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.ccard { background: var(--stone); border-radius: var(--radius); padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--slate); }
.ccard:nth-child(2) { border-top-color: #e98a00; } .ccard:nth-child(3) { border-top-color: #1f9a5a; }
.ccard:nth-child(4) { border-top-color: #a3124f; } .ccard:nth-child(5) { border-top-color: #0b6fae; }
.ccard-k { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ccard-v { font-size: 20px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.35; }
.ccard-v--s { font-size: 18px; }
.ccard p { margin: 0; font-size: 16px; }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } .nav-cta { margin-left: 0; } }
