/* Taxi Klitsch FSE – layouts adapted from current Hugo source. */
:root{--taxi-red:var(--wp--preset--color--primary,#c02223);--taxi-dark:var(--wp--preset--color--primary-dark,#c02223);--taxi-cream:var(--wp--preset--color--cream,#f7f0e3);--taxi-sand:var(--wp--preset--color--sand,#ece8d2);--taxi-light:var(--wp--preset--color--cream-light,#fffaf1);--taxi-ink:var(--wp--preset--color--text,#171813);--taxi-muted:var(--wp--preset--color--muted,#4c5047);--taxi-shadow:var(--wp--preset--shadow--soft,0 1.25rem 3rem rgba(71,35,24,.14));--taxi-width:1440px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:6rem}
body{margin:0;background:var(--taxi-light);color:var(--taxi-ink);font-family:Inter,system-ui,sans-serif}
.wp-site-blocks{overflow:clip}
.wp-site-blocks>.wp-block-group,.wp-site-blocks>.wp-block-cover{margin-block-start:0}
.taxi-hero-section,.taxi-services-section,.taxi-vehicles-section,.taxi-trust-section,.taxi-about-section,.taxi-cta-section,.taxi-header,.taxi-footer{max-width:none!important}
#start,#leistungen,#fahrzeuge,#ueber-uns,#kontakt{scroll-margin-top:6rem}
.taxi-services-section,.taxi-vehicles-section,.taxi-trust-section,.taxi-about-section,.taxi-cta-section{width:100%;box-sizing:border-box}
.taxi-services-container,.taxi-container,.taxi-trust-card,.taxi-cta-inner,.taxi-footer-inner,.taxi-header-inner{max-width:min(var(--taxi-width),calc(100% - 3rem));margin-inline:auto}
.taxi-eyebrow{margin:0 0 .8rem!important;font-size:.91rem;font-weight:600;letter-spacing:.035em;line-height:1.5;text-transform:uppercase;color:var(--taxi-dark)}
.taxi-vehicles-section h2,.taxi-trust-section h2,.taxi-about-section h2,.taxi-services-section h2{font-family:Merienda,cursive;font-weight:400;font-size:clamp(2.1rem,3.7vw,3.6rem);line-height:1.17;color:var(--taxi-section-heading);margin:0 0 1.25rem}
.taxi-services-section p:not(.taxi-eyebrow),.taxi-vehicles-section p:not(.taxi-eyebrow),.taxi-trust-section p:not(.taxi-eyebrow),.taxi-about-section p:not(.taxi-eyebrow){color:var(--taxi-muted)}
.taxi-header{z-index:30;background:rgba(255,250,241,.97);border-bottom:1px solid rgba(176,18,23,.08)}
.taxi-header-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:2rem;min-height:6.2rem;padding-block:.85rem}
.taxi-header-brand-wrap{flex-shrink:0;margin:0!important}.taxi-header-brand{font:italic 700 clamp(1.8rem,2.6vw,3rem)/1 Inter,sans-serif;letter-spacing:-.04em;color:var(--taxi-dark);margin:0!important}.taxi-header-subtitle{font-size:.88rem;margin:.45rem 0 0!important;white-space:nowrap}
.taxi-header .wp-block-navigation{gap:clamp(.7rem,1.4vw,1.5rem);margin:0!important}.taxi-header .wp-block-navigation a.wp-block-navigation-item__content{font-size:1rem;font-weight:600;color:var(--taxi-ink);text-decoration:none!important;position:relative;white-space:nowrap}
.taxi-header .wp-block-navigation a.wp-block-navigation-item__content::after{content:"";position:absolute;bottom:-.48rem;left:0;right:0;height:2px;background:var(--taxi-red);border-radius:99px;transform:scaleX(0);transform-origin:center;transition:transform 240ms cubic-bezier(.22,1,.36,1)}
.taxi-header .wp-block-navigation a.wp-block-navigation-item__content:hover::after,.taxi-header .wp-block-navigation a.wp-block-navigation-item__content:focus-visible::after,.taxi-header .wp-block-navigation a.wp-block-navigation-item__content.taxi-active::after,.taxi-header .wp-block-navigation .current-menu-item>a.wp-block-navigation-item__content:not([href*="#"])::after{transform:scaleX(1)}
.taxi-header .wp-block-navigation a.wp-block-navigation-item__content:hover,.taxi-header .wp-block-navigation a.wp-block-navigation-item__content.taxi-active{color:var(--taxi-dark)}
.taxi-header .wp-block-buttons{margin:0!important;flex-shrink:0}
.taxi-header .taxi-header-call .wp-block-button__link{background:var(--taxi-header-call-bg)}
.wp-block-button .wp-block-button__link{min-height:3.25rem;padding:.85rem 1.35rem;border:2px solid transparent;border-radius:.65rem;background:var(--taxi-dark);color:white;font-size:1rem;font-weight:600;line-height:1.25;text-decoration:none;transition:background .2s,transform .2s,border-color .2s}
.wp-block-button .wp-block-button__link:hover{background:var(--taxi-red);transform:translateY(-2px)}
.taxi-btn-outline .wp-block-button__link{border-color:var(--taxi-dark);background:rgba(255,250,241,.85);color:var(--taxi-dark)}
.taxi-btn-outline .wp-block-button__link:hover{background:var(--taxi-dark);color:#fff}
.taxi-link-button .wp-block-button__link{border:0;padding:.75rem 0;background:transparent;color:var(--taxi-dark);font-size:.96rem;min-height:0}
.taxi-link-button .wp-block-button__link:hover{background:transparent;color:var(--taxi-red)}
/* Latest source uses photo-only hero: foreground vehicle deliberately absent. */
.taxi-hero-section.wp-block-cover{isolation:isolate;min-height:clamp(36rem,68vh,46rem)!important;align-items:center;padding:0;overflow:hidden;background:var(--taxi-light)}
.taxi-hero-section>.wp-block-cover__image-background{object-position:center center;z-index:-2}
.taxi-hero-section>.wp-block-cover__background{opacity:0!important;z-index:-1}
.taxi-hero-section>.wp-block-cover__inner-container{z-index:1;width:min(var(--taxi-width),calc(100% - 3rem));max-width:none;margin:auto;color:var(--taxi-ink)}
.taxi-hero-content{max-width:33rem!important;margin-left:0!important;margin-right:auto!important;padding:3rem 0}
.taxi-hero-title{max-width:10ch;font:400 clamp(3.4rem,5vw,5.4rem)/1.05 Merienda,cursive;color:var(--taxi-hero-heading);letter-spacing:-.02em;margin:.1rem 0 1.25rem!important}
.taxi-hero-text{max-width:28rem;font-size:1.21rem;line-height:1.65;color:var(--taxi-ink);margin:.85rem 0!important}
/* Gutenberg constrained layouts must not center the Hero text.
   Keep eyebrow, title, paragraphs and actions on a shared left edge. */
.taxi-hero-section .taxi-hero-content,
.taxi-hero-section .taxi-hero-intro {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
.taxi-hero-section .taxi-hero-intro > :is(.taxi-eyebrow, .taxi-hero-title, .taxi-hero-text) {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
.taxi-hero-section .taxi-hero-content > .wp-block-buttons {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.taxi-hero-content>.wp-block-buttons{margin-top:2.5rem!important;gap:1rem}
.taxi-hero-content .wp-block-button__link{min-height:3.5rem}
/* Services follow original Hugo four-column flat container. */
.taxi-services-section{position:relative;z-index:2}
.taxi-services-header{position:relative}
.taxi-services-header>p:last-child{margin:0!important;line-height:1.7}
.taxi-service-grid{margin:0!important}
.taxi-service-grid>.wp-block-column{flex:1 1 0;min-width:0;margin:0!important;position:relative}
.taxi-service-grid>.wp-block-column:not(:last-child)::after{content:"";position:absolute;z-index:1;right:0;top:12%;height:76%;width:1px;background:linear-gradient(0deg,transparent,rgba(176,18,23,.18),transparent)}
.taxi-service-card{height:100%;margin:0!important;transition:background .25s}
.taxi-service-icon{width:3.25rem;height:3.25rem;margin:0 0 1.4rem!important}.taxi-service-icon img{width:100%;height:100%;object-fit:contain}
.taxi-service-card h3{font-size:clamp(1.25rem,1.5vw,1.6rem);line-height:1.24;margin:0 0 .85rem!important;color:var(--taxi-ink)}
.taxi-service-card>p{font-size:.95rem;line-height:1.7;flex-grow:1;margin:0!important}
.taxi-service-card>.wp-block-buttons{margin-top:1rem!important}
/* Vehicle cards */
.taxi-vehicles-section{background:var(--taxi-sand);padding:clamp(3.5rem,6vw,6rem) 0 clamp(3.5rem,6vw,6rem)}
.taxi-vehicles-section .taxi-container>p:not(.taxi-eyebrow){margin:0 0 2rem;font-size:1.075rem}
.taxi-vehicle-grid{gap:1.7rem;align-items:stretch;margin:0!important}
.taxi-vehicle-grid>.wp-block-column{min-width:0;display:flex}
.taxi-vehicle-card{width:100%;overflow:hidden;border-radius:1.25rem;background:var(--taxi-light);box-shadow:0 .8rem 2rem rgba(71,35,24,.11);margin:0!important}
.taxi-vehicle-card>figure{margin:0!important;max-width:none!important}
.taxi-vehicle-card>figure img{width:100%;height:clamp(12.5rem,16vw,17rem);display:block;object-fit:cover}
.taxi-vehicle-body{padding:1.6rem 1.6rem 2rem}
.taxi-vehicle-body h3{font-size:1.55rem;line-height:1.25;color:var(--taxi-section-heading);margin:0 0 1rem!important}
.taxi-vehicle-body p,.taxi-vehicle-body li{font-size:.96rem;line-height:1.65}.taxi-vehicle-body li{margin-bottom:.45rem}.taxi-vehicle-body li::marker{color:var(--taxi-red)}
/* Trust section */
.taxi-trust-card{border-radius:1.5rem;padding:clamp(2.2rem,5vw,5rem);box-shadow:var(--taxi-shadow)}
.taxi-trust-card>p:not(.taxi-eyebrow){margin-top:0!important;line-height:1.7}
.taxi-trust-grid{gap:0!important;padding-top:2rem}
.taxi-trust-grid>.wp-block-column{padding:1rem clamp(.75rem,1.5vw,1.75rem);min-width:0}
.taxi-trust-grid>.wp-block-column:not(:last-child){border-right:1px solid rgba(176,18,23,.12)}
.taxi-trust-icon{width:3rem;height:3rem;margin:0 0 1.4rem!important}
.taxi-trust-icon img{width:100%;height:100%;object-fit:contain}
/* About */
.taxi-about-section{background:var(--taxi-light);padding:clamp(4.5rem,7vw,7rem) max(1.5rem,calc((100vw - var(--taxi-width))/2))}
.taxi-about-columns{gap:clamp(2rem,5vw,6rem);align-items:center;margin:0!important}
.taxi-about-columns>.wp-block-column:first-child{flex-basis:54%}.taxi-about-columns figure{margin:0!important}
.taxi-about-columns img{width:100%;height:auto;display:block;border-radius:1.5rem;box-shadow:var(--taxi-shadow)}
.taxi-about-copy h2{max-width:15ch}.taxi-about-copy>p:not(.taxi-eyebrow){font-size:1.07rem;line-height:1.75}.taxi-about-copy>.wp-block-buttons{margin-top:2rem!important}
/* CTA */
.taxi-cta-section{padding:clamp(3.5rem,5vw,5rem) 0 !important;background:var(--taxi-sand)}
.taxi-cta-inner{position:relative;overflow:hidden;min-height:31rem;border-radius:1.5rem;padding:clamp(2.5rem,6vw,5rem);background:radial-gradient(circle at 91% 12%,rgba(255,255,255,.08) 0 14%,transparent 14.2%),radial-gradient(circle at 68% 110%,rgba(255,255,255,.06) 0 20%,transparent 20.2%),var(--taxi-red);box-shadow:0 1.5rem 3.75rem rgba(62,49,26,.14);color:#fff}
.taxi-cta-inner>.taxi-eyebrow{color:rgba(255,255,255,.85)}
.taxi-cta-inner h2{font-size:clamp(2.5rem,5vw,4.5rem);font-weight:700;max-width:15ch;line-height:1.05;margin:0 0 1.5rem!important;color:#fff}
.taxi-cta-inner>p:not(.taxi-eyebrow){max-width:42rem;color:rgba(255,255,255,.9);line-height:1.75;font-size:1.1rem}
.taxi-cta-inner .taxi-phone{font-size:clamp(1.5rem,3vw,2.15rem)!important;margin:2rem 0!important;font-weight:700;color:#fff!important}
.taxi-phone a,.taxi-cta-inner a{color:inherit}.taxi-phone a{text-decoration:none}.taxi-phone a:hover{text-decoration:underline}
.taxi-cta-inner .wp-block-buttons{margin-top:2rem!important;gap:1rem}
.taxi-btn-light .wp-block-button__link{background:#fff;color:var(--taxi-dark);border-color:#fff}
.taxi-btn-light .wp-block-button__link:hover{background:var(--taxi-light);color:var(--taxi-dark)}
.taxi-btn-outline-light .wp-block-button__link{background:transparent;border-color:rgba(255,255,255,.65);color:#fff}
.taxi-btn-outline-light .wp-block-button__link:hover{background:rgba(255,255,255,.1);border-color:#fff}
/* Footer */
.taxi-footer{color:#fff;padding:clamp(3.5rem,5vw,5.5rem) 0 1.5rem}
.taxi-footer .taxi-footer-inner{color:white}.taxi-footer a{color:inherit}.taxi-footer a:hover{text-decoration:underline}
.taxi-footer-columns{gap:clamp(1.5rem,5vw,6rem);margin:0!important}
.taxi-footer-columns h4{margin:0 0 1.4rem;color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:.95rem}
.taxi-footer-logo{font-family:Merienda,cursive;font-weight:700;color:#fff;font-size:2rem;margin:0 0 1.1rem}
.taxi-footer-columns p{font-size:1rem;line-height:1.7;color:rgba(255,255,255,.87);margin:.35rem 0}
.taxi-footer-legal{border-top:1px solid rgba(255,255,255,.25);padding-top:1.5rem;margin-top:3.3rem!important}
.taxi-footer-legal p{font-size:.9rem;margin:0!important;color:rgba(255,255,255,.75)}
.taxi-inner-page{max-width:1120px;margin:clamp(3rem,6vw,6rem) auto;min-height:50vh;padding-inline:1.5rem}
@media(max-width:1100px){.taxi-header-inner{flex-wrap:wrap;padding-block:1rem}.taxi-header-inner .wp-block-navigation{margin-left:auto!important}.taxi-header-inner>.wp-block-buttons{display:none}.taxi-service-grid,.taxi-trust-grid{flex-wrap:wrap!important}.taxi-service-grid>.wp-block-column,.taxi-trust-grid>.wp-block-column{flex-basis:50%!important}.taxi-service-grid>.wp-block-column:nth-child(2)::after{display:none}.taxi-trust-grid>.wp-block-column:nth-child(2){border-right:0}.taxi-service-grid>.wp-block-column:nth-child(-n+2){border-bottom:1px solid rgba(176,18,23,.15)}}
@media(max-width:780px){.taxi-header-inner{min-height:5rem}.taxi-hero-section.wp-block-cover{min-height:41rem!important}.taxi-hero-section::before{background:linear-gradient(90deg,rgba(255,250,241,.99),rgba(255,250,241,.87) 35%,rgba(255,250,241,.35) 80%,transparent)}.taxi-hero-content{max-width:32rem!important}.taxi-vehicle-grid{flex-wrap:wrap!important}.taxi-vehicle-grid>.wp-block-column{flex-basis:100%!important}.taxi-vehicle-card>figure img{height:17rem}.taxi-about-columns{flex-wrap:wrap!important}.taxi-about-columns>.wp-block-column{flex-basis:100%!important}.taxi-footer-columns{flex-wrap:wrap!important}.taxi-footer-columns>.wp-block-column{flex-basis:46%!important}}
@media(max-width:600px){.taxi-header-inner,.taxi-services-container,.taxi-container,.taxi-trust-card,.taxi-cta-inner,.taxi-footer-inner{max-width:calc(100% - 2rem)}.taxi-header .wp-block-navigation{width:auto}.taxi-header-brand{font-size:1.65rem}.taxi-header-subtitle{font-size:.7rem}.taxi-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--taxi-light);color:var(--taxi-ink)}.taxi-hero-section.wp-block-cover{min-height:43rem!important;align-items:flex-start}.taxi-hero-section>.wp-block-cover__image-background{object-position:62% center}.taxi-hero-section::before{background:linear-gradient(180deg,rgba(255,250,241,.99) 0%,rgba(255,250,241,.96) 47%,rgba(255,250,241,.30) 80%,rgba(255,250,241,.05) 100%)}.taxi-hero-section>.wp-block-cover__inner-container{width:calc(100% - 2rem)}.taxi-hero-content{padding-top:3.5rem}.taxi-hero-title{font-size:clamp(3rem,13vw,4.1rem);max-width:11ch}.taxi-hero-text{font-size:1rem}.taxi-services-section{padding-top:2rem}.taxi-service-grid>.wp-block-column,.taxi-trust-grid>.wp-block-column{flex-basis:100%!important}.taxi-service-grid>.wp-block-column:not(:last-child){border-bottom:1px solid rgba(176,18,23,.14)}.taxi-service-grid>.wp-block-column::after{display:none!important}.taxi-trust-grid>.wp-block-column{border-right:0!important;border-bottom:1px solid rgba(176,18,23,.14)}.taxi-trust-grid>.wp-block-column:last-child{border:0}.taxi-service-card{padding:1.8rem}.taxi-services-section,.taxi-vehicles-section,.taxi-trust-section,.taxi-cta-section{padding-inline:0}.taxi-trust-card{padding:2rem}.taxi-about-section{padding:4rem 1rem}.taxi-cta-inner{padding:2.5rem 1.65rem;min-height:0}.taxi-cta-inner h2{font-size:2.5rem}.taxi-footer-columns>.wp-block-column{flex-basis:100%!important}.taxi-footer-legal{gap:.7rem 1.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.taxi-header .wp-block-navigation a.wp-block-navigation-item__content::after,.wp-block-button .wp-block-button__link{transition:none}}


/* Ergänzungen Beta 3 – Layout & FSE. Diese Regeln gehören zur Theme-Datei. */

/* Sticky: Der Template-Part-Header ist der äußere Sticky-Container. */
.taxi-site-header,
header.wp-block-template-part:has(> .taxi-header) {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-block: 0 !important;
}
body.admin-bar .taxi-site-header,
body.admin-bar header.wp-block-template-part:has(> .taxi-header) { top: 32px; }
.taxi-header { position: relative; }

/* Eine identische Inhaltsbreite für alle Sektionen inklusive Header/Footer. */
:root { --taxi-width: 1440px; }
.taxi-header-inner,
.taxi-footer-inner,
.taxi-services-container,
.taxi-container,
.taxi-trust-card,
.taxi-cta-inner {
  width: min(var(--taxi-width), calc(100% - 3rem));
  max-width: none !important;
  margin-inline: auto !important;
}
.taxi-services-container > *,
.taxi-container > *,
.taxi-trust-card > *,
.taxi-footer-inner > * {
  max-width: none;
}
.taxi-hero-section > .wp-block-cover__inner-container {
  width: min(var(--taxi-width), calc(100% - 3rem));
}
.taxi-about-section {
  padding-inline: max(1.5rem, calc((100% - var(--taxi-width)) / 2));
}
.taxi-about-columns {
  width: 100%;
  max-width: var(--taxi-width) !important;
  margin-inline: auto !important;
}

/* Eyebrow-Schrift und Linie exakt nach Hugo-Vorgabe. */
.taxi-eyebrow {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: none;
  text-align: left !important;
}

/* Gutenberg zentriert constrained-Block-Kinder standardmäßig. Für diese
 * textlichen Intros werden alle Kind-Elemente an derselben linken Kante fixiert. */
.taxi-services-header,
.taxi-section-intro,
.taxi-about-intro,
.taxi-cta-intro,
.taxi-hero-intro {
  width: 100%;
  text-align: left;
  margin-inline: 0 !important;
}
:is(.taxi-services-header, .taxi-section-intro, .taxi-about-intro, .taxi-cta-intro, .taxi-hero-intro) > :is(p,h1,h2,h3) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 2rem !important;
  text-align: left !important;
}
:is(.taxi-services-header, .taxi-section-intro, .taxi-about-intro, .taxi-cta-intro, .taxi-hero-intro) > :is(p,h1,h2,h3):not(.taxi-eyebrow) {
  max-width: 100%;
}
.taxi-hero-intro { border-bottom-color: rgba(143,13,18,.22); }
.taxi-hero-intro .taxi-hero-title { max-width: 10ch !important; }
.taxi-hero-intro .taxi-hero-text { max-width: 28rem !important; }
.taxi-cta-intro { max-width: 100%; border-color: rgba(255,255,255,.25); }
.taxi-cta-intro > :is(h2,p) { color: #fff; }
.taxi-cta-intro > h2 { max-width: 15ch; }

/* Unter dem Intro beginnen Listen / Spalten immer an derselben Kante. */
.taxi-vehicle-grid,
.taxi-service-grid,
.taxi-trust-grid { width: 100%; }
.taxi-trust-card { background: var(--taxi-light); }
.taxi-trust-card .taxi-section-intro { margin-bottom: 1.2rem !important; }
.taxi-trust-grid { border-top: 0; margin-top: 0 !important; }

/* Bild/Text-Verhältnis 2:5: Der Abschnitt »Über uns« ist der einzige mit
 * großem Bild neben Text; die Trust-Karte selbst hat nur Icon-Bilder. */
.taxi-about-columns > .wp-block-column:first-child {
  flex: 2 1 0 !important;
  flex-basis: 0 !important;
  min-width: 0;
}
.taxi-about-columns > .wp-block-column:last-child {
  flex: 5 1 0 !important;
  flex-basis: 0 !important;
  min-width: 0;
}
.taxi-about-copy,
.taxi-about-copy > .wp-block-buttons { margin-left: 0 !important; }

/* CTA: Eyebrow, Headline, Fließtext, Telefonnummer und Buttons linksbündig. */
.taxi-cta-inner,
.taxi-cta-inner > :is(.taxi-cta-intro, .taxi-phone, .wp-block-buttons) { text-align: left !important; }
.taxi-cta-inner > :is(.taxi-cta-intro, .taxi-phone, .wp-block-buttons) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.taxi-cta-inner > .wp-block-buttons {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.taxi-cta-inner > .wp-block-buttons > .wp-block-button { margin: 0 !important; }

/* Footer mit derselben Breite wie Header, ununterstrichenen Menüs und legalen Links. */
.taxi-footer-columns,
.taxi-footer-legal { width: 100%; }
.taxi-footer-menu a,
.taxi-footer-menu a:visited,
.taxi-footer-menu a:hover,
.taxi-footer-menu a:focus-visible,
.taxi-footer-legal-links a,
.taxi-footer-legal-links a:visited,
.taxi-footer-legal-links a:hover,
.taxi-footer-legal-links a:focus-visible {
  text-decoration: none !important;
}
.taxi-footer-menu a:hover,
.taxi-footer-legal-links a:hover { color: #fff; opacity: .8; }
.taxi-footer-contact a[href^="tel:"],
.taxi-footer-contact a[href^="mailto:"] { text-decoration: none; }
.taxi-footer-contact a:hover { text-decoration: underline; }
.taxi-footer-legal {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.taxi-footer-legal > .taxi-footer-copyright {
  flex: 0 1 auto;
  margin: 0 !important;
  text-align: left;
}
.taxi-footer-legal > .taxi-footer-legal-links {
  display: flex;
  justify-content: flex-end !important;
  gap: 1.5rem;
  flex: 1 1 auto;
  margin: 0 0 0 auto !important;
  text-align: right;
}
.taxi-footer-legal-links > p { margin: 0 !important; }
.taxi-footer-copyright { font-size: .9rem; color: rgba(255,255,255,.8); }

/* Mobile: gleiche Seitenabstände und gestapelte 2:5-Spalten. */
@media (max-width: 780px) {
  .taxi-about-columns > .wp-block-column:first-child,
  .taxi-about-columns > .wp-block-column:last-child {
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
  }
}
@media (max-width: 782px) {
  body.admin-bar .taxi-site-header,
  body.admin-bar header.wp-block-template-part:has(> .taxi-header) { top: 46px; }
}
@media (max-width: 600px) {
  .taxi-header-inner,
  .taxi-footer-inner,
  .taxi-services-container,
  .taxi-container,
  .taxi-trust-card,
  .taxi-cta-inner,
  .taxi-hero-section > .wp-block-cover__inner-container {
    width: calc(100% - 2rem);
  }
  .taxi-cta-inner .taxi-cta-intro,
  .taxi-hero-content .taxi-hero-intro { width: 100%; }
  .taxi-footer-legal { align-items: flex-start; }
  .taxi-footer-legal > .taxi-footer-legal-links {
    margin-left: 0 !important;
  }
}


/* ============================================================
   Beta 4 – gezielte Feinkorrekturen
   ============================================================ */

/* Der gesamte Über-uns-Abschnitt erhält die gleiche Cremenuance
   wie die übrigen Inhaltsbereiche (nicht nur das innere Layout). */
.taxi-about-section.wp-block-group {
  background-color: #f7f0e3 !important;
}

/* WordPress-Constrained-Layouts zentrieren einzelne Kindelemente
   standardmäßig automatisch. Beide Textgruppen behalten deshalb
   dieselbe linke Kante, auch bei umgebrochenen Titeln. */
.taxi-about-columns > .wp-block-column:last-child,
.taxi-about-copy,
.taxi-about-intro,
.taxi-cta-intro {
  text-align: left !important;
}
.taxi-about-copy,
.taxi-about-intro,
.taxi-cta-intro {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.taxi-about-intro > .taxi-eyebrow,
.taxi-about-intro > h2,
.taxi-about-intro > p:not(.taxi-eyebrow),
.taxi-cta-intro > .taxi-eyebrow,
.taxi-cta-intro > h2,
.taxi-cta-intro > p:not(.taxi-eyebrow) {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left !important;
}

/* CTA: Die Intro-Beschreibung darf keine eigene Gutenberg-Einrückung
   erhalten; Telefonnummer und Buttonzeile teilen die linke Kante. */
.taxi-cta-inner > .taxi-cta-intro,
.taxi-cta-inner > .taxi-phone,
.taxi-cta-inner > .wp-block-buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.taxi-cta-inner > .wp-block-buttons {
  justify-content: flex-start !important;
}

/* Footer-Inhaltsbreite wie Header. Diese Regel hebt insbesondere
   den früheren Sammelselektor mit width:100% für .taxi-footer-inner
   auf. Der dunkelrote Footer-Hintergrund bleibt bildschirmbreit. */
.taxi-footer > .taxi-footer-inner,
.taxi-footer .taxi-footer-inner {
  width: min(var(--taxi-width), calc(100% - 3rem)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}
.taxi-footer-inner > .taxi-footer-columns,
.taxi-footer-inner > .taxi-footer-legal {
  width: 100%;
  max-width: 100% !important;
}
@media (max-width: 600px) {
  .taxi-footer > .taxi-footer-inner,
  .taxi-footer .taxi-footer-inner {
    width: calc(100% - 2rem) !important;
  }
}

/* ============================================================
   Beta 5 – WordPress-Layout-Abstände gezielt neutralisieren
   ============================================================ */

/* Der Footer ist direkter Nachbar der Inhaltssektionen. WordPress
   setzt für direkte Kinder von .wp-site-blocks standardmäßig
   margin-block-start: 24px. Für den Footer soll kein Spalt entstehen. */
.wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
}

/* Constrained-Layout-Regeln von Gutenberg vergeben automatische
   horizontale Außenabstände. Die Über-uns-Überschrift soll an
   derselben linken Kante stehen wie Eyebrow und Beschreibung. */
.taxi-about-section .taxi-about-copy .taxi-about-intro > h2.wp-block-heading {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ============================================================
   Beta 6 – Über-uns-Überschrift: Gutenberg-Auto-Margins beheben
   ============================================================ */
/* WordPress setzt für direkte Kinder von is-layout-constrained
   margin-left/right: auto !important. Auch bereits im Website-Editor
   gespeicherte Varianten des Über-uns-Patterns sollen links starten.
   Deshalb direkt auf die Überschrift innerhalb dieser Sektion zielen,
   statt nur auf eine bestimmte (ggf. veraltete) Gruppenverschachtelung. */
.taxi-about-section h2.wp-block-heading,
.taxi-about-section .is-layout-constrained > h2.wp-block-heading {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}


/* ============================================================
   Beta 7 – CTA-Beschreibung linksbündig trotz Gutenberg-Layout
   ============================================================ */
/* Der Absatz wird in WordPress durch is-layout-constrained teilweise
   mit margin-left:auto!important zentriert. Die größere Spezifität
   dieser selektiven Regel hebt das nur im CTA-Intro auf. */
.taxi-cta-section .taxi-cta-intro p.wp-block-paragraph:not(.taxi-eyebrow),
.taxi-cta-section .taxi-cta-intro > p:not(.taxi-eyebrow),
.taxi-cta-section .is-layout-constrained > p.wp-block-paragraph:not(.taxi-eyebrow) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}


/* ============================================================
   0.4.18 – Tabler Icons (MIT), lokal aus @tabler/icons-webfont.
   Alle dekorativen Symbole verwenden nur noch Tabler-Outline.
   ============================================================ */
.taxi-symbol,
.taxi-service-icon.wp-block-image,
.taxi-trust-icon.wp-block-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--taxi-dark);
}
/* Die .ti-Klassen erzeugen ihre Glyphen bereits über tabler-icons.min.css.
   Alte Bild-Pattern aus gespeicherten WordPress-Vorlagen bleiben lesbar. */
figure.taxi-service-icon.wp-block-image img,
figure.taxi-trust-icon.wp-block-image img { display: none !important; }
figure.taxi-service-icon.wp-block-image::before,
figure.taxi-trust-icon.wp-block-image::before,
.taxi-header-call .wp-block-button__link::before,
.taxi-phone a::before {
  font-family: 'tabler-icons' !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  speak: never;
}
.taxi-service-grid > .wp-block-column:nth-child(2) figure.taxi-service-icon::before { content: "\eb6f"; }
.taxi-service-grid > .wp-block-column:nth-child(3) figure.taxi-service-icon::before { content: "\eaff"; }
.taxi-trust-grid > .wp-block-column:nth-child(1) figure.taxi-trust-icon::before { content: "\eae8"; }
.taxi-trust-grid > .wp-block-column:nth-child(2) figure.taxi-trust-icon::before { content: "\ea70"; }
.taxi-trust-grid > .wp-block-column:nth-child(3) figure.taxi-trust-icon::before { content: "\ea67"; }
.taxi-trust-grid > .wp-block-column:nth-child(4) figure.taxi-trust-icon::before { content: "\eb67"; }
figure.taxi-service-icon.wp-block-image { font-size: 3.1rem; }
figure.taxi-trust-icon.wp-block-image { font-size: 2.8rem; }
.taxi-symbol.taxi-service-icon { width: 3.25rem; height: 3.25rem; font-size: 3.1rem; margin: 0 0 1.4rem !important; }
.taxi-symbol.taxi-trust-icon { width: 3rem; height: 3rem; font-size: 2.8rem; margin: 0 0 1.4rem !important; }
/* Telefonhörer im Header und CTA ohne zusätzliche Gutenberg-HTML-Struktur. */
.taxi-header-call .wp-block-button__link,
.taxi-phone a { display: inline-flex; align-items: center; gap: .65em; }
.taxi-header-call .wp-block-button__link::before,
.taxi-phone a::before { content: "\eb09"; display: inline-block; flex: 0 0 auto; }
.taxi-header-call .wp-block-button__link::before { font-size: 1.16em; }
.taxi-phone a::before { font-size: .96em; }
/* Header-Logo an der linken Inhaltskante halten, auch wenn WordPress
   eine ältere, als "constrained" gespeicherte Header-Vorlage ausgibt.
   Die Footer-Logo-Ausrichtung wird hiervon nicht berührt. */
.taxi-header-inner > .taxi-header-brand-wrap {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
  text-align: left !important;
}
.taxi-header-brand-wrap > .wp-block-site-logo,
.taxi-header-brand-wrap > .wp-block-site-logo.aligncenter {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.taxi-header-brand-wrap > .wp-block-site-logo .custom-logo-link {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* v0.5.13 – Die Desktop-Navigation ist mittig zur gesamten Headerbreite,
   nicht lediglich mittig zwischen Logo und Telefonbutton. Gleiche äußere
   Rasterspalten gleichen unterschiedliche Breiten der Rand-Elemente aus.
   Funktioniert auch für im Site-Editor gespeicherte Header-Template-Parts. */
@media (min-width: 1201px) {
  .taxi-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1rem, 2vw, 2rem);
  }
  .taxi-header-inner > .taxi-header-brand-wrap {
    grid-column: 1;
    justify-self: start;
  }
  .taxi-header-inner > .wp-block-navigation {
    grid-column: 2;
    justify-self: center;
    margin: 0 !important;
  }
  .taxi-header-inner > .wp-block-buttons {
    grid-column: 3;
    justify-self: end;
  }
}
/* v0.5.15 – Gutenberg-Navigation auf iPads und kleineren Geräten
   einklappen. WordPress zeigt sein Overlay standardmäßig erst unter 600 px;
   die vorhandenen Open/Close-Buttons bleiben deshalb unverändert nutzbar.
   Der zweite Zweig deckt auch große iPad-Pro-Geräte im Querformat ab,
   ohne die Desktop-Navigation auf gewöhnlichen PCs einzugrenzen. */
@media screen and (max-width: 1200px),
       screen and (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .taxi-header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem;
  }
  .taxi-header-inner > .taxi-header-brand-wrap {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .taxi-header-inner > .wp-block-navigation {
    flex: 0 0 auto;
    width: auto;
    margin: 0 0 0 auto !important;
    justify-self: end;
  }
  .taxi-header-inner > .wp-block-buttons {
    display: none !important;
  }
  /* WordPress-Core setzt oberhalb von 600 px sonst wieder das Desktop-Menü.
     Nur die geschlossene Navigation verstecken: Das geöffnete Overlay
     braucht weiterhin display:flex für Fokussteuerung und Schließen. */
  .taxi-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .taxi-header .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    color: var(--taxi-ink);
  }
}
/* Beide Branding-Bereiche nutzen das globale Website-Logo aus WordPress.
   Nur wenn kein Logo gesetzt ist, bleibt der bisherige Text sichtbar. */
.taxi-header-brand-wrap:has(.wp-block-site-logo img) > .taxi-header-brand,
.taxi-footer-brand:has(.wp-block-site-logo img) > .taxi-footer-logo { display: none !important; }
.taxi-header-brand-wrap > .wp-block-site-logo,
.taxi-footer-brand > .wp-block-site-logo { margin: 0 0 .85rem 0 !important; }
.taxi-header-site-logo img,
.taxi-footer-site-logo img { display: block; width: 100%; height: auto; max-height: 5rem; object-fit: contain; }
.taxi-header-site-logo { max-width: min(12.5rem, 38vw); }
.taxi-header-brand-wrap > .taxi-header-subtitle { margin-top: .3rem !important; }
.taxi-footer-site-logo { max-width: min(13.45rem, 100%); }
.taxi-footer-site-logo .custom-logo-link { display: inline-block; padding: .55rem .75rem; background: var(--taxi-light); border-radius: .75rem; }
.taxi-footer-site-logo img { max-height: 5rem; }
@media (max-width: 600px) {
  .taxi-header-site-logo { max-width: 9.5rem; }
  .taxi-header-site-logo img { max-height: 3.5rem; }
}


/* ============================================================
   Version 0.4.5 – Accessibility: WCAG 2.2 AA orientierte Korrekturen
   ============================================================ */

/* WordPress provides the skip-link automatically when a <main> landmark exists.
   Keep it above the sticky header and visible when keyboard-focused. */
#wp-skip-link,
.skip-link.screen-reader-text:focus,
.skip-link.screen-reader-text:focus-visible {
  z-index: 100000 !important;
}
#wp-skip-link:focus,
#wp-skip-link:focus-visible {
  position: fixed !important;
  top: .75rem !important;
  left: .75rem !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 1.5rem);
  padding: .85rem 1.15rem !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  background: #fffaf1 !important;
  color: #171813 !important;
  border: 2px solid #171813 !important;
  border-radius: .4rem;
  font: 700 1rem/1.5 Inter,system-ui,sans-serif;
  text-decoration: underline !important;
  white-space: normal !important;
}

/* Two-tone focus ring remains visible on both cream and dark-red surfaces. */
:where(a,button,input,select,textarea,summary,[role="button"],[tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #171813 !important;
}
/* The surrounding button container must never clip a focused link. */
.taxi-header .wp-block-button,
.taxi-service-card .wp-block-button,
.taxi-cta-inner .wp-block-button { overflow: visible; }

/* Distinguish text links without relying on color alone, and provide a
   non-color-based hover indication (also in the dark footer). */
.taxi-footer-menu a:is(:link,:visited,:hover,:focus-visible),
.taxi-footer-legal-links a:is(:link,:visited,:hover,:focus-visible),
.taxi-footer-contact a,
.taxi-phone a,
.taxi-link-button .wp-block-button__link {
  text-decoration: underline !important;
  text-decoration-thickness: max(1px,.09em) !important;
  text-underline-offset: .2em !important;
}
.taxi-footer-menu a:hover,
.taxi-footer-legal-links a:hover,
.taxi-footer-contact a:hover,
.taxi-phone a:hover,
.taxi-link-button .wp-block-button__link:hover {
  text-decoration-thickness: .16em !important;
  opacity: 1;
}

/* The new home-page <main> must not introduce WordPress block gap or width caps.
   Internal page wrappers continue to use their established content widths. */
.wp-site-blocks > main.taxi-main,
.taxi-main > :where(.wp-block-group,.wp-block-cover) {
  margin-block-start: 0 !important;
}
.taxi-main { width: 100%; max-width: none !important; }
main { scroll-margin-top: 7rem; }

/* Headings and contact details must reflow when users enlarge text. */
:where(h1,h2,h3,h4,h5,h6,p,li,a) { overflow-wrap: break-word; }
.taxi-footer-columns h2 {
  margin: 0 0 1.4rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .95rem;
  line-height: 1.5;
}
.taxi-header-brand, .taxi-footer-logo { line-height: 1.3; }
.taxi-header-brand-wrap > p.taxi-header-brand { margin: 0 !important; }
.taxi-header .wp-block-site-logo img { max-width: min(100%, 12.5rem); height: auto; }
.taxi-footer .wp-block-site-logo img { max-width: 100%; height: auto; }
.taxi-footer-legal > .taxi-footer-copyright { white-space: normal; }

/* At compact widths (including 200–400% browser zoom), switch off the
   sticky header: it must not cover focused controls or anchor targets. */
@media (max-width: 1100px) {
  .taxi-site-header,
  header.wp-block-template-part:has(> .taxi-header),
  body.admin-bar .taxi-site-header,
  body.admin-bar header.wp-block-template-part:has(> .taxi-header) {
    position: relative;
    top: auto;
  }
  main,
  #start, #leistungen, #fahrzeuge, #ueber-uns, #kontakt { scroll-margin-top: 1rem; }
}
@media (max-width: 600px) {
  .taxi-header-inner { gap: 1rem; }
  .taxi-header-brand-wrap { min-width: 0; }
  .taxi-header-subtitle { white-space: normal; line-height: 1.5; }
  .taxi-hero-section.wp-block-cover { min-height: 0 !important; }
  .taxi-hero-content { max-width: 100% !important; }
  .taxi-hero-title { max-width: 100% !important; font-size: clamp(2.3rem, 10vw, 4.1rem); line-height: 1.2; }
  .taxi-hero-intro .taxi-hero-title { max-width: 100% !important; }
  .taxi-cta-inner h2 { max-width: 100%; font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.2; }
  .taxi-phone a { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .taxi-header-inner { gap: .5rem; }
  .taxi-header .wp-block-site-logo img { max-width: 9rem; }
  .taxi-header-subtitle { font-size: .8rem; }
  .taxi-service-card { padding: 1.25rem; }
  .taxi-trust-card { padding: 1.25rem; }
  .taxi-cta-inner { padding: 2rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (forced-colors: active) {
  :where(a,button,input,select,textarea,summary,[role="button"],[tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid Highlight !important;
    box-shadow: none !important;
  }
  .wp-block-button .wp-block-button__link { border: 2px solid ButtonText; }
}


/* ============================================================
   Version 0.4.11 – CTA mit zweigeteiltem Layout und Kontaktkarte
   Der CTA benutzt dieselbe lokale Symbolschrift wie Header und Leistungen.
   ============================================================ */

.taxi-cta-section .taxi-cta-inner {
  display: block;
  min-height: 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--taxi-red);
  color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2.75rem rgba(71,35,24,.11);
  overflow: visible;
}

.taxi-cta-section .taxi-cta-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .85fr);
  gap: clamp(2rem, 5vw, 5.5rem) !important;
  align-items: center;
  margin: 0 !important;
  width: 100%;
  max-width: none;
}
.taxi-cta-section .taxi-cta-layout > .wp-block-column {
  min-width: 0;
  flex: initial !important;
  margin: 0 !important;
}
.taxi-cta-section .taxi-cta-intro {
  max-width: 43rem !important;
  margin: 0 !important;
}
.taxi-cta-section .taxi-cta-intro > .taxi-eyebrow {
  margin: 0 0 1rem !important;
  color: #ffdfdd;
  font-size: .84rem;
  line-height: 1.5;
}
.taxi-cta-section .taxi-cta-intro > h2.wp-block-heading {
  max-width: 15ch !important;
  margin: 0 0 1.25rem !important;
  color: #fff;
  font-family: Inter,system-ui,sans-serif;
  font-size: clamp(2.15rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.025em;
}
.taxi-cta-section .taxi-cta-intro > p:not(.taxi-eyebrow) {
  max-width: 39rem !important;
  margin: 0 !important;
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}

.taxi-cta-section .taxi-cta-contact-card {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1.5rem, 2.8vw, 2.3rem);
  border-radius: 1.1rem;
  background: var(--taxi-light);
  color: var(--taxi-ink);
  box-shadow: 0 .65rem 1.7rem rgba(55,10,13,.12);
  text-align: left;
}
.taxi-cta-section .taxi-cta-contact-card > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.taxi-cta-section .taxi-cta-card-heading {
  max-width: none;
  margin: 0 0 1.25rem !important;
  color: #302522;
  font-family: Inter,system-ui,sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
}
.taxi-cta-section .taxi-cta-contact-card .taxi-phone {
  margin: 0 0 1.7rem !important;
  color: var(--taxi-dark) !important;
  font-size: clamp(1.35rem, 2vw, 1.95rem) !important;
  font-weight: 700;
  line-height: 1.4;
}
.taxi-cta-section .taxi-cta-contact-card .taxi-phone a {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .55em;
  max-width: 100%;
  color: var(--taxi-dark);
}
.taxi-cta-section .taxi-cta-contact-card .taxi-phone a:hover {
  border-bottom-width: 3px;
}
.taxi-cta-section .taxi-cta-contact-card .taxi-phone a::before {
  font-size: .9em;
}
.taxi-cta-section .taxi-cta-actions {
  display: flex;
  width: 100%;
  margin: 0 !important;
  gap: 0;
}
.taxi-cta-section .taxi-cta-call-button {
  width: 100%;
  margin: 0 !important;
}
.taxi-cta-section .taxi-cta-call-button .wp-block-button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 3.4rem;
  background: var(--taxi-dark);
  color: #fff;
  border-color: var(--taxi-dark);
  text-align: center;
}
.taxi-cta-section .taxi-cta-call-button .wp-block-button__link:hover {
  background: var(--taxi-red);
  border-color: var(--taxi-red);
}
.taxi-cta-section .taxi-cta-secondary {
  margin: 1rem 0 0 !important;
  color: var(--taxi-dark);
  font-size: .95rem;
  line-height: 1.5;
  text-align: center;
}
.taxi-cta-section .taxi-cta-secondary a,
.taxi-cta-section .taxi-cta-secondary a:visited {
  color: var(--taxi-dark);
  text-decoration: underline !important;
  text-underline-offset: .2em;
  text-decoration-thickness: 1.5px;
}
.taxi-cta-section .taxi-cta-secondary a:hover {
  text-decoration-thickness: 3px;
}

/* Die Kontaktkarte steht ab Tablet-Breite unter dem Text; keine Seiten-Scrollbars. */
@media (max-width: 950px) {
  .taxi-cta-section .taxi-cta-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem !important;
  }
  .taxi-cta-section .taxi-cta-contact-card {
    max-width: 34rem !important;
  }
}
@media (max-width: 600px) {
  .taxi-cta-section .taxi-cta-inner {
    padding: 2rem 1.35rem;
  }
  .taxi-cta-section .taxi-cta-intro > h2.wp-block-heading {
    max-width: 100% !important;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
  .taxi-cta-section .taxi-cta-contact-card {
    padding: 1.5rem;
  }
  .taxi-cta-section .taxi-cta-contact-card .taxi-phone {
    font-size: clamp(1.15rem, 5.5vw, 1.55rem) !important;
  }
}
@media (max-width: 360px) {
  .taxi-cta-section .taxi-cta-inner { padding: 1.65rem 1rem; }
  .taxi-cta-section .taxi-cta-contact-card { padding: 1.25rem 1rem; }
  .taxi-cta-section .taxi-cta-contact-card .taxi-phone a { gap: .35em; }
}
@media (forced-colors: active) {
  .taxi-cta-section .taxi-cta-inner,
  .taxi-cta-section .taxi-cta-contact-card { border: 1px solid CanvasText; }
  .taxi-cta-section .taxi-cta-contact-card .taxi-phone a {
    border-bottom-color: LinkText;
  }
}
/* Keine Unterstreichung für Telefonhörer und Abstand */
.taxi-cta-section .taxi-cta-contact-card .taxi-phone a {
  border-bottom: none;
  text-decoration: none !important;
}

/* Nur die Telefonnummer unterstreichen */
.taxi-cta-section .taxi-cta-contact-card .taxi-phone-number {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* Deutlichere Unterstreichung beim Hover */
.taxi-cta-section .taxi-cta-contact-card .taxi-phone a:hover .taxi-phone-number {
  text-decoration-thickness: 3px;
}

/* Hintergrund für reguläre WordPress-Unterseiten */
body.page:not(.home) {
  background-color: var(--taxi-cream);
}


/* ============================================================
   Version 0.4.14 – Informationsbanner direkt unter dem Hero.
   Dekorative Symbole aus Tabler Icons.
   ============================================================ */

/* Keine Gutenberg-Block-Gaps oder seitlichen Begrenzungen am Banner. */
.taxi-main > .taxi-highlights-section,
.taxi-highlights-section.wp-block-group {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
  background: var(--taxi-highlights-bg);
  color: var(--taxi-light);
}
.taxi-highlights-section .taxi-highlights-grid.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  align-items: stretch;
  width: min(var(--taxi-width), calc(100% - 3rem));
  max-width: none !important;
  padding: 1rem 0;
  margin: 0 auto !important;
}
.taxi-highlights-grid > .wp-block-column {
  display: flex;
  flex: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: .25rem 1.1rem;
  position: relative;
}
.taxi-highlights-grid > .wp-block-column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 1px;
  background: rgba(255,250,241,.24);
  pointer-events: none;
}
.taxi-highlights-grid .taxi-highlights-item.wp-block-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  text-align: center;
}
.taxi-highlights-grid .taxi-symbol.taxi-highlights-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0 !important;
  color: currentColor;
  font-size: 2rem;
  line-height: 1;
}
.taxi-highlights-grid .taxi-highlights-text {
  margin: 0 !important;
  max-width: none !important;
  color: inherit;
  font-family: Inter,system-ui,sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 780px) {
  .taxi-highlights-section .taxi-highlights-grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 2rem);
    padding: .35rem 0;
  }
  .taxi-highlights-grid > .wp-block-column {
    padding: 0;
  }
  .taxi-highlights-grid > .wp-block-column:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }
  .taxi-highlights-grid .taxi-highlights-item.wp-block-group {
    flex-direction: row;
    justify-content: flex-start;
    gap: .9rem;
    padding: .85rem 0;
    text-align: left;
  }
  .taxi-highlights-grid .taxi-symbol.taxi-highlights-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.9rem;
    flex: 0 0 2.25rem;
  }
}
@media (forced-colors: active) {
  .taxi-highlights-section.wp-block-group {
    color: CanvasText;
    background: Canvas;
    border-block: 1px solid CanvasText;
  }
  .taxi-highlights-grid > .wp-block-column:not(:last-child)::after {
    background: CanvasText;
  }
}


/* ============================================================
   Version 0.4.15 – Leistungsbereich im Kartenstil der Fahrzeuge
   Fünf statische Leistungskarten, ruhiger Hintergrund, keine Hover-Signale.
   ============================================================ */
.taxi-services-section {
  background: var(--taxi-cream) !important;
  padding: clamp(3.25rem, 5vw, 4.75rem) 0 clamp(3.5rem, 5vw, 5rem) !important;
}
.taxi-services-header {
  margin-bottom: clamp(2rem, 3.2vw, 2.8rem) !important;
}
.taxi-services-header > p:last-child {
  max-width: 46rem;
  font-size: 1.075rem;
  line-height: 1.7;
}
.taxi-service-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.7rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  width: 100%;
}
.taxi-service-grid > .taxi-service-card {
  grid-column: span 2;
}
.taxi-service-grid > .taxi-service-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.taxi-service-grid > .taxi-service-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.taxi-service-grid > .wp-block-group,
.taxi-service-card {
  min-width: 0;
  margin: 0 !important;
}
.taxi-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding: 2rem 1.6rem 2.15rem !important;
  border-radius: 1.25rem;
  border: 1px solid rgba(143,13,18,.16);
  background: var(--taxi-light);
  box-shadow: 0 .8rem 2rem rgba(71,35,24,.11);
  text-align: center;
}
.taxi-service-card:hover {
  background: var(--taxi-light) !important;
}
.taxi-service-card::after,
.taxi-service-grid > *::after {
  display: none !important;
  content: none !important;
}
.taxi-service-card .taxi-service-icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  font-size: 3.35rem;
  margin: 0 !important;
  color: var(--taxi-red);
}
.taxi-service-copy {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
}
.taxi-service-copy h3 {
  margin: 0 !important;
  font-size: clamp(1.35rem, 1.55vw, 1.8rem);
  line-height: 1.24;
  color: var(--taxi-dark);
}
.taxi-service-copy p {
  margin: 0 !important;
  color: var(--taxi-ink) !important;
  font-size: 1rem;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .taxi-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .taxi-service-grid > .taxi-service-card,
  .taxi-service-grid > .taxi-service-card:nth-child(4),
  .taxi-service-grid > .taxi-service-card:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 780px) {
  .taxi-service-grid {
    grid-template-columns: 1fr;
    gap: .9rem !important;
  }
  .taxi-service-card {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1.35rem 1.25rem !important;
  }
  .taxi-service-card .taxi-service-icon {
    width: 3rem;
    height: 3rem;
    font-size: 2.4rem;
    align-self: start;
  }
  .taxi-service-copy {
    gap: .35rem;
  }
  .taxi-service-copy h3 {
    font-size: 1.25rem;
  }
  .taxi-service-copy p {
    font-size: .98rem;
    line-height: 1.5;
  }
}
@media (max-width: 420px) {
  .taxi-services-header > p:last-child {
    font-size: 1rem;
  }
  .taxi-service-card {
    padding: 1.1rem 1rem !important;
  }
}

/* Leistungen: Abstand zwischen Icon und Titel reduzieren */
.taxi-service-card {
    gap: 0.5rem;
}

/* Zusätzliche Gutenberg-Abstände entfernen */
.taxi-service-card > .taxi-service-copy {
    margin-block-start: 0 !important;
}

/* Icon-Abmessungen beibehalten */
.taxi-service-card .taxi-service-icon {
    margin-bottom: 0 !important;
}

/* Überschrift direkt unter dem Icon */
.taxi-service-copy h3 {
    margin-top: 0 !important;
}


/* Version 0.4.19 – Klar erkennbare medizinische Hilfe und Gruppenfahrten.
   Altgespeicherte HTML-Bildsymbole aus WordPress nutzen dieselben neuen Glyphen. */
.taxi-service-grid > .wp-block-column:nth-child(1) figure.taxi-service-icon::before {
  content: "\ef5f"; /* Tabler first-aid-kit */
}
.taxi-service-grid > .wp-block-column:nth-child(4) figure.taxi-service-icon::before {
  content: "\fa21"; /* Tabler users-group */
}
/* Rettung für im Website-Editor gespeicherte statische HTML-Icons.
   Nur im Leistungsbereich – das Kleinbus-Symbol im Banner bleibt erhalten. */
.taxi-service-grid .taxi-service-card .ti-bus::before,
.taxi-service-grid .taxi-service-card .taxi-symbol--minibus::before {
  content: "\fa21" !important;
}
.taxi-service-grid .taxi-service-card .ti-medical-cross::before,
.taxi-service-grid .taxi-service-card .taxi-symbol--medical::before {
  content: "\ef5f" !important;
}


/* ============================================================
   Dekoratives Wind-/Auto-Motiv im Hero und CTA
   Wind wird horizontal gespiegelt; alle anderen Eyebrows behalten
   ihre originale Linie. Tabler Icons werden lokal geladen.
   ============================================================ */
.taxi-hero-section .taxi-eyebrow--motion,
.taxi-cta-section .taxi-eyebrow--motion {
  gap: .35rem;
  flex-wrap: wrap;
}
.taxi-hero-section .taxi-eyebrow--motion::after,
.taxi-cta-section .taxi-eyebrow--motion::after {
  content: none !important;
  display: none !important;
}
.taxi-eyebrow-motion {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: .55rem;
  white-space: nowrap;
  color: inherit;
}
.taxi-eyebrow-motion .ti {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
}
.taxi-eyebrow-motion .taxi-eyebrow-wind {
  transform: scaleX(-1);
}

/* Rückwärtskompatibilität: Bereits im Site-Editor gespeicherte
   Startseiten enthalten eventuell noch den alten Eyebrow-Block.
   Die CSS-Glyphen greifen nur in Hero/CTA und nur ohne neue Markup-Klasse. */
.taxi-hero-section .taxi-eyebrow:not(.taxi-eyebrow--motion),
.taxi-cta-section .taxi-eyebrow:not(.taxi-eyebrow--motion) {
  gap: .2rem;
  flex-wrap: nowrap;
}
.taxi-hero-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::before,
.taxi-cta-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::before {
  content: "\ec34";
  display: inline-block;
  flex: 0 0 auto;
  order: 1;
  margin-left: .65rem;
  background: none;
  color: inherit;
  font-family: "tabler-icons" !important;
  font-style: normal;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: normal;
  transform: scaleX(-1);
  speak: none;
}
.taxi-hero-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::after,
.taxi-cta-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::after {
  flex: 0 0 auto;
  order: 2;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: inherit;
  opacity: 1;
  font-family: "tabler-icons" !important;
  font-style: normal;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: normal;
  speak: none;
}

/* ============================================================
   Ein zusammenhängendes Wind-/Auto-Motiv.
   Keine Dekorationsstriche mehr an den übrigen Eyebrows.
   ============================================================ */
/* Gilt auch für im Website-Editor gespeicherte ältere Eyebrow-Blöcke. */
.taxi-eyebrow::after {
  content: none;
  display: none;
}

/* Zusammenhängendes, statisches Motiv: Wind 0,2rem vom Auto entfernt. */
.taxi-eyebrow-motion {
  gap: 0;
}
.taxi-eyebrow-motion .taxi-eyebrow-wind {
  margin-right: -.2rem;
}

/* Dasselbe Motiv in bereits gespeicherten älteren Hero-/CTA-Vorlagen:
   dort werden die Icons über ::before und ::after erzeugt. */
.taxi-hero-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::after,
.taxi-cta-section .taxi-eyebrow:not(.taxi-eyebrow--motion)::after {
  display: inline-block;
  content: "\ebbb";
  margin-left: -.2rem;
}


/* ============================================================
   Fahrzeug-, Vertrauens- und Footer-Kompatibilität
   ============================================================ */

/* Gleicher Schatten, Rahmen und Radius wie die statischen Leistungskarten. */
.taxi-vehicles-section .taxi-vehicle-card {
  border: 1px solid rgba(143, 13, 18, .16);
  border-radius: 1.25rem;
  background: var(--taxi-light);
  box-shadow: 0 .8rem 2rem rgba(71, 35, 24, .11) !important;
}

/* Der Vorteile-Bereich erhält denselben äußeren Creme-Hintergrund und
   dieselben eigenständigen Infokarten wie „Unsere Leistungen“. */
.taxi-trust-section {
  background: var(--taxi-cream) !important;
  padding: clamp(3.25rem, 5vw, 4.75rem) 0 clamp(3.5rem, 5vw, 5rem) !important;
}
.taxi-trust-section > .taxi-trust-card,
.taxi-trust-section .taxi-trust-card {
  width: min(var(--taxi-width), calc(100% - 3rem)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.taxi-trust-card > .taxi-section-intro {
  margin-bottom: clamp(2rem, 3.2vw, 2.8rem) !important;
}
.taxi-trust-card > .taxi-section-intro > p:last-child {
  max-width: 46rem;
  font-size: 1.075rem;
  line-height: 1.7;
}
.taxi-trust-section .taxi-trust-grid.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem !important;
  width: 100%;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.taxi-trust-grid > .wp-block-column {
  display: flex !important;
  min-width: 0;
  min-height: 100%;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  flex-basis: auto !important;
}
/* Falls eine alte Startseiten-Vorlage noch vier Karten enthält:
   „Gut erreichbar“ ausblenden, die drei übrigen Karten beibehalten. */
.taxi-trust-grid:not(.taxi-trust-grid--three) > .wp-block-column:nth-child(2) {
  display: none !important;
}
.taxi-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  min-height: 100%;
  padding: 2rem 1.6rem 2.15rem !important;
  margin: 0 !important;
  border: 1px solid rgba(143, 13, 18, .16);
  border-radius: 1.25rem;
  background: var(--taxi-light);
  box-shadow: 0 .8rem 2rem rgba(71, 35, 24, .11);
  text-align: center;
}
.taxi-trust-item > * {
  margin-block-start: 0 !important;
}
.taxi-trust-item .taxi-trust-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 3.35rem;
  margin: 0 !important;
  color: var(--taxi-red);
}
.taxi-trust-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  width: 100%;
  margin: 0 !important;
}
.taxi-trust-copy > * {
  margin: 0 !important;
}
.taxi-trust-item h3 {
  margin: 0 !important;
  font-size: clamp(1.35rem, 1.55vw, 1.8rem);
  line-height: 1.24;
  color: var(--taxi-dark);
  text-align: inherit;
}
.taxi-trust-item p {
  margin: 0 !important;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--taxi-ink) !important;
  text-align: inherit;
}

