/*
Theme Name: Computer.fit Theme
Author: Computer.fit
Description: Schlichtes, barrierearmes Theme für Kundenportale und Service-Seiten.
Version: 1.2.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: computer-fit-theme
*/

:root {
  --cf-ink: #172f3b;
  --cf-muted: #566977;
  --cf-brand: #147d71;
  --cf-brand-dark: #0b625a;
  --cf-bg: #f5f8f8;
  --cf-content-bg: #f5f8f8;
  --cf-content-padding: 0px;
  --cf-portal-heading-indent: 14px;
  --cf-profile-side-padding: 16px;
  --cf-security-side-padding: 16px;
  --cf-reports-side-padding: 16px;
  --cf-link: #0b625a;
  --cf-button-bg: #147d71;
  --cf-button-text: #ffffff;
  --cf-button-hover: #0b625a;
  --cf-line: #dbe6e5;
  --cf-white: #fff;
  --cf-radius: 14px;
  --cf-site-width: 1180px;
  --cf-content-width: 1180px;
  --cf-body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-body-size: 16px;
  --cf-body-weight: 400;
  --cf-h1-font: var(--cf-body-font); --cf-h1-size: 37px; --cf-h1-weight: 700; --cf-h1-color: #172f3b;
  --cf-h2-font: var(--cf-body-font); --cf-h2-size: 28px; --cf-h2-weight: 700; --cf-h2-color: #172f3b;
  --cf-h3-font: var(--cf-body-font); --cf-h3-size: 23px; --cf-h3-weight: 700; --cf-h3-color: #172f3b;
  --cf-h4-font: var(--cf-body-font); --cf-h4-size: 20px; --cf-h4-weight: 700; --cf-h4-color: #172f3b;
  --cf-h5-font: var(--cf-body-font); --cf-h5-size: 18px; --cf-h5-weight: 700; --cf-h5-color: #172f3b;
  --cf-h6-font: var(--cf-body-font); --cf-h6-size: 16px; --cf-h6-weight: 700; --cf-h6-color: #172f3b;
  --cf-header-bg: #fff;
  --cf-header-height: 88px;
  --cf-header-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-header-size: 22px;
  --cf-header-text: #172f3b;
  --cf-logo-width: 190px;
  --cf-menu-align: flex-end;
  --cf-menu-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-menu-size: 14px;
  --cf-menu-weight: 650;
  --cf-menu-gap: 25px;
  --cf-menu-color: #566977;
  --cf-menu-hover: #0b625a;
  --cf-footer-bg: #edf3f2;
  --cf-footer-color: #566977;
  --cf-footer-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-footer-size: 13px;
  --cf-footer-padding: 23px;
  --cf-footer-align: left;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cf-bg); color: var(--cf-ink); font: var(--cf-body-weight) var(--cf-body-size)/1.65 var(--cf-body-font); -webkit-font-smoothing: antialiased; }
