/* Gartenhaus-Check Deutschland. Nur für dieses Widget geladen. Farben über die Variablen am Wurzelelement. */
.bfh-gc {
  --bfh-gc-haupt: #7C1009;
  --bfh-gc-flaeche: #C2D9AD;
  --bfh-gc-hover: #A9C98C;
  --bfh-gc-gruen: #2B561A;
  --bfh-gc-tinte: #1B2915;
  --bfh-gc-tinte-2: #33452B;
  --bfh-gc-karte-bg: #FBFCF7;
  --bfh-gc-linie: #5F7055;
  container-type: inline-size;
  container-name: bfhgc;
  color: var(--bfh-gc-tinte);
  font-size: 19px;
  line-height: 1.6;
  width: 100%;
}
.bfh-gc *, .bfh-gc *::before, .bfh-gc *::after { box-sizing: border-box; }
.bfh-gc p { margin: 0; }
.bfh-gc__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.bfh-gc__raster { display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; row-gap: 28px; align-items: start; }
.bfh-gc__links { display: grid; gap: 26px; align-content: start; min-width: 0; }
.bfh-gc__titel { margin: 0 0 14px; font-family: var(--e-global-typography-primary-font-family, "Bitter"), Georgia, serif; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.15; color: inherit; }
.bfh-gc__einleitung { color: var(--bfh-gc-tinte-2); max-width: 40ch; }

.bfh-gc__wahl { display: grid; gap: 8px; }
.bfh-gc__wahl label { font-weight: 700; font-size: 18px; }
.bfh-gc__wahl select {
  width: 100%; min-height: 56px; padding: 12px 14px; font-size: 19px; line-height: 1.4; font-family: inherit; color: var(--bfh-gc-tinte);
  background: #fff; border: 2px solid var(--bfh-gc-linie); border-radius: 4px;
}
.bfh-gc__wahl select:focus-visible { outline: 3px solid var(--bfh-gc-haupt); outline-offset: 1px; border-color: var(--bfh-gc-tinte); }
.bfh-gc__hilfe { font-size: 18px; color: var(--bfh-gc-tinte-2); }