/* „Mehr über uns“ auch aus älteren, im Site-Editor gespeicherten
   Versionen des Über-uns-Patterns entfernen. */
.taxi-about-section .taxi-about-copy > .wp-block-buttons {
  display: none !important;
}

/* Einheitliche Gesamtbreite: obere Footer-Spalten und rechtliche Zeile
   teilen sich exakt denselben Inhaltscontainer. Kein WordPress-Flex-Gap,
   das die letzte Navigationsspalte nach links verschiebt. */
.taxi-footer-inner > .taxi-footer-columns.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem) !important;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
}
.taxi-footer-columns > .wp-block-column {
  min-width: 0;
  flex-basis: auto !important;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
}
/* Logo links, Kontakt mittig im verfügbaren Drittel, Navigation rechts. */
.taxi-footer-columns > .wp-block-column:nth-child(2) {
  display: flex;
  justify-content: center;
}
.taxi-footer-columns > .wp-block-column:nth-child(3) {
  display: flex;
  justify-content: flex-end;
}
.taxi-footer-columns .taxi-footer-contact,
.taxi-footer-columns .taxi-footer-menu {
  margin: 0 !important;
  max-width: 100%;
  width: max-content;
  min-width: 0;
}
.taxi-footer-columns .taxi-footer-menu,
.taxi-footer-columns .taxi-footer-menu > :is(h2,p) {
  text-align: right !important;
}
.taxi-footer-columns .taxi-footer-menu > :is(h2,p),
.taxi-footer-columns .taxi-footer-contact > :is(h2,p) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.taxi-footer-inner > .taxi-footer-legal {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1100px) {
  .taxi-trust-section .taxi-trust-grid.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .taxi-trust-grid > .wp-block-column:last-child {
    grid-column: 1 / -1;
  }
  .taxi-footer-inner > .taxi-footer-columns.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .taxi-footer-columns > .wp-block-column:nth-child(2) {
    justify-content: flex-end;
  }
  .taxi-footer-columns > .wp-block-column:nth-child(3) {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .taxi-footer-columns .taxi-footer-menu,
  .taxi-footer-columns .taxi-footer-menu > :is(h2,p) {
    text-align: left !important;
  }
}
@media (max-width: 780px) {
  .taxi-trust-section .taxi-trust-grid.wp-block-columns {
    grid-template-columns: 1fr;
    gap: .9rem !important;
  }
  .taxi-trust-grid > .wp-block-column:last-child {
    grid-column: auto;
  }
  .taxi-trust-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: start;
    column-gap: 1rem;
    row-gap: .35rem;
    padding: 1.35rem 1.25rem !important;
    text-align: left;
  }
  .taxi-trust-item .taxi-trust-icon {
    width: 3rem;
    height: 3rem;
    font-size: 2.4rem;
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .taxi-trust-copy {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    gap: .35rem;
  }
  /* Ältere gespeicherte Trust-Blöcke ohne .taxi-trust-copy. */
  .taxi-trust-item > h3,
  .taxi-trust-item > p {
    grid-column: 2;
    text-align: left;
  }
  .taxi-trust-item h3 { font-size: 1.25rem; }
  .taxi-trust-item p { font-size: .98rem; line-height: 1.5; }
  /* Mobile Footer: Branding, Kontakt und Navigation gestapelt und mittig. */
  .taxi-footer-inner > .taxi-footer-columns.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem !important;
  }
  .taxi-footer-columns > .wp-block-column:nth-child(2),
  .taxi-footer-columns > .wp-block-column:nth-child(3) {
    grid-column: auto;
    justify-content: center;
  }
  .taxi-footer-columns .taxi-footer-contact,
  .taxi-footer-columns .taxi-footer-menu {
    width: 100%;
    max-width: 100%;
    text-align: center !important;
  }
  .taxi-footer-columns .taxi-footer-contact > :is(h2,p),
  .taxi-footer-columns .taxi-footer-menu > :is(h2,p) {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .taxi-footer-columns .taxi-footer-menu,
  .taxi-footer-columns .taxi-footer-menu > :is(h2,p) {
    text-align: center !important;
  }
  .taxi-footer-columns > .wp-block-column:first-child {
    display: flex;
    justify-content: center;
  }
  .taxi-footer-columns .taxi-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-inline: auto !important;
    text-align: center !important;
  }
  .taxi-footer-columns .taxi-footer-brand > :is(.wp-block-site-logo, .taxi-footer-logo, p) {
    margin-inline: auto !important;
    text-align: center !important;
  }
}
@media (max-width: 600px) {
  .taxi-trust-section > .taxi-trust-card,
  .taxi-trust-section .taxi-trust-card {
    width: calc(100% - 2rem) !important;
  }
  .taxi-footer-inner > .taxi-footer-columns.wp-block-columns {
    grid-template-columns: 1fr;
    gap: 2rem !important;
  }
  .taxi-footer-columns > .wp-block-column:nth-child(2),
  .taxi-footer-columns > .wp-block-column:nth-child(3) {
    grid-column: auto;
    justify-content: center;
  }
  .taxi-footer-columns .taxi-footer-contact,
  .taxi-footer-columns .taxi-footer-menu {
    width: 100%;
    text-align: center !important;
  }
  .taxi-footer-columns .taxi-footer-menu,
  .taxi-footer-columns .taxi-footer-menu > :is(h2,p),
  .taxi-footer-columns .taxi-footer-contact > :is(h2,p) {
    text-align: center !important;
  }
}
@media (max-width: 420px) {
  .taxi-trust-item { padding: 1.1rem 1rem !important; }
  .taxi-trust-card > .taxi-section-intro > p:last-child { font-size: 1rem; }
}


