/* ================= 0) FONTS (lokal, DSGVO) ================================
   Fest in der CSS-Datei statt via PHP-Inline-Style: robust gegen Enfolds
   CSS-Merging/Minify, das wp_add_inline_style-Blöcke verschlucken kann.
   Absolute Pfade — WP liegt laut Playbook immer im Domain-Root. */
@font-face{font-family:'Libre Baskerville';src:url('/wp-content/themes/enfold-child/avia_fonts/librebaskerville-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Libre Baskerville';src:url('/wp-content/themes/enfold-child/avia_fonts/librebaskerville-italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap;}
@font-face{font-family:'Libre Baskerville';src:url('/wp-content/themes/enfold-child/avia_fonts/librebaskerville-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-Light.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Outfit';src:url('/wp-content/themes/enfold-child/avia_fonts/Outfit-ExtraBold.ttf') format('truetype');font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:'IBM Plex Mono';src:url('/wp-content/themes/enfold-child/avia_fonts/IBMPlexMono-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'IBM Plex Mono';src:url('/wp-content/themes/enfold-child/avia_fonts/IBMPlexMono-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}

/* ===========================================================================
   KERIMA FACHPERSONAL — Enfold Child Styles v1.0 (Avia-native)
   ===========================================================================
   Design-Basis: demo1.html (Relaunch 2026) — helles Design.
   Brand:  Olivgrün #69725f (Bildmarke) · Rost #7c423c
   Support: Sand #b7ac8a · Taupe #b19886 · Creme #efe1ce · Paper #fbfaf6
   Text:   Espresso #35261f
   Type:   Libre Baskerville (Display-Akzent) · Outfit (Grundschrift)

   Aufbau:
   A) Design-Tokens
   B) Globale Light-Base (sitewide)
   C) Enfold-Header (Topbar + Hauptmenü, hell)
   D) Enfold-Footer + Socket (Footer = Seite, olive-deep)
   E) Sektions-Framework (.upon-sec: Neutralisierung, Typo, Buttons)
   F) Sektionen: Hero / Values / Leistungen / Zielgruppen / Über uns /
      Jobs / Ablauf / FAQ / Kontakt / CTA-Band / Footer-Inhalt
   G) Responsive
   H) Gravity Forms (helles Kerima-Theme, inkl. Label-Fix)
   L) Mobile Bottom-Bar + Burger-Fix

   Verwendung im Avia Layout Builder:
   - Jede Farbsektion: Klassen  upon-sec upon-<name>  + sprechende id + aria_label
   - Inhalt in av_codeblock, HTML NUR über den TEXT-Tab einfügen
   =========================================================================== */

/* =========================== A) DESIGN-TOKENS ============================= */
:root{
  /* Brand */
  --olive:#69725f; --olive-deep:#4d5544; --olive-soft:#828c6e; --olive-tint:#eef0ea;
  --rust:#7c423c; --rust-bright:#9a564d; --rust-tint:#f4e9e6;
  --sand:#b7ac8a; --taupe:#b19886; --cream:#efe1ce; --cream-soft:#f7f0e4;
  --paper:#fbfaf6; --white:#ffffff;
  --espresso:#35261f; --ink:#3c352d; --ink-soft:#5e564b; --ink-mute:#8c8479;
  --line:#e8e3d8; --line-soft:#f0ece2;

  /* Akzent-Ableitungen (eine Stellschraube) */
  --accent:var(--olive);
  --accent-deep:var(--olive-deep);
  --accent-soft:var(--olive-soft);
  --accent-tint:var(--olive-tint);

  /* Typo-Skala — Hero-H1 auf ALLEN Seiten identisch (Playbook-Regel) */
  --display-hero: clamp(40px, 5.4vw, 68px);
  --display-l:    clamp(30px, 3.8vw, 46px);
  --display-m:    clamp(26px, 3vw, 38px);
  --fs-eyebrow: 12px;
  --fs-body:  17px;
  --fs-lead:  19px;
  --font-body:'Outfit', system-ui, sans-serif;
  --font-display:'Libre Baskerville', Georgia, serif;
  --font-mono:'IBM Plex Mono', ui-monospace, monospace;

  /* Radius + Rhythmus */
  --radius:18px;
  --radius-sm:12px;
  --pad-section: clamp(64px, 8vw, 118px);
  --maxw:1240px;
  --pad-x: clamp(20px, 5vw, 64px);
}

/* ======================= B) GLOBALE LIGHT-BASE ============================ */
html{
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}
#top #wrap_all{
  background-color: var(--paper);
  font-family: var(--font-body);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Enfold-Farbschemata hell überschreiben — eigene Sektions-BGs gewinnen */
#top .main_color,
#top .main_color .site-background{
  background-color: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
#top .main_color h1, #top .main_color h2, #top .main_color h3,
#top .main_color h4, #top .main_color h5, #top .main_color h6{
  color: var(--espresso);
}
#top .main_color a{ color: var(--accent); }
#top .main_color a:hover{ color: var(--accent-deep); }
#top #main{ background-color: var(--paper); }

/* Enfold Title-Bar aus (Titel kommen aus dem Content) */
#top .title_container,
#top #main > .title_container{ display: none !important; }
#top .header_color .title_container{ display: none !important; }

#top .alternate_color{
  background-color: var(--cream-soft);
  color: var(--ink);
  border-color: var(--line);
}
#top .alternate_color h1, #top .alternate_color h2, #top .alternate_color h3,
#top .alternate_color h4, #top .alternate_color h5, #top .alternate_color h6{
  color: var(--espresso);
}
#top .alternate_color a{ color: var(--accent); }

/* Headings sitewide: Outfit 600; Serif nur als bewusster Akzent (.serif/em) */
#top h1, #top h2, #top h3, #top h4{
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
::selection{ background: rgba(105,114,95,0.85); color: #fff; }

/* Du/Sie-Spans (Mechanik vorhanden, Kerima-Texte sind fix "Sie") */
body:not(.upon-sie) .an-sie{ display: none; }
body.upon-sie .an-du{ display: none; }

/* ========================= C) ENFOLD-HEADER =============================== */
/* C1) Topbar (#header_meta): Espresso-Leiste — links Infotext (Adresse · Zeiten),
   rechts Sekundäres Menü als Pills (Für Pflegeeinrichtungen · Für Pflegekräfte · Telefon) */
#top #header_meta{
  background-color: var(--espresso);
  border-bottom: none;
  min-height: 42px;
  box-shadow: none;
}
/* Container als Flex-Zeile: Infotext links, Menü rechts — unabhängig von
   Enfolds Floats/Zeilenhöhen, Pills bleiben innerhalb der Leiste */
#top #header_meta .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}
#top #header_meta .phone-info{
  float: none;
  order: -1;
  margin: 0;
  padding: 0;
}
#top #header_meta .phone-info,
#top #header_meta .phone-info span{
  color: #e9e3d7;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}
#top #header_meta .sub_menu{
  float: none;
  position: static;
  margin: 0 0 0 auto;
  padding: 0;
}
#top #header_meta .phone-info strong,
#top #header_meta .phone-info b{ font-weight: 400; color: #e9e3d7; }
#top #header_meta a{ color: #e9e3d7; opacity: 0.85; }
#top #header_meta a:hover{ opacity: 1; color: #fff; }
#top #header_meta ul.noLightbox li{ border: none; }
#top #header_meta .sub_menu > ul{
  display: flex;
  align-items: center;
  height: auto;
  margin: 0;
  float: none;
}
#top #header_meta .sub_menu > ul > li{
  border: none !important;
  padding: 0 2px !important;
  line-height: 1 !important;
  display: flex;
  align-items: center;
}
#top #header_meta .sub_menu > ul > li > a{
  color: #e9e3d7 !important;
  opacity: 0.85;
  font-size: 13px !important;
  font-weight: 500;
  display: inline-block;
  padding: 6px 14px !important;
  line-height: 1.2 !important;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease, opacity 0.18s ease;
}
#top #header_meta .sub_menu > ul > li > a:hover,
#top #header_meta .sub_menu > ul > li.current-menu-item > a,
#top #header_meta .sub_menu > ul > li.tb-active > a{
  background: rgba(255,255,255,0.1);
  opacity: 1;
}
/* Telefonnummer im Topbar-Menü fett: Menüpunkt bekommt CSS-Klasse "tb-tel" */
#top #header_meta .sub_menu > ul > li.tb-tel > a{ font-weight: 700; opacity: 1; }

