*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Listen in Inhalten (Text-Editor, HTML-Widget, Beitrags-/Seiteninhalt): Der Reset oben nimmt allen Listen den
   Einzug (padding: 0). Aufzaehlungspunkte stehen dann AUSSERHALB der Textspalte und ragen links ueber das Layout hinaus
   (z.B. Datenschutzerklaerung). Gilt nur fuer Listen OHNE eigene Klasse, also nicht fuer Navigation, Icon-Listen
   oder Widgets mit eigenem Aufbau. :where() haelt die Spezifitaet niedrig, eigene Regeln gewinnen weiterhin. */
:where(.elementor-widget-text-editor, .elementor-widget-html, .elementor-widget-shortcode,
       .elementor-widget-theme-post-content, .entry-content, .page-content) :is(ul, ol):not([class]) {
  padding-inline-start: 1.5em;
  margin-block-end: 1em;
}
:where(.elementor-widget-text-editor, .elementor-widget-html, .elementor-widget-shortcode,
       .elementor-widget-theme-post-content, .entry-content, .page-content) li :is(ul, ol):not([class]) {
  margin-block-end: 0;  /* verschachtelte Liste: kein zusaetzlicher Abstand unten */
}

:root {
  --dark:     #4E5859;
  --copper:   #C25E26;
  --beige:    #EDE0B6;
  --cyan:     #37BFF0;
  --white:    #ffffff;
  --bg:       #f5f4f1;
  --header-h: 60px;
  --sidebar-w: 220px;
  /* Hausschrift: Calibri Regular (Monotype), kommt als Custom Font aus Elementor. Carlito ist die
     metrikgleiche freie Ersatzschrift (Linux/ChromeOS), danach Segoe UI / System. */
  --font-main: 'Calibri', Carlito, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg); color: var(--dark); }

/* Setzt eine ggf. global (Elementor Site-Einstellungen -> Typografie)
   gesetzte Versalien-Formatierung fuer H2/H3 zurueck, damit normale
   Gross-/Kleinschreibung moeglich ist. .ber-card-title bleibt bewusst
   ausgenommen — dort ist Versalien-Schrift ein gewolltes Kartendesign. */
