.wp-block-post-content:has(> .goedde-fahrschule-hero) > :is(.goedde-fahrschule-hero,.goedde-fahrschule-section) { max-width: none !important; margin-block: 0; box-sizing: border-box; }
.wp-block-post-content > .goedde-fahrschule-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  max-width: none;
  padding: 11px 5%;
  margin-block: 0;
  list-style: none;
  background: #fff;
}
.goedde-fahrschule-jump::before { content: "FAHRSCHULE"; margin-right: auto; color: #333; font-family: Oswald, sans-serif; font-weight: 600; }
.goedde-fahrschule-jump li { margin: 0; }
.goedde-fahrschule-jump a {
  display: inline-block;
  padding: 0;
  border: 0;
  color: #333;
  font-weight: 600;
  text-decoration: none;
}
.goedde-fahrschule-jump a:hover, .goedde-fahrschule-jump a:focus-visible { color: #738700; text-decoration: underline; }
.goedde-fahrschule-hero { position: relative; display: grid; place-items: center; min-height: 765px; isolation: isolate; overflow: hidden; background: #333; }
.goedde-fahrschule-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(218,165,32,.13); pointer-events: none; }
.goedde-fahrschule-hero > h1 { position: relative; z-index: 2; max-width: 1375px; padding: 0 30px; margin: 0; color: #fff; font-family: 'Oswald',sans-serif; font-size: clamp(40px,6.3vw,80px); font-weight: 600; line-height: 1.4; text-align: center; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.goedde-fahrschule-hero-frame { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; transform: translateX(-100%); transition: transform 2500ms ease; }
.goedde-fahrschule-hero-frame.is-active { transform: translateX(0); }
.goedde-fahrschule-hero-frame.is-after { transform: translateX(100%); }
.goedde-fahrschule-hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.goedde-fahrschule-hero-controls { position: absolute; z-index: 3; right: 25px; bottom: 20px; display: flex; gap: 8px; }
.goedde-fahrschule-hero-controls button { min-width: 44px; min-height: 44px; padding: 5px 12px; border: 1px solid #fff; border-radius: 4px; background: rgba(0,0,0,.5); color: #fff; font: inherit; cursor: pointer; }
.goedde-fahrschule-hero-controls button:hover,.goedde-fahrschule-hero-controls button:focus-visible { background: #a9c10c; color: #242424; }
.goedde-fahrschule-section { --goedde-section-width: 1140px; padding: 100px clamp(20px,5vw,70px); }
.goedde-fahrschule-section > :not(.wp-block-group) { max-width: var(--goedde-section-width); margin-inline: auto; }
.goedde-fahrschule-section > .wp-block-group { margin-inline: auto; }
.goedde-fahrschule-section--intro { --goedde-section-width: 1375px; padding-block: 110px; padding-inline: 25px; background: #fff; text-align: center; }
.goedde-fahrschule-section--intro p { font-size: 30px; line-height: 1.4; }
.goedde-fahrschule-section--tiles { padding-block: 38px; background: #f5f5f5; }
.goedde-fahrschule-section--tiles > .goedde-original-tiles { max-width: 1310px; }
.goedde-fahrschule-section--termine { background: #fff; }
.goedde-fahrschule-section--bestanden { --goedde-section-width: 1310px; padding-block: 50px; background: #f5f5f5; }
.goedde-fahrschule-section--versprechen { padding-block: 100px; background: linear-gradient(rgba(216,162,88,.3),rgba(216,162,88,.3)),url('../images/fahrschule_go_green_auschnitt-2f5fa0026a1b.webp') center/cover; }
.goedde-fahrschule-section--versprechen > h2,.goedde-fahrschule-section--versprechen > p { color: #fff; text-align: center; }
.goedde-fahrschule-promise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; max-width: 1310px; align-items: stretch; }
.goedde-fahrschule-promise-item { padding: 32px 24px; background: #fff; text-align: center; align-self: stretch; margin-top: 0; }
.goedde-fahrschule-promise-item > :last-child { margin-bottom: 0; }
.goedde-fahrschule-section--klassen { padding-block: 110px; background: #fff; text-align: center; }
.goedde-fahrschule-section--klassen .wp-block-image { max-width: 1100px; }
.goedde-fahrschule-section--klassen img { max-width: 100%; height: auto; }
.goedde-fahrschule-section--motorrad { --goedde-section-width: 1000px; padding-top: 120px; padding-bottom: 80px; background: #fff; text-align: center; }
.goedde-fahrschule-section--anmeldung { padding-block: 50px 75px; background: #f5f5f5; }
.goedde-fahrschule-section--anmeldung > h2 { text-align: center; }
.goedde-fahrschule-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; max-width: 1200px; }
.goedde-fahrschule-info-card { padding: 30px; background: #fff; }
.goedde-fahrschule-section--simulator { padding-block: 7%; background: #fff; text-align: center; }
.goedde-fahrschule-section--trainings { padding: 8em clamp(20px,5vw,8em); background: linear-gradient(rgba(216,162,88,.33),rgba(216,162,88,.33)),url('../images/baum_hintergrund-f48d48ba5348.webp') center/cover; }
.goedde-fahrschule-section--trainings > h2,.goedde-fahrschule-section--trainings > p { color: #fff; text-align: center; }
.goedde-fahrschule-training-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; max-width: 1310px; }
.goedde-fahrschule-training-card { padding: 26px 22px; background: #fff; }
.goedde-fahrschule-section--teaser { padding-block: 111px 120px; background: #fff; }
.goedde-fahrschule-teaser-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; max-width: 1310px; }
.goedde-fahrschule-teaser-card { padding: 30px; background: #f5f5f5; }
.goedde-fahrschule-section--kraftfahreignung { padding-block: 120px 100px; background: #f5f5f5; }
.goedde-fahrschule-section--kraftfahreignung .goedde-fahrschule-info-grid { max-width: 1400px; }
.goedde-fahrschule-section--kontakt { --goedde-section-width: 952px; padding-block: 112px 120px; background: #fff; }
.goedde-fahrschule-section--faq { --goedde-section-width: 837px; padding-block: 0 110px; background: #f5f5f5; }
.goedde-fahrschule-section--faq details { margin: 0; padding: 0; border-bottom: 4px solid #d5d5d5; background: #fff; }
.goedde-fahrschule-section--faq details summary { position: relative; min-height: 81px; padding: 20px 45px 20px 58px; list-style: none; font-family: 'Oswald',sans-serif; font-size: 22px; line-height: 30px; cursor: pointer; }
.goedde-fahrschule-section--faq details summary::-webkit-details-marker { display: none; }
.goedde-fahrschule-section--faq details summary::before { content: '➜'; position: absolute; top: 22px; left: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #a9c10c; color: #fff; font: 18px/1 Arial,sans-serif; }
.goedde-fahrschule-section--faq details summary::after { content: '+'; position: absolute; top: 19px; right: 10px; color: #333; font: 300 30px/1 Arial,sans-serif; }
.goedde-fahrschule-section--faq details[open] summary::after { content: '−'; }
.goedde-fahrschule-section--faq details > :not(summary) { margin-inline: 58px 20px; }
.goedde-fahrschule-section--zertifikate { padding: 100px clamp(20px,5vw,100px); background: #fff; }
.wp-block-post-content [id="termine"], .wp-block-post-content [id="unser"], .wp-block-post-content [id="pop"], .wp-block-post-content [id="mo"], .wp-block-post-content [id="sim"], .wp-block-post-content [id="trainings"], .wp-block-post-content [id="kraftfahreignung"], .wp-block-post-content [id="faq"] { scroll-margin-top: 125px; }
.goedde-fahrschule-filters { display: none; flex-wrap: wrap; gap: 10px; max-width: 1310px; margin: 20px auto; }
.goedde-fahrschule-filters.is-ready { display: flex; }
.goedde-fahrschule-filters button { padding: 9px 16px; border: 1px solid #a9c10c; border-radius: 4px; background: #fff; color: #354000; font: inherit; cursor: pointer; }
.goedde-fahrschule-filters button[aria-pressed="true"], .goedde-fahrschule-filters button:hover, .goedde-fahrschule-filters button:focus-visible { background: #a9c10c; color: #1d2400; }
.goedde-fahrschule-gallery-panel { max-width: 1310px; }
.goedde-fahrschule-gallery-panel[hidden] { display: none !important; }
.goedde-fahrschule-filters.is-ready ~ .goedde-fahrschule-gallery-panel:not(.is-active) { display: none; }
.goedde-fahrschule-gallery { display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; max-width: 1310px; }
.goedde-fahrschule-gallery .wp-block-image { width: 100% !important; margin: 0 !important; }
.goedde-fahrschule-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.goedde-fahrschule-logos { max-width: 1310px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; gap: 25px; }
.goedde-fahrschule-logos .wp-block-image { margin: 0; text-align: center; }
.goedde-fahrschule-logos .wp-block-image img { width: auto; max-width: 100%; max-height: 180px; height: auto; object-fit: contain; }
@media (max-width: 1000px) {
  .goedde-fahrschule-promise-grid,.goedde-fahrschule-training-grid,.goedde-fahrschule-teaser-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .goedde-fahrschule-jump { justify-content: center; }
  .goedde-fahrschule-jump::before { width: 100%; text-align: center; }
}
@media (max-width: 700px) {
  .goedde-fahrschule-hero { min-height: 540px; }
  .goedde-fahrschule-hero > h1 { font-size: 40px; line-height: 1.4; }
  .goedde-fahrschule-section { padding-inline: 20px; }
  .goedde-fahrschule-section--intro p { font-size: 24px; line-height: 1.4; }
  .goedde-fahrschule-section--versprechen,.goedde-fahrschule-section--trainings { padding-block: 70px; }
  .goedde-fahrschule-promise-grid,.goedde-fahrschule-training-grid,.goedde-fahrschule-teaser-grid,.goedde-fahrschule-info-grid { grid-template-columns: 1fr; }
  .goedde-fahrschule-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .goedde-fahrschule-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 420px) { .goedde-fahrschule-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { .goedde-fahrschule-hero-frame { transition: none; } }