/* C2) Hauptheader: hell, sticky, Blur */
#top #header{
  background-color: rgba(251,250,246,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 30px -22px rgba(53,38,31,0.5);
}
#top #header_main{ border-bottom: none; }
#top #header .container{ border: none; }

#top #header.av_header_transparency{
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Logo sauber eingepasst */
#top #header .logo{
  padding: 16px 0;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
}
#top #header .logo a{ height: 100%; display: flex; align-items: center; }
#top #header .logo img{
  height: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  object-fit: contain;
  object-position: left center;
}

/* Logo/Menü entkoppeln: Header-Container als Flex-Zeile (Desktop) */
@media (min-width: 990px){
  #top #header_main .container{
    display: flex;
    align-items: center;
  }
  #top #header_main .container > .inner-container{
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    align-items: center;
    align-self: stretch;
  }
  #top #header .logo{
    position: static;
    float: none;
    flex: 0 0 auto;
    margin-right: 36px;
    align-self: stretch;
  }
  #top #header .main_menu{
    position: static;
    float: none;
    clear: none;
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  #top #header .main_menu .av-main-nav-wrap{
    display: flex;
    align-items: center;
    float: none;
    position: static;
    margin: 0;
  }
  #top #header .av-main-nav{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  #top #header .av-main-nav > li{ float: none; }
  #top #header .av-main-nav > li.av-burger-menu-main{ display: none !important; }
  /* Geometrie hart normalisieren — Enfold-Höhen/-Paddings raus, Pill-Span bestimmt die Größe */
  #top #header .av-main-nav > li:not(.upon-menu-cta) > a{
    display: flex !important;
    align-items: center;
    height: auto !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Mobile: injizierte Elemente raus aus der Kopfleiste (erscheinen im Burger) */
@media (max-width: 989px){
  #top .av-main-nav > li.upon-menu-cta,
  #top .av-main-nav > li.upon-cmd-li,
  #top .av-main-nav > li.upon-theme-li,
  #top .av-main-nav > li.upon-anrede-li{ display: none; }
}

/* Hauptmenü: Pill-Hover wie Demo — Pill liegt auf .avia-menu-text (das <a>
   hat bei Enfold volle Headerhöhe, dort würde die Kapsel riesig) */
#top .av-main-nav > li > a{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--ink-soft) !important;
  white-space: nowrap;
  padding: 0 6px;
  background: transparent !important;
  transition: color 0.18s ease;
}
#top .av-main-nav > li:not(.upon-menu-cta) > a .avia-menu-text{
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  line-height: 1.2;
  transition: background 0.18s ease, color 0.18s ease;
}
#top .av-main-nav > li:not(.upon-menu-cta) > a:hover{ color: var(--espresso) !important; }
#top .av-main-nav > li:not(.upon-menu-cta) > a:hover .avia-menu-text{
  background: var(--accent-tint);
  color: var(--espresso);
}
/* CTA-Span neutral halten — die Kapsel ist der Button selbst */
#top .av-main-nav > li.upon-menu-cta > a .avia-menu-text{
  display: inline;
  padding: 0 !important;
  background: transparent !important;
  color: inherit;
}
#top .av-main-nav > li.current-menu-item > a,
#top .av-main-nav > li.current_page_item > a{
  color: var(--accent) !important;
  background: transparent;
}
/* Aktive Seite: nur Farbmarkierung (wie Demo) — keine Unterstreichung,
   die 2px-Border würde die vertikale Ausrichtung der Punkte verschieben */
#top .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top .av-main-nav > li.current_page_item > a .avia-menu-text{
  border-bottom: none !important;
  padding-bottom: 9px;
}
#top .av-main-nav > li > a .avia-menu-fx{ display: none; }

/* Submenü: weiße Karte */
#top #header .av-main-nav ul,
#top #header .av-main-nav .avia_mega_div{
  background: var(--white) !important;
  background-color: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(53,38,31,0.35) !important;
  padding: 6px 0;
}
#top #header .av-main-nav ul li{
  background: transparent !important;
  border: none !important;
}
#top #header .av-main-nav ul li a{
  background: transparent !important;
  background-color: transparent !important;
  color: var(--ink-soft) !important;
  border: none !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  height: auto !important;
  padding: 10px 18px !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
