/*
Theme Name: Salient Child
Template: salient
Description: One Solution Group – Child Theme (Design-System Web)
Version: 1.0.0
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
  --osg-night: #1b2632;
  --osg-blue: #2c3b4d;
  --osg-taupe: #c6c2ba;
  --osg-beige: #efede9;
  --osg-gold: #f8ba7b;
  --osg-white: #ffffff;
  --osg-ink: #1b2632;
  --osg-text: #3b4652;
  --osg-muted: #4f5964;
  --osg-line-dark: rgba(239, 237, 233, 0.16);
  --osg-beige-80: rgba(239, 237, 233, 0.88);

  --osg-orb: 'Orbitron', 'Montserrat', sans-serif;
  --osg-mont: 'Montserrat', Arial, sans-serif;
  --osg-body: 'Open Sans', Arial, sans-serif;
  --osg-pop: 'Poppins', Arial, sans-serif;
  --osg-serif: Georgia, 'Times New Roman', serif;

  --osg-max: 1200px;
  --osg-sec: 140px;
  --osg-hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

@media (max-width: 1024px) { :root { --osg-sec: 104px; } }
@media (max-width: 768px)  { :root { --osg-sec: 80px; } }

/* ==========================================================================
   1. Salient-Grundlagen (Seitengrund, Header, Off-Canvas, Rows)
   ========================================================================== */
body,
#ajax-content-wrap .container-wrap {
  background-color: var(--osg-beige);
}

/* Header */
#header-outer {
  background-color: var(--osg-beige) !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--osg-taupe) !important;
}
#header-outer .slide-out-widget-area-toggle a {
  font-family: var(--osg-pop) !important;
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: var(--osg-ink) !important;
}
#header-outer .slide-out-widget-area-toggle .lines-button .lines,
#header-outer .slide-out-widget-area-toggle .lines-button .lines:before,
#header-outer .slide-out-widget-area-toggle .lines-button .lines:after {
  background-color: var(--osg-ink) !important;
}

/* Off-Canvas-Menü (Slide out from right) */
#slide-out-widget-area-bg.slide-out-from-right {
  background-color: rgba(239, 237, 233, 0.9) !important;
}
#slide-out-widget-area.slide-out-from-right {
  background-color: var(--osg-night) !important;
  background-image: none !important;
}
#slide-out-widget-area .off-canvas-menu-container ul.menu li a {
  font-family: var(--osg-mont) !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  color: var(--osg-beige) !important;
}
#slide-out-widget-area .off-canvas-menu-container ul.menu li a:hover {
  color: var(--osg-white) !important;
}
/* Salients eigene Hover-/Aktiv-Linien im Off-Canvas abschalten */
#slide-out-widget-area .off-canvas-menu-container ul.menu li,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a * { border-bottom: 0 !important; box-shadow: none !important; background-image: none !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li::after,
#slide-out-widget-area .off-canvas-menu-container ul.menu li::before,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a::after,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a *::after,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a *::before,
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu::after,
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu::before { display: none !important; }
/* Aktive Seite: goldene Linie, von Salient unabhängig */
#slide-out-widget-area .off-canvas-menu-container ul.menu li.current-menu-item > a,
#slide-out-widget-area .off-canvas-menu-container ul.menu li.current_page_item > a {
  color: var(--osg-beige) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--osg-gold) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 10px !important;
}
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu li.current-menu-item > a { text-underline-offset: 6px !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li a:hover,
#slide-out-widget-area .off-canvas-menu-container ul.menu li.current-menu-item > a:hover,
#slide-out-widget-area .off-canvas-menu-container ul.menu li.current_page_item > a:hover,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"]:hover,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"]:hover * { color: var(--osg-gold) !important; }
#slide-out-widget-area .widget h4 {
  font-family: var(--osg-orb);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-gold) !important;
}
#slide-out-widget-area .widget,
#slide-out-widget-area .widget p,
#slide-out-widget-area .widget a {
  color: var(--osg-beige-80) !important;
  font-family: var(--osg-body);
  font-size: 15px;
  line-height: 1.75;
}
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a {
  color: var(--osg-beige) !important;
}
#slide-out-widget-area .slide_out_area_close {
  background-color: var(--osg-gold) !important;
}
#slide-out-widget-area .slide_out_area_close .close-line {
  background-color: var(--osg-night) !important;
}
/* Unterpunkte kleiner, Anker-Link "Leistungen" nie als aktiv markieren */
#slide-out-widget-area .off-canvas-menu-container ul.menu ul.sub-menu li a { font-size: 26px !important; line-height: 1.5 !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"],
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"] * { box-shadow: none !important; border-bottom: 0 !important; text-decoration: none !important; background-image: none !important; color: var(--osg-beige) !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"]::after,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"] *::after,
#slide-out-widget-area .off-canvas-menu-container ul.menu li a[href$="#leistungen"] *::before { display: none !important; }
@media (max-width: 768px) {
  #slide-out-widget-area .off-canvas-menu-container ul.menu li a { font-size: 28px !important; }
  #slide-out-widget-area .off-canvas-menu-container ul.menu ul.sub-menu li a { font-size: 20px !important; }
}

/* Off-Canvas: Struktur und Gold-Akzente */
#slide-out-widget-area .off-canvas-menu-container ul.menu > li > a:hover { color: var(--osg-gold) !important; }
/* Unterpunkte immer offen, Pfeil weg */
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children > ul.sub-menu,
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children > ul.sub-menu > li,
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children > ul.sub-menu > li > a { display: block !important; height: auto !important; max-height: none !important; overflow: visible !important; opacity: 1 !important; visibility: visible !important; transform: none !important; position: static !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children > ul.sub-menu { padding: 2px 0 10px 24px !important; margin: 0 !important; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children { height: auto !important; overflow: visible !important; }
#slide-out-widget-area .off-canvas-menu-container .ocm-dropdown-arrow,
#slide-out-widget-area .off-canvas-menu-container .ocm-dropdown-arrow-toggle,
#slide-out-widget-area .off-canvas-menu-container li.menu-item-has-children > a + i,
#slide-out-widget-area .off-canvas-menu-container li.menu-item-has-children > a > i { display: none !important; }
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu li a { color: var(--osg-beige) !important; display: inline-flex !important; align-items: center; gap: 14px; transition: color 0.2s ease; }
#slide-out-widget-area .off-canvas-menu-container ul.menu li.menu-item-has-children > ul.sub-menu > li > a { display: inline-flex !important; }
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu li a::before { content: ""; display: inline-block !important; width: 8px; height: 9px; clip-path: var(--osg-hex); background: var(--osg-gold); flex-shrink: 0; }
#slide-out-widget-area .off-canvas-menu-container ul.sub-menu li a:hover { color: var(--osg-gold) !important; }
/* Eigene Icon-Leiste statt Salient-Icons */
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links { display: flex; gap: 22px; padding-top: 28px; margin-top: 64px !important; position: relative; }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 1px; background: var(--osg-gold); }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li { margin: 0 !important; }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a,
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a i,
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a svg { color: var(--osg-beige) !important; fill: currentColor; }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a:hover,
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a:hover i,
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a:hover svg { color: var(--osg-gold) !important; }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a::before,
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links li a::after { display: none !important; }
#slide-out-widget-area .bottom-meta-wrap .off-canvas-social-links img { width: 20px; height: 20px; display: block; }
#slide-out-widget-area .widget_custom_html { margin-top: 8px; }
.osg-ocm-social { display: flex; gap: 22px; padding-top: 28px; position: relative; }
.osg-ocm-social::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 1px; background: var(--osg-gold); }
.osg-ocm-social a { display: flex; color: var(--osg-beige) !important; transition: color 0.2s ease; }
.osg-ocm-social a:hover { color: var(--osg-gold) !important; }

