.footer-widgets-container{padding:40px}.inside-footer-widgets{display:flex}.inside-footer-widgets>div{flex:1 1 0}.site-footer .footer-widgets-container .inner-padding{padding:0 0 0 40px}.site-footer .footer-widgets-container .inside-footer-widgets{margin-left:-40px}.top-bar{font-weight:400;text-transform:none;font-size:13px}.top-bar .inside-top-bar{display:flex;align-items:center;flex-wrap:wrap}.top-bar .inside-top-bar .widget{padding:0;display:inline-block;margin-bottom:0}.top-bar .inside-top-bar .textwidget p:last-child{margin:0}.top-bar .widget-title{display:none}.top-bar .widget{margin:0 10px}.top-bar .widget_nav_menu>div>ul{display:flex;align-items:center}.top-bar .widget_nav_menu li{margin:0 10px;padding:0}.top-bar .widget_nav_menu li:first-child{margin-left:0}.top-bar .widget_nav_menu li:last-child{margin-right:0}.top-bar .widget_nav_menu li ul{display:none}.inside-top-bar{padding:10px 40px}div.top-bar .widget{margin-bottom:0}.top-bar-align-right .widget{margin-right:0}.top-bar-align-right .widget:first-child{margin-left:auto}.top-bar-align-right .widget:nth-child(2n){order:-20}.top-bar-align-right .widget:nth-child(2){margin-left:0}.top-bar-align-left .widget{margin-left:0}.top-bar-align-left .widget:nth-child(odd){order:-20}.top-bar-align-left .widget:nth-child(2){margin-left:auto}.top-bar-align-left .widget:last-child{margin-right:0}.top-bar-align-center .widget:first-child{margin-left:auto}.top-bar-align-center .widget:last-child{margin-right:auto}.top-bar-align-center .widget:not(:first-child):not(:last-child){margin:0 5px}.footer-bar-active .footer-bar .widget{padding:0}.footer-bar .widget_nav_menu>div>ul{display:flex;align-items:center;flex-wrap:wrap}.footer-bar .widget_nav_menu li{margin:0 10px;padding:0}.footer-bar .widget_nav_menu li:first-child{margin-left:0}.footer-bar .widget_nav_menu li:last-child{margin-right:0}.footer-bar .widget_nav_menu li ul{display:none}.footer-bar .textwidget p:last-child{margin:0}.footer-bar .widget-title{display:none}.footer-bar-align-right .copyright-bar{order:-20;margin-right:auto}.footer-bar-align-left .copyright-bar{margin-left:auto}.footer-bar-align-center .inside-site-info{flex-direction:column}.footer-bar-align-center .footer-bar{margin-bottom:10px}.site-footer:not(.footer-bar-active) .copyright-bar{margin:0 auto}@media (max-width:768px){.top-bar .inside-top-bar{justify-content:center}.top-bar .inside-top-bar>.widget{order:1;margin:0 10px}.top-bar .inside-top-bar:first-child{margin-left:auto}.top-bar .inside-top-bar:last-child{margin-right:auto}.top-bar .widget_nav_menu li{padding:5px 0}.top-bar-align-center{text-align:center}.inside-footer-widgets{flex-direction:column}.inside-footer-widgets>div:not(:last-child){margin-bottom:40px}.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets{margin:0}.site-footer .footer-widgets .footer-widgets-container .inner-padding{padding:0}.footer-bar-active .inside-site-info{flex-direction:column}.footer-bar-active .footer-bar{margin-bottom:10px}.footer-bar .widget_nav_menu>div>ul{justify-content:center}.footer-bar .widget_nav_menu li{padding:5px 0}.footer-bar .widget_nav_menu li:first-child{margin-left:10px}.footer-bar .widget_nav_menu li:last-child{margin-right:10px}.footer-bar-align-left .copyright-bar{margin-left:0}.footer-bar-align-right .copyright-bar{order:unset;margin-right:0}}

/* === S-CON v9 layout corrections === */

