/* =========================================================
   Pflegeklinik Eden — Design
   Nah an der bestehenden Eden-Seite: klar, ruhig, professionell.
   Eden-Blau #2172b9, anthrazitfarbener Footer, weisse/hellgraue
   Flächen, dezenter Gold-Akzent (Sterne). Nunito (Headlines) + Inter.
   Technik/Klassen identisch zum Referenz-Plugin.
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --blue:      #2172b9;   /* Eden-Blau (Logo/Icons/Zahlen)  */
  --blue-600:  #1b5f9c;
  --blue-700:  #174e7a;
  --blue-800:  #123c5e;
  --blue-050:  #eaf2fa;   /* zartes Blau (Flächen)          */
  --blue-100:  #d2e3f3;
  --gold:      #e0a533;   /* warmer Akzent (Sterne)         */
  --gold-050:  #f9f0dc;

  --ink:       #1e2a37;   /* Haupttext                      */
  --ink-soft:  #3b4756;
  --muted:     #64707e;   /* Sekundärtext                   */
  --line:      #e5e9ef;   /* Trennlinien / Ränder           */

  --bg:        #ffffff;   /* Body                           */
  --paper:     #ffffff;   /* Karten                         */
  --surface:   #f4f6f9;   /* ruhige, hellgraue Fläche       */
  --footer:    #14181e;   /* anthrazitfarbener Footer       */

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  10px;
  --btn-radius: 9px;
  --shadow-sm:  0 1px 3px rgba(20,40,70,.06), 0 6px 18px -10px rgba(20,40,70,.18);
  --shadow:     0 12px 34px -16px rgba(20,50,90,.25);
  --shadow-lg:  0 26px 60px -28px rgba(20,50,90,.38);

  --font-head: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ink);
}

::selection { background: var(--blue-100); color: var(--blue-800); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(58px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 68px) 0; }
.section.alt { background: var(--surface); }
.section.blue-soft { background: var(--blue-050); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 800; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--blue); }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: 12px; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 800; font-size: .96rem;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(33,114,185,.8); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-bronze { background: var(--gold); color: #24313f; }
.btn-bronze:hover { filter: brightness(.96); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-100); }
.btn-ghost:hover { background: var(--blue-050); border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-white-outline:hover { background: #fff; color: var(--blue-700); border-color: #fff; }

.link-more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 800; color: var(--blue-700); }
.link-more span { transition: transform .2s ease; }
.link-more:hover span { transform: translateX(4px); }

/* ---------- Hinweis-Banner „in Überarbeitung“ ---------- */
.wip-banner { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--blue-050); color: var(--ink); border-bottom: 1px solid var(--line); font-size: .82rem; line-height: 1.35; padding: 8px 46px; text-align: center; }
.wip-banner span { opacity: .9; }
.wip-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; opacity: .5; transition: opacity .2s ease, background .2s ease; }
.wip-close:hover { opacity: 1; background: rgba(0,0,0,.06); }
.wip-banner.is-hidden { display: none; }
@media (max-width: 560px) { .wip-banner { font-size: .76rem; padding: 7px 40px; text-align: left; } }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-700)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 22px -14px rgba(20,50,90,.4); border-bottom-color: var(--line); }
.site-header .container { max-width: 1340px; }
.header-inner { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); min-height: var(--header-h); }
.header-inner .brand { margin-right: auto; }

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: clamp(130px, 15vw, 184px); height: 60px; flex: none;
  display: grid; place-items: center;
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
.brand-mark { font-family: var(--font-head); font-weight: 900; color: var(--blue); font-size: 1.7rem; letter-spacing: .06em; }
.brand-logo.has-img .brand-mark { display: none; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 8px 11px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; transition: color .2s ease, background .2s ease; }
.main-nav a:hover { color: var(--blue-700); background: var(--blue-050); }
.main-nav a.active { color: var(--blue-700); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.main-nav a.nav-cta, .nav-actions a.nav-cta { background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: .89rem; white-space: nowrap; box-shadow: 0 10px 20px -12px rgba(33,114,185,.85); transition: background .2s ease, transform .2s ease; }
.nav-actions a.nav-cta:hover { background: var(--blue-600); transform: translateY(-1px); }
.nav-actions a.nav-cta.ghost { background: transparent; color: var(--blue-700); border: 2px solid var(--blue-100); box-shadow: none; }
.nav-actions a.nav-cta.ghost:hover { background: var(--blue-050); border-color: var(--blue); }

.nav-toggle { display: none; width: 46px; height: 46px; border: none; background: var(--blue-050); border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--blue-700); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999; background: var(--bg);
  padding: 30px var(--gutter); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .28s ease, transform .28s ease; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a:hover { color: var(--blue-700); }

/* ---------- Hero (vollbreites Titelbild) ---------- */
.hero-cover { position: relative; width: 100%; background: var(--blue-050); line-height: 0; }
.hero-img { display: block; width: 100%; height: clamp(480px, 82vh, 920px); object-fit: cover; object-position: center top; }
.hero-jubi-link { display: contents; }
.hero-jubi { position: absolute; left: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%); width: clamp(172px, 18vw, 264px); height: auto; z-index: 3; filter: drop-shadow(0 14px 30px rgba(20,50,90,.38)); cursor: pointer; transition: transform .2s ease; }
.hero-jubi-link:hover .hero-jubi, .hero-jubi-link:focus-visible .hero-jubi { transform: translateY(-50%) scale(1.05); }
.hero-jubi-link:focus-visible { outline: none; }

