:root {
  --navy: #001E3D;
  --orange: #FA9938;
  --orange-dark: #e0842c;
  --grey: #858591;
  --sand: #FDF6ED;
  --dark: #0f172a;
  --white: #ffffff;
  --muted: #5f6472;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --transition: all 0.25s ease;
}

body.overflow-hidden { overflow: hidden; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
#erstgespraech,
#kontaktformular {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eef0f4;
}
.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 48px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: rgba(0,30,61,.78);
}
.main-nav a:hover { color: var(--orange); }
.main-nav .nav-home { display: none; }
.header-actions { display: flex; align-items: center; }

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 70;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  margin: 5px auto;
  transition: var(--transition);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-only-cta { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: var(--transition);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px rgba(250,153,56,.18); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,30,61,.16); }
.btn-secondary { color: white; border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: #002b5e; }
.btn-full { width: 100%; }

.hero {
  padding: 136px 0 92px;
  background: radial-gradient(circle at 85% 85%, rgba(250,153,56,.16), transparent 34%), var(--navy);
  color: white;
  overflow: hidden;
}
.grid-hero {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(250,153,56,.17);
  color: var(--orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 9px 13px;
  border: 1px solid rgba(250,153,56,.35);
  border-radius: 999px;
  margin-bottom: 22px;
}
h1, h2, h3, h4 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  line-height: 1.15;
  color: var(--navy);
}
.hero h1 {
  color: white;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -.045em;
  font-weight: 900;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--orange); }
.hero-text {
  color: #d7dbe3;
  font-size: clamp(18px, 2vw, 21px);
  max-width: 720px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.portrait-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.10);
  aspect-ratio: 4 / 5;
}
.portrait-card img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-white { background: white; }
.section-navy { background: var(--navy); color: white; }
.section-border { border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; }
.section-header { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-header h2, .split h2 { font-size: clamp(31px, 3vw, 43px); font-weight: 900; letter-spacing: -.03em; margin-bottom: 18px; }
.section-header p, .split p.lead { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.split p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.section-navy .section-header h2, .section-navy h2, .section-navy h3 { color: white; }
.section-navy .section-header p { color: #d7dbe3; }
.rule { display: block; width: 64px; height: 4px; background: var(--orange); margin: 24px auto 0; border-radius: 999px; }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr .85fr; }
.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card-wide { aspect-ratio: 3 / 2; }
.image-card-wide img { object-position: center center; }


.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.entry-card, .service-block, .proof-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.entry-card h3, .service-block h3, .proof-card h3 { font-size: 23px; margin-bottom: 12px; }
.entry-card p, .service-block p, .proof-card p { color: var(--muted); margin: 0; }
.entry-label {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.entry-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  cursor: pointer;
}
.entry-link:focus-visible {
  outline: 3px solid rgba(250,153,56,.35);
  outline-offset: 4px;
}
.entry-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.entry-arrow::after {
  content: "→";
  margin-left: 8px;
  color: var(--orange);
  transition: var(--transition);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 34px;
}
.check-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 650; color: rgba(15,23,42,.92); }
.check-icon { color: var(--orange); line-height: 1.4; font-weight: 900; }

.service-stack { display: grid; gap: 32px; }
.service-block {
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 38px;
  align-items: stretch;
  min-height: 410px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.service-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--orange);
}
.service-main { display: flex; flex-direction: column; gap: 16px; }
.service-heading-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 2px; }
.service-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(250,153,56,.12);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 34px; height: 34px; }
.service-icon path,
.service-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-kicker { font-size: 12px; color: var(--grey); font-weight: 900; text-transform: uppercase; letter-spacing: .11em; margin: 0 0 8px; }
.service-block h3 { margin-bottom: 0; }
.service-quote {
  font-style: italic;
  color: var(--navy) !important;
  background: var(--sand);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0;
  font-weight: 650;
  line-height: 1.55;
}
.service-meta { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.7; }
.formats-panel {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.service-block li { color: var(--muted); font-size: 15px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.service-block li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-top: .55em; border-radius: 2px; background: var(--orange); }
.service-block .formats-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); font-weight: 900; margin: 0 0 16px; }
.service-note { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--sand); color: var(--dark); font-size: 14px; }
.service-result {
  margin-top: 2px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(250,153,56,.10);
  color: var(--dark);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.service-result strong { color: var(--navy); }
.service-block.is-highlighted {
  border-color: rgba(250,153,56,.85);
  box-shadow: 0 22px 45px rgba(0,30,61,.11), 0 0 0 4px rgba(250,153,56,.14);
}

.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 28px; }
.fact { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-weight: 750; font-size: 15px; }

