:root {
  --brand-cyan: #00a7a7;
  --brand-deep: #0b3137;
  --brand-ink: #102124;
  --brand-mist: #edf7f7;
  --brand-paper: #ffffff;
  --brand-surface: #f4fbfb;
  --brand-line: rgba(11, 49, 55, 0.11);
  --content-max: 1180px;
  --space-section: clamp(74px, 8vw, 114px);
  --space-card: clamp(22px, 3.2vw, 40px);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(1200px 520px at 90% -8%, rgba(0, 167, 167, 0.11), transparent 62%),
    radial-gradient(900px 460px at 8% 118%, rgba(11, 49, 55, 0.06), transparent 64%),
    linear-gradient(180deg, #f7fcfc 0%, #ffffff 42%);
}

.u-body,
.u-section-2,
.u-palette-5-light-2 {
  background: transparent !important;
}

.u-palette-1-base,
.u-text-custom-color-1,
.u-text-palette-1-base {
  color: #0f7477 !important;
}

.u-palette-1-base {
  background-color: #0f7477 !important;
}

.u-white {
  background-color: #ffffff !important;
}

.u-text,
.u-body p,
.u-body li {
  color: #2b474c;
}

.container,
.footer-inner,
.jobs-icons-inner,
.u-sheet {
  width: min(var(--content-max), 92vw);
}

main > section {
  position: relative;
}

.section-pad,
.jobs-icons,
.u-section-2 {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.u-section-2 .u-sheet-1,
.intro .container,
.training .container,
.contact .contact-card,
.jobs-icons-inner {
  scroll-margin-top: 120px;
}

.u-body h1,
.u-body h2,
.u-body h3,
.u-body h4,
.u-body h5,
.u-body h6 {
  color: #16383d;
}

[data-animation-name],
.u-carousel-item,
.u-accordion-link {
  animation: none !important;
  transition-property: color, background-color, border-color, box-shadow !important;
}

h1,
h2,
h3,
.site-header .brand span {
  font-family: "Sora", "Manrope", sans-serif;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
  line-height: 1.72;
}

.hero-subline,
.section-head p,
.intro p,
.training p,
.brand-points p,
.u-section-2 .u-text-2,
.u-section-2 .u-text-3,
.u-section-2 .u-text-4,
.u-section-2 .u-text-5,
.u-section-2 .u-text-6 {
  max-width: 74ch;
}

.u-section-2 .u-text-3,
.u-section-2 .u-text-4,
.u-section-2 .u-text-5,
.u-section-2 .u-text-6 {
  margin-left: auto;
  margin-right: auto;
}

.legal-content {
  width: min(840px, 100%);
  margin: 18px auto 0;
  text-align: left;
  display: grid;
  gap: 14px;
}

.legal-block {
  padding: 16px 18px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
}

.legal-block h3 {
  margin: 0 0 8px;
  color: #0f7477;
  font-size: 1.02rem;
}

.legal-block p {
  margin: 0;
}

.contact-details a,
.contact-details span {
  letter-spacing: 0.005em;
}

.site-header {
  min-height: 84px;
  height: auto;
  border-bottom: 1px solid var(--brand-line);
  box-shadow: 0 14px 38px rgba(6, 32, 36, 0.07);
}

body.menu-open {
  overflow: hidden;
}

.brand {
  gap: 10px;
}

.brand img {
  width: 108px;
  height: 108px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand span {
  font-size: 1.14rem;
  letter-spacing: 0.01em;
}

.main-nav {
  gap: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--brand-cyan), #008181 62%);
}

.main-nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 139, 139, 0.24);
}

.main-nav a.is-active,
.mobile-nav a.is-active {
  color: #066f71;
  background: rgba(13, 133, 132, 0.1);
}

.main-nav .nav-cta.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #008181, #006a6a 62%);
}

.hero {
  min-height: calc(100vh - 98px);
}

.subpage-hero {
  position: relative;
  color: #ffffff;
  min-height: 54vh;
  display: grid;
  align-items: end;
  padding: clamp(86px, 10vw, 134px) 0 clamp(42px, 7vw, 72px);
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, rgba(6, 34, 39, 0.88), rgba(8, 44, 49, 0.56) 46%, rgba(8, 44, 49, 0.2));
}

.subpage-hero-jobs {
  background: url("media/praxis-04.jpg") center/cover no-repeat;
}

.subpage-hero-legal {
  background: url("media/praxis-06.jpg") center/cover no-repeat;
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
}

.subpage-hero .eyebrow {
  color: #a8f7f1;
}

