@font-face { font-family: "Barlow Condensed"; src: url("assets/barlow-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/barlow-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/barlow-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/barlow-800.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/inter.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }

:root {
  --blue: #073a68;
  --blue-deep: #052946;
  --blue-ink: #031d31;
  --yellow: #ffd21c;
  --paper: #f4f3ee;
  --white: #fff;
  --ink: #0b1822;
  --muted: #68737a;
  --line: rgba(11, 24, 34, .14);
  --display: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
body.intro-active { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.workshop-intro { position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: transparent; pointer-events: auto; animation: intro-release 0s 4.45s forwards; }
.facade-frame { position: absolute; inset: 0; }
.digital-door { position: absolute; inset: 0; color: white; background: #06243f; box-shadow: 0 10px 35px rgba(0,0,0,.45); will-change: transform; }
.door-header { height: 14%; min-height: 64px; padding: 0 clamp(16px,3vw,42px); display: flex; align-items: center; justify-content: center; gap: clamp(34px,6vw,100px); color: #e6e9ef; background: #123d74; font: 600 clamp(21px,2.8vw,40px) var(--display); letter-spacing: .025em; }
.door-header strong { color: var(--yellow); font-size: 1.18em; }
.door-stack { position: absolute; inset: 14% 0 0; overflow: hidden; background: #052f63; perspective: 1000px; }
.door-panel { position: absolute; left: 0; width: 100%; height: 20.15%; border-top: 2px solid #0c5598; border-bottom: 3px solid #04264f; background: linear-gradient(90deg,#043b79,#07498f 58%,#06376e); display: flex; align-items: center; justify-content: center; transform-origin: top center; will-change: transform,opacity; }
.panel-1 { top: 0; }
.panel-2 { top: 20%; }
.panel-3 { top: 40%; }
.panel-4 { top: 60%; }
.panel-5 { top: 80%; }
.door-panel i { width: 25%; height: 62%; border: 4px solid #0a4b92; background: linear-gradient(180deg,rgba(184,207,228,.72),rgba(82,117,154,.65)); }
.door-logo { position: absolute; z-index: 20; left: 50%; top: 52%; width: 50%; height: auto; max-height: 38%; object-fit: contain; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 5px 3px rgba(0,0,0,.16)); }
.door-ground { position: absolute; z-index: 5; inset: auto -20% 0; height: 4px; background: #050505; box-shadow: 0 12px 20px rgba(0,0,0,.35); }
.intro-caption { position: absolute; z-index: 8; bottom: 18px; left: 50%; margin: 0; transform: translateX(-50%); color: white; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 2px 7px #000; transition: opacity .3s; }
.digital-door { animation: whole-door-open 2.25s 2s cubic-bezier(.58,0,.2,1) forwards; }
.workshop-intro.opening .digital-door { animation-name: whole-door-open; }
.workshop-intro.done { visibility: hidden; pointer-events: none; }
@keyframes whole-door-open { 0% { transform: translateY(0); } 100% { transform: translateY(-103%); } }
@keyframes intro-release { to { visibility: hidden; pointer-events: none; } }
.site-header { height: 88px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: var(--white); position: relative; z-index: 20; }
.header-name { display: grid; gap: 2px; color: var(--blue); text-transform: uppercase; }
.header-name strong { font: 800 27px/.9 var(--display); letter-spacing: .015em; }
.header-name span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.header-partners { margin: 0 auto 0 clamp(16px, 1.8vw, 32px); padding-left: clamp(16px, 1.8vw, 32px); border-left: 1px solid var(--line); display: flex; align-items: center; gap: clamp(10px, 1.25vw, 20px); }
.header-partners img { width: auto; object-fit: contain; mix-blend-mode: multiply; }
.header-partners img[alt="Hörmann"] { height: 36px; width: 116px; }
.header-partners img[alt="Erreka"] { height: 60px; width: 126px; }
.header-partners img[alt="BFT"] { height: 64px; width: 79px; }
.header-partners img[alt="GEZE"] { height: 76px; width: 96px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 68px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); font-size: 13px; font-weight: 600; white-space: nowrap; }
.main-nav a:not(.nav-phone) { border-bottom: 2px solid transparent; padding: 12px 0; }
.main-nav a:hover { border-color: var(--yellow); }
.nav-phone { color: white; background: var(--blue); padding: 15px 20px; flex-shrink: 0; }
.menu-toggle { display: none; }
.hero { min-height: calc(100vh - 88px); position: relative; display: grid; align-items: center; color: white; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url("assets/puerta-decorativa.jpg") center 58%/cover no-repeat; transform: scale(1.02); }
.hero-shade { background: linear-gradient(90deg, rgba(3,29,49,.96) 0%, rgba(3,29,49,.78) 43%, rgba(3,29,49,.12) 80%), linear-gradient(0deg, rgba(3,29,49,.45), transparent 50%); }
.hero-emblem { position: absolute; z-index: 3; top: 26px; left: 28px; width: clamp(112px, 10vw, 158px); height: auto; filter: drop-shadow(0 7px 12px rgba(0,0,0,.32)); }
.hero-content { position: relative; z-index: 2; width: min(760px, 88%); margin-left: clamp(24px, 8vw, 130px); padding-bottom: 90px; }
.eyebrow { margin: 0 0 22px; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 820px; font-size: clamp(60px, 7.7vw, 118px); line-height: .83; letter-spacing: -.045em; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 580px; margin: 30px 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; color: rgba(255,255,255,.82); }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; transition: .2s ease; }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-primary:hover { background: white; transform: translateY(-2px); }
.button-ghost { border: 1px solid rgba(255,255,255,.45); }
.button-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-stats { position: absolute; z-index: 3; bottom: 0; right: 0; width: min(720px, 60%); display: grid; grid-template-columns: repeat(3,1fr); background: white; color: var(--ink); }
.hero-stats div { min-height: 90px; padding: 22px; border-left: 1px solid var(--line); display: grid; align-content: center; }
.hero-stats strong { font: 700 19px var(--display); color: var(--blue); }
.hero-stats span { margin-top: 4px; font-size: 10px; color: var(--muted); }
.section { padding: clamp(85px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.section-intro { display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 10vw; align-items: end; }
.section-intro .eyebrow { grid-column: 1/-1; }
.section h2, .industry h2, .process h2, .contact h2 { font-size: clamp(48px, 6vw, 84px); line-height: .9; letter-spacing: -.035em; }
.section-intro > p:last-child, .projects-head > p { color: var(--muted); line-height: 1.8; max-width: 530px; }
.service-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3,1fr); }
.service-card { min-height: 490px; padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; background: #eeede7; }
.service-card + .service-card { border-left: 0; }
.service-card.featured { color: white; background: var(--blue); }
.service-number { font: 600 14px var(--display); opacity: .7; }
.service-card h3 { font-size: 43px; line-height: .95; }
.service-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.service-card.featured p { color: rgba(255,255,255,.68); }
.service-card > a { padding-top: 20px; border-top: 1px solid currentColor; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.image-card { padding: 0; position: relative; overflow: hidden; color: white; }
.image-card img { height: 100%; object-fit: cover; filter: brightness(.65); }
.image-card .service-number { position: absolute; top: 34px; left: 34px; }
.image-card-copy { position: absolute; inset: auto 34px 28px; }
.image-card-copy p { color: rgba(255,255,255,.72); }
.industry { min-height: 620px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--blue-deep); color: white; }
.industry-copy { padding: clamp(80px, 9vw, 140px) clamp(24px, 8vw, 130px); }
.industry-copy p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.64); line-height: 1.8; }
.text-link { display: inline-flex; gap: 35px; margin-top: 25px; padding-bottom: 10px; border-bottom: 2px solid var(--yellow); color: var(--yellow); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.industry-visual { min-height: 500px; position: relative; display: grid; place-items: center; background: var(--yellow); color: var(--blue-ink); overflow: hidden; }
.industry-visual p { position: relative; z-index: 2; font: 600 clamp(55px, 7vw, 105px)/.72 var(--display); letter-spacing: -.04em; }
.industry-visual strong { font-weight: 800; }
.line-art { position: absolute; width: 120%; height: 70%; border: 12px solid var(--blue); transform: skew(-16deg) rotate(-5deg); opacity: .13; }
.line-art::before, .line-art::after { content: ""; position: absolute; inset: 14% -20%; border-top: 9px solid var(--blue); border-bottom: 9px solid var(--blue); }
.line-art::after { inset: 42% -20%; }
.projects { background: white; }
.projects-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: end; margin-bottom: 60px; }
.project-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 410px 410px; gap: 18px; }
.project { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.project-wide { grid-column: 1; }
.project-tall { grid-column: 2; grid-row: 1/3; }
.project:not(.project-wide):not(.project-tall) { display: none; }
.project img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover img { transform: scale(1.025); }
.project figcaption { position: absolute; inset: auto 0 0; padding: 70px 28px 25px; color: white; background: linear-gradient(transparent, rgba(3,29,49,.9)); display: grid; }
.project figcaption span { font: 600 29px var(--display); text-transform: uppercase; }
.project figcaption b { margin-top: 4px; color: var(--yellow); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.process { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--blue); color: white; }
.process-photo img { height: 100%; object-fit: cover; }
.process-copy { padding: clamp(70px, 8vw, 125px); }
.process-copy ol { margin: 60px 0 0; padding: 0; list-style: none; }
.process-copy li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.18); }
.process-copy li > span { color: var(--yellow); font: 600 14px var(--display); }
.process-copy strong { font: 600 27px var(--display); text-transform: uppercase; }
.process-copy li p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.contact { padding: clamp(90px, 12vw, 180px) 24px; text-align: center; background: var(--yellow); }
.contact .eyebrow { color: var(--blue); }
.contact > p:not(.eyebrow) { max-width: 590px; margin: 28px auto; line-height: 1.7; }
.contact-actions { justify-content: center; }
.button-dark { color: white; background: var(--blue-ink); }
.button-outline { border: 1px solid var(--blue-ink); }
.contact address { margin-top: 50px; font-size: 12px; font-style: normal; }
footer { padding: 45px clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; color: white; background: var(--blue-ink); font-size: 11px; }
.footer-brand img { height: 76px; }
@media (max-width: 900px) {
  .header-partners { display: none; }
  .menu-toggle { display: block; border: 0; background: transparent; color: var(--blue); font-weight: 700; text-transform: uppercase; }
  .main-nav { display: none; position: absolute; top: 88px; inset-inline: 0; padding: 28px; background: white; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .hero { min-height: 760px; align-items: end; }
  .hero-content { margin: 0; padding: 90px 24px 180px; width: 100%; }
  .hero-emblem { top: 20px; left: 20px; width: 118px; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,29,49,.98) 10%, rgba(3,29,49,.42) 85%); }
  .hero-stats { width: 100%; }
  .section-intro, .projects-head, .industry, .process { grid-template-columns: 1fr; }
  .section-intro > p:last-child { margin-top: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .service-card + .service-card { border-left: 1px solid var(--line); border-top: 0; }
  .industry-visual { min-height: 380px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 370px 550px; }
  .project-wide, .project-tall { grid-column: 1; grid-row: auto; }
  .process-photo { min-height: 550px; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .door-header { gap: 12px; justify-content: center; font-size: 16px; padding-inline: 8px; }
  .door-logo { top: 55%; width: 68%; max-height: 32%; }
  .site-header { height: 74px; padding-inline: 18px; }
  .header-name strong { font-size: 23px; }
  .header-name span { display: none; }
  .brand img { height: 58px; }
  .main-nav { top: 74px; }
  h1 { font-size: 57px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { display: none; }
  .hero-stats div:first-child { display: grid; min-height: 75px; }
  .hero-content { padding-bottom: 125px; }
  .section { padding-inline: 20px; }
  .section h2, .industry h2, .process h2, .contact h2 { font-size: 49px; }
  .service-card h3 { font-size: 37px; }
  .projects-head { margin-bottom: 36px; }
  .project-grid { grid-template-rows: 290px 480px; }
  .process-copy { padding-inline: 24px; }
  .process-photo { min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .workshop-intro { display: none; }
  body.intro-active { overflow: auto; }
}
