/* Contact page only: shared header, other routes and consultation form stay untouched. */
.contact-showcase{background:#fff;color:#2b2b2b}
.contact-scene{position:relative;height:350px;overflow:hidden;background:#fff}
.contact-scene-photo{position:absolute;right:0;width:auto;max-width:none;height:100%;object-fit:contain;object-position:center;mask-image:linear-gradient(90deg,transparent,#000 24%)}
.contact-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.7) 30%,rgba(255,255,255,0) 52%);pointer-events:none}
.contact-scene-inner,.contact-showcase-inner{width:calc(100% - 6vw);max-width:1384px;margin-inline:auto}
.contact-scene-inner{height:100%;position:relative;z-index:1;display:flex;align-items:center}
.contact-scene-copy{width:42%;max-width:510px}
.contact-scene-copy h1{font-family:var(--heading-font);font-size:clamp(34px,3.2vw,46px);font-weight:400;line-height:1.12;margin:0 0 18px}
.contact-scene-copy p{font-size:clamp(16px,1.35vw,19px);line-height:1.6;margin:0;max-width:450px;color:#3d4140}
.contact-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:44px 0 46px}
.contact-team-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:18px;min-width:0;padding:0 28px}
.contact-team-card:first-child{padding-left:0}
.contact-team-card:last-child{padding-right:0}
.contact-team-card+.contact-team-card{border-left:1px solid #dededb}
.contact-showcase svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.contact-team-icon{width:38px;height:38px;color:#2b2b2b}
.contact-team-card h2{font-family:var(--heading-font);font-size:clamp(17px,1.4vw,20px);font-weight:400;line-height:1.35;letter-spacing:-.02em;margin:0 0 7px}
.contact-team-name{font-size:15px;color:#505452;margin:0}
.contact-team-links{display:flex;flex-direction:column;gap:12px;margin-top:30px}
.contact-team-links a{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.5;color:#363b39;text-decoration:none;overflow-wrap:anywhere}
.contact-team-links a svg{width:18px;height:18px;flex:0 0 18px}
.contact-team-links a:hover span{text-decoration:underline;text-underline-offset:3px}
.contact-scene-location{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:40px;padding:28px 36px;background:#f7f7f5}
.contact-location-summary{display:flex;align-items:flex-start;gap:24px}
.contact-location-summary>svg{width:38px;height:42px;flex-shrink:0}
.contact-location-summary h2{font-family:var(--heading-font);font-size:26px;font-weight:400;line-height:1.15;margin:0 0 8px}
.contact-location-summary p{margin:0;color:#505452;font-size:17px}
.contact-directions{display:inline-flex;align-items:center;gap:36px;border:1px solid #2b2b2b;padding:11px 20px;margin-top:24px;font-size:14px;line-height:1.5}
.contact-directions:hover{background:#2b2b2b;color:#fff}
.contact-map-preview{min-width:0}
.contact-map-preview iframe{display:block;width:100%;height:180px;border:0;background:#eee}
.contact-map-preview>a{display:inline-block;margin-top:7px;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.contact-showcase-legal{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 0 38px;color:#626663;font-size:12px}
.contact-showcase-legal nav{display:flex;gap:24px}
.contact-showcase-legal a:hover{text-decoration:underline}
/* Keep the complete contact overview visible in the desktop preview. */
@media(min-width:991px){
  .contact-scene{height:clamp(230px,33dvh,320px)}
  .contact-scene-copy{width:50%;max-width:600px}
  .contact-scene-copy p{font-size:16px;line-height:1.7;max-width:none}
  .contact-scene-copy p>span{display:block}
  .contact-showcase-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);column-gap:clamp(32px,5vw,72px);align-items:start;padding-top:36px}
  .contact-team-grid{grid-template-columns:1fr;padding:12px 24px;background:#f8f8f6}
  .contact-team-card,.contact-team-card:first-child,.contact-team-card:last-child{position:relative;padding:24px 0;gap:20px}
  .contact-team-card:first-child{padding-top:12px}
  .contact-team-card+.contact-team-card{border-left:0;border-top:0}
  .contact-team-card+.contact-team-card::before{content:"";position:absolute;top:0;left:58px;right:8%;height:1px;background:#ecece9}
  .contact-team-icon{width:25px;height:25px;margin-top:3px;color:#505452;stroke-width:1.7}
  .contact-team-card>div{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:24px;align-items:start}
  .contact-team-card h2{grid-column:1;grid-row:1;font-weight:500;color:#292b2a}
  .contact-team-name{grid-column:1;grid-row:2;color:#686b69;font-size:14px}
  .contact-team-links{grid-column:2;grid-row:1 / span 2;margin-top:0;gap:10px;align-self:center}
  .contact-scene-location{grid-template-columns:1fr;gap:22px;margin:0;padding:12px 26px 26px;background:transparent;border:1px solid #6e9c99}
  .contact-location-summary{gap:16px}
  .contact-location-summary>svg{width:23px;height:28px;color:#505452}
  .contact-location-summary h2{font-size:23px}
  .contact-directions{margin-top:18px;gap:22px;border-color:#6e9c99;color:#2b2b2b}
  .contact-directions:hover{background:#edf3f2;color:#2b2b2b}
  .contact-map-preview{width:100%;max-width:none}
  .contact-map-preview iframe{height:110px;border:1px solid #e5e5e2}
  .contact-showcase-legal{grid-column:1/-1;margin-top:24px;padding:20px 0 24px;border-top:1px solid #e5e5e2}
}
@media(max-width:990px){
  .contact-scene{height:330px}
  .contact-team-card{padding-inline:16px;grid-template-columns:28px minmax(0,1fr);gap:12px}
  .contact-team-icon{width:28px;height:28px}
  .contact-team-links a{font-size:13px;gap:8px}
}
@media(min-width:991px) and (max-height:800px){
  .contact-scene{height:230px}
  .contact-showcase-inner{padding-top:28px}
  .contact-team-card,.contact-team-card:first-child,.contact-team-card:last-child{padding:20px 0}
  .contact-team-links{margin-top:0}
  .contact-map-preview iframe{height:100px}
  .contact-showcase-legal{padding:16px 0 20px}
}
/* Safe stacking only; the detailed mobile design review follows separately. */
.beratung-scene{display:none}
@media(min-width:991px){
  .consultation-page .beratung-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;max-width:none;gap:clamp(32px,4vw,64px);align-items:start}
  .consultation-page .beratung-form{border-top:0;padding-top:0}
  .consultation-page .beratung-scene{display:block;height:auto;background:#fff}
  .beratung-scene img{display:block;width:100%;aspect-ratio:1.8;object-fit:cover;object-position:right center}
  .beratung-scene-copy{padding-top:20px}
  .beratung-scene-copy h2{font-family:var(--heading-font);font-size:21px;font-weight:400;line-height:1.3;margin:0 0 10px}
  .beratung-scene-copy p{font-size:15px;line-height:1.6;color:#505452;margin:0 0 8px}
}
@media(max-width:760px){
  .contact-scene{height:auto;padding-top:24px}
  .contact-scene-inner{height:auto;display:block}
  .contact-scene-copy{width:100%;max-width:none;padding-bottom:20px}
  .contact-scene-copy h1{font-size:32px;margin-bottom:10px}
  .contact-scene-copy p{font-size:16px}
  .contact-scene-photo{position:relative;width:100%;height:210px;object-position:76% center;object-fit:cover;order:2;mask-image:none}
  .contact-scene{display:flex;flex-direction:column}
  .contact-scene::after{display:none}
  .contact-team-grid{grid-template-columns:1fr;padding:10px 0 28px}
  .contact-team-card,.contact-team-card:first-child,.contact-team-card:last-child{padding:24px 0;grid-template-columns:32px minmax(0,1fr);gap:16px}
  .contact-team-card+.contact-team-card{border-left:0;border-top:1px solid #dededb}
  .contact-team-card h2{font-size:20px}
  .contact-team-links{margin-top:20px}
  .contact-team-links a{font-size:14px}
  .contact-scene-location{grid-template-columns:1fr;gap:22px;padding:24px}
  .contact-location-summary{gap:16px}
  .contact-showcase-legal{align-items:flex-start;flex-direction:column;gap:16px}
}
