:root {
  --pb-petrol: #1b5f6b;
  --pb-petrol-dark: #134750;
  --pb-sage: #a8c5a8;
  --pb-sage-light: #d6e4d6;
  --pb-terracotta: #d4956b;
  --pb-terracotta-dark: #b87a52;
  --pb-cream: #faf6f1;
  --pb-cream-dark: #efe8dc;
  --pb-anthracite: #2c3539;
  --pb-grey: #6b7479;
  --pb-grey-light: #9ca3a8;
}

body:has(.pb-selector) {
  margin: 0;
  background: var(--pb-cream);
  color: var(--pb-anthracite);
  overflow-x: hidden;
}

body:has(.pb-selector) #g-page-surround,
body:has(.pb-selector) #g-mainbar,
body:has(.pb-selector) #g-mainbar > .jl-container,
body:has(.pb-selector) .g-container,
body:has(.pb-selector) .g-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body:has(.pb-selector) #g-mainbar > .jl-container {
  width: 100%;
}

.pb-selector,
.pb-selector * { box-sizing: border-box; }

.pb-selector {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--pb-cream);
  color: var(--pb-anthracite);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.pb-selector::before,
.pb-selector::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
}

.pb-selector::before {
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(168,197,168,.18), rgba(168,197,168,0) 70%);
}

.pb-selector::after {
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(212,149,107,.12), rgba(212,149,107,0) 70%);
}

.pb-selector__main {
  width: 100%;
  min-height: calc(100vh - 126px);
  padding: 60px 24px 40px;
  position: relative;
  z-index: 1;
}

.pb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.pb-brand { text-align: center; margin-bottom: 8px; }
.pb-brand__logo { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto 16px; }
.pb-brand__sub { margin: 10px 0 0; color: var(--pb-grey); font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }

.pb-welcome { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 32px 0 6px; color: var(--pb-grey); font: italic 15px Georgia, "Times New Roman", serif; }
.pb-welcome span { width: 48px; height: 1px; background: var(--pb-terracotta); opacity: .7; }
.pb-welcome em { font-weight: 400; }
.pb-prompt { max-width: 520px; margin: 0 auto 48px; text-align: center; font-size: 15px; }
.pb-prompt span { display: block; }
.pb-prompt span[lang="en"] { margin-top: 4px; color: var(--pb-grey); font-size: 14px; font-style: italic; }