/* ============================================================
   Version 0.4.23 – kompaktere Sektionen und mobile Zugänglichkeit
   ============================================================ */
/* Keine zusätzlichen Block-Abstände zwischen den Hauptabschnitten. */
.taxi-main > :is(.taxi-hero-section, .taxi-highlights-section,
  .taxi-services-section, .taxi-vehicles-section, .taxi-trust-section,
  .taxi-about-section, .taxi-cta-section) {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
/* Bewusst abgestufte Abstände: Der rote Leistungsbanner bleibt bündig
   am Hero. Bei den übrigen Sektionen entstehen ca. 3–4rem Freiraum. */
.taxi-services-section { padding-block: 3rem 1.25rem !important; }

/* Über uns: Text links (5 Teile), Bild rechts (2 Teile).
   Gleiche Kartenkontur wie Leistungen / Fahrzeuge.
   :has() hält die Reihenfolge auch für ältere gespeicherte WordPress-
   Vorlagen mit Bild zuerst korrekt, ohne Inhalt zu duplizieren. */
.taxi-about-section .taxi-about-columns.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem) !important;
  max-width: var(--taxi-width) !important;
  margin-inline: auto !important;
}
.taxi-about-section .taxi-about-columns > .wp-block-column {
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  flex: none !important;
  flex-basis: auto !important;
}
.taxi-about-section .taxi-about-columns > :is(.taxi-about-text-column, .wp-block-column:has(.taxi-about-copy)) {
  order: 0;
}
.taxi-about-section .taxi-about-columns > :is(.taxi-about-image-column, .wp-block-column:has(figure.wp-block-image)) {
  order: 1;
}
.taxi-about-section .taxi-about-columns .wp-block-image {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(143, 13, 18, .16);
  border-radius: 1.25rem;
  background: var(--taxi-light);
  box-shadow: 0 .8rem 2rem rgba(71, 35, 24, .11);
}
.taxi-about-section .taxi-about-columns .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Gutenberg-Navigations-Overlay: dieselbe barrierearme Darstellung
   auf Smartphones UND iPads (einschließlich iPad Pro quer). */