/* Willkommen-Sektion + Check-Listen */
.willkommen .section-head { margin-bottom: clamp(24px, 3vw, 38px); }
.check-grid { list-style: none; padding: 0; margin: 6px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
.check-grid li { white-space: nowrap; font-size: .97rem; }
.hero-checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-grid li, .hero-checklist li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink-soft); }
.check-grid li::before, .hero-checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (max-width: 860px) { .check-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; } }
/* Mobil: Titelbild etwas weiter nach links rücken, Jubiläums-Grafik grösser. */
/* Mobil: Ausschnitt so, dass die Personen (Bildmitte/rechts) sichtbar bleiben. */
@media (max-width: 640px) { .hero-img { object-position: 62% top; } .hero-jubi { left: clamp(10px, 4vw, 24px); width: min(46vw, 190px); } }
@media (max-width: 540px) { .check-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* ---------- Werte / Feature-Karten (Icon-Box) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.feature .ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 18px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.22rem; }
.feature p { color: var(--muted); margin-top: 8px; font-size: .98rem; }

/* ---------- Stats / Counter ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px 16px; }
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.7rem); color: var(--blue); line-height: 1; }
.stat .num .suf { color: var(--gold); }
.stat .lbl { margin-top: 8px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.stats.boxed .stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px 18px; }

/* ---------- Icon-Karten (Angebote) ---------- */
.icard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icard-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto 22px; }
.icard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icard .ic { width: 66px; height: 66px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.icard .ic svg { width: 30px; height: 30px; }
.icard h3 { font-size: 1.22rem; }
.icard p { color: var(--muted); margin-top: 10px; font-size: .97rem; }
.icard .link-more { margin-top: 14px; }

/* ---------- Angebote / Bild-Karten ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.offer:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer .media { aspect-ratio: 16/11; background: var(--blue-100); background-size: cover; background-position: center; }
.offer .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.offer h3 { font-size: 1.26rem; }
.offer p { color: var(--muted); margin-top: 10px; font-size: .97rem; flex: 1; }
.offer .link-more { margin-top: 16px; }

/* Dienstleistungs-Karten (mit Icon, links) */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service .ic { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.service .ic svg { width: 25px; height: 25px; }
.service h3 { font-size: 1.12rem; }
.service p { color: var(--muted); margin-top: 6px; font-size: .94rem; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; background: var(--blue-100); background-size: cover; background-position: center; }
.split-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.split-copy p { color: var(--ink-soft); margin-top: 16px; }
.split-copy p + p { margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232172b9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--paper); border-radius: var(--radius); padding: 28px 26px 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testi .who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.testi .av { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-100); background-size: cover; background-position: center; flex: none; }
.testi .who b { font-family: var(--font-head); display: block; }
.testi .who span { color: var(--muted); font-size: .86rem; }
.testi p { font-size: 1.0rem; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }

/* ---------- News-Karten (auto-update) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-media { display: block; }
.news-media .frame-ph { aspect-ratio: 16/10; background: var(--blue-100); background-size: cover; background-position: center; position: relative; }
.news-media .frame-ph:not(.has-img)::after { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font-family: var(--font-head); font-weight: 800; opacity: .55; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { color: var(--blue); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.news-body h3 { font-size: 1.18rem; margin-top: 8px; }
.news-body p { color: var(--muted); margin-top: 10px; font-size: .95rem; flex: 1; }
.news-body .more { margin-top: 16px; font-family: var(--font-head); font-weight: 800; color: var(--blue-700); }
.news-body .more span { transition: transform .2s ease; display: inline-block; }
.news-card:hover .more span { transform: translateX(4px); }

/* ---------- Jobs (auto-update) ---------- */
.job-list { display: grid; gap: 14px; }
.job-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.job-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.job-row .j-main h3 { font-size: 1.14rem; }
.job-row .j-meta { color: var(--muted); font-size: .9rem; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.job-row .j-meta .tag { color: var(--blue-700); font-weight: 700; }
.job-row .btn { flex: none; }
.jobs-empty { text-align: center; color: var(--muted); padding: 30px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; }
.member .photo { aspect-ratio: 3 / 4; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue-050), var(--blue-100)); background-size: cover; background-position: center top; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.member .photo .mono { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--blue-700); letter-spacing: .02em; }
.member .photo.has-img .mono { display: none; }
.member h3 { font-size: 1.06rem; margin-top: 14px; }
.member span { color: var(--blue-700); font-weight: 600; font-size: .89rem; }

