:root{
  --navy-dark:#081B33;
  --navy:#0E3B63;
  --blue:#1B5A94;
  --blue-light:#6FA3CC;
  --orange:#E8720C;
  --white:#FFFFFF;
  --bg-soft:#F4F7FA;
  --text-body:#1a2b3d;
  --text-muted:#33475b;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:Calibri,'Segoe UI',Helvetica,Arial,sans-serif;
  color:var(--text-body);
  background:var(--white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:Arial,Helvetica,sans-serif;
  font-weight:700;
  color:var(--navy);
  margin:0;
}
a{color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px;}

/* language toggle visibility */
html[data-lang="de"] [lang="en"]{display:none;}
html[data-lang="en"] [lang="de"]{display:none;}

/* ---- top bar ---- */
.topbar{
  position:sticky;top:0;z-index:50;
  background:var(--navy-dark);
  border-bottom:2px solid var(--orange);
}
.topbar .wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:56px;
}
.topbar .brand{display:flex;align-items:center;gap:10px;text-decoration:none;}
.topbar .brand img{height:28px;width:auto;}
.topbar nav{display:flex;align-items:center;gap:22px;}
.topbar nav a{
  color:#D6E3EE;text-decoration:none;font-size:14px;font-weight:700;
  letter-spacing:.2px;
}
.topbar nav a:hover{color:var(--white);}
.lang-toggle{
  display:flex;border:1px solid rgba(255,255,255,.35);border-radius:20px;overflow:hidden;
  font-size:12px;font-weight:700;
}
.lang-toggle button{
  background:transparent;border:none;color:#D6E3EE;padding:6px 12px;cursor:pointer;
  font-family:inherit;font-size:12px;font-weight:700;
}
html[data-lang="de"] .lang-toggle .btn-de,
html[data-lang="en"] .lang-toggle .btn-en{
  background:var(--orange);color:var(--white);
}
.nav-links{display:none;}
@media(min-width:800px){.nav-links{display:flex;align-items:center;gap:22px;}}

