/* efraim – Menschen begleiten | Stylesheet */
:root {
  --sage: #B8D8C0;          /* Hausfarbe */
  --sage-light: #E6F1E9;
  --sage-pale: #F3F8F4;
  --green: #2F5D46;         /* dunkle Akzentfarbe, gut lesbar */
  --green-dark: #1F4232;
  --ink: #1E2A24;
  --muted: #55645B;
  --line: #D6E4DA;
  --bg: #FCFCF9;
  --white: #fff;
  --warm: #F4EEE3;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(31, 66, 50, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--green-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .8rem; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--sage-pale); }
.section--sage { background: var(--sage-light); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; font-family: var(--sans); transition: background .2s, color .2s, transform .2s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 249, .94); 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: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-dark); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--sage); display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.nav ul { list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover { background: var(--sage-light); color: var(--green-dark); }
.nav a[aria-current="page"] { color: var(--green); background: var(--sage-light); }
.nav .btn { margin-left: .5rem; padding: .6rem 1.15rem; color: #fff; }
.nav .btn:hover { background: var(--green-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--green-dark); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: .2rem; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .6rem 0 0; justify-content: center; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); background: linear-gradient(180deg, var(--sage-pale) 0%, var(--bg) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--green); }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 440px; justify-self: end; width: 100%; }
.hero-art .blob { position: absolute; inset: 0; background: var(--sage); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.hero-art .tile { position: absolute; width: 46%; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.hero-art .tile--a { top: 10%; left: 6%; transform: rotate(-4deg); }
.hero-art .tile--b { bottom: 10%; right: 6%; transform: rotate(3deg); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-facts div { font-size: .95rem; color: var(--muted); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--green-dark); }
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--sage-pale); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.page-hero-logo { width: 150px; border-radius: 24px; box-shadow: var(--shadow); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 250px; justify-self: center; order: -1; }
  .page-hero-logo { width: 96px; order: -1; }
}

/* Cards & grids */
.grid { 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); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.card p:last-child { margin-bottom: 0; }
.card--offer { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; transition: box-shadow .2s, transform .2s; }
.card--offer:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card--offer img { width: 84px; border-radius: 18px; }
.card--offer .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card--offer .more::after { content: " →"; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-light); color: var(--green); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4232' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Quote band */
.band { background: var(--green); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.band h2 { color: #fff; margin-bottom: .4rem; }
.band p { color: #DCEBE0; margin: 0; }
.band .btn--primary { background: var(--sage); color: var(--green-dark); }
.band .btn--primary:hover { background: #fff; }
.band .btn--ghost { border-color: var(--sage); color: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* Chips (Gemeinden) */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--white); border: 1px solid var(--line); padding: .45rem 1rem; border-radius: 999px; font-size: .95rem; }
.chips li.home { background: var(--sage); border-color: var(--sage); font-weight: 600; color: var(--green-dark); }

/* Platzhalter */
.placeholder { background: repeating-linear-gradient(135deg, var(--sage-light), var(--sage-light) 12px, var(--sage-pale) 12px, var(--sage-pale) 24px); border: 2px dashed var(--sage); border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 1rem; }
.team-card { text-align: center; }
.team-card .placeholder { aspect-ratio: 1 / 1; border-radius: 50%; width: 150px; margin: 0 auto 1.2rem; }
.team-card h3 { margin-bottom: .2rem; }
.team-card p { color: var(--muted); font-size: .95rem; }

/* Bildkampagne Angehörige */
.motif { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.motif .placeholder { aspect-ratio: 4 / 3; border-radius: 0; border: 0; border-bottom: 2px dashed var(--sage); }
.motif-text { padding: 1.4rem 1.5rem 1.6rem; }
.motif-text h3 { font-size: 1.2rem; font-style: italic; }
.motif-text p { color: var(--muted); font-size: .98rem; margin: 0; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Formular */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--bg); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--sage-light); }
.field textarea { min-height: 140px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; background: var(--bg); }
.radio-row input { width: auto; accent-color: var(--green); }
.hint { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: auto; margin-top: .3rem; accent-color: var(--green); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: var(--sage-light); color: var(--green-dark); }
.form-status.err { display: block; background: #FBEAEA; color: #8A2A2A; }

/* Kontakt-Box */
.contact-box { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--ink); }
.contact-item .icon { margin: 0; flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }

/* Prose (Impressum, Datenschutz) */
.prose > * { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: var(--warm); border-left: 4px solid #C9A86A; padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; font-size: .95rem; margin: 1.5rem 0; }

/* Footer */
.site-footer { background: var(--green-dark); color: #CFE0D4; padding: 4rem 0 2rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-family: var(--serif); font-size: 1.1rem; margin: 0 0 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Anruf-Leiste */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(252, 252, 249, .97); border-top: 1px solid var(--line); z-index: 40; }
  .mobile-cta .btn { justify-content: center; padding: .75rem; }
  body { padding-bottom: 76px; }
}
.team-card .team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.2rem; border: 4px solid var(--sage); }
.motif-img { margin: 0; position: relative; }
.motif-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.motif-img figcaption { position: absolute; right: .6rem; bottom: .6rem; background: rgba(255,255,255,.88); font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; color: var(--muted); }
.motif-img figcaption a { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-art .tile--solo { top: 50%; left: 50%; width: 62%; transform: translate(-50%, -50%) rotate(-3deg); }
.text-columns { columns: 2 22rem; column-gap: 3rem; }
.text-columns p { break-inside: avoid; }
.source { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 1rem; }
