:root {
  --graphite: #16242c;
  --graphite-deep: #0e181e;
  --steel: #324650;
  --gold: #c99a52;
  --gold-light: #e6c48c;
  --ceramic: #f4f2ed;
  --paper: #ffffff;
  --text: #1d2a30;
  --muted: #64727a;
  --line: #d8dedf;
  --max: 1240px;
  --shadow: 0 24px 70px rgba(14, 24, 30, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: inherit;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.018em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 7.4vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.7rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 2.25rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.25rem; }
ul { margin: 0 0 1.5rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .7rem 1rem;
  color: var(--graphite);
  background: var(--paper);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  padding: .85rem max(1.4rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: rgba(22, 36, 44, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: min(310px, 42vw); height: 58px; object-fit: contain; object-position: left center; }
.header-tools { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.main-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); }
.main-nav a {
  position: relative;
  padding: .35rem 0;
  color: rgba(255, 255, 255, .86);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.language-switch { position: relative; z-index: 103; display: flex; align-items: center; gap: .28rem; padding: .34rem .45rem; color: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.22); }
.language-button { min-width: 31px; min-height: 31px; padding: .2rem .35rem; color: rgba(255,255,255,.58); background: transparent; border: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; cursor: pointer; transition: color .2s, background .2s; }
.language-button:hover { color: #fff; }
.language-button.active { color: var(--graphite-deep); background: var(--gold-light); }
.menu-toggle { display: none; padding: .6rem; color: #fff; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; background: currentColor; transition: transform .25s, opacity .25s; }

.hero {
  position: relative;
  min-height: min(810px, calc(100vh - 94px));
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--graphite-deep) center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 17, 21, .93) 0%, rgba(9, 17, 21, .67) 52%, rgba(9, 17, 21, .18) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 7px;
  background: var(--gold);
}
.hero-content {
  width: min(var(--max), calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(5.5rem, 11vw, 9rem) 0;
}
.hero h1 { max-width: 1000px; margin-bottom: 1.2rem; text-wrap: balance; }
.hero p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.82); font-size: clamp(1.04rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lead { max-width: 900px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.75; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: .5rem;
  padding: .8rem 1.35rem;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.button:hover { color: var(--graphite); background: var(--paper); border-color: var(--paper); transform: translateY(-2px); }
.button.secondary { color: var(--graphite); background: transparent; border-color: var(--graphite); }
.button.secondary:hover { color: #fff; background: var(--graphite); }
.button.ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.button.ghost:hover { color: var(--graphite); background: #fff; }

.section {
  width: min(var(--max), calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}
.intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 7vw, 7.5rem); align-items: start; }
.intro h2 { max-width: 620px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { min-height: 180px; padding: 2rem; color: var(--muted); border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; margin-bottom: .4rem; color: var(--graphite); font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; }

.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 max(1.4rem, calc((100vw - var(--max)) / 2)); color: #fff; background: var(--graphite); }
.proof-bar > div { display: flex; align-items: center; gap: 1rem; min-height: 116px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.13); }
.proof-bar > div:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.proof-bar strong { color: var(--gold-light); font-family: "Arial Narrow", Arial, sans-serif; font-size: 2rem; line-height: 1; }
.proof-bar span { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
.section-tint { width: 100%; max-width: none; padding-right: max(1.4rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.4rem, calc((100vw - var(--max)) / 2)); background: var(--ceramic); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3.5rem; background: var(--line); border: 1px solid var(--line); }
.service-grid article { min-height: 310px; padding: clamp(1.7rem, 3vw, 2.8rem); background: #fff; }
.service-grid article > span, .process-grid li > span { display: block; margin-bottom: 2rem; color: var(--gold); font-family: "Arial Narrow", Arial, sans-serif; font-size: 2rem; font-weight: 800; }
.service-grid p, .process-grid p { color: var(--muted); }
.quality-split { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 690px; color: #fff; background: var(--graphite); }
.quality-split > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.quality-split > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.quality-split p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.quality-split .check-list { margin: 1rem 0 2rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 3.5rem 0 0; padding: 0; background: var(--line); border: 1px solid var(--line); list-style: none; }
.process-grid li { min-height: 285px; padding: 2rem; background: #fff; }

.page-hero {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: end start;
  padding: clamp(4rem, 8vw, 7rem) max(1.4rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  overflow: hidden;
  background: radial-gradient(circle at 78% 25%, rgba(201,154,82,.19), transparent 24%), linear-gradient(118deg, var(--graphite-deep), var(--steel));
}
.page-hero::after { content: ""; position: absolute; right: -7vw; width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.page-hero h1 { position: relative; z-index: 1; margin: 0; }

.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; }
.material-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 2rem;
  overflow: hidden;
  color: #fff;
  background: var(--steel) center / cover no-repeat;
  box-shadow: var(--shadow);
  text-decoration: none;
  isolation: isolate;
}
.material-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,16,20,.93), rgba(8,16,20,.02) 70%); transition: background .25s; }
.material-card::after { content: "Mehr erfahren →"; position: absolute; right: 2rem; bottom: 1.7rem; color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: .25s; }
.material-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); transition: transform .25s; }
.material-card > span { position: absolute; bottom: 5.2rem; color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transition: transform .25s; }
.material-card:hover h2 { transform: translateY(-2rem); }
.material-card:hover > span { transform: translateY(-2rem); }
.material-card:hover::after { opacity: 1; transform: none; }

.material-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.article-content { min-width: 0; }
.article-content h2 { margin-top: 2.4rem; }
.article-content h3 { margin-top: 3.2rem; }
.article-content li { margin-bottom: .75rem; padding-left: .4rem; }
.article-content li::marker { color: var(--gold); }
.material-image { width: 100%; max-height: 550px; object-fit: cover; box-shadow: var(--shadow); }
.side-nav { position: sticky; top: 125px; padding: 2rem; color: #fff; background: var(--graphite); }
.side-nav h3 { color: var(--gold-light); font-size: 1.25rem; }
.side-nav a { display: block; padding: .85rem 0; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.side-nav a:hover { color: var(--gold-light); }
.data-table { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .94rem; }
.data-table th { padding: 1rem; color: #fff; background: var(--graphite); text-align: left; vertical-align: top; }
.data-table td { padding: 1rem; border: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--ceramic); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.about-grid > img { width: 100%; min-height: 590px; object-fit: cover; box-shadow: var(--shadow); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; margin-right: .65rem; color: var(--gold); font-weight: 900; }
.section.dark { width: 100%; max-width: none; padding-right: max(1.4rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.4rem, calc((100vw - var(--max)) / 2)); color: #fff; background: var(--graphite); }
.dark .lead { color: rgba(255,255,255,.72); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.stat { padding: 2rem 1rem 1rem 0; color: rgba(255,255,255,.68); }
.stat strong { display: block; color: var(--gold-light); font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }

.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 700px; }
.contact-image { min-height: 520px; background: var(--steel) url("assets/generated/projektanfrage.webp") center / cover no-repeat; }
.contact-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); color: #fff; background: var(--graphite); }
.contact-panel p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.72); }
.contact-list { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-list span { color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }

.legal { max-width: 900px; }
.legal h2 { margin-top: 2.5rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.legal h3 { margin-top: 2rem; font-size: 1.45rem; }
.legal a { color: #8b622b; }
.caps { font-size: .9rem; font-weight: 700; text-transform: uppercase; }

.cta { padding: clamp(4.5rem, 8vw, 7rem) max(1.4rem, calc((100vw - var(--max)) / 2)); color: #fff; background: linear-gradient(110deg, var(--graphite-deep), var(--steel)); }
.cta h2 { max-width: 940px; }
.cta > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.72); }
.cta .button { color: var(--graphite); background: var(--gold-light); border-color: var(--gold-light); }

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: 3.8rem max(1.4rem, calc((100vw - var(--max)) / 2));
  color: rgba(255,255,255,.62);
  background: var(--graphite-deep);
  font-size: .9rem;
}
.footer-brand { display: inline-block; margin-bottom: 1rem; }
.footer-brand img { width: 270px; height: 54px; object-fit: contain; object-position: left center; }
.site-footer nav { display: flex; flex-direction: column; gap: .45rem; }
.site-footer nav a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer > p { margin: 0; text-align: right; }
.noscript { margin: 0; padding: 1rem; color: #fff; background: #8b3a2f; text-align: center; }

@media (max-width: 1024px) {
  .site-header { min-height: 82px; }
  .brand img { height: 50px; }
  .hero { min-height: min(740px, calc(100vh - 82px)); }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .material-card { min-height: 370px; }
  .material-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 2.5rem; }
  .about-grid > img { min-height: 480px; }
  .contact-grid { min-height: 620px; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.13); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: clamp(2.7rem, 12vw, 5.2rem); }
  h2 { font-size: clamp(2rem, 9vw, 3.8rem); }
  .site-header { min-height: 76px; padding-top: .6rem; padding-bottom: .6rem; backdrop-filter: none; }
  .brand img { width: min(195px, 52vw); height: 46px; }
  .header-tools { gap: .45rem; }
  .language-switch { padding: .2rem .3rem; }
  .language-button { min-width: 27px; min-height: 29px; padding: .1rem .25rem; }
  .menu-toggle { position: relative; z-index: 102; display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.15rem;
    padding: 6rem 10vw;
    background: rgba(14,24,30,.99);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s, visibility .25s;
  }
  .main-nav a { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .menu-open .main-nav { visibility: visible; opacity: 1; }
  .menu-open .menu-toggle span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .hero { min-height: calc(100svh - 76px); }
  .hero-content { width: min(var(--max), calc(100% - 2.2rem)); padding: 4.5rem 0; }
  .hero::before { background: linear-gradient(90deg, rgba(9,17,21,.92), rgba(9,17,21,.52)); }
  .section { width: min(var(--max), calc(100% - 2.2rem)); }
  .intro, .about-grid, .contact-grid, .section-heading, .quality-split { grid-template-columns: 1fr; }
  .facts, .stats { grid-template-columns: 1fr; }
  .fact { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .material-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; order: -1; }
  .side-nav a { display: inline-block; margin-right: 1rem; }
  .about-grid > img { min-height: 390px; }
  .contact-image { min-height: 420px; }
  .contact-panel { padding: 4rem 1.4rem; }
  .quality-split > img { min-height: 420px; }
  .quality-split > div { padding: 4rem 1.4rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; align-items: start; }
  .site-footer > p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  h1, h2, h3, h4, .eyebrow {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  .intro > *, .section-heading > *, .material-grid > *, .service-grid > *, .quality-split > *, .contact-grid > * { min-width: 0; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .page-hero { min-height: 260px; }
  .material-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar > div, .proof-bar > div:first-child, .proof-bar > div:nth-child(3) { min-height: 86px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .material-card { min-height: 330px; }
  .check-list { grid-template-columns: 1fr; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { margin-bottom: 1rem; border: 1px solid var(--line); }
  .data-table td { display: grid; grid-template-columns: 42% 58%; border: 0; border-bottom: 1px solid var(--line); }
  .data-table td::before { content: attr(data-label); padding-right: .7rem; color: var(--graphite); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .contact-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: auto; }
  .footer-brand img { width: min(270px, 80vw); }
}

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