/* BERZAN BAU — REFERENCES / 2026. A focused editorial rebuild.
   Scoped entirely to referenzen.html. Real photographs, restrained CSS motion,
   accessible controls and stable desktop/mobile geometry. */
body.v18-references {
  --ref11-dark: #101e25;
  --ref11-mid: #1c303a;
  --ref11-orange: #f47732;
  --ref11-light: #f6f4ef;
  --ref11-line: rgba(255,255,255,.18);
}
body.v18-references .page-back { display: none !important; }
body.v18-references .ref11-hero,
body.v18-references .ref11-proof { font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif; }
body.v18-references .ref11-hero *,
body.v18-references .ref11-proof * { box-sizing: border-box; }
body.v18-references .ref11-hero {
  position: relative;
  isolation: isolate;
  background: var(--ref11-dark);
  color: var(--ref11-light);
  overflow: hidden;
}
body.v18-references .ref11-hero:before {
  content:"";position:absolute;inset:0 auto 0 0;width:58%;pointer-events:none;
  background: radial-gradient(ellipse at 20% 16%,rgba(49,89,95,.26),transparent 55%),
              repeating-linear-gradient(90deg,transparent 0,transparent 98px,rgba(255,255,255,.023) 99px,transparent 100px);
  opacity:.7;
}
body.v18-references .ref11-hero .wrap,
body.v18-references .ref11-proof .wrap {
  width:min(calc(100% - 76px),1520px); max-width:1520px; margin-inline:auto;
}
body.v18-references .ref11-hero-grid {
  position:relative;display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  align-items:stretch;min-height:640px;isolation:isolate;
}
body.v18-references .ref11-hero-copy {
  position:relative;z-index:3;display:flex;flex-direction:column;
  justify-content:center;align-items:flex-start;min-width:0;
  padding:clamp(60px,7vw,100px) clamp(24px,3.3vw,56px) 54px 0;
}
body.v18-references .ref11-overline {
  font-size:10px;line-height:1.6;font-weight:800;letter-spacing:.20em;
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#f7f6f1;
}
body.v18-references .ref11-status-dot {
  height:8px;width:8px;border-radius:50%;background:var(--ref11-orange);
  box-shadow:0 0 0 5px rgba(244,119,50,.1);
}
body.v18-references .ref11-slash {opacity:.35;font-size:17px;font-weight:400;}
body.v18-references .ref11-section-label {
  margin:clamp(58px,6vw,80px) 0 20px;color:#f9a376;
  font-size:11px;letter-spacing:.18em;font-weight:850;line-height:1.5;
}
body.v18-references .ref11-hero h1 {
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:clamp(60px,6.65vw,112px)!important;
  line-height:.96!important;letter-spacing:-.078em!important;
  color:#fff!important;font-weight:800!important;
  max-width:9ch!important;margin:0!important;
  text-wrap:balance;
}
body.v18-references .ref11-hero h1 span {color:var(--ref11-orange);}
body.v18-references .ref11-lead {
  font-size:clamp(15px,1.35vw,18px)!important;
  line-height:1.6!important;color:#bfcbd0!important;
  max-width:510px!important;margin:29px 0 0!important;
}
body.v18-references .ref11-actions {display:flex;flex-wrap:wrap;align-items:center;gap:23px;margin-top:30px;}
body.v18-references .ref11-primary {
  display:inline-flex;align-items:center;justify-content:space-between;gap:36px;
  padding:18px 22px;background:var(--ref11-orange);color:#111d23!important;
  font-size:14px;font-weight:850;text-decoration:none!important;
  min-width:225px;border-radius:4px;line-height:1.4;
  transition:transform .25s ease,background .25s ease;
}
body.v18-references .ref11-primary:hover {background:#ff965f;transform:translateY(-2px);}
body.v18-references .ref11-primary>span:last-child {font-size:22px;line-height:1;}
body.v18-references .ref11-secondary {
  color:#f2f4f3!important;border-bottom:1px solid rgba(244,119,50,.9);
  text-decoration:none!important;padding:8px 0;font-size:13px;font-weight:700;
  transition:color .2s ease;
}
body.v18-references .ref11-secondary:hover {color:#ff975f!important;}
body.v18-references .ref11-micro {
  font-size:10px!important;letter-spacing:.17em;font-weight:750;
  line-height:1.5;color:#9db0b5!important;margin:54px 0 0!important;
}
body.v18-references .ref11-micro span {color:var(--ref11-orange);font-size:8px;margin-right:8px;}
body.v18-references .ref11-hero-visual {
  position:relative;min-width:0;min-height:640px;overflow:hidden;background:#24343a;
}
body.v18-references .ref11-hero-visual>img {
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:cover;object-position:50% 52%;filter:saturate(.93) contrast(1.03);
}
body.v18-references .ref11-hero-visual:before {
  content:"";pointer-events:none;position:absolute;z-index:1;inset:0;
  background:linear-gradient(90deg,rgba(16,30,37,.12),transparent 30%),
             linear-gradient(180deg,rgba(13,24,28,.35),transparent 35%,rgba(11,19,23,.85) 100%);
}
body.v18-references .ref11-scanlines {
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,transparent calc(100% - 1px),rgba(255,255,255,.12) 100%);
  background-size:25% 100%;opacity:.28;
}
body.v18-references .ref11-visual-top {
  position:absolute;top:26px;left:32px;right:32px;z-index:2;
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  color:#fff;font-weight:800;font-size:10px;letter-spacing:.14em;
  text-shadow:0 1px 9px rgba(0,0,0,.5);
}
body.v18-references .ref11-visual-line {
  position:absolute;z-index:2;top:0;left:0;width:2px;height:26%;background:var(--ref11-orange);opacity:.86;
}
body.v18-references .ref11-feature {
  position:absolute;z-index:3;left:clamp(20px,3vw,42px);right:clamp(20px,3vw,42px);bottom:clamp(24px,3vw,44px);
  display:block;color:white!important;text-decoration:none!important;
  padding-top:20px;border-top:1px solid rgba(255,255,255,.6);
  transition:border-color .2s ease;
}
body.v18-references .ref11-feature:hover {border-color:var(--ref11-orange);}
body.v18-references .ref11-feature-tag {
  display:block;color:#ffc19f;font-size:10px;letter-spacing:.2em;font-weight:850;
}
body.v18-references .ref11-feature-head {
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:9px 0 10px;font-size:clamp(32px,3.7vw,55px);
  line-height:1.03;letter-spacing:-.065em;
}
body.v18-references .ref11-feature-head strong {font-weight:770;color:white;}
body.v18-references .ref11-feature-head>span {
  display:grid;place-items:center;flex:none;width:46px;height:46px;
  border:1px solid rgba(255,255,255,.5);border-radius:50%;
  font-size:25px;font-weight:400;transition:transform .2s,background .2s;
}
body.v18-references .ref11-feature:hover .ref11-feature-head>span {transform:rotate(45deg);background:rgba(244,119,50,.75);}
body.v18-references .ref11-feature-bottom {font-size:13px;color:#e9f0f1;line-height:1.5;}
body.v18-references .ref11-feature-bottom>span {color:var(--ref11-orange);padding:0 5px;}
body.v18-references .ref11-proof {background:#1d333d;color:white;border-top:1px solid var(--ref11-line);}
body.v18-references .ref11-proof-grid {display:grid;grid-template-columns:1fr 1.2fr 1fr 1.15fr;align-items:stretch;}
body.v18-references .ref11-proof-item,
body.v18-references .ref11-proof-link {display:flex;flex-direction:column;justify-content:center;min-height:111px;padding:18px clamp(14px,2vw,30px);}
body.v18-references .ref11-proof-item {border-right:1px solid rgba(255,255,255,.14);}
body.v18-references .ref11-proof-item:first-child {padding-left:0;}
body.v18-references .ref11-proof-item>span {color:#a4bdc3;font-size:10px;letter-spacing:.14em;font-weight:750;line-height:1.5;margin-bottom:10px;}
body.v18-references .ref11-proof-item strong {color:#fff;font-size:clamp(25px,2.7vw,38px);font-weight:780;line-height:1;letter-spacing:-.06em;font-variant-numeric:tabular-nums;white-space:nowrap;}
body.v18-references .ref11-proof-item strong small {font-size:13px;font-weight:600;letter-spacing:0;color:#e5ecee;}
body.v18-references .ref11-proof-link {position:relative;text-decoration:none!important;color:#f0f7f7!important;font-size:14px;font-weight:750;line-height:1.5;padding-right:32px;transition:background .2s ease;}
body.v18-references .ref11-proof-link:hover {background:rgba(244,119,50,.11);}
body.v18-references .ref11-proof-link>span {position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:24px;color:#ff9a67;}
body.v18-references .ref11-primary:focus-visible,body.v18-references .ref11-secondary:focus-visible,body.v18-references .ref11-feature:focus-visible,body.v18-references .ref11-proof-link:focus-visible {outline:3px solid #ffb58e;outline-offset:4px;}
/* Portfolio — clean technical editorial rather than stacked decorative panels. */
html body.v18-references.screen-v8 .v6-portfolio {
  background:#f5f2ec!important;
  padding:clamp(70px,8vw,116px) 0 clamp(66px,7vw,100px)!important;
}
html body.v18-references .v6-portfolio .wrap {width:min(calc(100% - 64px),1370px);max-width:1370px;}
html body.v18-references .v6-portfolio-header {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:end;margin-bottom:38px;}
html body.v18-references .ref11-portfolio-note {grid-column:1/-1;font-size:11px!important;font-weight:850;letter-spacing:.18em;color:#d4632b!important;margin:0 0 22px!important;}
html body.v18-references .v6-portfolio-header h2 {
  font-family:Inter,system-ui,sans-serif;font-size:clamp(43px,6vw,86px);
  line-height:1.03;letter-spacing:-.075em;color:#172630;
}
html body.v18-references .v6-portfolio-header h2 em {font:inherit;letter-spacing:inherit;font-style:normal;color:#e26a31;}
html body.v18-references .v6-portfolio-header p:not(.v6-kicker):not(.ref11-portfolio-note) {font-size:16px;max-width:590px;line-height:1.65;color:#536069;margin-top:24px;}
html body.v18-references .v6-portfolio-stat {border-left:1px solid #ccd1cc;padding-left:26px;}
html body.v18-references .v6-portfolio-stat strong {color:#182a33;}
html body.v18-references .v6-filter-panel {
  border-radius:14px;background:#18313b;border:1px solid #29444e;
  padding:clamp(18px,2vw,28px);box-shadow:0 18px 32px rgba(21,35,40,.08);
}
html body.v18-references .v6-filter-panel .v6-search {background:#243e47;border-color:rgba(255,255,255,.24);border-radius:7px;}
html body.v18-references .v6-filter-panel button[data-service-filter] {border-radius:50px;min-height:38px;transition:background .2s,border-color .2s,color .2s;}
html body.v18-references .v6-filter-panel button[data-service-filter].is-active {background:#f47732!important;border-color:#f47732!important;color:#172127!important;}
html body.v18-references .v6-project-grid {gap:clamp(18px,2.2vw,30px);}
html body.v18-references .v6-project-card {background:#fff;border:1px solid rgba(24,46,55,.095);border-radius:10px;overflow:hidden;box-shadow:0 10px 26px rgba(25,43,48,.035);}
html body.v18-references .v6-project-card .v6-card-media {height:clamp(255px,27vw,385px);}
html body.v18-references .v6-project-card .v6-card-media img {filter:saturate(.95);}
html body.v18-references .v6-project-card .v6-card-info {padding:21px 22px 24px;}
html body.v18-references .v6-project-card .v6-card-info h3 {font-size:clamp(23px,2vw,30px);letter-spacing:-.055em;}
html body.v18-references .v6-project-card:hover {box-shadow:0 22px 48px rgba(22,39,44,.11);}
html body.v18-references .v10-show-more {border-radius:7px;}
/* Map / project navigation — anchored dark companion, no nested scrolling. */
html body.v18-references .v73-map {background:#12242c!important;}
html body.v18-references .v73-map-grid {grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:clamp(18px,2.4vw,36px)!important;}
html body.v18-references .v73-map-stage {border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;}
html body.v18-references .v73-map-card {background:#172e38!important;}
html body.v18-references .v73-map-list {max-height:none!important;overflow:visible!important;gap:9px!important;}
html body.v18-references .v73-map-list button {border-radius:8px!important;background:#1d353f;}
html body.v18-references .v73-map-list button:hover,
html body.v18-references .v73-map-list button[aria-pressed="true"] {border-color:#f47732!important;}
html body.v18-references #v6-projekte,html body.v18-references #einsatz {scroll-margin-top:92px;}
@media(min-width:1320px) {
 html body.v18-references .v73-map-list {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 html body.v18-references .v73-map-list button {grid-template-columns:23px minmax(0,1fr)!important;padding:10px 12px!important;min-height:68px!important;}
 html body.v18-references .v73-map-list button .km {display:none!important;}
}
@media(max-width:1120px) {
 body.v18-references .ref11-hero .wrap,body.v18-references .ref11-proof .wrap {width:min(calc(100% - 44px),1520px);}
 body.v18-references .ref11-hero-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:590px;}
 body.v18-references .ref11-hero-copy {padding:55px 23px 45px 0;}
 body.v18-references .ref11-hero h1 {font-size:clamp(57px,6.5vw,84px)!important;}
 body.v18-references .ref11-section-label {margin-top:48px;}
 body.v18-references .ref11-hero-visual {min-height:590px;}
 html body.v18-references .v73-map-grid {grid-template-columns:1fr!important;}
}
@media(max-width:790px) {
 body.v18-references .ref11-hero-grid {grid-template-columns:1fr;min-height:0;}
 body.v18-references .ref11-hero-copy {padding:48px 0 36px;}
 body.v18-references .ref11-overline {font-size:9px;}
 body.v18-references .ref11-section-label {margin:50px 0 16px;}
 body.v18-references .ref11-hero h1 {font-size:clamp(57px,11vw,90px)!important;}
 body.v18-references .ref11-lead {max-width:630px!important;}
 body.v18-references .ref11-micro {margin-top:33px!important;}
 body.v18-references .ref11-hero-visual {min-height:450px;}
 body.v18-references .ref11-proof-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.v18-references .ref11-proof-item:nth-child(2) {border-right:0;}
 body.v18-references .ref11-proof-item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.14);}
 html body.v18-references .v6-portfolio-header {grid-template-columns:1fr;}
 html body.v18-references .v6-portfolio-stat {border-left:0;border-top:1px solid #d1d3cd;padding:18px 0 0;margin-top:20px;}
}
@media(max-width:520px) {
 body.v18-references .ref11-hero .wrap,body.v18-references .ref11-proof .wrap {width:calc(100% - 32px);}
 body.v18-references .ref11-hero-copy {padding:34px 0 27px;}
 body.v18-references .ref11-hero h1 {font-size:clamp(51px,14vw,72px)!important;}
 body.v18-references .ref11-section-label {font-size:9px;letter-spacing:.13em;margin-top:37px;}
 body.v18-references .ref11-lead {font-size:15px!important;margin-top:23px!important;}
 body.v18-references .ref11-actions {gap:15px;margin-top:25px;}
 body.v18-references .ref11-primary {min-width:0;min-height:54px;width:100%;}
 body.v18-references .ref11-secondary {margin-left:2px;}
 body.v18-references .ref11-micro {margin-top:27px!important;}
 body.v18-references .ref11-hero-visual {min-height:390px;}
 body.v18-references .ref11-visual-top {left:18px;right:18px;top:17px;font-size:8px;}
 body.v18-references .ref11-feature {left:18px;right:18px;bottom:20px;}
 body.v18-references .ref11-feature-head {font-size:34px;}
 body.v18-references .ref11-feature-head>span {width:38px;height:38px;font-size:20px;}
 body.v18-references .ref11-feature-bottom {font-size:12px;}
 body.v18-references .ref11-proof-item,body.v18-references .ref11-proof-link {padding:17px 10px;min-height:92px;}
 body.v18-references .ref11-proof-item:first-child {padding-left:0;}
 body.v18-references .ref11-proof-item strong {font-size:27px;}
 body.v18-references .ref11-proof-item strong small {font-size:11px;}
 body.v18-references .ref11-proof-item>span {font-size:8px;letter-spacing:.08em;}
 body.v18-references .ref11-proof-link {font-size:11px;padding-right:23px;}
 html body.v18-references .v6-portfolio .wrap {width:calc(100% - 32px);}
 html body.v18-references .v6-portfolio-header h2 {font-size:clamp(40px,10vw,55px);}
 html body.v18-references .v6-project-card .v6-card-media {height:clamp(250px,74vw,355px);}
 html body.v18-references .v6-project-card .v6-card-info {padding:17px 18px 21px;}
}
@media(prefers-reduced-motion:reduce) {
 body.v18-references .ref11-hero *, body.v18-references .ref11-proof *,
 html body.v18-references .v6-project-card * {transition:none!important;animation:none!important;scroll-behavior:auto!important;}
}

/* Final spacing reduction: one eyebrow, one heading, then direct filters. */
html body.v18-references .v6-portfolio-header .v6-kicker {margin-bottom:15px!important;}
html body.v18-references .v6-portfolio-header {margin-bottom:27px!important;}
html body.v18-references.screen-v8 .v6-portfolio {padding-top:clamp(56px,6vw,80px)!important;}
html body.v18-references .v6-portfolio-header h2 {font-size:clamp(42px,5.5vw,76px)!important;}