#top #header .av-main-nav ul li a:hover{
  background: var(--accent-tint) !important;
  color: var(--espresso) !important;
}
#top #header .av-main-nav ul li.current-menu-item > a{ color: var(--accent) !important; }

/* CTA im Menü: Menüpunkt mit CSS-Klasse "upon-menu-cta" (Kontakt aufnehmen) */
#top .av-main-nav > li.upon-menu-cta{
  display: flex;
  align-items: center;
  float: none;
}
#top .av-main-nav > li.upon-menu-cta > a{
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0 22px !important;
  margin-left: 12px;
  font-weight: 600;
  height: 42px !important;
  line-height: 42px !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}
#top .av-main-nav > li.upon-menu-cta > a:hover{
  background: var(--accent) !important;
  filter: brightness(1.07);
  transform: translateY(-1px);
}
#top .av-main-nav > li.upon-menu-cta > a .avia-menu-text{ border: none !important; }

/* Burger-Icon: Espresso */
#top #header .av-hamburger-inner,
#top #header .av-hamburger-inner::before,
#top #header .av-hamburger-inner::after{ background-color: var(--espresso); }

/* Burger-Overlay: hell (Paper), Espresso-Items */
#top .av-burger-overlay-bg{ background-color: rgba(53,38,31,0.4) !important; }
#top #av-burger-menu-ul li{ border-color: var(--line-soft) !important; background: transparent !important; }
#top #av-burger-menu-ul li a,
#top .av-burger-overlay #av-burger-menu-ul li > a,
#top .av-burger-overlay .av-burger-menu-main li > a,
#top .av-burger-overlay #av-burger-menu-ul li a .avia-menu-text{
  color: var(--espresso) !important;
  background: transparent !important;
  opacity: 1 !important;
}
#top .av-burger-overlay #av-burger-menu-ul li a:hover,
#top .av-burger-overlay #av-burger-menu-ul li a:hover .avia-menu-text{
  color: var(--accent) !important;
  background: transparent !important;
}
#top .av-burger-overlay #av-burger-menu-ul .sub-menu li a{ color: var(--ink-soft) !important; }
#top #av-burger-menu-ul li.upon-cmd-li{ display: none !important; }
#top #av-burger-menu-ul li.upon-anrede-li{
  display: flex !important;
  justify-content: center;
  padding: 18px 0 6px;
}
#top #av-burger-menu-ul li.upon-menu-cta{ display: block !important; margin-top: 14px; text-align: center; }
#top #av-burger-menu-ul li.upon-menu-cta > a{
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; line-height: 46px;
  padding: 0 26px;
  font-weight: 600;
}

/* ===================== D) ENFOLD-FOOTER + SOCKET ========================== */

/* D1) Footer als Seite (Enfold → Fußzeile → „Seite in Footer/Socket").
   Struktur aus footer-avia.txt: Sektionen upon-cta (Band) + upon-footer. */
#top .avia-section.upon-footer{
  background: var(--olive-deep) !important;
  color: #e6e8df;
  padding: clamp(48px, 6vw, 78px) 0;
  border: none;
}
#top .upon-footer .foot-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
#top .upon-footer .foot-brand img.f-logo{
  height: 42px; width: auto; margin-bottom: 20px;
}
#top .upon-footer .foot-brand p{
  font-size: 15px;
  line-height: 1.6;
  color: #bfc4b5;
  max-width: 280px;
}
#top .upon-footer h4,
#top .upon-footer .foot-col h4{
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aab09c;
  margin: 0 0 18px;
  font-weight: 600;
}
#top .upon-footer .foot-col a{
  display: block;
  font-size: 15.5px;
  color: #dfe2d8 !important;
  padding: 7px 0;
  text-decoration: none;
  transition: color 0.16s ease, padding-left 0.16s ease;
}
#top .upon-footer .foot-col a:hover{ color: #fff !important; padding-left: 4px; }
#top .upon-footer .foot-contact .fc{ font-size: 15.5px; color: #dfe2d8; margin-bottom: 12px; }
#top .upon-footer .foot-contact .fc b{ color: #fff; font-weight: 600; }
#top .upon-footer ul{ list-style: none !important; margin: 0 !important; padding: 0 !important; }
#top .upon-footer ul li{ list-style: none !important; margin: 0 !important; padding: 0 !important; }

/* D2) Klassischer Widget-Footer (Fallback) */
#top #footer{
  background-color: var(--olive-deep);
  border-top: none;
  padding: 56px 0 44px;
}
#top #footer .widget{ margin-top: 0; }
#top #footer .widgettitle,
#top #footer .widget h3,
#top #footer .widget h5{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aab09c;
  margin-bottom: 18px;
}
#top #footer,
#top #footer p{ color: #dfe2d8; font-size: 15px; }
#top #footer a{ color: #dfe2d8; transition: color 0.2s ease; }
#top #footer a:hover{ color: #fff; }
#top #footer .widget li{ list-style: none; padding: 5px 0; border: none; }
#top #footer .widget_nav_menu ul{ margin-left: 0; }

/* Socket */
#top #socket{
  background-color: var(--olive-deep);
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #aab09c;
  font-size: 13.5px;
  padding: 20px 0;
}
#top #socket .copyright{ color: #aab09c; }
#top #socket a{ color: #bfc4b5; }
#top #socket a:hover{ color: #fff; }
#top #socket .menu-item{ border: none; }

/* ================= E) SEKTIONS-FRAMEWORK (.upon-sec) ====================== */

/* --- Enfold-Wrapper neutralisieren: Layout kommt aus dem Modul-Markup --- */
#top .upon-sec .container{
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: none !important;
  float: none;
}
#top .upon-sec .template-page,
#top .upon-sec .content{
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  margin: 0 !important;
}
#top .upon-sec .container > .flex_column{
  margin: 0 !important;
  width: 100% !important;
}
#top .upon-sec .avia_codeblock_section,
#top .upon-sec .av_textblock_section{ width: 100%; }
#top .upon-sec .entry-content-wrapper{ padding: 0; }

/* --- Basis --- */
#top .avia-section.upon-sec{
  padding: var(--pad-section) 0;
  background-color: var(--paper);
  color: var(--ink);
  border: none;
  overflow: visible;
}
#top .upon-sec{
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#top .upon-sec h1, #top .upon-sec h2,
#top .upon-sec h3, #top .upon-sec h4{
  font-family: var(--font-body) !important;
  color: var(--espresso);
  margin: 0;
  font-weight: 600 !important;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
