:root {
  --blue: #003b70;
  --blue2: #0b5e9e;
  --light: #f4f7fa;
  --text: #1d2633;
  --muted: #6b7785;
  --line: #dbe3ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

a {
  color: var(--blue2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 700;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: .2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 15px;
}

.lang {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  font-weight: 700;
}

.hero {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner { display: none; }

.hero h1 { display: none; }

.hero p { display: none; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.75);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 22px;
}

.section.alt {
  max-width: none;
  background: var(--light);
}

.section.alt > .section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

h2 {
  color: var(--blue);
  font-size: 30px;
  margin: 0 0 18px 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.card h3 {
  margin-top: 0;
  color: var(--blue);
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ship-grid img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.downloads a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  background: #062d52;
  color: #fff;
  padding: 34px 22px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer a {
  color: #fff;
}

.notice {
  background: #fff8df;
  border: 1px solid #f0d98b;
  padding: 14px 16px;
  border-radius: 8px;
  color: #5d4a00;
}

@media (max-width: 780px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.three,
  .grid.two,
  .ship-grid {
    grid-template-columns: 1fr;
  }

  .hero {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
}


.hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* v3 Fix: Headerbild ohne künstlichen Leerraum */
.hero {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: none !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.hero-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.hero + main,
.hero + .section,
main {
  margin-top: 0 !important;
}

/* v3 Fix: altes Headerbild enthält unten weißen Layoutbereich;
   daher sichtbaren Fotobereich hart beschneiden */
.hero {
  max-width: 1840px !important;
  height: clamp(190px, 24vw, 280px) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: none !important;
  border: 0 !important;
}

.hero-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* v3 Fix: Headerbild in Originalproportion zeigen.
   Quelle ist 1100x500 px, der eigentliche Bannerbereich endet bei ca. 280 px.
   Dadurch bleibt "Friedrich G. Frommann" lesbar, der weiße Altbereich unten wird abgeschnitten. */
.hero {
  display: block !important;
  width: min(1100px, 100%) !important;
  max-width: 1100px !important;
  height: auto !important;
  aspect-ratio: 1100 / 280 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: none !important;
  border: 0 !important;
}

.hero-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: initial !important;
  object-position: initial !important;
}

/* v3 Multi-Page */
.brand {
  text-decoration: none;
}

.nav a.active {
  font-weight: 700;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.page-main {
  min-height: 55vh;
}

.page-main h1 {
  color: var(--blue);
  font-size: 36px;
  margin: 0 0 24px 0;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.teaser {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.teaser h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

@media (max-width: 780px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* v3: Startseite fokussiert auf die zwei Hauptverkaufsfelder */
.teaser-grid.two-teasers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

@media (max-width: 780px) {
  .teaser-grid.two-teasers {
    grid-template-columns: 1fr;
  }
}

/* v3: Partner-/Produktlogos auf Schmierstoffseite */
.partner-logo-box {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.partner-logo {
  display: block;
  max-width: 700px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* v3: Treibstoff-Produkte ohne fremde Logos */
.fuel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.fuel-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.fuel-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}

.fuel-card h3 {
  margin-top: 0;
  color: var(--blue);
}

@media (max-width: 780px) {
  .fuel-grid {
    grid-template-columns: 1fr;
  }
}

/* v3: Produktlogo-Bilder */
.fuel-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 110px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 16px auto;
  padding: 0;
}

.fuel-card {
  text-align: center;
}

.fuel-card p {
  text-align: left;
}

/* v3: Firmenportrait näher am alten zweispaltigen Layout */
.history-legacy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 900px;
}

.history-legacy p {
  text-align: justify;
  margin: 0 0 1.05em 0;
}

.history-image {
  float: left;
  width: 185px;
  max-width: 45%;
  height: auto;
  margin: 4px 14px 10px 0;
  border-radius: 4px;
}

@media (max-width: 780px) {
  .history-legacy {
    grid-template-columns: 1fr;
  }

  .history-image {
    float: none;
    display: block;
    max-width: 100%;
    width: 260px;
    margin: 0 0 16px 0;
  }
}

/* v3: Startseite mit drei Leistungsfeldern */
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.home-card-grid .card {
  min-height: 250px;
}

@media (max-width: 980px) {
  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-card-grid .card {
    min-height: auto;
  }
}

/* v3: klassisches Frommann-Kopfbild */
.hero {
  display: block;
  width: min(1100px, 100%);
  max-width: 1100px;
  aspect-ratio: 1100 / 360;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .hero {
    aspect-ratio: 1100 / 430;
  }
}

/* v3: klassisches Frommann-Kopfbild */
.hero {
  display: block;
  width: min(1100px, 100%);
  max-width: 1100px;
  aspect-ratio: 1100 / 360;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .hero {
    aspect-ratio: 1100 / 430;
  }
}

/* v3: übernommene AVB / Terms aus Altbestand */
.legal-text {
  max-width: 980px;
}

.legacy-terms {
  overflow-x: auto;
}

.legacy-terms p,
.legal-text p,
.legal-text li {
  line-height: 1.65;
}

.legacy-terms table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}

.legacy-terms td,
.legacy-terms th {
  padding: 7px 8px;
  vertical-align: top;
}

.legacy-terms .H2,
.legacy-terms strong {
  color: #17365d;
}

/* v5: moderne Leistungs-Kacheln auf der Startseite */
.fg-home-services {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
}

.fg-section-head {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.fg-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #19517f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fg-section-head h2 {
  margin: 0 0 14px;
  color: #071827;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.fg-section-head p {
  margin: 0;
  color: #657386;
  font-size: 1.08rem;
}

.fg-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fg-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 335px;
  padding: 30px 28px 28px;
  color: #16304a;
  background: #ffffff;
  border: 1px solid #d9e3ec;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(9, 32, 55, 0.075);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.fg-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #0d2a44, #19517f);
}

.fg-service-card-green::before {
  background: linear-gradient(90deg, #19517f, #2d7454);
}

.fg-service-card:hover {
  transform: translateY(-5px);
  border-color: #b7cbe0;
  box-shadow: 0 24px 58px rgba(9, 32, 55, 0.13);
  text-decoration: none;
}

.fg-card-number {
  color: #9aacbf;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.fg-card-label {
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf4fa;
  color: #19517f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fg-service-card-green .fg-card-label {
  background: #eaf5ef;
  color: #2d7454;
}

.fg-service-card h3 {
  margin: 0 0 16px;
  color: #073a69;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.fg-service-card p {
  margin: 0 0 26px;
  color: #24435f;
  font-size: 1.05rem;
  line-height: 1.65;
}

.fg-card-link {
  margin-top: auto;
  color: #073a69;
  font-weight: 900;
}

.fg-service-card-green .fg-card-link {
  color: #2d7454;
}

@media (max-width: 980px) {
  .fg-service-grid {
    grid-template-columns: 1fr;
  }

  .fg-service-card {
    min-height: auto;
  }
}

/* v5.2: echte vorhandene Startseiten-Kacheln modernisieren */
body .home-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
  margin-top: 38px !important;
}

body .home-card-grid > a.card.card-link {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 340px !important;
  padding: 34px 30px 30px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
  border: 1px solid #d6e2ee !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(8, 35, 61, 0.10) !important;
  color: #17324d !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body .home-card-grid > a.card.card-link::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 6px !important;
  background: linear-gradient(90deg, #08233d, #0f5f99) !important;
}

body .home-card-grid > a.card.card-link:nth-child(3)::before {
  background: linear-gradient(90deg, #0f5f99, #2d7454) !important;
}

body .home-card-grid > a.card.card-link:hover {
  transform: translateY(-6px) !important;
  border-color: #abc4dc !important;
  box-shadow: 0 28px 65px rgba(8, 35, 61, 0.16) !important;
  text-decoration: none !important;
}

body .home-card-grid > a.card.card-link h2 {
  margin: 0 0 20px !important;
  color: #073a69 !important;
  font-size: clamp(2rem, 3vw, 2.45rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
}

body .home-card-grid > a.card.card-link p {
  margin: 0 !important;
  color: #24435f !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

body .home-card-grid > a.card.card-link::after {
  content: "Mehr erfahren →" !important;
  margin-top: auto !important;
  color: #073a69 !important;
  font-weight: 900 !important;
  padding-top: 28px !important;
}

body .home-card-grid > a.card.card-link:nth-child(3)::after {
  color: #2d7454 !important;
}

body .home-card-grid > a.card.card-link:nth-child(1) h2::before {
  content: "01 · Klassische Versorgung";
}

body .home-card-grid > a.card.card-link:nth-child(2) h2::before {
  content: "02 · ExxonMobil-Händler";
}

body .home-card-grid > a.card.card-link:nth-child(3) h2::before {
  content: "03 · Zukunftsorientiert";
}

body .home-card-grid > a.card.card-link h2::before {
  display: block !important;
  margin-bottom: 18px !important;
  color: #7b90a6 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
}

@media (max-width: 980px) {
  body .home-card-grid {
    grid-template-columns: 1fr !important;
  }

  body .home-card-grid > a.card.card-link {
    min-height: auto !important;
  }
}

/* v5.3: Headerbild sauber beschneiden - alter linker Layoutstreifen raus */
body .hero,
body .top-banner {
  display: block !important;
  width: min(965px, 100%) !important;
  max-width: 965px !important;
  height: auto !important;
  aspect-ratio: 965 / 282 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
  Originalbild 1100px breit.
  Wir zeigen nur den Bereich ab ca. x=135px.
  1100 / 965 = 113.99%
  135 / 965 = 13.99%
*/
body .hero img,
body .hero-image,
body .top-banner img {
  display: block !important;
  width: 113.99% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -13.99% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: top left !important;
}

/* kein zusätzlicher Abstand unter dem Headerbild */
body .hero + main,
body .top-banner + main {
  margin-top: 0 !important;
}

/* v5.4: Flagge erhalten, linken Streifen nur moderat beschneiden */
body .hero,
body .top-banner {
  width: min(1035px, 100%) !important;
  max-width: 1035px !important;
  aspect-ratio: 1035 / 282 !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
  v5.3 schnitt zu stark links ab.
  Jetzt nur ca. 65px statt 135px.
  Dadurch bleibt die Frommann-Flagge sichtbar.
*/
body .hero img,
body .hero-image,
body .top-banner img {
  width: 106.3% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -6.3% !important;
  margin-top: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: top left !important;
}

/* v5.5: Headerbild links/rechts sauber beschneiden
   Sichtbarer Quellbereich ca. x=65 bis x=1035 aus 1100px.
   Ziel: Flagge bleibt sichtbar, rechter blauer Streifen verschwindet. */
body .hero,
body .top-banner {
  width: min(970px, 100%) !important;
  max-width: 970px !important;
  aspect-ratio: 970 / 282 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
  Original 1100px.
  Container 970px.
  Bildbreite 1100/970 = 113.4%.
  Verschiebung 65/970 = 6.7%.
*/
body .hero img,
body .hero-image,
body .top-banner img {
  display: block !important;
  width: 113.4% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -6.7% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: top left !important;
}

/* v5.6: Header moderat vergrößern, gleicher sauberer Bildausschnitt */
body .hero,
body .top-banner {
  width: min(1040px, 100%) !important;
  max-width: 1040px !important;
  aspect-ratio: 970 / 282 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .hero img,
body .hero-image,
body .top-banner img {
  display: block !important;
  width: 113.4% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -6.7% !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: top left !important;
}

/* MGO-only Treibstoffseite */
.fuel-grid.fuel-grid-single {
  display: grid !important;
  grid-template-columns: minmax(280px, 420px) !important;
  justify-content: start !important;
}

@media (max-width: 700px) {
  .fuel-grid.fuel-grid-single {
    grid-template-columns: 1fr !important;
  }
}

/* MGO-only und Regenerative-Seite getrennt */
.fuel-grid.fuel-grid-single {
  display: grid !important;
  grid-template-columns: minmax(280px, 420px) !important;
  justify-content: start !important;
}

.fuel-grid.fuel-grid-two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  .fuel-grid.fuel-grid-single,
  .fuel-grid.fuel-grid-two {
    grid-template-columns: 1fr !important;
  }
}

/* Schweröl + MGO auf Treibstoffseite */
.fuel-grid.fuel-grid-two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.fuel-card img[src$=".svg"].fuel-logo {
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .fuel-grid.fuel-grid-two {
    grid-template-columns: 1fr !important;
  }
}

/* v5.7: Schweröl-/Fuel-Logos sauber in Kacheln einpassen */
.fuel-card,
.product-card,
.card.fuel-card {
  overflow: hidden;
}

.fuel-card .fuel-logo,
.product-card .fuel-logo,
.card.fuel-card .fuel-logo {
  display: block;
  width: min(260px, 78%);
  max-width: 100%;
  height: auto;
  margin: 10px auto 18px;
  object-fit: contain;
}

/* etwas kleiner für das Schweröl-Logo */
.fuel-card:first-of-type .fuel-logo,
.product-grid .fuel-card:first-of-type .fuel-logo {
  width: min(240px, 72%);
}

@media (max-width: 900px) {
  .fuel-card .fuel-logo,
  .product-card .fuel-logo,
  .card.fuel-card .fuel-logo {
    width: min(220px, 74%);
  }

  .fuel-card:first-of-type .fuel-logo,
  .product-grid .fuel-card:first-of-type .fuel-logo {
    width: min(200px, 70%);
  }
}

/* v5.9: Fuels-Textmarke statt breitem Schweröl-Logo */
.fuel-logo-fuels {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  max-width: 100% !important;
  margin: 18px auto 26px auto !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

.fuel-logo-fuels-drop {
  width: 74px !important;
  height: 92px !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 48% 48% 52% 52% / 60% 60% 40% 40% !important;
  transform: rotate(0deg) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.fuel-logo-fuels-main {
  font-size: 46px !important;
  font-weight: 800 !important;
  color: #000000 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: -1px !important;
  white-space: nowrap !important;
}

.fuel-logo-fuels-sub {
  margin-top: 8px !important;
  font-size: 17px !important;
  color: #6f8396 !important;
  letter-spacing: 7px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .fuel-logo-fuels {
    gap: 12px !important;
  }

  .fuel-logo-fuels-drop {
    width: 60px !important;
    height: 76px !important;
    font-size: 30px !important;
  }

  .fuel-logo-fuels-main {
    font-size: 36px !important;
  }

  .fuel-logo-fuels-sub {
    font-size: 14px !important;
    letter-spacing: 5px !important;
  }
}

/* v5.10: Vorheriges Schweröl-Logo bleibt, nur Logo-Text ist Fuels */
body .fuel-grid .fuel-card img[src*="schweroel_logo"].fuel-logo {
  display: block !important;
  width: min(260px, 72%) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 10px auto 22px auto !important;
  padding: 0 !important;
}

/* v5.11: Fuels Heavy Fuel Oil Logo in Schweröl-Kachel */
body .fuel-grid .fuel-card img.fuel-logo-hfo {
  display: block !important;
  width: min(430px, 82%) !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 8px auto 24px auto !important;
  padding: 0 !important;
}

/* echtes Fuels-HFO-Logo sauber darstellen */
.fuel-logo-hfo {
  display: block;
  width: min(520px, 92%);
  max-width: 520px;
  height: auto;
  margin: 0 auto 22px auto;
  object-fit: contain;
}

.fuel-card .fuel-badge {
  margin-top: 0;
}

/* v5.12: Fuels-HFO-Logo in der Schweröl-Kachel optisch korrekt ausrichten */
body .fuel-grid .fuel-card img.fuel-logo-hfo {
  display: block !important;

  /* PNG hat viel Weißraum, daher optisch croppen */
  width: min(430px, 86%) !important;
  height: 165px !important;
  max-width: 430px !important;

  object-fit: cover !important;
  object-position: center center !important;

  margin: 4px auto 18px auto !important;
  padding: 0 !important;
}

/* Schweröl-Kachel: Abstände an MGO-Kachel angleichen */
body .fuel-grid .fuel-card img.fuel-logo-hfo + .fuel-badge {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

body .fuel-grid .fuel-card img.fuel-logo-hfo + .fuel-badge + h3 {
  margin-top: 0 !important;
  margin-bottom: 26px !important;
}

@media (max-width: 900px) {
  body .fuel-grid .fuel-card img.fuel-logo-hfo {
    width: min(360px, 88%) !important;
    height: 140px !important;
  }
}

/* v5.13: Feinschliff Fuels-HFO-Kachel */
body .fuel-grid .fuel-card img.fuel-logo-hfo {
  display: block !important;
  width: min(390px, 78%) !important;
  max-width: 390px !important;
  height: 145px !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 10px auto 10px auto !important;
  padding: 0 !important;
}

/* Badge unter Fuels etwas höher ziehen */
body .fuel-grid .fuel-card img.fuel-logo-hfo + .fuel-badge {
  margin-top: 4px !important;
  margin-bottom: 20px !important;
}

/* Überschrift und Text der Schweröl-Kachel ruhiger ausrichten */
body .fuel-grid .fuel-card img.fuel-logo-hfo + .fuel-badge + h3 {
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}

body .fuel-grid .fuel-card img.fuel-logo-hfo + .fuel-badge + h3 + p {
  margin-top: 0 !important;
  text-align: left !important;
}

/* Beide Kacheln optisch auf eine Linie bringen */
body .fuel-grid .fuel-card {
  padding-top: 34px !important;
}

@media (max-width: 900px) {
  body .fuel-grid .fuel-card img.fuel-logo-hfo {
    width: min(340px, 82%) !important;
    height: 130px !important;
  }
}

/* v5.14: Treibstoff-Kacheln in gleiche Zeilen bringen */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 34px 36px 42px 36px !important;
  overflow: hidden !important;
}

/* Logo-Zeile: beide Logos bekommen dieselbe optische Zone */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo {
  display: block !important;
  width: min(390px, 78%) !important;
  max-width: 390px !important;
  height: 150px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto 20px auto !important;
  padding: 0 !important;
}

/* Fuels-PNG hat Weißraum, daher nur dieses Logo optisch croppen */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo.fuel-logo-hfo {
  width: min(390px, 78%) !important;
  max-width: 390px !important;
  height: 150px !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 auto 20px auto !important;
}

/* Badge-Zeile */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge {
  margin: 0 auto 24px auto !important;
}

/* Überschrift-Zeile */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge + h3 {
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 28px auto !important;
  padding: 0 !important;
}

/* Text-Zeile */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge + h3 + p {
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo,
  body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo.fuel-logo-hfo {
    width: min(340px, 82%) !important;
    height: 135px !important;
  }
}

/* v5.15: Fuels- und MGO-Logo optisch ausbalancieren */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 34px 36px 42px 36px !important;
}

/* Gemeinsame Logo-Zone */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo {
  display: block !important;
  height: 150px !important;
  object-position: center center !important;
  margin: 0 auto 22px auto !important;
  padding: 0 !important;
}

/* Linke Kachel: Fuels wegen Weißraum größer darstellen */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card:first-child > img.fuel-logo-hfo {
  width: 470px !important;
  max-width: 92% !important;
  height: 150px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Rechte Kachel: MGO minimal kleiner, damit optisch gleiche Masse entsteht */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card:nth-child(2) > img.fuel-logo {
  width: 390px !important;
  max-width: 82% !important;
  height: 150px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Badge-Zeile exakt angleichen */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* Überschrift-Zeile exakt angleichen */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge + h3 {
  min-height: 42px !important;
  margin: 0 auto 28px auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Text-Zeile */
body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card > img.fuel-logo + .fuel-badge + h3 + p {
  align-self: stretch !important;
  margin: 0 !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card:first-child > img.fuel-logo-hfo {
    width: 380px !important;
    max-width: 90% !important;
    height: 135px !important;
  }

  body .fuel-grid.fuel-grid-two.fuel-grid-balanced .fuel-card:nth-child(2) > img.fuel-logo {
    width: 340px !important;
    max-width: 82% !important;
    height: 135px !important;
  }
}