/* ---------- Werte-Kacheln (Über uns) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.value .vn { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: .82rem; letter-spacing: .08em; }
.value h3 { font-size: 1.2rem; margin-top: 6px; }
.value p { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ---------- Downloads (Button-Gruppen wie auf der bisherigen Seite) ---------- */
.dl-group { margin-top: 38px; }
.dl-group > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-buttons .btn { min-width: 0; }

/* ---------- Kontakt / Formulare ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 54px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card .ic { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.04rem; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: .97rem; }
.info-card a:hover { color: var(--blue-700); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow); }
.form-card > h3 { font-size: 1.45rem; }
.form-card > p { color: var(--muted); margin-top: 6px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-section-head { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--blue-700); margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-section-head:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-pdf { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 600; color: var(--blue-700); }
.form-pdf svg { width: 18px; height: 18px; }
.checkbox-row { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.checkbox-row label { font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.field input, .field textarea, .field select { font: inherit; width: 100%; max-width: 100%; min-width: 0; padding: 12px 14px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-overflow: ellipsis; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-050); }
/* Gelbe/farbige Browser-Autofill-Einfärbung unterdrücken */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 99999s ease-out 0s;
}
.field textarea { resize: vertical; min-height: 130px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-soft); }
.filedrop { border: 2px dashed var(--blue-100); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); background: var(--blue-050); }
.filedrop b { color: var(--blue-700); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; }
.form-embed :where(input,textarea,select) { max-width: 100%; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue-700); color: #fff; border-radius: var(--radius-lg); }
.cta-inner { position: relative; z-index: 2; padding: clamp(40px, 6vw, 72px) var(--gutter); text-align: center; }
.cta-band .frame-ph { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--blue-800), rgba(23,78,122,.72)); z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); max-width: 20ch; margin-inline: auto; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 14px auto 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Seiten-Kopf (innere Seiten) ---------- */
.page-hero { padding: clamp(44px, 6vw, 84px) 0 clamp(26px, 4vw, 48px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 84% 0%, var(--blue-050), transparent 55%); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-top: 12px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; max-width: 64ch; }
.crumbs { color: var(--muted); font-size: .9rem; font-weight: 600; }
.crumbs a:hover { color: var(--blue-700); }