@media screen and (max-width: 1200px),
       screen and (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open {
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    background: var(--taxi-light) !important;
    color: var(--taxi-ink) !important;
    padding: clamp(1rem, 4vw, 1.75rem) !important;
    overflow-y: auto;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%;
    min-height: 100%;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: max(26rem, calc(100dvh - 2rem));
    width: 100%;
    padding-top: 3.5rem !important;
    gap: 0 !important;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .55rem !important;
    width: min(100%, 24rem);
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 3.5rem;
    padding: .85rem 1.5rem !important;
    font-size: 1.25rem !important;
    line-height: 1.4;
    white-space: normal !important;
    text-align: center !important;
    border-radius: .65rem;
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    background: rgba(176, 18, 23, .08);
  }
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none !important;
  }
  .taxi-header .wp-block-navigation__responsive-container-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    padding: .6rem;
    top: 1rem;
    right: 1rem;
    color: var(--taxi-dark);
  }
}

@media (max-width: 780px) {
  /* Keine Fotomotive oder Gradienten auf kleinen Displays:
     Straßencreme sorgt für gute Lesbarkeit im mobilen Hero. */
  .taxi-hero-section.wp-block-cover {
    min-height: 0 !important;
    background: var(--wp--preset--color--road-cream, #ede8d2) !important;
    background-image: none !important;
    align-items: center !important;
  }
  .taxi-hero-section > .wp-block-cover__image-background,
  .taxi-hero-section > video.wp-block-cover__video-background {
    display: none !important;
  }
  .taxi-hero-section::before {
    display: none !important;
    content: none !important;
    background: none !important;
  }
  .taxi-hero-section > .wp-block-cover__background {
    opacity: 0 !important;
  }
  .taxi-hero-section .taxi-hero-content {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0 !important;
  }
  .taxi-about-section .taxi-about-columns.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem !important;
  }
  .taxi-services-section { padding-block: 2.5rem 1rem !important; }
  .taxi-vehicles-section,
  .taxi-trust-section,
  .taxi-about-section { padding-block: 1.75rem 1rem !important; }
  .taxi-about-section { padding-inline: 1.5rem !important; }
}

