:root {
  --anchor-offset: 118px;
  --ink: #30252f;
  --ink-rgb: 48, 37, 47;
  --ink-soft: #62545f;
  --cream: #fff9ef;
  --paper: #fffdf8;
  --green: #8f2856;
  --green-dark: #62183d;
  --green-soft: #f3dce7;
  --accent-dark-rgb: 98, 24, 61;
  --accent-hover: #792047;
  --leaf: #55763f;
  --leaf-soft: #e5eddc;
  --blue: #7c5f86;
  --blue-soft: #ece2f0;
  --yellow: #d2a63e;
  --yellow-soft: #f7e8b8;
  --coral: #b75376;
  --coral-soft: #f4dde6;
  --line: rgba(var(--ink-rgb), 0.16);
  --shadow: 0 22px 60px rgba(var(--accent-dark-rgb), 0.11);
  --focus: #55763f;
  --footer: #40142c;
  --repeatable-card-gap: 18px;
}

/* WordPress-Blockabstände dürfen die wiederholbaren Kartenraster nicht überlagern. */
.topic-grid > .topic-card,
.perspective-cards > .perspective-card,
.community-cards > .topic-card {
  min-width: 0;
  width: auto;
  grid-column: auto;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.perspective-cards > .perspective-card {
  height: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main[id],
main > section[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
}

.section-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 76px;
  margin: 18px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 45px rgba(var(--accent-dark-rgb), 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
}

.brand-icon svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: var(--paper);
}

.brand-icon:has(.gb-custom-logo) {
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

.brand-icon .gb-custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.brand-icon .flower-center {
  fill: var(--yellow);
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.arrow-link svg,
.contact-card > a svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button.button-dark {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 12px 24px rgba(var(--accent-dark-rgb), 0.18);
}

.button.button-dark:hover {
  background: var(--accent-hover);
  box-shadow: 0 16px 30px rgba(var(--accent-dark-rgb), 0.23);
}

.button.button-light {
  background: var(--paper);
  color: var(--green-dark);
}

.button-small {
  min-height: 50px;
  padding-inline: 21px;
}

.mobile-menu {
  display: none;
  justify-self: end;
}

.mobile-menu summary {
  display: grid;
  width: 48px;
  height: 48px;
  align-content: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 50%;
  background: var(--green-dark);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: white;
}

.mobile-menu nav {
  position: absolute;
  top: 68px;
  right: 0;
  display: grid;
  min-width: 240px;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.mobile-menu nav a:hover {
  background: var(--green-soft);
}

.mobile-menu .menu-item-internal a {
  margin-top: 8px;
  border: 1px solid var(--green);
  color: var(--green-dark);
}

.mobile-menu .menu-item-internal a:hover,
.mobile-menu .menu-item-internal a:focus-visible {
  background: var(--green-soft);
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: 48% 52%;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 34px 24px 20px 8px;
}

.hero {
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}

.hero h1,
.section-heading h2,
.topics-head h2,
.team-copy h2,
.association-title h2,
.perspective-head h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.91;
}

.hero h1 em {
  position: relative;
  color: var(--green);
  font-style: italic;
}

.hero h1 em::after {
  position: absolute;
  right: -8px;
  bottom: -6px;
  left: 8px;
  height: 9px;
  border: solid var(--yellow);
  border-width: 3px 0 0;
  border-radius: 50%;
  content: "";
  transform: rotate(-2deg);
}

.hero-intro {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.text-link {
  position: relative;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 720;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: grid;
  min-width: 118px;
  gap: 7px;
  padding: 0 23px;
  border-left: 1px solid var(--line);
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.hero-facts span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 1312 / 1199;
  overflow: hidden;
  border-radius: 32px;
  background:
    var(--gb-hero-image, url("../images/hero-wiesenforscher.png")) center / contain no-repeat,
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-sticker {
  display: none !important;
  position: absolute;
  right: clamp(44px, 5vw, 62px);
  bottom: clamp(44px, 4.5vw, 58px);
  display: grid;
  width: 136px;
  height: 136px;
  place-content: center;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-dark);
  text-align: center;
  transform: rotate(6deg);
}

.hero-sticker::after {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(var(--ink-rgb), 0.55);
  border-radius: 50%;
  content: "";
}

.sticker-flower {
  font-size: 24px;
}

.hero-sticker strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.hero-sticker small {
  width: 84px;
  margin: 5px auto 0;
  justify-self: center;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.scribble {
  position: absolute;
  border: 3px solid var(--paper);
  border-color: var(--paper) transparent transparent;
  border-radius: 50%;
  opacity: 0.85;
}

.scribble-one {
  top: 34px;
  left: 44px;
  width: 70px;
  height: 30px;
  transform: rotate(-15deg);
}

.scribble-two {
  right: 55px;
  bottom: 175px;
  width: 48px;
  height: 22px;
  transform: rotate(25deg);
}

.visit-strip {
  display: grid;
  min-height: 116px;
  grid-template-columns: 0.9fr 1.55fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 26px;
  border-radius: 28px;
  background: var(--green-dark);
  color: white;
  box-shadow: var(--shadow);
}

.visit-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 189, 71, 0.12);
}

.visit-date {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-day {
  display: grid;
  flex: 0 0 58px;
  height: 66px;
  grid-template-rows: auto auto;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 7px 5px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--green-dark);
  line-height: 1;
  text-align: center;
}

.calendar-month {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.calendar-day .calendar-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.visit-date > span:last-child,
.visit-place {
  display: grid;
  gap: 5px;
}

.visit-date strong,
.visit-place strong {
  font-size: 14px;
}

.visit-date small,
.visit-place span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.visit-place {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.visit-strip .wp-block-button.button-light .wp-block-button__link {
  min-height: 50px;
}

.visit-explainer {
  margin: 0 0 22px;
  padding: 2px 0 22px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.visit-explainer summary {
  display: grid;
  min-height: 46px;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.25;
  list-style: none;
}

.visit-explainer summary::-webkit-details-marker {
  display: none;
}

.visit-explainer summary::after {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--yellow);
  content: "+";
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.visit-explainer[open] summary::after {
  transform: rotate(45deg);
}

.visit-explainer summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}

.visit-explainer-copy {
  max-width: 900px;
  margin: 16px 64px 4px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 120px;
  padding-top: 150px;
  padding-bottom: 136px;
}

.section-heading h2,
.team-copy h2,
.association-title h2,
.perspective-head h2,
.contact-copy h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.05;
}

.intro-copy {
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.5;
}

.intro-copy .lead {
  margin-top: 0;
}

.topics-section {
  padding: 120px 0 130px;
  border-radius: 64px;
  background: var(--green-dark);
  color: white;
}

.topics-head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 62px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.topics-head h2 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.02;
}

.topics-head > p {
  max-width: 410px;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--repeatable-card-gap);
}

.community-cards {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--repeatable-card-gap);
  margin-top: 10px;
}

.topic-card {
  min-height: 285px;
  border-radius: 28px;
  color: var(--green-dark);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(5, 22, 17, 0.2);
}

.topic-card[open] {
  grid-row: span 2;
}

.tone-green {
  background: var(--leaf-soft);
}

.tone-blue {
  background: var(--blue-soft);
}

.tone-yellow {
  background: var(--yellow-soft);
}

.tone-coral {
  background: var(--coral-soft);
}

.topic-card summary {
  position: relative;
  display: grid;
  min-height: 285px;
  grid-template-columns: 1fr auto;
  align-content: start;
  padding: 29px 32px 34px;
  cursor: pointer;
  list-style: none;
}

.topic-card summary::-webkit-details-marker {
  display: none;
}

.topic-number {
  color: rgba(var(--accent-dark-rgb), 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.topic-kicker {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topic-title {
  grid-column: 1 / -1;
  margin-top: 45px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 39px);
  letter-spacing: -0.04em;
}

.topic-teaser {
  max-width: 74%;
  grid-column: 1 / -1;
  margin-top: 14px;
  color: rgba(var(--accent-dark-rgb), 0.74);
  font-size: 13px;
  line-height: 1.6;
}

.topic-open {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.28);
  border-radius: 50%;
}

.topic-open i {
  position: absolute;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--green-dark);
  transition: transform 180ms ease;
}

.topic-open i:last-child {
  transform: rotate(90deg);
}

.topic-card[open] .topic-open i:last-child {
  transform: rotate(0);
}

.topic-card[open] summary {
  min-height: 235px;
  padding-bottom: 12px;
}

.topic-content {
  display: grid;
  gap: 14px;
  padding: 0 32px 34px;
  color: rgba(var(--accent-dark-rgb), 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.topic-content p {
  margin: 0;
}

.team {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 105px;
  padding-top: 155px;
  padding-bottom: 155px;
}

.photo-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 14px;
}

.photo-collage figure {
  aspect-ratio: 800 / 546;
  overflow: hidden;
  margin: 0;
  background: var(--green-soft);
}

.photo-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-large {
  grid-row: 1;
  grid-column: 1 / -1;
  border-radius: 120px 28px 28px 28px;
}

.photo-top {
  grid-row: 2;
  grid-column: 1;
  border-radius: 28px 28px 28px 72px;
}

.photo-bottom {
  grid-row: 2;
  grid-column: 2;
  border-radius: 28px 72px 28px 28px;
}

.photo-note {
  position: relative;
  z-index: 2;
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: end;
  justify-self: start;
  max-width: 185px;
  margin: 0 0 25px 25px !important;
  padding: 13px 17px;
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(21, 55, 42, 0.2);
  font-size: 11px;
  font-weight: 750;
  transform: rotate(-3deg);
}

.team-copy .lead {
  margin: 28px 0 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 31px 0 34px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li span {
  display: grid;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.association {
  overflow: hidden;
  padding: 130px 0;
  border-radius: 64px;
  background:
    radial-gradient(circle at 15% 12%, rgba(239, 189, 71, 0.24), transparent 22%),
    var(--yellow-soft);
}

.association-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 110px;
}

.association-title {
  position: sticky;
  top: 130px;
}

.association-title > p:not(.eyebrow) {
  margin: 28px 0 34px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.association-details {
  border-top: 1px solid rgba(var(--accent-dark-rgb), 0.22);
}

.association-details details {
  border-bottom: 1px solid rgba(var(--accent-dark-rgb), 0.22);
}

.association-details summary {
  display: grid;
  min-height: 104px;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 27px);
  list-style: none;
}

.association-details summary::-webkit-details-marker {
  display: none;
}

.association-details summary span {
  align-self: start;
  padding-top: 41px;
  color: rgba(var(--accent-dark-rgb), 0.5);
  font-family: var(--font-geist-sans), sans-serif;
  font-size: 10px;
  font-weight: 750;
}

.association-details summary i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.28);
  border-radius: 50%;
  font-family: var(--font-geist-sans), sans-serif;
  font-size: 20px;
  font-style: normal;
  transition: transform 180ms ease;
}

.association-details details[open] summary i {
  transform: rotate(45deg);
}

.association-details details > div {
  padding: 0 55px 32px 62px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.perspective {
  padding-top: 150px;
  padding-bottom: 150px;
}

.perspective-head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 55px;
}

.perspective-head > p {
  max-width: 420px;
  margin: 0 0 9px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.perspective-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--repeatable-card-gap);
}

