/* =========================================================
   GRUNDEINSTELLUNGEN
   Farben, Schrift und allgemeines Seitenlayout
   ========================================================= */

:root {
  --blue: #063b68;
  --red: #df2f35;
  --cream: #f5f1e9;
  --light: #eaf7ff;
  --line: #d8e0e5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--blue);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1180px;
  margin: auto;
}


/* =========================================================
   HEADER – DESKTOP
   Einheitlicher Kopfbereich der GM Unternehmensberatung
   ========================================================= */

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 44px);
  border-bottom: 1px solid #edf0f2;
  background: #fff;
}


/* Marke / Firmenname
   --------------------------------------------------------- */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.brand-text {
  font-size: 15px;
  line-height: 1.15;
}

.brand-text strong {
  font-weight: 700;
}

.brand-text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
  color: #526d82;
}


/* Hauptnavigation
   --------------------------------------------------------- */

.site-header nav {
  display: flex;
  gap: 38px;
  align-self: stretch;
}

.site-header nav a {
  display: flex;
  align-items: center;
  font-size: 14px;
  position: relative;
}

.site-header nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}


/* =========================================================
   HERO
   Einstieg Management-Sparring
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 410px;
}

.hero-copy {
  padding: 24px 42px 32px 5.8vw;
}


/* Breadcrumb-Navigation
   --------------------------------------------------------- */

.crumbs {
  font-size: 12px;
  color: #5c7c96;
  display: flex;
  gap: 13px;
  margin-bottom: 28px;
}


/* Kleine Bereichsüberschriften
   --------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  background: var(--red);
  margin-top: 10px;
}

.perspectives .eyebrow::after,
.value .eyebrow::after,
.background .eyebrow::after {
  display: none;
}


/* Hauptüberschrift und Einleitung
   --------------------------------------------------------- */

.hero h1 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 18px;
  letter-spacing: -1.1px;
}

.lead {
  font-size: 15px;
  line-height: 1.45;
  max-width: 590px;
  margin: 0;
}


/* Hero-Bild
   --------------------------------------------------------- */

.hero-image {
  position: relative;
  overflow: hidden;
  background: #e8eef1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Wortmarke auf dem Hero-Bild
   --------------------------------------------------------- */

.hero-image .hero-words {
  position: absolute;
  top: 27%;
  left: 30%;
  z-index: 2;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--red);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.85;
  text-transform: uppercase;
}

.hero-image .hero-words span {
  display: block;
  white-space: nowrap;
}


/* =========================================================
   ALLGEMEINE ÜBERSCHRIFTEN
   ========================================================= */

h2 {
  font-size: 29px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.5px;
  margin: 0 0 16px;
}


/* =========================================================
   PERSPEKTIVEN
   Drei Perspektiven für tragfähige Entscheidungen
   ========================================================= */

.perspectives {
  background: var(--cream);
  padding: 34px 5.8vw 38px;
}

.perspectives .wrap {
  max-width: 1180px;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.three article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 0 28px;
  border-right: 1px solid #cfd7dc;
}

.three article:first-child {
  padding-left: 0;
}

.three article:last-child {
  border-right: 0;
  padding-right: 0;
}


/* Symbole
   --------------------------------------------------------- */

.round-icon {
  width: 74px;
  height: 74px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}


/* Texte
   --------------------------------------------------------- */

.three h3 {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 400;
  margin: 5px 0 22px;
  position: relative;
}

.three p,
.value p,
.background p {
  font-size: 14px;
  line-height: 1.48;
  margin: 0;
}


/* =========================================================
   DER MEHRWERT
   Externe Perspektive und kritische Fragen
   ========================================================= */

.value {
  padding: 36px 5.8vw 34px;
}

.value-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 48px;
  align-items: center;
}


/* Leitgedanke
   --------------------------------------------------------- */

