/* Original stresstherapie.de colors and fonts; editorial directory components. */
*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--paper); color: var(--text); font-family: var(--font-sans); line-height: 1.55; }
body { font-size: 17px; overflow-wrap: anywhere; }
body::after { display: none; }
[hidden] { display: none !important; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
body > .container { max-width: 1280px; margin: 0 auto; background: transparent; box-shadow: none; border-radius: 0; }
.content-page { padding: 32px 48px; }
.top-image-container, .full-width-image { display: none; }
a { color: var(--brand-navy); }
a:hover { color: var(--violet-600); }
h1, h2, h3, h4, .Sucheword { font-family: var(--font-display); color: var(--brand-navy); font-weight: 500; }
h1 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: 30px; line-height: 1.2; }
p { margin-top: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible, .auswahlkriterium-links *:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 4px; }
button { cursor: pointer; }
.portal-skip { position: fixed; left: 20px; top: -80px; padding: 12px 20px; background: white; z-index: 300; }
.portal-skip:focus { top: 12px; }
/* A single quiet, functional navigation. */
.portal-header { margin: 0; text-align: left; position: relative; border-bottom: 1px solid var(--line); }
.portal-header .top-nav-container { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 84px; margin: 0; padding: 0 0 24px; }
.portal-header .logo { flex-shrink: 0; margin: 0; }
.portal-header .logo a { display: block; text-decoration: none; }
.portal-header .logo img { display: block; width: 248px; height: auto; }
.portal-brand-caption { display: block; font-size: 12px; letter-spacing: .055em; color: var(--text-muted); margin: 3px 0 0 38px; }
.portal-primary-links, .portal-account-links { display: flex; align-items: center; gap: 28px; }
.portal-primary-links a, .portal-account-links a { text-decoration: none; font-size: 16px; font-weight: 600; padding: 12px 0; white-space: nowrap; }
.portal-primary-links a[aria-current=page] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--action); }
.portal-account-links { margin-left: auto; gap: 22px; }
.portal-account-links a { font-size: 14px; color: var(--text-muted); }
.portal-header .nav-items { display: none; }
.portal-header .icon-menu { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; border-radius: 6px; min-height: 44px; padding: 8px 10px; color: var(--brand-navy); }
.portal-header .hamburger-menu { display: flex; width: 20px; height: 20px; flex-direction: column; justify-content: space-around; }
.portal-header .hamburger-menu span { height: 2px; margin: 0; background: var(--brand-navy); }
.portal-menu-label { font-size: 14px; }
.portal-header .hamburger-menu-content { display: none; position: absolute; left: auto; right: 0; top: calc(100% - 1px); z-index: 60; width: min(340px, 100%); max-height: none; height: auto; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); }
.portal-header .hamburger-menu-content.open { display: grid; }
.portal-header .hamburger-menu-content a { padding: 12px 14px; text-decoration: none; color: var(--brand-navy); font-size: 17px; border-radius: 4px; }
.portal-header .hamburger-menu-content a:hover { background: var(--paper-2); }
.portal-header .menu-down-content { display: grid; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.directory-eyebrow { color: var(--violet-600); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 14px; }
.portal-text-link { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; border-bottom: 1px solid var(--violet-300); padding: 10px 0; font-size: 16px; }
/* Search entry: a purposeful form, then orientation rather than decorative cards. */
.portal-home { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); padding-top: 44px; padding-bottom: 64px; align-items: center; }
.portal-home-copy h1 { margin: 0 0 28px; font-size: clamp(40px, 4.8vw, 62px); }
.portal-home-copy h1 em { color: var(--violet-600); font-weight: 450; }
.portal-lead { font-size: 21px; line-height: 1.55; color: var(--text-muted); max-width: 420px; }
.portal-home-note { font-size: 15px; color: var(--text-muted); margin: 26px 0 22px; }
.portal-home-note span { color: var(--action); margin-right: 8px; }
.portal-start-search.appointment-selection { margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--brand-violet); border-radius: 8px; padding: 28px; background: var(--surface); }
.portal-search-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--violet-600); font-weight: 700; margin-bottom: 14px; }
.portal-search-label span { margin-right: 10px; }
.portal-start-search h2 { margin: 0 0 8px; font-size: 30px; }
.portal-start-search > p { font-size: 15px; color: var(--text-muted); margin: 0 0 22px; }
.portal-appointment-option.container-checkbox { display: block; width: 100%; padding: 0; margin: 0 0 10px; font-size: 17px; line-height: 1.4; }
.portal-appointment-option > label { display: flex; width: 100%; align-items: center; gap: 14px; min-height: 82px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.portal-appointment-option > label:hover { border-color: var(--violet-300); background: var(--paper); }
.portal-appointment-option:has(input:checked) > label { border-color: var(--action); background: var(--green-100); }
.portal-appointment-option label strong { display: block; font-size: 17px; font-weight: 600; color: var(--brand-navy); }
.portal-appointment-option label small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.portal-appointment-option .checkmark { position: relative; inset: auto; flex-shrink: 0; width: 22px; height: 22px; background: white; border: 1px solid var(--line-strong); border-radius: 4px; }
.portal-appointment-option input:checked + label .checkmark { background: var(--action); border-color: var(--action); }
.portal-option-symbol { margin-left: auto; color: var(--violet-600); }
.portal-start-location { display: flex; align-items: center; gap: 12px; padding: 14px 16px 8px; }
.portal-start-location #plzInput { margin: 0; width: 170px; max-width: 100%; height: auto; }
.portal-location-note { font-size: 13px; color: var(--text-muted); }
.portal-all-offers { display: block; text-align: center; font-size: 14px; padding: 12px 0 0; text-underline-offset: 4px; }
.directory-search-button, input[type=submit], .submit-btn, .logout-btn { background: var(--action); color: white; border: 0; border-radius: 6px; padding: 14px 20px; font: 600 17px var(--font-sans); min-height: 48px; text-decoration: none; }
.directory-search-button:hover, input[type=submit]:hover { background: var(--action-hover); }
.directory-search-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 22px; }
.portal-start-search .directory-search-button { width: 100%; max-width: none; }
.portal-start-search .portal-search-footnote { border-top: 1px solid var(--line); padding-top: 18px; margin: 18px 0 0; font-size: 13px; }
.portal-guide { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); background: var(--paper-2); }
.portal-guide h2 { font-size: 36px; margin: 0 0 18px; }
.portal-guide-intro p:last-child { color: var(--text-muted); max-width: 330px; font-size: 16px; }
.portal-guide-links > a { display: flex; align-items: center; gap: 22px; padding: 24px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.portal-guide-links > a:first-child { padding-top: 0; }
.portal-guide-links > a:last-child { border-bottom: 0; }
.portal-guide-links > a > span:last-child { margin-left: auto; font-size: 23px; color: var(--violet-600); }
.portal-row-number { flex-shrink: 0; white-space: nowrap; color: var(--violet-600); font-size: 13px; font-weight: 600; }
.portal-guide-links strong { display: block; font-family: var(--font-display); font-size: 25px; font-weight: 500; }
.portal-guide-links small { display: block; color: var(--text-muted); margin-top: 5px; font-size: 15px; }
.portal-provider { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); font-size: 15px; }
.portal-provider > span { color: var(--text-muted); }
.portal-provider a { text-decoration: none; font-weight: 600; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=image]):not([type=hidden]), select, textarea { font-family: var(--font-sans); font-size: 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; color: var(--text); max-width: 100%; padding: 10px 12px; }
input[type=checkbox]:focus-visible + label .checkmark { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Results and honest navigation of the information returned by PHP. */
.directory-intro { padding: 24px 0 32px; border-bottom: 1px solid var(--line); margin: 0 0 30px; }
.portal-breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 30px; }
.portal-breadcrumb a { text-decoration: none; }
.portal-search-intro { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.portal-search-intro h1 { font-size: clamp(32px, 3.4vw, 46px); margin: 0 0 14px; }
.portal-search-intro p:last-child { color: var(--text-muted); margin-bottom: 0; font-size: 17px; }
.portal-intro-guide { flex: 0 0 210px; text-decoration: none; border-left: 2px solid var(--violet-300); padding: 8px 0 8px 22px; font-size: 16px; font-weight: 600; }
.portal-intro-guide > span { display: block; font-size: 13px; margin-top: 8px; color: var(--text-muted); font-weight: 400; }
.sucheseite .suche { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 44px; align-items: start; }
.form-kriterien, .form-suche, .search-result-text, .portal-results-column, .directory-filter-panel { min-width: 0; width: 100%; }
.directory-filter-trigger, .portal-filter-close, .portal-filter-footer, .portal-filter-backdrop { display: none; }
.portal-filter-sheet { position: sticky; top: 24px; }
.directory-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.directory-filter-heading .directory-eyebrow { margin-bottom: 6px; }
.directory-filter-heading h2 { font: 600 22px var(--font-sans); margin: 0; }
.portal-filter-description { color: var(--text-muted); font-size: 14px; margin: 8px 0 2px; }
.directory-filter-reset { padding: 8px 0 16px; min-height: 44px; border: 0; background: none; color: var(--violet-600); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.sucheseite .auswahlkriterium-links { min-width: 0; max-width: none; width: 100%; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; background: transparent; max-height: none; overflow: visible; }
.sucheseite .auswahlkriterium-links.collapsed, .sucheseite .auswahlkriterium-links.expanded { max-height: none; overflow: visible; padding: 0; }
.filter-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 56px; border: 0; padding: 12px 0; text-align: left; background: none; color: var(--brand-navy); font: 600 16px var(--font-sans); }
.filter-toggle::after { content: '−'; color: var(--violet-600); margin-left: auto; font-size: 20px; font-weight: 400; }
.collapsed .filter-toggle::after { content: '+'; }
.portal-section-count { display: inline-grid; place-items: center; background: var(--violet-200); border-radius: 50%; color: var(--brand-navy); font-size: 11px; min-width: 20px; height: 20px; }
.sucheseite .auswahlkriterium-links::after { display: none; }
.sucheseite .auswahlkriterium-links.collapsed .portal-filter-content { display: none; }
.sucheseite .auswahlkriterium-links.expanded .portal-filter-content { display: block; padding: 0 0 16px; }
.sucheseite .auswahlkriterium-links .container-checkbox-small { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; }
.sucheseite .container-checkbox-small label { display: flex; align-items: center; min-height: 46px; font-size: 15px; cursor: pointer; color: var(--text); }
.sucheseite .container-checkbox-small .checkmark { position: relative; inset: auto; flex-shrink: 0; width: 20px; height: 20px; margin-right: 10px; background: white; border: 1px solid var(--line-strong); border-radius: 4px; }
.sucheseite .container-checkbox-small input:checked + label .checkmark { background: var(--action); border-color: var(--action); }
.sucheseite .container-checkbox-small .plz-input { display: block; width: calc(100% - 30px); min-height: 44px; height: auto; margin: 2px 0 8px 30px; }
.sucheseite .auswahlkriterium-links select { display: block; width: 100%; min-height: 48px; margin: 0; }
.portal-service-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.portal-service-options > span { font-size: 14px; color: var(--text-muted); margin-right: 6px; }
.portal-service-options button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 8px 16px; min-height: 44px; background: white; border-radius: 4px; color: var(--brand-navy); font-size: 15px; }
.portal-service-options button[aria-pressed=true] { background: var(--green-100); color: var(--green-800); border-color: var(--action); }
.portal-service-options button[aria-pressed=true]::before { content: '✓'; }
.portal-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.portal-active-filters:empty { display: none; }
.portal-filter-chip { display: flex; gap: 14px; align-items: center; padding: 8px 12px; min-height: 44px; font-size: 13px; border: 1px solid var(--violet-200); border-radius: 4px; background: var(--violet-100); color: var(--brand-navy); }
.portal-filter-chip span { font-size: 20px; line-height: 1; }
.portal-results-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding-bottom: 18px; }
.portal-results-heading .directory-eyebrow { font-size: 10px; margin: 0 0 6px; }
.portal-results-heading h2 { font-size: 29px; margin: 0; }
.portal-results-status { font-size: 12px; color: var(--text-muted); }
#portal-results, .search-result-container { background: transparent; }
#portal-results[aria-busy=true] { opacity: .65; }
.search-result-box, .sucheseite .search-result-box { display: grid; grid-template-columns: minmax(0, 1fr) 80px; align-items: start; gap: 18px 24px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin: 0 0 14px; box-shadow: none; }
.search-result-box.premium { border-left: 3px solid var(--violet-300); cursor: pointer; }
.search-result-box.premium:hover { background: var(--surface); border-color: var(--violet-300); box-shadow: 0 2px 8px #11185f08; }
.search-result-text, .sucheseite .search-result-text { grid-column: 1; grid-row: 1; order: 0; }
.search-result-text p { color: var(--text-muted); font-size: 15px; margin: 4px 0; }
.search-result-text .portal-result-name, .search-result-text h2 { font: 500 28px/1.18 var(--font-display); color: var(--brand-navy); margin: 0 0 8px; letter-spacing: -.015em; }
.search-result-text .portal-result-specialty { color: var(--brand-navy); font-size: 15px; }
.search-result-text .portal-result-specialty b, .search-result-text .portal-result-person b { font-weight: 400; }
.search-result-text .portal-result-person { font-size: 14px; margin-top: 14px; }
.search-result-text .portal-result-address { font-size: 14px; margin-top: 4px; }
.search-result-box:has(.premium-badge) .search-result-text { padding-top: 24px; }
.search-result-box .search-result-image { grid-column: 2; grid-row: 1; width: 80px; height: 80px; border-radius: 8px; margin: 24px 0 0; background: var(--paper-2); overflow: hidden; flex-shrink: 0; }
.search-result-image img, .sucheseite .search-result-image img { width: 100%; height: 100%; object-fit: cover; }
.premium-badge { position: absolute; top: 20px; left: 24px; right: auto; border-radius: 3px; background: var(--violet-100); color: var(--violet-600); padding: 3px 7px; font-size: 10px; letter-spacing: .045em; text-transform: uppercase; font-weight: 600; }
.portal-result-actions { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.portal-profile-link, .portal-phone-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 15px; text-decoration: none; }
.portal-profile-link { font-weight: 600; color: var(--action); }
.portal-phone-link { font-variant-numeric: tabular-nums; }
.portal-phone-link::before { content: '↗'; color: var(--violet-600); }
.portal-results-column .custom-no-results-message { display: none; }
.portal-results-explainer { font-size: 12px; color: var(--text-muted); margin: 18px 0 30px; }
.portal-results-explainer summary { cursor: pointer; padding: 8px 0; min-height: 40px; }
.portal-results-explainer p { max-width: 580px; padding: 12px 0; line-height: 1.7; }
.portal-next-step { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.portal-next-step .portal-row-number { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.portal-next-step h3 { font-size: 24px; margin: 0 0 8px; }
.portal-next-step p { color: var(--text-muted); font-size: 15px; max-width: 540px; }
.portal-next-step a { display: inline-flex; gap: 16px; font-size: 14px; text-decoration: none; }
.portal-empty-state { padding: 34px 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; }
.portal-empty-mark { font-size: 32px; color: var(--violet-600); }
.portal-empty-state h3 { font-size: 28px; margin: 14px 0; }
.portal-empty-state p { color: var(--text-muted); font-size: 16px; }
.portal-empty-state button, .portal-empty-state a { display: flex; gap: 20px; padding: 12px 0; min-height: 44px; font-size: 15px; background: none; border: 0; text-decoration: none; }
.portal-empty-state button { color: var(--action); font-weight: 600; }
.portal-search-feedback { padding: 16px 20px; margin-bottom: 20px; border: 1px solid var(--violet-300); background: var(--violet-100); border-radius: 6px; font-size: 15px; }
.portal-search-feedback p { margin: 0 0 8px; }
.portal-search-feedback button { border: 0; padding: 8px 0; background: none; color: var(--brand-navy); text-decoration: underline; min-height: 44px; }
/* Keep the existing forms and profile data, improve their reading surface. */
.profile-hero-card, .profile-section, .login-container, .form-container, .therapist-access-container, .additional-container { background: var(--surface); border-color: var(--line); box-shadow: none; border-radius: 8px; }
.unterseitenseite { padding-top: 32px; }
.profile-hero-card { padding: 30px; }
.profile-section { padding: 24px; }
.grid-container { gap: 18px; }
.profile-list li { line-height: 1.6; }
/* Compact, consistent footer, with existing links retained. */
.site-footer { background: var(--brand-navy); color: white; border: 0; margin: 64px 0 0; border-radius: 0; }
.footer-main { max-width: none; padding: 40px 48px; gap: 28px; }
.site-footer { font-family: var(--font-sans); text-align: left; }
.site-footer .footer-col { display: block; padding: 0; margin: 0; }
.site-footer .footer-link-list { list-style: none; padding: 0; margin: 0; }
.site-footer a, .site-footer .footer-brand-text, .site-footer .footer-col-title { color: white; }
.site-footer .footer-tagline { color: var(--text-on-dark-muted); font-size: 14px; margin: 18px 0; }
.site-footer .footer-brand-text { font-size: 16px; font-weight: 600; }
.site-footer .footer-brand-icon { width: 28px; height: 28px; }
.site-footer .footer-col-title { font-size: 11px; letter-spacing: .09em; margin: 0 0 16px; padding: 0; border: 0; }
.footer-brand hr { display: none; }
.footer-link-list a { font-size: 14px; }
.footer-divider { background: var(--line-on-dark); }
.footer-social-and-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-social { display: flex; gap: 8px; margin: 0; }
.footer-provider-links a { background: none; border: 0; color: var(--text-on-dark-muted); padding: 0; font-size: 12px; text-align: left; }
.site-footer .footer-copyright-bar { background: var(--navy-950); color: var(--text-on-dark-muted); border-color: var(--line-on-dark); font-size: 11px; padding: 14px 24px; }
@media (max-width: 1100px) {
  .portal-header .top-nav-container { gap: 20px; }
  .portal-header .logo img { width: 220px; }
  .portal-primary-links { gap: 18px; }
  .portal-primary-links a { font-size: 14px; }
  .portal-account-links { display: none; }
  .portal-header .nav-items { display: flex; margin: 0; }
}
@media (max-width: 959px) {
  .content-page { padding: 24px 32px; }
  .portal-home { gap: 32px; padding-top: 32px; padding-bottom: 48px; }
  .portal-home-copy h1 { font-size: 44px; }
  .portal-lead { font-size: 18px; }
  .portal-start-search.appointment-selection { padding: 22px; }
  .portal-start-search h2 { font-size: 26px; }
  .portal-home-note { margin: 22px 0 12px; }
  .portal-text-link { font-size: 14px; }
  .portal-guide { gap: 36px; padding-top: 40px; padding-bottom: 40px; }
  .portal-search-intro { align-items: flex-start; gap: 24px; }
  .portal-intro-guide { flex-basis: 170px; font-size: 14px; }
  .sucheseite .suche { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .directory-filter-trigger { display: flex; align-items: center; gap: 12px; min-height: 52px; width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 6px; padding: 12px 16px; color: var(--brand-navy); font-size: 16px; font-weight: 600; }
  .directory-filter-trigger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .directory-filter-count { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--text-muted); }
  .js .portal-filter-sheet { display: none; }
  .js .is-open .portal-filter-sheet { position: fixed; display: flex; flex-direction: column; z-index: 102; top: auto; bottom: 0; left: 0; right: 0; height: min(92dvh, 850px); max-height: 100dvh; background: var(--paper); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 48px #0b104526; padding: 24px 28px 0; }
  .portal-filter-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; width: 100%; height: 100%; background: #0b10455e; border: 0; z-index: 101; }
  .portal-filters-open, .portal-filters-open body { overflow: hidden; }
  .portal-filter-close { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 28px; font-weight: 400; background: transparent; color: var(--brand-navy); }
  .is-open .form-kriterien { overflow-y: auto; overscroll-behavior: contain; flex: 1; margin: 0; min-height: 0; padding-right: 6px; }
  .portal-filter-description { font-size: 15px; margin: 12px 0 0; }
  .directory-filter-reset { align-self: flex-start; padding-bottom: 14px; }
  .filter-toggle { min-height: 60px; font-size: 17px; }
  .sucheseite .container-checkbox-small label { min-height: 48px; font-size: 16px; }
  .portal-filter-footer { display: block; padding: 12px 0 max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .portal-filter-footer .directory-search-button { margin: 0; }
  .portal-filter-footer > span { display: block; text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 9px; }
  .portal-results-column .portal-service-options { margin: 0 0 22px; }
  .footer-main { padding: 32px; }
}
@media (max-width: 640px) {
  .content-page { padding: 20px; }
  .portal-header .top-nav-container { gap: 14px; min-height: 64px; padding-bottom: 18px; }
  .portal-header .logo img { width: 205px; }
  .portal-brand-caption { font-size: 11px; margin-left: 32px; }
  .portal-primary-links { display: none; }
  .portal-menu-label { display: none; }
  .portal-home { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 40px; }
  .portal-home-copy h1 { font-size: 43px; margin-bottom: 20px; }
  .portal-lead { font-size: 18px; margin-bottom: 0; }
  .portal-home-note { margin: 18px 0 0; }
  .portal-home-copy .portal-text-link { margin-top: 10px; padding-bottom: 8px; }
  .portal-start-search.appointment-selection { padding: 20px; }
  .portal-start-search h2 { font-size: 28px; }
  .portal-appointment-option > label { min-height: 80px; padding: 14px 12px; gap: 12px; }
  .portal-option-symbol { display: none; }
  .portal-start-location { flex-wrap: wrap; padding-left: 12px; }
  .portal-guide { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 34px; padding-bottom: 34px; }
  .portal-guide h2 { font-size: 34px; }
  .portal-guide h2 br { display: none; }
  .portal-guide-intro p:last-child { max-width: none; margin-bottom: 0; }
  .portal-guide-links > a { padding: 22px 0; gap: 16px; }
  .portal-guide-links strong { font-size: 25px; }
  .portal-guide-links small { font-size: 14px; }
  .portal-provider { display: block; font-size: 14px; padding-top: 24px; padding-bottom: 24px; }
  .portal-provider a { display: flex; justify-content: space-between; margin-top: 10px; }
  .directory-intro { padding: 18px 0 24px; margin-bottom: 20px; }
  .portal-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .portal-search-intro { display: block; }
  .portal-search-intro h1 { font-size: 36px; line-height: 1.1; }
  .portal-search-intro p:last-child { font-size: 16px; }
  .portal-intro-guide { display: none; }
  .directory-eyebrow { font-size: 10px; margin-bottom: 12px; }
  .sucheseite .suche { gap: 20px; }
  .portal-service-options { gap: 7px; }
  .portal-service-options > span { flex-basis: 100%; margin-bottom: 3px; font-size: 12px; }
  .portal-service-options button { flex: 1; justify-content: center; padding: 9px 10px; font-size: 14px; }
  .portal-results-heading h2 { font-size: 26px; }
  .portal-results-status { max-width: 110px; text-align: right; font-size: 11px; }
  .search-result-box, .sucheseite .search-result-box { grid-template-columns: minmax(0, 1fr) 60px; gap: 14px; padding: 20px; }
  .sucheseite .search-result-text .portal-result-name, .search-result-text h2 { font: 500 25px/1.18 var(--font-display); color: var(--brand-navy); }
  .search-result-text p { font-size: 14px; }
  .search-result-box .search-result-image { width: 60px; height: 60px; margin: 24px 0 0; }
  .premium-badge { top: 18px; left: 20px; }
  .portal-result-actions { gap: 4px 12px; padding-top: 12px; }
  .portal-profile-link, .portal-phone-link { font-size: 14px; gap: 10px; }
  .portal-next-step { padding-top: 22px; }
  .portal-next-step p { font-size: 14px; }
  .js .is-open .portal-filter-sheet { padding: 22px 20px 0; }
  .portal-empty-state { padding: 24px 20px; }
  .profile-hero-card { padding: 20px; }
  .grid-container { grid-template-columns: minmax(0, 1fr); }
  .site-footer { margin-top: 40px; }
  .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; text-align: left; }
  .site-footer .footer-brand-link { justify-content: flex-start; }
  .site-footer .footer-brand-icon { width: 24px; height: 24px; }
  .site-footer .footer-brand-text { font-size: 15px; }
  .footer-brand-item { margin-bottom: 10px; }
  .site-footer .footer-tagline { margin: 16px 0; }
  .footer-social-and-links { justify-content: flex-start; }
  .footer-divider { display: none; }
  .footer-col { min-width: 0; }
  .footer-contact { grid-column: 1 / -1; grid-row: 2; }
  .footer-col:not(.footer-brand):not(.footer-contact):not(.footer-legal-col) { grid-column: 1; grid-row: 3; }
  .footer-legal-col { grid-column: 2; grid-row: 3; }
  .footer-legal-col .footer-link-list { display: block; }
  .footer-contact .footer-link-list { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .site-footer .footer-social-btn { width: 44px; height: 44px; border: 0; }
  .footer-legal-col .footer-col-title { margin-bottom: 10px; }
  .footer-link-list li { padding: 0; margin: 0 0 10px; }
  .footer-link-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
}
html:not(.js) .portal-filter-sheet { display: block; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.portal-profile-back { display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 13px; padding: 28px 0 0; }
.portal-profile-back a { padding: 8px 0; text-decoration: none; }
.portal-profile-back > span { color: var(--text-muted); }
.unterseitenseite { width: 100%; max-width: none; margin: 0; font-family: var(--font-sans); }
.unterseitenseite .profile-hero-card { padding: 0; overflow: hidden; margin: 0 0 36px; border: 1px solid var(--line); }
.hero-header-part { display: flex; align-items: center; gap: 32px; padding: 32px; background: white; }
.unterseite-profile-pic-container { width: 112px; height: 112px; flex-shrink: 0; }
.unterseite-profile-pic-container img { width: 100%; height: 100%; min-width: 0; object-fit: cover; border-radius: 8px; }
.unterseite-profile-info { min-width: 0; }
.unterseite-profile-info p { color: var(--text-muted); margin: 7px 0; font-size: 16px; }
.unterseite-profile-info p:first-child { font: 500 36px/1.12 var(--font-display); color: var(--brand-navy); margin: 0 0 16px; }
.unterseite-profile-info p b { font-weight: 600; color: var(--brand-navy); }
.hero-contact-part { padding: 18px 32px; background: var(--paper-2); border-top: 1px solid var(--line); }
.profile-list { list-style: none; padding: 0; margin: 0; }
.profile-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 15px; overflow-wrap: anywhere; }
.profile-list li:last-child { border-bottom: 0; }
.profile-list li::before { display: none; }
.hero-contact-part .profile-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.hero-contact-part .profile-list a { font-weight: 600; }
.hero-contact-part .profile-list li:first-child a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-freitext-part { padding: 28px 32px; border-top: 1px solid var(--line); }
.freitext-content { color: var(--text); font-size: 17px; line-height: 1.75; }
.freitext-content p { margin: 0 0 16px; }
.unterseitenseite .grid-container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 44px; }
.unterseitenseite .profile-section { padding: 22px 0; margin: 0; height: auto; border: 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; }
.profile-section h2 { font: 500 27px/1.2 var(--font-display); margin: 0 0 18px; color: var(--brand-navy); }
@media(max-width:640px) {
  .portal-profile-back { font-size: 12px; padding-top: 18px; }
  .portal-profile-back > span { display: none; }
  .hero-header-part { align-items: flex-start; padding: 24px 20px; gap: 18px; }
  .unterseite-profile-pic-container { width: 64px; height: 64px; }
  .unterseite-profile-info p:first-child { font-size: 29px; }
  .unterseite-profile-info p { font-size: 14px; }
  .hero-contact-part, .hero-freitext-part { padding: 20px; }
  .hero-contact-part .profile-list { grid-template-columns: minmax(0,1fr); }
  .unterseitenseite .grid-container { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
.portal-filter-notice { background: var(--violet-100); border-left: 2px solid var(--violet-600); padding: 12px; margin-bottom: 12px; font-size: 13px; }
.portal-start-location #plzInput { min-height: 44px; border-color: var(--line-strong); }
.unterseite-profile-info { text-align: left; }
@media(max-width:640px) {
  .portal-search-intro p:last-child { font-size: 15px; }
  .portal-results-heading { align-items: center; }
  .portal-results-heading h2 { font-size: 28px; }
}
/* Quiet upright headline and the directory's own search signet. */
.portal-home-copy h1 .portal-quiet-line { color: var(--violet-600); font-style: normal; font-weight: 450; }
.portal-brand-caption { display: flex; align-items: baseline; gap: 8px; letter-spacing: 0; margin-top: 2px; }
.portal-brand-caption strong { color: var(--brand-navy); font-size: 16px; font-weight: 600; }
.portal-brand-caption > span { font-size: 11px; }
main.portal-guide { padding-top: 28px; }
main.portal-guide .portal-breadcrumb { margin-bottom: 32px; }
section.portal-guide-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 12px 0 56px; }
section.portal-guide-intro h1 { font-size: clamp(36px, 4.5vw, 56px); margin: 0 0 24px; }
section.portal-guide-intro .portal-lead { font-size: 20px; }
section.portal-guide-intro figure { margin: 0; }
section.portal-guide-intro img { display: block; width: 100%; height: auto; border-radius: 6px; }
section.portal-guide-intro figcaption { font-size: 13px; color: var(--text-muted); padding: 12px 0; }
main.portal-guide h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 36px); }
.portal-guide-paths { border-top: 1px solid var(--line); }
.portal-guide-paths > a { display: grid; grid-template-columns: 48px 1fr 24px; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.portal-guide-paths > a:hover { background: var(--paper-2); }
.portal-guide-paths h3 { margin: 0 0 8px; font-size: 27px; }
.portal-guide-paths p { margin: 0; max-width: 720px; color: var(--text-muted); }
.portal-guide-search { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 56px 0 32px; }
.portal-guide-search aside { background: var(--paper-2); padding: 28px; border-left: 3px solid var(--brand-violet); border-radius: 0 6px 6px 0; }
.portal-guide-search h3 { font-size: 28px; margin: 0 0 16px; }
.portal-guide-search ul { padding-left: 22px; }
.portal-guide-search li { padding: 5px 0; }
.portal-guide-search .directory-search-button { display: flex; max-width: 360px; text-decoration: none; margin-top: 24px; }
.portal-guide-note { font-size: 14px; color: var(--text-muted); }
@media (max-width: 959px) {
 section.portal-guide-intro { gap: 28px; }
 .portal-guide-search { gap: 28px; }
}
@media (max-width: 640px) {
 section.portal-guide-intro, .portal-guide-search { grid-template-columns: 1fr; gap: 28px; }
 .portal-guide-intro { padding-bottom: 36px; }
 .portal-guide-intro figure { max-width: 480px; }
 .portal-guide-intro .portal-lead { font-size: 18px; }
 .portal-guide-search { padding-top: 36px; }
 .portal-guide-search aside { padding: 20px; }
 .portal-guide-paths > a { grid-template-columns: 28px 1fr 18px; gap: 12px; padding: 24px 0; }
 .portal-guide-paths h3 { font-size: 25px; }
 .portal-brand-caption { gap: 6px; }
 .portal-brand-caption strong { font-size: 14px; }
 .portal-brand-caption > span { font-size: 10px; }
}
@media (max-width: 640px) {
 .directory-intro { padding-bottom: 20px; }
}
/* The legacy article main used a two-column grid; this guide owns its sections. */
main.portal-guide { display: block; width: 100%; max-width: none; margin: 0; padding: 28px 0 0; background: transparent; }
.portal-guide > section { width: 100%; min-width: 0; }
.portal-guide-intro > div, .portal-guide-search > div { min-width: 0; }
@media (min-width: 1101px) {
 .site-footer .footer-divider { margin: 0; }
 .site-footer .footer-contact { flex: 1.2; }
 .site-footer .footer-contact-item a[href^="mailto:"] { white-space: nowrap; }
}
/* Content-height menu, free of the legacy 110px bottom margin. */
.portal-header .hamburger-menu-content { justify-content: start; align-content: start; min-height: 0; max-height: calc(100dvh - 140px); overflow-y: auto; transition: none; }
.portal-header .menu-down-content { margin-bottom: 0; padding-bottom: 0; }
.portal-header .hamburger-menu-content a { min-width: 0; min-height: 44px; }
/* Shared reading and form surfaces for secondary pages. */
main.portal-provider, main.portal-account-main, main.portal-contact-main, main.portal-document-main { display: block; width: 100%; max-width: none; margin: 0; padding: 32px 0 0; background: transparent; }
.portal-document-main { color: var(--text); }
.portal-document-main .datenschutz, .portal-document-main .agb, .portal-document-main .ratgeber-artikel-inhalt { max-width: 800px; margin: 0 auto; padding: 0; background: transparent; text-align: left; }
.portal-document-main .information-text { margin: 0 0 28px; padding: 0; text-align: left; }
.portal-document-main h1, .portal-account-main h1, .portal-contact-main h1 { margin: 0 0 20px; font: 500 clamp(32px, 3.8vw, 48px)/1.15 var(--font-display); color: var(--brand-navy); }
.portal-document-main h2, .portal-document-main h3, .portal-document-main h4 { font: 500 27px/1.25 var(--font-display); margin: 32px 0 16px; }
.portal-document-main p, .portal-document-main li { line-height: 1.7; }
.portal-account-main .login-container, .portal-account-main .registration-container, .portal-account-main .form-container, .portal-account-main .registration-box { width: 100%; max-width: 680px; margin: 12px auto 0; padding: 32px; border: 1px solid var(--line); border-top: 3px solid var(--brand-violet); background: var(--surface); border-radius: 6px; box-shadow: none; text-align: left; }
.portal-account-main .login-container { max-width: 560px; }
.portal-account-main .form-group, .portal-account-main .form-group-registration { margin: 0 0 20px; text-align: left; }
.portal-account-main label, .portal-contact-main label { display: block; color: var(--brand-navy); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.portal-account-main input:not([type=checkbox]):not([type=hidden]), .portal-account-main select, .portal-account-main textarea, .portal-contact-main input:not([type=checkbox]):not([type=hidden]), .portal-contact-main select, .portal-contact-main textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px; margin: 0; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); background: var(--surface); font: 17px var(--font-sans); box-shadow: none; }
.portal-account-main .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.portal-account-main .half-width, .portal-account-main .full-width { width: 100%; min-width: 0; }
.portal-account-main .submit-btn-container, .portal-account-main .form-actions { width: 100%; margin: 12px 0 0; }
.portal-account-main .submit-btn { width: 100%; }
.portal-account-main .register-link { font-size: 15px; text-align: left; margin: 20px 0 0; }
.portal-account-main .profilbereich { padding: 0; margin: 0; background: transparent; }
/* Provider information: factual comparison and clear next steps. */
.portal-provider-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding: 32px 0 56px; align-items: center; }
.portal-provider h1 { font-size: clamp(36px, 4vw, 54px); margin: 0 0 24px; }
.portal-provider .portal-lead { max-width: 620px; font-size: 20px; }
.portal-provider-intro .directory-search-button { display: inline-flex; gap: 32px; align-items: center; margin-top: 12px; }
.portal-provider-account { border-left: 2px solid var(--brand-violet); padding: 28px; background: var(--paper-2); }
.portal-provider-account h2 { margin: 0 0 16px; }
.portal-provider-account .portal-text-link { display: flex; width: fit-content; }
.portal-section-lead { color: var(--text-muted); margin-bottom: 28px; }
.portal-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.portal-plan { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--brand-violet); border-radius: 6px; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.portal-plan-premium { border-top-color: var(--action); }
.portal-plan h3 { font-size: 29px; margin: 0 0 18px; min-height: 72px; }
.portal-plan-price { font-size: 36px; color: var(--brand-navy); font-weight: 600; margin-bottom: 20px; }
.portal-plan-price span { display: block; font-size: 14px; font-weight: 400; color: var(--text-muted); }
.portal-plan ul { padding-left: 19px; margin: 0 0 24px; font-size: 16px; }
.portal-plan li { margin-bottom: 10px; }
.portal-plan > .portal-text-link { margin-top: auto; font-size: 15px; justify-content: space-between; }
.portal-plan details { margin-top: 16px; font-size: 14px; }
.portal-plan summary { cursor: pointer; padding: 10px 0; min-height: 44px; }
.portal-plan details img { width: 100%; height: auto; margin-top: 12px; display: block; }
.portal-provider-process { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.portal-provider-process ol { margin: 0; padding-left: 24px; }
.portal-provider-process li { padding: 0 0 20px 12px; }
.portal-provider-process strong, .portal-provider-process li span { display: block; }
.portal-provider-process li span { color: var(--text-muted); margin-top: 6px; }
/* Real contact photos and a readable, existing contact form. */
.portal-contact-main .contact-shell { max-width: 960px; margin: 0 auto; }
.portal-contact-main .contact-intro { text-align: left; margin: 0 0 32px; max-width: 680px; color: var(--text-muted); font-size: 20px; }
.contact-persons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 44px; }
.contact-person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-person-photo { display: block; width: 120px; height: 144px; object-fit: cover; object-position: center 24%; border-radius: 4px; }
.contact-person-content { min-width: 0; }
.contact-person h3 { margin: 0 0 8px; font-size: 27px; }
.contact-person-role { color: var(--violet-600); font-size: 14px; font-weight: 600; }
.contact-person-text { font-size: 15px; color: var(--text-muted); }
.contact-person-call { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.contact-person-phone, .contact-person-call-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.contact-person-call-button { color: var(--action); font-weight: 600; }
.portal-contact-form-title { margin-top: 0; }
.portal-contact-main .contact-form { max-width: 800px; border-top: 3px solid var(--brand-violet); padding: 28px; background: var(--surface); border-radius: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-field { margin-bottom: 22px; min-width: 0; }
.contact-form-note { font-size: 14px; color: var(--text-muted); margin: 10px 0 0; }
.portal-contact-main .form-check { display: flex; align-items: start; gap: 12px; margin-bottom: 22px; }
.portal-contact-main .form-check input { flex-shrink: 0; width: 20px; height: 20px; margin: 4px 0 0; }
.portal-contact-main .form-check label { font-size: 15px; font-weight: 400; }
.portal-contact-main button[type=submit] { width: 100%; background: var(--action); color: white; border: 0; border-radius: 6px; min-height: 48px; padding: 14px 20px; font-weight: 600; }
@media (max-width: 959px) {
 .portal-provider-intro { gap: 28px; }
 .portal-plan-grid { grid-template-columns: 1fr; gap: 20px; }
 .portal-plan h3 { min-height: 0; }
 .portal-provider-process { gap: 28px; }
 .contact-person { grid-template-columns: 80px 1fr; gap: 16px; }
 .contact-person-photo { width: 80px; height: 106px; }
}
@media (max-width: 640px) {
 .portal-provider-intro, .portal-provider-process, .contact-persons, .contact-grid, .portal-account-main .form-row { grid-template-columns: 1fr; }
 .portal-provider-intro { padding: 12px 0 36px; }
 .portal-provider-account { padding: 20px; }
 .portal-provider-process { padding: 36px 0; }
 .portal-account-main .login-container, .portal-account-main .registration-container, .portal-account-main .form-container, .portal-account-main .registration-box, .portal-contact-main .contact-form { padding: 20px; }
 .portal-plan { padding: 20px; }
 .portal-contact-main .contact-intro { font-size: 18px; }
 .portal-contact-main .contact-form { padding: 20px; }
 .portal-contact-main .contact-persons { gap: 24px; }
 .portal-contact-main .contact-person { grid-template-columns: 88px 1fr; }
 .portal-contact-main .contact-person-photo { width: 88px; height: 114px; }
}
/* Consistent readable action states, including existing Stripe cards. */
a.directory-search-button:hover, a.directory-search-button:focus-visible, .portal-account-main .submit-btn:hover, .portal-account-main .submit-btn:focus-visible, .portal-contact-main button[type=submit]:hover, .portal-contact-main button[type=submit]:focus-visible { background: var(--action-hover); color: #fff; }
.portal-account-main .registration-box > .form-container { max-width: none; margin: 0; border: 0; padding: 0; background: transparent; }
.portal-account-main .ms-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.portal-account-main a.ms-card { width: 100%; min-width: 0; margin: 0; padding: 24px; background: var(--brand-navy); color: #fff; border-radius: 6px; box-shadow: none; text-shadow: none; transform: none; }
.portal-account-main a.ms-card:hover, .portal-account-main a.ms-card:focus-visible { color: #fff; background: var(--action-hover); box-shadow: none; transform: none; }
@media(max-width:959px) { .portal-account-main .ms-grid { grid-template-columns: 1fr; } }
.portal-account-main .profil-container, .portal-account-main .profil-links, .portal-account-main .profil-rechts, .portal-account-main .auswahl-preview { width: 100%; min-width: 0; max-width: 100%; }
.portal-account-main .form-container-input-data { max-width: 800px; }
.portal-account-main .progress-container, .portal-account-main .additional-container, .portal-account-main .therapist-access-container { max-width: 100%; margin-left: 0; margin-right: 0; }
.portal-account-main form span[style*="white-space: nowrap"] { white-space: normal !important; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.portal-opening-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: fit-content; padding: 14px 16px; margin: 24px 0 12px; border-left: 3px solid var(--action); background: var(--green-100); color: var(--brand-navy); text-decoration: none; font-size: 15px; }
.portal-opening-note > span:first-child { color: var(--action); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.portal-opening-note:hover { color: var(--brand-navy); border-color: var(--brand-navy); }
.portal-offer-label { width: fit-content; background: var(--green-100); border: 1px solid var(--action); border-radius: 4px; padding: 6px 10px; color: var(--action); font-size: 13px; font-weight: 600; margin: 0 0 18px; }
.portal-plan-premium { background: var(--paper); border-color: var(--action); }
.portal-account-main .login-title, .portal-account-main .form-title, .portal-contact-main .portal-contact-form-title { text-align: left; }
.portal-account-main .register-link { color: var(--text-muted); font-weight: 400; }
.portal-account-main .register-link a { color: var(--brand-navy); font-weight: 600; }
.portal-account-main .register-link a:hover { color: var(--violet-600); }
.portal-account-main .form-row { margin-bottom: 20px; }
.portal-account-main .form-row .form-group-registration { margin-bottom: 0; }
.portal-contact-main button[type=submit] { max-width: none; }
.content-page > .site-footer { margin-left: -48px; margin-right: -48px; }
@media(max-width:959px) { .content-page > .site-footer { margin-left: -32px; margin-right: -32px; } }
@media(max-width:640px) { .content-page > .site-footer { margin-left: -20px; margin-right: -20px; } }
.portal-opening-note { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; width: 100%; max-width: 540px; }
.portal-opening-note > span:first-child, .portal-opening-note > strong, .portal-opening-note > span:nth-child(3) { grid-column: 1; }
.portal-opening-note > strong { font-size: 20px; }
.portal-opening-note > span:last-child { grid-column: 2; grid-row: 1 / 4; align-self: center; font-size: 22px; }
.portal-opening-note > span:nth-child(3) { color: var(--text-muted); font-size: 14px; }
.portal-provider-start-note { font-size: 14px; color: var(--text-muted); margin: 12px 0 0; }
.portal-network-note { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-network-note h2 { margin: 0; }
.portal-network-note .portal-offer-label { border-color: var(--violet-600); background: var(--violet-100); color: var(--brand-navy); }
@media(max-width:640px) { .portal-network-note { grid-template-columns: 1fr; gap: 20px; } }
.portal-provider-intro .portal-opening-note { display: grid; }
.portal-account-main .premium-upsell-container { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: none; padding: 28px; }
.portal-account-main .premium-upsell-container::before, .portal-account-main .premium-upsell-container::after { display: none; }
.portal-account-main .upsell-title { font-family: var(--font-display); font-weight: 500; text-align: left; }
.portal-account-main .ms-card .badge-sale { background: var(--green-100); color: #11185f; box-shadow: none; text-shadow: none; border: 1px solid #1e7b34; border-radius: 4px; }
@media(max-width:640px) { .portal-account-main .premium-upsell-container { padding: 20px; } }

/* Provider dashboard: status first, numbered sections, calm forms and clear account actions. */
.portal-account-dashboard { max-width: 880px !important; margin: 0 auto !important; }
.portal-account-dashboard > h1 { margin-bottom: 12px; }
.portal-account-lead { color: var(--text-muted); font-size: 18px; margin: 0 0 28px; max-width: 640px; }
.portal-account-notice { margin: 0 0 20px; padding: 16px 20px; border-left: 3px solid var(--action); background: var(--green-100); color: var(--brand-navy); border-radius: 0 6px 6px 0; }
.portal-account-status { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 20px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--violet-400); border-radius: 6px; }
.portal-account-status.is-active { border-left-color: var(--action); }
.portal-account-status h2 { margin: 4px 0 8px; font-size: 26px; }
.portal-account-status p { margin: 0; color: var(--text); }
.portal-account-status .directory-eyebrow { margin: 0; }
.portal-account-status-hint { margin-top: 10px !important; color: var(--violet-700) !important; font-size: 15px; }
.portal-account-status-actions { display: grid; gap: 10px; justify-items: start; }
.portal-account-status-actions .directory-search-button { display: inline-flex; justify-content: space-between; gap: 16px; width: 100%; align-items: center; }
.portal-account-status-actions p { font-size: 14px; color: var(--text-muted) !important; }
.portal-account-status-actions p strong { color: var(--action); }
.portal-account-sections { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto; margin: 0 0 36px; padding: 10px 0; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.portal-account-sections::-webkit-scrollbar { display: none; }
.portal-account-sections a { flex: 0 0 auto; padding: 9px 12px; border-radius: 4px; color: var(--brand-navy); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.portal-account-sections a:hover, .portal-account-sections a:focus-visible { background: var(--violet-100); color: var(--brand-navy); }
.portal-account-dashboard [id] { scroll-margin-top: 76px; }
.portal-account-section { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; max-width: 800px; margin: 56px auto 20px; text-align: left; }
.portal-account-section-step { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-100); color: var(--brand-navy); font: 500 20px/1 var(--font-display); }
.portal-account-section h2 { margin: 2px 0 6px; font-size: 28px; }
.portal-account-section p { margin: 0; color: var(--text-muted); }
.portal-account-section .directory-eyebrow { margin: 0; color: var(--violet-600); }
.portal-account-dashboard .progress-container { border: 1px solid var(--line) !important; border-radius: 6px !important; box-shadow: none !important; padding: 20px 24px !important; margin: 0 0 8px !important; }
.portal-account-dashboard .progress-header { font-size: 16px !important; color: var(--brand-navy) !important; }
.portal-account-dashboard .progress-status-label, .portal-account-dashboard .progress-text b { color: var(--brand-navy) !important; }
.portal-account-dashboard .progress-text { font-size: 15px !important; color: var(--text-muted) !important; }
.portal-account-dashboard .progress-bar-bg { height: 8px !important; background: var(--violet-100) !important; }
.portal-account-dashboard .progress-bar-fill { background: var(--action) !important; }
.portal-account-dashboard .progress-stage { background: var(--paper) !important; border-color: var(--line) !important; border-radius: 4px !important; }
.portal-account-dashboard .progress-stage.is-complete { background: var(--green-100) !important; border-color: var(--action) !important; }
.portal-account-dashboard .progress-stage.is-complete .progress-stage-state { color: var(--green-800) !important; }
.portal-account-dashboard .progress-stage.is-active { background: var(--violet-100) !important; border-color: var(--violet-600) !important; }
.portal-account-dashboard .progress-stage-title { color: var(--brand-navy) !important; }
.portal-account-dashboard .profil-links[style] { flex: 1 1 100% !important; max-width: 800px !important; margin: 0 auto !important; padding: 0 !important; }
.portal-account-dashboard .form-container-input-data { margin-top: 0 !important; }
.portal-account-dashboard .profilbereich > br { display: none; }
.portal-criteria-form { max-width: 800px; margin: 0 auto; display: block; }
.portal-account-dashboard .auswahlzeile[style] { margin-bottom: 16px !important; }
.portal-account-dashboard .auswahlkriterium-links[style] { background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: 6px !important; padding: 22px 24px !important; }
.portal-account-dashboard .auswahlkriterium-links > b[style] { font: 500 21px/1.3 var(--font-display) !important; color: var(--brand-navy) !important; border-bottom: 1px solid var(--line) !important; padding-bottom: 10px !important; margin-bottom: 14px !important; }
.portal-account-dashboard .plz-input { max-width: 140px !important; }
.portal-account-dashboard .profile-pic-uploader { display: grid; justify-items: center; gap: 14px; margin: 0 0 24px; }
.portal-account-dashboard .preview-container { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.portal-account-dashboard .preview-container img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.portal-account-dashboard label.upload-btn { display: inline-flex; align-items: center; width: auto; min-height: 44px; margin: 0; padding: 10px 18px; border: 1px solid var(--brand-navy); border-radius: 6px; background: var(--surface); color: var(--brand-navy); font-weight: 600; cursor: pointer; }
.portal-account-dashboard label.upload-btn:hover { background: var(--brand-navy); color: #fff; }
#cropModal > div { border-radius: 6px !important; }
#cropModal h3 { font-family: var(--font-display); color: var(--brand-navy); }
#cropModal button[onclick="closeCropModal()"] { background: var(--surface) !important; color: var(--brand-navy) !important; border: 1px solid var(--brand-navy) !important; border-radius: 6px !important; min-height: 44px; }
#saveCroppedImageButton { background: var(--action) !important; border-radius: 6px !important; min-height: 44px; }
#saveCroppedImageButton:hover { background: var(--action-hover) !important; }
#direkt-url + .profil-container > .profil-links > div[style] { background: var(--surface) !important; border: 1px solid var(--line); border-radius: 6px !important; padding: 26px !important; }
#direkt-url + .profil-container > .profil-links > div[style] > b { font: 500 21px/1.3 var(--font-display) !important; color: var(--brand-navy); border-color: var(--line) !important; }
#direkt-url + .profil-container > .profil-links > div[style] > p { color: var(--text) !important; }
#direkt-url + .profil-container form > div[style*="display: flex"] { border-color: var(--line-strong) !important; border-radius: 4px !important; }
#direkt-url + .profil-container form > div[style*="display: flex"] > span { color: var(--text-muted) !important; }
#direkt-url + .profil-container form > div[style*="fff3cd"] { background: var(--violet-100) !important; border: 0 !important; border-left: 3px solid var(--violet-600) !important; color: var(--brand-navy) !important; border-radius: 0 4px 4px 0 !important; }
#direkt-url + .profil-container form > div[style*="text-align: center"] .submit-btn { width: 100%; padding: 14px 20px !important; }
.portal-account-dashboard .premium-upsell-container { max-width: 800px; margin: 56px auto 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; text-align: left; }
.portal-account-dashboard .premium-upsell-container .portal-account-section { margin-top: 0; }
.portal-account-dashboard .ms-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 210px; line-height: 1.35; font-weight: 600; }
.portal-account-dashboard .ms-card-green { background: var(--action) !important; outline: 3px solid var(--green-100); }
.portal-account-dashboard a.ms-card-green:hover, .portal-account-dashboard a.ms-card-green:focus-visible { background: var(--green-800) !important; }
.portal-account-dashboard .ms-price, .portal-account-dashboard .price-new { font: 500 30px/1.1 var(--font-display); color: #fff; }
.portal-account-dashboard .ms-card-subtitle { color: var(--text-on-dark-muted); font-weight: 400; }
.portal-account-dashboard .ms-card-green .ms-card-subtitle { color: #fff; }
.portal-payment-facts { margin: 20px 0 0; padding: 18px 20px 18px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-size: 15px; }
.portal-payment-facts li + li { margin-top: 6px; }
.portal-account-manage { max-width: 800px; margin: 56px auto 72px; }
.portal-account-manage-portal { margin: 0 0 18px 56px; }
.portal-account-manage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-left: 56px; }
.portal-account-manage-actions form { margin: 0; }
.portal-button-quiet, .portal-button-danger { min-height: 48px; padding: 12px 20px; border-radius: 6px; font: 600 16px var(--font-sans); background: var(--surface); }
.portal-button-quiet { border: 1px solid var(--brand-navy); color: var(--brand-navy); }
.portal-button-quiet:hover, .portal-button-quiet:focus-visible { background: var(--brand-navy); color: #fff; }
.portal-button-danger { border: 1px solid #a3262f; color: #a3262f; }
.portal-button-danger:hover, .portal-button-danger:focus-visible { background: #a3262f; color: #fff; }
@media (max-width: 820px) {
 .portal-account-status { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
 .portal-account-section { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin-top: 44px; }
 .portal-account-section-step { width: 32px; height: 32px; font-size: 17px; }
 .portal-account-section h2 { font-size: 24px; }
 .portal-account-manage-portal, .portal-account-manage-actions { margin-left: 0; }
 .portal-account-dashboard .ms-card { min-height: 0; }
}
@media (max-width: 640px) {
 .portal-account-manage-actions form, .portal-account-manage-actions button { width: 100%; }
 .portal-account-dashboard .auswahlkriterium-links[style] { padding: 18px !important; }
 #direkt-url + .profil-container > .profil-links > div[style] { padding: 18px !important; }
}

/* Calm postcode reveal on the start page. */
.portal-start-location { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; visibility: hidden; transform: translateY(-6px); }
.portal-start-location.is-open { max-height: 180px; padding-top: 14px; padding-bottom: 10px; opacity: 1; visibility: visible; transform: none; }
.portal-start-location.is-ready { transition: max-height .5s cubic-bezier(.25,.8,.25,1), padding .5s cubic-bezier(.25,.8,.25,1), transform .5s cubic-bezier(.25,.8,.25,1), opacity .3s ease, visibility 0s linear .5s; }
.portal-start-location.is-ready.is-open { transition: max-height .5s cubic-bezier(.25,.8,.25,1), padding .5s cubic-bezier(.25,.8,.25,1), transform .5s cubic-bezier(.25,.8,.25,1), opacity .4s ease .1s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .portal-start-location.is-ready, .portal-start-location.is-ready.is-open { transition: opacity .15s linear, visibility 0s; transform: none; } }
.portal-account-dashboard .ms-card-green { border: 0 !important; outline: 3px solid var(--green-300); outline-offset: 3px; }
.portal-account-dashboard .ms-card:hover { transform: none; }

/* Footer: no squeezed columns between phone and desktop. */
.site-footer { overflow-wrap: normal; }
.site-footer .footer-link-list a, .site-footer .footer-contact-item a { text-align: left; }
.site-footer .footer-contact-item { display: flex; align-items: center; gap: 10px; }
.site-footer .footer-contact-item svg { flex-shrink: 0; margin: 0; }
.site-footer .footer-contact-item a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (min-width: 641px) {
 .site-footer .footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 0; max-width: none; padding: 40px 32px 36px; }
 .site-footer .footer-divider { display: none; }
 .site-footer .footer-col { flex: none; min-width: 0; width: auto; margin: 0; padding: 0 24px; border: 0; text-align: left; }
 .site-footer .footer-col:not(.footer-brand) + .footer-divider + .footer-col { border-left: 1px solid var(--line-on-dark); }
 .site-footer .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: start; margin: 0; padding: 0 24px 28px; border-bottom: 1px solid var(--line-on-dark); }
 .site-footer .footer-brand > * { grid-column: 1; }
 .site-footer .footer-brand-item { margin: 0 0 10px; }
 .site-footer .footer-brand .footer-tagline { margin: 8px 0 0; }
 .site-footer .footer-brand > .footer-social-and-links { grid-column: 2; grid-row: 1 / span 3; align-self: center; flex-direction: column; align-items: flex-end; gap: 14px; }
 .site-footer .footer-provider-links a { text-align: right; }
 .site-footer .footer-link-list li { margin: 0 0 4px; padding: 0; }
 .site-footer .footer-link-list a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
}
@media (min-width: 1180px) {
 .site-footer .footer-main { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr); padding: 44px 24px 40px; }
 .site-footer .footer-brand { grid-column: auto; display: block; padding-bottom: 0; border-bottom: 0; }
 .site-footer .footer-brand > .footer-social-and-links { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; margin-top: 22px; }
 .site-footer .footer-provider-links a { text-align: left; }
 .site-footer .footer-col:not(.footer-brand) { border-left: 1px solid var(--line-on-dark); padding-left: 32px; }
}
.site-footer .footer-brand hr { display: none; }
.site-footer .footer-social { margin: 0; justify-content: flex-start; }
@media (min-width: 641px) and (max-width: 819px) {
 .site-footer .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); padding-left: 20px; padding-right: 20px; }
 .site-footer .footer-col { padding: 0 16px; }
 .site-footer .footer-brand { padding: 0 16px 24px; }
}
@media (min-width: 641px) { .site-footer .footer-social { border-top: 0; padding-top: 0; } }
.content-page > .site-footer { width: auto; }

/* Guide articles: calm reading column, topic navigation and gentle next steps. */
main.portal-article { display: block; width: 100%; max-width: none; margin: 0; padding: 28px 0 0; background: transparent; }
.portal-article .portal-breadcrumb { margin-bottom: 36px; }
.portal-article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.portal-article-nav { position: sticky; top: 24px; }
.portal-article-nav ol { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.portal-article-nav li { border-bottom: 1px solid var(--line); }
.portal-article-nav a { display: block; padding: 12px 0 12px 14px; border-left: 3px solid transparent; color: var(--brand-navy); font-size: 15px; text-decoration: none; line-height: 1.35; }
.portal-article-nav a:hover { color: var(--violet-600); background: var(--paper-2); }
.portal-article-nav a[aria-current="page"] { border-left-color: var(--action); font-weight: 600; }
.portal-article-body { max-width: 720px; min-width: 0; }
.portal-article-header h1 { margin: 6px 0 20px; font-size: clamp(36px, 4.4vw, 54px); }
.portal-article-header .portal-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-muted); line-height: 1.6; margin-bottom: 44px; }
.portal-article-body > section { margin: 0 0 48px; }
.portal-article-body h2 { margin: 0 0 14px; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.2; }
.portal-article-body h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.portal-article-body p, .portal-article-body li, .portal-article-body dd { font-size: 18px; line-height: 1.7; }
.portal-article-body p { margin: 0 0 14px; }
.portal-article-emergency { margin: 0 0 48px; padding: 22px 26px; background: var(--violet-100); border-left: 3px solid var(--brand-navy); border-radius: 0 6px 6px 0; }
.portal-article-emergency h2 { font-size: 22px; margin-bottom: 10px; }
.portal-article-emergency ul { margin: 0; padding-left: 20px; }
.portal-article-emergency li { font-size: 16px; line-height: 1.6; padding: 3px 0; }
.portal-article-emergency a { font-weight: 700; white-space: nowrap; }
.portal-article-callout { padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.portal-article-callout p:last-child { margin-bottom: 0; }
.portal-article-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.portal-article-steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.portal-article-steps li::before { content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--violet-100); color: var(--brand-navy); font: 500 18px/1 var(--font-display); }
.portal-article-steps strong { color: var(--brand-navy); }
.portal-article-steps span { color: var(--text-muted); font-size: 17px; }
.portal-article-routes { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.portal-article-routes a { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.portal-article-routes a:hover { background: var(--paper-2); color: var(--text); }
.portal-article-routes strong { color: var(--brand-navy); font-weight: 600; }
.portal-article-routes a > span:last-child { color: var(--violet-600); }
.portal-article-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.portal-article-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; scroll-margin-top: 24px; }
.portal-article-card:target { border-color: var(--action); box-shadow: 0 0 0 3px var(--green-100); }
.portal-article-card p { font-size: 16px !important; line-height: 1.6 !important; margin: 0; color: var(--text); }
.portal-article-card p.portal-cost-label { width: fit-content; margin: 0 0 10px; padding: 3px 8px; border-radius: 3px; background: var(--violet-100); color: var(--brand-navy); font-size: 12px !important; font-weight: 600; letter-spacing: .03em; }
.portal-article-terms { margin: 16px 0 0; display: grid; gap: 12px; }
.portal-article-terms div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.portal-article-terms dt { font-weight: 600; color: var(--brand-navy); }
.portal-article-terms dd { margin: 0; font-size: 16px !important; }
.portal-signal-group { margin: 22px 0 0; padding: 0; border: 0; }
.portal-signal-group legend { padding: 0; margin: 0 0 10px; font: 500 20px/1.3 var(--font-display); color: var(--brand-navy); }
.portal-signal-group > div { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-signal { position: relative; display: inline-flex; }
.portal-signal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.portal-signal span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--text); font-size: 15px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.portal-signal span::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface); flex-shrink: 0; }
.portal-signal:hover span { border-color: var(--violet-600); }
.portal-signal input:checked + span { background: var(--green-100); border-color: var(--action); color: var(--brand-navy); }
.portal-signal input:checked + span::before { background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--action); }
.portal-signal input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.portal-signal-summary { margin-top: 24px; padding: 18px 20px; background: var(--paper-2); border-radius: 6px; }
.portal-signal-summary p { margin: 0 !important; font-size: 16px !important; color: var(--brand-navy); }
.portal-signal-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.portal-signal-actions[hidden] { display: none; }
.portal-text-button { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--brand-navy); font: 600 15px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; }
.portal-text-button:hover { color: var(--violet-600); }
.portal-article-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; margin: 8px 0 32px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); text-decoration: none; }
.portal-article-next:hover { border-color: var(--violet-600); color: var(--text); }
.portal-article-next > * { grid-column: 1; }
.portal-article-next .directory-eyebrow { margin: 0; }
.portal-article-next strong { font: 500 25px/1.25 var(--font-display); color: var(--brand-navy); }
.portal-article-next span:nth-child(3) { color: var(--text-muted); font-size: 16px; }
.portal-article-next > span:last-child { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 26px; color: var(--violet-600); }
.portal-article-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0 0 24px !important; padding: 28px; background: var(--brand-navy); border-radius: 6px; }
.portal-article-cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.portal-article-cta p { color: var(--text-on-dark-muted); font-size: 16px !important; margin: 0 !important; }
.portal-article-cta .directory-search-button { display: inline-flex; gap: 14px; align-items: center; white-space: nowrap; }
.portal-article-cta .directory-search-button:focus-visible { outline-color: var(--focus-on-dark) !important; }
.portal-article .portal-guide-note { font-size: 14px !important; }
@media (max-width: 1023px) {
 .portal-article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
 .portal-article-nav { position: static; margin: 0 0 32px; }
 .portal-article-nav ol { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 4px; scrollbar-width: thin; }
 .portal-article-nav li { border: 0; flex: 0 0 auto; }
 .portal-article-nav a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 20px; white-space: nowrap; font-size: 14px; }
 .portal-article-nav a[aria-current="page"] { border-color: var(--action); background: var(--green-100); }
 .portal-article-body { max-width: 760px; }
}
@media (max-width: 640px) {
 .portal-article .portal-breadcrumb { margin-bottom: 24px; }
 .portal-article-header .portal-lead { margin-bottom: 32px; }
 .portal-article-body > section { margin-bottom: 40px; }
 .portal-article-body p, .portal-article-body li, .portal-article-body dd { font-size: 17px; }
 .portal-article-emergency { padding: 18px 18px; }
 .portal-article-callout { padding: 20px; }
 .portal-article-cards { grid-template-columns: minmax(0, 1fr); }
 .portal-article-routes a { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; padding: 14px 4px; }
 .portal-article-routes a > span:first-child, .portal-article-routes strong { grid-column: 1; }
 .portal-article-routes a > span:last-child { grid-column: 2; grid-row: 1 / span 2; }
 .portal-article-terms div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
 .portal-article-next { padding: 18px 20px; }
 .portal-article-next strong { font-size: 22px; }
 .portal-article-cta { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
 .portal-article-cta .directory-search-button { justify-content: space-between; white-space: normal; }
}
.portal-article, .portal-article-body, .portal-article-header { text-align: left; } .portal-article-header .portal-lead { max-width: none; width: auto; margin-left: 0; margin-right: 0; }
.portal-article-body p.directory-eyebrow, .portal-article-body .directory-eyebrow { font-size: 12px; line-height: 1.4; margin-bottom: 0; }

/* Provider page: facts, recommendation, network and FAQ. */
.portal-provider-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 56px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-provider-facts li { padding: 22px 22px 22px 0; }
.portal-provider-facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.portal-provider-facts strong { display: block; font: 500 20px/1.3 var(--font-display); color: var(--brand-navy); margin-bottom: 6px; }
.portal-provider-facts span { display: block; font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.portal-plan-premium { position: relative; box-shadow: 0 0 0 1px var(--action), 0 14px 32px #11185f14; }
.portal-plan-labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.portal-plan-labels .portal-offer-label { margin: 0; }
.portal-plan-recommend { margin: 0; padding: 6px 10px; border-radius: 4px; background: var(--brand-navy); color: #fff; font-size: 13px; font-weight: 600; }
.portal-plan-compare { margin: -8px 0 18px; padding: 10px 12px; background: var(--green-100); border-radius: 4px; color: var(--green-800); font-size: 15px; font-weight: 600; }
.portal-plan-premium > .directory-search-button { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 16px; }
.portal-plan-footnote { margin: 20px 0 0; font-size: 15px; color: var(--text-muted); }
.portal-plan-footnote a { font-weight: 600; }
.portal-network-note { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.portal-network-head h2 { margin: 0; }
.portal-network-body .portal-offer-label { display: inline-block; margin: 0 0 14px; }
.portal-network-body p { margin: 0 0 10px; }
.portal-network-body p:last-child { margin: 0; }
.portal-provider-faq { max-width: 820px; padding: 56px 0 8px; }
.portal-provider-faq h2 { margin: 0 0 20px; }
.portal-provider-faq details { border-top: 1px solid var(--line); }
.portal-provider-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.portal-provider-faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 14px 0; cursor: pointer; color: var(--brand-navy); font-weight: 600; font-size: 17px; list-style: none; }
.portal-provider-faq summary::-webkit-details-marker { display: none; }
.portal-provider-faq summary::after { content: "+"; flex-shrink: 0; font: 400 24px/1 var(--font-sans); color: var(--violet-600); transition: transform .25s ease; }
.portal-provider-faq details[open] summary::after { transform: rotate(45deg); }
.portal-provider-faq details p { margin: 0 0 18px; color: var(--text); max-width: 680px; }
.portal-provider-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 48px; padding: 32px; border: 0; border-radius: 6px; background: var(--brand-navy); }
.portal-provider-final h2 { color: #fff; margin: 0 0 6px; }
.portal-provider-final p { color: var(--text-on-dark-muted); margin: 0; font-size: 16px; }
.portal-provider-final-actions { display: grid; gap: 12px; justify-items: start; }
.portal-provider-final .directory-search-button { display: inline-flex; gap: 16px; align-items: center; font-size: 16px; }
.portal-provider-final .directory-search-button:focus-visible { outline-color: var(--focus-on-dark) !important; }
.portal-provider-final .portal-text-link { color: #fff; border-color: #ffffff66; font-size: 14px; }
.portal-provider-final .portal-text-link:hover { color: var(--green-300); }
@media (max-width: 1023px) {
 .portal-provider-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .portal-provider-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
 .portal-provider-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
 .portal-network-note { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
 .portal-provider-final { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
}
@media (max-width: 640px) {
 .portal-provider-facts { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
 .portal-provider-facts li, .portal-provider-facts li + li { padding: 16px 0; border-left: 0; }
 .portal-provider-facts li + li { border-top: 1px solid var(--line); }
 .portal-network-head h2 { font-size: 27px; }
 .portal-provider-faq { padding-top: 40px; }
 .portal-provider-final .directory-search-button { width: 100%; justify-content: space-between; }
}
@media (max-width: 959px) { .portal-plan-grid > .portal-plan-premium { order: -1; } }
@media (min-width: 1100px) {
 .portal-contact-main .contact-persons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
 .portal-contact-main .contact-person { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .portal-contact-main .contact-person-photo { width: 120px; height: 120px; object-position: center 20%; border-radius: 50%; }
 .portal-contact-main .contact-person h3 { font-size: 24px; }
}
@media (min-width: 641px) and (max-width: 1099px) { .portal-contact-main .contact-persons { grid-template-columns: minmax(0, 1fr); } }
.portal-contact-main .contact-person { align-content: start; }
.portal-guide-time { display: block; margin-top: 10px; font-size: 13px; color: var(--violet-600); font-weight: 600; }
.portal-guide-basics { padding: 56px 0 8px; }
.portal-guide-basics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portal-guide-basics-grid > div { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.portal-guide-basics-grid h3 { margin: 10px 0 8px; font-size: 23px; }
.portal-guide-basics-grid p { margin: 0; color: var(--text-muted); font-size: 16px; }
.portal-guide-emergency { margin: 8px 0 12px; padding: 16px 20px; background: var(--violet-100); border-left: 3px solid var(--brand-navy); border-radius: 0 6px 6px 0; font-size: 15px; color: var(--text); }
.portal-guide-emergency a { font-weight: 700; white-space: nowrap; }
@media (max-width: 820px) { .portal-guide-basics-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .portal-guide-basics { padding-top: 40px; } }
/* suche.stresstherapie wordmark, sized by height like the main site logo. */
.portal-header .logo a { display: inline-flex; align-items: center; min-height: 44px; }
.portal-header .logo img { width: auto; height: 34px; max-width: 100%; }
@media (max-width: 1100px) { .portal-header .logo img { height: 30px; } }
@media (max-width: 640px) { .portal-header .logo img { height: 25px; } }
@media (max-width: 360px) { .portal-header .logo img { height: 21px; } }
.portal-header .logo img { height: 45px; }
@media (max-width: 1023px) { .portal-header .logo img { height: 39px; } }
@media (max-width: 560px) { .portal-header .logo img { height: 33px; } }
@media (max-width: 360px) { .portal-header .logo img { height: 29px; } }
/* Plan comparison: shared rows so titles, prices, features and actions line up. */
.portal-plan-grid { grid-template-rows: auto auto 1fr auto; row-gap: 0; padding-top: 16px; }
.portal-plan { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; position: relative; padding: 28px 24px 24px; }
.portal-plan h3 { min-height: 0; margin: 0; font-size: 26px; line-height: 1.2; }
.portal-plan-head { padding-bottom: 20px; }
.portal-plan-head .directory-eyebrow { margin-bottom: 8px; }
.portal-plan-pricing { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-plan-pricing .portal-plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 500 44px/1 var(--font-display); }
.portal-plan-pricing .portal-plan-price span { display: inline; font: 400 15px var(--font-sans); }
.portal-plan-body { padding-top: 20px; }
.portal-plan-body ul { margin: 0 0 20px; }
.portal-plan-body .portal-plan-compare { margin: 0 0 16px; }
.portal-plan-body .portal-guide-note { margin: 0 0 20px; }
.portal-plan-foot { display: grid; align-content: start; gap: 4px; }
.portal-plan-foot > .portal-text-link { justify-content: space-between; font-size: 15px; }
.portal-plan-foot > .directory-search-button { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.portal-plan-foot details { margin-top: 8px; }
.portal-plan-premium .portal-plan-labels { position: absolute; top: -15px; left: 20px; right: 20px; margin: 0; }
.portal-plan-premium .portal-plan-labels > * { background: var(--surface); }
.portal-plan-premium .portal-plan-labels .portal-offer-label { background: var(--green-100); }
.portal-plan-premium .portal-plan-labels .portal-plan-recommend { background: var(--brand-navy); }
@media (max-width: 959px) {
 .portal-plan-grid { grid-template-rows: none; row-gap: 28px; }
 .portal-plan { display: flex; grid-row: auto; flex-direction: column; }
 .portal-plan-foot { margin-top: auto; }
}
.portal-plan-premium .portal-plan-labels { flex-wrap: nowrap; gap: 6px; }
.portal-plan-premium .portal-plan-labels > * { padding: 5px 9px; font-size: 12px; white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1239px) { .portal-plan-premium .portal-plan-recommend { display: none; } }
.portal-plan-was { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--green-800); }
.portal-plan-was s, .portal-opening-note s, .portal-payment-offer s { color: var(--text-muted); font-weight: 400; text-decoration-thickness: 1.5px; }
.portal-payment-offer { width: fit-content; margin: 12px 0 0 !important; padding: 8px 12px; border-left: 3px solid var(--action); background: var(--green-100); color: var(--brand-navy) !important; font-size: 15px; }
.portal-payment-offer strong { color: var(--green-800); }
.portal-plan-was { font-size: 15px; }
.portal-plan-was s, .portal-opening-note s, .portal-payment-offer s { color: #6b4a4f; font-weight: 600; font-size: 1.08em; text-decoration-color: #a3262f; text-decoration-thickness: 2px; }
.portal-plan-was span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--text-muted); }
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 640px) { .portal-search-intro h1 { font-size: 30px; line-height: 1.12; margin-bottom: 12px; } .portal-search-intro h1 + p { font-size: 16px; margin-bottom: 0; } }
@media (max-width: 640px) { .portal-search-intro .directory-eyebrow { display: none; } }
.portal-nowrap { white-space: nowrap; }
/* Home headline as on stresstherapie.de: two calm lines, the second in violet. */
.portal-home-copy h1 .portal-quiet-line { display: block; }
/* Contact persons: one consistent action row per channel. */
.contact-person-actions { display: grid; gap: 8px; margin-top: 14px; }
.contact-person-action { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--brand-navy); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.contact-person-action:hover, .contact-person-action:focus-visible { border-color: var(--violet-600); background: var(--violet-100); color: var(--brand-navy); }
.contact-person-action-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--violet-100); color: var(--brand-navy); }
.contact-person-action:hover .contact-person-action-icon { background: var(--surface); }
.contact-person-action-text { display: grid; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.contact-person-action-text small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 640px) {
 .portal-contact-main .contact-person { grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
 .portal-contact-main .contact-person-photo { width: 96px; height: 96px; border-radius: 50%; object-position: center 20%; }
 .portal-contact-main .contact-person h3 { font-size: 25px; }
}
/* Provider facts: four columns only when each has room. */
@media (min-width: 1024px) and (max-width: 1179px) {
 .portal-provider-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .portal-provider-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
 .portal-provider-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 360px) { .portal-contact-main .contact-person h3 { font-size: 22px; } }
@media (max-width: 420px) { .portal-document-main h1 { font-size: 28px; } }
/* Results: profile pictures are cropped round, so show them round without a box. */
.search-result-box .search-result-image { border-radius: 50%; background: transparent; }
.search-result-image img, .sucheseite .search-result-image img { border-radius: 50%; }
/* Very small phones: give guide headings the full row. */
@media (max-width: 400px) {
 .portal-guide-paths > a { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
 .portal-guide-paths > a > span:last-child { display: none; }
 .portal-guide-paths h3 { font-size: 23px; }
 .portal-home-copy h1 { font-size: 34px; }
}

/* Footer links on navy: white with underline on hover, as on stresstherapie.de. */
.site-footer a:hover, .site-footer a:focus-visible, .site-footer .footer-link-list a:hover, .site-footer .footer-contact-item a:hover, .site-footer .footer-brand-link:hover .footer-brand-text { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; padding-left: 0; }
.site-footer .footer-provider-links a:hover { color: #fff; }
.site-footer .footer-social-btn:hover { text-decoration: none; }
.site-footer a:focus-visible { outline-color: var(--focus-on-dark) !important; }

/* Search results: phone symbol instead of an arrow. */
.portal-phone-link { gap: 10px; }
.portal-phone-link::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: var(--violet-600); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Member profile page. */
main.portal-profile { display: block; width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; text-align: left; }
.portal-profile .portal-profile-back { padding: 24px 0 28px; font-size: 14px; }
.portal-profile .portal-profile-back a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; }
.portal-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.portal-profile-main { min-width: 0; display: grid; gap: 20px; }
.portal-profile-hero { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand-violet); border-radius: 6px; }
.portal-profile-photo { width: 136px; height: 136px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.portal-profile-identity { min-width: 0; }
.portal-profile-identity h1 { margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; overflow-wrap: break-word; hyphens: auto; }
.portal-profile-topics { margin: 0 0 14px; color: var(--violet-600); font: 500 clamp(18px, 1.7vw, 21px)/1.4 var(--font-sans); overflow-wrap: break-word; }
.portal-profile-person { margin: 0 0 10px; color: var(--brand-navy); font-size: 18px; font-weight: 600; }
.portal-profile-address { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--text-muted); font-size: 16px; }
.portal-profile-address svg { flex-shrink: 0; margin-top: 2px; color: var(--violet-600); }
.portal-profile-modes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.portal-profile-modes li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 20px; background: var(--green-100); color: var(--green-800); font-size: 14px; font-weight: 600; }
.portal-profile-modes svg { width: 17px; height: 17px; }
.portal-profile-card { padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.portal-profile-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 22px; line-height: 1.25; }
.portal-profile-card h2 svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--violet-600); }
.portal-profile-richtext { font-size: 17px; line-height: 1.7; color: var(--text); }
.portal-profile-richtext > :last-child { margin-bottom: 0; }
.portal-profile-richtext ul, .portal-profile-richtext ol { padding-left: 22px; }
.portal-profile-hours { list-style: none; margin: 0; padding: 0; }
.portal-profile-hours li { padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.portal-profile-hours li:first-child { border-top: 0; padding-top: 0; }
.portal-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portal-profile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.portal-profile-chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--brand-navy); font-size: 15px; }
.portal-profile-hint { margin: 14px 0 0; color: var(--text-muted); font-size: 14px; }
.portal-profile-note { margin: 4px 0 0; color: var(--text-muted); font-size: 14px; }
.portal-profile-contact { position: sticky; top: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.portal-profile-contact h2 { margin: 0 0 16px; font-size: 24px; }
.portal-profile-actions { display: grid; gap: 10px; }
.portal-profile-action { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--brand-navy); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.portal-profile-action > span:last-child { display: grid; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.portal-profile-action small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.portal-profile-action-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--violet-100); color: var(--brand-navy); }
.portal-profile-action:hover, .portal-profile-action:focus-visible { border-color: var(--violet-600); background: var(--violet-100); color: var(--brand-navy); }
.portal-profile-action:hover .portal-profile-action-icon { background: var(--surface); }
.portal-profile-action.is-primary { background: var(--action); border-color: var(--action); color: #fff; }
.portal-profile-action.is-primary small { color: #ffffffcc; }
.portal-profile-action.is-primary .portal-profile-action-icon { background: #ffffff26; color: #fff; }
.portal-profile-action.is-primary:hover, .portal-profile-action.is-primary:focus-visible { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
.portal-profile-contact-note { margin: 16px 0 0; font-size: 13px; color: var(--text-muted); }
.portal-profile-mobilebar { display: none; }
@media (max-width: 1023px) {
 .portal-profile-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 .portal-profile-contact { position: static; order: -1; }
 .portal-profile-layout > .portal-profile-main { order: 0; }
 .portal-profile-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
 .portal-profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
 .portal-profile .portal-profile-back > span { display: none; }
 .portal-profile-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 20px; text-align: left; }
 .portal-profile-photo { width: 96px; height: 96px; }
 .portal-profile-card, .portal-profile-contact { padding: 20px; }
 .portal-profile-actions { grid-template-columns: minmax(0, 1fr); }
 .portal-profile-mobilebar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px #11185f14; }
 .portal-profile-mobilebar a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 6px; font-weight: 600; text-decoration: none; }
 .portal-profile-mobilebar-secondary { padding: 0 18px; border: 1px solid var(--brand-navy); color: var(--brand-navy); }
 body:has(.portal-profile-mobilebar) { padding-bottom: 76px; }
}
.portal-profile-hero, .portal-profile-identity, .portal-profile-identity h1, .portal-profile-card, .portal-profile-contact { text-align: left; }
@media (max-width: 1023px) {
 .portal-profile-layout > .portal-profile-main { display: contents; }
 .portal-profile-hero { order: 0; }
 .portal-profile-contact { order: 1; }
 .portal-profile-main > :not(.portal-profile-hero) { order: 2; }
}
.portal-profile-hero, .portal-profile-contact, .portal-profile-card { margin: 0; }
/* Mobile start: headline, then the search right away; explanation follows below. */
@media (max-width: 640px) {
 .portal-home { gap: 0; padding-top: 22px; }
 .portal-home-copy { display: contents; }
 .portal-home-copy .directory-eyebrow { display: none; }
 .portal-home-copy h1 { order: 0; font-size: 36px; line-height: 1.1; margin: 0 0 10px; }
 .portal-home-copy .portal-home-note { order: 1; margin: 0 0 18px; font-size: 14px; }
 .portal-home > .portal-start-search { order: 2; }
 .portal-home-copy .portal-lead { order: 3; margin: 28px 0 0; font-size: 17px; }
 .portal-home-copy .portal-text-link { order: 4; justify-self: start; margin-top: 12px; }
 .portal-start-search .portal-search-label { display: none; }
 .portal-start-search h2 { font-size: 25px; }
 .portal-start-search > p { margin-bottom: 16px; }
 .portal-appointment-option > label { min-height: 66px; padding: 12px 14px; }
}
@media (max-width: 400px) { .portal-home-copy h1 { font-size: 32px; } }
.portal-profile-card h2 svg { width: 20px; height: 20px; transform: translateY(-0.13em); }
.portal-profile-modes svg { transform: translateY(-1.5px); }
.portal-account-warning { margin: 0 0 20px; padding: 16px 20px; border-left: 3px solid #b3561a; background: #fbefe4; color: #4a2a12; border-radius: 0 6px 6px 0; font-size: 16px; }
.portal-account-warning strong { color: #7a3a10; }
.portal-account-warning a { display: inline-flex; gap: 6px; margin-left: 4px; color: #7a3a10; font-weight: 600; }
/* Not yet filled profile areas: visible, calm, clearly optional. */
.portal-profile-card.is-empty { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.portal-profile-card.is-empty h2 { color: var(--text-muted); font-size: 20px; margin-bottom: 8px; }
.portal-profile-card.is-empty h2 svg { color: var(--text-muted); }
.portal-profile-empty { margin: 0; color: var(--text-muted); font-size: 15px; }
/* Optical alignment: menu text centred on the x-height of the larger wordmark. */
.portal-primary-links a, .portal-account-links a { position: relative; }
@media (min-width: 1100px) { .portal-primary-links a, .portal-account-links a { top: -4px; } }
@media (min-width: 1024px) and (max-width: 1099px) { .portal-primary-links a, .portal-account-links a { top: -3px; } }
@media (min-width: 641px) and (max-width: 1023px) { .portal-primary-links a, .portal-account-links a { top: -2px; } }
