/* Header der neuen Startseite – abgegrenzt für die Original-Unterseiten.
   Quelle: freigegebene Startseite (css/style.css), nur Header-Regeln.
   Technisch notwendige Abweichungen gegenüber style.css:
   1. Alle Selektoren unter .osteo (Wrapper nur um den Header), kein Seitenhintergrund/100vh.
   2. rem in px umgerechnet (Legacy setzt html{font-size:10px}).
   3. Link-Farben mit !important, weil Legacy a:link/a:visited/a:hover mit !important färbt.
   4. Eigene Schriftnamen 'NW Crimson Text' / 'NW Open Sans' (Legacy-Schriften bleiben unberührt). */
@font-face {
  font-family: 'NW Crimson Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/CrimsonText-600-normal.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'NW Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/OpenSans-400-normal.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'NW Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/OpenSans-600-normal.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --o-green: #327502;
  --o-green-tint: #f1f4ed;
  --o-ink: #26352b;
  --o-text: #37413b;
  --o-line: #dce5d6;
  --o-bg-d: #f7f7f7;
  --o-top: #f2f3f2;
}
.osteo {
  font: 400 17px/1.62 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--o-text);
}
.osteo a { color: inherit !important; text-decoration: none; }
:where(.osteo) button { font: inherit; color: inherit; background: transparent; border: 0; padding: 0; }
:where(.osteo) svg { display: block; }
:where(.osteo) h2 { margin: 0; }
.osteo ul { list-style: none; margin: 0; padding: 0; }
.osteo .ic { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 50; background: #fff; padding: 10px; }
.skip-link:focus { top: 8px; }
.osteo .burger:focus-visible, .osteo a:focus-visible, .osteo .mega-toggle:focus-visible {
  outline: 2px solid var(--o-green); outline-offset: 3px;
}
.osteo .site-header { position: relative; background: #fff; border-bottom: 1px solid var(--o-line); }
.osteo .topbar-mail { display: none !important; }
.osteo .topbar-phone {
  position: absolute; top: 17px; right: 66px; z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--o-green) !important; border: 1px solid var(--o-line); border-radius: 5px;
}
.osteo .topbar-phone .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.osteo .topbar-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.osteo .header-main { padding: 0 16px; min-height: 78px; display: flex; align-items: center; }
.osteo .brand { display: flex; flex-direction: column; gap: 1px; padding-right: 106px; min-width: 0; line-height: 1.08; }
.osteo .brand-name {
  font: 600 clamp(18.56px, 4.9vw, 22.72px)/1.08 "NW Crimson Text", Georgia, serif;
  color: var(--o-ink);
}
.osteo .brand-sub { font: 400 13.28px/1.45 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--o-ink); }
.osteo .sep-d, .osteo .brand-extra { display: none; }
.osteo .burger {
  position: absolute; top: 17px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border: 1px solid var(--o-line); border-radius: 5px;
  background: #f3f5f0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 4px; cursor: pointer;
}
.osteo .burger span { width: 20px; height: 2px; background: var(--o-green); border-radius: 2px; }
.osteo .nav-list {
  display: none; position: absolute; right: 16px; top: 72px; z-index: 20;
  width: min(88vw, 370px); background: #fff; border: 1px solid var(--o-line);
  border-radius: 12px; box-shadow: 0 12px 36px #1f39231f;
  padding: 0; max-height: 72vh; overflow-y: auto;
}
.osteo .main-nav[data-open="true"] .nav-list { display: block; }
.osteo .nav-list > li > a, .osteo .mega-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 6px; background: none; border: 0;
  color: var(--o-ink) !important; font: 400 15.2px/1.5 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-align: left; cursor: pointer;
}
.osteo .nav-list > li > a:hover, .osteo .nav-list > li > a:focus-visible, .osteo .mega-toggle:hover { background: var(--o-green-tint); }
.osteo .mega-toggle { font-weight: 600; }
.osteo .caret { width: 7px; height: 7px; border-top: 0 none; border-left: 0 none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 3px 0 0; transition: transform .2s; }
.osteo .has-mega[data-open="true"] .caret { transform: rotate(-135deg); margin-top: 2px; }
.osteo .mega { display: none; margin: 0 0 0 14px; border-left: 2px solid var(--o-line); padding: 3px 0; }
.osteo .has-mega[data-open="true"] .mega { display: block; }
.osteo .mega-title { display: none; }
.osteo .mega a { display: block; padding: 8px 11px; color: var(--o-ink) !important; font-size: 14.24px; line-height: 1.5; border-radius: 6px; }
.osteo .mega a:hover, .osteo .mega a:focus-visible { background: var(--o-green-tint); }
@media (max-width: 359px) {
.osteo .brand-name { font-size: 18.56px; }
.osteo .brand-sub { font-size: 12px; }
}
@media (min-width: 1001px) {
.osteo {
  font: 400 18px/1.65 "NW Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.osteo .site-header { background: var(--o-bg-d); border-bottom: 0; }
.osteo .topbar {
    height: 43px; background: var(--o-top); border-bottom: 1px solid var(--o-line);
    display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding: 0 24px;
  }
.osteo .topbar-link { display: inline-flex; align-items: center; gap: 6px; color: var(--o-green) !important; font: 600 13px/1.45 "NW Open Sans", Arial, sans-serif; }
.osteo .topbar-link:hover, .osteo .topbar-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.osteo .topbar-phone { position: static; width: auto; height: auto; border: 0; }
.osteo .topbar-phone .ic { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.osteo .topbar-mail { display: inline-flex !important; }
.osteo .topbar-mail .ic { width: 17px; }
.osteo .topbar-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.osteo .header-main {
    position: relative; width: calc(100% - 48px); margin: 0 24px; padding: 10px 0;
    min-height: 87.8px; display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px);
  }
.osteo .brand { padding: 0; flex: 0 0 202px; width: 202px; gap: 0; }
.osteo .brand-name { font: 600 26px/1 "NW Crimson Text", Georgia, serif; color: var(--o-green); letter-spacing: -.025em; margin-bottom: 5px; white-space: nowrap; }
.osteo .brand-sub { font: 400 14.3px/1.23 "NW Open Sans", Arial, sans-serif; color: #435740; letter-spacing: .18px; white-space: nowrap; }
.osteo .sep-m { display: none; }
.osteo .sep-d, .osteo .brand-extra { display: inline; }
.osteo .brand-extra { font-size: 14px; letter-spacing: .08px; }
.osteo .brand-secondline {
  display: block;
  margin-top: 2px;
}
.osteo .burger { display: none; }
.osteo .main-nav { flex: 1 1 0; min-width: 0; position: relative; min-height: 57px; display: flex; align-items: center; }
.osteo .nav-list {
    display: flex !important;
position: relative;
top: auto;
right: auto;
left: auto;
justify-content: space-around;
align-items: center;
   width: 100%; margin: 0; padding: 0 clamp(35px, calc(17vw - 170px), 140px); min-height: 53px; max-height: none;
    border: 0; border-bottom: 1px solid #cbd0cc; border-radius: 0;
    box-shadow: none; overflow: visible; background: transparent;
  }
.osteo .nav-list > li {  flex: 0 0 auto;
  display: flex;
  align-self: stretch;
  align-items: stretch; }
.osteo .nav-list > li > a, .osteo .mega-toggle {
    position: relative; width: auto; padding: 17px clamp(5px, .85vw, 14px);
    font: 600 clamp(12px, 1.07vw, 15px)/1.25 "NW Open Sans", Arial, sans-serif;
    white-space: nowrap; letter-spacing: 0; color: var(--o-ink) !important; gap: 9px;
    border-radius: 0; background: transparent !important;
  }
.osteo .nav-list > li > a:hover, .osteo .nav-list > li > a:focus-visible, .osteo .mega-toggle:hover, .osteo .mega-toggle:focus-visible { color: var(--o-green) !important; background: transparent; }
.osteo .nav-list > li > a::after, .osteo .mega-toggle::after {
    content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -2px;
    background: var(--o-green); transform: scaleX(0); transform-origin: center;
    transition: transform .27s ease; pointer-events: none; z-index: 2;
  }
.osteo .nav-list > li > a:hover::after, .osteo .nav-list > li > a:focus-visible::after, .osteo .has-mega:hover > .mega-toggle::after, .osteo .has-mega:focus-within > .mega-toggle::after { transform: scaleX(1); }
.osteo .caret {
    width: 0; height: 0; border: 6px solid transparent; border-top: 7px solid currentColor;
    border-bottom: 0; transform: none !important; margin: 4px 0 0 !important;
  }
.osteo .mega {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    margin: 0; padding: 21px 26px 24px; background: #fff;
    border: 1px solid var(--o-line); border-top: 3px solid var(--o-green);
    border-radius: 0 0 3px 3px; box-shadow: 0 15px 26px rgba(38,53,43,.09);
    grid-template-columns: .9fr 1.25fr 1fr; gap: 25px;
  }
.osteo .has-mega[data-open="true"] .mega, .osteo .has-mega:hover .mega, .osteo .has-mega:focus-within .mega { display: grid; }
.osteo .has-mega[data-open="true"] .mega-toggle { color: var(--o-green); }
.osteo .has-mega:hover > .mega-toggle::after, .osteo .has-mega:focus-within > .mega-toggle::after, .osteo .has-mega[data-open="true"] > .mega-toggle::after { transform: scaleX(0); }
.osteo .mega-overview { display: none !important; }
.osteo .mega-col { min-width: 0; padding: 0; }
.osteo .mega-col + .mega-col { border-left: 1px solid #edf0ec; padding-left: 25px; }
.osteo .mega-title {
    display: block; font: 700 13px/1.45 "NW Open Sans", Arial, sans-serif; color: var(--o-green);
    margin: 0 0 11px; padding: 0 0 10px; border-bottom: 1px solid var(--o-line);
  }
.osteo .mega a {
    display: block; padding: 8px 1px; margin: 0;
    font: 400 13.6px/1.35 "NW Open Sans", Arial, sans-serif;
    color: var(--o-ink) !important; border-radius: 3px;
  }
.osteo .mega a:hover, .osteo .mega a:focus-visible { background: #f2f3f2; color: var(--o-green) !important; }
}
@media (min-width: 1001px) and (max-width: 1190px) {
.osteo .mega { gap: 12px; padding: 18px 15px 20px; }
.osteo .mega-col + .mega-col { padding-left: 12px; }
.osteo .mega-title { font-size: 12px; }
.osteo .mega a { font-size: 12.8px; }
}
@media (prefers-reduced-motion: reduce) {
.osteo .nav-list > li > a::after, .osteo .mega-toggle::after, .osteo .caret { transition: none; }
}
/* Anschlussbereich (freigegeben): Die Legacy-Breadcrumb hat margin-top:-60px für die alte, absolut
   positionierte Navigation. Mit dem neuen Header im Fluss entfällt dieser Versatz – nur dort, wo der
   neue Header direkt davor steht. */
.osteo + .navi-anzeige { margin-top: 0; }