.credential-strip {
  margin-top: 28px;
}
.credential-note {
  margin: 0 0 16px;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.credential-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.credential-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0;
  text-decoration: none;
}
.credential-link:focus-visible {
  outline: 3px solid rgba(250, 153, 56, 0.35);
  outline-offset: 6px;
  border-radius: 8px;
}
.credential-badge {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(.96);
}
.credential-badge-inqa {
  max-height: 72px;
  max-width: 92px;
}
.credential-badge-network {
  max-height: 64px;
  max-width: 168px;
}
.label-optional {
  color: rgba(215,219,227,.72);
  font-weight: 600;
}


.reference-subheader {
  text-align: center;
  margin: -16px auto 24px;
}
.reference-subheader h3 {
  font-size: 21px;
  margin: 0;
  font-weight: 900;
  letter-spacing: -.02em;
}
.reference-subheader p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 16px;
}
.project-subheader { margin-top: 48px; }
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 8px;
  max-width: 1040px;
}
.client-logo-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.045);
}
.client-logo-card img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof-grid-projects { align-items: stretch; }
.proof-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.proof-card-logo {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.proof-card-logo img {
  max-width: 165px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.proof-card-logo-duo {
  gap: 18px;
}

.proof-card-logo-duo img {
  max-width: 92px;
  max-height: 36px;
}

.proof-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(250,153,56,.12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.proof-card h3 { font-size: 19px; }
.proof-card p { font-size: 15px; }

.contact-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; max-width: 780px; margin: 0 auto; }

.contact-vertical {
  display: flex !important;
  flex-direction: column !important;
}
.contact-vertical > * {
  width: 100%;
}

.contact-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card {
  background: white;
  color: var(--dark);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-panel h3, .contact-card h3 { font-size: 25px; line-height: 1.2; margin-bottom: 18px; font-weight: 900; }
.contact-card h3 { color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 15px; }
label { display: block; color: #d7dbe3; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.10);
  color: white;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
textarea { resize: vertical; min-height: 112px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%), linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
select option { color: var(--navy); background: white; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250,153,56,.18); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; color: #d7dbe3; font-size: 13px; margin: 12px 0 20px; }
.checkbox-row input { width: auto; margin-top: 5px; accent-color: var(--orange); }
.checkbox-row a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.contact-card p { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.icon-circle { width: 62px; height: 62px; border-radius: 999px; background: rgba(250,153,56,.12); color: var(--orange); display: grid; place-items: center; font-size: 28px; margin: 0 auto 20px; }
.center { text-align: center; }

.site-footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 42px 0;
  border-top: 1px solid #1f2937;
  font-size: 14px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { color: white; font-weight: 900; margin: 0; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { color: white; }
.footer-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #6b7280; }
.footer-meta a:hover { color: white; }

.legal-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 132px 20px 72px;
}
.legal-main h1 { font-size: 42px; margin-bottom: 28px; }
.legal-main h2 { font-size: 23px; margin: 34px 0 12px; }
.legal-main h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { background: var(--sand); border-left: 4px solid var(--orange); padding: 16px 18px; border-radius: 8px; }

@media (max-width: 900px) {
  .mobile-menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px min(24px, 5vw) 24px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #eef0f4;
    box-shadow: 0 18px 36px rgba(0,30,61,.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition);
  }
  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav .nav-home { display: block; }
  .main-nav .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 13px;
  }
  .main-nav .mobile-only-cta {
    display: block;
    margin-top: 16px;
  }
  .main-nav .mobile-only-cta .nav-link {
    border-bottom: 0;
  }
  .grid-hero, .split, .split.reverse, .service-block, .contact-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; max-width: 780px; margin: 0 auto; }
  .entry-grid, .proof-grid { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .client-logo-card { min-height: 96px; padding: 18px; }
  .client-logo-card img { max-height: 46px; }
  .reference-subheader { margin-top: -12px; }
  .check-grid, .fact-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .section { padding: 70px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .navbar { height: 74px; }
  .logo img { height: 40px; }
  .header-actions .btn { padding: 10px 13px; font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .entry-card, .service-block, .proof-card, .contact-panel, .contact-card { padding: 22px; }
  .client-logo-grid { grid-template-columns: 1fr 1fr; }
  .client-logo-card { min-height: 88px; padding: 16px; }

  .proof-card-logo { height: 40px; margin-bottom: 16px; }
  .proof-card-logo img { max-width: 150px; max-height: 36px; }
  .proof-card-logo-duo { gap: 12px; }
  .proof-card-logo-duo img { max-width: 78px; max-height: 30px; }
}

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .service-heading-row { gap: 14px; }
}
@media (max-width: 560px) {
  .service-icon { width: 50px; height: 50px; border-radius: 14px; }
  .service-icon svg { width: 29px; height: 29px; }
  .service-quote { padding: 14px 15px; }
  .formats-panel { padding: 20px; }
}


.entry-card, .service-block, .proof-card, .contact-card, .contact-panel {
  transition: var(--transition);
}
.entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(250,153,56,.55);
  box-shadow: 0 18px 36px rgba(0, 30, 61, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .entry-link:hover .entry-arrow::after { transform: translateX(4px); }
  .entry-card:hover, .proof-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250,153,56,.55);
    box-shadow: 0 18px 36px rgba(0, 30, 61, 0.08);
  }
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.55); }
input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
  border-color: rgba(200, 60, 60, 0.88);
  box-shadow: 0 0 0 3px rgba(200, 60, 60, 0.13);
}