.subpage-hero h1 {
  margin-bottom: 16px;
}

.subpage-hero .hero-subline {
  color: rgba(255, 255, 255, 0.92);
  max-width: 65ch;
}

.hero-video {
  filter: saturate(0.86) contrast(1.08) brightness(0.8);
}

.brand-intro {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  max-width: 740px;
}

.brand-intro-visual {
  display: none;
}

.brand-intro-visual .ring,
.brand-intro-visual .dot {
  position: absolute;
  border-radius: 999px;
}

.u-group.u-palette-1-base .u-text,
.u-group.u-palette-1-base h2,
.u-group.u-palette-1-base p {
  color: #ffffff !important;
}

.brand-intro-visual .ring-1 {
  inset: 0;
  border: 2px solid rgba(175, 255, 248, 0.56);
}

.brand-intro-visual .ring-2 {
  inset: 24px;
  border: 1px dashed rgba(175, 255, 248, 0.72);
}

.brand-intro-visual .dot-1 {
  width: 14px;
  height: 14px;
  top: 26px;
  left: 142px;
  background: #a4fbf2;
  box-shadow: 0 0 24px rgba(164, 251, 242, 0.88);
}

.brand-intro-visual .dot-2 {
  width: 10px;
  height: 10px;
  top: 134px;
  left: 24px;
  background: #e1fffd;
}

.brand-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.brand-metrics article {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(172, 242, 236, 0.3);
  background: rgba(7, 43, 48, 0.44);
}

.brand-metrics strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: #b8fff9;
  margin-bottom: 6px;
}

.brand-metrics span {
  color: rgba(234, 255, 254, 0.92);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-overlay {
  background:
    linear-gradient(94deg, rgba(6, 34, 39, 0.9), rgba(8, 44, 49, 0.58) 44%, rgba(8, 44, 49, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.1));
}

.section-pad {
  position: relative;
}

.intro .container,
.training .container,
.contact .contact-card,
.u-section-2 .u-sheet-1 {
  border: 1px solid var(--brand-line);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fefe 100%);
  box-shadow: 0 20px 54px rgba(7, 39, 43, 0.06);
  padding: var(--space-card);
}

.section-head {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-head h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  margin-left: auto;
  margin-right: auto;
}

.services .cards-grid .service-card,
.gallery-grid figure,
.u-accordion,
.u-list-item {
  border-color: var(--brand-line) !important;
  box-shadow: 0 14px 34px rgba(7, 39, 43, 0.07) !important;
}

.service-card,
.signature-card,
.contact-card,
.u-accordion-item,
.u-list-item,
.gallery-grid figure,
.image-card {
  transition: box-shadow 0.24s ease, border-color 0.24s ease;
}

.image-card img,
.gallery-grid img,
.video-frame video,
.u-section-1,
.u-section-3,
.u-section-1-1,
.u-section-1-2 {
  filter: saturate(0.9) contrast(1.04);
}

