body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}
/* =========================
   00 – TOKENS
   ========================= */

:root{
  /* Content widths */
  --max: 1280px;     /* main content width (hero/body) */
  --pad: 24px;

  /* Colors */
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;

  /* Brand */
  --brandBlue: #05075B;
  --accentGreen: #27c26a;

  /* Hero gradient tone (HPE-like) */
  --heroGreen: rgba(0, 190, 160, 0.62);
  --heroGreenSoft: rgba(0, 190, 160, 0.32);
}

/* =========================
   10 – BASE
   ========================= */

html, body{
  width: 100%;
  max-width: 100%;
  /* Prevent horizontal scrollbar caused by full-bleed sections */
  overflow-x: hidden;
}

body{
  color: var(--text);
  background: var(--bg);
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Accessibility: Skip Navigation */
.invisible{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.invisible:focus{
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  z-index: 1000;
}

/* =========================
   20 – LAYOUT / CONTAINERS
   ========================= */

/* Generic container (optional utility) */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Contao common wrappers */
.wrapper,
.inside{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =========================
   30 – HEADER / NAV / LANGUAGE / MOBILE NAV
   ========================= */

/* Header background */
#header{
  background: var(--brandBlue);
}

/* Header inner container */
#header .inside{
  max-width: none;
  
  margin: 0 auto;
  padding: 26px 20px 14px; /* top padding leaves room for language switch */
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative; /* anchor for language switch */
}

/* Desktop nav */
#header .mod_navigation ul.level_1{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

#header .mod_navigation ul.level_1 > li{
  margin: 0;
  padding: 0;
}

/* Links + Active (covers <a> and <strong class="active"> depending on template) */
#header .mod_navigation a,
#header .mod_navigation strong.active{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

/* Active underline (consistent) */
#header .mod_navigation li.active > strong.active,
#header .mod_navigation li.active > a{
  border-bottom: 3px solid var(--accentGreen);
}

/* Language switch (top right) */
#header .inside .lang-switch{
  position: absolute;
  top: 10px;
  right: 24px;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 14px;
}

#header .inside .lang-switch a{
  color: #fff;
  text-decoration: none;
  opacity: .85;
}
#header .inside .lang-switch a:hover{
  opacity: 1;
  text-decoration: underline;
}
#header .inside .lang-switch span{
  color: rgba(255,255,255,.6);
}

/* Flag icons (if used) */
.lang-switch{
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-switch a{
  position: relative;
  display: inline-block;
  width: 26px;
  height: 16px;

  padding-bottom: 6px;
  box-sizing: content-box;

  text-indent: -9999px;
  overflow: visible;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  opacity: .7;
  transition: opacity .2s ease;
}

.lang-switch a:hover{ opacity: 1; }

html[lang^="en"] .lang-switch .lang-en,
html[lang^="de"] .lang-switch .lang-de{
  opacity: 1;
  box-shadow: inset 0 -3px 0 #00b388;
  border-radius: 2px;
}

.lang-en{ background-image: url("/files/themes/consulting/images/flags/gb.svg"); }
.lang-de{ background-image: url("/files/themes/consulting/images/flags/de.svg"); }

/* Logo swap (desktop/mobile) */
/* #header a.logo img.logo-desktop{ display: block; } */

#header a.logo img.logo-desktop{
  display: block;
  height: 60px;   /* oder 70px – je nach gewünschter Optik */
  width: auto;
}

#header a.logo img.logo-mobile{ display: none; }

@media (max-width: 900px){
  #header a.logo img.logo-desktop{ display: none; }
  #header a.logo img.logo-mobile{
    display: block;
    /* max-height: 96px;*/
    width: auto;
  }
}

/* Mobile navigation (burger + 1-level menu) */
#header .nav-toggle{
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
#header .nav-toggle span{
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
#header .nav-toggle span + span{ margin-top: 6px; }

@media (max-width: 768px){
  #header .inside{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 16px; /* compact on mobile */
  }

  #header a.logo{
    grid-column: 1 / -1;
    justify-self: center;
  }

  #header .nav-toggle{
    display: block;
    grid-column: 2;
    justify-self: end;
  }

  #header #main-nav{
    display: none;
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  body.nav-open #header #main-nav{ display: block; }

  #header #main-nav ul.level_1{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================
   40 – HERO (split: text left, image right)
   Full-bleed background (HPE-style) – Contao 5
   Requirement:
   - Article CSS-ID: hero
   - Article CSS-Class: hero--split
   ========================= */

/* --------------------------------------------------
   1) HERO WRAPPER: bricht aus dem globalen .inside aus
   -------------------------------------------------- */
#hero{
  position: relative;

  /* Full-bleed: raus aus .inside, rein in Viewportbreite */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  /* Sicherheit gegen Mini-Overflows (sollte keinen Scroll erzeugen) */
  overflow: clip; /* fallback: hidden */
}

/* --------------------------------------------------
   2) FULL-BLEED BACKGROUND
   -------------------------------------------------- */
#hero::before{
  content: "";
  position: absolute;
  inset: 0;

  /* HPE-like: very light -> green on right */
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #eefaf7 45%,
    #6fd9c5 100%
  );

  z-index: 0;
}

