/* Original typefaces used by trialed.de. */
@font-face{font-family:Roboto;src:url("./roboto-400.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Roboto;src:url("./roboto-500.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Roboto;src:url("./roboto-700.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Roboto Condensed";src:url("./roboto-condensed-400.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Roboto Condensed";src:url("./roboto-condensed-600.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}

:root{
  --ink:#565555;
  --muted:#747476;
  --green:#f28b00;
}

/* Typography only: no container, spacing, card or button-layout changes. */
body,
button,
input,
select,
textarea{
  color:#565555;
  font-family:Roboto,Arial,sans-serif;
  font-size:16px;
  font-weight:400;
}

/* Match the fixed TRiALED header without changing the calculator layout. */
.site-shell{padding-top:var(--trialed-header-height,80px)}
.topbar{
  position:fixed;
  inset:0 0 auto;
  width:100%;
  max-width:none;
}

h1,h2,h3,h4,h5,h6,
.site-navigation,
.kicker,
.question-eyebrow,
.section-label,
.progress-meta,
.answer-copy strong,
.primary-button{
  font-family:"Roboto Condensed","Roboto Condensed TRiALED",Roboto,sans-serif;
}

h1,h2,h3,h4,h5,h6{
  color:#565555;
  font-weight:400;
  line-height:1.2;
}

.seo-hero h1,
.welcome h1{
  color:#565555;
  font-size:38.4px;
  font-weight:400;
  line-height:1.2;
  letter-spacing:0;
}

.question-card h2,
.result-heading h2,
.knowledge-sections h2{
  color:#565555;
  font-size:32px;
  font-weight:400;
  line-height:1.2;
  letter-spacing:0;
}

.consumption-journey h3,
.result-cta h3,
.contact-intro h3{
  color:#565555;
  font-size:27.2px;
  font-weight:400;
  line-height:1.2;
  letter-spacing:0;
}

.seo-hero-text,
.welcome-text,
.question-hint,
.result-heading p,
.explanation-grid>div,
.faq-list details p,
.contact-intro>p:not(.question-eyebrow),
.result-actions p{
  color:#565555;
  font-family:Roboto,Arial,sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:1.44;
}

/* Keep the existing navigation design; only typography/colour and smooth behaviour. */
.site-navigation{
  color:#f28b00;
  font-size:20px;
  font-weight:400;
}

.site-navigation>a,
.nav-dropdown>summary,
.nav-dropdown-menu a{
  transition:background-color .25s,border-color .25s,color .25s;
}

@media (min-width:1024px){
  .site-navigation{font-size:20px}
  .nav-toggle{display:none}
  .nav-dropdown-menu,
  .nav-company .nav-dropdown-menu{
    display:block;
    height:0;
    padding-top:0;
    padding-bottom:0;
    border-top-width:0;
    border-bottom-width:0;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transition:visibility .25s,opacity .25s;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown[open] .nav-dropdown-menu{
    height:auto;
    padding-top:4px;
    padding-bottom:4px;
    border-top-width:2px;
    border-bottom-width:2px;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
  }
}

/* The main website uses the slide-in navigation below its desktop breakpoint. */
@media (max-width:1023px){
  body:has(.site-navigation.is-open){overflow:hidden}
  body:has(.site-navigation.is-open)::before{
    content:"";
    z-index:1002;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.28);
  }
  .nav-toggle{z-index:1004;display:flex}
  .site-navigation{
    z-index:1003;
    display:flex;
    position:fixed;
    inset:0 0 0 auto;
    width:min(360px,100%);
    height:100dvh;
    max-height:none;
    padding:78px 36px 72px;
    background:#f28b00;
    color:#fff;
    flex-direction:column;
    align-items:stretch;
    overflow:hidden auto;
    box-shadow:-18px 0 42px rgba(0,0,0,.22);
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateX(100%);
    transition:visibility .25s,opacity .25s,transform .25s;
  }
  .site-navigation.is-open{
    display:flex;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateX(0);
  }
  .site-navigation>a,
  .nav-dropdown>summary{
    min-height:0;
    padding:9px 0;
    color:#fff;
    background:transparent;
    justify-content:flex-start;
    font-size:18px;
  }
  .site-navigation>a:hover,
  .site-navigation>a:focus-visible,
  .nav-dropdown>summary:hover,
  .nav-dropdown>summary:focus-visible{
    color:#fff;
    background:transparent;
  }
  .nav-dropdown{display:block;height:auto}
  .nav-dropdown>summary span{border-color:#fff}
  .nav-dropdown-menu,
  .nav-company .nav-dropdown-menu{
    display:none;
    position:static;
    width:100%;
    min-width:0;
    max-width:none;
    max-height:none;
    padding:0 0 7px 20px;
    border:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu{display:none}
  .nav-dropdown[open] .nav-dropdown-menu{display:block}
  .nav-dropdown-menu a{
    position:relative;
    padding:5px 0 5px 20px;
    color:#fff;
    white-space:normal;
    font-size:18px;
  }
  .nav-dropdown-menu a::before{content:"•";position:absolute;left:0}
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible{color:#fff;background:transparent}
}

/* Footer enhancement. Existing copyright and links are preserved by trialed-site.js. */
.trialed-site-footer{
  display:block;
  min-height:0;
  padding:0;
  border-top:0;
  background:#565555;
  color:#bcbbbb;
  font-family:Roboto,Arial,sans-serif;
  font-size:16px;
}

.trialed-footer-main{padding:48px 0}
.trialed-footer-columns{display:flex;gap:36px;width:min(1200px,85%);margin:0 auto}
.trialed-footer-column{flex:1 1 0;min-width:0}
.trialed-footer-logo{display:block;width:180px;height:60px;background:#fff}

.trialed-site-footer h4{
  margin:0;
  color:#bcbbbb;
  font-family:"Roboto Condensed","Roboto Condensed TRiALED",Roboto,sans-serif;
  font-size:20.16px;
  font-weight:700;
  line-height:24.192px;
}

.trialed-site-footer p{
  margin:8.64px 0 0;
  color:#bcbbbb;
  font-family:Roboto,Arial,sans-serif;
  font-size:14.4px;
  line-height:23.04px;
}
.trialed-footer-column:last-child p{min-height:70.1172px}

.trialed-site-footer a{color:#bcbbbb;transition:color .25s}
.trialed-site-footer a:hover{color:#f28b00}
.trialed-site-footer p a{border-bottom:1px dashed transparent;text-decoration:none}
.trialed-contact-label{display:inline-block;width:24px}

.trialed-footer-note{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px 24px;
  border-top:1px solid #9f9e9e;
  padding:16px 2%;
  color:#bcbbbb;
  font-family:Roboto,Arial,sans-serif;
  font-size:12.8px;
  line-height:20.48px;
}

.trialed-footer-note>nav{display:flex;flex-wrap:wrap;gap:0 16px}
.trialed-footer-note>nav a{font-size:12.8px}

@media (max-width:799px){
  .trialed-footer-main{padding:40px 0}
  .trialed-footer-columns{flex-direction:column;gap:30px}
  .trialed-footer-note{flex-direction:column;align-items:flex-start;padding:16px 15px 28px}
  .trialed-footer-note>nav{gap:8px 18px}
}