/* WPBakery-Row, die nur einen Raw-HTML-Block enthält: keine Theme-Abstände */
.osg-vcrow .vc_column-inner { padding: 0 !important; }
.osg-vcrow .wpb_wrapper { padding: 0 !important; margin: 0 !important; }
.osg-vcrow,
.osg-vcrow .row_col_wrap_12,
.osg-vcrow .vc_column_container,
.osg-vcrow .wpb_wrapper > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.osg-vcrow .wpb_wrapper > p:empty { display: none; }
/* leere Absätze zwischen den Rows (aus Zeilenumbrüchen im Editor) */
.osg-vcrow + p, .osg-vcrow + br, p:has(+ .osg-vcrow), .main-content > .row > p:empty { display: none !important; }
.osg-vcrow .wpb_content_element,
.osg-vcrow .wpb_raw_html { margin: 0 !important; padding: 0 !important; }

/* Theme-Footer ausblenden, sobald der eigene Footer als Global Section steht */
#footer-outer { display: none !important; }
#ajax-content-wrap .container-wrap { padding-bottom: 0 !important; }
/* leere Gutenberg-Absätze neben dem Footer-Block in der Global Section */
.nectar_hook_global_section_footer > .container > p { display: none; }
.nectar_hook_global_section_footer > .container { padding: 0 !important; }

/* ==========================================================================
   2. Basis für alle OSG-Blöcke
   ========================================================================== */
.osg { font-family: var(--osg-body); color: var(--osg-ink); -webkit-font-smoothing: antialiased; }
.osg *, .osg *::before, .osg *::after { box-sizing: border-box; }
.osg a { text-decoration: none; color: inherit; transition: color 0.2s ease, opacity 0.2s ease; }
.osg a:hover { color: inherit; }
.osg a:focus-visible, .osg button:focus-visible, .osg input:focus-visible, .osg select:focus-visible, .osg textarea:focus-visible {
  outline: 2px solid var(--osg-gold);
  outline-offset: 4px;
}
.osg img { max-width: 100%; height: auto; display: block; }

.osg-wrap {
  max-width: calc(var(--osg-max) + 48px);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.osg-sec { padding-top: var(--osg-sec); padding-bottom: var(--osg-sec); }
.osg-sec--top0 { padding-top: 0; }
.osg-sec--dark { background: var(--osg-night); color: var(--osg-beige); }
.osg-sec--white { background: var(--osg-white); }

/* Typografie */
.osg .osg-eyebrow {
  font-family: var(--osg-orb);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-blue);
  margin: 0;
}
.osg-sec--dark .osg-eyebrow { color: var(--osg-gold); }

.osg .osg-h1 {
  font-family: var(--osg-orb);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--osg-ink);
  margin: 0;
}
.osg .osg-h1 .osg-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--osg-ink);
}
@supports not (-webkit-text-stroke: 1px #000) {
  .osg .osg-h1 .osg-outline { color: var(--osg-ink); }
}
.osg .osg-h1--page {
  font-size: clamp(40px, 5.3vw, 76px);
  letter-spacing: 0.02em;
}

.osg .osg-h2 {
  font-family: var(--osg-mont);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--osg-ink);
  margin: 0;
}
.osg-sec--dark .osg-h2 { color: var(--osg-white); font-weight: 400; line-height: 1.18; }
.osg .osg-h2--sub {
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
  letter-spacing: 0;
}
.osg .osg-h3 {
  font-family: var(--osg-mont);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  text-transform: none;
  color: var(--osg-ink);
  margin: 0;
}
.osg-sec--dark .osg-h3 { color: var(--osg-white); }

.osg .osg-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--osg-ink);
  margin: 0;
}
.osg .osg-p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--osg-text);
  margin: 0;
}
.osg .osg-p--l { font-size: 18px; }
.osg .osg-p--s { font-size: 16px; }
.osg-sec--dark .osg-p { color: rgba(239, 237, 233, 0.88); font-weight: 400; }
.osg-sec--dark .osg-lead { color: var(--osg-beige-80); }

.osg .osg-num {
  font-family: var(--osg-orb);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--osg-blue);
}
.osg-sec--dark .osg-num { color: var(--osg-gold); }

.osg .osg-rule { width: 48px; height: 1px; background: var(--osg-gold); display: block; }
.osg .osg-hr { border: 0; border-top: 1px solid var(--osg-taupe); margin: 0; }

/* Buttons und Links */
.osg .osg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 40px;
  font-family: var(--osg-pop);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.osg .osg-btn--gold { background: var(--osg-gold); color: var(--osg-ink); border-color: var(--osg-gold); }
.osg .osg-btn--gold:hover { background: var(--osg-ink); color: var(--osg-beige); border-color: var(--osg-ink); }
.osg .osg-btn--line { background: transparent; color: var(--osg-ink); border-color: var(--osg-ink); }
.osg .osg-btn--line:hover { background: var(--osg-ink); color: var(--osg-beige); }
.osg .osg-btn--light { background: transparent; color: var(--osg-gold); border-color: var(--osg-gold); }
.osg .osg-btn--light:hover { background: var(--osg-gold); color: var(--osg-ink); }
.osg .osg-btn--full { width: 100%; }

