/* 
| PROJECT_ID: thecry
| MODULE: header.css
| LAYER: style definition
| PHASE: runtime
| DEPENDS_ON: base-sys-def, base-sys-value
   HEADER.php
   -----------------------------------------------------
   Diese Datei enthält ausschließlich:
   - Header-Positionierung
   - Fixierung / Sticky
   - Header-spezifische Abstände
   - Linien / Trennungen
   - Player-Integration

	header.site-header
	x .header-inner
	.header-brand   (nur Layout!)
	x .header-meta
	x .header-meta a
	x .player-bar

	Sticky / Fixed-Regeln
	Trennlinien
	z-index

   WICHTIG:
   - Keine Brand-Typografie hier definieren
   - Keine .brand-text oder .brand-logo Styles ändern
   - Diese werden global in customer.css gepflegt

   Header.css steuert nur:
   WO etwas steht – nicht WAS es ist.

  to do:
  logo-block suchen und evtl. löschen
===================================================== */
/* ----------------------------------------------- 
	Javascript setzt active damit wird das menü automatisch angezigt
   ----------------------------------------------- */
.site-header:has(.player-bar.active) .main-menu 
{
    /*background: var(--bg);*/
    background: yellow;
	display: none; 

}
/* ----------------------------------------------- */
/* ----------------------------------------------- */
:root {
    --header-menu-text: #3a3a3a;
    --header-menu-text-hover: #087a2f;
    --header-menu-bg: #ffffff;
    --header-menu-border: #d0d0d0;
}

.hidden {
    display: none;
}


/* -----------------------------------------------------
   Innerer Header-Container
   (damit Inhalt im 760px-Frame bleibt)
----------------------------------------------------- */
.header-brand {
  display: flex;
  flex-direction: row;      /* WICHTIG */
  align-items: center;
  justify-content: center;  /* oder flex-start */
  gap: 12px;
}
/* Brand als feste Einheit */

/* Text untereinander */
.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
/* ----------------------------------------------- */
/* Sicherheit: keine 100% Breite */
/* ----------------------------------------------- */
.brand-logo,
.brand-text-block {
/* ----------------------------------------------- */
  width: auto;
}

.brand-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.logo{
    width:300px;
    max-width:85%;
    margin-bottom:35px;
}

.brand-main{
    font-size:38px;
    letter-spacing:1px;
    margin-bottom:6px;
}

.brand-sub{
    font-size:18px;
    opacity:.6;
    margin-bottom:45px;
}
	.service-logo {
    text-align: center;
    margin-top: 120px;
}

.service-logo img {
    width: auto;
    height: auto;
    max-width: none;
    display: inline-block;
}



/* ----------------------------------------------- */
.header-inner {
/* ----------------------------------------------- */
  border-bottom: 1px solid var(--border-light); /* graue linie zwishcen menü und player/header container
  /*max-width: var(--max-width);
  margin: 0 auto;  muss raus page-frame ist gesetzt */
  margin: 3px auto 0 auto;   /* ← Top-Rand */
  display: flex;
  height : 180 px;
  flex-direction: column;
  align-items: center;   /* zentriert die Brand-Einheit */	
	
}

/* ----------------------------------------------- */

header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    max-width: var(--max-width);
    height: 160px;

    padding-top: 4px;
    box-sizing: border-box;
    overflow: hidden;

    background: : #fafafa; /*#f7f6f2;  #f7f6f2;*/
	box-shadow: 3px 4px 8px rgba(0,0,0,0.18);
}
/*
header.site-header	{ outline: 2px solid red !important; }
.main-menu { outline: 2px solid blue !important; }
#player-head { outline: 2px solid lime !important; }
.header-inner { outline: 2px solid orange !important; }
*/

/* ----------------------------------------------- */
.header-signature {
/* ----------------------------------------------- */
  margin-top: 0.6rem;
}
/* ----------------------------------------------- */
.header-meta {
/* ----------------------------------------------- */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  gap: 0.5rem 0.8rem;
  margin: 0.4rem 0 0.4rem;
}
/* ----------------------------------------------- */
.header-meta a {
/* ----------------------------------------------- */
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-decoration: none;	
}
/* ----------------------------------------------- */
.header-signature img {
/* ----------------------------------------------- */
  /* width: 60px; */
  width: auto;
  height: auto;
  opacity: 0.75;
}
/*  -------------------------------------------------------------------------  */
.logo-block {
/*  -------------------------------------------------------------------------  */
  margin: 1.6em 0;
}
/*  -------------------------------------------------------------------------  */
.logo-name {
/*  -------------------------------------------------------------------------  */
  color: #2a2a2a;   /* dunkles Grau dunkler #222222; */
}
/*  -------------------------------------------------------------------------   */
/*  .brand-text-block { ab hier der text                                        */
/*  -------------------------------------------------------------------------   */
.brand-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.brand-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    margin-top: 8px;

    font-family: Calibri, Arial, sans-serif;
    box-sizing: border-box;
}

.brand-text {
    margin: 0;

    font-family: Calibri, Arial, sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    color: #3a3a3a;

    white-space: nowrap;
}