.bfh-gc__info {
  background: var(--bfh-gc-karte-bg); border-radius: 8px; padding: 26px 28px 28px; min-height: 360px;
  box-shadow: 0 1px 2px rgba(31, 46, 24, .06), 0 10px 28px -14px rgba(31, 46, 24, .28);
  min-width: 0;
}
.bfh-gc__panel, .bfh-gc__leer { display: grid; gap: 16px; align-content: start; }
.bfh-gc__land { font-family: var(--e-global-typography-primary-font-family, "Bitter"), Georgia, serif; font-weight: 700; font-size: 30px; line-height: 1.25; }
.bfh-gc__zeile { display: grid; gap: 6px; }
.bfh-gc__label { font-weight: 700; font-size: 18px; color: var(--bfh-gc-gruen); }
.bfh-gc__wert { font-family: var(--e-global-typography-primary-font-family, "Bitter"), Georgia, serif; font-weight: 700; line-height: 1.2; color: var(--bfh-gc-tinte); }
.bfh-gc__zahl { font-size: 38px; }
.bfh-gc__art { font-size: 22px; }
.bfh-gc__faust { font-size: 18px; color: var(--bfh-gc-tinte-2); font-style: italic; }
.bfh-gc__aussen, .bfh-gc__text { color: var(--bfh-gc-tinte-2); max-width: 46ch; }
.bfh-gc__quellen { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bfh-gc__quellen a { display: inline-flex; align-items: center; min-height: 48px; color: var(--bfh-gc-gruen); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
.bfh-gc__quellen a:hover { color: var(--bfh-gc-tinte); }
.bfh-gc__stand { font-size: 18px; color: var(--bfh-gc-tinte-2); }
.bfh-gc .bfh-gc__knopf, .bfh-gc .bfh-gc__knopf:visited {
  display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 52px; padding: 0 26px;
  background: var(--bfh-gc-haupt); color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; border-radius: 4px;
  transition: filter 160ms ease, transform 160ms ease;
}
.bfh-gc .bfh-gc__knopf:hover, .bfh-gc .bfh-gc__knopf:focus { filter: brightness(.82); color: #fff; }
.bfh-gc__knopf:active { transform: scale(.97); }
.bfh-gc a:focus-visible, .bfh-gc__knopf:focus-visible { outline: 3px solid var(--bfh-gc-haupt); outline-offset: 3px; border-radius: 2px; }
.bfh-gc__knopf:focus-visible { outline-color: var(--bfh-gc-tinte); }

.bfh-gc__karte { margin: 0; display: grid; gap: 22px; justify-items: center; min-width: 0; }
.bfh-gc__karte svg { display: block; width: 100%; max-width: 640px; height: auto; overflow: visible; }
.bfh-gc__hinweise { display: grid; gap: 12px; max-width: 640px; font-size: 18px; color: var(--bfh-gc-tinte-2); }
.bfh-gc__hinweise a { color: var(--bfh-gc-gruen); font-weight: 700; }

.bfh-gc .land { fill: var(--bfh-gc-flaeche); stroke: var(--bfh-gc-gruen); stroke-width: 2.4; stroke-linejoin: round; fill-rule: evenodd; cursor: pointer; transition: fill 260ms ease; outline: none; }
.bfh-gc .land.t1 { fill: color-mix(in srgb, var(--bfh-gc-flaeche) 45%, #fff); }
.bfh-gc .land.t2 { fill: color-mix(in srgb, var(--bfh-gc-flaeche) 75%, #fff); }
.bfh-gc .land.t3 { fill: var(--bfh-gc-flaeche); }
.bfh-gc .land.t4 { fill: color-mix(in srgb, var(--bfh-gc-flaeche) 62%, #fff); }
@media (hover: hover) and (pointer: fine) { .bfh-gc .land:hover { fill: var(--bfh-gc-hover); } }
.bfh-gc .land:focus-visible { stroke: var(--bfh-gc-haupt); stroke-width: 5; }
.bfh-gc .land[aria-pressed="true"] { fill: var(--bfh-gc-haupt); stroke: #fff; stroke-width: 3; }
.bfh-gc .land[aria-pressed="true"]:focus-visible { stroke: var(--bfh-gc-tinte); stroke-width: 5; }

/* Ohne JavaScript: Liste aller Infokarten statt Auswahl */
.bfh-gc__panels { display: grid; gap: 28px; margin-top: 32px; }
.bfh-gc:not(.bfh-gc--js) .bfh-gc__wahl, .bfh-gc:not(.bfh-gc--js) .bfh-gc__info, .bfh-gc:not(.bfh-gc--js) .bfh-gc__hilfe { display: none; }
.bfh-gc--js .bfh-gc__panels { display: none; }

/* Grenzen zeichnen sich nach, danach färben sich die Länder (nicht bei reduzierter Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .bfh-gc--js:not(.bfh-gc--gezeichnet) .land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
  .bfh-gc--js .land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0;
    transition: stroke-dashoffset 1500ms cubic-bezier(.22, .8, .2, 1) calc(var(--i) * 90ms), fill-opacity 1400ms ease calc(var(--i) * 90ms + 1300ms), fill 260ms ease, stroke 160ms ease; }
  .bfh-gc--js.bfh-gc--gezeichnet .land { stroke-dashoffset: 0; fill-opacity: 1; }
}

@container bfhgc (max-width: 820px) {
  .bfh-gc__raster { grid-template-columns: 1fr; }
  .bfh-gc__links { display: contents; }
  .bfh-gc__kopf { order: 1; }
  .bfh-gc__wahl { order: 2; }
  .bfh-gc__info { order: 3; }
  .bfh-gc__karte { order: 4; }
  .bfh-gc:not(.bfh-gc--js) .bfh-gc__karte { order: 3; }
}
@container bfhgc (max-width: 520px) {
  .bfh-gc__info { padding: 22px 20px 24px; }
  .bfh-gc__land { font-size: 26px; }
  .bfh-gc__zahl { font-size: 34px; }
  .bfh-gc__knopf { width: 100%; }
  .bfh-gc .land { stroke-width: 3.4; }
}