/* ---- hero ---- */
.hero{
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  color:var(--white);
  padding:40px 0 48px;
  position:relative;
  overflow:hidden;
}
.hero-decor{display:none;position:relative;}
.hero-hex-bg{
  position:absolute;inset:0;width:100%;height:100%;
  pointer-events:none;
}
.hero-sketch-bg{
  position:absolute;right:0;top:65%;transform:translateY(-50%);
  width:740px;max-width:none;aspect-ratio:1000/271;
  background-image:url('process-sketch.jpg');
  background-size:contain;background-repeat:no-repeat;background-position:center;
  filter:invert(1) brightness(0.85);
  opacity:0.34;
  mix-blend-mode:screen;
  -webkit-mask-image:radial-gradient(ellipse 62% 68% at 55% 50%, #000 45%, transparent 88%);
  mask-image:radial-gradient(ellipse 62% 68% at 55% 50%, #000 45%, transparent 88%);
  pointer-events:none;
}
.hero-inner{display:flex;flex-wrap:wrap;gap:36px;align-items:center;position:relative;}
.hero-text{flex:1 1 380px;min-width:280px;max-width:640px;position:relative;}
@media(min-width:701px){
  .hero-text{order:2;}
  .hero-visual{order:1;}
}
.hero .wrap{max-width:1300px;}
@media(min-width:1100px){
  .hero-decor{
    display:block;order:3;flex:0 1 340px;max-width:380px;min-width:200px;
    align-self:stretch;
  }
}
.hero h1{color:var(--white);font-size:clamp(24px,3.4vw,32px);margin-bottom:14px;line-height:1.25;}
.kicker-light{color:var(--blue-light) !important;}
.hero .subtitle{font-size:16px;color:#D6E3EE;line-height:1.45;margin-bottom:16px;max-width:580px;}
.hero .tagline{font-size:14px;font-style:italic;color:var(--orange);margin-bottom:18px;max-width:540px;}
.hero-person{
  font-size:14px;font-weight:700;color:var(--white);margin-bottom:18px;
  max-width:560px;
}
.hero .contact-line{
  display:flex;flex-wrap:wrap;gap:18px;margin-bottom:22px;font-size:15px;
}
.hero .contact-line a{
  color:var(--white);text-decoration:none;font-weight:700;
  display:inline-flex;align-items:center;gap:6px;
}
.hero .contact-line a:hover{color:var(--orange);}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px;}
.btn{
  display:inline-block;padding:11px 22px;border-radius:3px;font-weight:700;font-size:14px;
  text-decoration:none;border:2px solid var(--orange);
}
.btn-primary{background:var(--orange);color:var(--white);}
.btn-secondary{background:transparent;color:var(--white);}
/* ---- hero visual: hex stat tiles (honeycomb layout) ---- */
.hero-visual{flex:0 0 auto;width:250px;margin:0 auto;position:relative;}
.hero-hex-stats{
  position:relative;width:100%;aspect-ratio:227.5/325;
}
.hex-tile{position:absolute;width:57.14%;aspect-ratio:1/1;}
.hero-hex-stats .hex-tile:nth-child(1){left:0%;top:0%;}
.hero-hex-stats .hex-tile:nth-child(2){left:42.86%;top:20%;}
.hero-hex-stats .hex-tile:nth-child(3){left:0%;top:40%;}
.hero-hex-stats .hex-tile:nth-child(4){left:42.86%;top:60%;}
.hex-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.hex-shape polygon{stroke-width:3px;paint-order:stroke;vector-effect:non-scaling-stroke;}
.hex-c1 .hex-shape polygon{fill:rgba(111,163,204,.18);stroke:var(--blue-light);}
.hex-c2 .hex-shape polygon{fill:rgba(232,114,12,.16);stroke:var(--orange);}
.hex-c3 .hex-shape polygon{fill:rgba(255,255,255,.13);stroke:var(--white);}
.hex-c4 .hex-shape polygon{fill:rgba(27,90,148,.32);stroke:var(--blue);}
.hex-content{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:10px 14px;
  animation:textFade 6s ease-in-out infinite;
}
.hero-hex-stats .hex-tile:nth-child(1) .hex-content{animation-delay:0s;}
.hero-hex-stats .hex-tile:nth-child(2) .hex-content{animation-delay:1.4s;}
.hero-hex-stats .hex-tile:nth-child(3) .hex-content{animation-delay:2.8s;}
.hero-hex-stats .hex-tile:nth-child(4) .hex-content{animation-delay:.7s;}
@keyframes textFade{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}
@media(prefers-reduced-motion:reduce){
  .hex-content{animation:none;}
}
.hex-num{
  font-size:26px;font-weight:700;color:var(--white);line-height:1;
  font-family:Arial,Helvetica,sans-serif;
}
.hex-lbl{font-size:10.5px;color:#D6E3EE;line-height:1.25;margin-top:5px;}

/* ---- sections generic ---- */
section{padding:52px 0;}
.section-head{max-width:640px;margin:0 auto 32px;text-align:center;}
.section-head h2{font-size:26px;margin-bottom:10px;}
.section-head p{color:var(--text-muted);font-size:15px;margin:0;}
.process-credit{font-size:12px;color:var(--text-muted);font-style:italic;margin-top:8px !important;}
.bg-soft{background:var(--bg-soft);}

/* ---- marke & werte ---- */
.values-grid{display:grid;grid-template-columns:1fr;gap:26px;}
@media(min-width:640px){.values-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1000px){.values-grid{grid-template-columns:repeat(4,1fr);}}
.value-tile{text-align:center;padding:6px 12px;}
.value-icon{width:38px;height:auto;margin:0 auto 14px;}
.value-tile h3{font-size:15px;margin-bottom:8px;}
.value-tile p{font-size:13px;color:var(--text-muted);line-height:1.5;margin:0;}

/* ---- about / kernkompetenzen ---- */
.about-intro-row{display:flex;gap:26px;align-items:center;margin-bottom:36px;flex-wrap:wrap;}
.about-photo{
  flex:0 0 auto;width:100px;height:100px;border-radius:50%;overflow:hidden;
  border:3px solid var(--white);box-shadow:0 2px 10px rgba(8,27,51,.15);
}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.about-intro-text{flex:1 1 380px;text-align:left;}
.about-intro-text h2{margin-bottom:8px;}
.about-intro-text p{margin:0;color:var(--text-muted);font-size:15px;max-width:640px;}
@media(max-width:600px){.about-intro-row{flex-direction:column;text-align:center;}
  .about-intro-text{text-align:center;}
  .about-intro-text p{margin:0 auto;}
}
.about-grid{display:grid;grid-template-columns:1fr;gap:30px;}
@media(min-width:800px){.about-grid{grid-template-columns:1.1fr .9fr;}}
.about-intro p{font-size:15px;color:var(--text-muted);line-height:1.6;margin:0 0 16px;}
.about-usp{
  background:var(--white);border-left:4px solid var(--orange);
  box-shadow:0 1px 4px rgba(8,27,51,.08);padding:16px 18px;font-size:13.8px;color:var(--text-muted);
}
.about-usp strong{color:var(--navy);}
.about-quote{
  margin:30px 0 0;padding:16px 20px;border-left:4px solid var(--orange);
  background:var(--bg-soft);
}
.about-quote p{font-size:13.8px;color:var(--text-muted);line-height:1.6;margin:0 0 8px;}
.about-quote p:last-child{margin-bottom:0;}
.competence-list{list-style:none;margin:0 0 24px;padding:0;}
.competence-list li{
  position:relative;padding-left:24px;margin-bottom:10px;font-size:14.5px;color:var(--text-muted);line-height:1.4;
}
.competence-list li::before{
  content:"";position:absolute;left:0;top:7px;width:9px;height:9px;background:var(--orange);
}
.career{border-top:1px solid #dde5ec;padding-top:18px;}
.career-item{margin-bottom:14px;}
.career-item:last-child{margin-bottom:0;}
.career-item .years{font-weight:700;color:var(--navy);font-size:13.5px;}
.career-item p{margin:2px 0 0;font-size:13.5px;color:var(--text-muted);line-height:1.4;}
.kicker{
  font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--blue);
  margin-bottom:8px;
}

/* ---- services ---- */
.services-grid{display:grid;grid-template-columns:1fr;gap:22px;}
@media(min-width:800px){.services-grid{grid-template-columns:repeat(3,1fr);}}
.service-card{
  background:var(--white);border-left:4px solid var(--orange);
  box-shadow:0 1px 4px rgba(8,27,51,.08);
  padding:22px 20px;
}
.service-card h3{font-size:16.5px;margin-bottom:12px;line-height:1.3;}
.service-card ul{margin:0;padding-left:18px;}
.service-card li{font-size:13.8px;color:var(--text-muted);margin-bottom:8px;line-height:1.42;}
.service-card li:last-child{margin-bottom:0;}

.more-details{margin-top:14px;border-top:1px dashed #dde5ec;padding-top:10px;}
.more-details summary{
  cursor:pointer;font-size:13px;font-weight:700;color:var(--blue);
  list-style:none;
}
.more-details summary::-webkit-details-marker{display:none;}
.more-details summary::marker{content:"";}
.more-details summary:hover{color:var(--orange);}
.more-details[open] summary{color:var(--orange);margin-bottom:10px;}
.more-details ul{margin:0;padding-left:18px;}
.more-details li{font-size:13.2px;color:var(--text-muted);margin-bottom:7px;line-height:1.42;}
.more-details li:last-child{margin-bottom:0;}

/* ---- ihr nutzen / benefits ---- */
.benefits-block{margin:36px auto 0;}
.benefits-banner{
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  border-radius:4px;
  padding:36px 48px 34px;
}
.benefits-title{font-size:24px;color:var(--white);text-align:center;}
.benefits-title-divider{width:48px;height:3px;background:#C4CDD5;opacity:.8;margin:12px auto 24px;}
.benefits-banner .process-note{
  max-width:720px;margin:12px auto 22px;padding-top:12px;
  border-top:1px solid rgba(255,255,255,.15);
  text-align:center;font-size:12.5px;color:#B9C6D6;font-style:italic;line-height:1.5;
}
.benefits-cols{max-width:960px;margin:0 auto;}
.benefits-banner .competence-list{margin:0;}
.benefits-banner .competence-list li{color:#EAF1F8;margin-bottom:9px;}
@media(min-width:700px){
  .benefits-cols{display:flex;gap:44px;}
  .benefits-cols .competence-list{flex:1 1 0;}
}
@media(max-width:560px){
  .benefits-banner{padding:32px 22px 30px;}
  .benefits-title{font-size:21px;}
}

/* ---- billing note (compact, under Leistungen) ---- */
.billing-note{
  max-width:820px;margin:34px auto 0;padding-top:18px;border-top:1px solid #dde5ec;
  font-size:13.5px;color:var(--text-muted);line-height:1.55;text-align:center;
}
.billing-note strong{color:var(--navy);}

/* ---- process (Vom Konzept zum Bauteil) ---- */
.stat-callout{
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  color:var(--white);border-radius:4px;
  padding:26px 30px;margin-bottom:30px;
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.stat-callout-num{
  font-size:44px;font-weight:700;color:var(--orange);line-height:1;
  font-family:Arial,Helvetica,sans-serif;flex:0 0 auto;
}
.stat-callout p{margin:0;font-size:14.5px;line-height:1.55;color:#D6E3EE;flex:1 1 320px;}
.process-list{display:flex;flex-direction:column;gap:22px;margin-bottom:8px;}
.process-row{
  display:flex;flex-wrap:wrap;gap:0;align-items:center;
  background:var(--white);border-radius:4px;overflow:hidden;
  box-shadow:0 1px 4px rgba(8,27,51,.08);
}
.process-row:nth-child(even){flex-direction:row-reverse;}
.process-img{flex:1 1 340px;min-width:260px;width:100%;height:auto;display:block;}
.process-caption{
  flex:1 1 260px;min-width:230px;padding:18px 24px;
  display:flex;gap:14px;align-items:flex-start;
}
.process-caption .process-num{
  flex:0 0 auto;font-size:20px;font-weight:700;color:var(--blue-light);
  font-family:Arial,Helvetica,sans-serif;line-height:1.2;
}
.process-caption h4{font-size:15px;color:var(--navy);margin-bottom:6px;line-height:1.3;}
.process-caption p{font-size:13.2px;color:var(--text-muted);line-height:1.5;margin:0;}
@media(max-width:560px){
  .process-row, .process-row:nth-child(even){flex-direction:column;}
  .process-img{flex-basis:auto;width:100%;height:auto;}
  .process-caption{flex-basis:auto;padding:6px 18px 20px;}
  .process-stat-num{font-size:24px;white-space:normal;}
  .process-stats{padding:22px 20px;}
  .process-stats-row{gap:32px;}
}
.process-stats{
  margin:40px 0 8px;padding:26px 30px;
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  border-radius:4px;
}
.process-stats-row{display:flex;justify-content:center;gap:72px;flex-wrap:wrap;}
.process-stat{text-align:center;}
.process-stat-num{
  font-size:32px;font-weight:700;color:var(--orange);
  font-family:Arial,Helvetica,sans-serif;line-height:1.15;letter-spacing:-.3px;
  white-space:nowrap;
}
.process-note{
  max-width:720px;margin:14px auto 0;text-align:center;font-size:12.5px;
  color:var(--text-muted);font-style:italic;line-height:1.5;
}

/* ---- brand close (large logo moment before Kontakt) ---- */
.brand-close{background:var(--bg-soft);padding:44px 0;}
.brand-close .wrap{text-align:center;}
.brand-close img{height:96px;width:auto;margin:0 auto 16px;display:block;}
.brand-close p{font-size:13.5px;color:var(--text-muted);font-style:italic;margin:0;}

/* ---- contact ---- */
.contact-box{
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  color:var(--white);border-radius:4px;
  padding:34px 30px;max-width:640px;margin:0 auto;text-align:center;
}
.contact-box .field{font-size:15px;margin-bottom:10px;}
.contact-box .field a{color:var(--white);text-decoration:none;font-weight:700;}
.contact-box .field a:hover{color:var(--orange);}
.contact-box .cta-row{justify-content:center;margin-top:18px;margin-bottom:0;}

/* ---- impressum / datenschutz / agb (legal pages) ---- */
.legal-page{padding:44px 0 60px;}
.legal-page h1{font-size:28px;margin-bottom:6px;}
.legal-page .lang-note{display:block;margin-bottom:26px;}
.legal h2, .legal-page h2{font-size:20px;color:var(--navy);margin:30px 0 12px;}
.legal-page h2:first-of-type{margin-top:0;}
.legal h3, .legal-page h3{font-size:15px;color:var(--navy);margin:22px 0 8px;}
.legal dl, .legal-page dl{display:grid;grid-template-columns:200px 1fr;gap:6px 14px;font-size:14px;margin:0 0 6px;}
@media(max-width:560px){.legal dl, .legal-page dl{grid-template-columns:1fr;}}
.legal dt, .legal-page dt{color:var(--text-muted);font-weight:700;}
.legal dd, .legal-page dd{margin:0;}
.legal p, .legal-page p{font-size:13.8px;color:var(--text-muted);line-height:1.6;margin:0 0 10px;}
.legal-block{margin-bottom:34px;}
.legal-block:last-child{margin-bottom:0;}
.lang-note{font-size:12px;color:var(--blue-light);}
.legal-page .lang-note{color:var(--text-muted);font-style:italic;}
.legal-intro{font-size:13.5px;color:var(--text-muted);margin-bottom:26px;line-height:1.6;}
.back-link{display:inline-block;margin-bottom:22px;font-size:13.5px;font-weight:700;color:var(--blue);text-decoration:none;}
.back-link:hover{color:var(--orange);}

/* ---- footer ---- */
footer{background:var(--navy-dark);color:#B9C7D6;padding:26px 0;}
.footer-inner{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;font-size:12.5px;}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;}
.footer-links a{color:#B9C7D6;text-decoration:none;}
.footer-links a:hover{color:var(--white);}