#top .upon-sec p{ margin: 0; }
#top .upon-sec b, #top .upon-sec strong{ color: var(--espresso); font-weight: 600; }
#top .upon-sec img{ max-width: 100%; display: block; object-fit: cover; }
#top .upon-sec ul{ margin: 0; padding: 0; }

/* Getönte Sektion (Creme) — Klasse zusätzlich zur Sektion: upon-tint */
#top .avia-section.upon-sec.upon-tint{ background-color: var(--cream-soft); }
/* Espresso-Sektion (Value-Strip u. ä.) */
#top .avia-section.upon-sec.upon-dark{ background-color: var(--espresso); color: #efe7d9; }

/* Container (Demo-Markup nutzt .wrap) */
#top .upon-sec .wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* --- Typo-Utilities --- */
/* !important nötig: die Basis-Heading-Regel oben setzt font-family !important */
#top .upon-sec .serif,
#top .upon-sec h1.serif, #top .upon-sec h2.serif,
#top .upon-sec h3.serif, #top .upon-sec h4.serif{
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
#top .upon-sec .mono{ font-family: var(--font-mono); }

/* Hero-H1: auf ALLEN Seiten identisch (Playbook-Typo-Regel).
   Unterlängen-Reserve gegen Clipping bei overflow:hidden-Reveals (A9). */
#top .upon-sec h1.hero-h1{
  font-size: var(--display-hero);
  color: var(--espresso);
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
#top .upon-sec h1.hero-h1 em{
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-display);
}
#top .upon-sec h1.hero-h1 .ln2{
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.62em;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  margin-top: 0.18em;
}

/* --- Eyebrow --- */
#top .upon-sec .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
#top .upon-sec .eyebrow::before{
  content: ""; display: inline-block;
  width: 26px; height: 2px; background: var(--accent);
}
#top .upon-sec.upon-dark .eyebrow{ color: var(--sand); }
#top .upon-sec.upon-dark .eyebrow::before{ background: var(--sand); }

/* --- Sektions-Kopf --- */
#top .upon-sec .sec-head{ max-width: 680px; }
#top .upon-sec .sec-head.center{ margin-inline: auto; text-align: center; }
#top .upon-sec .sec-head h2{ font-size: var(--display-l); color: var(--espresso); margin-top: 16px; }
#top .upon-sec .sec-head.compact h2{ font-size: var(--display-m); }
#top .upon-sec .sec-head p{ color: var(--ink-soft); font-size: 18.5px; margin-top: 18px; }

/* --- Buttons --- */
#top .upon-sec .btn{
  --bg: var(--accent); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg) !important;
  text-decoration: none !important;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
#top .upon-sec .btn:hover{ filter: brightness(1.07); transform: translateY(-1px); }
#top .upon-sec .btn .arw{ transition: transform 0.2s; }
#top .upon-sec .btn:hover .arw{ transform: translateX(3px); }
#top .upon-sec .btn--ghost{
  --bg: transparent; --fg: var(--espresso);
  background: transparent; border-color: var(--line); color: var(--espresso) !important;
}
#top .upon-sec .btn--ghost:hover{ border-color: var(--accent); color: var(--accent) !important; filter: none; }
#top .upon-sec .btn--light{ --bg:#fff; background:#fff; border-color:#fff; color: var(--espresso) !important; }
#top .upon-sec .btn--outline-light{
  --bg: transparent; background: transparent;
  border-color: rgba(255,255,255,0.45); color: #fff !important;
}
#top .upon-sec .btn--outline-light:hover{ border-color: #fff; background: rgba(255,255,255,0.08); filter: none; }
#top .upon-sec .btn--sm{ padding: 11px 20px; font-size: 14px; }
#top .upon-sec .cta-row{ display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* Abstand, wenn die Button-Zeile direkt auf einen Sektions-Kopf folgt
   (z. B. „So bewerben Sie sich“ auf den Stellenseiten) */
#top .upon-sec .sec-head + .cta-row{ margin-top: 32px; }

#top .upon-sec .link-arw{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--accent) !important;
  text-decoration: none !important;
}
#top .upon-sec .link-arw .arw{ transition: transform 0.2s; }
#top .upon-sec .link-arw:hover .arw{ transform: translateX(4px); }

/* --- Bild-Platzhalter (bis echte Motive vorliegen): Streifen + Tint --- */
#top .upon-sec .ph{
  background-color: color-mix(in srgb, var(--accent) 11%, #fff);
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--accent) 26%, transparent) 12px 13px);
  border-radius: var(--radius);
}

/* --- Scroll-Reveal (Klasse .reveal am Element, js/upon.js setzt .in) --- */
#top .reveal{ opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
#top .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  #top .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ============================ F) SEKTIONEN ================================ */

/* ------------------------------- HERO (upon-hero) ------------------------ */
#top .avia-section.upon-hero{ padding: clamp(48px, 6vw, 84px) 0; overflow: hidden; }
#top .upon-hero .hero-grid{
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
#top .upon-hero .hero-copy{ max-width: 560px; }
#top .upon-hero h1.hero-h1{ margin-top: 22px; }
#top .upon-hero p.lead{ font-size: var(--fs-lead); color: var(--ink-soft); margin-top: 24px; max-width: 500px; }
#top .upon-hero .cta-row{ margin-top: 34px; }
#top .upon-hero .audience-pills{ display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
#top .upon-hero .apill{
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px;
}
#top .upon-hero .apill b{ color: var(--espresso); font-weight: 600; }
#top .upon-hero .apill .ic{ width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
#top .upon-hero .apill .ic.alt{ background: var(--rust); }

#top .upon-hero .hero-media{ position: relative; }
#top .upon-hero .hero-media img.frame-main,
#top .upon-hero .hero-media .frame-main{
  width: 100%;
  height: clamp(380px, 46vw, 560px);
  border-radius: var(--radius);
  object-fit: cover;
}
#top .upon-hero .hero-media .badge{
  position: absolute; left: -22px; bottom: 34px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
  box-shadow: 0 24px 50px -28px rgba(53,38,31,0.5);
  max-width: 230px;
}
#top .upon-hero .hero-media .badge .num{ font-family: var(--font-display); font-size: 30px; color: var(--accent); line-height: 1; }
#top .upon-hero .hero-media .badge .lbl{ font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.35; }
#top .upon-hero .hero-media .floatmark{ position: absolute; right: -26px; top: -26px; width: 96px; height: 96px; opacity: 0.16; }
#top .upon-hero .hero-media .floatmark img,
#top .upon-hero .hero-media .floatmark svg{ width: 100%; height: 100%; }