/* Make the hero heading smaller and keep it left of the image */
.scon-hero h1,
.hero h1,
.wp-block-cover .wp-block-heading:first-child {
  font-size: clamp(42px, 4.8vw, 70px) !important;
  line-height: 1.08 !important;
  max-width: 650px !important;
}

/* Hero grid: headline and image on top, intro text below full width where possible */
.scon-hero,
.hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
  column-gap: 56px !important;
  row-gap: 28px !important;
  align-items: center !important;
}

.scon-hero .hero-text,
.hero > div:first-child {
  display: contents !important;
}

.scon-hero h1,
.hero h1 {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.scon-hero .hero-image,
.hero > div:has(img),
.hero figure {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
}

.scon-hero .hero-copy,
.hero p,
.hero .cta-row {
  grid-column: 1 / -1 !important;
}

.scon-hero .hero-copy,
.hero p {
  max-width: 980px !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
}

/* Positioning / focus area block: restore previous clean blue-card style */
.scon-positioning,
.positioning,
.focus-areas,
.strategic-focus,
.wp-block-group:has(.scon-pill) {
  background: #f3f6fb !important;
  border-left: 5px solid #a78b35 !important;
  border-radius: 18px !important;
  padding: 42px 48px !important;
  margin: 48px auto !important;
  box-shadow: none !important;
}

.scon-positioning h2,
.positioning h2,
.focus-areas h2,
.strategic-focus h2 {
  color: #0c2c63 !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 300 !important;
  margin-bottom: 22px !important;
}

.scon-pill,
.focus-areas a,
.focus-areas span,
.strategic-focus a,
.strategic-focus span {
  display: inline-block !important;
  border: 1px solid #d9e1ec !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  padding: 11px 20px !important;
  margin: 8px 8px 8px 0 !important;
  font-weight: 700 !important;
  color: #0b2349 !important;
  text-decoration: none !important;
}

/* Ensure pages/anchors are clickable and visible in nav */
.main-navigation a[href*="ueber"],
.main-navigation a[href*="kontakt"],
.navbar a[href*="ueber"],
.navbar a[href*="kontakt"],
.nav-inner a[href*="ueber"],
.nav-inner a[href*="kontakt"] {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .scon-hero,
  .hero {
    grid-template-columns: 1fr !important;
  }
  .scon-hero h1,
  .hero h1,
  .scon-hero .hero-image,
  .hero > div:has(img),
  .hero figure,
  .scon-hero .hero-copy,
  .hero p,
  .hero .cta-row {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}


/* === S-CON v10 hero correction === */

/* Undo previous experimental grid behavior */
.hero,
.scon-hero {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.15fr) !important;
  align-items: stretch !important;
  column-gap: 42px !important;
  row-gap: 0 !important;
  max-width: none !important;
  min-height: 520px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: #f7f9fc !important;
  overflow: hidden !important;
}

/* Restore normal content flow in the left column */
.hero > div:first-child,
.scon-hero .hero-text,
.scon-hero > div:first-child {
  display: block !important;
  grid-column: 1 !important;
  grid-row: auto !important;
  padding: clamp(48px, 6vw, 82px) 0 clamp(42px, 5vw, 70px) clamp(42px, 7vw, 76px) !important;
  max-width: 620px !important;
  align-self: center !important;
}

/* Desired heading size like the mockup */
.hero h1,
.scon-hero h1,
.wp-block-cover .wp-block-heading:first-child {
  font-size: clamp(32px, 3.4vw, 50px) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.03em !important;
  max-width: 560px !important;
  margin: 0 0 26px 0 !important;
  color: #0c2c63 !important;
  font-weight: 800 !important;
}

/* Hero copy: readable, not full width below image */
.hero p,
.scon-hero p,
.scon-hero .hero-copy {
  grid-column: auto !important;
  max-width: 560px !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.55 !important;
  margin: 0 0 22px 0 !important;
  color: #101828 !important;
}

/* Button below left text */
.hero .cta-row,
.scon-hero .cta-row {
  grid-column: auto !important;
  margin-top: 28px !important;
}

/* Right side: make image larger and more like the desired mockup */
.hero > div:has(img),
.scon-hero .hero-image,
.hero figure {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 520px !important;
}

.hero img,
.scon-hero img,
.hero-img {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Keep the three cards close below the hero like in the desired design */
.hero + .section,
.hero + .soft,
.scon-hero + .section,
.scon-hero + .soft {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

/* Middle card wording consistency */
.card:nth-child(2) p,
.cards3 .card:nth-child(2) p {
  line-height: 1.55 !important;
}

/* Remove previous forced full-width positioning for hero paragraphs */
.hero p,
.hero .cta-row {
  grid-column: auto !important;
}

/* Mobile: stack neatly */
@media (max-width: 900px) {
  .hero,
  .scon-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .hero > div:first-child,
  .scon-hero .hero-text,
  .scon-hero > div:first-child {
    padding: 40px 28px 28px !important;
    max-width: none !important;
  }
  .hero h1,
  .scon-hero h1 {
    font-size: clamp(34px, 9vw, 48px) !important;
  }
  .hero > div:has(img),
  .scon-hero .hero-image,
  .hero figure {
    grid-column: 1 !important;
    min-height: 300px !important;
  }
  .hero img,
  .scon-hero img,
  .hero-img {
    min-height: 300px !important;
    max-height: 420px !important;
  }
}


/* === S-CON v12 simple compact hero ===
   Ziel: wie Skizze 2 — Headline links, Bild rechts klein/komplett,
   Text darunter auf voller Breite. Keine abgeschnittenen Portraits. */

/* Hero as compact 2-column intro */
.scon-hero,
.hero,
.wp-block-group.scon-hero,
.wp-block-group.hero {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.82fr) minmax(260px, 0.72fr) !important;
  column-gap: clamp(28px, 5vw, 72px) !important;
  row-gap: 22px !important;
  align-items: start !important;
  max-width: 980px !important;
  margin: 46px auto 36px auto !important;
  padding: 0 24px !important;
  min-height: 0 !important;
  background: #ffffff !important;
  overflow: visible !important;
}

/* Left area must behave normally again */
.scon-hero > div:first-child,
.hero > div:first-child,
.scon-hero .hero-text {
  display: contents !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Headline: left column, compact */
.scon-hero h1,
.hero h1,
.wp-block-heading.scon-hero-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  max-width: 420px !important;
  color: #0c2c63 !important;
  font-weight: 800 !important;
}

/* Image: right column, fully visible, not cropped */
.scon-hero .hero-image,
.hero > div:has(img),
.hero figure,
.scon-hero figure {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-self: start !important;
}

.scon-hero img,
.hero img,
.hero-img,
.scon-hero .wp-block-image img {
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Text below headline+image, across full width */
.scon-hero p,
.hero p,
.scon-hero .hero-copy,
.hero .hero-copy {
  grid-column: 1 / -1 !important;
  max-width: 960px !important;
  font-size: clamp(17px, 1.5vw, 20px) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  color: #101828 !important;
}

/* Button remains below text */
.scon-hero .cta-row,
.hero .cta-row,
.scon-hero .wp-block-buttons,
.hero .wp-block-buttons {
  grid-column: 1 / -1 !important;
  margin-top: 10px !important;
}

/* Avoid excessive gap below hero */
.scon-hero + *,
.hero + * {
  margin-top: 28px !important;
}

/* Mobile */
@media (max-width: 720px) {
  .scon-hero,
  .hero,
  .wp-block-group.scon-hero,
  .wp-block-group.hero {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    margin: 32px auto !important;
    padding: 0 22px !important;
  }
  .scon-hero h1,
  .hero h1,
  .wp-block-heading.scon-hero-title,
  .scon-hero .hero-image,
  .hero > div:has(img),
  .hero figure,
  .scon-hero figure,
  .scon-hero p,
  .hero p,
  .scon-hero .cta-row,
  .hero .cta-row,
  .scon-hero .wp-block-buttons,
  .hero .wp-block-buttons {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .scon-hero img,
  .hero img,
  .hero-img {
    max-width: 100% !important;
  }
}
