/* Taxi24 Header Recovery 0.1.0 – nur Masterheader, keine Arbeitszeit-/Formularansichten. */
@media screen {
  /* Ausschließlich telefonische Zusatz-CTAs im HEADER entfernen. CTA im Hero bleibt. */
  body.taxi24-master-layout .taxi24-home-header a[href^="tel:"],
  body.taxi24-neu-site .taxi24-home-header a[href^="tel:"],
  body.page-id-24 .taxi24-home-header a[href^="tel:"],
  body.taxi24-master-layout .taxi24-mobile-call-fixed,
  body.taxi24-neu-site .taxi24-mobile-call-fixed,
  body.page-id-24 .taxi24-mobile-call-fixed {
    display: none !important;
  }
}
@media screen and (max-width: 980px) {
  /* Historischer Aufbau: oben Top-Menü, darunter Logo links + Hamburger rechts. */
  body.taxi24-master-layout .taxi24-home-stage > .taxi24-home-header,
  body.taxi24-neu-site .taxi24-home-header,
  body.page-id-24 .taxi24-home-header {
    height: auto !important;
    min-height: 112px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.taxi24-master-layout .taxi24-home-stage > .taxi24-home-header .taxi24-home-header__inner,
  body.taxi24-neu-site .taxi24-home-header__inner,
  body.page-id-24 .taxi24-home-header__inner {
    display: grid !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: minmax(48px, auto) 64px !important;
    grid-template-areas: "top top" "logo menu" !important;
    align-items: center !important;
    gap: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 112px !important;
    max-height: none !important;
    padding: 0 12px !important;
    overflow: visible !important;
  }
  body.taxi24-master-layout .taxi24-home-header .taxi24-home-nav,
  body.taxi24-neu-site .taxi24-home-header .taxi24-home-nav,
  body.page-id-24 .taxi24-home-header .taxi24-home-nav {
    grid-area: top !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    border-bottom: 1px solid #e5e7eb !important;
    overflow: visible !important;
    top: auto !important;
  }
  body.taxi24-master-layout .taxi24-home-header .taxi24-home-nav a,
  body.taxi24-neu-site .taxi24-home-header .taxi24-home-nav a,
  body.page-id-24 .taxi24-home-header .taxi24-home-nav a {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    min-height: 40px !important;
    max-width: none !important;
    padding: 5px 2px !important;
    margin: 0 !important;
    font-size: clamp(10px, 2.8vw, 13px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }
  body.taxi24-master-layout .taxi24-home-header .taxi24-home-logo,
  body.taxi24-neu-site .taxi24-home-header .taxi24-home-logo,
  body.page-id-24 .taxi24-home-header .taxi24-home-logo {
    grid-area: logo !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    justify-self: start !important;
    align-items: center !important;
    width: 90px !important;
    max-width: 90px !important;
    height: 60px !important;
  }
  body.taxi24-master-layout .taxi24-home-header .taxi24-home-logo img,
  body.taxi24-neu-site .taxi24-home-header .taxi24-home-logo img,
  body.page-id-24 .taxi24-home-header .taxi24-home-logo img {
    width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
    max-height: 60px !important;
  }
  body.taxi24-master-layout .taxi24-home-header .taxi24-home-menu,
  body.taxi24-neu-site .taxi24-home-header .taxi24-home-menu,
  body.page-id-24 .taxi24-home-header .taxi24-home-menu {
    grid-area: menu !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    position: relative !important;
    justify-self: end !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 5px !important;
    margin: 0 !important;
  }
}

/* v0.2.0: Exakt identifizierter per JS eingefügter oberer Anrufbutton.
 * Quelle: taxi24-flughafentransfer-generatepress, #taxi24-master-header-call-0963.
 * Der eigenständige Hero-Anrufbutton bleibt unverändert. */
body .taxi24-home-header .taxi24-master-header-call,
body .taxi24-home-stage > .taxi24-home-header .taxi24-master-header-call,
body.taxi24-home-refresh .taxi24-master-header-call,
body.taxi24-master-layout .taxi24-master-header-call {
    display: none !important;
    visibility: hidden !important;
}

/* Nachrangige Altregeln verbergen die Top-Navigation teilweise komplett.
 * Expliziter Mobile-Override, passend zum existierenden Taxi24-Topmenü.
 * Gilt nicht für Business Center oder andere fremde Header. */
@media screen and (max-width: 980px) {
 body.taxi24-home-refresh .taxi24-home-stage > .taxi24-home-header .taxi24-home-header__inner,
 body.taxi24-master-layout .taxi24-home-stage > .taxi24-home-header .taxi24-home-header__inner,
 body.taxi24-neu-site .taxi24-neu-header-stage .taxi24-home-header__inner {
   display:grid !important;
   grid-template-areas:"top top" "logo menu" !important;
   grid-template-columns:minmax(0,1fr) auto !important;
   grid-template-rows:48px 64px !important;
   width:100% !important;
   height:112px !important;
   min-height:112px !important;
   max-height:none !important;
   overflow:visible !important;
 }
 body.taxi24-home-refresh .taxi24-home-stage > .taxi24-home-header .taxi24-home-nav,
 body.taxi24-master-layout .taxi24-home-stage > .taxi24-home-header .taxi24-home-nav,
 body.taxi24-neu-site .taxi24-neu-header-stage .taxi24-home-nav {
   display:flex !important;
   visibility:visible !important;
   opacity:1 !important;
   grid-area:top !important;
   grid-column:1 / -1 !important;
   grid-row:1 !important;
   position:static !important;
   transform:none !important;
   flex-flow:row nowrap !important;
   align-items:center !important;
   justify-content:space-between !important;
   gap:2px !important;
   width:100% !important;
   height:48px !important;
   min-height:48px !important;
   max-height:48px !important;
   overflow:visible !important;
 }
 body.taxi24-home-refresh .taxi24-home-stage > .taxi24-home-header .taxi24-home-nav a,
 body.taxi24-master-layout .taxi24-home-stage > .taxi24-home-header .taxi24-home-nav a,
 body.taxi24-neu-site .taxi24-neu-header-stage .taxi24-home-nav a {
   display:inline-flex !important;
   visibility:visible !important;
   opacity:1 !important;
   flex:0 1 auto !important;
   width:auto !important;
   min-width:0 !important;
   font-size:clamp(10px,2.8vw,13px) !important;
   white-space:nowrap !important;
 }
}

/* RC0.3: Gezielte Abdeckung des tatsächlichen Startseiten-, Airport- und
 * Master-Unterseiten-Headers. Keine Änderungen an Hero/Bestellung. */
@media screen {
 body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header a[href^="tel:"],
 body.page-id-13279 .taxi24-airport-stage header a[href^="tel:"],
 body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header a[href^="tel:"],
 body.taxi24-home-refresh .taxi24-master-header-call,
 body.page-id-13279 .taxi24-master-header-call,
 body.taxi24-master-subpage .taxi24-master-header-call,
 body.taxi24-home-refresh .taxi24-mobile-call-fixed,
 body.page-id-13279 .taxi24-mobile-call-fixed,
 body.taxi24-master-subpage .taxi24-mobile-call-fixed {
   display:none!important;
   visibility:hidden!important;
 }
}
@media screen and (max-width:980px) {
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) {
   height:auto!important;min-height:112px!important;max-height:none!important;
   overflow:visible!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-header__inner {
   display:grid!important;
   box-sizing:border-box!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:48px 64px!important;
   grid-template-areas:'top top' 'logo menu'!important;
   width:100%!important;max-width:none!important;
   height:112px!important;min-height:112px!important;max-height:none!important;
   margin:0!important;padding:0 12px!important;
   column-gap:10px!important;row-gap:0!important;
   overflow:visible!important;transform:none!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-nav {
   grid-area:top!important;grid-column:1/-1!important;grid-row:1!important;
   display:flex!important;visibility:visible!important;opacity:1!important;
   position:static!important;inset:auto!important;transform:none!important;
   box-sizing:border-box!important;flex-flow:row nowrap!important;
   justify-content:space-between!important;align-items:center!important;
   width:100%!important;max-width:none!important;min-width:0!important;
   height:48px!important;min-height:48px!important;max-height:48px!important;
   margin:0!important;padding:0!important;gap:2px!important;
   overflow:visible!important;border-bottom:1px solid #e5e7eb!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-nav a {
   display:inline-flex!important;visibility:visible!important;opacity:1!important;
   position:static!important;flex:0 1 auto!important;min-width:0!important;
   width:auto!important;font-size:clamp(10px,2.8vw,13px)!important;
   padding:6px 2px!important;white-space:nowrap!important;line-height:1.2!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-logo {
   grid-area:logo!important;grid-column:1!important;grid-row:2!important;
   display:flex!important;align-items:center!important;justify-self:start!important;
   width:90px!important;max-width:90px!important;height:60px!important;min-width:0!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-logo img {
   width:80px!important;max-width:80px!important;max-height:60px!important;height:auto!important;
 }
 :is(body.taxi24-home-refresh .taxi24-home-stage > header.taxi24-home-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-gp-header,
     body.page-id-13279 .taxi24-airport-stage > header.taxi24-airport-header,
     body.taxi24-master-subpage .taxi24-master-stage > header.taxi24-master-header) .taxi24-home-menu {
   grid-area:menu!important;grid-column:2!important;grid-row:2!important;
   display:flex!important;visibility:visible!important;opacity:1!important;
   position:relative!important;align-items:center!important;justify-content:center!important;
   justify-self:end!important;align-self:center!important;
   width:44px!important;min-width:44px!important;height:44px!important;
   padding:5px!important;margin:0!important;
 }
}
