:root {
  color-scheme: light;
  --ink: #141d29;
  --dark: #141a23;
  --panel: #1b2431;
  --blue: #8bbdff;
  --link: #174b97;
  --paper: #f4f6f9;
  --muted: #49586a;
  --line: #dce4ee;
  --white: #fff;
  font-family: "Barlow", "Arial", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--white); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 4.3vw, 61px); }
h3 { font-size: clamp(21px, 2vw, 27px); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #4088ed; outline-offset: 4px; }
img { display: block; width: 100%; }
.wrap { width: min(1220px, calc(100% - 100px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 14px; top: 8px; z-index: 5; transform: translateY(-150%); padding: 12px; background: #fff; color: #111; }
.skip:focus { transform: none; }
.site-header { background: #111720; border-bottom: 1px solid #ffffff21; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand strong { display: block; font-size: 18px; line-height: 1; letter-spacing: .13em; }
.brand small { display: block; color: #d0dceb; font-size: 11px; margin-top: 5px; }
.brand-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: var(--dark); }
.brand-icon .icon { width: 23px; height: 23px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(12px, 1.75vw, 25px); }
nav a { color: #e1e9f4; text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover, .footer-links a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 750; text-decoration: none; }
.call-header { min-height: 41px; border-color: #85aeed; white-space: nowrap; }
.call-header .icon { color: var(--blue); }
.call-header:hover { background: #ffffff25; }
.primary { color: #111d2d; background: var(--blue); }
.primary:hover { background: #b5d6ff; }
.whatsapp { color: #fff; background: #137646; }
.whatsapp:hover { background: #0b5832; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #171c25; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: center 56%; }
.hero::after { content: ""; background: linear-gradient(90deg, #0e151ff5 0%, #111823d9 29%, #11182362 54%, #11182304 91%), linear-gradient(0deg,#10182274,transparent 40%); }
.hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: clamp(505px, 43vw, 655px); padding-block: 64px 72px; }
.hero h1 { font-size: clamp(46px, 6.5vw, 98px); letter-spacing: -.063em; line-height: .99; }
.hero h1 span { color: var(--blue); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .135em; line-height: 1.4; margin-bottom: 15px; }
.eyebrow .icon { width: 17px; height: 17px; }
.dash { display: inline-block; height: 2px; width: 24px; background: currentColor; flex: 0 0 auto; }
.hero-copy { max-width: 425px; margin-block: 24px 27px; font-size: clamp(17px, 1.65vw, 20px); line-height: 1.55; color: #e4ecf6; }
.hero-qualification { margin: 0 0 12px; color: #fff; font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; line-height: 1.4; }
.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 540px);
  container-type: inline-size;
}
.actions .button { padding: 8px; text-align: center; }
@container (max-width: 490px) {
  .actions .button { flex-direction: column; gap: 5px; padding-inline: 3px; font-size: 13px; }
}
.hero .call-hint, .contact-grid .call-hint:not(.eyebrow) { margin: 10px 0 0; color: #d7e0ec; font-size: 13px; line-height: 1.45; }
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow { color: var(--link); }
.services, .special { padding-block: clamp(52px, 6vw, 88px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.section-heading > p { max-width: 290px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.card img { aspect-ratio: 1.62; object-fit: cover; background: #202b38; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 22px 19px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 11px 0 19px; }
.card a, .certs a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
.card a { margin-top: auto; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card a .icon, .certs .icon { width: 16px; height: 16px; }
.special { background: var(--panel); border-top: 3px solid var(--blue); }
.contact-grid, .about-grid, .reading-grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(25px, 7vw, 100px); }
.contact-grid p:not(.eyebrow), .prose { max-width: 530px; font-size: 17px; line-height: 1.65; margin: 19px 0 24px; }
.contact-grid p:not(.eyebrow) { color: #d7e0ec; }
.checklist { padding: clamp(20px, 3vw, 33px); border: 1px solid #65768d; border-radius: 12px; background: #202c3d; }
.districts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.districts a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 11px; border: 1px solid #687b94; border-radius: 6px; color: #e5efff; font-size: 15px; text-decoration: none; }
.districts a:hover { color: #111d2d; background: var(--blue); border-color: var(--blue); }
.districts a:hover span { color: inherit; }
.districts a span { color: var(--blue); }
.district-hero { padding-block: clamp(28px, 6vw, 78px); }
.district-hero h1 { font-size: clamp(38px, 6vw, 74px); }
.district-hero img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.district-back { display: inline-block; margin-bottom: 22px; color: var(--blue); font-weight: 700; }
.about-grid { grid-template-columns: minmax(0, .77fr) minmax(0, 1fr); }
.portrait { border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1.08; object-fit: cover; object-position: center 18%; }
.prose, .qualifications { color: var(--muted); }
.qualifications { padding-left: 21px; font-size: 16px; line-height: 1.55; }
.qualifications li + li { margin-top: 7px; }
.qualifications li::marker { color: var(--link); }
.certs { color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: #fff; margin-top: 20px; }
.certs ul { list-style: none; margin: 0; padding: 0 17px 15px; }
.certs li + li { margin-top: 10px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: flex; gap: 13px; padding: 13px 0; }
.steps li + li { border-top: 1px solid #ffffff24; }
.steps li::before { content: counter(step); color: var(--blue); background: #32455d; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; font-weight: 800; flex: 0 0 auto; }
.steps h3 { font-size: 19px; letter-spacing: -.02em; }
.contact-grid .steps p:not(.eyebrow) { font-size: 15px; line-height: 1.5; margin: 5px 0 0; }
.reading-grid { align-items: start; gap: clamp(24px, 4vw, 60px); }
.reading-grid h2 { font-size: clamp(30px, 3.3vw, 46px); }
.accordion { display: grid; gap: 8px; }
.service-details { margin-top: 21px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 15px 17px; font-size: 16px; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--link); font-weight: 500; font-size: 24px; line-height: 1; }
details[open] > summary::after { content: "−"; }
.accordion details p { padding: 0 17px 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-box { overflow-wrap: anywhere; }
.contact-box > .icon { color: var(--blue); width: 24px; height: 24px; }
.contact-box a { color: var(--blue); text-underline-offset: 4px; }
address { margin: 10px 0 13px; font-style: normal; line-height: 1.55; }
.footer-inner { flex-wrap: wrap; padding-block: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; color: #d9e3f0; font-size: 14px; text-underline-offset: 4px; }
.floating { position: fixed; z-index: 2; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 54px; height: 54px; background: #137646; color: #fff; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 6px 20px #0004; }
.floating .icon { width: 29px; height: 29px; }
.floating:hover { background: #0b5832; }
.legal { min-height: 65vh; padding-block: 55px 75px; line-height: 1.65; }
.legal .wrap { max-width: 780px; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(39px, 6vw, 67px); margin-bottom: 28px; }
.legal h2 { font-size: 27px; margin: 26px 0 8px; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--link); text-underline-offset: 3px; }
[id] { scroll-margin-top: 15px; }

@media (max-width: 1060px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 0; padding-top: 13px; gap: 12px; }
  .header-inner nav { grid-row: 2; grid-column: 1/-1; padding-block: 11px 12px; border-top: 1px solid #ffffff21; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .brand-icon { width: 36px; height: 36px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .call-header { font-size: 13px; padding-inline: 8px; gap: 5px; min-height: 38px; }
  .call-header .icon { width: 15px; height: 15px; }
  nav { gap: 10px 15px; }
  nav a { font-size: 13px; }
  .hero-inner { min-height: 545px; padding-block: 153px 37px; justify-content: end; }
  .hero-image { object-position: center 38%; }
  .hero::after { background: linear-gradient(0deg,#111823 0%,#111823ec 30%,#11182389 66%,#1118230e 100%); }
  .hero h1 { font-size: clamp(38px, 10.1vw, 58px); }
  .hero-copy { margin-block: 17px 22px; }
  .section-heading { display: block; margin-bottom: 21px; }
  .section-heading > p { margin-top: 12px; }
  .cards, .contact-grid, .about-grid, .reading-grid { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 14px; }
  .portrait { max-height: 390px; }
  .footer-inner { padding-right: 45px; }
  .floating { width: 49px; height: 49px; right: 13px; bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Essen */
.hero-image { width: 68%; left: auto; object-position: center 47%; }
.hero::after {
  background: linear-gradient(90deg, #111823 0%, #111823 31%, #11182392 54%, #11182304 91%),
    linear-gradient(0deg, #10182274, transparent 40%);
}
.quick-info { background: var(--dark); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 16px;
  color: #e1eafb;
  font-size: 14px;
  line-height: 1.4;
}
.hero-meta a, .side-contact a { text-underline-offset: 3px; }
.essen-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-wrap { max-width: 780px; }
.faq-heading { margin-bottom: 24px; }
.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px 16px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.certificates li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.35; }
.certificates img { width: 44px; height: 62px; flex: none; object-fit: contain; border-radius: 3px; }

.page-head {
  background: var(--panel);
  color: var(--white);
  padding-block: clamp(26px, 5vw, 68px);
}
.page-head h1 { font-size: clamp(38px, 6vw, 74px); margin-block: 13px 14px; }
.page-head .crumb { color: var(--blue); font-weight: 700; }
.subpage .lead { font-size: 18px; line-height: 1.55; max-width: 65ch; }
.subpage .section { padding-block: clamp(36px, 6vw, 80px); }
.article-layout, .district-grid { display: grid; align-items: start; }
.article-layout { grid-template-columns: minmax(0, 2fr) minmax(265px, 1fr); gap: clamp(24px, 5vw, 62px); }
.article { max-width: 69ch; line-height: 1.65; overflow-wrap: anywhere; }
.article h2 { font-size: clamp(26px, 3vw, 35px); margin: 28px 0 9px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 21px; }
.article p + p { margin-top: 13px; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 6px; }
.article a, .district-grid a { color: var(--link); text-underline-offset: 3px; }
.aside-photo { aspect-ratio: 1.7; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.side-contact { color: var(--white); }
.side-contact p { line-height: 1.5; margin-block: 10px; }
.side-contact .call-hint { font-size: 13px; color: #d7e0ec; }
.district-menu { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.district-menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 7px 11px;
  border-radius: 6px; background: white; border: 1px solid var(--line); color: var(--link);
  font-size: 15px; font-weight: 700;
}
.district-group { padding-top: 29px; }
.district-group h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.district-grid details { background: white; border: 1px solid var(--line); border-radius: 8px; }
.district-grid p { padding: 0 17px 16px; color: var(--muted); line-height: 1.6; }
.light .contact-grid .call-hint { color: #d7e0ec; }
.contact-box p:not(.eyebrow) { margin-block: 10px 0; }

@media (max-width: 650px) {
  .hero-image { width: 100%; object-position: center 38%; }
  .hero::after { background: linear-gradient(0deg, #111823 0%, #111823ec 30%, #11182389 66%, #1118230e 100%); }
  .hero-meta { gap: 9px 20px; }
  .essen-cards, .article-layout, .district-grid { grid-template-columns: minmax(0, 1fr); }
}
.light .special .eyebrow { color: var(--blue); }
.side-contact .actions .button { overflow-wrap: anywhere; }

@media (min-width: 651px) and (max-width: 850px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
}
