@charset "UTF-8";

/* Approved contact design, isolated from the shared site header and footer. */
.contact-page,
.contact-page-header,
.contact-page-breadcrumb,
.contact-page-cta {
    --green: #0eb769;
    --green-dark: #087744;
    --ink: #3c3c3c;
    --text: #6f6f6f;
    --soft: #eef4f1;
    --paper: #f7f8f3;
    --line: #dfe8e2;
    --amber: #edba39;
}

.container.contact-page,
.contact-page-header .container,
.contact-page-breadcrumb .container,
.contact-page-cta .container {
    width: min(1170px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.container.contact-page::before,
.container.contact-page::after,
.contact-page-header .container::before,
.contact-page-header .container::after,
.contact-page-breadcrumb .container::before,
.contact-page-breadcrumb .container::after,
.contact-page-cta .container::before,
.contact-page-cta .container::after,
.contact-page-cta .row::before,
.contact-page-cta .row::after {
    content: none;
    display: none;
}

.contact-page {
    padding-top: 48px;
    padding-bottom: 60px;
    font: 15px/1.6 'Roboto', 'Roboto Fallback', sans-serif;
    color: var(--text);
}

.contact-page,
.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-family: inherit;
    font-weight: 400;
}

.contact-page h1 { font-size: 30px; line-height: 42px; }
.contact-page h2 { font-size: 22px; line-height: 32px; }
.contact-page h3 { font-size: 18px; line-height: 26px; }
.contact-page p { margin: 0; }
.contact-page strong { font-weight: 500; }
.contact-page address { margin: 0; font-style: normal; }
.contact-page dl,
.contact-page dt,
.contact-page dd { margin: 0; padding: 0; line-height: inherit; }

.contact-page a,
.contact-page-breadcrumb a {
    color: var(--green-dark);
    text-decoration: none;
}

.contact-page a { transition: none; }
.contact-page a:hover,
.contact-page-breadcrumb a:hover { color: #025b31; }
.contact-page button { font: inherit; cursor: pointer; }
.contact-page a,
.contact-page button { -webkit-tap-highlight-color: #d0ebdb; }

.contact-page :focus-visible,
.contact-page-breadcrumb a:focus-visible,
.contact-page-cta a:focus-visible {
    outline: 3px solid var(--green-dark);
    outline-offset: 4px;
}

.contact-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The existing banner and breadcrumb receive contact-only spacing. */
.contact-page-header { background: var(--green); }
.contact-page-header .page-caption { padding: 38px 0 42px; }
.contact-page-header .page-title {
    margin: 0;
    color: #fff;
    font-size: 40px;
    line-height: 50px;
    font-weight: 400;
    letter-spacing: -1px;
}

.contact-page-breadcrumb { background: var(--soft); }
.contact-page-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    font-size: 12px;
    text-transform: uppercase;
}
.contact-page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}
.contact-page-breadcrumb svg { fill: var(--green); stroke: none; }
.contact-page-breadcrumb span:first-of-type { color: #bdc8c0; }

.contact-page .contact-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.contact-page .lead {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #6a746e;
}
.contact-page .address-divider { padding: 0 5px; color: #9faea4; }
.contact-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .15s;
}
.contact-page .button svg { width: 19px; height: 19px; }
.contact-page .button-primary { background: var(--green); color: #fff; }
.contact-page .button-primary:hover { background: #019852; color: #fff; }

.contact-page .entrance-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 24px;
    background: var(--soft);
    color: #445c4d;
}
.contact-page .door-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    color: var(--green-dark);
}
.contact-page .entrance-note p { flex: 1; }
.contact-page .entrance-note strong { display: block; color: #375443; font-size: 16px; }
.contact-page .entrance-note p span { display: block; margin-top: 2px; }
.contact-page .text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--green-dark);
    font-weight: 500;
    white-space: nowrap;
}
.contact-page .text-link span { font-size: 20px; line-height: 1; }
.contact-page .text-link:hover { text-decoration: underline; }

.contact-page .map-journey {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    margin-top: 32px;
}
.contact-page .map-step {
    min-width: 0;
    scroll-margin-top: var(--contact-scroll-offset, 128px);
}
.contact-page .map-step:focus:not(:focus-visible) { outline: none; }
.contact-page .step-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    margin-bottom: 16px;
}
.contact-page .step-number {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #b8d8c6;
    border-radius: 50%;
    color: var(--green-dark);
    font-size: 22px;
}
.contact-page .step-eyebrow {
    color: #78867c;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}
.contact-page .step-next { margin-left: auto; padding: 0 8px; font-size: 28px; color: #9cb3a5; }
.contact-page .step-badge {
    margin-left: auto;
    padding: 5px 10px;
    background: var(--soft);
    color: #536958;
    font-size: 12px;
    line-height: 18px;
}
.contact-page .map-figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.contact-page .map-link,
.contact-page .map-detail {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--paper);
}
.contact-page .map-link:focus-visible { outline-offset: 0; outline-width: 4px; z-index: 1; }
.contact-page .map-image { display: block; width: 100%; height: auto; }
.contact-page .map-action {
    display: inline-flex;
    position: absolute;
    bottom: 16px;
    right: 16px;
    align-items: center;
    gap: 20px;
    padding: 9px 13px;
    border: 1px solid #dfe8e2;
    background: #fdfefd;
    color: var(--green-dark);
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    transition: background .15s;
}
.contact-page .map-link:hover .map-action { background: var(--soft); }
.contact-page .map-action span { font-size: 19px; }
.contact-page .map-figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
}
.contact-page .map-figure figcaption strong { display: block; color: #435648; font-size: 15px; }
.contact-page .map-figure figcaption > span > span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 21px;
}
.contact-page .map-figure figcaption .text-link { font-size: 13px; }
.contact-page .map-legend {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    color: #657569;
    font-size: 12px;
    line-height: 20px;
}
.contact-page .map-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.contact-page .map-legend i { display: block; }
.contact-page .legend-building { width: 12px; height: 12px; border: 1px solid #187b4c; background: var(--green); }
.contact-page .legend-route { width: 24px; height: 5px; background: var(--amber); }
.contact-page .map-legend .legend-caption {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-left: auto;
    color: #74867a;
}

/* JavaScript reveals these controls only after its listeners are ready. */
.contact-page .enlarge-map { display: none; }
.contact-page.is-enhanced .enlarge-map { display: inline-flex; }
.contact-page .enlarged-map {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--paper);
    scroll-margin-top: var(--contact-scroll-offset, 128px);
}
.contact-page .enlarged-map[hidden] { display: none; }
.contact-page .enlarged-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-page .enlarged-canvas > img { display: block; width: min(100%, 1000px); height: auto; margin: auto; }
.contact-page .pan-help { display: none; }
.contact-page .map-step.is-highlighted .map-figure { animation: contact-map-highlight 1.4s ease-out; }

