:root{
  --navy:#223755; --navy-rgb:34,55,85;
  --light:#e8edf3; --accent:#ff8c00;
  /* header + logo */
  --header-h:120px;
  --logo-max:70px;
  --logo-min:60px;
  --page-max:1520px; --gutter:clamp(14px,3.5vw,40px);
  --copy-size:1rem; --copy-lh:1.6; --copy-w:700;
}

/* Reset minim */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%}
img{max-width:100%;display:block;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
body{
  font-family:"Open Sans",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  background:var(--navy);
  color:#e9eef3;
}
html{scroll-behavior:smooth}

/* Header */
header{
  position:fixed;
  inset:0 0 auto;
  z-index:100;
  background:var(--light);
  border-bottom:1px solid rgba(0,0,0,.15);
  box-shadow:0 6px 20px rgba(0,0,0,.18);
  /* fără height, fără display:flex => se comportă ca înainte */
}
.bar{
  max-width:var(--page-max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:2px var(--gutter);
}
.brand img{
  height:var(--logo-max);
  transition:height .2s ease;
}
nav.menu{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
nav.menu a{
  color:var(--navy);
  font-weight:800;
  letter-spacing:.2px;
}
nav.menu a[aria-current="page"]{color:var(--accent)}

/* Lang dropdown */
.lang{position:relative}
.lang .trigger{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  color:var(--navy);
  padding:.32rem .6rem;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}
.lang .flag{width:18px;height:12px;object-fit:cover}
.lang .list{
  position:absolute;
  right:0;
  top:calc(100% + 6px);
  min-width:190px;
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.14);
  padding:6px;
  display:none;
}
.lang.open .list{display:block}
.lang .list a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  padding:.5rem .6rem;
  border-radius:10px;
}
.lang .list a:hover{background:#f1f5f9}

/* Main spacing: conținutul începe sub header */
main{
  padding-top:var(--header-h);
}

/* Primul HERO imediat sub header, fără gap suplimentar */
main > section.hero:first-of-type{
  margin-top:0;
  padding-top:0;
}

/* Typo utils */
.copy-text{font-size:var(--copy-size);line-height:var(--copy-lh);font-weight:var(--copy-w)}
.copy-text.dark{color:#d6e1f5}
.copy-text.light{color:var(--navy)}

/* HERO */
.hero{
  background:var(--navy);
  color:#fff;
}
.hero .inner{
  max-width:100vw;
  margin:0 auto;
  min-height:calc(100vh - var(--header-h));
  display:grid;
  grid-template-columns:1fr 1fr;
}
.hero .copy{
  background:rgba(var(--navy-rgb),.96);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:clamp(24px,4vw,56px) 0;
}
.hero .copy .box{
  width:100%;
  max-width:760px;
  padding:0 var(--gutter);
}
.hero h1{
  margin:0 0 16px;
  font-size:clamp(28px,4.2vw,56px);
  line-height:1.15;
  color:#eaf2ff;
  font-weight:800;
}
.hero h1 .highlight{
  color:var(--accent);
}
.hero p.lead{
  margin:0 0 18px;
  color:#d6e1f5;
}

/* Lista cu bullets în HERO */
.hero .features{
  margin:18px 0 26px;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.hero .features li{
  display:flex;
  align-items:center;
  gap:14px;
  line-height:1.4;
  font-weight:700;
  color:#e6edf7;
}
.hero .features li::before{
  content:"";
  width:32px;
  height:32px;
  flex:0 0 32px;
  background:url("logo-w.png") center center / contain no-repeat;
  display:block;
}

.hero .btn{
  display:inline-block;
  border:2px solid #fff;
  color:#fff;
  padding:.8rem 1.5rem;
  border-radius:999px;
  font-weight:800;
}
.hero .btn:hover{
  background:#fff;
  color:var(--navy);
}
.hero .media{
  position:relative;
  height:100%; /* umple toată înălțimea .inner */
}

/* imaginile rămân full-cover */
.hero .media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* === SLIDER HERO – doar când .hero-media-slider este folosită === */
.hero-media-slider{
  overflow:hidden;
}
.hero-media-slider .hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .4s ease;
}
.hero-media-slider .hero-slide.active{
  opacity:1;
}
.hero-media-slider .hero-slider-dots{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.hero-media-slider .hero-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:2px solid #ffffff;
  background:rgba(0,0,0,.3);
  padding:0;
  cursor:pointer;
  outline:none;
  appearance:none;
}
.hero-media-slider .hero-dot.active{
  background:var(--accent);        /* portocaliu */
  border-color:var(--accent);      /* portocaliu */
}

@media (max-width:1000px){
  .hero .inner{
    max-width:100vw;
    margin:0 auto;
    height:calc(100vh - var(--header-h)); /* FIX: height, nu min-height */
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .hero .copy{justify-content:flex-start}
  .hero .media{min-height:340px}
}


/* Bands */
.band{padding:44px 0}
.band .container{
  max-width:var(--page-max);
  margin:0 auto;
  padding:0 var(--gutter);
}
.band.dark{
  background:var(--navy);
  color:#e9eef3;
}
.band.light{
  background:var(--light);
  color:var(--navy);
}
.band.light a{color:var(--navy)}
.band.light a:hover{color:var(--accent)}

h1,h2,h3{
  margin:0 0 12px 0;
  font-weight:800;
  color:inherit;
}

/* Combo grid */
.combo{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  align-items:start;
}
.about{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:16px;
  align-items:start;
}
.about .media{
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.about .media img{
  width:100%;
  height:120px;
  object-fit:cover;
  object-position:center;
}
.about h1{
  margin:0 0 8px 0;
  font-size:24px;
  color:var(--accent);
}
.values-hero{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:16px;
  align-items:start;
}
.values-hero .hero-img{
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.values-hero .hero-img img{
  width:100%;
  height:120px;
  object-fit:cover;
}
.values-hero h2{
  color:var(--accent);
  margin:0 0 8px 0;
  font-size:24px;
}
.bullets{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}
.chip{
  border:2px solid currentColor;
  color:var(--navy);
  border-radius:999px;
  padding:.45rem .9rem;
  font-weight:800;
  white-space:nowrap;
  background:transparent;
}

/* Values cards */
.values-grid{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}
.v-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:var(--light);
  display:grid;
  grid-template-rows:120px auto;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.v-thumb{position:relative;background:var(--light)}
.v-thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.v-body{
  padding:14px;
  text-align:center;
  color:var(--navy);
}
.v-body h3{
  margin:0 0 6px 0;
  color:var(--accent);
  font-weight:800;
}
.v-body p{
  border:2px solid var(--navy);
  color:var(--navy);
  border-radius:999px;
  padding:.5rem 1rem;
  font-weight:800;
  display:inline-block;
  background:transparent;
  margin-top:6px;
}

/* Map section in stil “split” */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}
.split .media{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.split .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Hărți – cadru și dimensiuni */
.split .media.map{
  aspect-ratio:4 / 3;
  max-width:420px;
  margin-inline:auto;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.split .media.map .map-img{
  width:100%;
  height:100%;
  object-position:center;
  transform-origin:center;
  transition:transform .3s ease;
}

/* Harta internațională – mai mult zoom */
.media.map.map-intl{
  max-width:800px;
  aspect-ratio:16 / 9;
}
.map-intl .map-img{
  object-fit:cover;
  object-position:center 60%;
  transform:scale(1.35);
}

/* Harta DE – zoom */
.map-de .map-img{
  transform:translateY(+2%) scale(1.6);
}

/* Harta FR – zoom */
.map-fr .map-img{
  transform:translateY(+5%) scale(1.3);
}

/* Copy în split */
.split .copy{
  display:flex;
  align-items:center;
}
.split .copy .box{padding:0}

@media (max-width:1000px){
  .combo,.split{grid-template-columns:1fr}
}

/* Zoom generic pe map container */
.map-container{overflow:hidden;}
.map-container .map-img{
  transform:scale(1.2);
  transform-origin:center;
}

/* Sustainability */
.sustain-frame{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:18px;
  align-items:center;
}
.band.light .s-text{
  background:transparent;
  border:1px solid rgba(0,0,0,.18);
  border-radius:16px;
  padding:18px;
  color:var(--navy);
}
.band.light .s-text h2{color:var(--accent)}
.band.light .s-text p{
  color:var(--navy);
  margin:0 0 10px 0;
  font-weight:var(--copy-w);
  line-height:var(--copy-lh);
  font-size:var(--copy-size);
}
.s-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}
.s-chips .chip{
  color:var(--navy);
  border-color:var(--navy);
}
.s-img{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  height:300px;
}
.s-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
@media (max-width:900px){
  .sustain-frame{grid-template-columns:1fr}
  .s-img{height:220px}
}

/* Footer */
footer{
  background:#20364f;
  color:#e9eef3;
  border-top:1px solid rgba(0,0,0,.15);
  padding:40px var(--gutter) 16px;
  font-size:15px;
}
footer .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
  max-width:var(--page-max);
  margin:0 auto;
}
footer img{
  height:100px;
  width:auto;
  margin-bottom:10px;
}
footer h4{
  color:#ff8c00;
  margin:0 0 8px 0;
}
footer p,
footer a{
  color:#e9eef3;
  text-decoration:none;
}
footer small{
  display:block;
  text-align:center;
  margin-top:20px;
  color:#cbd5e1;
  font-weight:600;
}

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(24px) scale(.98);
  filter:blur(4px);
  transition:transform .6s ease,opacity .6s ease,filter .6s ease;
}
.reveal.show{
  opacity:1;
  transform:none;
  filter:none;
}
@media (prefers-reduced-motion:reduce){
  .reveal{
    opacity:1;
    transform:none;
    filter:none;
    transition:none;
  }
}

/* ===== LEGAL PAGES ===== */
body.legal{background:#e9eef3}
.legal-hero{
  background:#20364f;
  color:#fff;
  padding:56px 20px;
  margin:0 0 24px;
}
.legal-hero .wrap{
  max-width:1100px;
  margin:0 auto;
}
.legal-hero h1{
  font:800 44px/1.1 "Open Sans",system-ui;
  margin:0;
}

/* Grid conținut + carduri */
.legal-grid{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}
.legal-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:22px;
  box-shadow:0 6px 18px rgba(16,24,40,.06);
}
.legal-card h2,
.legal-card h3{
  margin:.3rem 0 .2rem;
  color:#0f2741;
}
.legal-card p,
.legal-card li{
  color:#20364f;
  line-height:1.6;
}
.legal-muted{color:#6b7a8c}

/* Hartă legal */
.legal-map iframe{
  width:100%;
  height:520px;
  border:0;
  border-radius:14px;
}
@media (max-width:1000px){
  .legal-grid{grid-template-columns:1fr}
  .legal-map{order:2}
}

/* ===== Linkuri accesibile ===== */
.menu a{
  position:relative;
  text-decoration:none;
  color:#0f2741;
  padding:.4rem .6rem;
  border-radius:8px;
  transition:background .15s ease,color .15s ease;
}
.menu a:hover,
.menu a:focus{
  background:rgba(255,255,255,.55);
  outline:0;
}
.menu a:focus-visible{
  outline:3px solid #ff8c00;
  outline-offset:2px;
}
.menu a[aria-current="page"]{
  color:#ff8c00;
  background:transparent;
  font-weight:800;
}

/* Linkuri în corp */
a{
  color:#ff8c00;
  text-decoration:underline;
  text-underline-offset:2px;
}
a:hover,
a:focus{text-decoration-thickness:2px}
a:focus-visible{
  outline:3px solid #ff8c00;
  outline-offset:2px;
  border-radius:6px;
}

/* Footer links – stil unificat */
footer .grid a,
footer p a,
footer a{
  color:#e9eef3;
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:transparent!important;
  cursor:pointer;
}
footer .grid a:hover,
footer p a:hover{
  color:#ff8c00!important;
  text-decoration:none!important;
}
footer .grid a:visited,
footer .grid a:focus,
footer .grid a:active{
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
footer .grid a[aria-current="page"]{
  color:#ffffff!important;
  font-weight:800!important;
}

/* ============================
   SECTIUNE "UNSERE KOMPETENZEN"
   ============================ */
.kompetenzen-block{
  background:#e6edf4;
  padding:70px 0 80px 0;
  margin-top:60px;
}
.kompetenzen-block .container{
  max-width:var(--page-max);
  margin:0 auto;
  padding:0 var(--gutter);
}
.kompetenzen-block h2{
  text-align:center;
  font-size:32px;
  font-weight:800;
  color:#0d1b34;
  margin-bottom:18px;
}
.kompetenzen-block .intro{
  max-width:840px;
  margin:0 auto 40px;
  text-align:center;
  font-size:16px;
  line-height:1.6;
  color:#0d1b34;
  font-weight:700;
}
.kompetenzen-block .service-icons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:90px;
}
.kompetenzen-block .service-card{
  text-align:center;
  width:240px;
  filter:none !important;
  opacity:1 !important;
  transform:none !important;
}
.kompetenzen-block .service-card::before{
  content:none !important;
  display:none !important;
}
.kompetenzen-block .service-card img{
  width:90px;
  height:90px;
  margin:0 auto 20px;
  display:block;
}
.kompetenzen-block .service-card h4{
  color:#0d2741;
  font-weight:800;
  font-size:18px;
  line-height:1.35;
  margin:0 0 12px 0;
}
.kompetenzen-block .service-card p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:#0d2741;
  font-weight:400;
  max-width:230px;
  margin-inline:auto;
  text-align:left;
}
@media (max-width:1024px){
  .kompetenzen-block .service-icons{gap:50px;}
}
@media (max-width:768px){
  .kompetenzen-block .service-icons{gap:32px;}
  .kompetenzen-block .service-card{
    width:100%;
    max-width:320px;
  }
}

/* Carduri contact – hover alb */
.contact-box{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.5);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:rgba(7,18,38,.75);
  color:#ffffff;
  transition:background .25s ease, border-color .25s ease, color .25s ease;
}
.contact-box:hover{
  background:#ffffff;
  border-color:#ffffff;
  color:#0b1828;
}
.contact-box:hover .contact-box-icon{
  border-color:#0b1828;
  color:#0b1828;
}
.contact-box:hover .contact-box-label{
  opacity:1;
  color:#0b1828;
}
.contact-box:hover .contact-box-value{
  color:#0b1828;
}
/* Mobile fixes */
@media (max-width: 900px) {
  #siteHeader .bar { flex-wrap: wrap; gap: 12px; }
  #siteHeader .top-nav { width: 100%; justify-content: flex-end; }
  #siteHeader .menu { flex-wrap: wrap; gap: 14px; }

  .hero .inner { flex-direction: column; }
  .hero .media img { max-width: 100%; height: auto; }

  .map-frame img { height: 320px !important; object-position: center; }
}