.pb-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; width: 100%; max-width: 1240px; margin: 0 auto; }
.pb-location { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 34px 28px 28px; border: 1px solid rgba(27,95,107,.06); border-radius: 14px; background: #fff; box-shadow: 0 4px 24px rgba(27,95,107,.06); transition: transform .25s ease, box-shadow .25s ease; }
.pb-location::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--pb-petrol); }
.pb-location--familie::before { background: var(--pb-sage); }
.pb-location--duesseldorf::before { background: var(--pb-terracotta); }
.pb-location:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(27,95,107,.1); }
.pb-location__tag { align-self: flex-start; margin-bottom: 18px; padding: 4px 11px; border-radius: 12px; background: var(--pb-sage-light); color: var(--pb-petrol-dark); font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.pb-location--familie .pb-location__tag { background: #e0eddf; color: #3d6e4a; }
.pb-location--duesseldorf .pb-location__tag { background: #f4e1d1; color: var(--pb-terracotta-dark); }
.pb-location h2 { margin: 0 0 6px; color: var(--pb-petrol); font: 500 38px/1 Georgia, "Times New Roman", serif; letter-spacing: -.3px; }
.pb-location__kind { margin: 0 0 4px; color: var(--pb-grey); font-size: 14px; }
.pb-location__kind-en { margin: 0 0 18px; color: var(--pb-grey-light); font-size: 13px; font-style: italic; }
.pb-location__address { margin: 0 0 22px; padding: 14px 0 20px; border-top: 1px solid var(--pb-cream-dark); border-bottom: 1px solid var(--pb-cream-dark); color: var(--pb-anthracite); font-size: 13px; font-style: normal; line-height: 1.55; }
.pb-location__address strong { color: var(--pb-petrol); font-weight: 600; }
.pb-location__address a { color: inherit; text-decoration: none; }
.pb-language-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.pb-language-button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border: 1.5px solid var(--pb-petrol); border-radius: 8px; background: #fff; color: var(--pb-petrol); font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s ease; }
.pb-language-button:hover { background: var(--pb-petrol); color: var(--pb-cream); transform: translateY(-1px); }
.pb-location--familie .pb-language-button { border-color: #5c8a6a; color: #3d6e4a; }
.pb-location--familie .pb-language-button:hover { background: #5c8a6a; color: #fff; }
.pb-location--duesseldorf .pb-language-button { border-color: var(--pb-terracotta); color: var(--pb-terracotta-dark); }
.pb-location--duesseldorf .pb-language-button:hover { background: var(--pb-terracotta); color: #fff; }

.pb-flag, .pb-mini-flag { display: inline-block; flex: 0 0 auto; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.pb-flag { width: 22px; height: 14px; }
.pb-mini-flag { width: 16px; height: 11px; }
.pb-flag--de, .pb-mini-flag--de { background: linear-gradient(#000 0 33.33%,#d00 33.33% 66.66%,#ffce00 66.66%); }
.pb-flag--en, .pb-mini-flag--en { background: linear-gradient(27deg,transparent 42%,#fff 42% 47%,#c8102e 47% 53%,#fff 53% 58%,transparent 58%), linear-gradient(-27deg,transparent 42%,#fff 42% 47%,#c8102e 47% 53%,#fff 53% 58%,transparent 58%), linear-gradient(90deg,transparent 40%,#fff 40% 44%,#c8102e 44% 56%,#fff 56% 60%,transparent 60%), linear-gradient(transparent 37%,#fff 37% 43%,#c8102e 43% 57%,#fff 57% 63%,transparent 63%), #012169; }

.pb-focus { width: 100%; max-width: 1240px; margin: 34px auto 0; }
.pb-focus__head { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.pb-kicker { margin: 0 0 8px; color: var(--pb-terracotta); font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.pb-focus__head h2 { margin: 0 0 10px; color: var(--pb-petrol); font: 500 clamp(26px,3.5vw,38px)/1.12 Georgia,"Times New Roman",serif; }
.pb-focus__head h2 em { color: var(--pb-terracotta); font-weight: 500; }
.pb-focus__head > p:last-child { margin: 0; color: var(--pb-grey); font-size: 14.5px; line-height: 1.75; }
.pb-focus__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pb-focus-card { padding: 24px 22px; border: 1px solid rgba(27,95,107,.1); border-radius: 10px; background: rgba(255,255,255,.78); transition: all .25s; }
.pb-focus-card:hover { transform: translateY(-2px); border-color: rgba(168,197,168,.85); box-shadow: 0 12px 28px rgba(27,95,107,.08); }
.pb-focus-card__number { margin-bottom: 10px; color: var(--pb-terracotta); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.pb-focus-card h3 { margin: 0 0 8px; color: var(--pb-petrol); font: 600 21px/1.25 Georgia,"Times New Roman",serif; }
.pb-focus-card p { margin: 0 0 8px; color: var(--pb-grey); font-size: 13.5px; line-height: 1.68; }
.pb-focus-card .pb-focus-card__en { color: var(--pb-grey-light); font-size: 12.5px; font-style: italic; }
.pb-focus__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pb-focus__links a { padding: 10px 18px; border-radius: 999px; background: var(--pb-petrol); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }

.pb-highlight { width: 100%; max-width: 1240px; margin: 48px auto 0; }
.pb-highlight__card { position: relative; overflow: hidden; padding: 38px 38px 32px; border: 1px solid rgba(212,149,107,.25); border-radius: 14px; background: #fff; box-shadow: 0 4px 24px rgba(27,95,107,.06); }
.pb-highlight__card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--pb-terracotta),var(--pb-sage)); }
.pb-highlight__tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 12px; background: rgba(212,149,107,.12); color: var(--pb-terracotta-dark); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.pb-highlight h2 { margin: 0 0 6px; color: var(--pb-petrol); font: 500 28px/1.2 Georgia,"Times New Roman",serif; }
.pb-highlight h2 em { color: var(--pb-terracotta); }
.pb-highlight__sub { margin: 0 0 18px; color: var(--pb-grey-light); font: italic 13px Georgia,"Times New Roman",serif; }
.pb-highlight__text, .pb-highlight__text-en { max-width: 880px; line-height: 1.7; }
.pb-highlight__text { margin: 0 0 6px; font-size: 14.5px; }
.pb-highlight__text-en { margin: 0 0 24px; color: var(--pb-grey); font-size: 13.5px; font-style: italic; }
.pb-highlight__links { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-highlight__link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1.5px solid transparent; border-radius: 50px; font-size: 13px; font-weight: 500; text-decoration: none; }
.pb-highlight__link--primary { background: var(--pb-petrol); color: #fff; }
.pb-highlight__link--secondary { border-color: var(--pb-terracotta); background: #fff; color: var(--pb-terracotta-dark); }

.pb-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; width: 100%; max-width: 1240px; margin: 36px auto 0; }
.pb-info__card { padding: 22px 24px; border: 1px solid rgba(27,95,107,.08); border-radius: 10px; background: rgba(255,255,255,.6); }
.pb-info__card h2 { margin: 0 0 6px; color: var(--pb-petrol); font: 600 18px Georgia,"Times New Roman",serif; }
.pb-info__card p { margin: 0; color: var(--pb-grey); font-size: 13px; line-height: 1.6; }
.pb-info__card .pb-info__en { margin-top: 4px; color: var(--pb-grey-light); font-size: 12px; font-style: italic; }

.pb-selector__footer { position: relative; z-index: 1; padding: 32px 24px 36px; color: var(--pb-grey); font-size: 12px; line-height: 1.7; text-align: center; }
.pb-selector__footer p { margin: 0; }
.pb-selector__footer .pb-selector__doctors { margin-bottom: 6px; color: var(--pb-petrol); font: italic 15px Georgia,"Times New Roman",serif; }
.pb-selector__footer a { color: var(--pb-grey); text-decoration: none; }

@media (max-width: 1080px) {
  .pb-locations { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 880px; }
  .pb-focus__grid, .pb-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pb-selector__main { padding: 40px 20px 28px; }
  .pb-brand__logo { max-width: 280px; }
  .pb-brand__sub { letter-spacing: 2.3px; }
  .pb-prompt { margin-bottom: 32px; }
  .pb-locations, .pb-focus__grid, .pb-info { grid-template-columns: 1fr; }
  .pb-locations { gap: 20px; max-width: 440px; }
  .pb-location { padding: 28px 24px 24px; }
  .pb-location h2 { font-size: 32px; }
  .pb-focus-card { padding: 22px 20px; }
  .pb-highlight__card { padding: 28px 22px 24px; }
  .pb-highlight h2 { font-size: 22px; }
  .pb-highlight__link { padding: 10px 16px; font-size: 12px; }
}

@media (max-width: 380px) { .pb-language-buttons { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pb-location, .pb-language-button, .pb-focus-card { transition: none; } }