/* ----------------------- VALUE-STRIP (upon-values) ----------------------- */
#top .avia-section.upon-values{ padding: 0; background-color: var(--espresso); color: #efe7d9; }
#top .upon-values .values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-block: 30px;
}
#top .upon-values .vitem{ display: flex; gap: 14px; align-items: flex-start; }
#top .upon-values .vitem .vic{
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: var(--sand);
}
#top .upon-values .vitem .vic svg{ width: 20px; height: 20px; }
#top .upon-values .vitem p{ font-size: 14.5px; line-height: 1.4; color: #efe7d9; }
#top .upon-values .vitem p b{ color: #fff; font-weight: 600; display: block; font-size: 15px; margin-bottom: 1px; }

/* --------------------- LEISTUNGS-/INFO-KARTEN (.svc) ---------------------
   Wiederverwendbar in jeder Sektion (Startseite, Hubs, Über uns). */
#top .upon-sec .svc-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 54px;
}
#top .upon-leistungen .svc{
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
#top .upon-leistungen .svc:hover{
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -40px rgba(53,38,31,0.55);
  border-color: var(--accent-soft);
}
#top .upon-leistungen .svc .num{ font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); font-weight: 500; }
#top .upon-leistungen .svc .svc-ic{
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center; margin: 18px 0 22px;
}
#top .upon-leistungen .svc .svc-ic svg{ width: 27px; height: 27px; }
#top .upon-leistungen .svc h3{ font-size: 23px; color: var(--espresso); margin-bottom: 12px; font-weight: 600; }
#top .upon-leistungen .svc p{ color: var(--ink-soft); font-size: 16px; flex: 1; }
#top .upon-leistungen .svc .svc-link{ margin-top: 22px; }
#top .upon-leistungen .svc::after{
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
#top .upon-leistungen .svc:hover::after{ transform: scaleX(1); }

/* -------------------- ZIELGRUPPEN (upon-zielgruppen) --------------------- */
#top .upon-zielgruppen .aud-tabs{
  display: inline-flex; gap: 6px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px; margin-top: 30px;
}
#top .upon-zielgruppen .aud-tabs button{
  border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 12px 26px; border-radius: 999px; color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
#top .upon-zielgruppen .aud-tabs button.on{ background: var(--accent); color: #fff; }
#top .upon-zielgruppen .aud-panel{ display: none; margin-top: 44px; }
#top .upon-zielgruppen .aud-panel.on{
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
  animation: upon-fade 0.4s ease;
}
@keyframes upon-fade{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
#top .upon-zielgruppen .aud-text h3{ font-size: var(--display-m); color: var(--espresso); margin-bottom: 18px; }
#top .upon-zielgruppen .aud-text .aud-lead{ color: var(--ink-soft); font-size: 18px; margin-bottom: 26px; }
#top .upon-sec .aud-list{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
#top .upon-sec .aud-list li{
  list-style: none; display: flex; gap: 13px; align-items: flex-start;
  font-size: 16.5px; color: var(--ink);
}
#top .upon-sec .aud-list .ck{
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center; margin-top: 1px;
}
#top .upon-sec .aud-list .ck svg{ width: 13px; height: 13px; }
#top .upon-sec .role-chips{ display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
#top .upon-sec .role-chips span{
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px;
}
#top .upon-zielgruppen .aud-media{ position: relative; }
#top .upon-zielgruppen .aud-media img,
#top .upon-zielgruppen .aud-media .ph{ width: 100%; height: clamp(300px, 40vw, 440px); border-radius: var(--radius); }
#top .upon-zielgruppen .aud-media .tag{
  position: absolute; z-index: 3; top: 18px; left: 18px;
  background: rgba(53,38,31,0.82); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ------------------------ ÜBER UNS (upon-ueber) -------------------------- */
#top .upon-ueber .haltung-grid{
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 72px); align-items: center;
}
#top .upon-ueber .haltung-media{ position: relative; }
#top .upon-ueber .haltung-media img,
#top .upon-ueber .haltung-media .ph{ width: 100%; height: clamp(380px, 46vw, 560px); border-radius: var(--radius); }
#top .upon-ueber .haltung-media .quote-card{
  position: absolute; right: -20px; bottom: 30px; max-width: 260px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-sm); padding: 22px 24px;
}
#top .upon-ueber .haltung-media .quote-card .q{ font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: #fff; }
#top .upon-ueber .haltung-media .quote-card .who{ font-size: 13px; opacity: 0.85; margin-top: 12px; }
#top .upon-ueber .haltung-text h2{ font-size: var(--display-l); color: var(--espresso); margin-top: 16px; }
#top .upon-ueber .haltung-text p{ color: var(--ink-soft); margin-top: 20px; font-size: 17.5px; }
#top .upon-ueber .stat-row{ display: flex; gap: 38px; margin-top: 34px; flex-wrap: wrap; }
#top .upon-ueber .stat .sn{ font-family: var(--font-display); font-size: 40px; color: var(--accent); line-height: 1; }
#top .upon-ueber .stat .sl{ font-size: 14px; color: var(--ink-soft); margin-top: 6px; max-width: 150px; }
#top .upon-ueber .haltung-text .btn{ margin-top: 34px; }