h2:not(.ber-card-title),
h3:not(.ber-card-title) {
  text-transform: none !important;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL HEADER
══════════════════════════════════════════════════════════ */
.global-header {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 8900 !important; /* nochmals angehoben gegen Elementors Sticky-Sidebar/-Subnav; bewusst unter unseren eigenen Overlays (Burger 9999, Standortkarten-Popup 9000) */
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.nav-logo-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo-link:focus-visible {
  outline: 2px solid #37BFF0; /* Hellcyan aus dem Corporate Design */
  outline-offset: 3px;
  border-radius: 3px;
}
.nav-logo-img  {
  /* Fluessig skalierend: min 32px, bevorzugt 4vw (Viewport-Breite), max 45px.
     Greift automatisch auf jedem Geraet, ohne zusaetzliche Media Queries.
     !important als Sicherheitsnetz gegen konkurrierende Theme-Bildregeln. */
  height: clamp(32px, 4vw, 45px) !important;
  width: auto !important;
  max-width: 180px;
  display: block;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0 40px; /* etwas Abstand zu Logo und rechter Seite, aber kompakt beieinander */
}
.nav-item  { position: relative; }

.global-header .nav-links .nav-item > a {
  background: transparent !important; /* Sicherheitsnetz gegen Theme-Standardstile fuer Links/Buttons */
  box-shadow: none !important;
  border: none !important;
  color: rgba(237,224,182,0.7);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 24px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.global-header .nav-links .nav-item > a:hover  { background: rgba(237,224,182,0.1) !important; color: var(--beige); }
.global-header .nav-links .nav-item.active > a { background: rgba(237,224,182,0.1) !important; color: var(--beige); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 240px; padding: 10px 0;
  z-index: 400; border: 0.5px solid rgba(78,88,89,0.1);
}
.dropdown::before {
  content: ''; position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
  background: transparent;
}
.nav-item:hover .dropdown { display: block; }

.dropdown-header {
  padding: 8px 16px 7px;
  font-size: 10px; font-weight: 700; color: var(--copper);
  letter-spacing: 0.09em; text-transform: uppercase;
  border-bottom: 0.5px solid rgba(78,88,89,0.1); margin-bottom: 5px;
}
.dropdown-panel-title {
  padding: 14px 16px 10px;
  font-size: 13px; font-weight: 700; color: var(--copper);
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 0.5px solid rgba(78,88,89,0.1);
  margin-bottom: 4px;
}
.dropdown-section-label {
  padding: 8px 16px 4px;
  font-size: 10px; font-weight: 600; color: rgba(78,88,89,0.38);
  letter-spacing: 0.07em; text-transform: uppercase;
}
.dropdown-divider { height: 0.5px; background: rgba(78,88,89,0.09); margin: 6px 0; }

.dropdown a {
  display: flex; align-items: center; gap: 10px; /* Standard: einzeilige Eintraege (Icon + Text) */
  padding: 8px 16px; font-size: 13px; color: var(--dark);
  text-decoration: none; transition: background 0.15s;
}
/* "reiche" Eintraege mit Titel+Untertitel (z.B. "Uebersicht") sind zweizeilig,
   dort soll das Icon oben an der Titelzeile ausgerichtet sein statt mittig
   zum kompletten Block inkl. Untertitel. */
.dropdown a:has(> div) { align-items: flex-start; }
.dropdown a:hover  { background: #f5f4f1; }
.dropdown a i      { font-size: 15px; color: var(--copper); width: 18px; flex-shrink: 0; }
/* Bei zweizeiligen ("reichen") Eintraegen wie "Uebersicht" muss das Icon exakt
   auf der ersten Zeile (Titel) zentriert sein, nicht am Container-Rand kleben.
   Statt eines geschaetzten margin-top bekommen Icon UND Titel-Zeile dieselbe
   feste line-height — dadurch zentrieren sich beide Glyphen automatisch gleich,
   unabhaengig von Font-Metriken. */
.dropdown a:has(> div) i { line-height: 20px; }
.dropdown a > div > div:first-child { line-height: 20px; }
.dropdown-sub      { font-size: 11px; color: rgba(78,88,89,0.45); margin-top: 1px; line-height: 1.3; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-lang {
  color: rgba(237,224,182,0.5); font-size: 14px; cursor: pointer;
  border: 1px solid rgba(237,224,182,0.18); padding: 4px 10px; border-radius: 4px;
  transition: all 0.2s; user-select: none;
}
.nav-lang:hover { border-color: rgba(237,224,182,0.4); color: var(--beige); }

/* ══ Sprachumschalter (Weglot 6.x, [weglot_switcher]) ═══════════════════════════════
   Weglot erzeugt:  <aside class="country-selector weglot-dropdown …">
                      <input class="weglot_choice" type="checkbox">
                      <label class="wgcurrent …">DE</label>          <- aktuelle Sprache
                      <ul><li><a href=".../en/"><span>EN</span></a></li></ul>   <- andere Sprachen
   Bei zwei Sprachen soll der Umschalter wie das fruehere "EN"-Feld wirken: nur ein Button mit der
   JEWEILS ANDEREN Sprache (auf Deutsch "EN", auf Englisch "DE"). Deshalb werden die aktuelle
   Sprache und das Auswahlfeld ausgeblendet und die Liste ohne Dropdown-Verhalten angezeigt.
   !important gegen das Standard-CSS des Plugins (bekanntes Muster im Projekt). Kommt eine dritte
   Sprache dazu, stehen die Links nebeneinander. Selektoren bewusst ueber die Struktur (ul/li/a). */
.nav-weglot,
.burger-weglot { display: flex; align-items: center; }

.nav-weglot .country-selector,
.burger-weglot .country-selector {
  position: static !important; width: auto !important; height: auto !important; min-width: 0 !important;
  margin: 0 !important; padding: 0 !important; overflow: visible !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  font-family: inherit !important;
}
.nav-weglot .country-selector .wgcurrent,
.burger-weglot .country-selector .wgcurrent,
.nav-weglot .country-selector input.weglot_choice,
.burger-weglot .country-selector input.weglot_choice { display: none !important; }

.nav-weglot .country-selector ul,
.burger-weglot .country-selector ul {
  display: flex !important; flex-direction: row; align-items: center; gap: 8px;
  position: static !important; width: auto !important; max-height: none !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important; overflow: visible !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  /* visibility: inherit (NICHT visible): Elementors Sticky-Header legt eine unsichtbare Kopie als
     Platzhalter an (visibility: hidden). Ein erzwungenes "visible" wuerde den Umschalter dort sichtbar machen. */
  opacity: 1 !important; visibility: inherit !important; transform: none !important;
}
.nav-weglot .country-selector li,
.burger-weglot .country-selector li {
  display: block !important; width: auto !important; height: auto !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
  background: transparent !important; border: 0 !important;
}

/* Der Button: gleiche Werte wie das fruehere .nav-lang bzw. .btn-lang */
.nav-weglot .country-selector li a {
  display: flex !important; align-items: center; justify-content: center;
  height: auto !important; min-height: 0 !important; box-sizing: border-box !important;
  padding: 4px 10px !important;
  font-family: inherit !important; font-size: 14px !important; line-height: 1.2 !important;
  color: rgba(237,224,182,0.5) !important; text-decoration: none !important;
  background: transparent !important; border: 1px solid rgba(237,224,182,0.18) !important; border-radius: 4px !important;
  transition: all 0.2s;
}
.nav-weglot .country-selector li a:hover,
.nav-weglot .country-selector li a:focus-visible { border-color: rgba(237,224,182,0.4) !important; color: var(--beige) !important; }

.burger-weglot .country-selector li a {
  display: flex !important; align-items: center; justify-content: center;
  height: auto !important; min-height: 0 !important; box-sizing: border-box !important;
  padding: 11px 18px !important;
  font-family: inherit !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.2 !important;
  color: rgba(237,224,182,0.6) !important; text-decoration: none !important;
  background: transparent !important; border: 1.5px solid rgba(237,224,182,0.18) !important; border-radius: 7px !important;
  transition: border-color 0.2s;
}
.burger-weglot .country-selector li a:hover,
.burger-weglot .country-selector li a:focus-visible { border-color: rgba(237,224,182,0.4) !important; }

/* Weglot haengt an den Sprachnamen Platzhalter (Flaggen-Symbol per ::before/::after) und teils
   eigene Abstaende/Zeilenhoehen. Beides entfernen, sonst sitzt der Text nicht mittig im Button. */
.nav-weglot .country-selector li a::before,
.nav-weglot .country-selector li a::after,
.nav-weglot .country-selector li a span::before,
.nav-weglot .country-selector li a span::after,
.burger-weglot .country-selector li a::before,
.burger-weglot .country-selector li a::after,
.burger-weglot .country-selector li a span::before,
.burger-weglot .country-selector li a span::after { display: none !important; content: none !important; }
.nav-weglot .country-selector .wglanguage-name,
.burger-weglot .country-selector .wglanguage-name {
  display: block !important; margin: 0 !important; padding: 0 !important;
  line-height: inherit !important; vertical-align: baseline !important;
}

/* Absicherung: Weglot blendet zusaetzlich seinen Standard-Button ein (schwebend, fest am
   Bildschirmrand), solange er in den Plugin-Einstellungen nicht abgeschaltet ist. Gebraucht werden nur
   die Umschalter per Shortcode (Klasse .weglot-shortcode). Alle anderen werden ausgeblendet. */
.country-selector:not(.weglot-shortcode) { display: none !important; }

/* sichtbarer Tastaturfokus */
.nav-weglot .country-selector li a:focus-visible,
.burger-weglot .country-selector li a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* Desktop-Suche: Icon klappt sich zu einem Eingabefeld auf */
.nav-search { position: relative; display: flex; align-items: center; }

.nav-search-btn {
  background: transparent !important; /* Sicherheitsnetz gegen Theme-Standardstile fuer Buttons */
  box-shadow: none !important;
  border: none !important;
  color: rgba(237,224,182,0.7);
  cursor: pointer;
  padding: 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.nav-search-btn:hover { background: rgba(237,224,182,0.1) !important; color: var(--beige); }

.nav-search-form {
  position: absolute;
  right: calc(100% + 4px); top: 50%; transform: translateY(-50%);
  width: 0; overflow: hidden;
  transition: width 0.25s ease;
}
.nav-search.is-open .nav-search-form { width: 200px; }

.nav-search-input {
  width: 100%; box-sizing: border-box;
  background: rgba(237,224,182,0.08) !important;
  border: 1px solid rgba(237,224,182,0.18) !important;
  color: var(--beige);
  font-family: inherit; font-size: 13px;
  padding: 7px 12px; border-radius: 5px;
  outline: none;
}
.nav-search-input::placeholder { color: rgba(237,224,182,0.4); }
.nav-search-input:focus-visible { border-color: var(--cyan) !important; }

/* Hamburger — hidden on desktop */
.global-header .hamburger-btn {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px;
  background: transparent !important; /* Sicherheitsnetz gegen Theme-Standardstile fuer Buttons */
  box-shadow: none !important;
  border: none !important;
  cursor: pointer;
  padding: 8px; border-radius: 6px; transition: background 0.15s;
}
.global-header .hamburger-btn:hover { background: rgba(237,224,182,0.1) !important; }
.hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: rgba(237,224,182,0.85); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   BURGER OVERLAY
══════════════════════════════════════════════════════════ */
.burger-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  width: 100vw !important; height: 100vh !important;
  z-index: 9999 !important; /* ueber Elementor-Header/Sticky-Elementen */
  pointer-events: none;
}
.burger-overlay.is-open { display: block !important; pointer-events: auto; }

.burger-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity 0.3s ease;
}
.burger-overlay.is-open .burger-backdrop { opacity: 1; }

.burger-panel {
  position: absolute;
  top: var(--header-h); left: 0; right: 0;
  background: var(--dark);
  border-top: 1px solid rgba(237,224,182,0.08);
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.burger-overlay.is-open .burger-panel { transform: translateY(0); }

.burger-nav-item { border-bottom: 0.5px solid rgba(237,224,182,0.07); }

.burger-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
  color: rgba(237,224,182,0.8); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 0.15s; user-select: none;
}
.burger-nav-row:hover    { background: rgba(237,224,182,0.05); }
.burger-nav-row.is-active { color: var(--beige); }

.burger-nav-row .row-right { display: flex; align-items: center; gap: 8px; }
.burger-nav-row .chevron {
  font-size: 14px; color: rgba(237,224,182,0.3);
  transition: transform 0.22s ease;
}
.burger-nav-row.is-expanded .chevron { transform: rotate(180deg); }
.burger-nav-row .ext-icon { font-size: 12px; color: rgba(237,224,182,0.3); }

.burger-submenu {
  overflow: hidden; max-height: 0;
  transition: max-height 0.32s ease;
  background: rgba(0,0,0,0.18);
}
.burger-submenu.is-open { max-height: 700px; }

.burger-submenu-panel-title {
  padding: 14px 24px 10px;
  font-size: 12px; font-weight: 700; color: var(--copper);
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 0.5px solid rgba(237,224,182,0.15);
  margin-bottom: 4px;
}
.burger-submenu-label {
  padding: 10px 24px 4px;
  font-size: 10px; font-weight: 700; color: rgba(237,224,182,0.28);
  letter-spacing: 0.09em; text-transform: uppercase;
}
.burger-submenu a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 24px 12px 28px;
  font-size: 13.5px; color: rgba(237,224,182,0.65);
  text-decoration: none; border-left: 2.5px solid transparent;
  transition: all 0.15s;
}
.burger-submenu a:hover {
  background: rgba(237,224,182,0.05); color: var(--beige);
  border-left-color: var(--copper);
}
.burger-submenu a i { font-size: 15px; color: var(--copper); width: 18px; flex-shrink: 0; margin-top: 1px; }
.burger-submenu-sub { font-size: 11px; color: rgba(237,224,182,0.35); display: block; margin-top: 1px; }

.burger-footer {
  padding: 16px 24px 24px; display: flex; gap: 10px;
  border-top: 0.5px solid rgba(237,224,182,0.07);
}
.burger-search-form {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(237,224,182,0.06) !important;
  border: 1.5px solid rgba(237,224,182,0.18) !important;
  border-radius: 7px; padding: 0 12px;
}
.burger-search-form i { color: rgba(237,224,182,0.4); font-size: 15px; flex-shrink: 0; }
.burger-search-input {
  flex: 1; min-width: 0; background: transparent !important; border: none !important;
  color: var(--beige); font-family: inherit; font-size: 13.5px;
  padding: 11px 0; outline: none;
}
.burger-search-input::placeholder { color: rgba(237,224,182,0.35); }
.burger-footer .btn-lang {
  background: transparent; color: rgba(237,224,182,0.6);
  font-size: 13px; font-weight: 500; padding: 11px 18px;
  border-radius: 7px; border: 1.5px solid rgba(237,224,182,0.18);
  cursor: pointer; font-family: inherit; transition: border-color 0.2s;
}
.burger-footer .btn-lang:hover { border-color: rgba(237,224,182,0.4); }

/* ══════════════════════════════════════════════════════════
   MOBILE HORIZONTAL SUBNAV
══════════════════════════════════════════════════════════ */
.mobile-subnav {
  display: none;
  background: var(--white);
  border-bottom: 2px solid rgba(78,88,89,0.08);
  position: sticky; top: var(--header-h); z-index: 200;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.mobile-subnav::-webkit-scrollbar { display: none; }
.mobile-subnav-inner { display: flex; padding: 0 16px; white-space: nowrap; min-width: max-content; }
.mobile-subnav a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 13px 13px; font-size: 12.5px; font-weight: 500;
  color: rgba(78,88,89,0.6); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.mobile-subnav a:hover  { color: var(--dark); }
.mobile-subnav a.active { color: var(--copper); border-bottom-color: var(--copper); font-weight: 600; }
.mobile-subnav a i { font-size: 13px; }

/* ══════════════════════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--dark); padding: 52px 40px 44px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(194,94,38,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 16px; font-size: 12px; color: rgba(237,224,182,0.45);
}
.breadcrumb a { color: rgba(237,224,182,0.45); text-decoration: none; }
.breadcrumb a:hover { color: rgba(237,224,182,0.75); }
.breadcrumb i { font-size: 12px; }
.page-hero h1 { font-size: 36px; font-weight: 700; color: var(--beige); line-height: 1.15; margin-bottom: 10px; max-width: 560px; }
.page-hero p  { font-size: 15px; color: rgba(237,224,182,0.65); line-height: 1.65; max-width: 520px; }

/* ══════════════════════════════════════════════════════════
   CONTENT WRAPPER — desktop: sidebar + main
══════════════════════════════════════════════════════════ */
.content-wrapper {
  display: flex; align-items: flex-start;
  max-width: 1200px; margin: 0 auto;
  padding: 40px 40px 80px; gap: 48px;
}

/* ── DESKTOP SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  /* position: sticky wurde entfernt — Elementors eigener Sticky-Effekt
     (Erweitert -> Motion Effects) uebernimmt das jetzt, da er unabhaengig
     von der Flex-Container-Hoehe funktioniert. Nicht beides gleichzeitig
     verwenden, um Konflikte zu vermeiden. */
  align-self: flex-start;
}
.sidebar-title {
  font-size: 10px; font-weight: 700; color: rgba(78,88,89,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0 12px; margin-bottom: 10px;
}
/* Wiederverwendbare weisse Kachel/Panel-Optik (Basis: Sidebar-Box).
   Ueber "Erweitert -> CSS-Klassen" an beliebige Elementor-Container haengen,
   um dieselbe Karte-mit-Schatten-Optik anderswo zu nutzen. */
.berentzen-panel {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  border: 0.5px solid rgba(78,88,89,0.1);
  box-shadow: 0 2px 12px rgba(78,88,89,0.06);
}

.sidebar-nav {
  background: var(--white); border-radius: 10px; padding: 8px 0;
  border: 0.5px solid rgba(78,88,89,0.1);
  box-shadow: 0 2px 12px rgba(78,88,89,0.06);
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  color: rgba(78,88,89,0.65); text-decoration: none;
  border-left: 3px solid transparent; transition: all 0.2s;
}
.sidebar-nav a:hover  { color: var(--dark); background: #f7f6f3; }
.sidebar-nav a.active {
  color: var(--copper); font-weight: 600;
  border-left-color: var(--copper); background: rgba(194,94,38,0.05);
}
.sidebar-nav a i { font-size: 15px; width: 18px; flex-shrink: 0; opacity: 0.7; }
.sidebar-nav a.active i { opacity: 1; color: var(--copper); }
.sidebar-progress {
  height: 3px; background: rgba(78,88,89,0.08);
  border-radius: 2px; margin: 12px 16px 0; overflow: hidden;
}
.sidebar-progress-bar {
  height: 100%; background: var(--copper);
  border-radius: 2px; transition: width 0.3s ease; width: 0%;
}
.sidebar-progress-label {
  font-size: 10px; color: rgba(78,88,89,0.35);
  padding: 6px 16px 8px; text-align: right;
}

/* ── MAIN CONTENT ── */
.main-content { flex: 1; min-width: 0; }

/* .content-section ist der FUNKTIONALE Marker fuer die Scrollspy-Erkennung
   (JS sucht per document.querySelectorAll('.content-section')) sowie fuer
   den Sprungmarken-Versatz unter dem Sticky-Header. Traegt bewusst KEINE
   Optik mehr — die weisse Karten-Optik liegt getrennt in .section-card,
   damit beides unabhaengig voneinander einsetzbar ist. */
.content-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Optische "weisse Karte" — optional zusaetzlich zu .content-section setzen,
   wenn die Panel-Optik gewuenscht ist (z.B. <div class="content-section section-card">). */
.section-card {
  background: var(--white); border-radius: 14px; padding: 40px 40px;
  margin-bottom: 20px; border: 0.5px solid rgba(78,88,89,0.08);
}

/* Responsive Abstaende fuer .section-card — zentral hier gepflegt statt
   pro Instanz in Elementor (Erweitert -> Abstand). Werte folgen konsequent
   einem 8px-Raster (8/16/24/32/40/48) und sind 1:1 an die aktiven
   Elementor-Breakpoints gekoppelt (Website-Einstellungen -> Layout ->
   Breakpoints, Stand: Mobil Hochformat 767 / Mobil Querformat 880 /
   Tablet Hochformat 1024 / Tablet Querformat 1200 / Laptop 1366 /
   Breitbild 2400). Absteigend sortiert (Laptop zuerst, Mobil Hochformat
   zuletzt), damit bei ueberlappenden max-width-Bereichen stets die
   kleinste Aufloesung gewinnt. Ein individuelles Elementor-Padding pro
   Element (hoehere Spezifitaet durch die .elementor-element-Klasse)
   ueberschreibt diese Basiswerte weiterhin bei Bedarf. */
@media (max-width: 1366px) { /* Laptop */
  .section-card { padding: 32px; }
}
@media (max-width: 1200px) { /* Tablet Querformat */
  .section-card { padding: 32px 24px; }
}
@media (max-width: 1024px) { /* Tablet Hochformat */
  .section-card { padding: 24px; }
}
@media (max-width: 880px) { /* Mobil Querformat */
  .section-card { padding: 24px 16px; }
}
@media (max-width: 767px) { /* Mobil Hochformat */
  .section-card { padding: 16px; }
}
@media (min-width: 2400px) { /* Breitbild */
  .section-card { padding: 48px; }
}

.section-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.section-eyebrow::before {
  content: ''; width: 20px; height: 2.5px;
  background: var(--cyan); border-radius: 2px; display: block;
}
.section-eyebrow span {
  font-size: 11px; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.09em; text-transform: uppercase;
}

h2.section-title { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.section-lead    { font-size: 14.5px; color: rgba(78,88,89,0.7); line-height: 1.75; margin-bottom: 20px; }

/* KPI grid */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 24px; }
.kpi-card { background: var(--beige); border-radius: 10px; padding: 18px 16px; text-align: center; }
.kpi-val  { font-size: 26px; font-weight: 700; color: var(--dark); }
.kpi-val sup { font-size: 13px; color: var(--copper); }
.kpi-lbl  { font-size: 11px; color: rgba(78,88,89,0.55); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Map placeholder */
.map-placeholder {
  background: #e8e6e0; border-radius: 10px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 20px; border: 0.5px dashed rgba(78,88,89,0.25);
  flex-direction: column; gap: 8px;
}
.map-placeholder i    { font-size: 28px; color: rgba(78,88,89,0.3); }
.map-placeholder span { font-size: 12px; color: rgba(78,88,89,0.4); letter-spacing: 0.06em; text-transform: uppercase; }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 20px; }
.team-card { border: 0.5px solid rgba(78,88,89,0.1); border-radius: 10px; overflow: hidden; }
.team-avatar {
  background: linear-gradient(135deg, #4E5859, #3a4445);
  height: 90px; display: flex; align-items: center; justify-content: center;
}
.team-avatar i { font-size: 32px; color: rgba(237,224,182,0.4); }
.team-info  { padding: 12px 14px; }
.team-name  { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.team-role  { font-size: 11.5px; color: rgba(78,88,89,0.5); }

/* Timeline */
.timeline { margin-top: 20px; display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 20px; padding-bottom: 24px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute;
  left: 47px; top: 24px; bottom: 0;
  width: 1.5px; background: rgba(78,88,89,0.12);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  width: 52px; font-size: 13px; font-weight: 700; color: var(--copper);
  flex-shrink: 0; padding-top: 2px; text-align: right;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--copper);
  flex-shrink: 0; margin-top: 4px; border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--copper); z-index: 1;
}
.timeline-text h4 { font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.timeline-text p  { font-size: 12.5px; color: rgba(78,88,89,0.6); line-height: 1.55; margin: 0; }

/* Annotation */
.annotation {
  background: #fff8f0; border: 1.5px dashed var(--copper);
  border-radius: 8px; padding: 12px 16px; margin-bottom: 20px;
  font-size: 12.5px; color: #7a3a12;
  display: flex; align-items: flex-start; gap: 10px;
}
.annotation i { font-size: 16px; color: var(--copper); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — burger at 1024px
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-right .nav-lang   { display: none; }
  .nav-right .nav-weglot { display: none; } /* auf kleinen Bildschirmen im Burger-Menue */
  .nav-right .nav-search { display: none; }
  .global-header .hamburger-btn { display: flex; }

  .global-header { padding: 0 20px; }
  .mobile-subnav { display: block; }

  .content-section { scroll-margin-top: calc(var(--header-h) + 46px + 16px); }

  /* Hide sidebar, full-width content */
  .sidebar { display: none; }
  .content-wrapper { padding: 20px 20px 60px; gap: 0; }

  .page-hero { padding: 36px 24px 32px; }
  .page-hero h1 { font-size: 28px; }
  .content-section { padding: 24px 20px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .page-hero { padding: 24px 16px 20px; }
  .page-hero h1 { font-size: 22px; }
  .content-wrapper { padding: 14px 12px 60px; }
  .content-section { padding: 18px 14px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   ELEMENTOR NESTED ACCORDION — weiche Transition zwischen
   "+" und "−" statt hartem Umschalten (sitewide, betrifft jedes
   Akkordeon auf der Seite, nicht nur einzelne Instanzen).

   Elementor selbst bringt fuer dieses Widget bereits eigene,
   hochspezifische Regeln mit (4 verkettete Klassen, z.B.
   ".elementor-widget-n-accordion .e-n-accordion-item[open]
   > .e-n-accordion-item-title .e-n-accordion-item-title-icon
   .e-opened { display: flex }"). Damit unsere Regeln zuverlaessig
   gewinnen, statt nur teilweise (z.B. display ja, opacity nein),
   bekommen ALLE unsere Werte hier bewusst !important — nicht nur
   display wie im ersten Versuch.
══════════════════════════════════════════════════════════ */

/* Icon-Wrapper: Fixe Groesse noetig, da beide Icons jetzt uebereinander
   liegen (position: absolute) statt nacheinander im Textfluss */
.e-n-accordion-item-title-icon {
  position: relative !important;
  width: 1em !important;
  height: 1em !important;
}

/* Beide Icons immer im DOM sichtbar (display bleibt konstant) — nur noch
   die Opacity steuert, welches gerade zu sehen ist */
.e-n-accordion-item-title-icon .e-opened,
.e-n-accordion-item-title-icon .e-closed {
  display: flex !important;
  position: absolute !important;
  inset: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Geschlossener Grundzustand: "+" sichtbar, "−" unsichtbar */
.e-n-accordion-item-title-icon .e-closed { opacity: 1 !important; transform: rotate(0deg) !important; }
.e-n-accordion-item-title-icon .e-opened { opacity: 0 !important; transform: rotate(-90deg) !important; }

/* Geoeffneter Zustand — mehrere Selektor-Varianten gleichzeitig, damit
   es unabhaengig von Elementor-Version/Konfiguration sicher greift:
   [aria-expanded="true"] (Standard bei diesem Widget), .e-active
   (alternative Elementor-Variante), UND zusaetzlich dieselbe
   Ankerkette wie Elementors eigene Regel (fuer gleiche/hoehere
   Spezifitaet als zusaetzliche Absicherung neben !important). */
[aria-expanded="true"] .e-n-accordion-item-title-icon .e-closed,
.e-active .e-n-accordion-item-title-icon .e-closed,
.elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed {
  opacity: 0 !important;
  transform: rotate(90deg) !important;
}
[aria-expanded="true"] .e-n-accordion-item-title-icon .e-opened,
.e-active .e-n-accordion-item-title-icon .e-opened,
.elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened {
  opacity: 1 !important;
  transform: rotate(0deg) !important;
}

@media (prefers-reduced-motion: reduce) {
  .e-n-accordion-item-title-icon .e-opened,
  .e-n-accordion-item-title-icon .e-closed {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════
   EXTERNE MENUEPUNKTE (is-external): Icon statt Text-Pfeil
   Markup kommt aus berentzen_external_marker() im Nav-Walker
   (Icon aria-hidden + versteckter Screenreader-Hinweis).
══════════════════════════════════════════════════════════ */
.nav-sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* Header (Ebene 0, z.B. "Karriere"): dezent hinter dem Text, erbt die Textfarbe */
.global-header .nav-links .nav-item > a .nav-ext-icon {
  font-size: 13px; line-height: 1; opacity: 0.7;
}

/* Dropdown + Burger-Submenue: ueberschreibt die allgemeine Icon-Regel
   (".dropdown a i" / ".burger-submenu a i" = grosses Kupfer-Icon vorn) */
.dropdown a .nav-ext-icon,
.burger-submenu a .nav-ext-icon {
  display: inline-block; width: auto; margin: 0 0 0 4px;
  font-size: 12px; line-height: 1; color: inherit; opacity: 0.6;
  vertical-align: -1px;
}

/* Burger: direkte Menuepunkte sind jetzt echte Links (<a>), nicht mehr <div>.
   Farbe/Unterstreichung gegen Elementor-Kit-Linkstile absichern. */
a.burger-nav-row,
a.burger-nav-row:visited,
a.burger-nav-row:hover,
a.burger-nav-row:focus { text-decoration: none; color: rgba(237,224,182,0.8) !important; }
a.burger-nav-row.is-active,
a.burger-nav-row.is-active:visited { color: var(--beige) !important; }
a.burger-nav-row:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }