/* Behördenlayout – Hilfeseite */
.help-page .help-hero-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-left: 6px solid #d59b00;
  padding: 24px;
  background: #fff;
}
.help-page .help-hero-note > i { font-size: 30px; color: #087a52; margin-top: 3px; }
.help-page .help-hero-note strong,
.help-page .help-hero-note span,
.help-page .help-hero-note a { display: block; }
.help-page .help-hero-note strong { font-size: 21px; margin-bottom: 6px; }
.help-page .help-hero-note span { color: var(--ink-soft); margin-bottom: 10px; }
.help-page .help-hero-note a { font-weight: 700; }

.help-page .help-priority-card {
  width: 100%;
  margin: 0;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  background: #fff;
}
.help-page .help-priority-card h2 { margin: 8px 0 20px; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.help-page .help-callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; }
.help-page .help-callout p { margin: 0; }
.help-page .help-callout > i { color: var(--brand); margin-top: 5px; }

.help-signs-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.compact-heading { max-width: 850px; margin-bottom: 28px; }
.compact-heading h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.16; margin: 0 0 14px; }
.help-page .help-signs-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); gap: 0; }
.help-page .help-sign-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px; min-height: 245px; }
.help-page .help-sign-card:nth-child(3n) { border-right: 0; }
.help-page .help-sign-card:nth-last-child(-n+3) { border-bottom: 0; }
.help-page .help-sign-card > i { font-size: 24px; color: var(--brand); }
.help-page .help-sign-card h3 { font-size: 21px; line-height: 1.25; margin: 16px 0 10px; }
.help-page .help-sign-card p { margin: 0; color: var(--ink-soft); }
.help-observation-note { display: flex; gap: 14px; padding: 22px 24px; margin-top: 20px; background: #e8f5ef; border-left: 5px solid #087a52; }
.help-observation-note p { margin: 0; }
.help-observation-note i { color: #087a52; margin-top: 5px; }

.help-page .muted { background: #fff; }
.quick-help-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.quick-help-card { position: relative; padding: 28px; border-right: 1px solid var(--line); }
.quick-help-card:last-child { border-right: 0; }
.quick-help-card > span { display: block; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.quick-help-card > i { font-size: 25px; color: var(--brand); margin: 18px 0 4px; }
.quick-help-card h3 { margin: 8px 0 10px; font-size: 22px; }
.quick-help-card p { margin: 0; color: var(--ink-soft); }

.help-directory-section { background: var(--bg-warm); border-top: 1px solid var(--line); }
.help-directory-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.help-directory-card { grid-column: span 2; border: 1px solid var(--line); background: #fff; padding: 25px; display: flex; flex-direction: column; min-height: 300px; }
.help-directory-card:nth-child(4), .help-directory-card:nth-child(5) { grid-column: span 3; }
.help-directory-card > i { width: 44px; height: 44px; display: grid; place-items: center; background: #e5f4ef; color: var(--brand); font-size: 20px; }
.help-directory-card > span, .facebook-card-head span { margin-top: 18px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 13px; color: var(--brand); }
.help-directory-card h3 { margin: 8px 0; font-size: 23px; }
.help-directory-card p { color: var(--ink-soft); margin: 0 0 18px; }
.help-directory-card > a { margin-top: auto; font-weight: 700; }
.help-facebook-card { grid-column: 1 / -1 !important; min-height: 0; background: #eef7f5; }
.facebook-card-head { display: flex; gap: 16px; align-items: center; }
.facebook-card-head > i { width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 21px; }
.facebook-card-head span { margin: 0; display: block; }
.facebook-card-head h3 { margin: 4px 0 0; }
.facebook-group-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.facebook-group-links a { position: relative; display: block; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; padding: 18px 48px 18px 18px; }
.facebook-group-links a:hover { border-color: var(--brand); }
.facebook-group-links strong, .facebook-group-links small { display: block; }
.facebook-group-links small { color: var(--ink-soft); margin-top: 5px; }
.facebook-group-links i { position: absolute; right: 18px; top: 20px; color: var(--brand); }
.directory-warning { display: flex; gap: 14px; margin-top: 20px; padding: 20px 22px; border-left: 5px solid #d59b00; background: #fff5d8; }
.directory-warning p { margin: 0; }
.directory-warning i { color: #9b6b00; margin-top: 5px; }

.help-final-section { background: var(--brand-dark); color: #fff; padding: 54px 0; }
.help-final-card { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.help-final-card h2 { max-width: 780px; font-size: clamp(28px, 4vw, 43px); line-height: 1.16; margin: 0; }
.overline-light { color: #c8e9e5; }
.button-white { background: #fff; color: var(--brand-dark); border-color: #fff; white-space: nowrap; }
.button-white:hover { background: #eaf3f2; color: var(--brand-dark); }

@media (max-width: 900px) {
  .help-page .help-signs-grid { grid-template-columns: 1fr 1fr; }
  .help-page .help-sign-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .help-page .help-sign-card:nth-child(2n) { border-right: 0; }
  .help-page .help-sign-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .help-page .help-sign-card:nth-last-child(-n+2) { border-bottom: 0; }
  .quick-help-grid { grid-template-columns: 1fr 1fr; }
  .quick-help-card { border-bottom: 1px solid var(--line); }
  .quick-help-card:nth-child(2n) { border-right: 0; }
  .quick-help-card:nth-last-child(-n+2) { border-bottom: 0; }
  .help-directory-card { grid-column: span 3; }
  .help-directory-card:nth-child(5) { grid-column: span 6; }
}
@media (max-width: 620px) {
  .help-page .help-priority-card { padding: 26px 22px; }
  .help-page .help-signs-grid, .quick-help-grid, .facebook-group-links { grid-template-columns: 1fr; }
  .help-page .help-sign-card, .help-page .help-sign-card:nth-child(2n), .help-page .help-sign-card:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .help-page .help-sign-card:last-child { border-bottom: 0; }
  .quick-help-card, .quick-help-card:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-help-card:last-child { border-bottom: 0; }
  .help-directory-grid { grid-template-columns: 1fr; }
  .help-directory-card, .help-directory-card:nth-child(4), .help-directory-card:nth-child(5) { grid-column: 1; min-height: 0; }
  .help-final-card { display: block; }
  .help-final-card .button { margin-top: 24px; width: 100%; }
}

/* V5 – kompaktere Karten und keine künstlich gestreckten Rasterelemente */
.help-page .help-hero-grid{align-items:start}
.help-page .help-hero-note{align-self:start;height:auto;min-height:0;padding:20px 22px}
.help-page .help-hero-note strong{font-size:20px}
.help-page .help-priority-card{padding:32px 36px}
.help-page .help-sign-card{min-height:0;padding:22px}
.help-page .help-directory-grid{align-items:start}
.help-page .help-directory-card{min-height:0;height:auto;padding:22px}
.help-page .help-directory-card>p{margin-bottom:14px}
.help-page .help-directory-card>a{margin-top:10px}
.help-page .help-facebook-card{padding:22px}
.help-page .quick-help-card{padding:24px}
@media(max-width:620px){
 .help-page .help-hero-note{padding:18px}
 .help-page .help-priority-card{padding:24px 20px}
 .help-page .help-directory-card,.help-page .help-facebook-card,.help-page .help-sign-card,.help-page .quick-help-card{padding:20px}
}

.help-boundaries{padding:36px 0;background:#fff}
.help-boundaries__card{padding:34px 38px;border:1px solid var(--line);border-left:7px solid #d59b00;background:#fff8e7}
.help-boundaries__title{display:flex;gap:18px;align-items:flex-start}.help-boundaries__title>i{font-size:31px;color:#a86f00;margin-top:5px}
.help-boundaries__title h2{font-size:clamp(28px,4vw,40px);line-height:1.16;margin:4px 0 18px}
.help-boundaries__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:24px 0}
.help-boundaries__grid>div{display:grid;grid-template-columns:28px 1fr;column-gap:10px;row-gap:5px;padding:20px;background:#fff}
.help-boundaries__grid i{grid-row:1/3;color:var(--brand);font-size:20px}.help-boundaries__grid strong,.help-boundaries__grid span{grid-column:2}.help-boundaries__grid span{color:var(--ink-soft)}
.help-boundaries__bottom{margin:0;padding:16px 18px;background:#fff;border-left:4px solid var(--brand)}
@media(max-width:800px){.help-boundaries__grid{grid-template-columns:1fr}.help-boundaries__card{padding:26px 22px}.help-boundaries__title{display:block}.help-boundaries__title>i{margin-bottom:12px}}


/* V6 – Sicherungshinweise direkt am Seitenanfang */
.rescue-first{padding:48px 0;background:#eef7f4;border-bottom:1px solid var(--line)}
.rescue-first__intro{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:28px;align-items:stretch}
.rescue-first h2{font-size:clamp(32px,4.5vw,52px);line-height:1.08;margin:6px 0 18px;max-width:980px}
.rescue-first__lead{font-size:20px;line-height:1.65;margin:0;color:var(--ink)}
.rescue-first__reassurance{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:18px 20px;background:#fff;border-left:5px solid #087a52}
.rescue-first__reassurance i{font-size:23px;color:#087a52;margin-top:3px}.rescue-first__reassurance p{margin:0}
.rescue-first__urgent{display:flex;gap:16px;align-items:flex-start;padding:26px;background:var(--brand-dark);color:#fff}
.rescue-first__urgent>i{font-size:30px;margin-top:3px}.rescue-first__urgent strong,.rescue-first__urgent span{display:block}.rescue-first__urgent strong{font-size:23px;line-height:1.25;margin-bottom:10px}.rescue-first__urgent span{line-height:1.6;color:#dceeed}
.rescue-steps{display:grid;grid-template-columns:repeat(4,1fr);margin-top:28px;border:1px solid var(--line);background:#fff}
.rescue-steps article{padding:25px;border-right:1px solid var(--line)}.rescue-steps article:last-child{border-right:0}
.rescue-steps span{display:block;font-size:13px;font-weight:800;letter-spacing:.1em;color:var(--brand)}
.rescue-steps i{font-size:27px;color:var(--brand);margin:18px 0 8px}.rescue-steps h3{font-size:22px;margin:0 0 9px}.rescue-steps p{margin:0;color:var(--ink-soft);line-height:1.55}
.rescue-first__visual{display:grid;grid-template-columns:minmax(240px,360px) 1fr;gap:28px;align-items:center;margin-top:28px;padding:26px;background:#fff;border:1px solid var(--line)}
.rescue-first__visual img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#087a52}.rescue-first__visual h3{font-size:28px;margin:0 0 12px}.rescue-first__visual p{font-size:18px;line-height:1.65;margin:0;color:var(--ink-soft)}
@media(max-width:950px){.rescue-first__intro{grid-template-columns:1fr}.rescue-steps{grid-template-columns:1fr 1fr}.rescue-steps article:nth-child(2){border-right:0}.rescue-steps article:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:620px){.rescue-first{padding:34px 0}.rescue-first__lead{font-size:18px}.rescue-steps{grid-template-columns:1fr}.rescue-steps article,.rescue-steps article:nth-child(2){border-right:0;border-bottom:1px solid var(--line)}.rescue-steps article:last-child{border-bottom:0}.rescue-first__visual{grid-template-columns:1fr;padding:18px}.rescue-first__visual img{max-height:none}.rescue-first__urgent{padding:21px}.rescue-first__reassurance{padding:16px}}

/* V7 – klare Einordnung Stadttaube / Wildtaube */
.pigeon-type-section{padding:62px 0;background:#fff;border-bottom:1px solid var(--line)}
.pigeon-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pigeon-type-card{position:relative;padding:30px;border:1px solid var(--line);background:#fff;overflow:hidden}
.pigeon-type-card::before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:var(--brand)}
.pigeon-type-card--wild{background:#fff8e7}
.pigeon-type-card--wild::before{background:#d59b00}
.pigeon-type-card__icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:20px;background:#e8f5ef;color:var(--brand);font-size:24px}
.pigeon-type-card--wild .pigeon-type-card__icon{background:#fff0bd;color:#9b6b00}
.pigeon-type-card h3{font-size:clamp(25px,3vw,33px);line-height:1.2;margin:7px 0 14px}
.pigeon-type-card p{margin:0 0 14px;color:var(--ink-soft);line-height:1.65}
.pigeon-type-card p:last-child{margin-bottom:0}
.species-photo-note{display:flex;gap:18px;align-items:flex-start;margin-top:22px;padding:22px 24px;background:#eef7f5;border-left:5px solid var(--brand)}
.species-photo-note>i{font-size:25px;color:var(--brand);margin-top:4px}
.species-photo-note h3{margin:0 0 7px;font-size:22px}
.species-photo-note p{margin:0;color:var(--ink-soft)}
@media(max-width:760px){.pigeon-type-section{padding:42px 0}.pigeon-type-grid{grid-template-columns:1fr}.pigeon-type-card{padding:24px 22px}.species-photo-note{padding:19px 20px}}

/* Kompakter Erwartungshinweis: Handlungsschritte werden oberhalb bereits vollständig erklärt. */
.help-boundaries--compact .help-boundaries__card {
  max-width: 980px;
  margin-inline: auto;
}
.help-boundaries--compact .help-boundaries__bottom {
  margin-top: 1rem;
}


/* V8 – vollständig neu aufgebaute Hilfeseite mit Bildvergleich */
.help-page--new .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.help-page--new .button-secondary{background:#fff;color:var(--brand-dark);border-color:var(--brand-dark)}
.help-page--new .rescue-first__intro--single{display:block;max-width:980px}
.species-comparison{padding:64px 0;background:#fff;border-bottom:1px solid var(--line)}
.species-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.species-photo-card{overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:0 8px 24px rgba(0,63,70,.06)}
.species-photo-card img{display:block;width:100%;height:440px;object-fit:cover;background:#eef2f1}
.species-photo-card__body{padding:28px}
.species-photo-card__body h3{font-size:clamp(28px,3vw,38px);line-height:1.15;margin:6px 0 16px}
.species-photo-card__body ul{margin:0 0 20px;padding-left:22px}
.species-photo-card__body li{margin:8px 0;line-height:1.55}
.species-photo-card--city{border-top:6px solid var(--brand)}
.species-photo-card--wild{border-top:6px solid #d59b00;background:#fffaf0}
.species-emphasis{margin:0;padding:16px 18px;background:#eef7f5;border-left:4px solid var(--brand)}
.species-photo-card--wild .species-emphasis{background:#fff3cf;border-left-color:#d59b00}
.responsibility-section{padding:54px 0;background:#f4f8f7;border-bottom:1px solid var(--line)}
.responsibility-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.responsibility-card{display:grid;grid-template-columns:58px 1fr;gap:20px;padding:30px;background:#fff;border:1px solid var(--line)}
.responsibility-card>i{width:58px;height:58px;display:grid;place-items:center;font-size:24px;background:#e8f5ef;color:var(--brand)}
.responsibility-card h2{font-size:clamp(27px,3vw,36px);line-height:1.16;margin:4px 0 12px}
.responsibility-card p{margin:0;line-height:1.65;color:var(--ink-soft)}
.responsibility-card--wild{background:#fff8e7}
.responsibility-card--wild>i{background:#fff0bd;color:#9b6b00}
@media(max-width:900px){
  .species-photo-grid,.responsibility-grid{grid-template-columns:1fr}
  .species-photo-card img{height:auto;max-height:620px;object-fit:contain}
}
@media(max-width:620px){
  .species-comparison{padding:42px 0}
  .species-photo-card__body{padding:22px 20px}
  .responsibility-card{grid-template-columns:1fr;padding:24px 20px}
  .help-page--new .hero-actions .button{width:100%;text-align:center}
}


/* V9 – kompakte Bildvorschauen mit zugänglicher Lightbox */
.species-photo-card__image{
  position:relative;
  display:block;
  width:100%;
  height:320px;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#e9efed;
  cursor:zoom-in;
  text-align:left;
}
.species-photo-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#e9efed;
  transition:transform .22s ease;
}
.species-photo-card__image:hover img,
.species-photo-card__image:focus-visible img{transform:scale(1.025)}
.species-photo-card__image:focus-visible{outline:4px solid #087a52;outline-offset:-4px}
.image-zoom-hint{
  position:absolute;
  right:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  background:rgba(0,63,70,.9);
  color:#fff;
  font-size:14px;
  font-weight:750;
  line-height:1;
  box-shadow:0 4px 16px rgba(0,0,0,.18);
}
.image-lightbox[hidden]{display:none}
.image-lightbox{
  position:fixed;
  z-index:10000;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
}
.image-lightbox__backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(0,24,27,.88);
  cursor:zoom-out;
}
.image-lightbox__dialog{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  max-width:min(1100px,94vw);
  max-height:92vh;
  padding:14px;
  background:#fff;
  box-shadow:0 24px 80px rgba(0,0,0,.42);
}
.image-lightbox__image{
  display:block;
  max-width:100%;
  max-height:calc(92vh - 90px);
  width:auto;
  height:auto;
  margin:auto;
  object-fit:contain;
}
.image-lightbox__caption{
  margin:12px 42px 2px 4px;
  color:var(--ink);
  font-weight:700;
  line-height:1.4;
}
.image-lightbox__close{
  position:absolute;
  z-index:2;
  top:10px;
  right:10px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(0,63,70,.94);
  color:#fff;
  font-size:22px;
  cursor:pointer;
}
html.lightbox-open,body.lightbox-open{overflow:hidden}
@media(max-width:900px){
  .species-photo-card__image{height:270px}
}
@media(max-width:620px){
  .species-photo-card__image{height:210px}
  .image-zoom-hint{right:10px;bottom:10px;padding:8px 10px;font-size:13px}
  .image-lightbox{padding:10px}
  .image-lightbox__dialog{max-width:100%;max-height:96vh;padding:8px}
  .image-lightbox__image{max-height:calc(96vh - 75px)}
  .image-lightbox__caption{margin:9px 42px 2px 4px;font-size:14px}
}

/* V10 – Erwartungshinweis auf Desktop über die volle Inhaltsbreite */
.page-helfen .help-boundaries--compact .help-boundaries__card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}
.page-helfen .help-boundaries--compact .help-boundaries__title h2 {
  font-size: clamp(28px, 2.6vw, 36px);
}
.page-helfen .help-boundaries--compact .help-boundaries__bottom {
  width: 100%;
  box-sizing: border-box;
}