/* ---------- Banner (breites Leitbild) ---------- */
.banner-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21/9; background: var(--blue-100); background-size: cover; background-position: center; }
@media (max-width: 720px) { .banner-media { aspect-ratio: 16/10; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* Kein einsames Einzelbild in der letzten Reihe: bei 5, 9, 13 … Bildern 3 Spalten.
   Zweite Variante deckt den Bearbeitungsmodus ab (dort folgt nach der letzten
   Kachel noch der „+ Bild hinzufügen"-Button) – Anzeige und Bearbeitung gleich. */
.gallery:has(> .g-item:nth-child(4n+1):nth-child(n+5):last-child),
.gallery:has(> .g-item:nth-child(4n+1):nth-child(n+5) + .edn-g-add) { grid-template-columns: repeat(3, 1fr); }
/* Feste 3er-Reihen (z. B. Angebote: 2×3 Bilder), unabhängig von der Bildanzahl. */
.gallery.g-3col { grid-template-columns: repeat(3, 1fr); }

/* ---------- Hilfsklassen: Ausblenden & CSS-Umsortierung ----------
   Wichtig: Elemente werden NUR visuell ausgeblendet/umsortiert – die
   Dokument-Reihenfolge (und damit die Live-Editor-IDs) bleibt unangetastet. */
.edn-hidden { display: none !important; }
/* Kontakt: Aufnahmegesuch-Kachel nach oben, Karte nach unten. */
.kontakt-reorder { display: flex; flex-direction: column; }
.kontakt-reorder .k-cta { order: 1; }
.kontakt-reorder .k-map { order: 2; }
/* Aufnahme: Formular zuerst sichtbar, Info-Kacheln darunter. */
.aufnahme-stack { display: flex; flex-direction: column; }
.aufnahme-stack .form-card { order: 1; }
.aufnahme-stack .info-row { order: 2; margin-top: clamp(18px, 2.5vw, 30px); }
.g-item { aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-100); background-size: cover; background-position: center; cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform .25s ease; }
.g-item:hover { transform: scale(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.72); border-bottom: 3px solid var(--blue); }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 76px) 0 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: var(--blue-100); }
/* Logo im Footer: freigestellt (transparent) auf dem dunklen Balken – wie auf der bisherigen Seite. */
.footer-brand .brand-logo { width: clamp(150px, 16vw, 200px); height: 74px; }
.footer-brand .brand-mark { color: #fff; }
.footer-slogan { margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-style: italic; color: #fff; font-size: 1.02rem; max-width: 32ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--blue); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-col h4 { color: #fff; font-size: 1.0rem; margin-bottom: 15px; }
.footer-col a { display: block; padding: 5px 0; font-size: .95rem; }
.footer-contact p { margin-bottom: 10px; font-size: .95rem; }
.footer-contact .donate { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-contact .donate b { color: #fff; display: block; font-family: var(--font-head); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .87rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Floating buttons ---------- */
.to-top, .phone-fab { position: fixed; bottom: 22px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; }
.to-top { right: 22px; background: #fff; color: var(--blue-700); font-size: 1.4rem; border: 1px solid var(--line); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.phone-fab { right: 22px; bottom: 84px; background: #fff; color: var(--blue); border: 1px solid var(--line); opacity: 1; visibility: visible; transform: none; }
.phone-fab svg { width: 24px; height: 24px; }
.phone-fab:hover, .to-top:hover { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12,22,34,.93); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; display: grid; place-items: center; transition: background .2s ease; }
.lb-btn:hover { background: var(--blue); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Legal-Seiten ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 32px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 10px 0 10px 20px; }
.legal a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.legal .muted { color: var(--muted); font-size: .9rem; }

/* ---------- Reveal-Animation ----------
   Ausfallsicher: Inhalte sind standardmässig sichtbar. Nur wenn JS aktiv
   ist (html.js) werden sie vor dem Einblenden versteckt. Hakt oder fehlt
   das Skript (html.js-broke), bleiben alle Inhalte sichtbar. */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js-broke .reveal, html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Barrierefreiheit-Werkzeugleiste ---------- */
.edn-a11y { position: fixed; left: 18px; bottom: 22px; z-index: 950; }
.edn-a11y-toggle { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue-700); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.edn-a11y-toggle svg { width: 26px; height: 26px; }
.edn-a11y-panel { position: absolute; left: 0; bottom: 62px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; }
.edn-a11y-panel h4 { font-size: .95rem; margin-bottom: 10px; }
.edn-a11y-panel .row { display: flex; gap: 8px; flex-wrap: wrap; }
.edn-a11y-panel button { flex: 1 1 auto; min-width: 68px; padding: 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .84rem; color: var(--ink); }
.edn-a11y-panel button:hover { border-color: var(--blue); color: var(--blue-700); }
.edn-a11y-panel .reset { width: 100%; margin-top: 8px; flex: none; }

html.edn-fs-1 body { font-size: 18px; }
html.edn-fs-2 body { font-size: 19.5px; }
html.edn-fs-3 body { font-size: 21px; }
html.edn-contrast { --muted: #33404d; --ink-soft: #16202b; }
html.edn-grayscale body { filter: grayscale(1); }
html.edn-underline a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .offer-grid, .testi-grid, .news-grid, .value-grid, .icard-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .service-grid, .form-grid, .dl-list { grid-template-columns: 1fr; }
  .feature-grid, .offer-grid, .testi-grid, .news-grid, .value-grid, .stats, .icard-grid, .icard-grid.two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.g-3col { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .job-row { grid-template-columns: 1fr; gap: 14px; }
  .job-row .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Live-Editor (nur für angemeldete Redakteure sichtbar) ---------- */
.edn-editbar { position: fixed; left: 18px; bottom: 84px; z-index: 1500; display: flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow); font-size: .88rem; }
.edn-editbar button { border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; transition: background .2s ease; }
.edn-editbar button:hover { background: var(--blue); }
.edn-editbar [data-ed="save"] { background: var(--blue); }
.edn-editbar [data-ed="reset"] { background: rgba(255,80,80,.25); }
.edn-editbar.saved [data-ed="toggle"]::after { content: " ✓ gespeichert"; }
.edn-ed-tools { display: inline-flex; gap: 8px; }
html.edn-editing [data-eid][contenteditable] { outline: 2px dashed rgba(33,114,185,.55); outline-offset: 2px; border-radius: 4px; min-height: 1em; }
html.edn-editing [data-eid][contenteditable]:hover, html.edn-editing [data-eid][contenteditable]:focus { outline-color: var(--blue); background: rgba(33,114,185,.06); }
html.edn-editing [data-img][data-eid], html.edn-editing img[data-eid] { cursor: pointer; }
html.edn-editing [data-img][data-eid]:hover, html.edn-editing img[data-eid]:hover { outline: 3px solid var(--blue); outline-offset: 2px; }
html.edn-editing .reveal { opacity: 1 !important; transform: none !important; }
.edn-linktip { position: fixed; z-index: 1600; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow); font-size: .82rem; max-width: min(92vw, 460px); }
.edn-linktip .edn-lt-url { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .75; }
.edn-linktip button { border: 0; border-radius: 7px; padding: 6px 10px; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; }
.edn-linktip button:hover { background: var(--blue); }

/* Galerie-Bearbeitung: Kachel entfernen (×) und „Bild hinzufügen"-Kachel. */
.edn-gal-edit .g-item { position: relative; }
.edn-g-del { position: absolute; top: 8px; right: 8px; z-index: 5; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(180,30,30,.92); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.edn-g-del:hover { background: #d32f2f; }
.edn-g-add { aspect-ratio: 1/1; border-radius: var(--radius-sm); border: 2px dashed var(--blue); background: var(--blue-050); color: var(--blue-700); font-family: var(--font-head); font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; transition: background .2s ease; }
.edn-g-add b { font-size: 1.8rem; line-height: 1; }
.edn-g-add span { font-size: .85rem; }
.edn-g-add:hover { background: var(--blue-100); }

/* ---------- „Warum das Eden" – Foto-Karten wie im Original (Cover-Stil) ---------- */
.cta-cards { display: grid; grid-template-columns: 1.15fr 1fr; grid-auto-rows: minmax(240px, auto); gap: 18px; }
.cta-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-100) center/cover no-repeat; display: flex; align-items: flex-end; min-height: 250px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cta-card.big { grid-row: span 2; min-height: 520px; }
.cta-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,30,0) 34%, rgba(10,20,30,.8) 100%); }
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cta-body { position: relative; z-index: 2; padding: 22px 24px; color: #fff; }
.cta-body h3 { color: #fff; font-size: 1.32rem; margin-bottom: 6px; }
.cta-body p { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.94); }
@media (max-width: 900px) {
  .cta-cards { grid-template-columns: 1fr; }
  .cta-card.big { grid-row: auto; min-height: 320px; }
}

/* ---------- Stelleninserate (aufklappbar, ohne separate Seiten) ---------- */
.job-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.job-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; }
.job-item summary::-webkit-details-marker { display: none; }
.job-item summary:hover h3 { color: var(--blue-700); }
.job-item .j-caret { display: inline-block; transition: transform .25s ease; }
.job-item[open] .j-caret { transform: rotate(180deg); }
.job-item .j-body { padding: 0 24px 24px; border-top: 1px solid var(--line); }
.job-item .j-body h4 { margin: 20px 0 8px; color: var(--blue-700); font-size: 1.04rem; }
.job-item .j-body ul { margin: 0; padding-left: 20px; }
.job-item .j-body li { margin: 4px 0; color: var(--ink-soft); }
.job-item .j-body p { color: var(--ink-soft); margin-top: 12px; }
.job-item .j-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 720px) { .job-item summary { flex-direction: column; align-items: flex-start; } .job-item summary .btn { width: 100%; } }

/* ---------- Formulare: Honeypot + Rückmeldung ---------- */
.edn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-flash { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.form-flash.ok { background: #e7f5ec; color: #16522e; border: 1px solid #bfe3cc; }
.form-flash.err { background: #fdecec; color: #7a1f1f; border: 1px solid #f3c5c5; }
.field input[type="file"] { width: 100%; padding: 12px 14px; border: 2px dashed var(--blue-100); border-radius: var(--radius-sm); background: var(--surface); font-size: .92rem; color: var(--muted); cursor: pointer; }
.field input[type="file"]:hover { border-color: var(--blue); }
.field input[type="file"]::file-selector-button { border: 0; border-radius: 999px; padding: 8px 16px; margin-right: 12px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; }

/* ---------- Aufnahmegesuch: volle Breite + hübschere Auswahl ---------- */
.form-card.wide { max-width: none; }
.form-card.wide .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .form-card.wide .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .form-card.wide .form-grid { grid-template-columns: 1fr; } }
.info-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 36px; }
@media (max-width: 860px) { .info-row { grid-template-columns: 1fr; } }
.radio-row { gap: 12px; }
.radio-row label { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 18px; cursor: pointer; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-050); color: var(--blue-700); font-weight: 700; }
.radio-row input { accent-color: var(--blue); width: 16px; height: 16px; }
@media (max-width: 560px) { .radio-row { flex-direction: column; align-items: stretch; } .radio-row label { white-space: normal; } }

/* ---------- Digitale Unterschrift ---------- */
.sig-pad { position: relative; border: 2px dashed var(--blue-100); border-radius: var(--radius-sm); background: #fff; }
.sig-pad canvas { display: block; width: 100%; height: 170px; touch-action: none; cursor: crosshair; }
.sig-clear { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: 6px 14px; background: var(--surface); color: var(--muted); font-size: .82rem; font-weight: 700; cursor: pointer; }
.sig-clear:hover { background: var(--blue-050); color: var(--blue-700); }

/* ---------- Team: E-Mail wie im Original ---------- */
.member .member-mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--blue); }
.member .member-mail:hover { color: var(--blue-700); text-decoration: underline; }

