/* ===== Gebhardt-Branding fuer alle Regio-Landingpages =====
   Vorlage: www.gebhardt-bestattungen.de
   Wird in jeder index.html als LETZTES Stylesheet geladen und
   ueberschreibt damit global.css, styles.css und conversion.css.
   Aenderungen am Look nur hier vornehmen. */

@font-face {
  font-family: 'Asar';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/text/asar-400.woff2') format('woff2');
}

:root {
  --geb-gold: rgb(223, 193, 150);
  --geb-schwarz: #000000;
  --geb-flaeche: #111111;
  --geb-weiss: #ffffff;
  --geb-font-titel: 'Asar', serif;
  --geb-font-text: acme-gothic, 'Asar', serif;

  /* Variablen der Vorlage auf die Marke umbiegen */
  --button--color: var(--geb-schwarz);
  --button--text--color: var(--geb-weiss);
  --button--hover--color: var(--geb-gold);
  --button--hover--text--color: var(--geb-schwarz);
  --button--border--px: 0px;
  --button--border--color: transparent;
  --button--border--hover--color: transparent;
  --button--border--radius--px: 0px;
  --font-hero-title: var(--geb-font-titel);
  --font-body-heading: var(--geb-font-titel);
  --font-body-text: var(--geb-font-text);
  --font-hero-button: var(--geb-font-text);
  --title--color: var(--geb-gold);
  --desktop--title--h1--font--size: 42px;
  --mobile--title--h1--font--size: 28px;
}

/* ---------- Ueberschrift 1 (H1 + Inhalts-Ueberschriften) ---------- */
h1,
h2,
.conv-haupttitel,
.conv-karte h2 {
  font-family: var(--geb-font-titel) !important;
  font-style: normal;
  font-weight: 400 !important;
  color: var(--geb-gold) !important;
}

h1,
.conv-haupttitel {
  font-size: 42px !important;
  line-height: 50px !important;
}

.conv-karte h2 {
  font-size: 28px !important;
  line-height: 36px !important;
}

/* ---------- Fliesstext ---------- */
body {
  background-color: var(--geb-schwarz) !important;
}

body p,
.text-content,
.conv-karte-text,
.conv-karte-text p,
.conv-intro-text {
  font-family: var(--geb-font-text) !important;
  font-style: normal;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 27px !important;
  color: var(--geb-weiss) !important;
}