/* --------------------------- JOBS (upon-jobs) ---------------------------- */
#top .upon-sec .jobs-top{
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap;
}
#top .upon-sec .job-filter{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
#top .upon-sec .job-filter button{
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--ink-soft); padding: 9px 17px; border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
#top .upon-sec .job-filter button.on,
#top .upon-sec .job-filter button:hover{ background: var(--accent); color: #fff; border-color: var(--accent); }
#top .upon-sec .job-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
#top .upon-sec .job{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
#top .upon-sec .job:hover{
  border-color: var(--accent-soft);
  box-shadow: 0 26px 54px -42px rgba(53,38,31,0.5);
  transform: translateY(-3px);
}
#top .upon-sec .job .jtype{ font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
#top .upon-sec .job h3{ font-size: 21px; color: var(--espresso); margin: 12px 0 16px; }
#top .upon-sec .job h3 a{ color: var(--espresso) !important; text-decoration: none !important; }
#top .upon-sec .job h3 a:hover{ color: var(--accent) !important; }
#top .upon-sec .job .jdesc{ color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
#top .upon-sec .job .jmeta{ display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
#top .upon-sec .job .jmeta span{ display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); }
#top .upon-sec .job .jmeta svg{ width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }
#top .upon-sec .job .jfoot{
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--line-soft);
}
#top .upon-sec .job .jfoot .apply{
  font-weight: 600; font-size: 15px; color: var(--accent) !important;
  display: inline-flex; gap: 7px; align-items: center;
  text-decoration: none !important;
}
#top .upon-sec .job:hover .apply .arw{ transform: translateX(3px); }
#top .upon-sec .jobs-all{
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  margin-top: 42px; text-align: center;
}
#top .upon-sec .jobs-all p{ color: var(--ink-soft); font-size: 16.5px; max-width: 560px; }

/* ------------------------- ABLAUF (upon-ablauf) -------------------------- */
#top .upon-sec .steps{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 54px;
}
#top .upon-sec .step{ position: relative; }
#top .upon-sec .step .sno{
  font-family: var(--font-display); font-size: 15px; color: #fff;
  background: var(--accent); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
}
#top .upon-sec .step h3{ font-size: 20px; color: var(--espresso); margin-bottom: 10px; }
#top .upon-sec .step p{ color: var(--ink-soft); font-size: 15.5px; }
#top .upon-sec .step:not(:last-child)::after{
  content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

/* ---------------------------- FAQ (upon-faq) ------------------------------ */
/* Natives <details> — kein JS (Playbook Kap. 9) */
#top .upon-sec .faq-list{ max-width: 820px; margin: 44px auto 0; }
#top .upon-sec details.faq-item{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0; margin-bottom: 12px;
}
#top .upon-sec details.faq-item[open]{ border-color: var(--accent-soft); }
#top .upon-sec .faq-item summary{
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-weight: 600; font-size: 17px; color: var(--espresso);
}
#top .upon-sec .faq-item summary::-webkit-details-marker{ display: none; }
#top .upon-sec .faq-item summary::after{
  content: "+"; font-size: 22px; font-weight: 400; color: var(--accent);
  line-height: 1; transition: transform 0.2s ease;
}
#top .upon-sec details[open] summary::after{ transform: rotate(45deg); }
#top .upon-sec .faq-a{ padding: 0 24px 22px; color: var(--ink-soft); font-size: 16px; }
#top .upon-sec .faq-a p + p{ margin-top: 10px; }

/* ------------------------- KONTAKT (upon-kontakt) ------------------------ */
#top .upon-kontakt .contact-grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 68px);
}
#top .upon-kontakt .contact-info h2{ font-size: var(--display-l); color: var(--espresso); margin-top: 16px; }
#top .upon-kontakt .contact-info p.intro{ color: var(--ink-soft); font-size: 18px; margin-top: 18px; max-width: 440px; }
#top .upon-kontakt .cdetails{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 38px; }
#top .upon-kontakt .cdetail .cl{
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 7px;
}
#top .upon-kontakt .cdetail .cv{ font-size: 17px; color: var(--espresso); font-weight: 500; }
#top .upon-kontakt .cdetail .cv a{ color: var(--espresso) !important; text-decoration: none; }
#top .upon-kontakt .cdetail .cv a:hover{ color: var(--accent) !important; }
#top .upon-kontakt .cdetail .cv small{ display: block; font-size: 14px; color: var(--ink-soft); font-weight: 400; }
#top .upon-kontakt .cextra{ display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
#top .upon-kontakt .cextra a{
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--espresso) !important;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 18px;
  text-decoration: none !important;
  transition: border-color 0.18s ease, color 0.18s ease;
}
#top .upon-kontakt .cextra a:hover{ border-color: var(--accent); color: var(--accent) !important; }
/* Formular-Karte: Wrapper um das GF-Formular (Codeblock: <div class="form-card">[gravityform …]</div>) */
#top .upon-kontakt .form-card{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
}

/* ------------------------- CTA-BAND (upon-cta) --------------------------- */
#top .avia-section.upon-cta{ background: var(--accent) !important; color: #fff; padding: 0; }
#top .upon-cta .cta-grid{
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 34px; align-items: center;
  padding-block: clamp(48px, 6vw, 76px);
}
#top .upon-cta h2{ font-size: clamp(30px, 4vw, 50px); color: #fff; }
#top .upon-cta p{ color: rgba(255,255,255,0.85); font-size: 18px; margin-top: 16px; max-width: 430px; }
#top .upon-cta .cta-actions{ display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 861px){ #top .upon-cta .cta-actions{ align-items: flex-end; } }
#top .upon-cta .cta-actions .btn{ width: fit-content; }

/* ============================ G) RESPONSIVE =============================== */
@media (max-width: 1080px){
  #top .upon-hero .hero-grid{ grid-template-columns: 1fr 1fr; }
  #top .upon-values .values-grid{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
  #top .upon-leistungen .svc-grid,
  #top .upon-sec .job-grid{ grid-template-columns: 1fr 1fr; }
  #top .upon-sec .steps{ grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  #top .upon-sec .step:not(:last-child)::after{ display: none; }
}
@media (max-width: 989px){
  #top .upon-hero .hero-grid{ grid-template-columns: 1fr; }
  #top .upon-hero .hero-media{ order: -1; }
  #top .upon-hero .hero-media img.frame-main,
  #top .upon-hero .hero-media .frame-main{ aspect-ratio: 16/11; height: clamp(260px, 58vw, 420px); }
  #top .upon-hero .hero-media .badge{ position: static; margin-top: 16px; max-width: none; }
  #top .upon-ueber .haltung-grid,
  #top .upon-kontakt .contact-grid,
  #top .upon-zielgruppen .aud-panel.on,
  #top .upon-cta .cta-grid{ grid-template-columns: 1fr; gap: 34px; }
  #top .upon-ueber .haltung-media{ order: -1; }
  #top .upon-ueber .haltung-media .quote-card{ position: static; margin-top: 16px; max-width: none; }
  #top .upon-cta .cta-actions{ align-items: flex-start; }
  #top .upon-footer .foot-grid{ grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  #top .upon-footer .foot-brand{ grid-column: 1 / -1; }
}
@media (max-width: 600px){
  #top .upon-leistungen .svc-grid,
  #top .upon-sec .job-grid,
  #top .upon-sec .steps,
  #top .upon-values .values-grid,
  #top .upon-kontakt .cdetails{ grid-template-columns: 1fr; }
  #top .upon-footer .foot-grid{ grid-template-columns: 1fr; }
}

