/* Kopfzeile E47 (10.10.2026): helle Kopfzeile über die volle Breite.
   Werte aus MF-Projekt-Markenrahmen/preview/Kopfzeile-Fassungen-Vorschau-2026-10-10/src.html (Fassung 2).
   Höhen 138 / 100 / 88 px (E32). Ersetzt die dunkle Kopfzeile und das dunkle Logo-Feld (E29). */
.kopf{--kh:138px;--klogo:112px;--kbrand:104px;--gold:#b88a45;--navy:#16314f;
  grid-column:1/-1;grid-row:1;height:var(--kh);position:relative;overflow:hidden;background:#fff;display:flex;align-items:center;border-bottom:2px solid rgba(184,138,69,.55);min-width:0;z-index:3}
.kopf-logo{flex:none;display:block;padding:0;border:0;background:none;cursor:pointer;margin:0 clamp(12px,2.2vw,28px) 0 clamp(12px,2vw,24px);width:var(--klogo);height:var(--klogo);border-radius:14px;box-shadow:0 1px 6px rgba(20,40,70,.25);position:relative;z-index:2}
.kopf-logo img{display:block;width:100%;height:100%;border-radius:14px;object-fit:contain}
.kopf-logo:focus-visible{outline:3px solid #2a5078;outline-offset:3px}
.kopf-text{position:relative;z-index:2;min-width:0}
.kopf-name{margin:0;font:600 clamp(20px,3.4vw,32px)/1.05 Cinzel,Georgia,serif;letter-spacing:.06em;color:var(--navy)}
.kopf-satz{margin:clamp(4px,.8vw,10px) 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:0 .7em;font:600 clamp(10.5px,1.25vw,16px)/1.5 Cinzel,Georgia,serif;letter-spacing:.12em;color:var(--gold)}
.kopf-satz i{width:.5em;height:.5em;background:var(--gold);transform:rotate(45deg);flex:none}
.kopf-faden{position:absolute;left:0;bottom:0;height:55%;width:calc(100% - var(--kbrand) - clamp(12px,2vw,24px) - 6px);z-index:1;pointer-events:none}
.kopf-marke{flex:none;margin:0 clamp(12px,2vw,24px) 0 auto;height:var(--kbrand);width:auto;border-radius:10px;box-shadow:0 1px 6px rgba(20,40,70,.25);position:relative;z-index:2}
.shell{grid-template-rows:138px minmax(0,1fr)}
@media(max-width:1024px){
  .kopf{--kh:100px;--klogo:80px;--kbrand:78px}
  .kopf-satz{font-size:10.5px}
  .shell{grid-template-columns:86px minmax(0,1fr);grid-template-rows:100px minmax(0,1fr)}
}
@media(max-width:600px){
  .kopf{--kh:88px;--klogo:68px;--kbrand:54px}
  .kopf-satz{flex-wrap:nowrap;white-space:nowrap;font-size:9px;letter-spacing:.04em;gap:0 .4em}
  /* E49: Leitsatz mindestens 9 px, einzeilig; passt er nicht (Textblock unter 186 px), entfällt er */
  .kopf-text{flex:1 1 0;container-type:inline-size}
  @container (max-width:186px){.kopf-satz{display:none}}
  .kopf-faden{height:30%}
  .kopf-text{margin-top:-8px}
  .shell,.shell.ohne-menue{grid-template-columns:minmax(0,1fr);grid-template-rows:88px minmax(0,1fr) auto}
  .shell.ohne-menue{grid-template-rows:88px minmax(0,1fr)}
}