@media (max-width: 560px) {
  html { scroll-padding-top: 64px; }
  #erstgespraech,
  #kontaktformular { scroll-margin-top: 84px; }
}

/* v9/v11: robuste mobile Navigation, iPhone-Fix */
.mobile-menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

@media (max-width: 900px) {
  .navbar {
    position: relative;
    padding-right: 56px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    z-index: 120;
    cursor: pointer;
  }

  .hamburger-bar {
    display: block !important;
    width: 24px;
    height: 2px;
    min-height: 2px;
    margin: 4px 0;
    background: var(--navy) !important;
    border-radius: 999px;
    opacity: 1;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(250, 153, 56, 0.45);
    outline-offset: 3px;
  }
}

.eyebrow-on-dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(250,153,56,.45);
  color: var(--orange);
}


@media (max-width: 700px) {
  .credential-strip { margin-top: 24px; }
  .credential-note { margin-bottom: 14px; }
  .credential-logos { gap: 28px; }
  .credential-link { min-height: 58px; }
  .credential-badge-inqa { max-height: 64px; max-width: 82px; }
  .credential-badge-network { max-height: 56px; max-width: 150px; }
}



/* v19: Favicons/Open Graph do not require CSS. Logo wall optical balancing */
.client-logo-grid .client-logo-card { padding: 24px 28px; }
.client-logo-grid .client-logo { object-fit: contain; }
.client-logo-grid .logo-pfalzwerke-netz { max-height: 52px; }
.client-logo-grid .logo-amprion { max-height: 42px; max-width: 84%; }
.client-logo-grid .logo-vde { max-height: 48px; max-width: 78%; }
.client-logo-grid .logo-omexom { max-height: 40px; max-width: 82%; }
.client-logo-grid .logo-muth { max-height: 42px; max-width: 78%; }
.client-logo-grid .logo-pfalzkom { max-height: 42px; max-width: 80%; }
.client-logo-grid .logo-repa { max-height: 44px; max-width: 74%; }
.client-logo-grid .logo-etm { max-height: 46px; max-width: 76%; }
.client-logo-grid .logo-elgema { max-height: 42px; max-width: 82%; }
.client-logo-grid .logo-dhbw { max-height: 48px; max-width: 78%; }