.value blockquote {
  margin: 0;
  border-left: 1px solid #cbd6dd;
  padding: 18px 0 18px 38px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
}


/* =========================================================
   MEIN HINTERGRUND
   Erfahrung aus eigener Verantwortung
   ========================================================= */

.background {
  background: var(--cream);
  padding: 34px 5.8vw 38px;
}

.background-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 55px;
}

.background p + p {
  margin-top: 10px;
}


/* Erfahrungsfelder
   --------------------------------------------------------- */

.facts {
  border-left: 1px solid #cbd6dd;
  padding-left: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.facts > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.fact-icon {
  font-size: 28px;
  text-align: center;
}

.facts p {
  font-size: 13px;
}


/* =========================================================
   CALL TO ACTION
   Einladung zum persönlichen Gespräch
   ========================================================= */

.cta {
  background: var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px max(5.8vw, 55px);
}

.cta .eyebrow {
  margin-bottom: 15px;
}

.cta h2 {
  margin: 0;
  font-size: 25px;
}

.button {
  background: var(--red);
  color: #fff;
  padding: 16px 28px;
  font-size: 14px;
  white-space: nowrap;
}


/* =========================================================
   FOOTER
   Grunddefinitionen – Ergänzungen in footer.css
   ========================================================= */

footer {
  min-height: 150px;
  background: linear-gradient(#063b68, #022d51);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.3fr 1fr;
  align-items: center;
  padding: 0 max(5.8vw, 55px);
  gap: 28px;
  font-size: 12px;
}

footer > div {
  padding-left: 22px;
  border-left: 2px solid var(--red);
}

footer > div:first-child {
  border: 0;
  padding-left: 0;
}

.foot-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.foot-brand strong {
  font-size: 36px;
}

.foot-brand span {
  font-size: 11px;
  letter-spacing: 2px;
}

.foot-brand small {
  letter-spacing: 0;
  font-size: 11px;
}


/* =========================================================
   NAVIGATION – BERATUNG DROPDOWN
   ========================================================= */

.menu-dropdown {
  position: relative;
  display: block;
}

.menu-dropdown summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.menu-dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-arrow {
  font-size: .78em;
  margin-left: 4px;
}


/* Untermenü
   --------------------------------------------------------- */

.submenu {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(100% - 1px);
  left: -18px;
  min-width: 245px;
  background: #fff;
  border: 1px solid #e5eaee;
  box-shadow: 0 10px 28px rgba(11, 52, 84, .14);
  padding: 8px 0;
}

.submenu a {
  display: block !important;
  padding: 11px 18px !important;
  white-space: nowrap;
  border: 0 !important;
  color: #0b3454 !important;
  text-decoration: none !important;
}

.submenu a:hover,
.submenu a:focus,
.submenu a.current-subpage {
  background: #f3eee6;
  color: #cf2e2e !important;
}

.menu-dropdown[open] .submenu {
  display: block;
}

.menu-dropdown.active > summary {
  border-bottom: 2px solid #d32f2f;
}


/* Header-Ausrichtung
   --------------------------------------------------------- */

.site-header nav > .menu-dropdown {
  align-self: stretch;
}

.site-header nav > .menu-dropdown > summary {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  position: relative;
  padding: 0;
}

.site-header nav > .menu-dropdown.active > summary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red, #d32f2f);
}


/* Kompatibilität mit anderen Navigationstemplates
   --------------------------------------------------------- */

.menu > .menu-dropdown {
  align-self: stretch;
}

.menu > .menu-dropdown > summary {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.main-nav > .menu-dropdown {
  align-self: stretch;
}

.main-nav > .menu-dropdown > summary {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 15px;
  position: relative;
}

.main-nav > .menu-dropdown.active > summary {
  border-bottom: 3px solid var(--red, #d32f2f);
}


/* Dropdown bei Maus / Tastatur auf Desktop
   --------------------------------------------------------- */

@media (min-width: 821px) {

  .menu-dropdown:hover .submenu,
  .menu-dropdown:focus-within .submenu {
    display: block;
  }

}


/* =========================================================
   TABLET / KLEINERE DESKTOPS BIS 900 PX
   ========================================================= */

@media (max-width: 900px) {

  .site-header {
    padding: 0 20px;
  }

  .site-header nav {
    gap: 14px;
  }


  /* Hero
     ------------------------------------------------------- */

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-image {
    min-height: 330px;
  }

  .hero h1 {
    font-size: 36px;
  }


  /* Perspektiven
     ------------------------------------------------------- */

  .three {
    grid-template-columns: 1fr;
  }

  .three article {
    border-right: 0;
    border-bottom: 1px solid #cfd7dc;
    padding: 22px 0;
  }


  /* Mehrwert und Hintergrund
     ------------------------------------------------------- */

  .value-grid,
  .background-grid {
    grid-template-columns: 1fr;
  }

  .value,
  .background,
  .perspectives {
    padding-left: 24px;
    padding-right: 24px;
  }

  .facts {
    border-left: 0;
    border-top: 1px solid #cbd6dd;
    padding: 25px 0 0;
  }


  /* Call to Action
     ------------------------------------------------------- */

  .cta {
    gap: 20px;
    padding: 28px 24px;
  }


  /* Footer
     ------------------------------------------------------- */

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 30px 24px;
  }

}


/* =========================================================
   MOBILE BIS 820 PX
   Beratung-Untermenü vollständig im Viewport
   ========================================================= */

@media (max-width: 820px) {

  .main-nav .menu-dropdown,
  .site-header .menu-dropdown,
  .menu-dropdown {
    position: static !important;
  }

  .main-nav .menu-dropdown .submenu,
  .site-header .menu-dropdown .submenu,
  .menu-dropdown .submenu {
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
  }


  /* Einheitliche Darstellung aller Untermenüpunkte
     ------------------------------------------------------- */

  .submenu {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  .submenu > a,
  .menu-dropdown .submenu > a,
  .main-nav .menu-dropdown .submenu > a,
  .site-header .menu-dropdown .submenu > a,
  .menu .menu-dropdown .submenu > a,
  .submenu > a:first-child,
  .submenu > a.current-subpage {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 18px !important;
    margin: 0 !important;
    text-indent: 0 !important;
    transform: none !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;

    white-space: normal !important;
    border: 0 !important;
    text-decoration: none !important;
  }


  /* Hero-Wortmarke auch mobil anzeigen
     ------------------------------------------------------- */

  .hero-image .hero-words {
    display: flex;
    flex-direction: column;
    top: 20%;
    left: 8%;
    font-size: 11px;
    letter-spacing: .20em;
    line-height: 1.75;
    padding-left: 18px;
  }

}


/* =========================================================
   MOBILE BIS 650 PX
   Einheitlicher Header und Seitenlayout
   ========================================================= */

@media screen and (max-width: 650px) {

  .site-header {
    height: auto;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }


  /* Marke / Firmenname
     ------------------------------------------------------- */

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-text {
    display: block !important;
    text-align: left;
  }

  .brand-text strong {
    display: block;
    font-size: 13px;
    line-height: 1.15;
  }

  .brand-text small {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
  }


  /* Navigation
     ------------------------------------------------------- */

  .site-header nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px 16px;
  }

  .site-header nav a {
    display: flex;
  }

  .site-header nav a,
  .site-header nav > .menu-dropdown > summary {
    font-size: 12px;
    padding: 3px 0;
  }


  /* Seiteninhalt
     ------------------------------------------------------- */

  .hero h1 {
    font-size: 31px;
  }

  .cta {
    display: block;
  }

  .button {
    display: inline-block;
    margin-top: 20px;
  }


  /* Footer
     ------------------------------------------------------- */

  footer {
    grid-template-columns: 1fr;
  }

}