/* Arbeitszeitrechnerz content pages. Bands come from Kadence row layouts with an azx-* class. */
:root {
  --azx-primary: var(--global-palette1, #0b6b8a);
  --azx-ink: var(--global-palette3, #0f1c24);
  --azx-text: var(--global-palette4, #1f2d36);
  --azx-muted: var(--global-palette5, #51626e);
  --azx-line: #dbe4e8;
  --azx-tint: #e9f4f7;
}

/* Reading column: prose bands keep lines near 75 characters; the hero keeps the full width. */
body .azx-band:not(.azx-hero) .kt-inside-inner-col,
body .azx-band--faq {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
body .azx-band--faq {
  padding: 48px 20px 40px;
  background: #f3f8fa;
  max-width: none;
}
body .azx-band--faq > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
body .azx-band h2 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
body .azx-band .kt-inside-inner-col > h2:first-child,
body .azx-band--faq > h2:first-child {
  margin-top: 0;
}
body .azx-band p,
body .azx-band li {
  color: var(--azx-text);
}
body .azx-band a {
  color: var(--azx-primary);
  text-underline-offset: 2px;
}

/* Section headings carry a short brand accent */
body .azx-band:not(.azx-hero) h2::after,
body .azx-band--faq > h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0b6b8a, #14a3a3);
}

/* Hero: light brand gradient; on desktop the text sits on the same centre axis as the tool */
body .azx-hero {
  background-color: #e8f3f7;
  background-image: radial-gradient(900px 320px at 50% -40px, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #e4f1f5 0%, #f2f8fa 100%);
  border-bottom: 1px solid #dbe9ee;
}
body .azx-hero p.azx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 28, 36, 0.08);
  color: #08536b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
body .azx-hero p.azx-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a3a3;
  box-shadow: 0 0 0 3px rgba(20, 163, 163, 0.2);
}
@media (min-width: 1025px) {
  body .azx-hero .kt-inside-inner-col {
    text-align: center;
  }
  body .azx-hero .rank-math-breadcrumb {
    text-align: center;
  }
  body .azx-hero .azx-h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  body .azx-hero .azx-lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  body .azx-hero ul.azx-chips {
    justify-content: center;
  }
  body .azx-hero .az-tool {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

body .azx-hero .rank-math-breadcrumb {
  margin: 0 0 10px;
  color: var(--azx-muted);
  font-size: 13.5px;
}
body .azx-hero .rank-math-breadcrumb a {
  color: var(--azx-muted);
}
body .azx-h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
body .azx-lead {
  max-width: 780px;
  margin: 0 0 16px;
  color: #33444f;
  font-size: 1.1rem;
  line-height: 1.6;
  text-wrap: pretty;
}
body ul.azx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
body ul.azx-chips li {
  margin: 0;
  padding: 5px 12px 5px 28px;
  border: 1px solid #c7dde5;
  border-radius: 999px;
  background: #fff;
  color: var(--azx-ink);
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
}
body ul.azx-chips li::before {
  content: '✓';
  position: absolute;
  left: 11px;
  color: var(--azx-primary);
  font-weight: 800;
}

/* Callouts */
body .azx-callout {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid #cfe3ea;
  border-radius: 14px;
  background: var(--azx-tint);
}
body .azx-callout p,
body .azx-callout ul {
  margin: 0;
}
body .azx-callout ul {
  padding-left: 1.2em;
}
body .azx-callout li + li {
  margin-top: 4px;
}
body .azx-callout .azx-callout__title {
  margin-bottom: 6px;
  color: var(--azx-ink);
}
body .azx-callout--amber {
  margin: 18px 0 0;
  border-color: #f1d9a8;
  background: #fff6e5;
}

/* Numbered steps */
body ol.azx-steps {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: azx-step;
}
body ol.azx-steps li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 44px;
  counter-increment: azx-step;
}
body ol.azx-steps li::before {
  content: counter(azx-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--azx-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Worked example */
body .azx-formula {
  margin: 12px 0 0;
  padding: 16px 20px;
  border: 1px dashed #a9cbd7;
  border-radius: 12px;
  background: #fbfdfe;
}
body .azx-formula p.azx-formula__line {
  margin: 0;
  padding: 3px 0;
  color: var(--azx-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Tables */
body .azx-table {
  margin: 18px 0;
  overflow-x: auto;
}
body .azx-table table {
  min-width: 460px;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
body .azx-table th,
body .azx-table td {
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--azx-line);
  text-align: left;
}
body .azx-table thead th {
  border-bottom: 2px solid var(--azx-primary);
  color: var(--azx-ink);
  font-size: 13.5px;
  font-weight: 700;
}
body .azx-table tbody tr:nth-child(even) {
  background: #f6f9fa;
}
body .azx-table figcaption {
  margin-top: 8px;
  color: var(--azx-muted);
  font-size: 13px;
  text-align: left;
}

/* Related tools */
body ul.azx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
body ul.azx-cards li {
  margin: 0;
}
body ul.azx-cards a {
  display: block;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--azx-line);
  border-radius: 14px;
  background: #fff;
  color: var(--azx-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
body ul.azx-cards a:hover,
body ul.azx-cards a:focus-visible {
  border-color: var(--azx-primary);
  box-shadow: 0 8px 22px -14px rgba(11, 107, 138, 0.55);
}
body ul.azx-cards strong {
  display: block;
  margin-bottom: 4px;
  color: var(--azx-primary);
  font-size: 1.05rem;
}

/* Sources and disclaimer */
body .azx-sources {
  padding: 16px 20px;
  border-top: 1px solid var(--azx-line);
  color: var(--azx-muted);
  font-size: 14px;
}
body .azx-sources p,
body .azx-sources li {
  color: var(--azx-muted);
  font-size: 14px;
}
body .azx-sources p.azx-sources__title {
  margin: 0;
}
body .azx-sources ul {
  margin: 6px 0 10px;
  padding-left: 1.2em;
}
body .azx-sources ul li {
  margin: 2px 0;
}
body .azx-sources .azx-sources__note {
  margin: 0;
  font-style: italic;
}

/* Diagram */
body .azx-figure {
  margin: 22px 0;
}
body .azx-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--azx-line);
  border-radius: 14px;
}
body .azx-figure figcaption {
  margin-top: 8px;
  color: var(--azx-muted);
  font-size: 13px;
}

/* Header: petrol gradient, white type, brand line (teal → amber) like the top of the tool card.
   The second selector beats Kadence's sticky rule
   (#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner
   { background: #fff }), so the header keeps its colours after scrolling. */
body #masthead {
  background: #0b6b8a;
}
body #masthead .site-main-header-wrap .site-header-row-container-inner,
body #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
  position: relative;
  border-bottom: 0;
  background: linear-gradient(100deg, #074b60 0%, #0b6b8a 48%, #0f86a6 100%);
}
body #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
  box-shadow: 0 10px 24px -14px rgba(7, 40, 52, 0.7);
}
body #masthead .site-main-header-wrap .site-header-row-container-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #14a3a3 0%, #3cc4a0 35%, #f2c14e 70%, #f2914a 100%);
}
body #masthead .site-branding .site-title,
body #masthead .site-branding a.brand,
body #masthead .site-branding a {
  color: #fff;
  letter-spacing: -0.01em;
}
body #masthead .site-branding img.custom-logo {
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 6px 14px -6px rgba(0, 0, 0, 0.45);
}
body #masthead .main-navigation .primary-menu-container > ul > li.menu-item > a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}
body #masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body #masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:focus-visible,
body #masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #f2a541;
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}
body #masthead .menu-toggle-open,
body #masthead .menu-toggle-open .menu-toggle-icon {
  color: #fff;
}
/* Back-to-top: amber with a white ring, visible on white content and on the dark footer */
body #kt-scroll-up.scroll-up-wrap,
body #kt-scroll-up-reader.scroll-up-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #f2a541;
  color: #0f1c24;
  box-shadow: 0 0 0 2px #fff, 0 10px 22px -8px rgba(0, 0, 0, 0.5);
}
body #kt-scroll-up.scroll-up-wrap:hover,
body #kt-scroll-up.scroll-up-wrap:focus-visible,
body #kt-scroll-up-reader.scroll-up-wrap:hover,
body #kt-scroll-up-reader.scroll-up-wrap:focus-visible {
  background: #ffb95e;
  color: #0f1c24;
}
body #kt-scroll-up.scroll-up-wrap .kadence-svg-iconset svg {
  width: 22px;
  height: 22px;
}