/* v19: slightly softer, still visible keyboard focus */
.entry-link:focus-visible,
.credential-link:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(250,153,56,.22);
  border-radius: 10px;
}
.entry-card:focus-visible {
  outline: none;
  box-shadow: 0 18px 36px rgba(0,30,61,.08), 0 0 0 4px rgba(250,153,56,.20);
}

@media (max-width: 900px) {
  .client-logo-grid .client-logo-card { padding: 20px 22px; }
}

/* Mobile/tablet portrait: more breathing room between customer logo wall and project examples */
@media (max-width: 900px) and (orientation: portrait) {
  .reference-subheader.project-subheader {
    margin-top: 44px;
  }
}

/* v20: neue Struktur mit vier Formaten und kompakter Arbeitsweise */
@media (max-width: 1150px) and (min-width: 901px) {
  .main-nav { gap: 14px; font-size: 11px; letter-spacing: .045em; }
  .navbar { gap: 18px; }
  .header-actions .btn { padding-inline: 16px; }
}

.entry-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.section-compact {
  padding: 72px 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 52px;
  max-width: 980px;
  margin: 0 auto;
}

.principle-item {
  border-top: 2px solid rgba(250,153,56,.42);
  padding-top: 16px;
}

.principle-item h3 {
  font-size: 21px;
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.principle-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.credential-logos + .credential-note {
  margin-top: 16px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .entry-grid-four,
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .section-compact {
    padding: 64px 0;
  }
}

/* v21: Header-Feinschliff, Formate bereinigt, Herausforderungen einspaltig */
@media (min-width: 901px) {
  .logo img { height: 42px; }
  .navbar { gap: 16px; }
  .main-nav { gap: 16px; font-size: 11px; letter-spacing: .052em; }
  .main-nav .nav-link { white-space: nowrap; }
  .header-actions .btn {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 14px;
    max-width: 154px;
  }
}

@media (min-width: 1160px) {
  .main-nav { gap: 18px; font-size: 11.5px; }
  .header-actions .btn { max-width: 164px; padding-inline: 16px; }
}

.hero .hero-actions {
  gap: 0;
}

.entry-grid-four .entry-card {
  min-height: 268px;
}

.entry-grid-four .entry-card h3 {
  min-height: 64px;
  margin-bottom: 18px;
}

.entry-grid-four .entry-card p {
  min-height: 92px;
}

.entry-grid-four .entry-arrow {
  padding-top: 22px;
}

.entry-arrow::before {
  content: "→";
  margin-right: 10px;
  color: var(--orange);
  transition: var(--transition);
}

.entry-arrow::after {
  content: none;
}

@media (hover: hover) and (pointer: fine) {
  .entry-link:hover .entry-arrow::before { transform: translateX(4px); }
}

.check-grid {
  grid-template-columns: 1fr;
  max-width: 820px;
  gap: 18px;
}

.check-item {
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .entry-grid-four .entry-card { min-height: auto; }
  .entry-grid-four .entry-card h3,
  .entry-grid-four .entry-card p { min-height: 0; }
  .check-grid { max-width: none; gap: 16px; }
}

/* v25: WebP picture support */
.portrait-card picture,
.image-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-card picture img,
.image-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