/* ============== H) GRAVITY FORMS — HELLES KERIMA-THEME ==================== */
/* Gilt für alle GF-Formulare (Kontakt, Bewerbung, Personalanfrage). */

/* Theme-Framework-Variablen (GF 2.7+) */
#top .gform-theme.gform-theme--framework,
#top .gform_wrapper{
  --gf-color-primary: var(--accent);
  --gf-color-primary-contrast: #ffffff;
  --gf-ctrl-border-color: var(--line);
  --gf-ctrl-bg-color: var(--paper);
  --gf-ctrl-color: var(--espresso);
  --gf-ctrl-radius: 12px;
}
#top .gform_wrapper{ color: var(--ink); font-family: var(--font-body); }

/* Labels + Beschreibungen.
   WICHTIG (A8): Enfold base.css setzt "#top label span{ color:#444 }" — GF
   rendert Labeltext als <span class="gform-field-label__text">, daher die
   Spans explizit mitfärben. */
#top .gform_wrapper .gfield_label,
#top .gform_wrapper legend.gfield_label,
#top .gform_wrapper .gform-field-label,
#top .gform_wrapper label span,
#top .gform_wrapper legend span,
#top .gform_wrapper .gform-field-label__text{
  color: var(--ink-soft) !important;
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}
#top .gform_wrapper .gfield_description,
#top .gform_wrapper .gform_required_legend,
#top .gform_wrapper .gfield_consent_description{
  color: var(--ink-mute) !important;
  font-size: 13px !important;
}
#top .gform_wrapper .gfield_required,
#top .gform_wrapper .gfield_required span,
#top .gform_wrapper .gfield_required_asterisk{ color: var(--rust-bright) !important; }

/* Eingabefelder */
#top .gform_wrapper input[type="text"],
#top .gform_wrapper input[type="email"],
#top .gform_wrapper input[type="tel"],
#top .gform_wrapper input[type="url"],
#top .gform_wrapper input[type="number"],
#top .gform_wrapper input[type="date"],
#top .gform_wrapper select,
#top .gform_wrapper textarea{
  width: 100%;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  color: var(--espresso) !important;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
#top .gform_wrapper input:focus,
#top .gform_wrapper select:focus,
#top .gform_wrapper textarea:focus{
  outline: none !important;
  border-color: var(--accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px var(--accent-tint) !important;
}
#top .gform_wrapper textarea{ resize: vertical; min-height: 120px; }
#top .gform_wrapper ::placeholder{ color: var(--ink-mute); opacity: 1; }

/* Checkboxen/Radios (Consent) */
#top .gform_wrapper input[type="checkbox"],
#top .gform_wrapper input[type="radio"]{ accent-color: var(--accent); width: 16px; height: 16px; }
#top .gform_wrapper .gfield_consent_label{ color: var(--ink-soft) !important; font-size: 13.5px; line-height: 1.5; }
#top .gform_wrapper .gfield_consent_label a{ color: var(--accent) !important; text-decoration: underline; }

/* Submit als Kerima-Button */
#top .gform_wrapper .gform_footer input[type="submit"],
#top .gform_wrapper .gform-button,
#top .gform_wrapper button.gform_button{
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em;
  padding: 15px 26px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
#top .gform_wrapper .gform_footer input[type="submit"]:hover,
#top .gform_wrapper .gform-button:hover{ filter: brightness(1.07); transform: translateY(-1px); }

/* Validierung */
#top .gform_wrapper .gfield_error input,
#top .gform_wrapper .gfield_error textarea,
#top .gform_wrapper .gfield_error select{ border-color: var(--rust-bright) !important; }
#top .gform_wrapper .gfield_validation_message,
#top .gform_wrapper .validation_message{
  color: var(--rust) !important;
  background: var(--rust-tint) !important;
  border: 1px solid color-mix(in srgb, var(--rust) 30%, transparent) !important;
  border-radius: 10px;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
}
#top .gform_wrapper .gform_validation_errors{
  background: var(--rust-tint) !important;
  border: 1px solid color-mix(in srgb, var(--rust) 30%, transparent) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
#top .gform_wrapper .gform_validation_errors > h2{ color: var(--rust) !important; font-size: 15px !important; }

/* Bestätigung */
#top .gform_confirmation_message{
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  color: var(--espresso);
  font-size: 16px;
}

/* ================= L) MOBILE BOTTOM-BAR + BURGER-FIX ====================== */

/* L1) Mobile Bottom-Bar (Feature 'mobile_bar', js/upon.js baut das Markup) */
#top .upon-mobile-bar{ display: none; }
@media (max-width: 989px){
  #top .upon-mobile-bar{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 500;
    display: flex;
    background: var(--espresso);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 0 0 env(safe-area-inset-bottom);
  }
  #top .upon-mobile-bar a{
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px 12px;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #e9e3d7 !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
  }
  #top .upon-mobile-bar a + a{ border-left: 1px solid rgba(255,255,255,0.1); }
  #top .upon-mobile-bar a svg{ width: 20px; height: 20px; color: var(--sand); }
  #top .upon-mobile-bar a.upon-mb-cta{
    background: linear-gradient(180deg, rgba(105,114,95,0.55), rgba(105,114,95,0.25));
    box-shadow: inset 0 2px 0 var(--olive-soft);
    color: #fff !important;
    font-weight: 600;
  }
  #top .upon-mobile-bar a.upon-mb-cta svg{ color: #fff; }
  #top .upon-mobile-bar a:active{ background: rgba(255,255,255,0.06); }
  /* A6-Fallback: Platz unterm Socket, damit Impressum/Datenschutz nie
     verdeckt werden (upon.js setzt zusätzlich die echte Bar-Höhe inline) */
  body.upon-has-mobile-bar #top #socket{
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }
}

/* L2) Burger-Overlay-Fix (A7): Enfold hält Items per Animations-Opacity
   unsichtbar / kollabiert den Container — hart erzwingen, helle Fassung */