.service-card:hover,
.u-list-item:hover,
.gallery-grid figure:hover,
.image-card:hover {
  box-shadow: 0 16px 38px rgba(7, 39, 43, 0.1) !important;
  border-color: rgba(0, 124, 124, 0.25) !important;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0f7678;
  background: linear-gradient(180deg, #e5f7f6 0%, #d2f0ef 100%);
  margin-bottom: 14px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.jobs-icons {
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(22px, 4vw, 36px);
}

.jobs-icons-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jobs-icon-card {
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdfd 100%);
  box-shadow: 0 12px 32px rgba(7, 39, 43, 0.08);
  padding: 22px;
}

.u-accordion {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  background: linear-gradient(180deg, #fcffff 0%, #f6fcfc 100%);
}

.u-accordion-link {
  border-bottom: 1px solid rgba(11, 49, 55, 0.08);
}

.u-list-item {
  border: 1px solid var(--brand-line) !important;
  border-radius: 18px;
}

.jobs-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0f7678;
  background: linear-gradient(180deg, #e5f7f6 0%, #d2f0ef 100%);
  margin-bottom: 14px;
}

.jobs-icon svg {
  width: 24px;
  height: 24px;
}

.jobs-icon-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.jobs-icon-card p {
  margin: 0;
  color: #496267;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  border: 1px solid var(--brand-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdfd 100%);
  box-shadow: 0 12px 32px rgba(7, 39, 43, 0.08);
  padding: 26px;
}

.job-card h3 {
  margin: 0 0 12px;
}

.job-card p {
  margin: 0 0 12px;
}

.job-card p:last-child {
  margin-bottom: 0;
}

.legal-shell {
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fefe 100%);
  box-shadow: 0 20px 54px rgba(7, 39, 43, 0.06);
  padding: var(--space-card);
}

.brand-section {
  background:
    linear-gradient(130deg, #0c3136 0%, #12434a 56%, #113940 100%);
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--brand-line);
  background:
    linear-gradient(130deg, #0d3338 0%, #16474f 52%, #11343c 100%);
}

.site-footer span,
.site-footer nav a {
  color: #d9f0f0;
}

.site-footer nav a:hover {
  color: #9ff1eb;
}

.site-footer nav a.is-active {
  color: #9ff1eb;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  border-color: rgba(11, 49, 55, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.mobile-nav {
  background: linear-gradient(180deg, #ffffff 0%, #f5fcfc 100%);
}

.mobile-nav a:hover {
  background: #e8f7f7;
}

.u-section-1,
.u-section-3 {
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.u-section-1 .u-sheet-1,
.u-section-3 .u-sheet-1 {
  min-height: clamp(280px, 44vh, 520px) !important;
}

.u-section-1-1 .u-sheet-1,
.u-section-1-2 .u-sheet-1 {
  min-height: clamp(420px, 64vh, 700px) !important;
}

.u-section-1::before,
.u-section-3::before,
.u-section-1-1::before,
.u-section-1-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 40, 45, 0.58), rgba(9, 44, 49, 0.32));
  pointer-events: none;
}

.u-section-1,
.u-section-3,
.u-section-1-1,
.u-section-1-2 {
  position: relative;
}

.u-section-1 > *,
.u-section-3 > *,
.u-section-1-1 > *,
.u-section-1-2 > * {
  position: relative;
  z-index: 1;
}

.u-section-2 .u-text-1 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.u-section-2 .u-accordion-link-1,
.u-section-2 .u-accordion-link-2,
.u-section-2 .u-accordion-link-3,
.u-section-2 .u-accordion-link-4,
.u-section-2 .u-accordion-link-5 {
  border-radius: 14px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 78px;
    height: auto;
  }

  .brand img {
    width: 96px;
    height: 96px;
    padding: 0;
  }

  .hero {
    min-height: 760px;
  }

  .brand-metrics {
    grid-template-columns: 1fr;
  }

  .jobs-icons-inner {
    grid-template-columns: 1fr;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 82px;
    height: 82px;
    padding: 0;
  }

  .site-header {
    min-height: 72px;
  }

  .hero-subline {
    font-size: 1.02rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.96);
  }

  .u-body p,
  .u-body li {
    font-size: 1rem;
    line-height: 1.68;
  }

  .jobs-icons {
    padding-top: 34px;
  }

  .subpage-hero {
    min-height: 44vh;
  }

  .section-pad,
  .u-section-2 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}


/* === MEK 2026 header and quality fixes === */
/* Ziel: größeres Logo sichtbar machen, ohne die Header-Höhe zu vergrößern. */
.site-header {
  height: 82px !important;
  min-height: 82px !important;
  align-items: center !important;
  overflow: visible;
  isolation: isolate;
}

.brand {
  height: 82px;
  min-width: clamp(96px, 11vw, 142px);
  align-items: center;
  position: relative;
  z-index: 81;
  overflow: visible;
}

.brand img {
  width: auto !important;
  height: 124px !important;
  max-width: none;
  object-fit: contain;
  transform: translateY(2px);
  transform-origin: left center;
  pointer-events: none;
}

.main-nav {
  white-space: nowrap;
}

.main-nav a,
.mobile-nav a,
.btn {
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 167, 167, .35);
  outline-offset: 4px;
}

.mobile-nav {
  top: calc(100% + 10px);
}

