/* =========================================================
   GRUNDEINSTELLUNGEN
   Farben, Typografie und allgemeine Seiteneinstellungen
   ========================================================= */

:root {
  --blue: #063b68;
  --red: #df2f35;
  --light: #eef8fc;
  --warm: #f7f3eb;
  --line: #d8e0e5;
  --muted: #526d82;
}

* {
  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;
}


/* =========================================================
   HEADER
   Logo und Hauptnavigation
   ========================================================= */

.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;
  position: relative;
  z-index: 20;
}


/* Marke */

.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;
  font-weight: 700;
}

.brand-text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
  color: #526d82;
}


/* Hauptnavigation */

.main-nav {
  display: flex;
  gap: 38px;
  align-self: stretch;
  align-items: center;
}

.main-nav > a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  position: relative;
}

.main-nav > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}


/* Mobile-Menü-Button
   Auf dieser Seitendarstellung nicht benötigt */

.menu-toggle {
  display: none;
}


/* =========================================================
   BERATUNG-DROPDOWN
   ========================================================= */

.menu-dropdown {
  position: relative;
  display: block;
  align-self: stretch;
}

.menu-dropdown summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
}

.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;
  padding: 11px 18px;
  white-space: nowrap;
}

.menu-dropdown[open] .submenu {
  display: block;
}


/* Desktop: Dropdown auch per Hover */

@media (min-width: 821px) {

  .menu-dropdown:hover .submenu,
  .menu-dropdown:focus-within .submenu {
    display: block;
  }

}


/* =========================================================
   HERO
   Organisation & Veränderung
   ========================================================= */

.imp-hero {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 340px;
}


/* Hero-Text */

.hero-copy {
  padding: 22px 0 28px max(5.8vw, 58px);
}

.breadcrumbs {
  font-size: 12px;
  color: #58748b;
  margin-bottom: 28px;
}

.kicker,
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.kicker {
  color: var(--blue);
  margin-bottom: 12px;
}

.kicker::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-top: 10px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -.8px;
  margin: 14px 20px 16px 0;
}

.hero-copy p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 30px 0 0;
  max-width: 610px;
}


/* Hero-Bild */

.hero-image {
  position: relative;
  background:
    url("impuls-organisation-hero-clean.webp")
    center / cover no-repeat;
  min-height: 340px;
}


/* Text im Hero-Bild */

.hero-image .hero-words {
  position: absolute;
  top: 20%;
  left: 5%;
  z-index: 2;
  padding: 7px 0 7px 20px;
  border-left: 3px solid var(--red);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.9;
  text-transform: uppercase;
}

.hero-image .hero-words span {
  display: block;
  white-space: nowrap;
}


/* =========================================================
   ARTIKEL-LAYOUT
   Hauptartikel und rechte Seitenleiste
   ========================================================= */

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
  gap: 38px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 0;
}

.article-wrap article {
  padding: 0 0 22px;
}

.article-wrap section {
  margin: 0 0 28px;
}


/* Desktop:
   Artikel an der gleichen Flucht wie den Hero ausrichten */

@media (min-width: 1101px) {

  .article-wrap {
    width: calc(100% - 11.6vw);
    max-width: none;
  }

}


/* =========================================================
   ARTIKEL-TYPOGRAFIE
   ========================================================= */

.article-wrap h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 14px;
}

.article-wrap p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 12px;
}


/* Zitate / hervorgehobene Gedanken */

.article-wrap blockquote {
  margin: 14px 0 22px;
  padding: 13px 18px;
  border-left: 2px solid var(--red);
  background: linear-gradient(90deg, #eef8fc, #fff);
  font-size: 14px;
  line-height: 1.4;
}


/* =========================================================
   FÜNF FÄHIGKEITEN
   ========================================================= */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 12px 0 26px;
}

.cap-grid > div {
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.cap-grid > div:first-child {
  padding-left: 0;
}

.cap-grid > div:last-child {
  border-right: 0;
}


/* Icons */

.cap-grid .icon {
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  display: block;
  height: 36px;
}


/* Überschriften */

.cap-grid h3 {
  font-size: 15px;
  line-height: 1.1;
  margin: 6px 0;
  font-weight: 500;
}


/* Texte */

.cap-grid p {
  font-size: 12px;
  line-height: 1.28;
  color: #345f7f;
}


/* =========================================================
   KULTUR-FRAGEN
   ========================================================= */

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0 12px;
}

.question-grid span {
  background: var(--light);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.25;
}


/* =========================================================
   SEITENSPALTE
   "Auf einen Blick"
   ========================================================= */

aside {
  padding-top: 0;
}

.aside-box {
  background: linear-gradient(90deg, #fff, #faf8f3);
  padding: 22px 24px;
}

.eyebrow {
  margin-bottom: 12px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
  margin-top: 10px;
}


/* Übersichtsliste */

.aside-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-box li {
  font-size: 13px;
  line-height: 1.35;
  padding: 8px 0 8px 28px;
  position: relative;
}

.aside-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 18px;
  height: 2px;
  background: var(--red);
}