h1 { font-family: var(--cf-h1-font); font-size: var(--cf-h1-size); font-weight: var(--cf-h1-weight); color: var(--cf-h1-color); }
h2 { font-family: var(--cf-h2-font); font-size: var(--cf-h2-size); font-weight: var(--cf-h2-weight); color: var(--cf-h2-color); }
h3 { font-family: var(--cf-h3-font); font-size: var(--cf-h3-size); font-weight: var(--cf-h3-weight); color: var(--cf-h3-color); }
h4 { font-family: var(--cf-h4-font); font-size: var(--cf-h4-size); font-weight: var(--cf-h4-weight); color: var(--cf-h4-color); }
h5 { font-family: var(--cf-h5-font); font-size: var(--cf-h5-size); font-weight: var(--cf-h5-weight); color: var(--cf-h5-color); }
h6 { font-family: var(--cf-h6-font); font-size: var(--cf-h6-size); font-weight: var(--cf-h6-weight); color: var(--cf-h6-color); }
img, svg, video { max-width: 100%; height: auto; }
a:hover { color: var(--cf-ink); }
a { color: var(--cf-link); text-underline-offset: .18em; }
a:hover { color: var(--cf-ink); }
a:hover { color: var(--cf-ink); }
:focus-visible { outline: 3px solid #e6a63b; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; z-index: 99999; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; background: #fff; color: #111; }
.cf-wrap { width: min(calc(100% - 40px), var(--cf-site-width)); margin-inline: auto; }
.cf-site-header { background: var(--cf-header-bg); border-bottom: 1px solid var(--cf-line); }
.cf-header-row { display: flex; align-items: center; min-height: var(--cf-header-height); gap: 28px; }
.cf-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--cf-header-text); text-decoration: none; font-family: var(--cf-header-font); font-weight: 750; letter-spacing: -.035em; font-size: var(--cf-header-size); line-height: 1; }
.cf-brand:hover { color: var(--cf-header-text); }
.cf-brand img { display: block; width: auto; max-width: var(--cf-logo-width); max-height: 72px; object-fit: contain; }
.cf-header-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; margin-left: auto; gap: 22px; }
.cf-menu, .cf-menu ul { list-style: none; padding: 0; margin: 0; }
.cf-menu { display: flex; flex: 1; align-items: center; justify-content: var(--cf-menu-align); flex-wrap: wrap; gap: 6px var(--cf-menu-gap); }
.cf-menu li { position: relative; }
.cf-menu a { display: block; padding: 9px 0; color: var(--cf-menu-color); font-family: var(--cf-menu-font); font-size: var(--cf-menu-size); font-weight: var(--cf-menu-weight); text-decoration: none; }
.cf-menu a:hover, .cf-menu .current-menu-item > a, .cf-menu .current-menu-ancestor > a { color: var(--cf-menu-hover); }
.cf-menu .sub-menu { position: absolute; top: 100%; left: -16px; z-index: 20; min-width: 210px; padding: 8px 16px; background: #fff; border: 1px solid var(--cf-line); border-radius: 10px; box-shadow: 0 14px 34px #0a34301c; visibility: hidden; opacity: 0; }
.cf-menu li:hover > .sub-menu, .cf-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.cf-header-row--reverse .cf-brand { order: 2; }
.cf-header-row--reverse .cf-header-nav { order: 1; margin-left: 0; margin-right: auto; }
.cf-header-row--stacked { flex-wrap: wrap; padding-block: 12px; }
.cf-header-row--stacked .cf-brand { flex-basis: 100%; justify-content: center; }
.cf-header-row--stacked .cf-header-nav { flex-basis: 100%; margin-left: 0; }
.cf-nav-toggle { display: none; background: none; border: 1px solid var(--cf-line); border-radius: 10px; color: var(--cf-ink); padding: 9px 13px; cursor: pointer; font-weight: 650; }
.cf-main { min-height: 60vh; padding-block: 42px 76px; }
.cf-main--front, .cf-main--dashboard { padding-top: 28px; }
.cf-content { width: 100%; max-width: var(--cf-content-width); margin-inline: auto; padding: var(--cf-content-padding); background: var(--cf-content-bg); border-radius: var(--cf-radius); }
.cf-content > :first-child { margin-top: 0; }
.cf-page-title { font-size: var(--cf-h1-size); letter-spacing: -.04em; line-height: 1.18; margin: 0 0 26px; }
.cf-entry-content :where(button:not(.cf-nav-toggle), input[type="submit"], input[type="button"], .wp-block-button__link), .cf-pagination :where(a, span) { background-color: var(--cf-button-bg); color: var(--cf-button-text); border-color: var(--cf-button-bg); }
.cf-entry-content :where(button:not(.cf-nav-toggle), input[type="submit"], input[type="button"], .wp-block-button__link):hover, .cf-pagination a:hover { background-color: var(--cf-button-hover); color: var(--cf-button-text); border-color: var(--cf-button-hover); }
.cf-entry-content :where(button, input[type="submit"], input[type="button"]):disabled { opacity: .5; cursor: not-allowed; }
.cf-prose { max-width: 790px; }
.cf-prose h2, .cf-prose h3 { line-height: 1.25; letter-spacing: -.025em; }
.cf-prose p { margin: 0 0 1.2em; }
.cf-prose blockquote { padding-left: 20px; margin-left: 0; border-left: 4px solid var(--cf-brand); }
.cf-post-card { max-width: 820px; padding: 26px 30px; margin-bottom: 20px; border: 1px solid var(--cf-line); border-radius: var(--cf-radius); background: #fff; }
.cf-post-card h2 { margin: 0 0 10px; }
.cf-post-card h2 a { color: inherit; text-decoration: none; }
.cf-post-meta { color: var(--cf-muted); font-size: .9rem; }
.cf-pagination { margin-top: 28px; }
.cf-site-footer { background: var(--cf-footer-bg); border-top: 1px solid var(--cf-line); }
.cf-footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; min-height: 100px; padding-block: var(--cf-footer-padding); color: var(--cf-footer-color); font-family: var(--cf-footer-font); font-size: var(--cf-footer-size); text-align: var(--cf-footer-align); }
.cf-footer-row--center { flex-direction: column; }
.cf-footer-row--right { flex-direction: column; align-items: flex-end; }
.cf-footer-row strong { color: var(--cf-footer-color); }
.cf-footer-row p { margin: 4px 0 0; }
.cf-footer-row a { color: inherit; }
.alignwide { max-width: 1180px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
@media (min-width: 851px) {
  .cf-titles-hide-desktop .cf-page-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
@media (max-width: 850px) {
  .cf-titles-hide-mobile .cf-page-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .cf-wrap { width: min(calc(100% - 32px), var(--cf-site-width)); }
  .cf-header-row, .cf-header-row--stacked { min-height: 72px; flex-direction: row; flex-wrap: wrap; gap: 0; padding-block: 0; }
  .cf-brand { font-size: var(--cf-header-size); }
  .cf-brand img { max-width: min(var(--cf-logo-width), 155px); max-height: 48px; }
  .cf-header-row .cf-brand { order: 0; flex-basis: auto; justify-content: flex-start; }
  .cf-nav-toggle { display: block; order: 1; margin-left: auto; }
  .cf-header-row .cf-header-nav { display: none; order: 2; flex-basis: 100%; align-items: stretch; flex-direction: column; margin: 0; padding: 12px 0 20px; gap: 14px; }
  .cf-header-row .cf-header-nav.is-open { display: flex; }
  .cf-menu { display: block; flex: none; }
  .cf-menu a { padding: 11px 4px; border-bottom: 1px solid var(--cf-line); }
  .cf-menu .sub-menu { position: static; display: block; padding: 0 0 0 18px; border: 0; border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; }
  .cf-main { padding-block: 28px 52px; }
  .cf-post-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
