/* Echthaar Extensions Ratgeber: one unified, accessible navigation */
:root { --beauty-ink: #3c2a22; --beauty-accent: #a87450; --beauty-line:#eadfd6; }
html {max-width:100%; scroll-padding-top:100px;}
body {max-width:100%; margin:0; overflow-x:clip;}
* {box-sizing:border-box;}
#page-container {padding-top:0 !important; margin-top:0 !important; min-width:0 !important; max-width:100% !important;}
.beauty-header {position:relative !important; z-index:999; width:100%; background:#fffdfb; border-bottom:1px solid var(--beauty-line); box-shadow:0 6px 24px rgba(67,41,23,.09);}
.beauty-header__inner {width:calc(100% - 32px);max-width:1200px;min-height:100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px;}
.beauty-header__brand {display:flex;flex:0 1 314px;max-width:314px;min-width:0;align-items:center;text-decoration:none;line-height:1;}
.beauty-header__brand img {display:block;width:100%;height:auto;max-height:92px;object-fit:contain;object-position:left center;border:0;box-shadow:none;background:transparent;}
.beauty-header__nav {display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:4px;min-width:0;}
.beauty-header__nav a {display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;font:600 14px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--beauty-ink) !important;text-decoration:none !important;white-space:nowrap;transition:background .16s ease,color .16s ease;}
.beauty-header__nav a:hover,.beauty-header__nav a:focus-visible {background:#f4e9e1;color:#7a4e32 !important;}
.beauty-header__nav a.is-current {background:#ede0d5;color:#754a30 !important;}
.beauty-header__toggle {display:none;align-items:center;justify-content:center;gap:10px;flex-shrink:0;min-height:46px;padding:9px 14px;border:1px solid #bc9276;border-radius:10px;background:#573e31;color:white;font:700 14px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif;cursor:pointer;}
.beauty-header__toggle-bars {display:flex;flex-direction:column;gap:4px;width:18px;}
.beauty-header__toggle-bars span {display:block;width:18px;height:2px;background:#fff;border-radius:2px;}
.beauty-header__toggle:focus-visible,.beauty-header__nav a:focus-visible {outline:3px solid #c8905b;outline-offset:2px;}
.beauty-footer {position:relative;clear:both;background:#352b28;color:#f8f2ed;padding:32px 16px 36px !important;}
.beauty-footer__inner {display:grid;grid-template-columns:1.15fr 1.4fr 1fr;gap:28px;max-width:1160px;margin:0 auto;align-items:start;}
.beauty-footer__identity strong {display:block;font:700 20px/1.4 Georgia,serif;color:#fff4ed;}
.beauty-footer__identity p {font:400 14px/1.6 system-ui,sans-serif;color:#d9c9bf;margin:8px 0 0;}
.beauty-footer__links {display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;}
.beauty-footer__links a,.beauty-footer__contact a {display:block;color:#f3e7df !important;text-decoration:none !important;padding:6px 0;font:500 14px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;}
.beauty-footer__links a:hover,.beauty-footer__contact a:hover {color:#ffd7b4 !important;text-decoration:underline !important;}
.beauty-footer__contact strong {display:block;color:#fff4ed;font:700 15px/1.5 system-ui,sans-serif;margin:0 0 4px;}
/* Keep original article/theme containers but prevent content from exceeding the viewport. */
#main-content,#et-main-area,.et_pb_section,.et_pb_row,.entry-content {min-width:0;max-width:100%;}
.entry-content img,.entry-content iframe,.entry-content video,.et_pb_text_inner img {max-width:100%;height:auto;}
.entry-content p,.entry-content li,.et_pb_text_inner {overflow-wrap:break-word;}
@media (max-width:1080px) {
  .beauty-header__inner {gap:8px;}
  .beauty-header__brand {flex-basis:240px;max-width:240px;}
  .beauty-header__nav a {font-size:13px;padding:9px 8px;}
}
@media (max-width:850px) {
  .beauty-header__inner {width:calc(100% - 28px);min-height:76px;flex-wrap:wrap;column-gap:12px;row-gap:0;padding:6px 0;}
  .beauty-header__brand {flex:0 1 235px;max-width:min(235px,calc(100% - 115px));}
  .beauty-header__brand img {max-height:70px;}
  .beauty-header__toggle {display:inline-flex;margin-left:auto;}
  .beauty-header__nav {display:none;width:100%;flex-basis:100%;flex-direction:column;align-items:stretch;gap:1px;margin:7px 0 10px;padding:7px;border:1px solid var(--beauty-line);border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(56,35,23,.11);}
  .beauty-header__nav.is-open {display:flex;}
  .beauty-header__nav a {display:flex;min-height:46px;padding:12px 13px;font-size:15px;white-space:normal;}
  .beauty-footer__inner {grid-template-columns:1fr 1fr;}
  .beauty-footer__identity {grid-column:1 / -1;}
  #main-content .container {width:90% !important;max-width:100% !important;}
}
@media (max-width:520px) {
  .beauty-header__inner {width:calc(100% - 22px);}
  .beauty-header__brand {flex-basis:208px;max-width:min(208px,calc(100% - 112px));}
  .beauty-header__brand img {max-height:62px;}
  .beauty-header__toggle {padding:9px 11px;}
  .beauty-footer__inner {grid-template-columns:1fr;gap:18px;}
  .beauty-footer__identity {grid-column:auto;}
  .beauty-footer__links {grid-template-columns:1fr 1fr;}
  #main-content .container {width:92% !important;}
  .et_pb_row {max-width:100% !important;}
}
@media (prefers-reduced-motion: reduce) { .beauty-header__nav a {transition:none;} }