.aside-box hr {
  border: 0;
  border-top: 1px solid #b8c5cf;
  margin: 22px 0;
}


/* Zitat in der Seitenleiste */

.quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px !important;
  line-height: 1.35 !important;
}


/* =========================================================
   DETAILBILD IN DER SEITENSPALTE
   ========================================================= */

.detail-image {
  position: relative;
  height: 300px;
  background:
    url("impuls-organisation-detail-clean.webp")
    center / cover no-repeat;
}

.detail-words {
  position: absolute;
  top: 9%;
  left: 7%;
  z-index: 2;
  padding: 5px 0 5px 14px;
  border-left: 2px solid var(--red);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .20em;
  line-height: 1.8;
  text-transform: uppercase;
}

.detail-words span {
  display: block;
  white-space: nowrap;
}


/* =========================================================
   KONTAKT-CTA IN DER SEITENSPALTE
   ========================================================= */

.side-cta {
  background: var(--light);
  padding: 18px 22px;
}

.side-cta span {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}

.side-cta a {
  display: block;
  background: #e10d18;
  color: #fff;
  padding: 13px 16px;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
}


/* =========================================================
   TABLET / KLEINERE DESKTOPS
   bis 1100 px
   ========================================================= */

@media (max-width: 1100px) {

  .imp-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
  }

  .hero-copy {
    padding: 28px max(32px, 5vw) 26px;
    min-width: 0;
  }

  .hero-copy h1 {
    max-width: 760px;
    margin-right: 0;
  }

  .hero-copy p {
    max-width: 760px;
    margin-right: 0;
  }

  .hero-image {
    min-height: 300px;
    background-position: center center;
  }

  .article-wrap {
    padding-left: max(32px, 5vw);
    padding-right: max(32px, 5vw);
  }

}


/* =========================================================
   TABLET / MOBILE NAVIGATION
   bis 900 px
   ========================================================= */

@media (max-width: 900px) {

  /* Header */

  .site-header {
    padding: 10px 20px;
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .main-nav {
    display: flex;
    width: auto;
    max-width: 100%;
    height: auto;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 14px;
  }

  .main-nav > a,
  .menu-dropdown summary {
    height: auto;
    padding: 7px 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .menu-dropdown {
    align-self: auto;
  }


  /* Hero */

  .hero-copy {
    padding: 28px 24px 24px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-image {
    min-height: 240px;
  }


  /* Artikel */

  .article-wrap {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }


  /* Fähigkeiten */

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cap-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }


  /* Kulturfragen */

  .question-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Seitenleiste */

  aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .side-cta {
    grid-column: 1 / -1;
  }

  .detail-image {
    height: 260px;
  }

}


/* =========================================================
   MOBILES BERATUNGS-DROPDOWN
   bleibt vollständig im Viewport
   ========================================================= */

@media (max-width: 820px) {

  .menu-dropdown,
  .main-nav .menu-dropdown,
  .site-header .menu-dropdown {
    position: static !important;
  }

  .menu-dropdown .submenu,
  .main-nav .menu-dropdown .submenu,
  .site-header .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;
  }


  /* Alle Unterpunkte identisch darstellen */

  .submenu > a,
  .menu-dropdown .submenu > a,
  .main-nav .menu-dropdown > .submenu > a,
  .site-header .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;

    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;

    text-indent: 0 !important;
    transform: none !important;
    white-space: normal !important;

    border: 0 !important;
    text-decoration: none !important;

    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

}


/* =========================================================
   SMARTPHONE
   bis 650 px

   Header bleibt zweizeilig:
   1. GM Unternehmensberatung / Gerald Morgner
   2. Navigation
   ========================================================= */

@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 */

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-text {
    display: block !important;
    text-align: left;
  }

  .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,
  .site-header nav > .menu-dropdown > summary {
    font-size: 12px;
    padding: 3px 0;
  }

}


/* =========================================================
   KLEINE SMARTPHONES
   bis 560 px
   ========================================================= */

@media (max-width: 560px) {

  /* Hero */

  .hero-copy {
    padding: 28px 20px 24px;
  }

  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-image {
    min-height: 190px;
    background-position: 62% center;
  }


  /* Bildtexte auf Smartphone ausblenden */

  .hero-image .hero-words {
    display: none;
  }


  /* Artikel */

  .article-wrap {
    padding: 24px 20px;
  }

  .article-wrap h2 {
    font-size: 23px;
  }


  /* Fähigkeiten */

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }


  /* Kulturfragen */

  .question-grid {
    grid-template-columns: 1fr 1fr;
  }


  /* Seitenleiste */

  aside {
    grid-template-columns: 1fr;
  }

  .side-cta {
    grid-column: auto;
  }

  .detail-image {
    height: 220px;
  }

}