/* ---------- Kontakt: Karte (Leaflet/OSM, heller Stil) ---------- */
.edn-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--blue-050); }
#ednMapCanvas { height: clamp(340px, 46vw, 500px); z-index: 1; }
.edn-map-marker { background: transparent !important; border: 0 !important; }
.edn-map-marker > span { box-sizing: border-box; display: grid; place-items: center; width: 64px; height: 64px; background: #fff !important; border: 3px solid var(--blue); border-radius: 50%; box-shadow: 0 8px 20px rgba(20,50,90,.35); overflow: hidden; }
.edn-map-marker img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.map-meta { position: absolute; top: 14px; right: 14px; z-index: 1100; background: rgba(255,255,255,.95); border-radius: var(--radius-sm); padding: 10px 16px; font-size: .9rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.map-meta strong { color: var(--ink); }
.map-route { position: absolute; left: 16px; bottom: 16px; z-index: 1100; }
@media (max-width: 640px) { .map-meta { font-size: .8rem; padding: 8px 12px; } }

/* Dropzone (Bewerbungsunterlagen): ein Feld, klick- und ziehbar. */
.filedrop { position: relative; display: block; cursor: pointer; }
.filedrop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filedrop .dz-files { display: block; margin-top: 8px; font-weight: 700; color: var(--blue-700); }

/* ---------- Cookie-Banner + Karten-Consent ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1300; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--ink); color: rgba(255,255,255,.92); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 860px; margin-inline: auto; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.5; flex: 1 1 340px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: .88rem; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.map-consent { height: 100%; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; color: var(--muted); }

/* ---------- Stelleninserate: Zeile + Popup ---------- */
.job-open { width: 100%; display: flex; align-items: center; gap: 18px; text-align: left; background: none; border: 0; padding: 18px 22px; cursor: pointer; font: inherit; color: inherit; }
.job-open .j-main { flex: 1; min-width: 0; }
.job-open h3 { font-size: 1.12rem; }
.job-open .j-meta { display: inline-block; margin-top: 6px; }
.job-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.job-thumb img { width: 100%; height: 100%; object-fit: cover; }
.job-open:hover h3 { color: var(--blue-700); }
.job-modal { position: fixed; inset: 0; z-index: 2100; background: rgba(12,22,34,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.jm-panel { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 780px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); padding: 0 clamp(22px, 4vw, 40px) 30px; }
.jm-panel .jf-hero { margin: 0 calc(clamp(22px, 4vw, 40px) * -1) 22px; }
.jm-panel .jf-hero img { width: 100%; height: clamp(180px, 30vw, 260px); object-fit: cover; }
.jm-panel > h3 { font-size: 1.5rem; margin: 18px 0 6px; padding-right: 40px; }
.jm-panel h4 { margin: 20px 0 8px; color: var(--blue-700); }
.jm-panel ul { padding-left: 20px; margin: 0; }
.jm-panel li { margin: 4px 0; color: var(--ink-soft); }
.jm-panel p { color: var(--ink-soft); margin-top: 12px; }
.jm-panel .j-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.jm-close { position: sticky; top: 12px; float: right; margin-right: -8px; z-index: 5; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.jm-close:hover { background: var(--blue-050); color: var(--blue-700); }
@media (max-width: 640px) { .job-open { flex-wrap: wrap; } .job-open .btn { width: 100%; } }

/* ---------- Jubiläums-Flyer-Popup ---------- */
.flyer-modal { position: fixed; inset: 0; z-index: 2200; background: rgba(12,22,34,.88); display: flex; align-items: center; justify-content: center; padding: 4vw; }
.flyer-modal img { max-width: min(92vw, 640px); max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #fff; }
.flyer-modal .fm-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.flyer-modal .fm-close:hover { background: var(--blue); }
