/* Layout additions only; Version_100 components supply typography, colors and surfaces. */
.contact-lead { max-width: 70ch; margin-top: 24px; }
.contact-copy { max-width: 70ch; }
.contact-appointment h2 + p { margin-top: 20px; }
.contact-appointment .team-phone { margin-top: 26px; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.contact-details dt { font-weight: 600; margin-bottom: 12px; }
.contact-details dd { margin: 0; }
.contact-details .text-action { margin: 0; min-height: 44px; }
.privacy-note { max-width: 70ch; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.contact-arrival address { font-style: normal; margin-top: 24px; max-width: 34ch; }
.street-view { margin: 0; align-self: center; }
.street-view img { width: 100%; height: auto; border-radius: 12px; }
.arrival-parking { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; border-top: 1px solid var(--line); padding-top: 28px; }
.contact-related h2 { margin-bottom: 28px; }
.contact-related .praxis-link { max-width: 70ch; }
section[id] { scroll-margin-top: 120px; }
@media (max-width: 850px) {
  .contact-details { grid-template-columns: 1fr; gap: 20px; }
  .contact-details > div + div { border-top: 1px solid var(--line); padding-top: 20px; }
  .arrival-parking { grid-template-columns: 1fr; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Gezielte Detailpflege: Kontakt und Anfahrt, 24.10.2026. */
.contact-copy .contact-lead { margin: 0 0 24px; }
body[data-page="kontakt-anfahrt"] .contact-modern { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; padding-block: 64px; }
.contact-modern h2, .arrival-refined h2 { color: #22271f !important; }
.contact-heading p { margin-top: 16px; color: #55604b; }
.contact-methods dl { margin: 0; }
.contact-methods dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: center; gap: 24px; padding: 23px 0; border-bottom: 1px solid #d4ddcb; }
.contact-methods dl > div:first-child { padding-top: 0; }
.contact-methods dt { color: #55604b; font-size: 15px; }
.contact-methods dd { margin: 0; min-width: 0; }
.contact-methods dd a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; font-size: clamp(18px,1.6vw,24px); font-weight: 600; text-decoration: none; }
.contact-methods dd a span { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #b4c2a6; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-methods dd svg, .maps-action > svg:last-child { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease-out; }
.contact-methods dd a:hover svg { transform: translateX(5px); }
.contact-methods dd a:hover { color: #526b30; }
.contact-methods .fax-row { border-bottom: 0; padding-bottom: 0; }
.contact-methods .privacy-note { margin-top: 30px; padding-top: 20px; color: #55604b; font-size: 14px; line-height: 1.7; }
body[data-page="kontakt-anfahrt"] .arrival-refined { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 56px; padding-block: 58px; background: linear-gradient(110deg,#f7f9f3,#fff 48%,#f0f5e8); }
.arrival-heading { grid-column: 1 / -1; }
.arrival-refined .street-view { align-self: start; position: relative; }
.arrival-refined .street-view img { display: block; width: 100%; height: auto; border-radius: 12px; }
.arrival-refined figcaption { margin-top: 10px; font-size: 12px; color: #55604b; }
.arrival-refined address { margin: 0; max-width: none; }
.arrival-refined address strong { display: block; font-size: 18px; line-height: 1.5; }
.arrival-refined address span { display: block; margin-top: 16px; }
.maps-action { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 16px 20px; margin-top: 26px; border: 1px solid #b7c7a5; border-radius: 12px; color: #26351f; background: #fff; font-weight: 600; text-decoration: none; transition: background .2s,transform .2s,box-shadow .2s; }
.maps-action .maps-logo { width: 24px; height: 34px; flex: 0 0 24px; stroke: none; }
.maps-action:hover { background: #edf3e3; transform: translateY(-2px); box-shadow: 0 8px 20px #34432a12; }
.maps-note { font-size: 12px; color: #55604b; margin-top: 9px; }
.arrival-refined .arrival-parking { display: block; margin-top: 28px; padding-top: 22px; }
.arrival-refined .arrival-parking h3 { margin-bottom: 12px; }
.arrival-refined .arrival-parking p { font-size: 15px; margin: 8px 0 0; }
@media(max-width: 1000px) { body[data-page="kontakt-anfahrt"] .contact-modern { gap: 36px; grid-template-columns: .6fr 1.4fr; } body[data-page="kontakt-anfahrt"] .arrival-refined { gap: 28px; grid-template-columns: 1fr 1fr; } .maps-action { gap: 10px; padding: 14px; font-size: 14px; } }
@media(max-width: 850px) { body[data-page="kontakt-anfahrt"] .contact-modern, body[data-page="kontakt-anfahrt"] .arrival-refined { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; } .contact-methods dl > div { grid-template-columns: 78px minmax(0,1fr); gap: 12px; } .maps-action { font-size: 16px; } }
@media(max-width: 400px) { .contact-methods dl > div { grid-template-columns: 1fr; gap: 4px; } .maps-action { width: 100%; font-size: 14px; } }
@media(prefers-reduced-motion: reduce) { .contact-methods dd svg,.maps-action { transition: none; } .maps-action:hover,.contact-methods dd a:hover svg { transform: none; } }

/* Identischer Anrufbutton aus dem bestaetigten Kostenfavoriten. */
body[data-page="kontakt-anfahrt"] .costs-phone {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  min-height: 82px;
  max-width: 100%;
  background: linear-gradient(125deg, #526744 0%, #35482d 58%, #273921 100%);
  box-shadow: 0 7px 18px #27392120;
  transition: transform .18s ease-out, box-shadow .18s ease-out;
}
.costs-phone .phone-label { display: grid; gap: 3px; text-align: left; }
.costs-phone .phone-label strong { font-size: 18px; line-height: 1.4; font-weight: 650; }
.costs-phone .phone-label small { font-size: 15px; line-height: 1.5; font-weight: 500; }
.costs-phone > svg:last-child { width: 20px; }
body[data-page="kontakt-anfahrt"] .costs-phone:hover {
  background: linear-gradient(125deg, #465b39, #2e4027 58%, #22331d);
  box-shadow: 0 10px 24px #27392126;
  transform: translateY(-2px);
}
body[data-page="kontakt-anfahrt"] .costs-phone:active { transform: translateY(0); }
@media (max-width: 650px) {
  body[data-page="kontakt-anfahrt"] #kosten > .section-head { padding-top: 32px; }
  body[data-page="kontakt-anfahrt"] .costs-phone { gap: 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="kontakt-anfahrt"] .costs-phone { transition: none; transform: none; }
}
/* Kontaktzeilen mit konsistenten Linienicons. */
.contact-methods dl > div { grid-template-columns: 145px minmax(0,1fr); gap: 22px; padding: 23px 16px; }
.contact-methods dl > div:first-child { padding-top: 16px; background: linear-gradient(100deg,#f0f5e7,#fff); border-radius: 12px 12px 0 0; }
.contact-methods dt { display: flex; align-items: center; gap: 14px; color: #34432b; font-weight: 500; }
.method-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #edf3e3; flex-shrink: 0; }
.method-icon svg { width: 23px; height: 23px; fill: none; stroke: #465b39; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-methods .fax-row { padding-bottom: 12px; }
.contact-methods .privacy-note { margin-top: 18px; }
.arrival-visual { min-width: 0; }
.location-preview { perspective: 1000px; margin-top: 24px; }
.expand-map { background: linear-gradient(135deg,#fff,#f9fbf6); border: 1px solid #d5dfc9; border-radius: 16px; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .25s ease-out,box-shadow .25s ease-out; overflow: hidden; }
.expand-map:hover { box-shadow: 0 10px 24px #35432d0d; }
.expand-map summary { display: block; padding: 22px 24px; cursor: pointer; list-style: none; }
.expand-map summary::-webkit-details-marker { display: none; }
.expand-map summary:focus-visible { outline: 3px solid #526b30; outline-offset: -4px; border-radius: 14px; }
.expand-map summary svg { width: 22px; height: 22px; fill: none; stroke: #526b30; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #465b39; }
.map-toggle { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #edf3e3; font-size: 24px; transition: transform .3s; }
.map-bottom { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: 22px; }
.map-bottom strong { display: block; font-size: 20px; color: #22271f; }
.map-bottom small { display: block; font-size: 13px; margin-top: 5px; color: #55604b; }
.map-hint { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #465b39; white-space: nowrap; }
.when-open { display: none; }
.expand-map[open] .when-open { display: inline; }
.expand-map[open] .when-closed { display: none; }
.expand-map[open] .map-toggle { transform: rotate(45deg); }
.expand-map[open] .map-hint svg { transform: rotate(180deg); }
.location-drawing { display: block; width: 100%; height: auto; }
.map-caption { font-size: 12px; color: #55604b; padding: 12px 24px; margin: 0; }
.expand-map[open] .map-reveal { animation: map-unfold .4s cubic-bezier(.16,1,.3,1); transform-origin: top; }
.expand-map[open] .location-pin { animation: pin-arrive .5s cubic-bezier(.16,1,.3,1); }
@keyframes map-unfold { from { clip-path: inset(0 0 100%); opacity: .3; } to { clip-path: inset(0); opacity: 1; } }
@keyframes pin-arrive { from { transform: translateY(-14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media(max-width:1100px) { .contact-methods dl > div { grid-template-columns: 115px minmax(0,1fr); gap: 10px; padding-inline: 8px; } .contact-methods dt { gap: 8px; } .map-bottom { flex-direction: column; align-items: start; } }
@media(max-width:500px) { .contact-methods dl > div { grid-template-columns: 1fr; gap: 8px; padding-inline: 0; } .contact-methods dd { padding-left: 52px; } .contact-methods dd a { font-size: 17px; gap: 6px; } .expand-map summary { padding: 20px; } }
@media(prefers-reduced-motion:reduce) { .expand-map,.map-toggle { transition: none; transform: none !important; } .expand-map[open] .map-reveal,.expand-map[open] .location-pin { animation: none; } }
.costs-phone { font-variant-numeric: tabular-nums; }
.location-drawing { stroke: none; stroke-width: 0; }
/* Kompakte Komposition nach Browserfeedback: einheitliche Zeilen, Karte statt Foto. */
.contact-methods dl > div:first-child { background: transparent; border-radius: 0; }
body[data-page="kontakt-anfahrt"] .contact-modern { padding-block: 42px; }
body[data-page="kontakt-anfahrt"] .arrival-refined { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 24px 48px; padding-block: 40px; align-items: start; }
.arrival-visual { align-self: start; }
.location-preview { margin: 0; }
.expand-map { background: #f5f5f5; border: 1px solid #dedede; border-radius: 16px; }
.expand-map summary { position: relative; height: 310px; padding: 0; overflow: hidden; isolation: isolate; }
.expand-map summary .location-drawing { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; stroke-width: 0; }
.map-geography { transform-origin: 50% 50%; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.expand-map[open] .map-geography { transform: scale(1.25); }
.expand-map[open] .location-pin { animation: none; }
.expand-map .map-toggle { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; background: #ffffffd9; border: 1px solid #dedede; border-radius: 9px; }
.expand-map .map-toggle svg { width: 18px; height: 18px; stroke: #555; }
.expand-map[open] .map-toggle { transform: none; }
.expand-map .map-bottom { position: absolute; inset: auto 24px 20px; margin: 0; display: flex; flex-direction: row; align-items: end; padding-bottom: 12px; border-bottom: 1px solid #29c99855; }
.expand-map .map-bottom strong { font-size: 18px; color: #202124; }
.expand-map .map-bottom small { font-size: 12px; color: #5f6368; }
.expand-map .map-hint { color: #4a4f54; font-size: 12px; }
.expand-map .map-reveal { padding: 12px 24px; background: #fff; border-top: 1px solid #e3e3e3; }
.expand-map .map-reveal p { margin: 0; font-size: 12px; color: #5f6368; }
.location-preview .map-caption { margin: 8px 0 0; padding: 0; font-size: 11px; color: #60665b; }
.arrival-refined address strong { font-size: 17px; }
.arrival-refined address span { margin-top: 10px; }
.arrival-refined .maps-action { margin-top: 18px; }
.arrival-refined .arrival-parking { margin-top: 18px; padding-top: 16px; }
.arrival-refined .arrival-parking h3 { margin-bottom: 8px; }
@media(max-width:850px) { body[data-page="kontakt-anfahrt"] .arrival-refined { grid-template-columns: 1fr; gap: 22px; padding-block: 32px; } .arrival-information { grid-row: 2; } .arrival-visual { grid-row: 3; } .expand-map summary { height: 260px; } }
@media(max-width:500px) { .expand-map .map-bottom { inset-inline: 18px; flex-direction: column; align-items: start; gap: 10px; } body[data-page="kontakt-anfahrt"] .contact-modern { padding-block: 32px; } }
@media(prefers-reduced-motion:reduce) { .map-geography { transition: none; } }
/* Geografische Dunkelkarte: gemeinsame Gestaltung für beide Varianten. */
.light-map .expand-map { background: #344b60; border-color: #30475b; }
.light-map .expand-map summary { height: 380px; }
.light-map .expand-map summary .geographic-map { height: 100%; width: 100%; }
.light-map .map-geography { transform-box: view-box; transform-origin: 50% 42%; }
.light-map .expand-map .map-toggle { background: #172f40; border-color: #617488; }
.light-map .expand-map .map-toggle svg { stroke: #e4ecf2; }
.light-map .expand-map .map-bottom { background: #1d3348f2; border: 0; border-radius: 10px; padding: 12px 16px; inset: auto 14px 14px; }
.light-map .expand-map .map-bottom strong { color: #fff; font-size: 15px; }
.light-map .expand-map .map-bottom small { color: #c1cfdc; font-size: 12px; }
.light-map .expand-map .map-hint { color: #d8e8f5; }
.light-map .expand-map .map-reveal { background: #20384c; border-top-color: #50687b; }
.light-map .expand-map .map-reveal p { color: #e0e8ef; }
.light-map .expand-map summary:focus-visible { outline-color: #f1a0a6; }
.light-map .location-pin { animation: none !important; }
.light-map .map-caption { color: #55604b; }
@media(max-width:500px) { .light-map .expand-map summary { height: 330px; } .light-map .expand-map .map-bottom { gap: 5px; } }
.light-map .map-north-decoration { display: none; }
/* Helle Kartenpalette; Geometrie und Bedienung unverändert. */
.light-map .expand-map { background: #f4f2ed; border-color: #d9ded4; }
.light-map .expand-map .map-toggle { background: #fffffff2; border-color: #d9ded4; }
.light-map .expand-map .map-toggle svg { stroke: #455766; }
.light-map .expand-map .map-bottom { background: #fffffff2; }
.light-map .expand-map .map-bottom strong { color: #263440; }
.light-map .expand-map .map-bottom small { color: #536372; }
.light-map .expand-map .map-hint { color: #365b77; }
.light-map .expand-map .map-reveal { background: #fff; border-top-color: #d9ded4; }
.light-map .expand-map .map-reveal p { color: #536372; }
.light-map .expand-map summary:focus-visible { outline-color: #526b30; }
/* Gemeinsamer Feinschliff beider Varianten. */
body[data-page="kontakt-anfahrt"] main .light-map .expand-map .map-bottom {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  text-shadow: 0 1px 2px #fff, 0 0 5px #ffffffcc;
}
body[data-page="kontakt-anfahrt"] main .maps-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 18px 12px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(115deg,#e2ebd1 0%,#f0f5e7 65%,#e8efdc 100%);
  color: #293b22;
  box-shadow: 0 5px 14px #2c402014;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: transform .18s ease-out,box-shadow .18s ease-out,background .18s ease-out;
}
body[data-page="kontakt-anfahrt"] main .maps-action .maps-logo {
  box-sizing: content-box;
  width: 20px;
  height: 28px;
  padding: 9px 13px;
  flex: 0 0 20px;
  background: #ffffffeb;
  border-radius: 10px;
}
body[data-page="kontakt-anfahrt"] main .maps-action > svg:last-child {
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: transform .18s ease-out;
}
body[data-page="kontakt-anfahrt"] main .maps-action:hover {
  background: linear-gradient(115deg,#d8e4c2,#e9f1dc 65%,#dfebce);
  box-shadow: 0 8px 20px #2c402021;
  transform: translateY(-2px);
}
body[data-page="kontakt-anfahrt"] main .maps-action:hover > svg:last-child { transform: translateX(3px); }
body[data-page="kontakt-anfahrt"] main .maps-action:active { transform: translateY(0); box-shadow: 0 2px 6px #2c402014; }
body[data-page="kontakt-anfahrt"] main .maps-action:focus-visible { outline: 3px solid #526b30; outline-offset: 4px; }
@media(max-width:450px) {
  body[data-page="kontakt-anfahrt"] main .maps-action { font-size: 14px; gap: 12px; padding-right: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-page="kontakt-anfahrt"] main .maps-action,
  body[data-page="kontakt-anfahrt"] main .maps-action > svg:last-child { transition: none; transform: none; }
}
