
/* Stedinger Archiv v05.65.04
   Frontend-Header und Navigation.
   Eigene Datei absichtlich zur sicheren Cache-Aktualisierung. */

.public-header-v056504{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
  background:#fbfaf6!important;
  border:0!important;
  box-shadow:none!important;
}
.public-header-row-v056504{
  width:min(1460px,calc(100% - 32px));
  margin:0 auto;
  padding:12px 0 10px;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:32px!important;
}
.public-brand-v056504{
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  text-decoration:none!important;
}
.public-brand-copy-v056504{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.public-brand-copy-v056504 b{
  margin:0!important;
  color:var(--accent,#244f59)!important;
  font-family:var(--front-heading-font,Georgia,serif)!important;
  font-size:clamp(1.65rem,2.1vw,2.25rem)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.public-brand-copy-v056504 small{
  color:#68756f!important;
  font-size:.76rem!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.public-tools-v056504{
  justify-self:end!important;
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.public-tool-v056504,
.public-mobile-toggle-v056504{
  min-height:38px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(36,79,89,.24)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#244f59!important;
  text-decoration:none!important;
  font-size:.88rem!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:0 1px 2px rgba(0,0,0,.025)!important;
}
.public-tool-v056504:hover,
.public-mobile-toggle-v056504:hover{
  background:#f1f6f5!important;
  border-color:rgba(36,79,89,.42)!important;
}
.public-tool-backend-v056504{
  background:#244f59!important;
  border-color:#244f59!important;
  color:#fff!important;
}
.public-tool-backend-v056504:hover{
  background:#1d434c!important;
  color:#fff!important;
}
.public-tool-icon-v056504{
  display:inline-grid!important;
  place-items:center!important;
  width:16px!important;
  height:16px!important;
  font-size:.8rem!important;
}
.public-mobile-toggle-v056504{display:none!important}

/* Logo: the configured value must win over all historic fixed-size rules. */
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.public-header-v056504 .public-logo-v056504{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}

/* Navigation is a separate, calm row. */
.public-mainnav-v056504{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border-top:1px solid rgba(36,79,89,.12)!important;
  border-bottom:1px solid rgba(36,79,89,.16)!important;
  box-shadow:0 2px 8px rgba(30,55,48,.035)!important;
  overflow:visible!important;
  position:relative!important;
  z-index:60!important;
}
.public-mainnav-inner-v056504{
  width:min(1460px,calc(100% - 32px));
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:2px!important;
  overflow:visible!important;
}
.public-mainnav-link-v056504{
  position:relative!important;
  min-height:48px!important;
  padding:0 15px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#365e66!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  text-decoration:none!important;
  font-size:.89rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.public-mainnav-link-v056504:hover,
.public-mainnav-link-v056504.active,
.public-nav-group-v056504.open>.public-mainnav-link-v056504{
  background:#f1f6f5!important;
  color:#123f49!important;
}
.public-mainnav-link-v056504.active::after,
.public-nav-group-v056504.open>.public-mainnav-link-v056504::after{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:0!important;
  height:3px!important;
  background:#244f59!important;
  border-radius:3px 3px 0 0!important;
}
.public-nav-group-v056504{position:relative!important}
.public-nav-arrow-v056504{
  font-size:.68rem!important;
  opacity:.6!important;
  transition:transform .15s ease!important;
}
.public-nav-group-v056504.open .public-nav-arrow-v056504{transform:rotate(180deg)!important}
.public-dropdown-v056504{
  display:none!important;
  position:absolute!important;
  top:calc(100% + 7px)!important;
  left:0!important;
  min-width:300px!important;
  width:max-content!important;
  max-width:min(580px,90vw)!important;
  padding:10px!important;
  background:#fff!important;
  border:1px solid rgba(36,79,89,.2)!important;
  border-radius:10px!important;
  box-shadow:0 14px 34px rgba(28,50,40,.15)!important;
  z-index:200!important;
}
.public-nav-group-v056504.open>.public-dropdown-v056504{display:block!important}
.public-nav-group-v056504:nth-last-child(-n+2)>.public-dropdown-v056504{left:auto!important;right:0!important}
.public-dropdown-heading-v056504{
  padding:3px 7px 9px!important;
  margin-bottom:5px!important;
  border-bottom:1px solid rgba(36,79,89,.11)!important;
  color:#244f59!important;
  font-size:.75rem!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
.public-dropdown-grid-v056504{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(145px,1fr))!important;
  gap:3px 7px!important;
}
.public-dropdown-grid-v056504 a{
  min-height:36px!important;
  padding:7px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  color:#2c4741!important;
  text-decoration:none!important;
  font-size:.84rem!important;
}
.public-dropdown-grid-v056504 a:hover,
.public-dropdown-grid-v056504 a.active{
  background:#f1f6f5!important;
  border-color:rgba(36,79,89,.1)!important;
  color:#123f49!important;
}

/* Tablet */
@media(max-width:980px){
  .public-header-row-v056504,
  .public-mainnav-inner-v056504{width:calc(100% - 24px)!important}
  .public-brand-copy-v056504 b{font-size:1.55rem!important}
  .public-mainnav-inner-v056504{overflow-x:auto!important}
  .public-mainnav-link-v056504{padding:0 11px!important;font-size:.84rem!important}
}

/* Mobile */
@media(max-width:820px){
  .public-header-row-v056504{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px!important;
    padding:9px 0!important;
  }
  .public-brand-copy-v056504 small{display:none!important}
  .public-tools-v056504 .public-tool-search-v056504{display:none!important}
  .public-mobile-toggle-v056504{display:inline-flex!important}
  .public-mainnav-v056504{display:none!important}
  .public-mainnav-v056504.mobile-open{display:block!important}
  .public-mainnav-inner-v056504{
    display:grid!important;
    grid-template-columns:1fr!important;
    overflow:visible!important;
    padding:8px 0 10px!important;
  }
  .public-mainnav-link-v056504{
    width:100%!important;
    min-height:44px!important;
    justify-content:space-between!important;
    border:1px solid rgba(36,79,89,.12)!important;
    border-radius:8px!important;
    margin-bottom:4px!important;
  }
  .public-mainnav-link-v056504.active::after,
  .public-nav-group-v056504.open>.public-mainnav-link-v056504::after{display:none!important}
  .public-nav-group-v056504{position:static!important}
  .public-dropdown-v056504,
  .public-nav-group-v056504:nth-last-child(-n+2)>.public-dropdown-v056504{
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:-1px 0 7px!important;
    box-shadow:none!important;
  }
}
@media(max-width:560px){
  .public-header-row-v056504{grid-template-columns:1fr!important}
  .public-tools-v056504{justify-self:start!important;margin-left:0!important}
  .public-brand-copy-v056504 b{white-space:normal!important;font-size:1.3rem!important}
  .public-dropdown-grid-v056504{grid-template-columns:1fr!important}
}


/* v05.65.05 – dynamische Logo-Maße über CSS-Variablen aus dem HTML-Template.
   Wichtig: statische CSS-Dateien können keine Jinja-Variablen auswerten. */
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  flex-basis:var(--sa-front-logo-w,184px)!important;
  overflow:visible!important;
}
.public-header-v056504 .public-logo-v056504,
.public-header-v056504 .brand-logo.public-logo-v056504,
.public-header-v056504 .brand-logo-clean.public-logo-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  object-fit:contain!important;
  transform:none!important;
}
.public-header-v056504 .public-header-row-v056504{
  min-height:calc(var(--sa-front-logo-h,116px) + 20px)!important;
}

/* Backend ebenfalls ohne Jinja in statischer CSS-Datei */
.backend-topbar .brand-logo-frame{
  width:var(--sa-back-logo-w,184px)!important;
  height:var(--sa-back-logo-h,116px)!important;
  min-width:var(--sa-back-logo-w,184px)!important;
  min-height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
  flex:0 0 var(--sa-back-logo-w,184px)!important;
}
.backend-topbar .brand-logo,
.backend-topbar .brand-logo-clean{
  width:auto!important;
  height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
}


/* v05.65.06 – Frontend Kopf-/Menübereich ca. 10 % höher und lesbarer */

/* Kopfzeile: etwa 10 % mehr vertikaler Raum ohne unnötige Leerräume. */
.public-header-v056504 .public-header-row-v056504{
  padding-top:14px!important;
  padding-bottom:12px!important;
  min-height:calc(var(--sa-front-logo-h,116px) + 30px)!important;
}

/* Branding etwas ruhiger und besser lesbar. */
.public-header-v056504 .public-brand-copy-v056504{
  gap:4px!important;
}
.public-header-v056504 .public-brand-copy-v056504 b{
  font-size:clamp(1.78rem,2.25vw,2.38rem)!important;
  line-height:1.03!important;
  letter-spacing:-.01em!important;
}
.public-header-v056504 .public-brand-copy-v056504 small{
  font-size:.80rem!important;
  line-height:1.2!important;
}

/* Suche / Backend geringfügig größer, passend zur höheren Kopfzeile. */
.public-header-v056504 .public-tool-v056504,
.public-header-v056504 .public-mobile-toggle-v056504{
  min-height:41px!important;
  padding-left:13px!important;
  padding-right:13px!important;
  font-size:.92rem!important;
  border-radius:9px!important;
}

/* Hauptnavigation: ca. 10 % höher und Schrift etwas größer. */
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:53px!important;
  padding-left:17px!important;
  padding-right:17px!important;
  font-size:.96rem!important;
  line-height:1.1!important;
  letter-spacing:.002em!important;
}
.public-header-v056504 .public-nav-arrow-v056504{
  font-size:.74rem!important;
  margin-left:2px!important;
}

/* Aktive Markierung proportional mitwachsen lassen. */
.public-header-v056504 .public-mainnav-link-v056504.active::after,
.public-header-v056504 .public-nav-group-v056504.open>.public-mainnav-link-v056504::after{
  left:14px!important;
  right:14px!important;
  height:3px!important;
}

/* Dropdowns an die etwas größere Navigation angleichen. */
.public-header-v056504 .public-dropdown-v056504{
  padding:12px!important;
  border-radius:11px!important;
}
.public-header-v056504 .public-dropdown-heading-v056504{
  font-size:.79rem!important;
  padding-bottom:10px!important;
}
.public-header-v056504 .public-dropdown-grid-v056504{
  gap:4px 9px!important;
}
.public-header-v056504 .public-dropdown-grid-v056504 a{
  min-height:39px!important;
  padding:8px 9px!important;
  font-size:.90rem!important;
  line-height:1.25!important;
}

/* Desktop: Navigation bleibt luftig, aber kompakt. */
@media(min-width:981px){
  .public-header-v056504 .public-mainnav-inner-v056504{
    gap:3px!important;
  }
}

/* Tablet: Vergrößerung etwas zurücknehmen, damit nichts gequetscht wirkt. */
@media(max-width:980px){
  .public-header-v056504 .public-header-row-v056504{
    padding-top:12px!important;
    padding-bottom:10px!important;
  }
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:50px!important;
    padding-left:13px!important;
    padding-right:13px!important;
    font-size:.90rem!important;
  }
  .public-header-v056504 .public-brand-copy-v056504 b{
    font-size:1.62rem!important;
  }
}

/* Mobil: Touch-Flächen größer, ohne unnötige Höhe. */
@media(max-width:820px){
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:48px!important;
    font-size:.94rem!important;
  }
  .public-header-v056504 .public-dropdown-grid-v056504 a{
    min-height:42px!important;
    font-size:.91rem!important;
  }
}


/* v05.65.07 – Headerhöhe folgt Logo; Navigation größer und kräftiger */

/* FRONTEND: Header grows and shrinks with configured logo height. */
.public-header-v056504 .public-header-row-v056504{
  height:auto!important;
  min-height:calc(var(--sa-front-logo-h,116px) + 28px)!important;
  padding:14px 0!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.public-header-v056504 .public-brand-v056504{
  min-height:var(--sa-front-logo-h,116px)!important;
}
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
}
.public-header-v056504 .public-logo-v056504{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* BACKEND: topbar grows and shrinks with its separately configured logo height. */
.backend-topbar{
  height:auto!important;
  min-height:calc(var(--sa-back-logo-h,116px) + 28px)!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.backend-topbar .brand,
.backend-topbar .backend-brand{
  min-height:var(--sa-back-logo-h,116px)!important;
  align-items:center!important;
}
.backend-topbar .brand-logo-frame{
  width:var(--sa-back-logo-w,184px)!important;
  height:var(--sa-back-logo-h,116px)!important;
  min-width:var(--sa-back-logo-w,184px)!important;
  min-height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
  flex:0 0 var(--sa-back-logo-w,184px)!important;
}
.backend-topbar .brand-logo,
.backend-topbar .brand-logo-clean{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* FRONTEND navigation: larger, bolder and easier to scan. */
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:56px!important;
  padding-left:19px!important;
  padding-right:19px!important;
  font-size:1rem!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.public-header-v056504 .public-nav-arrow-v056504{
  font-size:.78rem!important;
  font-weight:800!important;
}
.public-header-v056504 .public-dropdown-heading-v056504{
  font-size:.82rem!important;
  font-weight:850!important;
}
.public-header-v056504 .public-dropdown-grid-v056504 a{
  min-height:41px!important;
  font-size:.93rem!important;
  font-weight:700!important;
}

/* Backend two-row navigation: larger and bolder as well. */
.backend-quicknav .backend-nav-label,
.backend-quicknav .nav-label,
.backend-quicknav a,
.backend-quicknav button{
  font-size:.95rem!important;
  font-weight:750!important;
}
.backend-quicknav .backend-nav-item,
.backend-quicknav .nav-item,
.backend-quicknav>a,
.backend-quicknav>button{
  min-height:52px!important;
}

/* Header action controls scale gently with the larger header. */
.public-header-v056504 .public-tool-v056504,
.public-header-v056504 .public-mobile-toggle-v056504,
.backend-topbar .backend-actions a,
.backend-topbar .backend-actions button{
  font-weight:750!important;
}

/* Tablet/mobile: keep dynamic header but limit extra padding. */
@media(max-width:980px){
  .public-header-v056504 .public-header-row-v056504{
    min-height:calc(var(--sa-front-logo-h,100px) + 20px)!important;
    padding:10px 0!important;
  }
  .backend-topbar{
    min-height:calc(var(--sa-back-logo-h,100px) + 20px)!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:52px!important;
    padding-left:14px!important;
    padding-right:14px!important;
    font-size:.94rem!important;
    font-weight:800!important;
  }
}
@media(max-width:820px){
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:49px!important;
    font-size:.96rem!important;
  }
}


/* v05.65.08 – Frontend-Header folgt derselben Größenlogik wie Backend.
   Die Headerhöhe wird direkt aus der konfigurierten Logo-Höhe abgeleitet. */

/* FRONTEND TOPBAR */
.public-header-v056504{
  height:auto!important;
  min-height:var(--sa-front-header-h,156px)!important;
  overflow:visible!important;
}
.public-header-v056504 .public-header-row-v056504{
  height:var(--sa-front-header-h,156px)!important;
  min-height:var(--sa-front-header-h,156px)!important;
  max-height:none!important;
  padding:20px 0!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.public-header-v056504 .public-brand-v056504{
  height:var(--sa-front-logo-h,116px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-height:none!important;
  align-items:center!important;
}
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.public-header-v056504 .public-logo-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  object-fit:contain!important;
  display:block!important;
}

/* BACKEND: same 40px safety margin, so both headers behave identically. */
.backend-topbar{
  height:var(--sa-back-header-h,156px)!important;
  min-height:var(--sa-back-header-h,156px)!important;
  max-height:none!important;
  padding-top:20px!important;
  padding-bottom:20px!important;
  box-sizing:border-box!important;
}

/* Frontend menu remains below the logo topbar and is visibly stronger. */
.public-header-v056504 .public-mainnav-v056504{
  min-height:58px!important;
}
.public-header-v056504 .public-mainnav-inner-v056504{
  min-height:58px!important;
}
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:58px!important;
  font-size:1.02rem!important;
  font-weight:800!important;
  padding-left:20px!important;
  padding-right:20px!important;
}

/* On desktop, title may scale a little with the larger header without competing with logo. */
@media(min-width:981px){
  .public-header-v056504 .public-brand-copy-v056504 b{
    font-size:clamp(1.9rem,2.35vw,2.5rem)!important;
    font-weight:700!important;
  }
  .public-header-v056504 .public-brand-copy-v056504 small{
    font-size:.84rem!important;
  }
}

/* Mobile/tablet: still follows logo, with a smaller safety margin. */
@media(max-width:980px){
  .public-header-v056504{
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
  }
  .public-header-v056504 .public-header-row-v056504{
    height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    padding:12px 0!important;
  }
  .backend-topbar{
    height:calc(var(--sa-back-logo-h,100px) + 24px)!important;
    min-height:calc(var(--sa-back-logo-h,100px) + 24px)!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
}
