/* Shared alignment, requested 23 September: full text, even card edges and CTAs. */
.goedde-card-grid{align-items:stretch;grid-auto-rows:1fr}
.goedde-card-grid>.goedde-card{display:flex;flex-direction:column;align-items:stretch;align-self:stretch;margin-block:0!important}
.goedde-card-grid>.goedde-card>:is(p,div.wp-block-buttons,a):last-child{margin-top:auto}
.goedde-card-grid>.goedde-card>p:last-child:has(a){padding-top:1rem}
.goedde-card-grid>.goedde-card>a:last-child{padding-top:1rem}
.goedde-card-grid>.goedde-card>figure{flex-shrink:0}
.goedde-card-grid>.goedde-card>:is(h2,h3){min-height:2.5em}
@media(min-width:601px){.goedde-card-grid:has(>.goedde-card:nth-child(2):last-child),.goedde-card-grid:has(>.goedde-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
.goedde-fahrschule-info-card,.goedde-fahrschule-training-card,.goedde-fahrschule-teaser-card,.goedde-schedule-event{display:flex;flex-direction:column;min-width:0}
.goedde-fahrschule-info-card>.wp-block-buttons,.goedde-fahrschule-training-card>.wp-block-buttons,.goedde-fahrschule-teaser-card>.wp-block-buttons{margin-top:auto;padding-top:1rem}
.goedde-schedule-event>.goedde-schedule-link{margin-top:auto;align-self:flex-start}

/* Same column widths and height target for all six home topics. Shared row
 * tracks align headings and the last action, even with different copy length.
 * Minimum heights may grow with enlarged text; nothing is line-clamped. */
.goedde-home-service-row.wp-block-group{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto minmax(0,1fr) auto;min-height:clamp(640px,50vw,820px);row-gap:20px}
.goedde-home-service-row>.goedde-home-service.wp-block-group{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-content:stretch;align-items:start;min-height:0;padding:clamp(32px,5vw,96px);row-gap:20px}
.goedde-home-service-row>.goedde-home-service.wp-block-group>h2{grid-row:1;font-size:clamp(40px,4.1vw,72px);line-height:1.2;margin:0;hyphens:auto;overflow-wrap:anywhere}
.goedde-home-service-row>.goedde-home-service.wp-block-group>h3{grid-row:2;font-size:clamp(23px,2.1vw,32px);line-height:1.3;margin:0}
.goedde-home-service-row>.goedde-home-service>.wp-block-list{grid-row:3;margin:0;align-self:start}
.goedde-home-service-row>.goedde-home-service>p:last-child{grid-row:4;align-self:end;margin:0}
@supports not (grid-template-rows:subgrid){
 .goedde-home-service-row.wp-block-group{grid-template-rows:auto}
 .goedde-home-service-row>.goedde-home-service.wp-block-group{display:flex;grid-row:auto}
 .goedde-home-service-row>.goedde-home-service>p:last-child{margin-top:auto}
}
@media(max-width:700px){
 .goedde-home-service-row.wp-block-group{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:1fr;min-height:0;row-gap:0}
 .goedde-home-service-row>.goedde-home-service.wp-block-group{grid-row:auto;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:490px;padding:40px 24px}
 .goedde-home-service-row>.goedde-home-service.wp-block-group>h2{font-size:40px}
 .goedde-home-service-row>.goedde-home-service.wp-block-group>h3{font-size:23px}
}
@media(max-width:600px){.goedde-card-grid{grid-auto-rows:auto}.goedde-card-grid>.goedde-card>:is(h2,h3){min-height:0}}
