/* One-step-at-a-time setup guides */
#einrichtung,
#browser { scroll-margin-top: 125px; }
#einrichtung .section-head,
#browser .section-head { max-width: 810px; }
#einrichtung .section-head p:last-child,
#browser .section-head p:last-child { max-width: 760px; }
#browser .section-head p:last-child { color: #566a74; }

.wizard { max-width: 920px; margin-top: 38px; background: #fff; color: #202b31; border: 1px solid #d8e1e5; box-shadow: 14px 16px 0 rgba(9, 47, 65, .16); }
.wizard-is-animating { overflow: hidden; }
.wizard-is-animating .wizard-step { will-change: transform, opacity; }
.wizard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 23px 34px 14px; }
.wizard-kicker { font: 700 21px 'Titillium Web', Arial, sans-serif; text-transform: uppercase; color: #1e5a78; }
.brand-icon { display: inline-block; width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; vertical-align: middle; }
.wizard-kicker .brand-icon { margin-right: 11px; width: 27px; height: 27px; }
.wizard-count { font: 700 13px 'Titillium Web', Arial, sans-serif; white-space: nowrap; color: #486473; }
.wizard-progress { height: 6px; margin: 0 34px; background: #e5edef; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; background: #f0aa28; transition: width .25s ease; }
.wizard-step { min-height: 430px; padding: 33px 34px 30px; }
.wizard-number { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: #f3ae31; color: #174a63; font: 700 21px 'Titillium Web', Arial, sans-serif; }
.wizard-overline { margin: 22px 0 4px; font: 700 11px 'Titillium Web', Arial, sans-serif; letter-spacing: .14em; color: #627a85; }
.wizard-step h3 { margin: 0 0 24px; font: 700 clamp(26px, 3vw, 38px)/1.13 'Titillium Web', Arial, sans-serif; color: #20353f; }
.wizard-step h3:focus { outline: none; }
.wizard-path { border-left: 4px solid #f0aa28; background: #eff4f6; padding: 13px 16px; margin-bottom: 22px; }
.wizard-path span { display: block; margin-bottom: 4px; color: #5b7380; font: 700 11px 'Titillium Web', Arial, sans-serif; letter-spacing: .1em; }
.wizard-path strong { font: 700 17px/1.4 'Titillium Web', Arial, sans-serif; color: #1d536e; }
.wizard-text { max-width: 730px; margin: 0 0 20px; font-size: 16px; line-height: 1.7; }
.wizard-text code { white-space: nowrap; color: #174a63; background: #eaf0f2; padding: 2px 5px; font-size: .92em; }
.wizard-substeps { display: grid; gap: 11px; max-width: 1040px; margin: -2px 0 24px; padding-left: 30px; counter-reset: setup-detail; list-style: none; }
.wizard-substeps li { position: relative; padding: 10px 14px 10px 19px; border-left: 2px solid #d5e3e8; background: #f5f8f9; font-size: 15px; line-height: 1.6; }
.wizard-substeps li::before { counter-increment: setup-detail; content: counter(setup-detail); position: absolute; left: -29px; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; background: #e3eef2; color: #1e5a78; font-size: 12px; font-weight: 700; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 22px; }
.wizard-link { display: inline-block; padding: 10px 14px; border: 1px solid #1e5a78; color: #1e5a78; font-size: 13px; line-height: 1.4; font-weight: 700; text-decoration: none; }
.wizard-link-icon { display: inline-block; width: 19px; height: 19px; margin-right: 7px; object-fit: contain; vertical-align: -5px; }
.wizard-link:hover, .wizard-link:focus-visible { background: #e8f0f4; }
.wizard-link span { margin-left: 4px; }
.wizard-note { margin: 8px 0 22px; padding: 12px 15px; background: #fff6e5; border-left: 3px solid #f0aa28; color: #4c5153; font-size: 14px; }
.wizard-check { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; color: #345766; font-size: 14px; }
.wizard-check span { display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; width: 24px; height: 24px; background: #dcebe9; color: #1e5a78; border-radius: 50%; font-weight: 700; }
.wizard-check p { margin: 0; }
.wizard-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 34px 26px; border-top: 1px solid #e0e8eb; }
.wizard-controls button { min-height: 46px; padding: 10px 18px; border: 1px solid #1e5a78; background: #fff; color: #1e5a78; cursor: pointer; font: 700 14px 'Titillium Web', Arial, sans-serif; }
.wizard-controls .wizard-next { background: #1e5a78; color: #fff; }
.wizard-controls button:hover:not(:disabled), .wizard-controls button:focus-visible { box-shadow: 0 0 0 3px #f0aa28; }
.wizard-controls button:disabled { opacity: .4; cursor: not-allowed; }
.wizard-finished { min-height: 310px; }
.wizard-finished h3 { margin-top: 22px; }
.wizard-finished p { max-width: 620px; }
.wizard-choice-step h3 { margin-top: 4px; }
.wizard-choice-step .wizard-text { max-width: 850px; }
.wizard-choice-groups { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(275px, 1fr); gap: 28px; margin-top: 30px; }
.wizard-choice-group { min-width: 0; padding: 23px; background: #f3f7f8; border-top: 4px solid #f0aa28; }
.wizard-choice-group h4 { margin: 0 0 5px; color: #1e536d; font: 700 24px/1.2 'Titillium Web', Arial, sans-serif; }
.wizard-choice-group > p { max-width: none; margin: 0 0 19px; color: #526b77; font-size: 14px; line-height: 1.5; }
.wizard-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wizard-choice-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 15px; border: 1px solid #d5e2e7; background: #fff; }
.wizard-choice-card strong { display: flex; align-items: center; gap: 9px; color: #1d536e; font: 700 20px 'Titillium Web', Arial, sans-serif; }
.wizard-choice-card .brand-icon { width: 27px; height: 27px; }
.wizard-choice-card a, .wizard-choice-client { color: #1d536e; font-size: 13px; font-weight: 700; text-decoration: none; }
.wizard-choice-card a:hover, .wizard-choice-card a:focus-visible, .wizard-choice-client:hover, .wizard-choice-client:focus-visible { text-decoration: underline; outline: 2px solid #f0aa28; outline-offset: 3px; }
.wizard-choice-card .wizard-choice-secondary { color: #5a6e78; font-size: 12px; }
.wizard-choice-client-list { display: grid; gap: 10px; }
.wizard-choice-client { display: flex; align-items: center; gap: 13px; min-height: 79px; padding: 14px; border: 1px solid #9eb9c6; background: #fff; }
.wizard-choice-client.is-selected { border-color: #dda02e; background: #fffaf0; }
.wizard-client-icons { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.wizard-client-icons .brand-icon { width: 27px; height: 27px; }
.wizard-choice-client > span:nth-child(2) { flex: 1; }
.wizard-choice-client strong, .wizard-choice-client small { display: block; }
.wizard-choice-client strong { font: 700 20px 'Titillium Web', Arial, sans-serif; }
.wizard-choice-client small { margin-top: 3px; color: #5a6e78; font-size: 12px; font-weight: 400; line-height: 1.4; }
.wizard-choice-extra { margin: 22px 0 0; color: #536c77; font-size: 14px; }
.wizard-choice-extra a { color: #1e5a78; font-weight: 700; }
.guide-picker { display: flex; flex-wrap: wrap; gap: 10px; max-width: 920px; margin-top: 37px; }
.guide-choice { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 145px; min-height: 54px; padding: 10px 17px; border: 1px solid #c9d8df; border-bottom: 3px solid #c9d8df; background: #f6f8f9; color: #1e5a78; cursor: pointer; font: 700 18px 'Titillium Web', Arial, sans-serif; }
.guide-choice .brand-icon { width: 27px; height: 27px; padding: 2px; border-radius: 5px; background: #fff; }
.guide-choice.is-active { border-color: #1e5a78; border-bottom-color: #f0aa28; background: #1e5a78; color: #fff; }
.guide-choice:hover, .guide-choice:focus-visible { border-color: #f0aa28; outline: none; }
.guide-source { margin-top: 30px; color: #5d7079; font-size: 12px; }
.guide-source a { color: #1e5a78; font-weight: 700; }

/* Overview links on the main page */
.guide-entry { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 27px; margin-top: 42px; padding: 30px 34px; background: #fff; color: #20353f; border-left: 6px solid #f0aa28; box-shadow: 13px 15px 0 rgba(8, 45, 65, .2); }
.guide-entry-number { color: #1e5a78; font: 700 17px 'Titillium Web', Arial, sans-serif; white-space: nowrap; }
.guide-entry h3 { margin: 0 0 5px; font: 700 27px 'Titillium Web', Arial, sans-serif; }
.guide-entry p { margin: 0; color: #566a74; font-size: 14px; }
.guide-entry > a { display: inline-block; padding: 13px 17px; background: #1e5a78; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.guide-entry > a:hover, .guide-entry > a:focus-visible { background: #144661; box-shadow: 0 0 0 3px #f0aa28; }
.guide-entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 43px; }
.guide-entry-card { display: flex; flex-direction: column; min-height: 180px; padding: 22px; border: 1px solid #d9e0e2; border-bottom: 4px solid #f0aa28; color: #1e5a78; text-decoration: none; }
.guide-entry-card:hover, .guide-entry-card:focus-visible { background: #eff4f6; border-color: #1e5a78; }
.guide-entry-icon { font-size: 31px; color: #f0aa28; line-height: 1; }
.guide-entry-label { margin-top: 13px; font: 700 25px 'Titillium Web', Arial, sans-serif; }
.guide-entry-action { margin-top: auto; font-size: 13px; font-weight: 700; }

/* Dedicated full-width guide page */
.guide-page { background: #eef3f5; }
.guide-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 95px; padding: 14px clamp(22px, 4vw, 70px); background: #fff; border-bottom: 1px solid #dce5e9; }
.guide-brand img { display: block; width: 160px; height: auto; }
.guide-home { color: #1e5a78; font-size: 14px; font-weight: 700; text-decoration: none; }
.guide-home:hover, .guide-home:focus-visible { text-decoration: underline; }
.guide-main { min-height: calc(100vh - 155px); padding: 54px clamp(22px, 4vw, 70px) 80px; }
.guide-page-intro h1 { margin: 0 0 10px; color: #213943; font: 700 clamp(34px, 4.2vw, 58px)/1.05 'Titillium Web', Arial, sans-serif; text-transform: uppercase; }
.guide-page-intro > p:last-child { margin: 0; color: #526b77; font-size: 17px; }
.guide-page .guide-picker { max-width: none; margin: 37px 0 0; }
.guide-page .guide-choice { flex: 1 1 150px; text-decoration: none; }
.os-selection { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; padding: 22px 26px; background: #dfeaf0; border-left: 5px solid #f0aa28; }
.os-selection[hidden] { display: none; }
.os-selection-eyebrow { margin: 0 0 3px; color: #986009; font: 700 11px 'Titillium Web', Arial, sans-serif; letter-spacing: .12em; }
.os-selection h2 { margin: 0 0 3px; color: #1e4e66; font: 700 23px 'Titillium Web', Arial, sans-serif; }
.os-selection-head p:last-child { margin: 0; color: #4f6975; font-size: 13px; }
.os-choice-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.os-choice { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 120px; padding: 11px 13px; border: 1px solid #9eb9c6; background: #fff; color: #1e5a78; font-size: 13px; font-weight: 700; text-decoration: none; }
.os-choice .brand-icon { width: 23px; height: 23px; padding: 2px; border-radius: 4px; background: #fff; }
.os-choice.is-active { background: #1e5a78; border-color: #1e5a78; color: #fff; }
.os-choice:hover, .os-choice:focus-visible { box-shadow: 0 0 0 3px #f0aa28; }
.guide-page .wizard { max-width: none; width: 100%; margin-top: 20px; box-shadow: 16px 18px 0 rgba(8, 45, 65, .13); }
.guide-page .wizard-top { padding: 31px clamp(26px, 4vw, 62px) 22px; }
.guide-page .wizard-kicker { font-size: 25px; }
.guide-page .wizard-progress { margin: 0 clamp(26px, 4vw, 62px); height: 8px; }
.guide-page .wizard-step { min-height: 570px; padding: 38px clamp(26px, 4vw, 62px) 42px; }
.guide-page .wizard-step h3 { font-size: clamp(32px, 3.5vw, 48px); }
.guide-page .wizard-path { max-width: 1000px; padding: 17px 21px; }
.guide-page .wizard-path strong { font-size: 20px; }
.guide-page .wizard-text { max-width: 1040px; font-size: 18px; }
.guide-page .wizard-check { font-size: 16px; }
.guide-page .wizard-controls { padding: 25px clamp(26px, 4vw, 62px) 32px; }
.guide-page .wizard-controls button { min-width: 150px; min-height: 52px; font-size: 15px; }
.guide-page .wizard-finished { min-height: 570px; }
.guide-entry-icon .brand-icon { width: 34px; height: 34px; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 13px clamp(22px, 4vw, 70px); background: #e2eaed; color: #516c78; font-size: 12px; }
.guide-footer a { color: #1e5a78; font-weight: 700; text-decoration: none; }
.guide-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

@media (max-width: 760px) {
  #einrichtung, #browser { scroll-margin-top: 80px; }
  .wizard { margin-top: 25px; box-shadow: 7px 9px 0 rgba(9, 47, 65, .15); }
  .wizard-top { padding: 19px 20px 13px; }
  .wizard-kicker { font-size: 17px; }
  .wizard-count { font-size: 11px; }
  .wizard-progress { margin: 0 20px; }
  .wizard-step { min-height: 0; padding: 24px 20px 30px; }
  .wizard-step h3 { margin-bottom: 20px; }
  .wizard-path strong { font-size: 16px; overflow-wrap: anywhere; }
  .wizard-text { font-size: 15px; }
  .wizard-substeps li { font-size: 14px; }
  .wizard-controls { padding: 18px 20px 22px; }
  .wizard-controls button { padding: 10px 12px; font-size: 12px; }
  .guide-choice { min-width: calc(50% - 5px); }
  .guide-entry { grid-template-columns: 1fr; gap: 15px; padding: 23px; }
  .guide-entry > a { justify-self: start; }
  .guide-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-entry-card { min-height: 155px; padding: 18px; }
  .guide-header { min-height: 76px; }
  .guide-brand img { width: 120px; }
  .guide-main { padding-top: 35px; }
  .guide-page .guide-picker { gap: 8px; margin-top: 27px; }
  .guide-page .guide-choice { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .os-selection { display: block; padding: 18px; }
  .os-choice-list { justify-content: flex-start; margin-top: 15px; }
  .os-choice { flex: 1 1 calc(50% - 8px); }
  .guide-page .wizard { margin-top: 14px; box-shadow: 7px 9px 0 rgba(8, 45, 65, .13); }
  .guide-page .wizard-top { padding: 21px 20px 15px; }
  .guide-page .wizard-kicker { font-size: 18px; }
  .guide-page .wizard-progress { margin: 0 20px; height: 6px; }
  .guide-page .wizard-step { min-height: 520px; padding: 28px 20px 35px; }
  .guide-page .wizard-step h3 { font-size: 30px; }
  .guide-page .wizard-path strong { font-size: 17px; }
  .guide-page .wizard-text { font-size: 16px; }
  .guide-page .wizard-controls { padding: 20px; }
  .guide-page .wizard-controls button { min-width: 0; font-size: 12px; }
  .wizard-choice-groups { grid-template-columns: 1fr; gap: 16px; }
  .wizard-choice-group { padding: 17px; }
  .wizard-choice-grid { grid-template-columns: 1fr; }
}