/* Mobile drawer in brand colours */
body #mobile-drawer .drawer-inner {
  background: #0a5a73;
}
body #mobile-drawer .drawer-inner .mobile-navigation ul li > a,
body #mobile-drawer .drawer-inner .menu-toggle-close {
  color: #fff;
}
body #mobile-drawer .drawer-inner .mobile-navigation ul li.current-menu-item > a {
  color: #f2a541;
}

/* Footer: dark band with brand, calculators, sources and legal links */
body #colophon .site-middle-footer-wrap {
  background: #0f1c24;
}
body #colophon .site-middle-footer-inner-wrap {
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 28px;
  padding-top: 52px;
  padding-bottom: 36px;
}
body #colophon .site-bottom-footer-wrap {
  background: #0a141a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body #colophon .site-bottom-footer-wrap,
body #colophon .site-bottom-footer-wrap p {
  color: #9fb3bd;
  font-size: 13.5px;
}
body .azx-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
body .azx-foot-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
body .azx-foot-about {
  max-width: 380px;
  margin: 0;
  color: #b8c8cf;
  font-size: 14.5px;
  line-height: 1.6;
}
body .azx-foot-title {
  margin: 6px 0 14px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body ul.azx-foot-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body ul.azx-foot-links li {
  margin: 0;
}
body ul.azx-foot-links a {
  color: #cfe0e6;
  font-size: 15px;
  text-decoration: none;
}
body ul.azx-foot-links a:hover,
body ul.azx-foot-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1024px) {
  body #colophon .site-middle-footer-inner-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body .azx-band--faq {
    padding: 36px 16px 28px;
  }
  body .azx-callout {
    padding: 14px 16px;
  }
  body #colophon .site-middle-footer-inner-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