@media (max-width: 600px) {
  .taxi-about-section { padding-inline: 1rem !important; }
  .taxi-hero-section .taxi-hero-title {
    font-size: clamp(2.25rem, 9.5vw, 3.5rem) !important;
    line-height: 1.2;
  }
  /* Rechtliche Links stehen gemeinsam ÜBER dem Copyright,
     beide Zeilen sind mittig ausgerichtet. Desktop bleibt unverändert. */
  .taxi-footer-inner > .taxi-footer-legal {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  .taxi-footer-legal > .taxi-footer-legal-links {
    order: -1;
    display: flex !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 auto !important;
    gap: .75rem 1.75rem !important;
    text-align: center !important;
  }
  .taxi-footer-legal > .taxi-footer-legal-links > p,
  .taxi-footer-legal > .taxi-footer-copyright {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .taxi-footer-legal > .taxi-footer-copyright {
    order: 1;
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .taxi-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 1.15rem !important;
  }
}


/* ============================================================
   Version 0.4.24 – Kartenschatten vollständig sichtbar
   Ein Teil der Schatten wurde am Übergang zur nächsten Sektion von
   deren deckendem Hintergrund übermalt. Deshalb erhalten die Karten
   unten mehr Platz; derselbe Platz wird oben in der Folgesektion
   eingespart. Die sichtbaren Abstände bleiben weitgehend erhalten.
   ============================================================ */
@media (min-width: 781px) {
  .taxi-services-section {
    padding-bottom: 2.75rem !important;
  }
}
@media (max-width: 780px) {
  .taxi-services-section {
    padding-bottom: 2.5rem !important;
  }
  .taxi-trust-section,
  .taxi-about-section {
    padding-top: .25rem !important;
    padding-bottom: 2.5rem !important;
  }
}


/* ============================================================
   Version 0.4.25 – Zweifarbiger Footer mit schräger Trennkante
   Referenz: linkes Rot #c02223 und vorhandener rechter Farbverlauf.
   Die schräge Kante bildet 60 Grad mit der Horizontalen bzw.
   30 Grad mit der Vertikalen (skewX(-30deg)).
   Die Farbfläche liegt als rein dekoratives Element HINTER den
   Gutenberg-Blocks; Links und Tastaturfokus bleiben zugänglich.
   ============================================================ */
.taxi-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Die rechte Hälfte nutzt weiterhin den bisherigen dunklen Verlauf. */
  background: linear-gradient(120deg, #850c10, #51080c) !important;
}
.taxi-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 47.3%;
  background: #c02223;
  transform: skewX(-30deg);
  transform-origin: top right;
  pointer-events: none;
}
/* Header, Kontakte, Navigation und Copyright stets über dem Dekor. */
.taxi-footer > .taxi-footer-inner {
  position: relative;
  z-index: 1;
}
/* Auf Smartphones beginnt der Footer vollständig im helleren Rot,
   die Diagonale läuft mit demselben Winkel zum dunklen unteren Teil. */
@media (max-width: 600px) {
  .taxi-footer::before {
    width: 100%;
  }
}


/* ============================================================
   Version 0.4.26 – Hero mit schräger Cremefläche wie im Footer

   Die obere rechte Ecke der Cremefläche liegt bei 56% der Hero-
   Breite. skewX(-30deg) erzeugt die identische 60°-Kante zur
   Horizontalen wie im Footer. Die Fläche bleibt per CSS rein
   dekorativ, das Foto im Cover-Block bleibt editierbar.
   ============================================================ */
@media (min-width: 981px) {
  .taxi-hero-section.wp-block-cover {
    --taxi-hero-cream-extra-width: 56%;
    position: relative;
    isolation: isolate;
    background: #ede8d2;
  }
}

/* Auf iPad-/Tablet-Breiten darf die cremefarbene Fläche weiter in das
   Hero hineinragen, damit Fließtext und Buttons vollständig auf dem
   hellen Hintergrund liegen. */
@media (min-width: 981px) and (max-width: 1180px) {
  .taxi-hero-section.wp-block-cover {
    --taxi-hero-cream-extra-width: 72%;
  }
}

@media (min-width: 981px) {

  /* Die stark nach links verlängerte Fläche verhindert, dass
     die Transformation am unteren linken Rand eine Lücke öffnet. */
  .taxi-hero-section.wp-block-cover::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0 auto 0 -100vw;
    width: calc(100vw + var(--taxi-hero-cream-extra-width));
    height: 100%;
    background: #ede8d2 !important;
    transform: skewX(-30deg);
    transform-origin: top right;
    z-index: 0;
    pointer-events: none;
  }

  /* Version 0.4.27: Keine zusätzliche Aufhellung am rechten
     Bildrand mehr, damit das Hero-Foto klarer wirkt. */
  .taxi-hero-section.wp-block-cover::after {
    display: none !important;
    content: none !important;
  }
  .taxi-hero-section.wp-block-cover > .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
  }
}

