/* Health4yu e.V. – Stylesheet (keine externen Schriften/CDNs, DSGVO-freundlich) */
:root {
  --green: #0e6b57;
  --green-dark: #0a4f41;
  --green-soft: #e3f1ec;
  --gold: #e9a23b;
  --gold-dark: #c98419;
  --red: #b3261e;
  --ink: #18252e;
  --ink-soft: #4a5a66;
  --line: #dfe4e2;
  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 34, .06), 0 8px 24px rgba(16, 40, 34, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.small { font-size: .88rem; color: var(--ink-soft); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: .5em; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 760px; }
.mt { margin-top: 2rem; }
mark.ph { background: #fff3cd; color: #7a5300; padding: 0 4px; border-radius: 4px; font-size: .9em; }
.empty { color: var(--ink-soft); font-style: italic; }
.plain { list-style: none; padding: 0; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 1.7em; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1em; height: .55em; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .72em 1.3em; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1d1405; }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #1d1405; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-small { padding: .45em .9em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; color: var(--green); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 0 .2em; }
.link-arrow { font-weight: 650; text-decoration: none; }
.link-arrow::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header */
.admin-bar { background: #fff3cd; color: #5c4200; font-size: .9rem; padding: 8px 20px; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-text span { color: var(--gold-dark); }
.brand-text small { font-weight: 600; font-size: .75rem; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink); text-decoration: none; font-weight: 550; padding: .3em 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { color: var(--green); border-bottom-color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: .3em .7em; font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); }
  .nav-actions { justify-content: space-between; margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Flash */
.flashes { padding-top: 1rem; }
.alert { padding: .9em 1.1em; border-radius: 10px; margin-bottom: .8rem; border: 1px solid; }
.alert-success { background: #e6f4ee; border-color: #b6dccb; color: #0b4d3c; }
.alert-error { background: #fdecea; border-color: #f3c2bd; color: #8a1c14; }
.alert-info { background: #eef4fb; border-color: #c6d9ef; color: #1f4b7a; }

/* Hero */
.hero { background: linear-gradient(135deg, rgba(10,79,65,.97), rgba(14,107,87,.92)), radial-gradient(circle at 80% 20%, var(--gold), transparent 50%); color: #fff; padding: clamp(3rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(233,162,59,.18); }
.hero-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hero-facts li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 1rem 1.2rem; }
.hero-facts strong { display: block; font-size: 1.5rem; }
.hero-facts span { color: rgba(255,255,255,.8); font-size: .95rem; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

.page-hero { background: var(--bg-alt); padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.page-hero .actions { margin-top: 1.5rem; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: 2rem 0 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.cta-band { background: var(--green-soft); }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.split-actions { text-align: right; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } .split-actions { text-align: left; } }

/* Grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
ol.grid-3, ol.grid-4 { list-style: none; padding: 0; margin: 0; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 1.5rem; }
.tile { text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: var(--green); color: var(--ink); }
.tile h3 { color: var(--green); }
.project-card { display: flex; flex-direction: column; overflow: hidden; }
.card-media { position: relative; display: block; text-decoration: none; aspect-ratio: 16/10; background: var(--green-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.img-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-soft), #f4e7d1); color: var(--green); font-weight: 700; }
.img-ph.cat-hospital { background: linear-gradient(135deg, #d8ece5, #b9dccf); }
.img-ph.cat-equipment { background: linear-gradient(135deg, #e6eef6, #cfdcea); color: #2a4f75; }
.img-ph.cat-education { background: linear-gradient(135deg, #f7ecd9, #f0d8ad); color: #7a4f0a; }
.img-ph.cat-water { background: linear-gradient(135deg, #dff0f6, #bfe0ec); color: #165a72; }
.img-ph.cat-maternal { background: linear-gradient(135deg, #f8e5e6, #efc9cc); color: #8a2e38; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--green); font-size: .78rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; box-shadow: var(--shadow); }
.badge-funded { background: var(--green); color: #fff; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--green); }
.card-text { color: var(--ink-soft); flex: 1; }

/* Progress */
.progress-block { margin: .5rem 0 1rem; }
.progress { height: 10px; border-radius: 999px; background: #e7ebe9; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #19a37f); border-radius: 999px; }
.progress-meta { display: flex; justify-content: space-between; font-size: .92rem; margin-top: .4rem; color: var(--ink-soft); }
.progress-meta strong { color: var(--ink); }

/* How */
.how .step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); font-weight: 800; margin-bottom: .8rem; }

/* Phases */
.phases { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.phases li { display: flex; gap: .7rem; align-items: center; padding: .6rem .9rem; border-radius: 10px; background: var(--bg-alt); }
.phases li span { margin-left: auto; font-size: .82rem; color: var(--ink-soft); }
.phases .done { background: var(--green-soft); }
.phases .current { background: #fbecd2; font-weight: 600; }
.phase-cards .badge { position: static; display: inline-block; margin-bottom: .8rem; background: var(--green-soft); box-shadow: none; }
.phase-cards .badge-gold { background: #fbecd2; color: #7a4f0a; }
.phase-cards .badge-muted { background: #eef0ef; color: var(--ink-soft); }
.phase-cards .current { border-color: var(--gold); border-width: 2px; }

.impact-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2rem; }
.impact-box .eyebrow { color: var(--gold); }
.impact { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.impact li { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.impact strong { display: inline-block; min-width: 5.5em; color: var(--gold); }
.goal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.goal-grid div { background: #fff; border-radius: var(--radius); padding: 1.2rem; border: 1px dashed var(--green); }
.goal-grid strong { display: block; font-size: 1.7rem; color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stats strong { display: block; font-size: 2.4rem; color: var(--gold); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--green-soft); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .3em; width: 15px; height: 15px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-soft); }
.timeline time { font-weight: 800; color: var(--gold-dark); font-size: .95rem; }
.timeline h3 { margin: .1em 0 .3em; font-size: 1.1rem; }
.timeline p { color: var(--ink-soft); margin: 0; }

/* Project detail */
.project-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 3rem; padding-top: 2.5rem; padding-bottom: 4rem; align-items: start; }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); }
.meta-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .95rem; color: var(--ink-soft); }
.project-img { border-radius: var(--radius); margin-bottom: 1.5rem; width: 100%; }
.prose p { max-width: 70ch; }
.note { background: var(--bg-alt); border-left: 4px solid var(--gold); padding: 1.2rem 1.4rem; border-radius: 8px; margin-top: 2rem; }
.note h2 { font-size: 1.1rem; }
.project-side { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.donate-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.donor-count { font-size: .9rem; color: var(--ink-soft); margin-top: -.3rem; }
.recent { padding: 0 .3rem; }
.recent li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.share { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.share p { width: 100%; margin: 0; }
@media (max-width: 900px) { .project-layout { grid-template-columns: 1fr; } .project-side { position: static; } }

/* Forms */
.donate-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.donate-info { display: grid; gap: 1.2rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .donate-layout, .form-layout { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, label { font-weight: 600; font-size: .95rem; }
.field { margin-bottom: 1.1rem; display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7em .85em; border: 1.5px solid #cbd3d0; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(14,107,87,.15); }
textarea { resize: vertical; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.hint { font-size: .85rem; color: var(--ink-soft); margin: .3rem 0 0; }
.check { display: block; position: relative; padding-left: 1.75rem; font-weight: 400; margin-bottom: .9rem; font-size: .93rem; }
.check input { position: absolute; left: 0; top: .2em; margin: 0; width: 18px; height: 18px; accent-color: var(--green); }
.provider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.provider, .amount, .seg label { cursor: pointer; }
.provider input, .amount input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.provider span { display: block; padding: .75rem .9rem; border: 1.5px solid #cbd3d0; border-radius: 10px; height: 100%; font-weight: 400; }
.provider small { display: block; color: var(--ink-soft); font-size: .78rem; line-height: 1.3; margin-top: .15rem; }
.provider input:checked + span, .amount input:checked + span, .seg input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.provider input:focus-visible + span, .amount input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.seg span, .amount span { display: block; text-align: center; padding: .65rem; border: 1.5px solid #cbd3d0; border-radius: 10px; font-weight: 650; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: .6rem; }
.amount-custom { margin-top: .2rem; }
.secure-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: .8rem 0 0; }
@media (max-width: 420px) { .provider-grid { grid-template-columns: 1fr; } .amount-grid { grid-template-columns: 1fr 1fr; } }

dl.bank { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1rem; }
dl.bank dt { font-weight: 600; color: var(--ink-soft); font-size: .92rem; }
dl.bank dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { dl.bank { grid-template-columns: 1fr; } dl.bank dd { margin-bottom: .5rem; } }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .5rem; }

/* Filter, Gallery, Logos, Tables */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter a, .filter button { padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer; }
.filter a[aria-current], .filter button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: #fff; }
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { border-radius: 10px; width: 100%; }
.gallery figcaption { font-size: .85rem; color: var(--ink-soft); padding: .3rem .1rem; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.logo-item { display: grid; place-items: center; min-height: 90px; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 650; text-align: center; }
.logo-item img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-item:hover img { filter: none; opacity: 1; }
.package-amount { font-size: 1.3rem; font-weight: 800; color: var(--green); margin-bottom: .5rem; }
.package-gold { border-top: 4px solid var(--gold); }
.package-silver { border-top: 4px solid #a8b2b8; }
.package-bronze { border-top: 4px solid #b9814b; }
.package-partner { border-top: 4px solid var(--green); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
.table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.table .num { text-align: right; white-space: nowrap; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-info p { margin-bottom: 1.1rem; }

/* Footer */
.site-footer { background: #10201b; color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .small { color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr; gap: 2rem; }
.footer-brand { font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-h { display: block; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.site-footer .plain li { margin-bottom: .4rem; }
.site-footer .plain a { text-decoration: none; }
.site-footer .plain a:hover { text-decoration: underline; }
.newsletter { margin-top: 1rem; }
.nl-row { display: flex; gap: .4rem; margin-bottom: .5rem; }
.nl-row input { padding: .5em .7em; border-radius: 999px; border: 0; min-width: 0; flex: 1; }
.newsletter .check { color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .project-side { display: none; } }

/* ===== v2: Logo, Hero-Slider, Seitenkopf mit Bild, Galerie-Slider ===== */
.brand-logo { width: 46px; height: auto; flex: none; }
.brand-text { line-height: 1.05; }
.brand-text em { display: block; font-style: normal; font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-top: 2px; }
.main-nav ul { gap: 1.1rem; }
@media (max-width: 1180px) and (min-width: 981px) { .main-nav ul a { font-size: .93rem; } .main-nav ul { gap: .8rem; } }

.hero-slider { position: relative; min-height: clamp(520px, 82vh, 760px); color: #fff; overflow: hidden; display: flex; align-items: center; background: #10201b; }
.hero-slider .slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero-slider .slides li { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slider .slides li.active { opacity: 1; }
.hero-slider .slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero-slider .slides li.active img { transform: scale(1); }
.hero-slider::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,32,26,.88) 0%, rgba(8,32,26,.62) 48%, rgba(8,32,26,.18) 100%); }
.hero-slider .hero-inner { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 5rem; }
.hero-slider .eyebrow { color: var(--gold); }
.hero-slider .lead { color: rgba(255,255,255,.9); }
.hero-slider h1 { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.4rem; display: flex; justify-content: center; gap: .5rem; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; }
.hero-caption { position: absolute; z-index: 3; right: 20px; bottom: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.75); max-width: 40%; text-align: right; }
@media (max-width: 860px) { .hero-slider::before { background: linear-gradient(180deg, rgba(8,32,26,.55), rgba(8,32,26,.88)); } .hero-caption { display: none; } }

.page-hero.has-img { position: relative; color: #fff; background: #10201b var(--hero) var(--hero-pos, center)/cover no-repeat; border-bottom: 0; padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 7vw, 5rem); }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,32,26,.86), rgba(8,32,26,.45)); }
.page-hero.has-img .wrap { position: relative; }
.page-hero.has-img .eyebrow { color: var(--gold); }
.page-hero.has-img .lead { color: rgba(255,255,255,.9); }
.page-hero.has-img .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.page-hero.has-img .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Fotostreifen Startseite */
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: .8rem; }
.photo-strip a { overflow: hidden; border-radius: 12px; display: block; }
.photo-strip a:first-child { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-strip a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; } .photo-strip a:first-child { grid-column: span 2; grid-row: auto; } }

/* Galerie-Slider */
.g-stage { position: relative; background: #0d1915; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; max-height: 72vh; width: 100%; }
.g-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; justify-content: center; }
.g-stage figure.active { opacity: 1; z-index: 1; }
.g-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.g-stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: .95rem; }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; }
.g-btn:hover { background: #fff; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-tools { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: .4rem; }
.g-tools button { background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 999px; padding: .35em .8em; font: inherit; font-size: .82rem; cursor: pointer; }
.g-count { position: absolute; top: 12px; left: 14px; z-index: 2; color: #fff; background: rgba(0,0,0,.55); border-radius: 999px; padding: .25em .7em; font-size: .82rem; }
.g-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 0 .3rem; scroll-snap-type: x mandatory; }
.g-thumbs button { flex: 0 0 auto; width: 96px; height: 68px; padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; scroll-snap-align: center; opacity: .65; background: none; }
.g-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-stage.fullscreen { position: fixed; inset: 0; z-index: 200; border-radius: 0; max-height: none; aspect-ratio: auto; }

/* Kontakt & FAQ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card h3 { color: var(--green); margin-bottom: .3rem; }
.contact-card .big { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1em; font-size: 1.4rem; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--ink-soft); }
.notice { background: #fff8e6; border: 1px solid #f0d79c; border-radius: 10px; padding: .8rem 1rem; font-size: .93rem; }
.highlights .card h3 { color: var(--green); }
.highlights .card .year { font-weight: 800; color: var(--gold-dark); font-size: .9rem; }
.facts-bar { background: var(--green-dark); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 20px; }
.facts strong { display: block; font-size: 1.3rem; color: var(--gold); }
.facts span { font-size: .9rem; color: rgba(255,255,255,.85); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.what-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.what-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.what-card .pad { padding: 1.1rem 1.2rem 1.3rem; }
.what-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.model-grid { grid-template-columns: repeat(4, 1fr); }
.model-grid span { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .model-grid { grid-template-columns: 1fr; } }
.page-hero.has-img.hero-top { background-position: center 12%; }

/* Mitmachen & Projektarchiv */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .25rem 1rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1rem; }
fieldset.field legend { font-weight: 600; margin-bottom: .4rem; }
.join-ways .card { display: flex; flex-direction: column; }
.join-ways .card .btn { margin-top: auto; align-self: flex-start; }
.join-areas { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem 1.5rem; }
.join-areas li { padding-left: .9rem; border-left: 3px solid var(--gold); }
.join-areas li span { display: block; font-size: .92rem; color: var(--ink-soft); }
.badge-closed { background: #2f3b37; color: #fff; }
.archive-year { margin: 2rem 0 1rem; font-size: 1.5rem; color: var(--green); border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
