/* Hinter die Dinge | V31.01 – Marken- & Navigationskorrekturen
   Original-Branding bleibt unverändert: H-Signet, H·D·D-Siegel und Buchcover.
   Gemeinsame Abschlussregeln für alle 21 veröffentlichten HTML-Seiten. */

/* Die Kopfzeile bleibt beim Scrollen sichtbar, ohne Unterseiten zu überdecken. */
.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:250;
  background:var(--paper);isolation:isolate;}
html{scroll-padding-top:110px}
@media(max-width:810px){html{scroll-padding-top:88px}}
/* Die beiden Original-Dateien werden passend zum Hintergrund gewechselt. */
.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.brand-mark img{object-fit:contain;max-width:100%;max-height:100%;height:auto;aspect-ratio:1/1}
html[data-theme="light"] .brand-mark .logo-on-dark{display:none}
html[data-theme="light"] .brand-mark .logo-on-light{display:block}
html[data-theme="dark"] .brand-mark .logo-on-light{display:none}
html[data-theme="dark"] .brand-mark .logo-on-dark{display:block}

/* Repräsentatives H statt einzelner kleiner Letter im Buch- und Methodenauftakt. */
.newpage-h-art{width:min(100%,450px);height:auto;aspect-ratio:1 / 1;display:flex;
 align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden}
.newpage-h-art .newpage-hero-logo{display:block;width:61%;height:auto;max-width:265px;
 aspect-ratio:1 / 1;object-fit:contain;position:relative;z-index:1}

/* Methodensiegel darf nie durch intrinsische Bildhöhe oder Grid-Tracks oval werden. */
.method-seal-frame{width:320px;max-width:100%;height:320px;aspect-ratio:1 / 1;
 display:flex;align-items:center;justify-content:center;flex:0 0 auto;
 border-radius:50%;align-self:center}
.method-seal-frame img{display:block;width:84%;height:auto;max-height:84%;aspect-ratio:1 / 1;
 object-fit:contain;flex:0 0 auto;}
@media(max-width:810px){.method-seal-frame{width:250px;height:250px}}
@media(max-width:600px){.method-seal-frame{width:225px;height:225px}}

/* Markenpfeil wird vektoriell gezeichnet: keine Emoji-Interpretation auf iOS. */
.arrow-mark{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;
 flex:0 0 15px;line-height:1;vertical-align:middle;color:inherit}
.arrow-mark svg{display:block;width:100%;height:100%;overflow:visible}
.nav-cta .arrow-mark,.inline-arrow .arrow-mark{margin-left:7px}
.button .arrow-mark{margin-left:3px}
.newpage-link .arrow-mark{margin-left:5px}
@media(max-width:600px){
 .newpage-linklist{gap:9px;margin-top:18px}
 .newpage-link{min-height:46px;padding:12px 15px;gap:14px;
  width:100%;font-size:12px;align-items:center}
 .arrow-mark{width:14px;height:14px;flex-basis:14px}
}

/* Footer mit originalen Profilzielen und offiziellen Icons. */
.footer-aside{display:flex;flex-direction:column;align-items:flex-start;gap:14px;
 max-width:315px;min-width:0}
.footer-aside p{margin:0}
.footer-social{display:flex;align-items:center;gap:12px}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;
 width:42px;height:42px;border:1px solid rgba(245,240,231,.28);
 border-radius:50%;color:#F5F0E7;transition:border-color .18s,background .18s,transform .18s}
.footer-social a:hover{border-color:#E2C89D;background:rgba(226,200,157,.09);
 transform:translateY(-1px)}
.footer-social a:focus-visible{outline:3px solid #F0D4A4;outline-offset:3px}
.footer-social img{display:block;width:20px;height:20px;object-fit:contain}
.footer-brand{max-width:100%;white-space:normal}
@media(max-width:600px){.footer-main{gap:21px}.footer-aside{gap:12px}.footer-social{gap:10px}}

/* Die vollständige Navigation schaltet bei schmaleren Desktopbreiten ins Menü. */
.primary-nav{gap:clamp(13px,1.45vw,23px)}
.primary-nav a{white-space:nowrap}
@media(max-width:980px){
 .menu-toggle{display:flex}
 .primary-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:30;
 margin:0;padding:22px max(21px,calc((100vw - 690px)/2)) 28px;
 flex-direction:column;align-items:stretch;gap:0;background:var(--paper);
 box-shadow:0 18px 32px rgba(0,0,0,.13);border-bottom:1px solid var(--hair)}
 .primary-nav.is-open{display:flex}
 .primary-nav a{padding:13px 0;border-bottom:1px solid var(--hair);
 font-size:14px;white-space:normal}
 .primary-nav .nav-cta{padding:13px 0;border:none;
 border-bottom:1px solid var(--hair);background:none}
}
@media(min-width:981px){.primary-nav{display:flex!important}.menu-toggle{display:none!important}}
@media(max-width:600px){.primary-nav a{min-height:46px;display:flex;align-items:center}}
@media(prefers-reduced-motion:reduce){.footer-social a{transition:none}}