/* --------------------------------------------------
   3) INNER CONTENT: wieder "contained" und gepolstert
   -------------------------------------------------- */
/* Dein eigener Wrapper im Hero (aus den Start/Stop HTML-CEs) */
#hero .hero.hero--split{
  position: relative;
  z-index: 1;

  max-width: var(--max);
  margin: 0 auto;

  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem);
}

/* Grid */
#hero .hero--split .hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

/* Text */
#hero .hero--split .hero__text{
  max-width: 42rem;
}

#hero .hero--split .hero__text h1{
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1.06;
  margin: 0 0 0.9rem 0;
  letter-spacing: -0.02em;
}

#hero .hero--split .hero__text p{
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

/* Image */
#hero .hero--split .hero__media{
  max-width: 460px;
  justify-self: end;
}

#hero .hero--split .hero__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

/* --------------------------------------------------
   4) MOBILE
   -------------------------------------------------- */
@media (max-width: 768px){

  #hero::before{
    background:
      radial-gradient(
        900px 520px at 70% 0%,
        rgba(0, 190, 160, 0.55) 0%,
        rgba(0, 190, 160, 0.26) 34%,
        #ffffff 78%
      );
  }

  #hero .hero.hero--split{
    padding: 2.25rem 1.25rem;
  }

  #hero .hero--split .hero__grid{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #hero .hero కాగా hero--split .hero__media{
    max-width: 320px;
    justify-self: start;
  }

  #hero .hero--split .hero__text h1{
    font-size: 2.0rem;
    line-height: 1.12;
  }

  #hero .hero--split .hero__text p{
    font-size: 1.0rem;
  }
}

/* =========================
   50 – FOOTER
   ========================= */

#footer{
  background: var(--brandBlue);
}

#footer > .inside{
  max-width: none;
  padding: 0;
}

.site-footer{ color: #fff; }

.site-footer .footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.site-footer a{ color:#fff; text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }

.footer-address address{
  font-style: normal;
  line-height: 1.45;
}

/* Legal menus */
.footer-legal .mod_navigation ul{
  list-style:none;
  margin:0;
  padding:0;
}
.footer-legal .mod_navigation li{ margin: 0 0 12px 0; }

/* Only show the matching footer menu */
html[lang^="en"] #footer-nav-de{ display:none !important; }
html[lang^="de"] #footer-nav-en{ display:none !important; }

.site-footer .footer-copyright{
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding: 24px 16px 0;
  margin-top: 40px;
}

/* Social box */
.footer-social{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-social-box{
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  gap: 18px;

  max-width: 360px;
}

/* "Follow me on" heading color */
.footer-social-box h4,
.footer-social-title{
  font-size: 28px;
  font-weight: 700;
  color: var(--brandBlue);
  line-height: 1.1;
  margin: 0;
}

.footer-social-icons{
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-social-icons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.footer-social-icons img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-social-icons a:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Footer responsive */
@media (max-width: 900px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 32px 16px !important;
  }

  .footer-social{
    justify-content: center !important;
  }

  .footer-social-box{
    max-width: 260px !important;
    padding: 12px 14px !important;
  }

  .footer-social-box h4,
  .footer-social-title{
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-social-icons{
    justify-content: center !important;
    gap: 10px !important;
  }

  .footer-social-icons a{
    width: 40px !important;
    height: 40px !important;
    box-shadow: none;
    transform: none;
  }

  .footer-social-icons a:hover{
    transform: none;
    box-shadow: none;
  }

  .footer-address{
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

/* =========================
   90 – MOBILE (global tweaks)
   ========================= */

/* Keep this file for non-section-specific mobile overrides.
   Currently most mobile rules live inside their own sections.
*/

/* ==================================================
   Service Index – volle verfügbare Breite (global)
   ================================================== */

/* Artikel selbst: Abstand/“Block”-Verhalten */
#service-index{
  padding-top: clamp(1.75rem, 4vw, 4rem);
}

/* Wenn der Service-Index direkt nach dem Hero kommt, reicht weniger Abstand */
#hero + #service-index{
  padding-top: clamp(1.25rem, 3vw, 3rem);
}

/* INNERER WRAPPER: .inside ist der Parent von #service-index */
.inside > #service-index{
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: clamp(2rem, 6vw, 6rem);
  padding-right: clamp(2rem, 6vw, 6rem);
}

/* Grid */
#service-index .service-index__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

/* H2 */
#service-index .service-index__col h2{
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.15;
}

/* Link Styling */
#service-index .service-index__item a{
  color: var(--accentGreen, #1bbf9a);
  font-weight: 600;
  text-decoration: none;
}

#service-index .service-index__item a:visited{
  color: var(--accentGreen, #1bbf9a);
}

#service-index .service-index__item a:hover{
  color: var(--accentGreen, #1bbf9a);
  text-decoration: underline;
}

/* Pfeil als Unicode (robust, keine Encoding-Probleme) */
#service-index .service-index__item a::after{
  content: "\00A0\2192"; /* nbsp + → */
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px){
  .inside > #service-index{
    padding-left: 18px;
    padding-right: 18px;
  }

  #service-index .service-index__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}





/* Abstand zwischen Einleitungstext und Service Index */
#service-index > .content-text{
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