.perspective-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--blue-soft);
}

.perspective-card-yellow {
  background: var(--yellow-soft);
}

.perspective-card summary {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-columns: auto 1fr;
  align-content: space-between;
  gap: 24px;
  padding: 30px;
  cursor: pointer;
  list-style: none;
}

.perspective-card summary::-webkit-details-marker {
  display: none;
}

.perspective-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.22);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.perspective-card summary > span:last-child {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
}

.perspective-card summary small {
  margin-top: 6px;
  color: rgba(var(--accent-dark-rgb), 0.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.perspective-card summary strong {
  max-width: 360px;
  margin-top: 44px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.perspective-card summary em {
  margin-top: auto;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.perspective-card > div {
  display: grid;
  gap: 14px;
  padding: 0 34px 34px 108px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.perspective-card > div p {
  margin: 0;
}

.application-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.7);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.application-note p {
  margin: 0;
}

.application-note a {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-weight: 700;
}

.note-icon {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-soft);
  color: #8c3d2c;
  font-weight: 850;
}

.contact-section {
  padding: 120px 0;
  border-radius: 64px 64px 0 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(239, 189, 71, 0.22), transparent 25%),
    var(--green-dark);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 110px;
}

.contact-grid:has(.contact-person-card) {
  grid-template-columns: minmax(0, 1.08fr) minmax(225px, 0.72fr) minmax(250px, 0.82fr);
  gap: clamp(30px, 4vw, 64px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 27px 0 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-phone {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 750;
}

.contact-person-card {
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.contact-person-photo {
  aspect-ratio: 800 / 546;
  overflow: hidden;
  margin: 0;
  background: #e9e2d1;
}

.contact-person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-person-copy {
  display: grid;
  gap: 7px;
  padding: 24px 25px 27px;
}

.contact-person-copy > * {
  margin: 0;
}

.contact-person-copy h3 {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.12;
}

.contact-person-role {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.contact-card {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.contact-flower {
  position: absolute;
  top: -33px;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 34px;
  transform: translateX(-50%) rotate(8deg);
}

.contact-flower svg {
  width: 38px;
  height: 38px;
  fill: var(--green-dark);
}

.contact-flower .flower-center {
  fill: white;
}

.contact-flower:has(.gb-custom-logo) {
  border-radius: 17px;
  background: var(--paper);
  transform: translateX(-50%);
}

.contact-flower .gb-custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

.contact-card > div {
  display: grid;
  gap: 7px;
}

.contact-card small,
.opening-hours span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.contact-card > div > span:not(.contact-flower) {
  color: rgba(255, 255, 255, 0.72);
}

.opening-hours {
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card > a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 750;
}

footer {
  background: var(--footer);
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 90px;
  padding-top: 65px;
  padding-bottom: 58px;
}

.brand-footer .brand-icon {
  background: var(--yellow);
}

.brand-footer .brand-icon svg {
  fill: var(--green-dark);
}

.brand-footer .brand-icon .flower-center {
  fill: white;
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact,
.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 180px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-contact strong,
.footer-links strong {
  margin-bottom: 6px;
  color: white;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: white;
}

.footer-menu,
.footer-legal-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.footer-bottom nav,
.footer-legal-menu {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: white;
}

.legal-page {
  min-height: 100vh;
  background: var(--cream);
}

.legal-header,
.legal-footer {
  display: flex;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.legal-header {
  min-height: 88px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.legal-brand > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--yellow);
  font-size: 22px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.legal-hero {
  padding: 88px 24px 94px;
  border-radius: 0 0 55px 55px;
  background:
    radial-gradient(circle at 82% 15%, rgba(239, 189, 71, 0.28), transparent 24%),
    var(--green-dark);
  color: white;
}

.legal-hero > div {
  width: min(980px, 100%);
  margin: 0 auto;
}

.legal-hero p {
  margin: 0 0 17px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.legal-hero > div > span {
  display: block;
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.legal-content {
  width: min(900px, calc(100% - 48px));
  margin: 80px auto 110px;
}

.legal-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(var(--accent-dark-rgb), 0.08);
}

.legal-label {
  margin: 0 0 14px !important;
  color: var(--green) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.legal-card p,
.legal-card address,
.legal-card div {
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.legal-card > p:last-child {
  margin: 28px 0 0;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.legal-card a,
.legal-accordion a {
  color: var(--green);
  font-weight: 700;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}

.legal-draft-note {
  margin-bottom: 22px;
  padding: 22px 25px;
  border: 1px solid rgba(184, 113, 44, 0.25);
  border-radius: 18px;
  background: #fff1d4;
  color: #76501e;
}

.legal-draft-note strong {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-draft-note p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.legal-accordion {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-accordion details {
  border-bottom: 1px solid var(--line);
}

.legal-accordion summary {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 28px);
  list-style: none;
}

.legal-accordion summary::-webkit-details-marker {
  display: none;
}

.legal-accordion summary span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-geist-sans), sans-serif;
  font-size: 20px;
  transition: transform 180ms ease;
}

.legal-accordion details[open] summary span {
  transform: rotate(45deg);
}

.legal-accordion details > div {
  padding: 0 60px 38px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.78;
}

.legal-accordion h3 {
  margin: 30px 0 8px;
  color: var(--ink);
  font-size: 14px;
}

.legal-accordion h3:first-child {
  margin-top: 0;
}

.legal-accordion p {
  margin: 0 0 15px;
}

.legal-accordion li {
  margin-bottom: 7px;
}

.legal-version {
  margin: 42px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 720;
}

.legal-document {
  display: grid;
  gap: 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.legal-document-heading {
  margin: 34px 0 12px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 500;
  line-height: 1.25;
}

.legal-document-heading:first-child {
  margin-top: 0;
}

.legal-document h3.legal-document-heading {
  font-size: clamp(18px, 2.4vw, 23px);
}

.legal-document-paragraph {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.legal-document .wp-block-separator {
  width: 100%;
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.legal-footer nav {
  display: flex;
  gap: 24px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1020px) {
  .section-shell {
    width: min(100% - 40px, 900px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(18px, 3vw, 28px);
  }

  .brand,
  .brand-copy {
    min-width: 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    padding: 0 0 45px;
  }

  .hero-visual {
    min-height: 0;
  }

  .visit-strip {
    grid-template-columns: 1fr 1.6fr;
  }

  .visit-place {
    padding-left: 0;
    border-left: 0;
  }

  .visit-strip .button {
    justify-self: end;
  }

  .intro,
  .team,
  .association-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .intro {
    gap: 45px;
  }

  .team-copy {
    max-width: 700px;
  }

  .association-title {
    position: static;
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: calc(100% - 30px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 18px);
    min-height: 68px;
    column-gap: 16px;
    margin-top: 8px;
    padding-left: 12px;
    border-radius: 18px;
  }

  .brand {
    gap: 9px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .brand-copy strong {
    display: block;
    font-size: 15px;
    line-height: 1.02;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero {
    padding-top: 53px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(55px, 17vw, 76px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-facts {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-facts li {
    min-width: auto;
    padding: 0 16px;
  }

  .hero-visual {
    min-height: 0;
    border-radius: 24px;
    background-position: center;
  }

  .hero-sticker {
    right: 28px;
    bottom: 32px;
    width: 116px;
    height: 116px;
  }

  .hero-sticker strong {
    font-size: 16px;
  }

  .hero-sticker small {
    width: 72px;
    font-size: 7px;
  }

  .visit-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .visit-place {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .visit-strip .button {
    width: 100%;
  }

  .intro,
  .team,
  .perspective {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .section-heading h2,
  .team-copy h2,
  .association-title h2,
  .perspective-head h2,
  .contact-copy h2 {
    font-size: 47px;
  }

  .lead {
    font-size: 21px;
  }

  .topics-section,
  .association,
  .contact-section {
    border-radius: 38px;
  }

  .topics-section,
  .association {
    padding: 95px 0;
  }

  .topics-head,
  .perspective-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .topics-head h2 {
    font-size: 48px;
  }

  .topic-grid,
  .perspective-cards,
  .community-cards {
    grid-template-columns: 1fr;
  }

  .topic-card[open] {
    grid-row: auto;
  }

  .topic-card summary {
    padding-inline: 25px;
  }

  .topic-teaser {
    max-width: 82%;
  }

  .topic-open {
    right: 24px;
    bottom: 24px;
  }

  .photo-collage {
    width: 100%;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-large {
    border-radius: 100px 24px 24px;
  }

  .association-grid {
    gap: 55px;
  }

  .association-details summary {
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    font-size: 19px;
  }

  .association-details details > div {
    padding-left: 42px;
  }

  .perspective-card summary {
    min-height: 245px;
    padding: 25px;
  }

  .perspective-card > div {
    padding: 0 25px 30px;
  }

  .application-note {
    padding: 20px;
  }

  .contact-section {
    padding: 100px 0;
    border-radius: 38px 38px 0 0;
  }

  .contact-grid {
    gap: 75px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    padding: 30px 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .legal-header,
  .legal-footer {
    width: calc(100% - 30px);
  }

  .legal-header {
    min-height: 76px;
  }

  .legal-brand strong {
    font-size: 15px;
  }

  .legal-hero {
    padding: 70px 15px 74px;
    border-radius: 0 0 35px 35px;
  }

  .legal-hero h1 {
    font-size: 58px;
  }

  .legal-content {
    width: calc(100% - 30px);
    margin-top: 55px;
  }

  .legal-card {
    padding: 28px 23px;
  }

  .legal-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-accordion details > div {
    padding-right: 0;
  }

  .legal-footer {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

/*
 * Geschützter Familienbereich
 */

.internal-page {
  min-height: 80vh;
  padding-top: 24px;
  background: var(--cream);
}

.internal-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.internal-hero {
  width: min(1400px, calc(100% - 24px));
  margin: 0 auto;
  padding: 92px 0 88px;
  overflow: hidden;
  border-radius: 48px;
  background:
    radial-gradient(circle at 88% 6%, rgba(239, 189, 71, 0.3), transparent 24%),
    radial-gradient(circle at 74% 92%, rgba(95, 152, 199, 0.18), transparent 28%),
    var(--green-dark);
  color: white;
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
}

.internal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.internal-eyebrow > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(239, 189, 71, 0.45);
  border-radius: 50%;
}

.internal-eyebrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.internal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.internal-hero-copy {
  max-width: 680px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.internal-hero-copy > * {
  margin: 0;
}

.internal-hero-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internal-hero-actions a {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.internal-hero-actions a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.internal-hero-actions svg,
.internal-card-kicker svg,
.internal-email-list svg,
.internal-important-card svg,
.internal-document-row svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.internal-editor-notice {
  margin-top: 24px;
  padding: 17px 20px;
  border: 1px solid rgba(184, 113, 44, 0.25);
  border-radius: 16px;
  background: #fff1d4;
  color: #76501e;
  font-size: 13px;
  line-height: 1.6;
}

.internal-editor-notice a {
  margin-left: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.internal-section {
  padding: 112px 0 0;
}

.internal-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.internal-section-heading p {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.internal-section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.6vw, 66px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.internal-section-heading > span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.internal-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.internal-contact-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(var(--accent-dark-rgb), 0.07);
}

.internal-contact-office {
  background:
    radial-gradient(circle at 100% 0, rgba(239, 189, 71, 0.18), transparent 33%),
    var(--paper);
}

.internal-contact-large {
  background: var(--blue-soft);
}

.internal-contact-small {
  background: var(--green-soft);
}

.internal-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.internal-card-kicker > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 10px;
  letter-spacing: 0;
}

.internal-contact-card h3 {
  margin: 28px 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.internal-contact-lines {
  display: grid;
  gap: 12px;
}

.internal-contact-lines a {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.12);
}

.internal-contact-lines span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.internal-contact-lines strong {
  font-size: 17px;
  line-height: 1.3;
}

.internal-contact-lines a:hover strong {
  color: var(--green);
}

.internal-contact-card > p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.internal-email-list {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.internal-email-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.internal-email-list svg {
  margin-top: 1px;
  color: var(--green);
}

.internal-email-list span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.internal-email-list strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
}

.internal-email-list small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.internal-important {
  padding-top: 72px;
}

.internal-important-card {
  display: grid;
  min-height: 164px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px 32px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.55), transparent 27%),
    var(--yellow-soft);
  box-shadow: 0 18px 50px rgba(107, 83, 29, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.internal-important-card:hover {
  box-shadow: 0 24px 60px rgba(107, 83, 29, 0.13);
  transform: translateY(-2px);
}

.internal-important-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 28px;
  background: var(--yellow);
  color: var(--green-dark);
}

.internal-important-icon svg {
  width: 36px;
  height: 36px;
}

.internal-important-copy {
  display: grid;
  gap: 6px;
}

.internal-important-copy small {
  color: #86671f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.internal-important-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.internal-important-copy > span {
  color: var(--ink-soft);
  font-size: 13px;
}

.internal-important-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--green-dark);
  color: white;
  font-size: 12px;
  font-weight: 750;
}

.internal-pinboard-note {
  margin: 18px 4px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.internal-elternstunden {
  padding-top: 72px;
}

.internal-elternstunden .gbhs-portal {
  width: 100%;
  margin: 0;
}

.internal-documents {
  padding-bottom: 120px;
}

.internal-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.internal-category-card {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 16px 45px rgba(var(--accent-dark-rgb), 0.06);
}

.internal-category-card summary {
  display: grid;
  min-height: 205px;
  grid-template-columns: minmax(0, 1fr) auto 46px;
  align-items: start;
  gap: 18px;
  padding: 30px;
  cursor: pointer;
  list-style: none;
}

.internal-category-card summary::-webkit-details-marker {
  display: none;
}

.internal-category-card[data-tone="yellow"] summary {
  background: var(--yellow-soft);
}

.internal-category-card[data-tone="blue"] summary {
  background: var(--blue-soft);
}

.internal-category-card[data-tone="green"] summary {
  background: var(--green-soft);
}

.internal-category-card[data-tone="coral"] summary {
  background: var(--coral-soft);
}

.internal-category-card[data-tone="cream"] summary {
  background: #f5efdf;
}

.internal-category-title {
  display: grid;
  gap: 13px;
}

.internal-category-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.internal-category-title small {
  max-width: 340px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.internal-category-count {
  padding-top: 7px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.internal-category-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(var(--ink-rgb), 0.22);
  border-radius: 50%;
  font-family: "Segoe UI", sans-serif;
  font-size: 21px;
  transition: transform 180ms ease, background 180ms ease;
}

.internal-category-card[open] .internal-category-toggle {
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.internal-document-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
}

.internal-document-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.internal-document-row:hover {
  border-color: rgba(46, 106, 79, 0.32);
  box-shadow: 0 12px 30px rgba(var(--accent-dark-rgb), 0.08);
  transform: translateY(-1px);
}

.internal-document-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 66px;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.internal-document-icon svg {
  width: 25px;
  height: 25px;
  transform: translateY(-8px);
}

.internal-document-icon small {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 3px 0;
  border-radius: 5px;
  background: var(--green-dark);
  color: white;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
}

.internal-document-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.internal-document-copy strong {
  font-size: 15px;
  line-height: 1.35;
}

.internal-document-copy > span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.internal-document-copy small {
  color: rgba(var(--ink-rgb), 0.62);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.internal-document-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.internal-document-action svg {
  width: 16px;
  height: 16px;
}

.internal-login-shell {
  display: grid;
  min-height: calc(100vh - 120px);
  place-items: center;
  padding: 70px 20px 110px;
  background:
    radial-gradient(circle at 15% 20%, rgba(220, 235, 215, 0.85), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(248, 232, 173, 0.8), transparent 24%),
    var(--cream);
}

.internal-login-card {
  position: relative;
  width: min(620px, 100%);
  padding: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 38px;
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 0 28px 80px rgba(var(--accent-dark-rgb), 0.14);
}

.internal-login-flower {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--green);
}

.internal-login-flower svg {
  width: 40px;
  height: 40px;
  fill: var(--paper);
}

.internal-login-flower .flower-center {
  fill: var(--yellow);
}

.internal-login-flower:has(.gb-custom-logo) {
  overflow: hidden;
  border-radius: 17px;
  background: var(--paper);
}

.internal-login-flower .gb-custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

.internal-login-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 62px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.internal-login-intro {
  margin: 23px 0 32px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.internal-password-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.internal-password-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.internal-password-form input {
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.internal-password-form button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: var(--green-dark);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
}

.internal-password-form button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.internal-not-ready {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(184, 113, 44, 0.22);
  border-radius: 16px;
  background: #fff1d4;
  color: #76501e;
  font-size: 13px;
}

.internal-back-link {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 720;
}

@media (max-width: 1020px) {
  .internal-shell {
    width: min(100% - 40px, 900px);
  }

  .internal-hero-grid,
  .internal-section-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .internal-hero-actions {
    justify-items: start;
  }

  .internal-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .internal-contact-office {
    grid-column: 1 / -1;
  }

  .internal-category-card summary {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .internal-category-count {
    display: none;
  }
}

@media (max-width: 720px) {
  .internal-page {
    padding-top: 12px;
  }

  .internal-shell {
    width: calc(100% - 30px);
  }

  .internal-hero {
    width: calc(100% - 12px);
    padding: 68px 0 64px;
    border-radius: 34px;
  }

  .internal-hero h1 {
    font-size: 54px;
  }

  .internal-hero-copy {
    font-size: 15px;
  }

  .internal-section {
    padding-top: 90px;
  }

  .internal-section-heading {
    margin-bottom: 34px;
  }

  .internal-section-heading h2 {
    font-size: 43px;
  }

  .internal-contact-grid,
  .internal-category-grid {
    grid-template-columns: 1fr;
  }

  .internal-contact-office {
    grid-column: auto;
  }

  .internal-contact-card {
    padding: 27px 24px;
    border-radius: 25px;
  }

  .internal-important {
    padding-top: 55px;
  }

  .internal-important-card {
    min-height: auto;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border-radius: 25px;
  }

  .internal-important-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .internal-important-icon svg {
    width: 28px;
    height: 28px;
  }

  .internal-important-action {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .internal-documents {
    padding-bottom: 90px;
  }

  .internal-category-card {
    border-radius: 25px;
  }

  .internal-category-card summary {
    min-height: 178px;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 12px;
    padding: 25px 20px;
  }

  .internal-category-title strong {
    font-size: 28px;
  }

  .internal-category-toggle {
    width: 40px;
    height: 40px;
  }

  .internal-document-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 13px;
    padding: 13px;
  }

  .internal-document-icon {
    width: 58px;
    height: 66px;
  }

  .internal-document-action {
    grid-column: 2;
    justify-self: start;
  }

  .internal-login-shell {
    padding: 45px 15px 80px;
  }

  .internal-login-card {
    padding: 36px 25px;
    border-radius: 30px;
  }

  .internal-login-card h1 {
    font-size: 44px;
  }

  .internal-password-form > div {
    grid-template-columns: 1fr;
  }

  .internal-password-form button {
    width: 100%;
  }
}

/*
 * WordPress block adapter
 *
 * The original design used hand-authored React markup. These rules preserve
 * that visual system while allowing all copy to live in native Gutenberg
 * blocks that WordPress can revision and submit for approval.
 */

.site-header .nav-menu,
.mobile-menu .nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
}

.mobile-menu .nav-menu {
  display: grid;
  gap: 2px;
}

.mobile-menu nav li {
  display: contents;
}

body.admin-bar .site-header {
  top: 50px;
}

body.admin-bar {
  --anchor-offset: 154px;
}

.hero {
  display: block;
}

.hero .hero-layout {
  display: grid;
  min-height: 690px;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 0;
  margin: 0;
}

.hero .wp-block-column,
.hero .wp-block-group,
.hero .wp-block-buttons,
.hero .wp-block-list {
  margin-block-start: 0;
}

/* Preserve the intentional rhythm after WordPress' block-gap reset. */
.hero .hero-actions {
  margin-block-start: 36px;
}

.hero .hero-facts {
  margin-block-start: 48px;
}

.hero .hero-visual {
  display: block;
}

.hero-sticker .sticker-flower,
.hero-sticker .sticker-copy {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-sticker .sticker-copy {
  display: grid;
  justify-items: center;
  margin-top: 2px;
}

.hero-sticker .sticker-copy small {
  display: block;
}

.wp-block-buttons .wp-block-button {
  margin: 0;
}

.wp-block-button.button-dark .wp-block-button__link,
.wp-block-button.button-light .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px !important;
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.wp-block-button.button-dark .wp-block-button__link {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 12px 24px rgba(var(--accent-dark-rgb), 0.18);
}

.wp-block-button.button-dark .wp-block-button__link:hover {
  background: var(--accent-hover);
  box-shadow: 0 16px 30px rgba(var(--accent-dark-rgb), 0.23);
}

.wp-block-button.button-light .wp-block-button__link {
  background: var(--paper);
  color: var(--green-dark);
}

.wp-block-button.button-link .wp-block-button__link {
  min-height: auto;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 720;
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.visit-strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.visit-strip > .visit-explainer {
  order: -1;
}

.visit-strip > .visit-layout {
  order: 0;
}

.visit-layout {
  display: grid;
  min-height: 72px;
  grid-template-columns: 0.9fr 1.55fr 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 0;
}

.visit-layout > *,
.visit-date > *,
.visit-place > * {
  margin-block: 0;
}

.visit-date .calendar-day {
  margin: 0;
}

.visit-date-copy {
  display: grid;
  gap: 5px;
}

.visit-date-copy p {
  margin: 0;
}

.visit-meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.visit-action {
  margin: 0;
}

.intro > *,
.team > *,
.perspective > * {
  margin-block-start: 0;
}

/* Keep the application note visually separated from the perspective cards.
 * The generic WordPress margin reset above must not collapse this intentional gap. */
.perspective > .application-note {
  margin-block-start: 20px;
}

.topics-inner {
  margin: 0 auto;
}

.topics-head > *,
.perspective-head > * {
  margin-block-start: 0;
}

.topic-card {
  overflow: hidden;
}

.topic-card summary {
  display: grid;
  min-height: 220px;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 20px;
  padding: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 39px);
  letter-spacing: -0.04em;
}

.topic-card summary::after {
  display: grid;
  width: 43px;
  height: 43px;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.28);
  border-radius: 50%;
  content: "+";
  font-family: "Segoe UI", sans-serif;
  font-size: 21px;
  transition: transform 180ms ease;
}

.topic-card[open] summary::after {
  transform: rotate(45deg);
}

.topic-card > p,
.topic-card > .wp-block-paragraph {
  margin: 0;
  padding: 0 32px 18px;
  color: rgba(var(--accent-dark-rgb), 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.topic-card > .topic-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 32px 15px;
  padding: 7px 10px;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topic-card > p:last-child {
  padding-bottom: 34px;
}

.photo-collage > p {
  margin: 0;
}

.team-copy > * {
  margin-block-start: 0;
}

.association-grid,
.contact-grid {
  margin: 0 auto;
}

.association-title > *,
.association-details > *,
.contact-copy > *,
.contact-person-card > *,
.contact-card > * {
  margin-block-start: 0;
}

.association-details details > p {
  margin: 0;
  padding: 0 55px 32px 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.association-details summary {
  grid-template-columns: 1fr auto;
}

.association-details summary::after {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.28);
  border-radius: 50%;
  content: "+";
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
  transition: transform 180ms ease;
}

.association-details details[open] summary::after {
  transform: rotate(45deg);
}

.perspective-card summary {
  display: grid;
  min-height: 245px;
  align-content: end;
  padding: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.perspective-card summary::before {
  align-self: start;
  width: fit-content;
  margin-bottom: 65px;
  color: rgba(var(--accent-dark-rgb), 0.58);
  content: "Mehr erfahren";
  font-family: "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.perspective-card summary::after {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.22);
  border-radius: 50%;
  content: "+";
  font-family: "Segoe UI", sans-serif;
  font-size: 22px;
  transition: transform 180ms ease;
}

.perspective-card[open] summary::after {
  transform: rotate(45deg);
}

.perspective-card > p {
  margin: 0;
  padding: 0 32px 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.perspective-card > p:last-child {
  padding-bottom: 32px;
}

.application-note > * {
  margin: 0;
}

.application-note .note-icon {
  display: grid;
}

.contact-card h3 {
  margin: 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.contact-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
}

.contact-card > p:last-child a {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 750;
}

.legal-content > * {
  margin-block-start: 0;
}

.legal-contact-grid {
  margin-bottom: 0;
}

.legal-accordion details > p,
.legal-accordion details > h3,
.legal-accordion details > ul {
  margin-right: 60px;
  margin-left: 0;
}

.legal-accordion details > p:last-child,
.legal-accordion details > ul:last-child {
  margin-bottom: 38px;
}

.legal-accordion summary {
  grid-template-columns: 1fr auto;
}

.legal-accordion summary::after {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
  transition: transform 180ms ease;
}

.legal-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.gb-missing-section {
  margin: 24px 0;
  padding: 18px;
  border: 1px dashed var(--coral);
  border-radius: 14px;
  background: var(--coral-soft);
}

@media (max-width: 1020px) {
  body.admin-bar .site-header {
    top: 42px;
  }

  .hero .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .visit-layout {
    grid-template-columns: 1fr 1.6fr;
  }

  .photo-collage {
    width: min(100%, 760px);
    justify-self: center;
  }

  .contact-grid:has(.contact-person-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .contact-grid:has(.contact-person-card) .contact-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 54px;
  }
}

@media (max-width: 720px) {
  :root {
    --anchor-offset: 96px;
  }

  body.admin-bar {
    --anchor-offset: 140px;
  }

  .hero .hero-layout {
    display: grid;
  }

  .hero .hero-actions {
    margin-block-start: 30px;
  }

  .hero .hero-facts {
    margin-block-start: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-copy {
    grid-column: auto;
  }

  .contact-grid:has(.contact-person-card) {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .contact-grid:has(.contact-person-card) .contact-copy {
    grid-column: auto;
  }

  .contact-grid:has(.contact-person-card) .contact-card {
    margin-top: 0;
    padding-top: 110px;
  }

  .contact-grid:has(.contact-person-card) .contact-flower {
    top: 24px;
  }

  .visit-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .visit-action,
  .visit-action .wp-block-button,
  .visit-action .wp-block-button__link {
    width: 100%;
  }

  .visit-explainer {
    margin: 0 0 24px;
  }

  .visit-explainer summary {
    grid-template-columns: 1fr 38px;
    gap: 16px;
    font-size: 20px;
  }

  .visit-explainer summary::after {
    width: 36px;
    height: 36px;
  }

  .visit-explainer-copy {
    margin-right: 0;
    font-size: 14px;
  }

  .topic-card summary {
    min-height: 190px;
    padding: 25px;
  }

  .topic-card > p,
  .topic-card > .wp-block-paragraph {
    padding-right: 25px;
    padding-left: 25px;
  }

  .topic-card > .topic-kicker {
    margin-right: 25px;
    margin-left: 25px;
  }

  .association-details details > p,
  .legal-accordion details > p,
  .legal-accordion details > h3,
  .legal-accordion details > ul {
    margin-right: 0;
    padding-right: 0;
  }
}

/* Editorial access: wraps alongside the existing footer on narrow screens. */
.footer-bottom{flex-wrap:wrap;gap:16px}.gb-editorial-entry{font-size:15px;white-space:nowrap}

/* Optional editorial elements collapse without leaving grid holes or empty dividers. */
.gbse-is-hidden{display:none!important}
.visit-layout{display:flex;flex-wrap:wrap;gap:28px;min-height:0}
.visit-layout>.visit-label{flex:.9 1 200px}
.visit-layout>.visit-date{flex:1.55 1 285px}
.visit-layout>.visit-place{flex:1 1 180px}
.visit-layout>.visit-action{flex:0 0 auto;margin-left:auto}
.visit-layout>.visit-place:first-child{border-left:0;padding-left:0}
.visit-strip:not(:has(.visit-layout))>.visit-explainer{margin-bottom:0;padding-bottom:0;border-bottom:0}
.footer-main.gbse-no-footer-links{grid-template-columns:1fr auto}
@media(max-width:680px){.visit-layout{gap:22px}.visit-layout>.visit-label,.visit-layout>.visit-date,.visit-layout>.visit-place,.visit-layout>.visit-action{flex:1 1 100%;max-width:100%}.visit-layout>.visit-place{border-left:0;padding-left:0}.visit-layout>.visit-action{width:100%}.footer-main.gbse-no-footer-links{grid-template-columns:minmax(0,1fr)}}