.contact-page .travel-info { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.contact-page .travel-info > h2 { margin-bottom: 24px; }
.contact-page .travel-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.contact-page .travel-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-page .travel-item > svg { width: 30px; height: 30px; flex: 0 0 30px; color: #72927f; }
.contact-page .travel-item h3 { margin-bottom: 8px; }
.contact-page .travel-item p { font-size: 14px; line-height: 24px; }
.contact-page .travel-item strong { font-weight: 500; color: #54635a; }
.contact-page .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 32px;
    font-size: 16px;
    font-weight: 500;
}
.contact-page .contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding: 32px 36px;
    margin-top: 40px;
    background: var(--soft);
}
.contact-page .contact-details h2 { margin-bottom: 18px; }
.contact-page .contact-details address { font-style: normal; line-height: 25px; }
.contact-page .contact-details address strong { color: var(--ink); }
.contact-page .contact-links { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.contact-page .contact-links a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 32px; }
.contact-page .social-links { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.contact-page .social-links a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; }
.contact-page .hours dl { margin: 0; max-width: 340px; }
.contact-page .hours dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 3px 0; }
.contact-page .hours dt { font-weight: 400; }
.contact-page .hours dd { margin: 0; color: #4c5d52; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-page .hours .weekend { margin-top: 6px; padding-top: 8px; border-top: 1px solid #d9e4dd; }
.contact-page .hours .weekend dd { color: #7a877e; }

/* Keep the shared CallToAction module, with its grid adapted to this design. */
.contact-page-cta {
    padding: 38px 0;
    background: var(--green);
    color: #fff;
    font-family: 'Roboto', 'Roboto Fallback', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
.contact-page-cta .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0;
}
.contact-page-cta .row > [class*='col-'] { float: none; width: auto; min-width: 0; padding: 0; }
.contact-page-cta .row > [class*='col-']:first-child { flex: 1; }
.contact-page-cta .row > [class*='col-']:last-child { flex: 0 0 auto; }
.contact-page-cta .cta-title {
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-size: 26px;
    line-height: 36px;
    font-weight: 400;
    letter-spacing: normal;
}
.contact-page-cta .cta-text { max-width: 670px; margin: 0; color: #f0fff7; font-size: 15px; line-height: 24px; }
.contact-page-cta .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin-top: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #09844a;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: .7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.contact-page-cta .btn-white:hover,
.contact-page-cta .btn-white:focus { background: #eaf6ee; color: #09844a; }

@keyframes contact-map-highlight {
    0%, 40% { outline: 3px solid var(--green); outline-offset: 3px; }
    100% { outline: 3px solid transparent; outline-offset: 6px; }
}

/* This stylesheet is loaded only on Kontakt; let the shared footer email wrap. */
.footer .contact-link { overflow-wrap: anywhere; }

@media (max-width: 1150px) {
    .contact-page .step-badge { font-size: 11px; }
    .contact-page .map-figure figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
    .contact-page .map-figure figcaption .text-link { min-height: 32px; }
    .contact-page .map-legend .legend-caption { margin-left: 0; }
}

@media (max-width: 991px) {
    .container.contact-page,
    .contact-page-header .container,
    .contact-page-breadcrumb .container,
    .contact-page-cta .container { width: calc(100% - 40px); }
    .contact-page .contact-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
    .contact-page .button-primary { min-height: 46px; }
    .contact-page .step-heading { gap: 10px; }
    .contact-page .step-badge { display: none; }
    .contact-page .map-journey { gap: 20px; }
    .contact-page .map-figure figcaption { padding: 12px; }
    .contact-page .map-action { bottom: 12px; right: 12px; gap: 10px; padding: 7px 9px; font-size: 11px; }
    .contact-page .travel-grid { gap: 20px; }
    .contact-page .travel-item { gap: 10px; }
    .contact-page .travel-item > svg { width: 24px; height: 24px; flex-basis: 24px; }
    .contact-page .travel-item p br { display: none; }
    .contact-page .contact-details { gap: 40px; padding: 28px; }
    .contact-page-cta .row { align-items: flex-start; flex-direction: column; gap: 22px; }
    .contact-page-cta .cta-title { font-size: 24px; }
}

@media (max-width: 650px) {
    .container.contact-page,
    .contact-page-header .container,
    .contact-page-breadcrumb .container,
    .contact-page-cta .container { width: calc(100% - 32px); }
    .contact-page-header .page-caption { padding: 24px 0 28px; }
    .contact-page-header .page-title { font-size: 36px; line-height: 44px; }
    .contact-page { padding-top: 32px; padding-bottom: 40px; font-size: 16px; }
    .contact-page h1 { font-size: 30px; line-height: 39px; }
    .contact-page .lead { max-width: 310px; font-size: 16px; line-height: 25px; }
    .contact-page .address-divider { padding: 0 3px; }
    .contact-page .contact-intro .button { width: 100%; }
    .contact-page .entrance-note { padding: 16px; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
    .contact-page .door-icon { width: 28px; height: 28px; flex-basis: 28px; align-self: flex-start; margin-top: 2px; }
    .contact-page .entrance-note p { flex-basis: calc(100% - 40px); font-size: 14px; line-height: 23px; }
    .contact-page .entrance-note strong { font-size: 16px; line-height: 25px; }
    .contact-page .entrance-note .text-link { margin-left: 40px; font-size: 14px; min-height: 44px; }
    .contact-page .map-journey { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
    .contact-page .step-heading { margin-bottom: 12px; gap: 12px; min-height: 58px; }
    .contact-page .step-next { transform: rotate(90deg); font-size: 25px; }
    .contact-page .step-eyebrow { font-size: 11px; }
    .contact-page .step-badge { display: block; font-size: 11px; max-width: 90px; text-align: center; padding: 4px 8px; }
    .contact-page .map-action { font-size: 11px; bottom: 12px; right: 12px; }
    .contact-page .map-figure figcaption { padding: 12px 14px; flex-direction: row; align-items: center; gap: 6px; }
    .contact-page .map-figure figcaption > span > span { font-size: 12px; line-height: 19px; }
    .contact-page .map-figure figcaption strong { font-size: 14px; }
    .contact-page .map-figure figcaption .text-link { font-size: 12px; white-space: normal; max-width: 112px; min-height: 44px; gap: 7px; }
    .contact-page .map-figure figcaption .text-link span { font-size: 18px; }
    .contact-page .map-legend { gap: 14px; font-size: 11px; flex-wrap: wrap; margin-top: 18px; }
    .contact-page .map-legend .legend-caption { flex-basis: 100%; font-size: 11px; min-height: 24px; }
    .contact-page .map-detail .map-image { aspect-ratio: 500 / 425; object-fit: contain; }
    .contact-page .enlarged-map { padding: 14px; }
    .contact-page .enlarged-heading { align-items: flex-start; gap: 8px; }
    .contact-page .enlarged-heading h2 { font-size: 20px; line-height: 28px; }
    .contact-page .enlarged-heading button { font-size: 12px; white-space: normal; }
    .contact-page .enlarged-canvas > img { width: 720px; max-width: none; }
    .contact-page .enlarged-canvas { overflow: auto; overscroll-behavior-x: contain; }
    .contact-page .pan-help { display: block; font-size: 13px; margin-bottom: 12px; }
    .contact-page .travel-info { margin-top: 28px; padding-top: 28px; }
    .contact-page .travel-info > h2 { margin-bottom: 20px; }
    .contact-page .travel-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-page .travel-item { gap: 14px; }
    .contact-page .travel-item > svg { width: 28px; height: 28px; flex-basis: 28px; }
    .contact-page .travel-item p { font-size: 15px; line-height: 25px; }
    .contact-page .travel-item h3 { margin-bottom: 5px; }
    .contact-page .phone-link { min-height: 44px; }
    .contact-page .contact-details { grid-template-columns: 1fr; padding: 24px; gap: 30px; margin-top: 32px; }
    .contact-page .contact-details h2 { margin-bottom: 14px; }
    .contact-page .contact-links a,
    .contact-page .social-links a { min-height: 44px; }
    .contact-page .contact-links { gap: 0; }
    .contact-page .social-links { gap: 16px; margin-top: 8px; }
    .contact-page .hours dl { max-width: none; font-size: 15px; }
    .contact-page .hours dl > div { padding: 5px 0; }
    .contact-page-cta { padding: 32px 0; }
    .contact-page-cta .row > [class*='col-'] { width: 100%; }
    .contact-page-cta .cta-title { font-size: 24px; line-height: 33px; }
    .contact-page-cta .cta-text { font-size: 15px; line-height: 25px; }
    .contact-page-cta .btn-white { width: 100%; font-size: 12px; }
}

@media (max-width: 360px) {
    .contact-page .map-figure figcaption { align-items: flex-start; flex-direction: column; }
    .contact-page .map-figure figcaption .text-link { max-width: none; min-height: 36px; }
    .contact-page .step-badge { display: none; }
    .contact-page .contact-details { padding: 20px; }
    .contact-page .step-heading h2 { font-size: 21px; }
    .contact-page .map-legend { gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after,
    .contact-page-cta a {
        animation: none !important;
        transition: none !important;
    }
}
