:root{
  --red:#c90016;
  --red-dark:#9c0011;
  --ink:#151515;
  --muted:#5a5a5a;
  --line:#d9d9d9;
  --soft:#f5f5f5;
  --white:#fff;
  --max:1180px;
  --radius:2px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.6}
a{color:var(--red-dark);text-decoration-thickness:.09em;text-underline-offset:.17em}
a:hover{text-decoration-thickness:.14em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #005fcc;outline-offset:3px}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
.skip-link{position:absolute;left:1rem;top:-10rem;z-index:9999;background:#fff;color:#000;padding:.8rem 1rem;border:2px solid #000}.skip-link:focus{top:1rem}
.site-header{background:#fff;border-left:14px solid var(--red);position:relative;z-index:100}
.header-inner{max-width:1440px;margin:auto;min-height:104px;padding:18px 48px;display:flex;align-items:center;gap:32px}
.brand{display:flex;flex-direction:column;gap:3px;text-decoration:none;color:#111;min-width:0}
.brand-names{display:flex;flex-wrap:wrap;gap:.35rem .85rem;font-weight:800;text-transform:uppercase;font-size:1.05rem;letter-spacing:.01em}
.brand-names span{position:relative;padding-left:16px}.brand-names span::before{content:"";position:absolute;left:0;top:.42em;width:9px;height:9px;background:var(--red)}
.brand-subtitle{font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:#444;margin-left:16px}
.custom-logo{max-height:64px;width:auto}
.primary-nav{margin-left:auto}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px}.primary-nav li{position:relative}.primary-nav a{display:flex;min-height:44px;align-items:center;color:#111;text-decoration:none;font-size:.86rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-bottom:3px solid transparent}.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{border-bottom-color:var(--red)}
.primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;padding:8px;background:#fff;box-shadow:var(--shadow);border-top:3px solid var(--red)}.primary-nav li:focus-within>.sub-menu,.primary-nav li:hover>.sub-menu{display:block}.primary-nav .sub-menu a{font-size:.8rem;text-transform:none;letter-spacing:0;padding:6px 8px;border:0}
.nav-toggle{display:none;margin-left:auto;background:#fff;border:2px solid #111;min-width:48px;min-height:48px;padding:8px 10px;align-items:center;gap:10px}.nav-toggle-label{font-weight:700}.nav-toggle-bars span{display:block;width:22px;height:2px;background:#111;margin:4px 0}
.hero{position:relative;min-height:520px;color:#fff;display:flex;align-items:center;overflow:hidden}.hero-media{position:absolute;inset:0;background-image:url('../images/olten-1920.webp');background-size:cover;background-position:center 52%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.68) 30%,rgba(0,0,0,.12) 67%,rgba(0,0,0,.02) 100%)}.hero-inner{position:relative;width:min(var(--max),calc(100% - 64px));margin:0 auto;padding:70px 0}.eyebrow{display:block;width:54px;height:6px;background:var(--red);margin-bottom:22px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.15rem,4.3vw,4rem);line-height:1.08;max-width:790px;margin:0 0 24px;color:#fff;text-wrap:balance}.hero-contact{font-size:1.08rem;margin-bottom:28px}.hero-contact p{margin:.2rem 0}.hero-contact a{color:#fff}.hero-actions{display:flex;flex-wrap:wrap;gap:16px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 28px;border:2px solid currentColor;text-transform:uppercase;letter-spacing:.03em;font-size:.82rem;font-weight:800;text-decoration:none}.button-primary{background:var(--red);color:#fff;border-color:var(--red)}.button-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.button-secondary{background:rgba(0,0,0,.25);color:#fff;border-color:#fff}.button-secondary:hover{background:#fff;color:#111}
.section{padding:58px 24px}.section-inner,.content-shell{max-width:var(--max);margin-inline:auto}.content-shell{width:min(var(--max),calc(100% - 48px))}.content-shell.narrow{max-width:760px}.quicklinks h2{text-align:center;color:var(--red);text-transform:uppercase;font-size:1.15rem;letter-spacing:.035em;margin:0}.heading-accent{display:block;width:42px;height:5px;background:var(--red);margin:12px auto 32px}.quicklink-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.quicklink-card{min-width:0}.quicklink-card+ .quicklink-card{border-left:1px solid var(--line)}.quicklink-card a{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 28px;color:#151515;text-decoration:none}.quicklink-card a:hover{background:#fafafa}.quicklink-card a:focus-visible{outline-offset:-3px}.quicklink-icon{width:52px;height:52px;color:var(--red);margin-bottom:12px}.quicklink-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.quicklink-card h3{margin:0 0 10px;font-size:1rem}.quicklink-card p{margin:0;color:#333;font-size:.88rem}.quicklink-more{margin-top:auto;padding-top:16px;color:var(--red-dark);font-size:.83rem;font-weight:800}
.section-muted{background:var(--soft);border-top:1px solid #e8e8e8}.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.values-grid>div{padding:6px 30px}.values-grid>div+div{border-left:1px solid #d4d4d4}.values-grid strong{font-size:.92rem}.values-grid p{font-size:.84rem;color:#333;margin:.4rem 0 0}
.page-hero{background:#151515;color:#fff;padding:64px 24px}.page-hero .content-shell{width:min(var(--max),calc(100% - 48px))}.page-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.1;margin:0}.entry-content{font-size:1rem}.entry-content>*:first-child{margin-top:0}.entry-content h2{font-family:Georgia,'Times New Roman',serif;font-size:1.75rem;margin-top:2.3rem}.entry-content h3{font-size:1.15rem;margin-top:1.8rem}.entry-content ul,.entry-content ol{padding-left:1.4rem}.entry-content li{margin:.35rem 0}.entry-content table{width:100%;border-collapse:collapse}.entry-content th,.entry-content td{border:1px solid #bbb;padding:.7rem;text-align:left}.entry-content blockquote{margin:2rem 0;padding-left:1rem;border-left:5px solid var(--red)}.featured-image{margin:0 0 2rem}.wp-block-button__link{background:var(--red);border-radius:0;min-height:48px;display:inline-flex;align-items:center}.wp-block-button__link:hover{background:var(--red-dark)}
/* Bestehende Team-Seiten erhalten automatisch ein gut lesbares Profil-Layout. */
.page-child.parent-pageid-team .entry-content,.single .entry-content{max-width:920px}.entry-content img.alignleft{float:left;margin:0 2rem 1rem 0;max-width:300px}.entry-content::after{content:"";display:block;clear:both}
/* Karten/iframes: responsiv und mit klarer Begrenzung. */
.entry-content iframe{width:100%;max-width:100%;border:0;min-height:420px}
.site-footer{background:#151515;color:#fff;padding:48px 24px}.footer-inner{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.4fr 1fr;gap:18px 48px}.footer-brand{display:flex;flex-direction:column}.footer-brand strong{font-size:.9rem}.footer-brand span{font-size:.76rem;letter-spacing:.12em}.site-footer address{font-style:normal;font-size:.9rem}.site-footer a{color:#fff}.footer-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:16px}.copyright{font-size:.8rem;color:#ccc;margin:0}
.archive-item{padding:1.5rem 0;border-bottom:1px solid var(--line)}
@media (max-width:980px){
  .header-inner{padding:16px 24px;min-height:86px}.brand-names{font-size:.88rem}.brand-subtitle{font-size:.7rem}.nav-toggle{display:flex}.primary-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:#fff;border-top:1px solid #ddd;box-shadow:var(--shadow)}.primary-nav.is-open{display:block}.primary-nav ul{display:block;padding:10px 20px}.primary-nav a{padding:6px 0;min-height:48px}.primary-nav .sub-menu{display:block;position:static;box-shadow:none;border:0;padding:0 0 0 18px}.primary-nav .sub-menu a{min-height:40px}
  .quicklink-grid{grid-template-columns:repeat(2,1fr)}.quicklink-card:nth-child(3){border-left:0;border-top:1px solid var(--line)}.quicklink-card:nth-child(4){border-top:1px solid var(--line)}
  .values-grid{grid-template-columns:repeat(2,1fr)}.values-grid>div:nth-child(3){border-left:0;border-top:1px solid #d4d4d4}.values-grid>div:nth-child(4){border-top:1px solid #d4d4d4}
}
@media (max-width:640px){
  body{font-size:17px}.site-header{border-left-width:8px}.header-inner{padding:12px 14px}.brand-names{gap:.2rem .45rem}.brand-names span{padding-left:10px}.brand-names span::before{width:6px;height:6px}.brand-subtitle{display:none}.nav-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hero{min-height:570px}.hero-media{background-position:61% center}.hero-shade{background:rgba(0,0,0,.68)}.hero-inner{width:calc(100% - 36px);padding:54px 0}.hero h1{font-size:2.25rem}.hero-contact{font-size:.98rem}.hero-actions{display:grid}.button{width:100%}
  .section{padding:44px 18px}.content-shell{width:calc(100% - 36px)}.quicklink-grid{display:block;border:0}.quicklink-card{border:1px solid var(--line)!important;margin-bottom:12px}.quicklink-card a{padding:26px 20px}.values-grid{display:block}.values-grid>div{border:0!important;padding:18px 0}.values-grid>div+div{border-top:1px solid #d4d4d4!important}
  .page-hero{padding:48px 18px}.page-hero .content-shell{width:calc(100% - 36px)}.footer-inner{grid-template-columns:1fr}.entry-content img.alignleft{float:none;margin:0 0 1.5rem;max-width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{.site-header,.site-footer,.hero-actions,.nav-toggle{display:none!important}.hero{min-height:auto;color:#000}.hero-media,.hero-shade{display:none}.hero h1{color:#000}.page-hero{background:#fff;color:#000;padding:20px 0}.section{padding:20px 0}a{color:#000;text-decoration:underline}}

/* =========================================================
   Subpages: Team / Contact / Location
   ========================================================= */
.page-kicker{margin:0 0 8px;text-transform:uppercase;letter-spacing:.11em;font-size:.76rem;font-weight:800;color:#e8e8e8}
.page-intro{max-width:760px;margin:20px 0 0;color:#d6d6d6;font-size:1.03rem}
.page-hero--team,.page-hero--contact,.page-hero--location{position:relative;overflow:hidden;background:linear-gradient(112deg,#151515 0%,#202020 68%,#2b2b2b 100%)}
.page-hero--team::after,.page-hero--contact::after,.page-hero--location::after{content:"";position:absolute;right:-90px;top:-130px;width:420px;height:420px;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.page-hero--team .content-shell,.page-hero--contact .content-shell,.page-hero--location .content-shell{position:relative;z-index:1}
.section-compact{padding-bottom:16px}
.intro-content{max-width:900px}
.section-label{display:block;margin-bottom:11px;color:var(--red);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em}
.text-link{display:inline-flex;gap:.35rem;align-items:center;font-weight:800;text-decoration:none;color:var(--red-dark)}

/* Team */
.team-section{padding-top:34px}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.team-card{background:#fff;border:1px solid #e2e2e2;box-shadow:0 10px 28px rgba(0,0,0,.045);min-width:0}
.team-card__link{display:block;height:100%;color:var(--ink);text-decoration:none}
.team-card__media{aspect-ratio:4/4.65;background:#ececec;overflow:hidden;position:relative}
.team-card__media img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transition:transform .35s ease}
.team-card__link:hover .team-card__media img{transform:scale(1.025)}
.team-card__media--empty{display:grid;place-items:center;background:linear-gradient(145deg,#ededed,#d8d8d8)}
.team-card__initials{font-family:Georgia,'Times New Roman',serif;font-size:4rem;color:#777}
.team-card__body{padding:24px 24px 26px}
.team-card__bar{display:block;width:38px;height:4px;background:var(--red);margin-bottom:16px}
.team-card h2{font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;line-height:1.18;margin:0 0 6px}
.team-card__role{margin:0;color:#5d5d5d;font-size:.91rem;min-height:1.5em}
.team-card__more{display:block;margin-top:18px;color:var(--red-dark);font-size:.79rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.team-card__link:hover .team-card__more{text-decoration:underline;text-underline-offset:.22em}
.team-empty{max-width:760px;padding:30px;border-left:5px solid var(--red);background:var(--soft)}

/* Contact */
.contact-section{background:#f7f7f7}
.contact-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:38px;align-items:start}
.contact-panel,.contact-form-card{background:#fff;border:1px solid #e2e2e2;box-shadow:var(--shadow);padding:38px}
.contact-panel{border-top:5px solid var(--red)}
.contact-panel h2,.contact-form-card h2,.location-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.7rem,2.4vw,2.25rem);line-height:1.18;margin:0 0 28px}
.contact-details{display:grid;gap:0;margin:8px 0 28px}
.contact-detail{display:grid;grid-template-columns:46px 1fr;gap:15px;padding:18px 0;border-top:1px solid #e6e6e6}
.contact-detail:last-child{border-bottom:1px solid #e6e6e6}
.contact-detail__icon{width:38px;height:38px;color:var(--red)}
.contact-detail__icon svg,.arrival-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.contact-detail strong{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}
.contact-detail p{margin:3px 0 0;color:#444;font-size:.94rem}
.contact-detail a{color:#1d1d1d;text-decoration:none}.contact-detail a:hover{text-decoration:underline}
.contact-form-card{padding:38px 42px}
.contact-form-card .entry-content{font-size:.95rem}
.contact-form-card .wpcf7{margin-top:6px}
.contact-form-card .wpcf7-form p{margin:0 0 18px}
.contact-form-card .wpcf7-form label{display:block;font-size:.83rem;font-weight:800;letter-spacing:.025em;color:#222}
.contact-form-card .wpcf7-form-control-wrap{display:block;margin-top:6px}
.contact-form-card input[type="text"],.contact-form-card input[type="email"],.contact-form-card input[type="tel"],.contact-form-card input[type="url"],.contact-form-card input[type="number"],.contact-form-card select,.contact-form-card textarea{width:100%;border:1px solid #bdbdbd;border-radius:0;background:#fff;color:#111;padding:12px 13px;min-height:50px;box-shadow:none}
.contact-form-card textarea{min-height:160px;resize:vertical}
.contact-form-card input:focus,.contact-form-card select:focus,.contact-form-card textarea:focus{border-color:#555;outline:3px solid rgba(0,95,204,.18);outline-offset:0}
.contact-form-card input[type="submit"]{appearance:none;border:2px solid var(--red);border-radius:0;background:var(--red);color:#fff;min-height:52px;padding:12px 28px;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.contact-form-card input[type="submit"]:hover{background:var(--red-dark);border-color:var(--red-dark)}
.contact-form-card .wpcf7-not-valid-tip{font-size:.8rem;color:#a40013;margin-top:4px}
.contact-form-card .wpcf7-response-output{margin:22px 0 0!important;padding:12px 14px!important;border-width:0 0 0 4px!important;background:#f3f3f3}
.contact-privacy-note,.editor-note{font-size:.78rem;color:#666;margin:18px 0 0}
.editor-note{padding:12px 14px;background:#fff6d9;border-left:4px solid #e4af00}

/* Location */
.location-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:start}
.location-copy{padding:22px 6px 0 0}
.location-copy>p{color:#555;max-width:520px}
.button-darktext{margin-top:12px}
.map-card{background:#eee;box-shadow:var(--shadow);border:1px solid #ddd;min-height:590px;overflow:hidden}
.map-card--privacy{background:#f3f3f1}
.map-placeholder{position:relative;min-height:590px;display:flex;align-items:flex-end;overflow:hidden;background:#f5f4f1}
.location-schematic{position:absolute;inset:0;width:100%;height:100%;display:block}
.location-schematic__roads{vector-effect:non-scaling-stroke}
.location-schematic__city{font:700 27px/1.1 Arial,sans-serif;fill:#3f3f3f}
.location-schematic__river-label{font:600 18px/1 Arial,sans-serif;letter-spacing:.08em;fill:#5b8f9b}
.location-schematic__street{font:600 15px/1 Arial,sans-serif;fill:#77736d}
.location-schematic__station-label{font:700 18px/1 Arial,sans-serif;fill:#333}
.location-schematic__office-label{font:700 17px/1 Arial,sans-serif;fill:#222}
.location-schematic__office-sub{font:600 14px/1 Arial,sans-serif;fill:#777}
.map-placeholder__content{position:relative;z-index:3;width:calc(100% - 56px);margin:0 28px 28px;padding:30px 32px;background:rgba(255,255,255,.97);border-left:4px solid var(--red);box-shadow:0 12px 35px rgba(0,0,0,.12)}
.map-placeholder__content h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.55rem,2.1vw,2rem);line-height:1.2;margin:0 0 14px}
.map-placeholder__content p{max-width:650px;color:#4e4e4e;margin:0 0 15px}
.map-placeholder__address{font-size:1rem;color:#222!important}
.map-placeholder__content .button{margin-top:4px}
.arrival-grid{display:grid;gap:0;margin-top:42px;border-top:1px solid var(--line)}
.arrival-item{display:grid;grid-template-columns:52px 1fr;gap:17px;padding:22px 0;border-bottom:1px solid var(--line)}
.arrival-icon{width:42px;height:42px;color:var(--red)}
.arrival-item h3{margin:0 0 5px;font-size:1rem}
.arrival-item p{margin:0;color:#555;font-size:.88rem}
.location-editor-section{padding-top:46px;padding-bottom:46px}

@media (max-width:980px){
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-layout,.location-layout{grid-template-columns:1fr}
  .contact-panel,.contact-form-card{padding:32px}
  .location-copy{padding-right:0}
  .map-card,.map-placeholder{min-height:480px}
  .map-placeholder__content{width:calc(100% - 44px);margin:0 22px 22px}
}
@media (max-width:640px){
  .page-intro{font-size:.95rem}
  .team-grid{grid-template-columns:1fr;gap:18px}
  .team-card__media{aspect-ratio:4/4.2}
  .team-card__body{padding:21px}
  .contact-panel,.contact-form-card{padding:25px 22px}
  .contact-detail{grid-template-columns:40px 1fr;gap:12px}
  .map-card,.map-placeholder{min-height:420px}
  .map-placeholder__content{width:calc(100% - 28px);margin:0 14px 14px;padding:24px 22px}
  .arrival-item{grid-template-columns:44px 1fr}
}

/* Team v1.2 – people with directly visible services */
.team-list{display:grid;gap:38px}
.team-person{display:grid;grid-template-columns:360px minmax(0,1fr);background:#fff;border:1px solid #e0e0e0;box-shadow:0 12px 34px rgba(0,0,0,.055);min-height:400px}
.team-person--reverse{grid-template-columns:minmax(0,1fr) 360px}
.team-person--reverse .team-person__media{order:2}
.team-person--reverse .team-person__content{order:1}
.team-person__media{display:block;width:360px;height:400px;background:#e9e9e9;overflow:hidden;text-decoration:none;position:relative}
.team-person__media img,.team-person__portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .35s ease}
.team-person__media:hover img{transform:scale(1.02)}
.team-person__media--empty{display:grid;place-items:center;background:linear-gradient(145deg,#ededed,#d8d8d8)}
.team-person__initials{font-family:Georgia,'Times New Roman',serif;font-size:5rem;color:#777}
.team-person__content{padding:42px 46px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.team-person__bar{width:44px;height:5px;background:var(--red);margin-bottom:18px}
.team-person h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.8rem,2.5vw,2.45rem);line-height:1.12;margin:0 0 7px}
.team-person h2 a{color:var(--ink);text-decoration:none}
.team-person h2 a:hover{color:var(--red-dark)}
.team-person__role{margin:0;color:#5b5b5b;font-size:.96rem}
.team-person__services{margin-top:28px;width:100%;padding-top:22px;border-top:1px solid #e4e4e4}
.team-person__services-title{margin:0 0 12px;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:800;color:#444}
.team-person__service-links{display:flex;flex-wrap:wrap;gap:9px}
.team-person__service-links a{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border:1px solid #d4d4d4;color:#222;text-decoration:none;font-size:.84rem;font-weight:700;background:#fff}
.team-person__service-links a:hover{border-color:var(--red);color:var(--red-dark);background:#fffafa}
.team-person__profile{display:inline-flex;align-items:center;gap:.4rem;margin-top:27px;color:var(--red-dark);font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;text-decoration:none}
.team-person__profile:hover{text-decoration:underline;text-underline-offset:.22em}

@media (max-width:820px){
  .team-person,.team-person--reverse{grid-template-columns:1fr;min-height:0}
  .team-person--reverse .team-person__media,.team-person--reverse .team-person__content{order:initial}
  .team-person__media{width:100%;height:auto;aspect-ratio:4/3.5}
  .team-person__media img,.team-person__portrait{width:100%;height:100%;aspect-ratio:auto}
  .team-person__content{padding:30px}
}
@media (max-width:640px){
  .team-list{gap:22px}
  .team-person__content{padding:25px 22px}
  .team-person__services{margin-top:21px;padding-top:18px}
  .team-person__service-links{gap:7px}
  .team-person__service-links a{font-size:.8rem;padding:6px 10px}
}

/* v1.3 – employee profiles + robust contact/team routing */
.employee-back{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.5)}
.employee-back:hover{border-bottom-color:#fff}
.employee-hero__role{margin-top:12px}
.employee-profile-section{background:#f7f7f7}
.employee-profile{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:54px;align-items:center}
.employee-profile__media{background:#e5e5e5;min-height:520px;overflow:hidden;box-shadow:var(--shadow)}
.employee-profile__media img{display:block;width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center top}
.employee-profile__media--empty{display:grid;place-items:center;background:linear-gradient(145deg,#ededed,#d8d8d8)}
.employee-profile__initials{font-family:Georgia,'Times New Roman',serif;font-size:6rem;color:#777}
.employee-profile__content{max-width:690px}
.employee-profile__content h2,.employee-services-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,3.2vw,3rem);line-height:1.08;margin:0 0 10px}
.employee-profile__role{margin:0 0 25px;color:#5b5b5b;font-weight:700}
.employee-profile__lead{font-size:1.06rem;color:#4c4c4c;line-height:1.75;max-width:620px}
.employee-profile__text{margin-top:24px;color:#3d3d3d}
.employee-profile__text> :first-child{margin-top:0}
.employee-services-section{padding-top:70px}
.employee-services-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:44px;align-items:end;margin-bottom:34px}
.employee-services-heading p{margin:0;color:#5b5b5b;line-height:1.65}
.employee-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.employee-service-card{position:relative;display:flex;flex-direction:column;min-height:220px;padding:30px 28px;background:#fff;border:1px solid #dfdfdf;box-shadow:0 9px 28px rgba(0,0,0,.045)}
.employee-service-card__line{width:38px;height:4px;background:var(--red);margin-bottom:18px}
.employee-service-card h3{font-family:Georgia,'Times New Roman',serif;font-size:1.4rem;line-height:1.2;margin:0 0 12px}
.employee-service-card h3 a{color:var(--ink);text-decoration:none}
.employee-service-card h3 a:hover{color:var(--red-dark)}
.employee-service-card p{margin:0 0 18px;color:#5b5b5b;font-size:.9rem;line-height:1.55}
.employee-service-card__link{margin-top:auto;color:var(--red-dark);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;text-decoration:none}
.employee-service-card__link:hover{text-decoration:underline;text-underline-offset:.22em}

@media (max-width:980px){
  .employee-profile{grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);gap:36px}
  .employee-profile__media,.employee-profile__media img{min-height:430px}
  .employee-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .employee-profile{grid-template-columns:1fr;gap:28px}
  .employee-profile__media,.employee-profile__media img{min-height:0;aspect-ratio:4/4.4}
  .employee-services-heading{grid-template-columns:1fr;gap:12px}
  .employee-services-grid{grid-template-columns:1fr}
  .employee-service-card{min-height:0}
}


/* Team portrait consistency + image quality (v1.4) */
@media (min-width:901px) and (max-width:1120px){
  .team-person{grid-template-columns:320px minmax(0,1fr)}
  .team-person--reverse{grid-template-columns:minmax(0,1fr) 320px}
  .team-person__media{width:320px;height:400px}
}

/* Tätigkeitsgebiete – compact cards */
.practice-overview-section{
    background:#f7f7f7;
    padding-top:48px;
    padding-bottom:48px;
}

.practice-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 24px;
}

.practice-card{
    display:flex;
    flex-direction:column;
    min-height:210px;
    padding:28px 36px 26px;
    background:#fff;
    border:1px solid #dedede;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.practice-card:hover{
    transform:translateY(-2px);
    border-color:#cfcfcf;
    box-shadow:0 12px 30px rgba(0,0,0,.07);
}

.practice-card__top{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
}

.practice-card__number{
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.1em;
    color:#8a8a8a;
}

.practice-card__line{
    display:block;
    width:42px;
    height:4px;
    background:var(--red);
}

.practice-card h2{
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(1.55rem,2.1vw,2rem);
    line-height:1.14;
    margin:0;
}

.practice-card h2 a{
    color:var(--ink);
    text-decoration:none;
}

.practice-card h2 a:hover{
    color:var(--red-dark);
}

.practice-card__link{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    margin-top:auto;
    padding-top:24px;
    color:var(--red-dark);
    font-size:.8rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.045em;
    text-decoration:none;
}

.practice-card__link:hover{
    text-decoration:underline;
    text-underline-offset:.22em;
}

@media (max-width:900px){
    .practice-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
}

@media (max-width:640px){
    .practice-overview-section{
        padding-top:32px;
        padding-bottom:32px;
    }

    .practice-card{
        min-height:180px;
        padding:24px 23px 22px;
    }

    .practice-card__top{
        margin-bottom:12px;
    }

    .practice-card__link{
        padding-top:20px;
    }
}

/* v1.7: Icons in the homepage values strip */
.values-grid .value-item{display:flex;align-items:flex-start;gap:18px;padding:6px 26px}
.values-grid .value-icon{display:flex;flex:0 0 46px;width:46px;height:46px;color:var(--red);align-items:center;justify-content:center}
.values-grid .value-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.values-grid .value-item>div{min-width:0}
@media(max-width:900px){.values-grid .value-item{padding:20px 24px}}
@media(max-width:620px){.values-grid .value-item{padding:18px 0;gap:16px}.values-grid .value-icon{flex-basis:42px;width:42px;height:42px}.values-grid .value-icon svg{width:38px;height:38px}}

/* Legal pages v2.0 */
.legal-section{background:#f7f7f7}
.legal-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:58px;align-items:start}
.legal-content{background:#fff;border:1px solid #e1e1e1;padding:48px 54px;box-shadow:0 10px 30px rgba(0,0,0,.035)}
.legal-content section+section{border-top:1px solid #e5e5e5;margin-top:34px;padding-top:32px}
.legal-content h2{font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;line-height:1.25;margin:0 0 15px;color:var(--ink)}
.legal-content p{color:#444;line-height:1.75;margin:0 0 14px}
.legal-content a{color:var(--red-dark);text-underline-offset:.18em}
.legal-updated{font-weight:700;color:#777!important;font-size:.88rem}
.legal-aside{position:sticky;top:110px}
.legal-card{background:#191919;color:#fff;border-top:5px solid var(--red);padding:30px 30px 32px}
.legal-card .section-label{color:#ff4545}
.legal-card h3{font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;margin:10px 0 14px}
.legal-card p{color:#ddd;line-height:1.65;margin:0 0 20px}
.legal-card .text-link{color:#fff;font-weight:800;text-decoration:none}
.footer-legal{display:flex;gap:10px;align-items:center;margin-top:14px;font-size:.82rem}
.footer-legal a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.footer-legal a:hover{border-bottom-color:currentColor}
@media(max-width:900px){.legal-layout{grid-template-columns:1fr;gap:28px}.legal-aside{position:static}}
@media(max-width:640px){.legal-content{padding:30px 23px}.legal-content section+section{margin-top:27px;padding-top:25px}}

/* Legal hero spacing fix v2.1 */
.legal-hero .container{width:min(var(--max),calc(100% - 48px));margin:0 auto}
.legal-hero .eyebrow{display:flex;align-items:center;width:auto;height:auto;background:none;margin:0 0 20px;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.14em;line-height:1.35;text-transform:uppercase}
.legal-hero .eyebrow::before{content:"";display:inline-block;width:38px;height:4px;background:var(--red);margin-right:14px;flex:0 0 auto}
.legal-hero h1{margin:0 0 18px}
.legal-hero p{max-width:760px;margin:0;color:#f0f0f0;font-size:1.05rem;line-height:1.6}
@media(max-width:640px){.legal-hero .container{width:calc(100% - 36px)}.legal-hero .eyebrow{font-size:.72rem;margin-bottom:16px}.legal-hero .eyebrow::before{width:30px;margin-right:10px}.legal-hero h1{margin-bottom:14px}.legal-hero p{font-size:.98rem}}

/* =========================================================
   Team + Employee redesign v3.0
   ========================================================= */

/* TEAM PAGE */
.team-section{padding:48px 24px 70px;background:#f4f4f2}
.team-section>.content-shell{max-width:1180px}
.team-profiles{display:flex;flex-direction:column;gap:30px}
.employee-profile-section--team{position:relative;margin:0;padding:30px;background:#fff;border:1px solid #dedede;border-top:4px solid var(--red);box-shadow:0 8px 26px rgba(0,0,0,.045)}
.employee-profile-section--team .employee-profile{grid-template-columns:310px minmax(0,1fr);gap:52px}
.employee-profile-section--team .employee-profile__media{width:310px;height:390px;box-shadow:none}
.employee-profile-section--team .employee-profile__content h2{margin:0 0 8px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,3.2vw,3rem);line-height:1.08}
.employee-profile-section--team .employee-profile__bar{width:42px;height:4px;margin-bottom:18px}
.employee-profile-section--team .employee-profile__actions{margin-top:32px}
.employee-profile-section--team .employee-action{min-height:145px;padding:20px 18px}

/* EMPLOYEE PROFILE PAGE */
.employee-profile-section{background:#f7f7f7;padding:42px 24px 54px}
.employee-profile-section .content-shell{max-width:1180px}
.employee-profile__back{display:inline-flex;align-items:center;margin-bottom:22px;color:#555;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;text-decoration:none}
.employee-profile__back:hover{color:var(--red-dark)}

/* EMPLOYEE – MAIN LAYOUT */
.employee-profile{display:grid;grid-template-columns:350px minmax(0,1fr);gap:54px;align-items:center;min-height:0}

/* EMPLOYEE – PHOTO */
.employee-profile__media{width:350px;height:440px;min-height:0;overflow:hidden;background:#e5e5e5;box-shadow:0 10px 30px rgba(0,0,0,.07)}
.employee-profile__media img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center top}
.employee-profile__media--empty{display:grid;place-items:center}
.employee-profile__initials{font-family:Georgia,'Times New Roman',serif;font-size:5rem;color:#777}

/* EMPLOYEE – CONTENT */
.employee-profile__content{max-width:none}
.employee-profile__bar{display:block;width:44px;height:5px;margin-bottom:18px;background:var(--red)}
.employee-profile__content h1{margin:0 0 8px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.2rem,3.5vw,3.3rem);line-height:1.08}
.employee-profile__content h2{margin:0 0 8px;font-family:Georgia,'Times New Roman',serif;line-height:1.08}
.employee-profile__role{margin:0;color:#333;font-size:1.05rem;font-weight:700}
.employee-profile__languages{margin:5px 0 0;color:#777;font-size:.91rem}

/* ACTION CARDS */
.employee-profile__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:36px}
.employee-profile__actions--2{grid-template-columns:repeat(2,minmax(0,220px))}
.employee-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:155px;padding:22px 20px;background:#fff;border:1px solid #d9d9d9;color:var(--ink);text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.employee-action:hover{transform:translateY(-2px);border-color:#bdbdbd;background:#fdfdfd;box-shadow:0 10px 26px rgba(0,0,0,.07)}
.employee-action__icon{display:block;width:42px;height:42px;margin-bottom:17px;color:var(--red)}
.employee-action__icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.employee-action__title{display:block;padding-right:18px;font-size:.79rem;line-height:1.35;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.employee-action__arrow{position:absolute;right:17px;bottom:14px;color:var(--red-dark);font-weight:800;transition:transform .2s ease}
.employee-action:hover .employee-action__arrow{transform:translateX(3px)}

/* TEAM EMPTY */
.team-empty{max-width:760px;padding:30px;background:#fff;border-left:5px solid var(--red);box-shadow:0 8px 24px rgba(0,0,0,.04)}

/* TABLET */
@media (max-width:1000px){
  .employee-profile-section--team{padding:26px}
  .employee-profile-section--team .employee-profile{grid-template-columns:270px minmax(0,1fr);gap:36px}
  .employee-profile-section--team .employee-profile__media{width:270px;height:350px}
  .employee-profile-section:not(.employee-profile-section--team) .employee-profile{grid-template-columns:280px minmax(0,1fr);gap:34px}
  .employee-profile-section:not(.employee-profile-section--team) .employee-profile__media{width:280px;height:360px}
  .employee-profile__actions{grid-template-columns:1fr;gap:10px;margin-top:26px}
  .employee-profile__actions--2{grid-template-columns:1fr}
  .employee-action{min-height:105px}
}

/* MOBILE */
@media (max-width:700px){
  .team-section{padding:24px 14px 42px}
  .team-section>.content-shell{width:100%}
  .team-profiles{gap:20px}
  .employee-profile-section--team{padding:0 0 26px;border-top-width:4px;box-shadow:0 5px 18px rgba(0,0,0,.045)}
  .employee-profile,.employee-profile-section--team .employee-profile{grid-template-columns:1fr;gap:0}
  .employee-profile-section--team .employee-profile__media{width:100%;height:auto;aspect-ratio:4/4.2;box-shadow:none}
  .employee-profile-section--team .employee-profile__content{padding:26px 22px 0}
  .employee-profile-section--team .employee-profile__content h2{font-size:2rem}
  .employee-profile-section:not(.employee-profile-section--team){padding:30px 18px 42px}
  .employee-profile-section:not(.employee-profile-section--team) .employee-profile{gap:26px}
  .employee-profile-section:not(.employee-profile-section--team) .employee-profile__media{width:100%;height:auto;aspect-ratio:4/4.2}
  .employee-profile__content h1{font-size:2.2rem}
  .employee-profile__actions,.employee-profile-section--team .employee-profile__actions{grid-template-columns:1fr;gap:10px;margin-top:26px}
  .employee-profile__actions--2{grid-template-columns:1fr}
  .employee-action,.employee-profile-section--team .employee-action{min-height:100px;padding:18px}
  .employee-action__icon{width:36px;height:36px;margin-bottom:12px}
}

/* VERY SMALL MOBILE */
@media (max-width:420px){
  .team-section{padding-left:10px;padding-right:10px}
  .employee-profile-section--team .employee-profile__content{padding-left:18px;padding-right:18px}
  .employee-profile-section--team .employee-profile__content h2{font-size:1.8rem}
  .employee-profile__role{font-size:.98rem}
  .employee-profile__languages{font-size:.86rem}
}
/* =========================================================
   Employee detail – responsive like Team page
   v3.1
   ========================================================= */

/* Prevent grid children/content from forcing overflow */
.employee-profile,
.employee-profile__content,
.employee-profile__actions,
.employee-action {
    min-width: 0;
}

/* Tablet */
@media (max-width: 1000px) {

    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 34px;
    }
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile__media {
        width: 280px;
        height: 360px;
        min-height: 0;
    }
}

/* Mobile */
@media (max-width: 700px) {
    /*
     * Same horizontal behaviour as Team page.
     * Section owns the outer spacing;
     * content-shell no longer adds another margin.
     */
    .employee-profile-section:not(.employee-profile-section--team) {
        padding: 24px 14px 42px;
    }
    .employee-profile-section:not(.employee-profile-section--team)
    > .content-shell {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }
    /* Back link */
    .employee-profile__back {
        margin: 0 0 18px;
        font-size: .74rem;
    }
    /* Profile becomes one column */
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: 100%;
    }
    /* Portrait behaves exactly like Team portrait */
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile__media {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 4.2;
        box-shadow: none;
    }
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile__media img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
    }
    /*
     * Content spacing mirrors Team card:
     * image full width, text padded inside.
     */
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile__content {
        width: 100%;
        max-width: none;
        padding: 26px 22px 0;
    }
    .employee-profile__bar {
        width: 42px;
        height: 4px;
        margin-bottom: 16px;
    }
    .employee-profile__content h1 {
        margin-bottom: 7px;
        font-size: clamp(1.8rem, 9vw, 2.2rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }
    .employee-profile__role {
        font-size: .98rem;
    }
    .employee-profile__languages {
        font-size: .86rem;
    }
    /* Service tiles */
    .employee-profile__actions,
    .employee-profile__actions--2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        margin-top: 26px;
    }
    .employee-action {
        width: 100%;
        min-width: 0;
        min-height: 100px;
        padding: 18px;
    }
    .employee-action__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }
    .employee-action__title {
        overflow-wrap: anywhere;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .employee-profile-section:not(.employee-profile-section--team) {
        padding-left: 10px;
        padding-right: 10px;
    }
    .employee-profile-section:not(.employee-profile-section--team)
    .employee-profile__content {
        padding-left: 18px;
        padding-right: 18px;
    }
    .employee-profile__content h1 {
        font-size: 1.8rem;
    }
}