/* Navigation und Footer bleiben hell (schwarzes Logo) */
.navbar-nav .nav-link p,
.footer p,
.footer-inhalt p {
  color: var(--geb-schwarz) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Inhaltsbereich dunkel wie die Hauptseite */
.containermonster,
.conv-bereich {
  color: var(--geb-weiss);
}

.conv-karte {
  background: var(--geb-flaeche) !important;
  color: var(--geb-weiss) !important;
  border-top: 2px solid var(--geb-gold) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.conv-bild {
  border-radius: 0 !important;
}

.conv-cta-band {
  background: var(--geb-flaeche) !important;
  border: 1px solid var(--geb-gold);
  border-radius: 0 !important;
  box-shadow: none !important;
}

.conv-cta-titel {
  font-family: var(--geb-font-titel) !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  line-height: 36px !important;
  color: var(--geb-gold) !important;
}

.containermonster a:not([class*="btn"]):not(.conv-sticky-anruf) {
  color: var(--geb-gold) !important;
}

/* ---------- Buttons: eckig, schwarz/weiss, Hover gold/schwarz ---------- */
.btn-primary,
.conv-intro-btn,
.conv-intro-btn-mail,
.conv-cta-btn,
.conv-sticky-anruf {
  border-radius: 0 !important;
  background: var(--geb-schwarz) !important;
  color: var(--geb-weiss) !important;
  border: none !important;
  font-family: var(--geb-font-text) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.conv-intro-btn:hover,
.conv-intro-btn-mail:hover,
.conv-cta-btn:hover,
.conv-sticky-anruf:hover {
  background: var(--geb-gold) !important;
  color: var(--geb-schwarz) !important;
}

.navbar-toggler {
  border-radius: 0 !important;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  h1,
  .conv-haupttitel {
    font-size: 28px !important;
    line-height: 34px !important;
  }

  .conv-karte h2,
  .conv-cta-titel {
    font-size: 22px !important;
    line-height: 29px !important;
  }
}

/* ---------- Zweiter Abschnitt (Ueberschrift + Intro): heller Hintergrund ----------
   Volle Breite per box-shadow/clip-path, ohne das Markup anzufassen */
:root {
  --geb-hell: #f4f4f4;
}

.conv-kopf,
.conv-intro {
  background: var(--geb-hell);
  box-shadow: 0 0 0 100vmax var(--geb-hell);
  clip-path: inset(0 -100vmax);
}

.conv-kopf {
  margin-top: 0 !important;
  padding-top: 56px !important;
}

.conv-intro {
  margin: 0 !important;
  padding: 24px 0 56px;
}

.conv-intro .text-content,
.conv-intro .text-content p {
  color: var(--geb-schwarz) !important;
}

.conv-intro a:not([class*="btn"]) {
  color: var(--geb-schwarz) !important;
  text-decoration: underline;
  text-decoration-color: var(--geb-gold);
}

/* Abstand zwischen hellem Abschnitt und den dunklen Karten */
.conv-intro + .conv-karten {
  margin-top: 48px;
}

/* ---------- Bilder immer schwarzweiss (Logos ausgenommen) ---------- */
.conv-bild,
.background-image-section-1,
.containermonster img,
.containermonster figure {
  filter: grayscale(100%);
}

/* ---------- Feinschliff heller Abschnitt / CTA-Band / Footer ---------- */
.containermonster.conv-kopf,
.containermonster.conv-bereich {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.conv-kopf .conv-haupttitel {
  margin-bottom: 0 !important;
}

.containermonster .conv-intro .text-content a {
  color: var(--geb-schwarz) !important;
}

/* CTA-Band hell, damit die schwarzen Buttons sichtbar sind */
.conv-cta-band {
  background: var(--geb-hell) !important;
  border: none !important;
}

.containermonster.conv-bereich {
  padding-top: 0 !important;
}

/* ---------- Gesamter Inhaltsbereich hell, Karten bleiben dunkel ---------- */
body {
  background-color: var(--geb-hell) !important;
}

.containermonster.conv-bereich {
  padding-bottom: 56px !important;
}

/* CTA-Band hebt sich mit Weiss leicht vom hellgrauen Grund ab */
.conv-cta-band {
  background: var(--geb-weiss) !important;
}

/* ---------- Footer wie auf der Hauptseite (responsive) ----------
   Desktop: Marke links, 4 Linkspalten rechts
   Tablet:  Marke als Zeile oben, 4 Spalten darunter
   Handy:   "Im Trauerfall" ueber volle Breite, Rest in 2 Spalten */
.geb-footer {
  background: var(--geb-hell);
  border-top: 1px solid #bdbdbd;
  padding: 40px 30px 56px;
}

.geb-footer-inhalt {
  display: flex;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.geb-footer-marke {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.geb-footer-logo {
  width: 170px;
  height: auto;
}

.geb-footer-jahr {
  width: 90px;
  height: auto;
}

.geb-footer-nav {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 24px 32px;
}

.geb-footer-nav ul {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.geb-footer-nav ul ul {
  padding-left: 8px !important;
  margin-top: 4px !important;
}

.geb-footer-nav li {
  list-style: none;
}

.geb-footer-nav a {
  display: inline-block;
  padding: 2px 0;
  font-family: var(--geb-font-text) !important;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
  color: var(--geb-schwarz) !important;
  text-decoration: none !important;
}

.geb-footer-nav a:hover {
  color: var(--geb-gold) !important;
}

@media (max-width: 991px) {
  .geb-footer-inhalt {
    flex-direction: column;
    gap: 32px;
  }

  .geb-footer-marke {
    flex: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .geb-footer {
    padding: 32px 20px 100px; /* Platz fuer den fixierten Anruf-Button */
  }

  .geb-footer-logo {
    width: 150px;
  }

  .geb-footer-jahr {
    width: 70px;
  }

  .geb-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 24px 16px;
  }

  .geb-footer-nav > ul:first-child {
    grid-column: 1 / -1;
  }

  .geb-footer-nav a {
    font-size: 16px;
    padding: 6px 0; /* groessere Tippflaeche */
  }
}

/* ---------- Header wie auf der Hauptseite (WordPress-Theme "Ave") ----------
   Desktop (ab 1200px): weisse Zeile mit Logo + Telefon, darunter schwarze Menueleiste
   Darunter: weisse Leiste mit Logo + Hamburger, Menue als schwarzes Panel von rechts */
.geb-header {
  position: relative;
  z-index: 1000;
  background: var(--geb-weiss);
}

.geb-header a {
  text-decoration: none !important;
}

.geb-header-oben {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 15px;
}

.geb-header-logo img {
  display: block;
  width: 217px;
  height: auto;
}

.geb-header-telefon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--geb-font-text) !important;
  font-weight: 300;
  font-size: 19px;
  color: var(--geb-gold) !important;
}

.geb-header-telefon i {
  font-size: 20px;
}

.geb-header-telefon:hover {
  color: var(--geb-schwarz) !important;
}

.geb-menue-knopf,
.geb-menue-schliessen,
.geb-unter-knopf {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.geb-menue {
  background: var(--geb-schwarz);
}

.geb-menue-liste,
.geb-unter {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.geb-menue-liste {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1290px;
  margin: 0 auto !important;
}

.geb-menue-liste > li {
  position: relative;
  display: flex;
  align-items: center;
}

.geb-menue-liste a {
  display: block;
  font-family: var(--geb-font-text) !important;
  font-weight: 300;
  font-size: 18px;
  line-height: 31px;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.2s ease;
}

.geb-menue-liste > li > a {
  padding: 10px 25px;
}

.geb-menue-liste > li > a:hover,
.geb-menue-liste > li:focus-within > a {
  color: var(--geb-gold) !important;
}

/* Desktop-Dropdown */
.geb-unter {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 232px;
  padding: 17px 0 !important;
  background: var(--geb-weiss);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.geb-hat-unter:hover > .geb-unter,
.geb-hat-unter:focus-within > .geb-unter {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.geb-unter a {
  padding: 8px 40px;
  font-size: 16px !important;
  color: rgb(121, 123, 134) !important;
}

.geb-unter a:hover {
  color: var(--geb-schwarz) !important;
}

.geb-menue-abdunkler {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1199px) {
  .geb-header-oben {
    max-width: none;
    padding: 20px;
  }

  .geb-header-logo img {
    width: 170px;
  }

  .geb-header-telefon {
    display: none;
  }

  .geb-menue-knopf {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
  }

  .geb-menue-knopf span {
    display: block;
    width: 24px;
    height: 2px;
    margin-left: auto;
    background: var(--geb-schwarz);
  }

  .geb-menue-knopf span:nth-child(2) {
    width: 16px;
  }

  /* Panel von rechts */
  .geb-menue {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    width: min(320px, 85vw);
    padding: 90px 30px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .geb-menue-offen .geb-menue {
    transform: translateX(0);
  }

  .geb-menue-schliessen {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 2px solid var(--geb-weiss);
    border-radius: 50%;
    color: var(--geb-weiss);
    font-size: 28px;
    line-height: 1;
  }

  .geb-menue-liste {
    display: block !important;
  }

  .geb-menue-liste > li {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .geb-menue-liste > li > a {
    padding: 12px 0;
    font-family: var(--geb-font-titel) !important;
    font-size: 20px;
    color: var(--geb-weiss) !important;
  }

  .geb-unter-knopf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--geb-weiss);
    background: rgba(255, 255, 255, 0.1);
  }

  .geb-unter-knopf i {
    transition: transform 0.2s ease;
  }

  .geb-unter-offen > .geb-unter-knopf i {
    transform: rotate(180deg);
  }

  .geb-unter {
    position: static;
    flex-basis: 100%;
    display: none;
    min-width: 0;
    padding: 0 0 8px 16px !important;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .geb-unter-offen > .geb-unter {
    display: block;
  }

  .geb-unter a {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .geb-unter a:hover {
    color: var(--geb-gold) !important;
  }
}

/* ---------- Hero flacher ---------- */
.container2 {
  height: clamp(420px, 55vh, 600px) !important;
}

@media (max-width: 767px) {
  .container2 {
    height: auto !important;
    min-height: 420px;
  }

  .container2 .overlay-main {
    min-height: 420px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* alter fixierter Header hatte 130px Abstand reserviert */
body .container.container2 {
  margin-top: 0 !important;
}

/* Header samt mobilem Menue ueber dem fixierten Anruf-Button (z-index 1000) */
.geb-header {
  z-index: 1100;
}

/* ---------- Telefon im Header mit "24 Stunden erreichbar" ---------- */
.geb-telefon-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.geb-telefon-hinweis {
  font-size: 14px;
  color: var(--geb-schwarz);
  letter-spacing: 0.02em;
}

.geb-header-telefon:hover .geb-telefon-hinweis {
  color: var(--geb-schwarz);
}

.geb-menue-telefon {
  display: none;
}

@media (max-width: 1199px) {
  /* Tablet: Telefon bleibt sichtbar, zwischen Logo und Hamburger */
  .geb-header-telefon {
    display: inline-flex;
    margin-left: auto;
    font-size: 17px;
  }

  .geb-menue-telefon {
    display: block;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--geb-font-titel) !important;
    font-size: 22px;
    color: var(--geb-gold) !important;
  }

  .geb-menue-telefon span {
    display: block;
    margin-top: 4px;
    font-family: var(--geb-font-text) !important;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
  }
}

@media (max-width: 575px) {
  .geb-header-telefon {
    display: none;
  }
}

/* Handy-Anruf-Button: Hinweis etwas zurueckgenommen */
.geb-sticky-hinweis {
  font-weight: 300;
  opacity: 0.8;
}

/* 24h-Signet der Hauptseite neben dem Hoerer */
.geb-header-telefon .geb-24h {
  display: block;
  width: 64px;
  height: 64px;
  margin-right: 8px;
  padding-right: 20px;
  box-sizing: content-box;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199px) {
  .geb-header-telefon .geb-24h {
    width: 52px;
    height: 52px;
    padding-right: 14px;
    margin-right: 4px;
  }
}

/* ---------- Hero-Bild der Hauptseite (Seerosen) fuer alle Landingpages ---------- */
body .container.container2 {
  background-image: url(https://www.gebhardt-bestattungen.de/wp-content/uploads/2021/04/gebhardt-bestattungen_start1.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ---------- Kontakt-Band vor dem Footer: volle Breite mit Bild ----------
   Bild der Hauptseite: Handy links, dunkles Leder rechts -> Inhalt rechts */
html,
body {
  overflow-x: clip;
}

.containermonster.conv-bereich {
  padding-bottom: 0 !important;
}

.conv-cta-band {
  margin: 48px calc(50% - 50vw) 0 !important;
  width: 100vw;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 64px max(30px, calc(50vw - 670px)) !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.75) 70%),
    url(https://www.gebhardt-bestattungen.de/wp-content/uploads/2021/04/gehbardt-bestattungen_im-trauerfall4.jpg) left center / cover no-repeat !important;
  text-align: center;
}

.conv-cta-band > * {
  width: min(520px, 100%);
}

.conv-cta-band .conv-cta-titel {
  font-size: 34px !important;
  line-height: 42px !important;
  margin-bottom: 24px;
}

/* Buttons auf dunklem Bild: weiss, Hover gold */
.conv-cta-band .conv-cta-btn {
  background: var(--geb-weiss) !important;
  color: var(--geb-schwarz) !important;
}

.conv-cta-band .conv-cta-btn:hover {
  background: var(--geb-gold) !important;
  color: var(--geb-schwarz) !important;
}

/* Footer-Trennlinie entfaellt, das Bild schliesst direkt an */
.geb-footer {
  border-top: 0;
}

@media (max-width: 767px) {
  .conv-cta-band {
    min-height: 320px;
    align-items: center;
    padding: 48px 20px !important;
    background:
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url(https://www.gebhardt-bestattungen.de/wp-content/uploads/2021/04/gehbardt-bestattungen_im-trauerfall4.jpg) 30% center / cover no-repeat !important;
  }

  .conv-cta-band .conv-cta-titel {
    font-size: 26px !important;
    line-height: 33px !important;
  }
}

/* ---------- Hero: hoeher, Ueberschrift weiss ---------- */
body .container.container2 {
  height: clamp(520px, 72vh, 780px) !important;
}

.container2 h1 {
  color: var(--geb-weiss) !important;
}

@media (max-width: 767px) {
  body .container.container2 {
    height: auto !important;
    min-height: 540px;
  }

  .container2 .overlay-main {
    min-height: 540px;
  }
}

/* ---------- Button-Text duenn (wie Fliesstext, keine Fettung) ---------- */
.btn-primary,
.conv-intro-btn,
.conv-intro-btn-mail,
.conv-cta-btn,
.conv-sticky-anruf,
.conv-sticky-anruf .geb-sticky-hinweis {
  font-weight: 300 !important;
}

/* 24h-Signet rechts neben der Nummer, ohne Trennlinie */
.geb-header-telefon .geb-24h,
.geb-header-telefon .geb-24h {
  margin-right: 0;
  margin-left: 16px;
  padding-right: 0;
  border-right: 0;
}

@media (max-width: 1199px) {
  .geb-header-telefon .geb-24h {
    margin-left: 10px;
    padding-right: 0;
  }
}

/* ---------- Bildmarke (Lotus) ueber der Hero-Ueberschrift ---------- */
.conH .geb-bildmarke {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
}

@media (max-width: 767px) {
  .conH .geb-bildmarke {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
}

/* Bildmarke immer UEBER der Ueberschrift (Container ist auf Desktop flex-row) */
.container.conH {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

/* ---------- Kontakt-Band: Ueberschrift weiss, Desktop hoeher ---------- */
.conv-cta-band .conv-cta-titel {
  color: var(--geb-weiss) !important;
}

@media (min-width: 768px) {
  .conv-cta-band {
    min-height: 500px;
  }
}

/* ---------- Intro-Ueberschrift linksbuendig ueber dem Text ---------- */
.conv-intro-text .conv-haupttitel {
  max-width: none;
  margin: 0 0 24px !important;
  text-align: left;
}

.conv-intro {
  padding-top: 64px !important;
}

@media (max-width: 767px) {
  .conv-intro {
    padding-top: 48px !important;
  }

  /* Bild unter dem Text bekommt Luft */
  .conv-intro > .col-md-5 {
    margin-top: 24px;
  }
}

/* ---------- Intro: gleicher Abstand Ueberschrift->Text und Text->Buttons ---------- */
.conv-intro-text .conv-haupttitel {
  margin-bottom: 28px !important;
}

.conv-intro-text .text-content > :first-child {
  margin-top: 0 !important;
}

.conv-intro-text .text-content > :last-child {
  margin-bottom: 0 !important;
}

.conv-intro-cta {
  margin-top: 28px !important; /* statt margin-top:auto (Buttons nicht mehr ans Spaltenende) */
  padding-top: 0 !important;
}

/* Kartenueberschriften weiss */
.conv-karte h2 {
  color: var(--geb-weiss) !important;
}

/* ---------- Footer-Masse wie Startseite (Desktop ab 992px) ----------
   Startseite: Container 1170px (1140 Inhalt), Logo-Spalte 4/12, 4 Linkspalten je 2/12,
   Logo 217x49, "1975" 112x71, Links 19.2px, Footer-Padding 40px oben/unten */
@media (min-width: 992px) {
  .geb-footer {
    padding: 40px 0 !important;
  }

  .geb-footer-inhalt {
    display: grid !important;
    grid-template-columns: 4fr 8fr;
    gap: 0 !important;
    max-width: 1170px;
    margin: 0 auto;
  }

  .geb-footer-marke {
    padding: 0 15px;
    gap: 40px;
  }

  .geb-footer-logo {
    width: 217px !important;
  }

  .geb-footer-jahr {
    width: 112px !important;
  }

  .geb-footer-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 0 !important;
  }

  .geb-footer-nav > ul {
    padding: 0 15px !important;
  }

  .geb-footer-nav a {
    font-size: 19.2px;
    line-height: 30.72px;
    padding: 0;
  }
}

/* Startseite: "Bestattungsvorbereitung" ueberlappt dort die Nachbarspalte.
   Gleiche Gesamtbreite, aber Spalten nach Inhalt, damit nichts ueberlappt. */
@media (min-width: 992px) {
  .geb-footer-nav {
    grid-template-columns: repeat(4, auto) !important;
    justify-content: space-between !important;
  }

  .geb-footer-nav ul ul {
    padding-left: 10px !important;
  }
}

/* Intro-Zeile: Bootstrap-Spaltenabstand (12px) wieder ausgleichen,
   damit Text und Bild buendig mit den Karten abschliessen */
.conv-intro {
  margin-left: -12px !important;
  margin-right: -12px !important;
}

/* ---------- Rangfolge: H1 im Hero groesser als die H2 (42px) ----------
   Desktop 54px, gleitend bis 32px auf dem Handy */
.container2 h1 {
  font-size: clamp(32px, 3.75vw, 54px) !important;
  line-height: 1.2 !important;
}

/* ---------- Icon an der Kante Hero / zweiter Abschnitt (wie Unterseiten der Hauptseite) ----------
   140px, linksbuendig zum Inhalt, ragt 40px in den Hero */
.geb-abschnitt-icon {
  position: relative;
  z-index: 5;
  display: block;
  width: 140px;
  height: 140px;
  margin: -40px 0 0 0;
}

.geb-abschnitt-icon + .conv-intro {
  padding-top: 24px !important;
}

/* Lotus-Bildmarke im Hero kleiner */
.conH .geb-bildmarke {
  width: 72px !important;
  height: 72px !important;
  margin-bottom: 20px !important;
}

@media (max-width: 767px) {
  .geb-abschnitt-icon {
    width: 100px;
    height: 100px;
    margin-top: -30px;
  }

  .conH .geb-bildmarke {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 16px !important;
  }
}

/* ---------- Zweiter Abschnitt weiss mit Icon an der Hero-Kante ----------
   Icon steht als erste Zeile IN .conv-intro; weisse Vollbreite per ::before,
   damit das Icon 40px in den Hero ragen kann (kein clip-path mehr) */
.conv-intro {
  position: relative;
  isolation: isolate;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  padding-top: 0 !important;
}

.conv-intro::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--geb-weiss);
  z-index: -1;
}

.conv-intro > .geb-icon-zeile {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px;
  margin-bottom: 24px;
}

.geb-icon-zeile .geb-abschnitt-icon {
  margin-top: -40px;
}

@media (max-width: 767px) {
  .geb-icon-zeile .geb-abschnitt-icon {
    margin-top: -30px;
  }

  .conv-intro > .geb-icon-zeile {
    margin-bottom: 20px;
  }
}

/* Kartenbereich ebenfalls weiss (Footer bleibt hellgrau wie auf der Hauptseite) */
body {
  background-color: var(--geb-weiss) !important;
}

/* ---------- Abstaende allgemein groesser ----------
   Ein Raster: Karten-Gap = Abstand zwischen den Kartengruppen */
:root {
  --geb-gap-karten: 40px;
  --geb-pad-karte: 44px;
  --geb-abstand-intro: 120px;
  --geb-abstand-cta: 100px;
}

@media (max-width: 767px) {
  :root {
    --geb-gap-karten: 24px;
    --geb-pad-karte: 28px;
    --geb-abstand-intro: 80px;
    --geb-abstand-cta: 64px;
  }
}

.conv-intro {
  padding-bottom: calc(var(--geb-abstand-intro) / 2) !important;
}

.conv-karten {
  gap: var(--geb-gap-karten) !important;
  margin: var(--geb-gap-karten) 0 0 !important;
}

.conv-intro + .conv-karten {
  margin-top: calc(var(--geb-abstand-intro) / 2) !important;
}

.conv-karte {
  padding: var(--geb-pad-karte) !important;
}

.conv-karte h2 {
  margin-bottom: 20px !important;
}

.conv-cta-band {
  margin-top: var(--geb-abstand-cta) !important;
}

/* H2-Ueberschriften in Staerke 300 */
h2,
.conv-haupttitel,
.conv-karte h2,
.conv-cta-titel {
  font-weight: 300 !important;
}

/* H3-H6 wie H2: Asar, Staerke 300 (aktuell nicht im Inhalt, vorsorglich) */
h3,
h4,
h5,
h6 {
  font-family: var(--geb-font-titel) !important;
  font-weight: 300 !important;
}

/* H1 ebenfalls Staerke 300 */
h1,
.container2 h1 {
  font-weight: 300 !important;
}

/* ---------- Footer: Text duenner wirkend, mehr Luft oben/unten ---------- */
.geb-footer {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.geb-footer-nav a {
  color: #3a3a3a !important;
}

.geb-footer-nav a:hover {
  color: var(--geb-gold) !important;
}

@media (max-width: 767px) {
  .geb-footer {
    padding-top: 56px !important;
    padding-bottom: 120px !important; /* inkl. Platz fuer den fixierten Anruf-Button */
  }
}

/* ---------- Karten hellgrau (#f4f4f4) mit schwarzer Schrift ---------- */
.conv-karte {
  background: var(--geb-hell) !important;
  color: var(--geb-schwarz) !important;
}

.conv-karte h2,
.conv-karte-text,
.conv-karte-text p {
  color: var(--geb-schwarz) !important;
}