@media (max-width: 989px){
  #top .av-burger-overlay,
  #top .av-burger-overlay-scroll{ background: var(--paper) !important; }
  #top .av-burger-overlay-active .av-burger-overlay,
  #top .av-burger-overlay{
    height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
  }
  #top .av-burger-overlay-scroll,
  #top .av-burger-overlay .av-burger-overlay-inner{
    height: auto !important;
    max-height: 100% !important;
    min-height: 60vh !important;
    overflow-y: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #top .av-burger-overlay #av-burger-menu-ul,
  #top .av-burger-overlay #av-burger-menu-ul li{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    border-color: var(--line-soft) !important;
  }
  #top .av-burger-overlay #av-burger-menu-ul li a,
  #top .av-burger-overlay #av-burger-menu-ul li a *{
    color: var(--espresso) !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
  }
  #top .av-burger-overlay #av-burger-menu-ul > li > a{
    font-size: 19px !important;
    font-weight: 500 !important;
    padding: 14px 12px !important;
  }
}

/* ================= M) UNTERSEITEN-BAUSTEINE =============================== */
#top .avia-section.upon-shero{ padding: clamp(44px, 5.5vw, 72px) 0; }
#top .upon-shero .hero-copy{ max-width: 800px; }
#top .upon-shero h1.hero-h1{ margin-top: 22px; }
#top .upon-shero p.lead{ font-size: var(--fs-lead); color: var(--ink-soft); margin-top: 22px; max-width: 680px; }
#top .upon-shero .cta-row{ margin-top: 30px; }
#top .upon-shero .role-chips{ margin-top: 28px; margin-bottom: 0; }
#top .avia-section.upon-sec.upon-flush{ padding-top: 0; }
#top .upon-sec .svc-grid.two{ grid-template-columns: 1fr 1fr; }
#top .upon-sec .job-grid.two{ grid-template-columns: 1fr 1fr; }
#top .upon-sec .job-grid.four{ grid-template-columns: repeat(4, 1fr); }
#top .upon-sec .job-grid.four .job{ padding: 24px 22px; }
#top .upon-sec .aud-list.cols{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
#top .upon-sec .duo-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
#top .upon-sec .duo-grid .aud-list{ margin-top: 24px; }
#top .upon-cta .cta-grid h2.cta-sm{ font-size: var(--display-m); }
#top .upon-kontakt .closing{ margin-top: 40px; color: var(--ink-soft); font-size: 16.5px; }
#top .upon-footer .foot-brand img.f-logo{ filter: brightness(0) invert(1); }
@media (max-width: 989px){
  #top .upon-sec .svc-grid.two,
  #top .upon-sec .job-grid.two,
  #top .upon-sec .duo-grid,
  #top .upon-sec .aud-list.cols{ grid-template-columns: 1fr; }
}
@media (max-width: 1200px){
  #top .upon-sec .job-grid.four{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  #top .upon-sec .job-grid.four{ grid-template-columns: 1fr; }
}

#top .upon-kontakt .form-card .upon-form-privacy{
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
  margin: 4px 0 0;
}
#top .upon-kontakt .form-card .upon-form-privacy a{ color: var(--accent-deep); text-decoration: underline; }

/* Rollenauswahl als Button-Paar (wie Demo) */
#top .form-card .upon-role-switch .gfield_radio{
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
#top .form-card .upon-role-switch .gchoice{ margin: 0; }
#top .form-card .upon-role-switch .gchoice input[type=radio]{
  position: absolute; opacity: 0; pointer-events: none;
}
#top .form-card .upon-role-switch .gchoice label{
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 10px; margin: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--ink-soft); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 12px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#top .form-card .upon-role-switch .gchoice label:hover{ border-color: var(--accent); color: var(--espresso); }
#top .form-card .upon-role-switch .gchoice input[type=radio]:checked + label{
  background: var(--accent-tint); border-color: var(--accent-deep); color: var(--espresso);
  box-shadow: inset 0 0 0 1px var(--accent-deep);
}
#top .form-card .upon-role-switch .gchoice input[type=radio]:focus-visible + label{
  outline: 2px solid var(--accent-deep); outline-offset: 2px;
}

/* ================= N) BILD-LAYOUTS UNTERSEITEN ============================ */
#top .upon-shero .shero-grid{
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
#top .upon-shero .shero-media img,
#top .upon-shero .shero-media .ph{
  width: 100%; height: clamp(280px, 32vw, 420px);
  border-radius: var(--radius); object-fit: cover; display: block;
}
#top .upon-sec .split-grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
#top .upon-sec .split-media img,
#top .upon-sec .split-media .ph{
  width: 100%; height: clamp(300px, 36vw, 460px);
  border-radius: var(--radius); object-fit: cover; display: block;
}
#top .upon-sec .split-grid .aud-list{ margin-top: 24px; }
#top .upon-sec .split-grid .sec-head p{ font-size: 17px; }
#top .upon-sec .ph{ position: relative; }
#top .upon-sec .ph .ph-note{
  position: absolute; right: 12px; bottom: 12px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--accent-deep); background: rgba(255,255,255,0.78);
  padding: 4px 10px; border-radius: 8px;
}
@media (max-width: 989px){
  #top .upon-shero .shero-grid,
  #top .upon-sec .split-grid{ grid-template-columns: 1fr; gap: 28px; }
  #top .upon-shero .shero-media img,
  #top .upon-shero .shero-media .ph{ height: clamp(220px, 48vw, 320px); }
  #top .upon-sec .split-media img,
  #top .upon-sec .split-media .ph{ height: clamp(240px, 52vw, 340px); }
}

/* ============ O) CTA-BAND MIT BILD (Abspann-Variante 1b) ================== */
#top .upon-cta .cta-grid.with-media{ grid-template-columns: 1fr 0.9fr; }
#top .upon-cta .cta-btns{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
#top .upon-cta .cta-media img,
#top .upon-cta .cta-media .ph{
  width: 100%; height: clamp(240px, 28vw, 360px);
  border-radius: var(--radius); object-fit: cover; display: block;
  box-shadow: 0 30px 60px -35px rgba(27,32,20,0.6);
}
#top .upon-cta .cta-media .ph{
  background-color: var(--olive-soft);
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.22) 12px 13px);
}
@media (max-width: 989px){
  #top .upon-cta .cta-grid.with-media{ grid-template-columns: 1fr; }
}