.osg .osg-link {
  font-family: var(--osg-pop);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--osg-gold);
  color: var(--osg-ink);
}
.osg .osg-link svg { transition: transform 0.2s ease; }
.osg .osg-link:hover svg { transform: translateX(4px); }
.osg-sec--dark .osg-link { color: var(--osg-beige); }

.osg .osg-chip {
  font-family: var(--osg-pop);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-blue);
  border: 1px solid var(--osg-taupe);
  padding: 10px 16px;
  white-space: nowrap;
}

/* Hexagon */
.osg .osg-hex {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--hex-w, 236px);
  aspect-ratio: 0.866;
  clip-path: var(--osg-hex);
  background: var(--osg-gold);
}
.osg .osg-hex--taupe { background: var(--osg-taupe); }
.osg .osg-hex--night { background: var(--osg-night); }
.osg .osg-hex__in {
  position: absolute;
  inset: 2px;
  clip-path: var(--osg-hex);
  background: var(--osg-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.osg .osg-hex--thin .osg-hex__in { inset: 1px; }
.osg .osg-hex__in > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.62) contrast(1.05) sepia(0.1);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.osg a.osg-hex:hover .osg-hex__in > img { filter: grayscale(20%) brightness(0.8) contrast(1) sepia(0); transform: scale(1.03); }
.osg .osg-hex__label {
  position: relative;
  z-index: 1;
  font-family: var(--osg-orb);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  color: var(--osg-white);
  padding: 0 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.osg .osg-bullet {
  display: inline-block;
  width: 12px;
  height: 14px;
  clip-path: var(--osg-hex);
  background: var(--osg-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   3. Startseite: Türen und Waben (Klassen aus dem bestehenden Block bleiben)
   ========================================================================== */
.door-reveal-stage { position: relative; width: 100%; --hex-w: 236px; }
.door-reveal-curtain {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: calc(100vh - 380px);
  max-width: calc((100vh - 380px) * 3);
  min-height: calc(var(--hex-w) * 2.02 + 80px);   /* nie kleiner als das Wabenmuster */
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}
.door-left, .door-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background-color: var(--osg-beige);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  z-index: 2;
  pointer-events: none;
}
.door-left { left: 0; }
.door-right { right: 0; }
.door-left img, .door-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.door-left img { object-position: right center; }
.door-right img { object-position: left center; }
.door-reveal-stage.is-open .door-left { transform: translateX(-73.2%); }
.door-reveal-stage.is-open .door-right { transform: translateX(73.2%); }

.waben-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1;
  pointer-events: none;
}
.door-reveal-stage.is-open .waben-container { pointer-events: auto; }
.waben-reihe { display: flex; justify-content: center; align-items: flex-start; }
/* exakte Tessellation: Reihenversatz = 25 % der Wabenhöhe = 0,2887 × Breite */
.waben-reihe.versetzt { margin-top: calc(var(--hex-w) * -0.2887); }
.waben-container .hexagon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--hex-w);
  aspect-ratio: 0.866;
  clip-path: var(--osg-hex);
  background: var(--osg-gold);
  margin: 0;
  transition: transform 0.35s ease;
}
.waben-container .hexagon.is-empty { background: var(--osg-taupe); }
.waben-container .hexagon:not(.is-empty):hover { transform: scale(1.04); z-index: 5; }
.waben-container .hexagon-inner {
  position: absolute;
  inset: 2px;
  clip-path: var(--osg-hex);
  overflow: hidden;
  background: var(--osg-blue);
}
.waben-container .hexagon.is-empty .hexagon-inner { inset: 1px; background: var(--osg-beige); }
.waben-container .hexagon-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  filter: grayscale(100%) brightness(0.48) contrast(1.12) sepia(0.1);
  transition: filter 0.4s ease;
}
.waben-container .hexagon:hover .hexagon-inner img { filter: grayscale(20%) brightness(0.72) contrast(1.05) sepia(0); }
.waben-container .hex-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 0 20px;
  color: var(--osg-white);
  font-family: var(--osg-pop);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  pointer-events: none;
}
.waben-container .hex-label::before { content: ""; width: 32px; height: 1px; background: var(--osg-gold); }

@media (max-width: 1200px) {
  .door-reveal-stage { --hex-w: 200px; }
  .waben-container .hex-label { font-size: 14px; }
}
@media (max-width: 1024px) {
  .door-reveal-stage { --hex-w: 170px; }
  .waben-container .hex-label { font-size: 12px; letter-spacing: 0.18em; }
}
@media (max-width: 768px) {
  .door-reveal-stage { --hex-w: 140px; }
  .door-reveal-curtain { height: auto; }
  .door-left, .door-right { display: none; }
  .waben-container { position: relative; inset: auto; min-height: 0; pointer-events: auto; padding: 8px; }
  .waben-container .hexagon.is-empty { display: none; }
  .waben-container .hex-label { font-size: 11px; letter-spacing: 0.16em; gap: 8px; }
}
@media (max-width: 480px) {
  .door-reveal-stage { --hex-w: 118px; }
  .waben-container .hex-label { font-size: 9.5px; letter-spacing: 0.12em; padding: 0 8px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .door-left, .door-right, .waben-container .hexagon, .osg .osg-hex__in > img, .osg .osg-link svg { transition: none; }
}

/* Hero-Text unter und über den Türen */
.osg-hero { display: flex; flex-direction: column; align-items: center; gap: 44px; padding-top: 48px; }
.osg-hero > .osg-wrap { width: 100%; }
.osg-hero__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.osg-hero__head .osg-eyebrow { line-height: 1.9; }
.osg-hero__intro { max-width: 780px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.osg-hero__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) {
  .osg-hero { gap: 28px; padding-top: 24px; }
  .osg-hero__actions { flex-direction: column; width: 100%; }
  .osg-hero__actions .osg-btn { width: 100%; }
}

/* Trust-Leiste: unterer Abschluss des Hero, volle Breite */
.osg-trust {
  margin-top: 88px;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  border-top: 1px solid var(--osg-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  padding: 34px 24px;
  line-height: 1;
}
.osg-hero .osg-wrap:has(> .osg-trust) { max-width: none; padding: 0; }
.osg-trust__item { line-height: 1; }
.osg-trust__item {
  font-family: var(--osg-pop);
  font-size: 14px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-blue);
}
.osg-trust__dot { width: 5px; height: 5px; background: var(--osg-gold); transform: rotate(45deg); }
@media (max-width: 768px) {
  .osg-trust { margin-top: 56px; flex-direction: column; gap: 16px; padding: 28px 24px; text-align: center; }
  .osg-trust__dot { display: block; }
  .osg-trust__item { font-size: 12px; letter-spacing: 0.18em; }
}

/* Sektionskopf: links Eyebrow + H2, rechts Text */
.osg-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: end; }
.osg-head__title { display: flex; flex-direction: column; gap: 22px; }
.osg-head .osg-p { max-width: 460px; }
@media (max-width: 900px) {
  .osg-head { grid-template-columns: 1fr; gap: 24px; }
}