.brand-sub {
    margin: 5px 0 0 2px;

    font-family: Calibri, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.08em;
    color: #9a9a9a;

    white-space: nowrap;
}

.logo-dot {
    display: inline;
    margin: 0;
    background: none;
    vertical-align: baseline;
}

.logo-dot::before {
    content: ".";
}
/*  -------------------------------------------------------------------------  */
.main-menu .header-inner.page-frame {
    margin: 3px auto 0 auto;
	
    /* dsa ist ein fram um das menü border-bottom: 1px solid var(--room-clarity); */
}

.debug-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;   /* links ganz links, rechts ganz rechts */

    padding: 0 6px;
    margin: 0;
    box-sizing: border-box;

    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.debug-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.debug-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 12px;
}
.dbg-hint {
    position: relative;
    cursor: default;
}

.dbg-hint::after {
    content: attr(data-hint);
    position: absolute;
    bottom: 120%;
    left: 0;

    background: #222;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;

    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 9999;
}
.dbg-hint::after {
    max-width: 600px;
    white-space: normal;
    word-break: break-all;
}


.dbg-hint:hover::after {
    opacity: 1;
}

.dbg-hint {
    position: relative;
    cursor: default;
}
.dbg-hint::after {
    display: none !important;
}

/* das ist das seitliche Menü */
/* ---------------------------------------------------------------
   Standard menu / hamburger
   Zusatzmenü für Impressum, Kontakt, Datenschutz usw.
--------------------------------------------------------------- */
/* ----------------------------------------------- */
.standard-menu {
/* ----------------------------------------------- */
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 50;

    color: var(--header-menu-text);
}

/* ----------------------------------------------- */
.standard-menu details {
/* ----------------------------------------------- */
    position: relative;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------------- */
.standard-menu-button {
/* ----------------------------------------------- */
    width: 32px;
    height: 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    padding: 0;
    margin: 0;

    cursor: pointer;

    list-style: none;
    list-style-type: none;
}

/* ----------------------------------------------- */
.standard-menu-button::marker {
/* ----------------------------------------------- */
    content: "";
    font-size: 0;
}

/* ----------------------------------------------- */
.standard-menu-button::-webkit-details-marker {
/* ----------------------------------------------- */
    display: none;
}

/* ----------------------------------------------- */
.standard-menu-button span {
/* ----------------------------------------------- */
    display: block;

    width: 26px;
    height: 2px;

    background: currentColor;
}

/* ----------------------------------------------- */
.standard-menu-list {
/* ----------------------------------------------- */
    position: absolute;
    top: 34px;
    right: 0;

    min-width: 260px;
    padding: 8px 10px;

    background: var(--header-menu-bg);
    border: 1px solid var(--header-menu-border);

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 6px;

    box-sizing: border-box;

}

/* ----------------------------------------------- */
.standard-menu-list a {
/* ----------------------------------------------- */
    font-family: Calibri, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;

    color: var(--header-menu-text);
    text-decoration: none;
    white-space: nowrap;
}

/* ----------------------------------------------- */
.standard-menu-list a:hover {
/* ----------------------------------------------- */
    color: var(--header-menu-text-hover);
}


/* ----------------------------------------------- */
.standard-menu-button span {
/* ----------------------------------------------- */
    display: block;
    width: 26px;
    height: 2px;
    background: #c8c8c8;
    opacity: 0.75;
}
/* ----------------------------------------------- */
.standard-menu-button:hover span {
/* ----------------------------------------------- */
    background: #8f8f8f;
    opacity: 1;
}

/* ----------------------------------------------- */
.standard-menu {
/* ----------------------------------------------- */
    position: absolute;
    top: 10px;
    left: 12px;
    right: auto;
    z-index: 50;

    color: #c8c8c8;
}

/* ----------------------------------------------- */
.standard-menu-list {
/* ----------------------------------------------- */
    position: absolute;
    top: 34px;
    left: 0;
    right: auto;

    min-width: 260px;
}
/* ----------------------------------------------- */
.header-utility-frame {
/* ----------------------------------------------- */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;

  width: 100%;
  height: 24px;
  min-height: 0;

  margin: 0;
  padding: 0 8px 2px 8px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "debug lang";
  align-items: end;
  column-gap: 12px;

  z-index: 20;
}
/* ----------------------------------------------- */
.header-utility-frame > .debug-bar {
/* ----------------------------------------------- */
  grid-area: debug;

  min-width: 0;
  width: 100%;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ----------------------------------------------- */
.header-utility-frame .debug-left {
/* ----------------------------------------------- */
  min-width: 0;
  width: auto;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;

  margin: 0;
  padding: 0;
}
/* ----------------------------------------------- */
.header-utility-frame > .header-lang-switch {
/* ----------------------------------------------- */
  grid-area: lang;
  justify-self: end;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;

  margin: 0;
  padding: 0;

  font-family: Calibri, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;

  box-sizing: border-box;
}
/* ----------------------------------------------- */
/* ----------------------------------------------- */
/* ----------------------------------------------- */
/* ----------------------------------------------- */
/* ----------------------------------------------- */
/* ----------------------------------------------- */
