/* Review candidate for WP 7.1 + Oxygen template 440. Scoped to migration page IDs. */
body:is(.page-id-551,.page-id-552,.page-id-553,.page-id-554,.page-id-555,.page-id-556,.page-id-557,.page-id-558) #div_block-3-440 {
  background: #22262d !important;
  box-shadow: 0 5px 22px rgba(12, 19, 31, .18);
}
body:is(.page-id-551,.page-id-552,.page-id-553,.page-id-554,.page-id-555,.page-id-556,.page-id-557,.page-id-558) #inner_content-14-440 {
  margin-top: 0 !important;
}
.bg-wp-migration {
  --bg-gold: #d1a938;
  --bg-dark: #22262d;
  --bg-text: #26313d;
  --bg-muted: #566371;
  --bg-line: #e3e8ec;
  color: var(--bg-text);
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.bg-wp-migration *, .bg-wp-migration *::before, .bg-wp-migration *::after { box-sizing: border-box; }
.bg-wp-migration .bg-migration-container { width: min(100% - 48px, 1160px); margin-inline: auto; }
.bg-wp-migration h1, .bg-wp-migration h2, .bg-wp-migration h3 { color: inherit; line-height: 1.18; margin: 0; text-wrap: balance; }
.bg-wp-migration h1 { font-size: clamp(2.35rem, 4.1vw, 4.25rem); font-weight: 750; letter-spacing: -.035em; }
.bg-wp-migration h2 { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 720; letter-spacing: -.025em; margin-bottom: 28px; }
.bg-wp-migration h3 { font-size: clamp(1.13rem, 1.55vw, 1.36rem); font-weight: 690; margin-bottom: 12px; }
.bg-wp-migration p { margin: 0 0 1.2em; max-width: 75ch; }
.bg-wp-migration a { color: #775716; text-underline-offset: .2em; }
.bg-wp-migration a:hover { color: #40300d; }
.bg-wp-migration a:focus-visible { outline: 3px solid var(--bg-gold); outline-offset: 4px; border-radius: 3px; }
.bg-wp-migration .bg-eyebrow { margin: 0 0 23px; color: var(--bg-gold); font-size: .8rem; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }

.bg-migration-hero { background: var(--bg-dark); color: #f7f9fa; padding: 188px 0 100px; }
.bg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: end; gap: clamp(28px, 5vw, 90px); }
.bg-hero-copy { font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.6; }
.bg-hero-copy p { margin-bottom: 1.35em; }
.bg-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 1rem; }
.bg-hero-actions p { margin: 0; }
.bg-hero-actions p > a, .bg-final-cta a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px; background: var(--bg-gold); color: #242424; border-radius: 3px; font-weight: 700; text-decoration: none; }
.bg-hero-actions p > a:hover, .bg-final-cta a:hover { background: #edcb69; color: #161616; }
.bg-hero-actions .bg-secondary-link { display: inline-flex; min-height: 50px; align-items: center; padding: 12px 18px; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; text-decoration: none; }
.bg-hero-actions .bg-secondary-link:hover { color: #fff; border-color: #fff; }

.bg-section { padding: clamp(64px, 7vw, 100px) 0; }
.bg-section:nth-of-type(even) { background: #f5f7f8; }
.bg-section > .bg-migration-container > p { max-width: 830px; }
.bg-section ul, .bg-section ol { padding-left: 1.4em; max-width: 850px; margin: 0 0 1.5em; }
.bg-section li { margin-bottom: .7em; padding-left: .2em; }
.bg-section ol li::marker { color: #a0771f; font-weight: 700; }
.bg-feature-image { max-width: 940px; margin: 40px 0 0; }
.bg-feature-image img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 4px; }
.bg-section-grid > .bg-migration-container, .bg-section-faq > .bg-migration-container, .bg-section-hub > .bg-migration-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bg-section-grid h2, .bg-section-faq h2, .bg-section-hub h2 { grid-column: 1 / -1; }
.bg-info-card, .bg-faq-item, .bg-service-card { padding: 25px; border: 1px solid var(--bg-line); background: #fff; border-radius: 4px; }
.bg-info-card p, .bg-faq-item p, .bg-service-card p { margin-bottom: 0; font-size: 1rem; }
.bg-section-faq > .bg-migration-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bg-faq-item h3 { color: #1c2835; }
.bg-section-hub .bg-service-card { padding: 0 0 25px; overflow: hidden; }
.bg-service-card h3, .bg-service-card p { margin-left: 24px; margin-right: 24px; }
.bg-service-card .bg-card-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.bg-service-card .bg-card-placeholder { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 20px; background: repeating-linear-gradient(90deg, transparent 0, transparent 29px, rgba(255,255,255,.23) 30px, transparent 31px), linear-gradient(145deg, #3a3e44, #8b7c62); }
.bg-service-card h3 a { color: inherit; }
.bg-service-card:hover { border-color: #bfa45e; box-shadow: 0 10px 28px rgba(26,36,46,.08); }

.bg-topic-nav { scroll-margin-top: 125px; margin: 10px 0 65px; }
.bg-topic-nav ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.bg-topic-nav li { margin: 0; padding: 0; }
.bg-topic-nav a { display: block; min-height: 54px; padding: 13px 17px; background: #f5f7f8; border: 1px solid var(--bg-line); border-radius: 3px; color: var(--bg-text); font-size: .94rem; font-weight: 650; text-decoration: none; }
.bg-topic-nav a:hover { border-color: var(--bg-gold); color: #42320e; }
.bg-ratgeber-content { padding-top: 70px; padding-bottom: 90px; }
.bg-ratgeber-topic { scroll-margin-top: 125px; border-top: 1px solid var(--bg-line); padding: 40px 0; }
.bg-ratgeber-topic h2 { font-size: clamp(1.45rem, 2.2vw, 2.2rem); }
.bg-ratgeber-topic p { max-width: 850px; }

.bg-final-cta { padding: 80px 0; background: #252a31; color: #fff; }
.bg-final-cta h2 { max-width: 700px; }
.bg-final-cta p:not(.bg-eyebrow) { max-width: 720px; }
.bg-final-cta a { margin-top: 10px; }
.bg-confirmation-panel { min-height: 75vh; padding: 190px 0 100px; background: #f5f7f8; }
.bg-confirmation-panel > .bg-migration-container { max-width: 800px; padding: 55px clamp(26px,5vw,65px); border: 1px solid var(--bg-line); border-top: 5px solid var(--bg-gold); border-radius: 4px; background: #fff; }
.bg-confirmation-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; border-radius: 50%; background: #eef7eb; color: #2e6b37; font-size: 2rem; line-height: 1; }
.bg-confirmation-panel h1 { font-size: clamp(2rem,3.5vw,3.25rem); margin-bottom: 25px; }
.bg-confirmation-next { padding-top: 30px; margin-top: 35px; border-top: 1px solid var(--bg-line); }
.bg-confirmation-next h2 { font-size: 1.55rem; }
.bg-confirmation-next p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .bg-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bg-migration-hero { padding: 165px 0 70px; }
  .bg-section-grid > .bg-migration-container, .bg-section-hub > .bg-migration-container { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bg-topic-nav ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .bg-wp-migration { font-size: 16px; }
  .bg-wp-migration .bg-migration-container { width: min(100% - 36px, 1160px); }
  .bg-migration-hero { padding: 145px 0 60px; }
  .bg-hero-copy { font-size: 1.1rem; }
  .bg-hero-actions { align-items: stretch; }
  .bg-hero-actions p, .bg-hero-actions p > a, .bg-hero-actions .bg-secondary-link { width: 100%; justify-content: center; }
  .bg-section-grid > .bg-migration-container, .bg-section-hub > .bg-migration-container, .bg-section-faq > .bg-migration-container, .bg-topic-nav ul { grid-template-columns: 1fr; }
  .bg-info-card, .bg-faq-item { padding: 21px; }
  .bg-ratgeber-content { padding-top: 55px; }
  .bg-confirmation-panel { padding-top: 150px; }
  .bg-confirmation-panel > .bg-migration-container { width: min(100% - 24px, 800px); }
}
@media (prefers-reduced-motion: no-preference) { .bg-wp-migration a { transition: background-color .15s ease, border-color .15s ease, color .15s ease; } }

/* Ratgeber: Oxygen uses a 10px root, so rem-sized controls above render too small. */
.bg-route-ratgeber .bg-migration-hero { padding: 122px 0 76px; }
.bg-route-ratgeber .bg-eyebrow { font-size: 13px; letter-spacing: .1em; margin-bottom: 17px; }
.bg-route-ratgeber .bg-hero-heading h1 { font-size: clamp(36px, 3.7vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.bg-route-ratgeber .bg-hero-copy { font-size: 19px; line-height: 1.55; }
.bg-route-ratgeber .bg-hero-copy p { max-width: 52ch; }
.bg-route-ratgeber .bg-hero-actions { font-size: 16px; gap: 12px; }
.bg-route-ratgeber .bg-hero-actions a { font-size: 16px; line-height: 1.35; }
.bg-route-ratgeber .bg-ratgeber-content { padding-top: 50px; }
.bg-route-ratgeber .bg-topic-nav { margin: 0 0 54px; }
.bg-route-ratgeber .bg-topic-nav ul { gap: 14px; }
.bg-route-ratgeber .bg-topic-nav a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 20px;
  border: 1px solid #d9dfe5;
  border-left: 4px solid var(--bg-gold);
  border-radius: 6px;
  background: #f7f8f9;
  color: #26313d;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 2px 9px rgba(22, 31, 42, .04);
}
.bg-route-ratgeber .bg-topic-nav a:hover { background: #fffaf0; border-color: #ad8427; box-shadow: 0 5px 16px rgba(22, 31, 42, .08); }
.bg-route-ratgeber .bg-ratgeber-topic { padding: 44px 0 48px; }
.bg-route-ratgeber .bg-ratgeber-topic h2 { font-size: clamp(26px, 2.25vw, 34px); line-height: 1.22; margin-bottom: 22px; }
.bg-route-ratgeber .bg-ratgeber-topic p { max-width: 70ch; }

/* Oxygen switches the sticky header's logo and menu to dark ink while this page keeps a dark header. */
body.page-id-556 #div_block-3-440 #code_block-75-440 svg path { fill: #f7f9fa !important; }
body.page-id-556 #div_block-3-440 #menu-new-top-nav > li > a { color: #f7f9fa !important; }

@media (max-width: 900px) {
  .bg-route-ratgeber .bg-migration-hero { padding: 96px 0 64px; }
  .bg-route-ratgeber .bg-hero-grid { align-items: start; }
}
@media (max-width: 620px) {
  .bg-route-ratgeber .bg-migration-hero { padding: 72px 0 54px; }
  .bg-route-ratgeber .bg-hero-heading h1 { font-size: clamp(32px, 9vw, 38px); }
  .bg-route-ratgeber .bg-hero-copy { font-size: 17px; }
  .bg-route-ratgeber .bg-ratgeber-content { padding-top: 38px; }
  .bg-route-ratgeber .bg-topic-nav { margin-bottom: 38px; }
  .bg-route-ratgeber .bg-topic-nav a { min-height: 64px; padding: 15px 18px; font-size: 16px; }
  .bg-route-ratgeber .bg-ratgeber-topic { padding: 35px 0 39px; }
  .bg-route-ratgeber .bg-ratgeber-topic h2 { font-size: 26px; }
}

/* The same 10px Oxygen root affects the other migrated information pages. */
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-migration-hero { padding: 122px 0 76px; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-eyebrow { font-size: 13px; letter-spacing: .1em; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-heading h1 { font-size: clamp(36px, 3.7vw, 52px); }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-copy { font-size: 19px; line-height: 1.55; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-actions,
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-actions a { font-size: 16px; line-height: 1.35; }
main.bg-wp-migration:not(.bg-route-ratgeber) h2 { font-size: clamp(30px, 3vw, 42px); }
main.bg-wp-migration:not(.bg-route-ratgeber) h3 { font-size: 22px; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-info-card p,
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-faq-item p,
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-service-card p { font-size: 17px; line-height: 1.55; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-service-card { padding-bottom: 28px; }
main.bg-wp-migration:not(.bg-route-ratgeber) .bg-confirmation-panel h1 { font-size: clamp(34px, 3.5vw, 44px); }

/* Every migrated route uses this dark header, including its sticky state. */
body:is(.page-id-551,.page-id-552,.page-id-553,.page-id-554,.page-id-555,.page-id-556,.page-id-557,.page-id-558)
  #div_block-3-440 #code_block-75-440 svg path { fill: #f7f9fa !important; }
body:is(.page-id-551,.page-id-552,.page-id-553,.page-id-554,.page-id-555,.page-id-556,.page-id-557,.page-id-558)
  #div_block-3-440 #menu-new-top-nav > li > a { color: #f7f9fa !important; }

@media (max-width: 900px) {
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-migration-hero { padding: 96px 0 64px; }
}
@media (max-width: 620px) {
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-migration-hero { padding: 72px 0 54px; }
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-heading h1 { font-size: clamp(32px, 9vw, 38px); }
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-hero-copy { font-size: 17px; }
  main.bg-wp-migration:not(.bg-route-ratgeber) h2 { font-size: 28px; }
  main.bg-wp-migration:not(.bg-route-ratgeber) h3 { font-size: 20px; }
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-info-card p,
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-faq-item p,
  main.bg-wp-migration:not(.bg-route-ratgeber) .bg-service-card p { font-size: 16px; }
}