/* Leistungsliste (Startseite) */
.osg-rows { display: flex; flex-direction: column; margin-top: 64px; }
.osg-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 220px;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--osg-taupe);
}
.osg-row:last-child { border-bottom: 1px solid var(--osg-taupe); }
.osg-row__body { display: flex; flex-direction: column; gap: 14px; }
.osg-row__title { font-family: var(--osg-mont); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.15; color: var(--osg-ink); }
.osg-row .osg-p { max-width: 640px; }
.osg-row .osg-link { align-self: flex-start; margin-top: 6px; }
.osg-row .osg-hex { --hex-w: 150px; justify-self: end; }
.osg-row .osg-hex__in > img { filter: grayscale(100%) brightness(0.62) contrast(1.05) sepia(0.1); }
.osg-row:hover .osg-hex__in > img { filter: grayscale(20%) brightness(0.8) contrast(1) sepia(0); transform: scale(1.03); }
.osg-row:hover .osg-link svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .osg-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .osg-row .osg-hex { display: none; }
  .osg-rows { margin-top: 40px; }
}

/* Dunkler Block: Alles aus einer Hand */
.osg-split { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 120px; align-items: center; }
.osg-split__text { display: flex; flex-direction: column; gap: 28px; }
.osg-split__text .osg-p { max-width: 560px; }
.osg-split__hex { display: flex; justify-content: flex-end; }
.osg-split__hex .osg-hex { --hex-w: 360px; }
.osg-split__hex .osg-hex__in { background: var(--osg-night); }
.osg-split__hex .osg-hex__in > img { position: static; width: 40%; height: auto; object-fit: contain; filter: none; }
.osg-cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  border-top: 1px solid var(--osg-line-dark);
  padding-top: 56px;
  margin-top: 96px;
}
.osg-sec:not(.osg-sec--dark) .osg-cols3 { border-top-color: var(--osg-taupe); }
.osg-cols3__item { display: flex; flex-direction: column; gap: 16px; }
.osg-cols3__item > .osg-bullet { margin-bottom: 4px; }
@media (max-width: 1024px) {
  .osg-split { grid-template-columns: 1fr; gap: 48px; }
  .osg-split__hex { justify-content: center; }
  .osg-split__hex .osg-hex { --hex-w: 200px; }
  .osg-cols3 { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; padding-top: 32px; }
}

/* Zitat */
.osg-quote { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.osg .osg-quote__text {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 940px;
  font-family: var(--osg-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.45;
  color: var(--osg-ink);
  background: none;
  border-left: 0 !important;
  padding-left: 0 !important;
}
.osg .osg-quote__text::before, .osg .osg-quote__text::after { display: none !important; }

/* Bildband mit Zitat */
.osg-band {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  background: var(--osg-night);
  overflow: hidden;
}
.osg .osg-band__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.42) contrast(1.05) sepia(0.1);
}
.osg-band__inner { position: relative; z-index: 1; width: 100%; }
.osg-band .osg-quote__text { color: var(--osg-beige); }
.osg-band .osg-eyebrow { color: var(--osg-gold); }
@media (max-width: 768px) { .osg-band { min-height: 440px; padding: 80px 0; } }

/* Foto in der Anfrage-Sektion */
.osg .osg-contact__photo { --hex-w: 300px; align-self: center; margin: 48px auto 0; }
@media (max-width: 1024px) { .osg .osg-contact__photo { --hex-w: 260px; } }

/* Anfrage: Text links, Formular rechts */
.osg-contact { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 120px; align-items: start; }
.osg-contact__text { display: flex; flex-direction: column; gap: 28px; }
.osg-contact__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  border-top: 1px solid var(--osg-taupe);
  padding-top: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--osg-ink);
}
.osg-contact__card strong { font-family: var(--osg-mont); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; }
@media (max-width: 1024px) {
  .osg-contact { grid-template-columns: 1fr; gap: 48px; }
}

/* Contact Form 7 */
.osg .osg-form form { margin: 0; }
.osg .osg-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.osg .osg-form__field { display: flex; flex-direction: column; gap: 8px; }
.osg .osg-form__field--full { grid-column: 1 / -1; }
.osg .osg-form__field > label {
  font-family: var(--osg-pop);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--osg-muted);
}
.osg .osg-form .wpcf7-form-control-wrap { display: block; }
.osg .osg-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.osg .osg-form select,
.osg .osg-form textarea {
  font-family: var(--osg-body);
  font-size: 16px;
  color: var(--osg-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--osg-taupe);
  border-radius: 0;
  padding: 14px 0;
  line-height: 1.5;
  width: 100%;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease;
}
.osg .osg-form input:focus, .osg .osg-form select:focus, .osg .osg-form textarea:focus { border-bottom-color: var(--osg-ink); }
.osg .osg-form textarea { min-height: 120px; resize: vertical; }
.osg .osg-form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 8px; position: relative; }
.osg .osg-form__note { font-size: 14px; color: var(--osg-muted); margin-right: auto; }
.osg .osg-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 40px;
  font-family: var(--osg-pop);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--osg-gold);
  color: var(--osg-ink);
  border: 1px solid var(--osg-gold);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.osg .osg-form input[type="submit"]:hover { background: var(--osg-ink); color: var(--osg-beige); border-color: var(--osg-ink); }