/* Bei Tabletbreiten und auf Smartphones bleibt die gut lesbare
   Variante ohne Foto erhalten. Dies verhindert, dass die Diagonale
   bei kleinen Viewports die Überschrift oder Schaltflächen kreuzt. */
@media (max-width: 980px) {
  .taxi-hero-section.wp-block-cover {
    min-height: 0 !important;
    background: var(--wp--preset--color--road-cream, #ede8d2) !important;
    background-image: none !important;
  }
  .taxi-hero-section.wp-block-cover > .wp-block-cover__image-background,
  .taxi-hero-section.wp-block-cover > video.wp-block-cover__video-background {
    display: none !important;
  }
  .taxi-hero-section.wp-block-cover::before,
  .taxi-hero-section.wp-block-cover::after {
    display: none !important;
    content: none !important;
  }
}


/* Gemeinsame Straßenfarben für Leistungen und Vertrauen/Über uns. */
:root {
  --taxi-road-bg: var(--wp--preset--color--asphalt, #555555);
  --taxi-road-cream: var(--wp--preset--color--road-cream, #ede8d2);
  --taxi-road-heading: var(--wp--preset--color--road-heading, #f7f0e3);
  --taxi-road-body: var(--wp--preset--color--road-body, #ffffff);
  --taxi-road-tab: var(--wp--preset--color--road-tab, #ede8d2);
  --taxi-road-tab-text: var(--wp--preset--color--road-tab-text, #c02223);
  --taxi-road-subheading: var(--wp--preset--color--road-subheading, #f7f0e3);
  /* Variantenabhängige Akzente – Asphalt entspricht der Referenzgrafik,
     Hellgraublau behält die Farben der bisherigen hellen Version. */
  --taxi-hero-heading: var(--wp--preset--color--hero-heading, #c02223);
  --taxi-section-heading: var(--wp--preset--color--section-heading, #c02223);
  --taxi-header-call-bg: var(--wp--preset--color--header-call, #c02223);
  --taxi-highlights-bg: var(--wp--preset--color--highlights-bg, #c02223);
  --taxi-road-card-icon: var(--wp--preset--color--road-card-icon, #c02223);
  --taxi-road-card-heading: var(--wp--preset--color--road-card-heading, #c02223);
}

/* ============================================================
   Aktuelles Design – Leistungen als Straße
   - Asphaltgrau, helle Beschriftung, cremefarbene statische Karten
   - Eyebrow-TEXT beginnt exakt mit dem linken Rand der Überschrift;
     nur die cremefarbene Fläche ragt links 1.25rem darüber hinaus.
   - Desktop: drei Karten in Reihe 1, zwei zentrierte Karten in Reihe 2.
   - Beide Reihen stehen ohne dekorative Fahrbahnmarkierung direkt
     untereinander; bereits gespeicherte Gutenberg-Karten bleiben kompatibel.
   ============================================================ */
.taxi-services-section.wp-block-group {
  position: relative;
  isolation: isolate;
  background: var(--taxi-road-bg) !important;
  color: var(--taxi-road-body);
  padding-block: clamp(3.5rem, 5vw, 4.75rem) clamp(3.75rem, 5.5vw, 5.5rem) !important;
}
.taxi-services-section .taxi-services-container {
  overflow: visible;
}
.taxi-services-section .taxi-services-header {
  margin: 0 0 clamp(2.25rem, 3.5vw, 3rem) !important;
  text-align: left !important;
}
.taxi-services-section .taxi-services-header > .taxi-eyebrow,
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow,
.taxi-trust-about-section .taxi-trust-about-intro > .taxi-eyebrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  width: max-content !important;
  max-width: calc(100% + 3rem) !important;
  margin: 0 0 .85rem -3rem !important;
  padding: .48rem 2.3rem .48rem 3rem !important;
  background: var(--taxi-road-tab) !important;
  color: var(--taxi-road-tab-text) !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.15rem) 100%, 0 100%);
  font-size: clamp(.8rem, 1vw, .92rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .015em;
  text-align: left !important;
}
.taxi-services-section .taxi-services-header > .taxi-eyebrow::before,
.taxi-services-section .taxi-services-header > .taxi-eyebrow::after,
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow::before,
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow::after,
.taxi-trust-about-section .taxi-trust-about-intro > .taxi-eyebrow::before,
.taxi-trust-about-section .taxi-trust-about-intro > .taxi-eyebrow::after {
  display: none !important;
  content: none !important;
}
/* Nur Fahrzeuge nutzen den roten Reiter. Der Reiter von Vertrauen/Über uns
   verwendet ab 0.4.44 die creme-rote Variante von „Unsere Leistungen“. */
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow {
  background: #c02223 !important;
  color: #fffaf1 !important;
}
.taxi-services-section .taxi-services-header > h2 {
  color: var(--taxi-road-heading) !important;
  text-align: left !important;
  margin: 0 0 1.25rem !important;
}
.taxi-services-section .taxi-services-header > p:last-child {
  color: var(--taxi-road-body) !important;
  max-width: 54rem;
  margin: 0 !important;
  font-size: 1.075rem;
  line-height: 1.6;
  text-align: left !important;
}
/* Fünf Gutenberg-Gruppen: einheitlicher Spalten- und Reihenabstand. */
.taxi-services-section .taxi-service-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(max-content, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem) !important;
  align-items: stretch;
  width: 100%;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.taxi-services-section .taxi-service-grid > .taxi-service-card {
  grid-column: span 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 13.75rem;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1.35rem, 2.4vw, 2rem) clamp(1rem, 1.9vw, 1.8rem) !important;
  border: 0 !important;
  border-radius: 1.5rem;
  background: var(--taxi-road-cream) !important;
  box-shadow: 0 .85rem 1.6rem rgba(0,0,0,.23) !important;
  flex-direction: column;
  justify-content: center;
  gap: .35rem !important;
  text-align: center;
  transition: none !important;
  cursor: default;
}
.taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(4) {
  grid-row: 2;
  grid-column: 2 / span 2;
}
.taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(5) {
  grid-row: 2;
  grid-column: 4 / span 2;
}
.taxi-services-section .taxi-service-grid > .taxi-service-card:hover {
  background: var(--taxi-road-cream) !important;
  box-shadow: 0 .85rem 1.6rem rgba(0,0,0,.23) !important;
  transform: none !important;
}
.taxi-services-section .taxi-service-card .taxi-service-icon {
  color: var(--taxi-road-card-icon);
  font-size: 2.8rem;
  width: 3rem;
  height: 3rem;
  margin: 0 !important;
}
.taxi-services-section .taxi-service-card .taxi-service-copy {
  width: 100%;
  gap: .55rem;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.taxi-services-section .taxi-service-card .taxi-service-copy h3 {
  color: var(--taxi-road-card-heading) !important;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  line-height: 1.25;
  margin: 0 !important;
  text-align: center;
}
.taxi-services-section .taxi-service-card .taxi-service-copy p {
  color: #171813 !important;
  font-size: 1rem;
  line-height: 1.52;
  text-align: center;
  margin: 0 !important;
}
/* iPad/Tablet: 2 + 2 + 1 gleich breite Karten mit identischem Reihen-
   und Spaltenabstand. Die letzte Karte sitzt exakt mittig in Reihe 3.
   Auch das große iPad Pro im Querformat verwendet dieses Raster. */
@media (min-width: 781px) and (max-width: 1200px),
       (min-width: 1201px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .taxi-services-section .taxi-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(max-content, 1fr)) !important;
    gap: 1.25rem !important;
  }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(4) { grid-column: 3 / span 2; grid-row: 2; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(5) { grid-column: 2 / span 2; grid-row: 3; }
}
/* Smartphone / starke Vergrößerung: Alle fünf Karten mit gleichem Abstand. */
@media (max-width: 780px) {
  .taxi-services-section.wp-block-group {
    padding-block: 2.75rem 3.5rem !important;
  }
  .taxi-services-section .taxi-service-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(5, minmax(max-content, 1fr));
    gap: .9rem 0 !important;
  }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(3) { grid-column: 1; grid-row: 3; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(4) { grid-column: 1; grid-row: 4; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card:nth-child(5) { grid-column: 1; grid-row: 5; }
  .taxi-services-section .taxi-service-grid > .taxi-service-card {
    min-height: 10rem;
    display: grid;
    column-gap: .9rem !important;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    text-align: left;
    padding: 1.25rem 1.15rem !important;
  }
  .taxi-services-section .taxi-service-card .taxi-service-icon {
    font-size: 2.45rem;
    width: 3rem;
    height: 3rem;
    align-self: center;
  }
  .taxi-services-section .taxi-service-card .taxi-service-copy {
    align-items: flex-start;
    gap: .45rem;
  }
  .taxi-services-section .taxi-service-card .taxi-service-copy h3,
  .taxi-services-section .taxi-service-card .taxi-service-copy p {
    text-align: left;
  }
}
@media (max-width: 600px) {
  /* Auf sehr schmalen Ansichten soll der Buchreiter nicht aus dem
     Viewport ragen, obwohl sein Text bündig zur Überschrift bleibt. */
  .taxi-services-section .taxi-services-header > .taxi-eyebrow,
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow,
.taxi-trust-about-section .taxi-trust-about-intro > .taxi-eyebrow {
    margin-left: -.75rem !important;
    padding-left: .75rem !important;
    max-width: calc(100% + .75rem) !important;
  }
}
@media (max-width: 360px) {
  .taxi-services-section .taxi-service-grid > .taxi-service-card {
    padding: 1.1rem .95rem !important;
    column-gap: .7rem !important;
  }
  .taxi-services-section .taxi-service-card .taxi-service-copy h3 { font-size: 1.15rem; }
  .taxi-services-section .taxi-services-header > .taxi-eyebrow,
.taxi-vehicles-section .taxi-section-intro > .taxi-eyebrow,
.taxi-trust-about-section .taxi-trust-about-intro > .taxi-eyebrow { font-size: .79rem; }
}
@media (forced-colors: active) {
  .taxi-services-section .taxi-service-grid > .taxi-service-card {
    border: 1px solid CanvasText !important;
  }
}


/* ============================================================
   Version 0.4.29 – Leistungen feinjustiert
   - Einheitliche vertikale Ausrichtung von Icon, Titel und Text
   ============================================================ */
.taxi-services-section .taxi-service-grid > .taxi-service-card {
  display: grid !important;
  grid-template-rows: 3rem minmax(6.9rem, auto) !important;
  align-items: start !important;
  justify-items: center !important;
  row-gap: .6rem !important;
}

.taxi-services-section .taxi-service-card .taxi-service-icon {
  grid-row: 1;
  align-self: start !important;
  justify-self: center !important;
}

.taxi-services-section .taxi-service-card > .taxi-service-copy {
  grid-row: 2;
  width: 100%;
  height: 100%;
  display: grid !important;
  grid-template-rows: minmax(4.05rem, auto) 1fr !important;
  align-content: start !important;
  align-items: start !important;
  justify-items: stretch !important;
  row-gap: .6rem !important;
}

.taxi-services-section .taxi-service-card .taxi-service-copy h3,
.taxi-services-section .taxi-service-card .taxi-service-copy p {
  width: 100%;
}

.taxi-services-section .taxi-service-card .taxi-service-copy h3 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.taxi-services-section .taxi-service-card .taxi-service-copy p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 780px) {
  .taxi-services-section .taxi-service-grid > .taxi-service-card {
    grid-template-rows: none !important;
    grid-template-columns: 3rem minmax(0, 1fr) !important;
    row-gap: 0 !important;
  }

  .taxi-services-section .taxi-service-card > .taxi-service-copy {
    grid-row: auto;
    grid-column: 2;
    height: auto;
    grid-template-rows: minmax(2.9rem, auto) 1fr !important;
  }

  .taxi-services-section .taxi-service-card .taxi-service-copy h3,
  .taxi-services-section .taxi-service-card .taxi-service-copy p {
    justify-content: flex-start;
  }
}

/* ============================================================
   Abschnittsabstände, Fahrzeugfarbe
   und größere Hauptnavigation.
   - 20px Innenabstand oben/unten für übrige Inhaltssektionen;
     Fahrzeugbereich und CTA haben eigene symmetrische Abstände
   - Hero und direkt anschließender roter Infobanner bleiben bündig
   - Die gestaffelte Schichtung hält Kartenschatten am Übergang sichtbar
   ============================================================ */
.taxi-main > :is(
  .taxi-services-section.wp-block-group,
  .taxi-trust-section.wp-block-group,
  .taxi-about-section.wp-block-group
) {
  padding-block: 20px !important;
  margin-block: 0 !important;
  position: relative;
  overflow: visible;
}

/* Desktop-Abstände: Wirksame Einstellungen direkt am späteren,
   spezifischeren Startseiten-Layout statt des alten Doppel-Overrides.
   Trust- und Über-uns-Bereich: 2.75rem unten + .75rem oben. */
@media (min-width: 781px) {
  .taxi-main > .taxi-services-section.wp-block-group {
    padding-bottom: 2.75rem !important;
  }
  .taxi-main > :is(
    .taxi-trust-section.wp-block-group,
    .taxi-about-section.wp-block-group
  ) {
    padding-top: .75rem !important;
    padding-bottom: 2.75rem !important;
  }
}

/* Die dunkelgraue Straße und der Schatten am unteren Kartenrand
   sollen über angrenzenden Hintergrundflächen sichtbar bleiben. */
.taxi-main > .taxi-services-section.wp-block-group { z-index: 5; }
.taxi-main > .taxi-vehicles-section.wp-block-group { z-index: 4; }
.taxi-main > .taxi-trust-section.wp-block-group { z-index: 3; }
.taxi-main > .taxi-about-section.wp-block-group { z-index: 2; }
.taxi-main > .taxi-cta-section.wp-block-group { z-index: 1; }


/* Mehr Lesbarkeit in der Desktop-Hauptnavigation; das mobile
   Gutenberg-Overlay wird durch diese Regel nicht beeinflusst. */
@media (min-width: 781px) {
  .taxi-header .wp-block-navigation a.wp-block-navigation-item__content {
    font-size: 1.125rem !important; /* 18px bei Standard-Schriftgröße */
    line-height: 1.4;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
}


/* ============================================================
   Vertrauen und Über uns: gemeinsamer Straßenlook
   Originaltexte und lokal gespeichertes Fuhrparkfoto bleiben erhalten.
   ============================================================ */
:root {
  --taxi-bluegray: var(--wp--preset--color--bluegray, #f1f2f2);
}

/* Die alte zweiteilige FSE-Vorlage kann noch in WordPress gespeichert sein:
   wenigstens der gemeinsame Farbton bleibt dort erhalten. Für das neue
   zweispaltige Layout die Startseitenvorlage/Pattern aktualisieren. */
.taxi-main > .taxi-trust-section,
.taxi-main > .taxi-about-section,
.taxi-trust-section.wp-block-group,
.taxi-about-section.wp-block-group {
  background: var(--taxi-bluegray) !important;
}

.taxi-main > .taxi-trust-about-section.wp-block-group,
.taxi-trust-about-section.wp-block-group {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(3.25rem, 5.5vw, 5.5rem) 0 clamp(3.75rem, 5.5vw, 5.5rem) !important;
  background: var(--taxi-road-bg) !important;
  color: var(--taxi-road-body);
  overflow: visible;
}
.taxi-trust-about-section .taxi-trust-about-inner {
  width: min(var(--taxi-width), calc(100% - 3rem));
  max-width: none !important;
  margin-inline: auto !important;
}
.taxi-trust-about-section .taxi-trust-about-inner > *,
.taxi-trust-about-section .taxi-trust-about-intro > *,
.taxi-trust-about-section .taxi-trust-about-grid > *,
.taxi-trust-about-section .taxi-trust-about-benefits > *,
.taxi-trust-about-section .taxi-trust-about-benefit > *,
.taxi-trust-about-section .taxi-trust-about-benefit-copy > *,
.taxi-trust-about-section .taxi-trust-about-story > *,
.taxi-trust-about-section .taxi-trust-about-story-copy > * {
  margin-block-start: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-intro {
  margin: 0 0 clamp(1.6rem, 3vw, 2.5rem) !important;
}
/* Der zweite Eyebrow unter dem Bild bleibt schlicht, wird auf dem
   dunklen Hintergrund aber ebenfalls hell dargestellt. */
.taxi-trust-about-section .taxi-trust-about-story-copy > .taxi-eyebrow {
  width: auto;
  display: block !important;
  margin: 0 0 .55rem !important;
  color: var(--taxi-road-subheading) !important;
}
.taxi-trust-about-section .taxi-eyebrow::before,
.taxi-trust-about-section .taxi-eyebrow::after {
  display: none !important;
  content: none !important;
}
.taxi-trust-about-section h2 {
  font-family: Merienda, cursive;
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--taxi-road-heading) !important;
  margin: 0 0 1.15rem !important;
}
.taxi-trust-about-section .taxi-trust-about-intro > p:last-child,
.taxi-trust-about-section .taxi-trust-about-story-copy > p:last-child {
  max-width: 59rem;
  line-height: 1.65;
  color: var(--taxi-road-body) !important;
  font-size: 1.05rem;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  gap: clamp(1.25rem, 2.4vw, 2.5rem) !important;
  align-items: stretch;
  max-width: none !important;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-benefits {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.6vw, 1.3rem) !important;
  min-width: 0;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem !important;
  min-width: 0;
  min-height: 10rem;
  padding: 1.35rem 1.5rem !important;
  background: var(--taxi-road-cream);
  border: 1px solid rgba(143,13,18,.14);
  border-radius: 1.25rem;
  box-shadow: 0 .8rem 2rem rgba(0,0,0,.23);
  text-align: center;
}
.taxi-trust-about-section .taxi-trust-about-icon {
  width: 2.8rem;
  height: 2.8rem;
  line-height: 1;
  font-size: 2.7rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  color: var(--taxi-road-card-icon);
}
.taxi-trust-about-section .taxi-trust-about-benefit-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem !important;
  width: 100%;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-benefit h3 {
  color: var(--taxi-road-card-heading);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  line-height: 1.25;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-benefit p {
  color: var(--taxi-ink);
  line-height: 1.5;
  font-size: .98rem;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-story {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.25rem, 2.2vw, 2rem) !important;
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-photo {
  width: 100%;
  max-width: none !important;
  /* Die Flexbox darf den Bildrahmen nicht höher als das Foto ziehen. */
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 1.25rem;
  border: 0;
  background: transparent;
  box-shadow: 0 .85rem 1.6rem rgba(0,0,0,.23);
  margin: 0 !important;
}
.taxi-trust-about-section .taxi-trust-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 17rem;
  max-height: 26rem;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 1.25rem;
}
.taxi-trust-about-section .taxi-trust-about-story-copy {
  margin: 0 !important;
  max-width: 100%;
  padding: .15rem 0 0;
  scroll-margin-top: 7rem;
}
.taxi-trust-about-section .taxi-trust-about-story-copy h2 {
  margin-bottom: .8rem !important;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}
@media (max-width: 980px) {
  .taxi-trust-about-section .taxi-trust-about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .taxi-trust-about-section .taxi-trust-about-benefits {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .taxi-trust-about-section .taxi-trust-about-photo img {
    aspect-ratio: 16 / 8;
    max-height: 24rem;
  }
}
@media (max-width: 680px) {
  .taxi-trust-about-section .taxi-trust-about-inner {
    width: calc(100% - 2rem);
  }
  .taxi-main > .taxi-trust-about-section.wp-block-group {
    padding: 2.5rem 0 3rem !important;
  }
  .taxi-trust-about-section .taxi-trust-about-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
  .taxi-trust-about-section .taxi-trust-about-benefit {
    min-height: 0;
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    justify-content: stretch;
    align-items: center;
    text-align: left;
    gap: .9rem !important;
    padding: 1.25rem !important;
  }
  .taxi-trust-about-section .taxi-trust-about-benefit-copy {
    align-items: flex-start;
  }
  .taxi-trust-about-section .taxi-trust-about-photo {
    min-height: 0;
  }
  .taxi-trust-about-section .taxi-trust-about-photo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .taxi-trust-about-section .taxi-trust-about-story-copy {
    scroll-margin-top: 1rem;
  }
}
@media (forced-colors: active) {
  .taxi-trust-about-section .taxi-trust-about-benefit {
    border: 1px solid CanvasText;
  }
}


/* ============================================================
   Version 0.5.20 – Aktionsbereich zwischen Banner und Leistungen.
   Ruhige Cremefläche, austauschbares Hochkantmotiv, kein Bildbeschnitt.
   ============================================================ */
.taxi-main > .taxi-action-section.wp-block-group {
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  margin-block: 0 !important;
  padding: clamp(3rem, 5vw, 4.75rem) 20px;
  background: var(--taxi-sand);
}
.taxi-action-section .wp-block-image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto !important;
}
.taxi-action-section .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
@media (max-width: 600px) {
  .taxi-main > .taxi-action-section.wp-block-group {
    padding-block: 2.5rem 3rem;
  }
}