.hero,
.subpage-hero {
  scroll-margin-top: 82px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  body.menu-open .mobile-nav {
    display: grid !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 78px !important;
    min-height: 78px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
  }
  .brand {
    height: 78px;
    min-width: 108px;
  }
  .brand img {
    height: 112px !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 74px !important;
    min-height: 74px !important;
  }
  .brand {
    height: 74px;
    min-width: 92px;
  }
  .brand img {
    height: 96px !important;
  }
  .menu-toggle {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Final polish: larger logo, stable header height, and readable subpage hero text. */
.site-header {
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  overflow: visible !important;
}

.brand {
  height: 82px !important;
  min-width: clamp(126px, 13vw, 168px) !important;
  max-width: 178px;
  overflow: visible !important;
}

.brand img {
  height: 154px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  transform: translateY(5px) !important;
  filter: drop-shadow(0 10px 18px rgba(6, 32, 36, .10));
}

.subpage-hero {
  min-height: clamp(430px, 54vh, 590px);
  align-items: center;
  padding: clamp(112px, 12vw, 148px) 0 clamp(54px, 7vw, 82px);
}

.subpage-hero::before {
  background:
    linear-gradient(92deg, rgba(6, 34, 39, 0.92), rgba(6, 34, 39, 0.68) 46%, rgba(6, 34, 39, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, .20), rgba(0, 0, 0, .08));
}

.subpage-hero-inner {
  max-width: 790px;
  margin-left: max(0px, calc((100vw - var(--content-max)) / 2));
  padding: clamp(24px, 3vw, 38px);
  border-radius: 30px;
  background: rgba(5, 31, 36, .46);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.subpage-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.45rem, 5.7vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.06em;
  text-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.subpage-hero .hero-subline {
  margin-bottom: 0;
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.subpage-hero .hero-actions {
  margin-top: 28px;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .site-header {
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
  }
  .brand {
    height: 78px !important;
    min-width: 126px !important;
  }
  .brand img {
    height: 136px !important;
    transform: translateY(4px) !important;
  }
  .subpage-hero-inner {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
  }
  .brand {
    height: 74px !important;
    min-width: 108px !important;
  }
  .brand img {
    height: 118px !important;
    transform: translateY(3px) !important;
  }
  .subpage-hero {
    min-height: 390px;
    padding-top: 104px;
  }
  .subpage-hero-inner {
    border-radius: 22px;
  }
}

/* Consistency tune: einheitlicher Rhythmus und Typografie auf allen Seiten. */
main {
  overflow-x: clip;
}

.section-head {
  max-width: min(760px, 100%);
  padding-inline: clamp(4px, 1.4vw, 16px);
}

.section-head h2,
.intro h2,
.training h2,
.contact h2,
.subpage-hero h1 {
  letter-spacing: -0.045em;
}

.section-head h2,
.intro h2,
.training h2,
.contact h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  margin-bottom: 16px;
}

.section-head p,
.intro p,
.training p,
.contact p,
.job-card p,
.legal-block p {
  color: #486267;
}

.jobs-grid {
  margin-top: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.jobs-icon-card,
.job-card,
.legal-block,
.u-accordion,
.u-list-item,
.service-card {
  border-radius: 20px;
}

.legal-content {
  gap: 16px;
}

.subpage-hero .hero-actions {
  gap: 12px;
}

.subpage-hero .btn {
  min-width: 168px;
}

.site-footer {
  margin-top: clamp(20px, 3vw, 34px);
}

.section-pad.soft-bg .two-col {
  gap: clamp(52px, 8vw, 120px);
}

.section-pad.soft-bg .btn {
  margin-bottom: clamp(24px, 4vw, 64px);
}

@media (min-width: 1200px) {
  .hero-content {
    padding: 96px 0 72px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 7.1vw, 7.2rem);
    max-width: 10.2ch;
    margin-bottom: 24px;
  }

  .hero-subline {
    max-width: 58ch;
    font-size: clamp(1.2rem, 1.55vw, 1.42rem);
    line-height: 1.55;
  }

  .section-pad,
  .u-section-2 {
    padding-top: clamp(88px, 8vw, 126px);
    padding-bottom: clamp(88px, 8vw, 126px);
  }

  .section-head {
    margin-bottom: clamp(38px, 4vw, 62px);
  }

  .section-head h2,
  .intro h2,
  .training h2,
  .contact h2 {
    font-size: clamp(2.35rem, 3.2vw, 3.65rem);
    line-height: 1.06;
  }

  .subpage-hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
  }

  .brand-metrics article {
    min-height: 116px;
  }

  .jobs-grid {
    gap: 22px;
  }

  .job-card {
    padding: 30px;
  }

  .legal-shell {
    padding: clamp(28px, 3vw, 42px);
  }
}

@media (max-width: 980px) {
  .section-head {
    padding-inline: 0;
  }

  .subpage-hero {
    min-height: clamp(360px, 56vh, 460px);
  }
}

@media (max-width: 640px) {
  .section-head h2,
  .intro h2,
  .training h2,
  .contact h2 {
    font-size: clamp(1.9rem, 9.2vw, 2.5rem);
  }

  .section-pad,
  .u-section-2 {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .jobs-icon-card,
  .job-card,
  .legal-block,
  .u-accordion,
  .u-list-item,
  .service-card {
    border-radius: 18px;
  }

  .subpage-hero .btn {
    width: 100%;
    min-width: 0;
  }
}