.osg .osg-form .wpcf7-spinner { position: absolute; right: -36px; top: 50%; margin: -12px 0 0; }
.osg .osg-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--osg-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--osg-text);
  text-transform: none;
  letter-spacing: 0;
}
.osg .osg-form .wpcf7-acceptance input[type="checkbox"] { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--osg-night); }
.osg .osg-form .wpcf7-acceptance a { border-bottom: 1px solid var(--osg-gold); }
.osg .osg-form .wpcf7-not-valid-tip { font-size: 13px; color: #a6391f; margin-top: 6px; }
.osg .osg-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--osg-taupe);
  font-size: 14px;
  line-height: 1.6;
}
/* Turnstile-Widget und Fußzeile des Formulars */
.osg .osg-form .cf-turnstile, .osg .osg-form .cf7-turnstile, .osg .osg-form .wpcf7-turnstile { grid-column: 1 / -1; margin: 8px 0 0; }
.osg .osg-form br { display: none; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label { line-height: 1.2; }
/* Bereichsauswahl als Chips (Mehrfachauswahl) */
.osg .osg-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--osg-taupe);
  font-family: var(--osg-pop);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-ink);
  cursor: pointer;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.osg .osg-form .wpcf7-checkbox input[type="checkbox"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label { position: relative; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label::before { content: ""; width: 9px; height: 10px; clip-path: var(--osg-hex); background: var(--osg-taupe); flex-shrink: 0; transition: background-color 0.2s ease; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label:has(input:checked)::before { background: var(--osg-gold); }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label:has(input:focus-visible) { outline: 2px solid var(--osg-gold); outline-offset: 3px; }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label:hover { border-color: var(--osg-ink); }
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { background: var(--osg-night); border-color: var(--osg-night); color: var(--osg-beige); }

@media (max-width: 768px) {
  .osg .osg-form__grid { grid-template-columns: 1fr; gap: 26px; }
  .osg .osg-form input[type="submit"] { width: 100%; }
}

/* Partner */
.osg-partners { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.osg-partners__logos { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.osg-partners .osg-hex { --hex-w: 140px; }
.osg-partners .osg-hex__in { background: var(--osg-beige); }
.osg-partners .osg-hex__in > img { position: static; width: 60%; height: auto; object-fit: contain; filter: grayscale(100%); }
.osg-partners .osg-hex:hover .osg-hex__in > img { filter: none; }
.osg-partners__ph { font-family: var(--osg-pop); font-size: 11px; letter-spacing: 0.2em; color: var(--osg-muted); }

/* ==========================================================================
   4. Leistungsseiten
   ========================================================================== */
.osg-pagehero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; padding-top: 40px; padding-bottom: 96px; }
.osg-pagehero__text { display: flex; flex-direction: column; gap: 26px; }
.osg-pagehero__text .osg-lead, .osg-pagehero__text .osg-p, .osg-pagehero__text .osg-h2--sub { max-width: 620px; }
.osg-pagehero__chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.osg-pagehero__media { position: relative; width: 520px; height: 620px; }
.osg-pagehero__media .osg-hex--big { --hex-w: 460px; position: absolute; top: 0; right: 0; }
.osg-pagehero__media .osg-hex--small { --hex-w: 200px; position: absolute; left: 0; bottom: 0; }
.osg-crumbs { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.osg-crumbs__sep { width: 24px; height: 1px; background: var(--osg-taupe); }
.osg-crumbs a.osg-eyebrow { color: var(--osg-muted); }
@media (max-width: 1100px) {
  .osg-pagehero { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
  .osg-pagehero__media { width: 100%; max-width: 420px; height: auto; aspect-ratio: 520 / 620; margin: 0 auto; }
  .osg-pagehero__media .osg-hex--big { --hex-w: 78%; }
  .osg-pagehero__media .osg-hex--small { --hex-w: 36%; }
}

/* Ankerleiste */
.osg-anchors {
  border-top: 1px solid var(--osg-taupe);
  border-bottom: 1px solid var(--osg-taupe);
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 40px;
}
.osg-anchors__list { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.osg-anchors__list a {
  font-family: var(--osg-pop);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--osg-ink);
  padding: 6px 0;
}
.osg-anchors__list a:hover { color: var(--osg-blue); box-shadow: inset 0 -1px 0 var(--osg-gold); }
@media (max-width: 768px) {
  .osg-anchors { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Karten */
.osg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.osg-card {
  border: 1px solid var(--osg-taupe);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 296px;
  scroll-margin-top: 120px;
  transition: border-color 0.2s ease;
}
.osg-card:hover { border-color: var(--osg-ink); }
@media (max-width: 1024px) { .osg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .osg-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; } .osg-card { padding: 28px; min-height: 0; } }

/* Detailblock (dunkel) */
.osg-detail { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 120px; align-items: start; }
.osg-detail__text { display: flex; flex-direction: column; gap: 26px; }
.osg-detail__text .osg-btn { align-self: flex-start; margin-top: 12px; }
.osg-detail__list { display: flex; flex-direction: column; gap: 32px; }
.osg-detail__label { font-family: var(--osg-pop); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--osg-gold); }
.osg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 48px; margin: 0; padding: 0; list-style: none; }
.osg-list li { display: flex; align-items: flex-start; gap: 16px; border-top: 1px solid var(--osg-line-dark); padding-top: 18px; font-size: 16px; line-height: 1.6; color: var(--osg-beige); }
.osg-list .osg-bullet { margin-top: 6px; }
@media (max-width: 1024px) {
  .osg-detail { grid-template-columns: 1fr; gap: 48px; }
  .osg-list { grid-template-columns: 1fr; gap: 14px; }
}

/* Querverweis */
.osg-cross { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 120px; align-items: center; }
.osg-cross .osg-hex { --hex-w: 320px; }
.osg-cross__text { display: flex; flex-direction: column; gap: 24px; }
.osg-cross__text .osg-p { max-width: 640px; }
.osg-cross__text .osg-link { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1024px) {
  .osg-cross { grid-template-columns: 1fr; gap: 40px; }
  .osg-cross .osg-hex { --hex-w: 220px; }
}

/* CTA-Band */
.osg-cta {
  border-top: 1px solid var(--osg-taupe);
  border-bottom: 1px solid var(--osg-taupe);
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.osg-cta .osg-h2 { max-width: 820px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; }
@media (max-width: 768px) { .osg-cta { padding: 64px 0; } }

/* ==========================================================================
   5. Footer (Global Section)
   ========================================================================== */
.osg-footer {
  background: var(--osg-night);
  color: var(--osg-beige);
  padding: 96px 0 40px;
  /* Global Section aus dem Salient-Container auf volle Breite ziehen */
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
/* WordPress fügt in Global Sections <br> zwischen den Zeilen ein; nur die in der Adresse bleiben */
.osg-footer [class] > br { display: none; }
.osg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.osg-footer__col { display: flex; flex-direction: column; gap: 10px; }
.osg-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.osg-footer__brand img { width: 40px; height: auto; }
.osg .osg-footer__logo { width: auto !important; height: 64px !important; max-width: none; filter: invert(1) brightness(1.1); }
.osg-footer__brand { margin-bottom: 14px; }
.osg-footer__wordmark { display: flex; flex-direction: column; font-family: var(--osg-mont); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; line-height: 1.1; color: var(--osg-white); }
.osg-footer__label { font-family: var(--osg-pop); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--osg-gold); margin-bottom: 10px; }
.osg-footer__col a, .osg-footer__col span { font-size: 15px; line-height: 1.5; color: var(--osg-beige); }
.osg-footer__col a:hover { color: var(--osg-gold); }
.osg-footer__col .osg-p { color: rgba(239, 237, 233, 0.7); font-size: 14px; max-width: 320px; }
.osg-footer .osg-eyebrow { color: var(--osg-gold); }
.osg-footer__bar {
  border-top: 1px solid var(--osg-line-dark);
  margin-top: 72px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.osg-footer__copy { font-size: 14px; color: rgba(239, 237, 233, 0.6); }
.osg-footer__legal { display: flex; gap: 32px; flex-wrap: wrap; }
.osg-footer__legal a { font-family: var(--osg-pop); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239, 237, 233, 0.8); }
.osg-footer__legal a:hover { color: var(--osg-gold); }
.osg-footer__social { display: flex; gap: 22px; }
.osg-footer__social a { display: flex; color: var(--osg-beige); }
.osg-footer__social a:hover { color: var(--osg-gold); }
@media (max-width: 1024px) { .osg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .osg-footer { padding: 64px 0 32px; }
  .osg-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .osg-footer__col + .osg-footer__col { border-top: 1px solid var(--osg-line-dark); padding-top: 28px; }
  .osg-footer__grid { text-align: center; }
  .osg-footer__col { align-items: center; }
  .osg-footer__brand { justify-content: center; }
  .osg-footer__bar { flex-direction: column; align-items: center; gap: 28px; margin-top: 48px; padding-top: 32px; text-align: center; }
  .osg-footer__legal { order: 1; flex-direction: column; gap: 14px; align-items: center; }
  .osg-footer__social { order: 2; }
  .osg-footer__copy { order: 3; font-size: 12px; }
}

/* ==========================================================================
   6. Hexagon-Motiv (leise)
   ========================================================================== */
/* Gefaste Ecken an Buttons, Chips, Formularbutton */
/* Fase nur bei gefüllten Elementen; bei Umrissen würde sie die Linie abschneiden */
.osg .osg-btn--gold,
.osg .osg-form input[type="submit"] {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.osg .osg-form .wpcf7-checkbox .wpcf7-list-item label:has(input:checked) {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* Wabenmuster als Textur auf Nachtblau */
.osg-sec--dark,
.osg-footer {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2260%22%20height%3D%22103.92%22%20viewBox%3D%220%200%2060%20103.92%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23efede9%22%20stroke-opacity%3D%220.04%22%20stroke-width%3D%221%22%3E%3Cpolygon%20points%3D%2230.00%2C69.28%2060.00%2C51.96%2060.00%2C17.32%2030.00%2C0.00%20-0.00%2C17.32%20-0.00%2C51.96%22%2F%3E%3Cpolygon%20points%3D%220.00%2C121.24%2030.00%2C103.92%2030.00%2C69.28%200.00%2C51.96%20-30.00%2C69.28%20-30.00%2C103.92%22%2F%3E%3Cpolygon%20points%3D%2260.00%2C121.24%2090.00%2C103.92%2090.00%2C69.28%2060.00%2C51.96%2030.00%2C69.28%2030.00%2C103.92%22%2F%3E%3Cpolygon%20points%3D%2230.00%2C173.21%2060.00%2C155.88%2060.00%2C121.24%2030.00%2C103.92%20-0.00%2C121.24%20-0.00%2C155.88%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size: 60px auto;
}

/* Goldlinie mit Raute (Zitat, Sektionstrenner) */
.osg .osg-rule { position: relative; }
.osg .osg-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 8px;
  transform: translate(-50%, -50%);
  clip-path: var(--osg-hex);
  background: var(--osg-gold);
}

/* Nummern in der Leistungsliste mit Raute */
.osg-row > .osg-num { display: inline-flex; align-items: center; gap: 10px; }
.osg-row > .osg-num::before { content: ""; width: 8px; height: 9px; clip-path: var(--osg-hex); background: var(--osg-gold); }

/* Eine große Umriss-Wabe je weißer Sektion, angeschnitten am rechten Rand */
.osg-sec--white { position: relative; overflow: hidden; }
.osg-sec--white::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 120px;
  width: 420px;
  height: 485px;
  clip-path: var(--osg-hex);
  background: var(--osg-taupe);
  opacity: 0.55;
  pointer-events: none;
}
.osg-sec--white::after {
  content: "";
  position: absolute;
  right: -139px;
  top: 121px;
  width: 418px;
  height: 483px;
  clip-path: var(--osg-hex);
  background: var(--osg-white);
  pointer-events: none;
}
.osg-sec--white > .osg-wrap { position: relative; z-index: 1; }
@media (max-width: 1024px) { .osg-sec--white::before, .osg-sec--white::after { display: none; } }

/* Textseiten (Impressum, Datenschutz, Über uns) */
.osg-wrap.osg-legal { max-width: 848px; }
.osg-sec--plain::before, .osg-sec--plain::after { display: none !important; }
.osg-legal > * + * { margin-top: 20px; }
.osg-legal .osg-h2 { margin-bottom: 16px; }
.osg-legal .osg-h3 { margin-top: 44px; }
.osg-legal a { border-bottom: 1px solid var(--osg-gold); }
.osg-sec--page { padding-top: 56px; }
.osg .osg-legal__list { padding-left: 22px; margin: 0; }
.osg .osg-legal__list li { margin: 6px 0; list-style: square; }

/* Nach-oben-Button (per osg.js eingefügt) */
.osg-totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 55px;
  clip-path: var(--osg-hex);
  background: var(--osg-night);
  color: var(--osg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.osg-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.osg-totop:hover { background: var(--osg-gold); color: var(--osg-night); }
.osg-totop:focus-visible { outline: 2px solid var(--osg-gold); outline-offset: 4px; }
@media (max-width: 768px) { .osg-totop { right: 16px; bottom: 16px; width: 42px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .osg-totop { transition: none; } }

/* Leistungsseiten mobil: zentrieren, Hero-Bild vereinfachen, Ankerleiste aus */
@media (max-width: 768px) {
  .osg-pagehero__text { align-items: center; text-align: center; }
  .osg-pagehero__chips { justify-content: center; }
  .osg-crumbs { justify-content: center; }
  .osg-pagehero__media { width: 100%; max-width: none; height: auto; aspect-ratio: auto; display: flex; justify-content: center; }
  .osg-pagehero__media .osg-hex--big { --hex-w: 280px; position: static; }
  .osg-pagehero__media .osg-hex--small { display: none; }
  .osg-anchors { display: none; }
  .osg-head { text-align: center; }
  .osg-head .osg-p { max-width: none; }
  .osg-detail__text { align-items: center; text-align: center; }
  .osg-detail__text .osg-btn { align-self: center; }
  .osg-detail__label { text-align: center; }
  .osg-cross { justify-items: center; text-align: center; }
  .osg-cross__text { align-items: center; }
  .osg-cross__text .osg-link { align-self: center; }
  .osg-cross .osg-hex { --hex-w: 240px; }
  .osg-cta { text-align: center; }
  .osg-contact__text { align-items: center; text-align: center; }
  .osg-contact__card { align-items: center; }
  .osg-split__text { align-items: center; text-align: center; }
  .osg-cols3__item { align-items: center; text-align: center; }
  .osg-rows .osg-row { align-items: center; text-align: center; }
  .osg-row .osg-link { align-self: center; }
}

/* ==========================================================================
   12. Nachträge 10–11/2026 (zusammengefasst): Hero, Tablet, Mobil, 404
   ========================================================================== */

/* Hero ab 769 px: Waben nach Breite und Höhe, Türen immer aus der Wabengröße.
   Logo-Hälften 1500 × 1000, Logo belegt 0,402 × Bildhöhe je Hälfte.
   Faktor 3,85 → Logo ≈ 3,1 × Wabenbreite, deckt das 3er-Netz (3 × Wabe). */
@media (min-width: 769px) {
  .door-reveal-stage {
    --hex-w: min(236px, calc((100vw - 88px) / 3));
    --door-h: calc(var(--hex-w) * 3.85);
  }
  .door-reveal-curtain { aspect-ratio: auto; max-height: none; max-width: none; min-height: 0; height: var(--door-h); }
  .door-reveal-curtain .door-left img,
  .door-reveal-curtain .door-right img {
    position: absolute; top: 0;
    height: var(--door-h) !important; width: calc(var(--door-h) * 1.5) !important;
    max-width: none !important; max-height: none !important; object-fit: fill !important;
  }
  .door-reveal-curtain .door-left img  { right: 0; left: auto; }
  .door-reveal-curtain .door-right img { left: 0; }
}

/* Tablet (769–1200): Türen weiter öffnen, Wabenbeschriftung */
@media (min-width: 769px) and (max-width: 1200px) {
  .door-reveal-stage.is-open .door-left  { transform: translateX(-90%); }
  .door-reveal-stage.is-open .door-right { transform: translateX(90%); }
  .waben-container .hex-label { font-size: 14px; letter-spacing: 0.2em; }
}

/* Mobil: Hero kompakt */
@media (max-width: 768px) {
  .door-reveal-curtain { min-height: 0; aspect-ratio: auto; max-height: none; }
  .osg-hero { gap: 20px; }
  .osg-hero__intro { gap: 20px; }
  .osg-hero__actions { gap: 12px; }
  .osg-trust { margin-top: 24px; }
}

/* Leistungsseiten Tablet (769–1100): Hero zweispaltig, Abstände enger */
@media (min-width: 769px) and (max-width: 1100px) {
  :root { --osg-sec: 80px; }
  .osg-pagehero { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-bottom: 40px; }
  .osg-pagehero__media { width: 340px; max-width: none; height: 400px; aspect-ratio: auto; margin: 0; }
  .osg-pagehero__media .osg-hex--big { --hex-w: 300px; }
  .osg-pagehero__media .osg-hex--small { --hex-w: 130px; }
}
/* Ankerleiste nur auf Desktop */
@media (max-width: 1100px) { .osg-anchors { display: none; } }
/* Umriss-Wabe in weißen Sektionen nur auf Desktop */
@media (max-width: 1200px) { .osg-sec--white::before, .osg-sec--white::after { display: none; } }

/* Hover-Linien: Rahmen statt Box-Shadow, auf ganze Pixel gerundet */
.osg-anchors__list a { border-bottom: 1px solid transparent; }
.osg-anchors__list a:hover { box-shadow: none; border-bottom-color: var(--osg-gold); }

/* 404-Seite (Template salient-child/404.php) */
.osg-404 { min-height: calc(100vh - 86px); display: flex; align-items: center; }
.osg-404__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: center; }
.osg-404__text { display: flex; flex-direction: column; gap: 28px; }
.osg-404__text .osg-lead { max-width: 560px; }
.osg-404__actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.osg-404__links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 28px; border-top: 1px solid var(--osg-taupe); }
.osg-404__links a { font-family: var(--osg-pop); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--osg-muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.osg-404__links a:hover { color: var(--osg-ink); border-bottom-color: var(--osg-gold); }
.osg-404__hex { display: flex; justify-content: flex-end; }
.osg-404__hex .osg-hex { --hex-w: 320px; }
.osg-404__hex .osg-hex__in > img { position: static; width: 46%; height: auto; object-fit: contain; filter: none; }
@media (max-width: 1024px) {
  .osg-404__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .osg-404__hex .osg-hex { --hex-w: 240px; }
}
@media (max-width: 768px) {
  .osg-404 { min-height: 0; }
  .osg-404__grid { grid-template-columns: 1fr; gap: 40px; }
  .osg-404__text { align-items: center; text-align: center; }
  .osg-404__actions, .osg-404__links { justify-content: center; }
  .osg-404__hex { justify-content: center; order: -1; }
  .osg-404__hex .osg-hex { --hex-w: 180px; }
}

/* Wabenbeschriftung skaliert mit der Wabenbreite (236 px = Desktop-Werte) */
@media (min-width: 769px) {
  .waben-container .hex-label { font-size: clamp(10px, calc(var(--hex-w) * 0.068), 16px); letter-spacing: calc(var(--hex-w) * 0.015); padding: 0 calc(var(--hex-w) * 0.085); gap: calc(var(--hex-w) * 0.06); }
  .waben-container .hex-label::before { width: calc(var(--hex-w) * 0.136); }
}

/* Desktop: Türhöhe nach Fensterhöhe, nie kleiner als das Wabennetz */
@media (min-width: 1201px) {
  .door-reveal-stage { --door-h: max(calc(var(--hex-w) * 2.02 + 80px), min(calc(var(--hex-w) * 3.85), calc(100vh - 340px))); }
}

/* „So arbeiten wir“: Rahmen-Wabe exakt in Logo-Proportion (872 x 974), Logo mit gleichmäßigem Abstand */
.osg-split__hex .osg-hex { --logo-k: 0.90; aspect-ratio: 872 / 974; }
.osg-split__hex .osg-hex__in > img { position: absolute; left: 50%; top: 50%; width: calc(106.31% * var(--logo-k)); height: calc(105.13% * var(--logo-k)); max-width: none; transform: translate(-50%, -50%); object-fit: fill; filter: none; }

/* Startseite Leistungen: Zeile „Und vieles mehr“ mit Logo-Wabe */
.osg-row--more .osg-hex__in { background: var(--osg-night); }
.osg-row.osg-row--more .osg-hex__in > img, .osg-row.osg-row--more:hover .osg-hex__in > img { position: static; width: 46%; height: auto; object-fit: contain; filter: none; transform: none; }

/* Ankerleiste Desktop: Label über den Links, Liste volle Breite (Security: 9 Punkte in 2 Zeilen) */
@media (min-width: 1101px) {
  .osg-anchors { flex-direction: column; align-items: flex-start; gap: 14px; }
  .osg-anchors__list { gap: 10px 24px; }
}

/* Leistungs-Hero: Salient-Absatzabstand entfernen, gleichmäßiger Rhythmus */
.osg-pagehero__text p { padding-bottom: 0; }
.osg-pagehero__text .osg-pagehero__chips { margin-top: 14px; }

/* Hinweis unter Leistungskarten */
.osg .osg-cards-note { margin: 40px 0 0; padding-bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 17px; color: var(--osg-text); }
.osg-cards-note .osg-link svg { transition: transform 0.2s ease; }
.osg-cards-note .osg-link:hover svg { transform: translateX(4px); }
@media (max-width: 768px) { .osg .osg-cards-note { justify-content: center; text-align: center; } }

/* ==========================================================================
   13. Über uns (/ueber-uns)
   ========================================================================== */
.osg-about-hero { padding: 56px 0 96px; }
.osg .osg-h1--about { font-size: clamp(22px, 4.5vw, 64px); letter-spacing: 0.02em; margin-top: 28px; }
.osg-about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 412px; gap: 96px; align-items: center; margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--osg-taupe); }
.osg-about-hero__text { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.osg-about-hero__text p { padding-bottom: 0; max-width: 640px; }
.osg-about-hero__text .osg-btn { margin-top: 14px; }
.osg-about-hero__media { --hex-w: 200px; --hex-gap: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--hex-gap); width: calc(var(--hex-w) * 2 + var(--hex-gap)); }
.osg-about-hero__media .osg-hex:nth-child(3) { margin-top: calc(var(--hex-w) / 0.866 * -0.25); }
.osg-about-hex--logo .osg-hex__in { background: var(--osg-night); }
.osg .osg-about-hex--logo .osg-hex__in > img { position: static; width: 44%; height: auto; object-fit: contain; filter: none; }

.osg-about-head { align-items: start; }
.osg-about-head .osg-p { max-width: 560px; padding-bottom: 0; }
.osg-about-label { font-family: var(--osg-pop); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--osg-blue); }
.osg-about-where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--osg-taupe); }
.osg-about-where__col { display: flex; flex-direction: column; gap: 22px; }
.osg-about-chips { display: flex; flex-wrap: wrap; gap: 12px; }

.osg-about-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 80px; margin-top: 72px; }
.osg-about-area { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 36px; align-items: start; padding: 44px 0; border-top: 1px solid var(--osg-taupe); }
.osg-about-area .osg-hex { --hex-w: 132px; }
.osg-about-area__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.osg-about-area__body p { padding-bottom: 0; }
.osg-about-area__body .osg-link { margin-top: 8px; }
.osg-about-area__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }

#ueber-uns-team .osg-detail__text p { padding-bottom: 0; }

.osg-about-cta .osg-p { max-width: 680px; padding-bottom: 0; }
.osg-about-cta .osg-p + .osg-p { margin-top: -12px; }
.osg-about-sign { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 88px; text-align: center; }
.osg .osg-about-sign__claim { font-family: var(--osg-orb); font-weight: 700; font-size: clamp(24px, 4.4vw, 60px); line-height: 1.1; letter-spacing: 0.02em; color: var(--osg-ink); margin: 0; padding-bottom: 0; }
.osg .osg-about-sign__claim .osg-outline { color: transparent; -webkit-text-stroke: 1.5px var(--osg-ink); white-space: nowrap; }
@supports not (-webkit-text-stroke: 1px #000) { .osg .osg-about-sign__claim .osg-outline { color: var(--osg-ink); } }

@media (max-width: 1100px) {
  .osg-about-hero__grid { grid-template-columns: minmax(0, 1fr) 332px; gap: 48px; }
  .osg-about-hero__media { --hex-w: 160px; }
  .osg-about-areas { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .osg-about-hero { padding: 40px 0 64px; text-align: center; }
  .osg .osg-h1--about { margin-top: 20px; }
  .osg .osg-h1--about .osg-outline, .osg .osg-about-sign__claim .osg-outline { -webkit-text-stroke-width: 1px; }
  .osg-about-hero__grid { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; padding-top: 40px; justify-items: center; }
  .osg-about-hero__text { align-items: center; order: 2; }
  .osg-about-hero__media { --hex-w: 132px; order: 1; }
  .osg-about-where { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .osg-about-where__col { align-items: center; text-align: center; }
  .osg-about-chips { justify-content: center; }
  .osg-about-areas { margin-top: 48px; }
  .osg-about-area { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; padding: 36px 0; }
  .osg-about-area .osg-hex { --hex-w: 112px; }
  .osg-about-area__body { align-items: center; }
  .osg-about-area__links { justify-content: center; }
  .osg-about-sign { padding-top: 64px; }
}

/* Wabenmuster halb so stark in dunklen Abschnitten mit Linien-Liste */
.osg-sec--dark:has(.osg-list) { position: relative; isolation: isolate; }
.osg-sec--dark:has(.osg-list)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(27, 38, 50, 0.5); pointer-events: none; }

/* Footer-Logo: helle Datei, keine Farbumkehr mehr */
.osg .osg-footer__logo { filter: none; }
