:root {
  --ink: #111315;
  --ink-soft: #1b1e20;
  --lime: #b7dd19;
  --lime-bright: #c9f01f;
  --blue: #1269a9;
  --paper: #f2f0e9;
  --paper-cool: #e8eceb;
  --white: #fff;
  --muted: #6c706f;
  --line: rgba(17,19,21,.15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: #fff; }
.skip-link:focus-visible { width: auto; height: auto; padding: 10px 14px; overflow: visible; clip-path: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 104px; padding: 15px clamp(24px,4vw,72px); }
.brand { display: grid; place-items: center; width: 108px; height: 74px; border-radius: 4px; background: rgba(255,255,255,.95); box-shadow: 0 10px 34px rgba(0,0,0,.12); }
.brand img { width: 88px; height: 60px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 3px; padding: 7px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 12px 34px rgba(0,0,0,.14); backdrop-filter: blur(12px); }
.main-nav a { padding: 11px clamp(12px,1.4vw,22px); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .035em; transition: color .2s ease, background .2s ease; }
.main-nav a:hover { color: #365000; background: rgba(183,221,25,.2); }
.main-nav .nav-contact { color: #fff; background: var(--ink); }
.main-nav .nav-contact:hover { color: var(--ink); background: var(--lime); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 48% 52%; grid-template-rows: 1fr auto; overflow: hidden; background: var(--paper); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 120px clamp(34px,7vw,118px) 54px; }
.kraiburg-mark { width: min(360px,78%); height: auto; margin-bottom: clamp(28px,3vw,44px); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: #547100; font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(62px,6vw,100px); line-height: .88; letter-spacing: -.07em; }
.hero h1 span { position: relative; display: inline-block; z-index: 1; }
.hero h1 span::after { content: ""; position: absolute; z-index: -1; left: -.02em; right: -.08em; bottom: .04em; height: .23em; background: var(--lime); }
.hero-lead { max-width: 590px; margin: 30px 0 34px; color: var(--muted); font-size: clamp(18px,1.5vw,23px); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-dark { color: #fff; background: var(--ink); }
.button-light { color: var(--ink); background: #fff; }
.button-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-visual { position: relative; min-height: 100%; overflow: hidden; background: #272b2b; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(17,19,21,.08),rgba(17,19,21,.02) 50%,rgba(17,19,21,.36)); }
.hero-stamp { position: absolute; right: clamp(22px,4vw,64px); bottom: 98px; display: flex; align-items: center; gap: 12px; padding: 13px 19px; color: var(--ink); background: var(--lime); }
.hero-stamp strong { font-size: 34px; line-height: 1; }
.hero-stamp span { font-size: 10px; font-weight: 850; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.hero-caption { position: absolute; left: 30px; bottom: 94px; margin: 0; color: rgba(255,255,255,.85); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts { grid-column: 1 / -1; z-index: 3; display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid rgba(255,255,255,.18); color: #fff; background: var(--ink); }
.hero-facts span { display: grid; place-items: center; min-height: 72px; border-right: 1px solid rgba(255,255,255,.14); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero-facts span:last-child { border-right: 0; }

.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px,8vw,150px); align-items: end; padding: clamp(100px,13vw,190px) clamp(24px,7vw,120px); }
.intro h2, .section-heading h2, .applications-heading h2, .catalogs-heading h2, .contact-section h2 { margin: 0; font-size: clamp(48px,6vw,88px); line-height: .96; letter-spacing: -.06em; }
.intro-copy { max-width: 620px; color: var(--muted); font-size: clamp(17px,1.35vw,21px); line-height: 1.65; }
.intro-copy p { margin: 0; }
.intro-copy p + p { margin-top: 22px; }

.systems-section { padding: clamp(100px,11vw,170px) clamp(12px,2vw,32px); color: #fff; background: var(--ink); }
.systems-section .section-kicker { color: var(--lime); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 0 clamp(12px,5vw,88px) clamp(46px,6vw,84px); }
.section-heading > p { max-width: 320px; margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.55; }
.systems-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 430px; gap: 10px; }
.system-card { position: relative; grid-column: span 5; margin: 0; padding: 0; overflow: hidden; border: 0; cursor: pointer; color: #fff; background: #303536; text-align: left; }
.system-card-wide { grid-column: span 7; }
.system-card-full { grid-column: span 12; }
.system-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.system-card:hover img, .system-card:focus-visible img { transform: scale(1.035); filter: saturate(1.08); }
.thermobridge-card img { width: 180%; max-width: none; transform: translateX(-44%); }
.thermobridge-card:hover img, .thermobridge-card:focus-visible img { transform: translateX(-44%) scale(1.035); }
.thermobridge-card .system-overlay strong { font-size: clamp(27px,2.55vw,42px); }
.system-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.system-overlay { position: absolute; inset: auto 0 0; display: grid; min-height: 165px; align-content: end; padding: 60px 28px 26px; background: linear-gradient(0deg,rgba(10,11,12,.88),rgba(10,11,12,.02)); }
.system-overlay small { margin-bottom: 8px; color: var(--lime-bright); font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.system-overlay strong { font-size: clamp(31px,3vw,48px); line-height: 1; letter-spacing: -.045em; }
.system-overlay em { margin-top: 7px; color: rgba(255,255,255,.7); font-size: 13px; font-style: normal; }
.source-note { max-width: 780px; margin: 24px auto 0; color: rgba(255,255,255,.42); font-size: 10px; line-height: 1.5; text-align: center; }

.applications { padding: clamp(105px,13vw,190px) clamp(18px,4vw,70px); background: var(--paper-cool); }
.applications-heading { padding: 0 clamp(6px,3vw,50px) clamp(50px,6vw,90px); }
.application-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 410px; gap: 10px; }
.application-card { position: relative; grid-column: span 5; overflow: hidden; background: #ccd0cb; }
.application-card.app-large { grid-column: span 7; }
.application-card.app-wide { grid-column: span 7; }
.application-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.application-card:hover img { transform: scale(1.025); }
.application-card > div { position: absolute; inset: auto 0 0; padding: 58px 26px 25px; color: #fff; background: linear-gradient(0deg,rgba(10,12,12,.8),transparent); }
.application-card span { color: var(--lime-bright); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.application-card h3 { margin: 8px 0 0; font-size: clamp(25px,2.6vw,42px); line-height: 1.04; letter-spacing: -.04em; }

.catalogs-section { padding: clamp(105px,13vw,190px) clamp(24px,7vw,120px); }
.catalogs-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px,7vw,120px); align-items: end; margin-bottom: clamp(52px,7vw,92px); }
.catalogs-heading > p { max-width: 520px; margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.catalog-card { min-height: 310px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.48); transition: transform .25s ease, background .25s ease; }
.catalog-card:hover { transform: translateY(-4px); background: #fff; }
.catalog-card-featured { border-color: rgba(109,130,12,.52); background: rgba(183,221,25,.12); }
.catalog-card > span { color: #6d820c; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.catalog-card strong { margin-top: auto; font-size: clamp(28px,2.4vw,39px); letter-spacing: -.045em; }
.catalog-card small { margin: 10px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.catalog-card b { padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; }

.contact-section { padding: clamp(110px,14vw,210px) clamp(24px,8vw,140px); color: #fff; text-align: center; background: var(--blue); }
.contact-section .section-kicker { color: #d9f469; }
.contact-section h2 { max-width: 1100px; margin-inline: auto; }
.contact-section > p:not(.section-kicker) { max-width: 720px; margin: 34px auto; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.65; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contact-section address { margin-top: 38px; color: rgba(255,255,255,.65); font-size: 13px; font-style: normal; }
footer { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: center; padding: 34px clamp(24px,4vw,72px); border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .04em; }
footer a { text-decoration: none; font-weight: 900; letter-spacing: .12em; }
footer p { margin: 0; color: var(--muted); }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }
.mobile-call { display: none; }

.system-dialog { width: min(1180px,calc(100% - 48px)); max-width: none; max-height: min(840px,calc(100% - 48px)); padding: 0; border: 0; overflow: hidden; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.system-dialog[open] { display: grid; grid-template-columns: 1.08fr .92fr; }
.system-dialog::backdrop { background: rgba(5,7,7,.83); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 3; top: 18px; right: 18px; width: 45px; height: 45px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.95); font-size: 27px; }
.dialog-visual { min-height: 680px; overflow: hidden; background: #292d2e; }
.dialog-visual img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { align-self: center; padding: clamp(42px,5.5vw,78px); overflow-y: auto; }
.dialog-label { margin: 0; color: #617900; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.dialog-copy h2 { margin: 18px 0; font-size: clamp(45px,5vw,72px); line-height: .95; letter-spacing: -.06em; }
.dialog-description { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.58; }
.dialog-products { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 30px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-products span { padding: 9px 12px; border-radius: 999px; color: var(--ink); background: rgba(183,221,25,.3); font-size: 11px; font-weight: 800; }
.dialog-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 960px) {
  .site-header { min-height: 88px; padding: 12px 18px; }
  .brand { width: 88px; height: 60px; }
  .brand img { width: 72px; height: 50px; }
  .menu-toggle { position: relative; z-index: 42; display: grid; align-content: center; gap: 7px; width: 50px; height: 50px; padding: 0 13px; border: 1px solid rgba(17,19,21,.28); border-radius: 50%; background: rgba(255,255,255,.66); backdrop-filter: blur(8px); }
  .menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] { color: #fff; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 40; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 100px 26px 50px; border: 0; border-radius: 0; background: var(--paper-cool); box-shadow: none; backdrop-filter: none; transform: translateX(100%); transition: transform .32s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 25px; letter-spacing: -.03em; }
  .main-nav .nav-contact { margin-top: 20px; padding: 16px 22px; border: 0; border-radius: 999px; text-align: center; font-size: 15px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(430px,50vh) auto; }
  .hero-copy { padding: 125px 28px 78px; }
  .hero-visual { min-height: 500px; }
  .hero-facts { grid-template-columns: repeat(3,1fr); }
  .hero-facts span:nth-child(3) { border-right: 0; }
  .hero-facts span:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .intro { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { flex-direction: column; align-items: start; }
  .systems-grid { grid-auto-rows: 360px; }
  .system-card,.system-card-wide { grid-column: span 6; }
  .system-card-full { grid-column: span 12; }
  .application-grid { grid-auto-rows: 350px; }
  .application-card,.application-card.app-large,.application-card.app-wide { grid-column: span 6; }
  .catalogs-heading { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
  footer { grid-template-columns: 1fr; text-align: center; padding-bottom: 94px; }
  footer p:nth-child(2),footer p:last-child { text-align: center; }
  .system-dialog[open] { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
  .dialog-visual { min-height: min(50vh,520px); }
  .dialog-copy { align-self: start; }
}

@media (max-width: 620px) {
  .hero-copy { padding: 112px 20px 64px; }
  .kraiburg-mark { width: 250px; margin-bottom: 42px; }
  .hero h1 { font-size: 16vw; }
  .hero-lead { font-size: 18px; }
  .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-stamp { right: 14px; bottom: 56px; }
  .hero-caption { left: 18px; bottom: 18px; }
  .hero-facts span { min-height: 58px; font-size: 9px; }
  .intro { padding: 88px 22px; }
  .intro h2,.section-heading h2,.applications-heading h2,.catalogs-heading h2,.contact-section h2 { font-size: clamp(43px,12.5vw,58px); }
  .systems-section { padding-inline: 8px; }
  .section-heading { padding: 0 14px 38px; }
  .systems-grid { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .systems-grid::-webkit-scrollbar { display: none; }
  .system-card,.system-card-wide,.system-card-full { flex: 0 0 84vw; height: 62vh; min-height: 470px; max-height: 610px; scroll-snap-align: center; }
  .source-note { padding-inline: 14px; text-align: left; }
  .applications { padding: 88px 8px; }
  .applications-heading { padding: 0 14px 40px; }
  .application-grid { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .application-grid::-webkit-scrollbar { display: none; }
  .application-card,.application-card.app-large,.application-card.app-wide { flex: 0 0 82vw; height: 540px; scroll-snap-align: center; }
  .catalogs-section { padding: 88px 16px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 270px; }
  .contact-section { padding: 96px 22px 118px; }
  .contact-actions { display: grid; }
  .mobile-call { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 14px 20px; color: var(--ink); background: var(--lime); border-radius: 999px; box-shadow: 0 14px 40px rgba(0,0,0,.28); text-decoration: none; font-size: 14px; font-weight: 850; }
  .system-dialog { width: 100%; height: 100%; max-height: 100%; margin: 0; }
  .dialog-visual { min-height: 42vh; }
  .dialog-copy { padding: 36px 22px 100px; }
  .dialog-copy h2 { font-size: 48px; }
  .system-dialog[data-system="thermobridge"] .dialog-copy h2 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
