/* ============================================================
   ODCUS.com — design system
   Rebuilt from the Framer site (July 2026). Static, no build step.
   Fonts: Public Sans (headings), Titillium Web (body/UI)
   ============================================================ */

/* ---------- Fonts (self-hosted, subset files from Framer CDN) ---------- */
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/KMJTBRQWfcmjxIXqx5l6dHN1WGk.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/ATZPkLAtvLvXgaFVN3QIlC9pI.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/ZwSvS131EViJndlPh8b9XUmqaU0.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/C30EQW3RYxPTMwRS0UBrrmFnU.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/KPxVTCnRjRccUjMpghjEh7cag.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/WdaMcQsftjDnpoL78jHLILUYFM.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/tCEmxRgn44JY7EAbBUmXyKxL8.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("/assets/fonts/pueaAxQVjwNV2n15K81DaAJdNus.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --purple: #7611f7;
  --purple-btn: #7430f7;
  --purple-dark: #590da0;
  --purple-mid: #8719e1;
  --teal: #61d2ce;
  --navy: #121b60;
  --ink: #1d1d1b;
  --black: #000;
  --gray-700: #444;
  --gray-600: #666;
  --gray-500: #6c7179;
  --gray-line: #e2e2e2;
  --bg-gray: #ededed;
  --white: #fff;

  --font-head: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Titillium Web", "Segoe UI", Arial, sans-serif;

  --radius-card: 24px;
  --radius-btn: 16px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0.5px 0.5px 0.7px -0.2px rgba(0, 0, 0, 0.05),
    1.3px 1.3px 1.8px -0.4px rgba(0, 0, 0, 0.06),
    2.7px 2.7px 3.8px -0.7px rgba(0, 0, 0, 0.07),
    5.4px 5.4px 7.7px -1.1px rgba(0, 0, 0, 0.08);
  --container: 1200px;
  --pad-x: 40px;
  --header-h: 85px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--white);
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ---------- Typography ---------- */
h1,
.h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--black);
}
h2,
.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--ink);
}
h3,
.h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--ink);
}
h4,
.h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--purple);
}
h5,
.h5 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--black);
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--purple);
}
.accent {
  color: var(--purple);
}
.muted {
  color: var(--gray-600);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section {
  padding: 90px 0;
}
.band-gray {
  background: var(--bg-gray);
}
.band-purple {
  background: var(--purple);
  color: var(--white);
}
.band-purple h2,
.band-purple h3,
.band-purple p {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .arrow {
  transition: transform 0.15s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--purple-btn);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
}
.btn-outline {
  background: var(--white);
  color: var(--purple);
  border: 1px solid var(--purple);
  box-shadow: none;
}
.btn-outline:hover {
  background: #f6f0ff;
}
.btn-teal {
  background: var(--teal);
  color: var(--black);
}
.btn-teal:hover {
  background: #4fc4c0;
}
.btn-white {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 12px 0;
}
.nav-bar {
  max-width: 1416px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
}
.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
}
.nav-logo img {
  height: 26px;
  width: auto;
}
.nav-links a[aria-current="page"] {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.lang-code {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.nav-menu-cta,
.nav-menu-emergency {
  display: none;
}
@media (max-width: 1024px) {
  .nav-menu-cta {
    display: inline-flex;
    margin-top: 12px;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .nav-menu-emergency {
    white-space: normal;
  }
  .nav-menu-emergency {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 16px;
  color: var(--gray-600);
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--black);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  position: relative;
}
.lang-switch > a,
.lang-switch > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 15px;
  padding: 12px 8px;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 8px;
  display: none;
  min-width: 130px;
}
.lang-switch.open .lang-menu {
  display: block;
}
.lang-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
}
.lang-menu a:hover {
  background: var(--bg-gray);
}
.btn-emergency {
  padding: 13px 20px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px 10px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1); /* pull the video up behind the floating nav */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 44px) 0 48px;
}
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero .hero-bg video, .hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20,12,45,0.9) 0%, rgba(20,12,45,0.62) 44%, rgba(20,12,45,0.28) 100%); }
.hero > .container { position: relative; z-index: 2; }
.hero .hero-copy { max-width: 660px; }
.hero .eyebrow { color: #cdb8ff; }
.hero .hero-copy h1 { color: #fff; }
.hero .hero-copy .lead { color: rgba(255,255,255,0.9); }
.hero > .container {
  width: 100%;
  max-width: 1560px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.hero-copy .eyebrow {
  margin-bottom: 20px;
}
.hero-copy h1 {
  margin-bottom: 24px;
}
.hero-copy .lead {
  margin-bottom: 32px;
}
.hero-media img,
.hero-media video {
  width: 100%;
  aspect-ratio: 6 / 5;
  max-height: calc(100svh - var(--header-h) - 96px);
  height: auto;
  border-radius: var(--radius-card);
  object-fit: cover;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.challenge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.challenge-card h4 {
  margin-top: 4px;
}
.challenge-card p {
  color: var(--ink);
  font-size: 16px;
  flex-grow: 1;
}

/* ---------- Section headings ---------- */
.section-head {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  margin-bottom: 18px;
}
.section-head p {
  font-size: 17px;
  color: var(--ink);
}
.section-head-left {
  text-align: left;
  margin: 0 0 48px;
  max-width: 720px;
}

/* ---------- Quote ---------- */
.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 24px;
}
.quote figcaption {
  font-size: 14px;
  color: var(--gray-600);
}

/* ---------- USP band (purple, 3 cols) ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.usp-grid h3 {
  margin-bottom: 20px;
  font-size: clamp(21px, 1.9vw, 25px);
}
.usp-grid p {
  font-size: 16.5px;
  margin-bottom: 14px;
}
/* Keep the three headline blocks the same height so the body text
   below them lines up across columns (headings wrap to 1-3 lines). */
@media (min-width: 1025px) {
  .usp-grid h3 {
    min-height: 2.8em;
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.faq-intro h2 {
  margin-bottom: 16px;
}
.faq-intro p {
  color: var(--ink);
  margin-bottom: 28px;
}
.faq-intro img {
  border-radius: var(--radius-card);
  margin-bottom: 28px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--gray-700);
  font-size: 16.5px;
}

/* ---------- Resource cards (Referenzen) ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.resource-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.resource-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}
.resource-card .title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.resource-card .desc {
  font-size: 14.5px;
  color: var(--gray-600);
}
.band-purple .resource-card .title,
.band-purple .resource-card .desc {
  color: var(--ink);
}
.band-purple .resource-card .desc {
  color: var(--gray-600);
}

/* ---------- CTA card ---------- */
.cta-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.cta-card h2 {
  margin-bottom: 18px;
}
.cta-card p {
  color: var(--ink);
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-card img {
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: auto;
  justify-self: end;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 90px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 70px;
}
.footer-brand img.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: var(--ink);
  display: inline-flex;
}
.footer-social svg {
  width: 24px;
  height: 24px;
}
.footer-col h5 {
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a,
.footer-col li {
  color: var(--gray-500);
  font-size: 16.5px;
}
.footer-col a:hover {
  color: var(--purple);
}
.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-500);
  font-size: 16.5px;
}
.contact-line svg {
  width: 20px;
  height: 20px;
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid var(--gray-line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
  color: var(--gray-500);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a:hover {
  color: var(--purple);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 60px 0;
}
.page-hero.centered {
  text-align: center;
}
.page-hero .lead {
  margin-top: 20px;
}

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.post-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  height: auto;
  background: var(--bg-gray);
}
.post-card .post-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.post-card .post-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.post-card .post-meta {
  font-size: 13.5px;
  color: var(--gray-500);
  margin-top: auto;
}
.post-card .post-excerpt {
  color: var(--gray-600);
  font-size: 14.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-posts .post-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--pad-x);
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.latest-posts .post-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.latest-posts .ref-showcase-foot { margin-top: 18px; }
@media (max-width: 809px) {
  .latest-posts .post-card { flex-basis: 82%; }
}
.post-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple);
  background: #f1e8ff;
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

/* Article page */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-hero img {
  border-radius: var(--radius-card);
  margin: 36px 0;
}
.article h1 {
  font-size: clamp(32px, 4vw, 44px);
}
.article-meta {
  color: var(--gray-500);
  font-size: 14.5px;
  margin-top: 16px;
}
.article-body {
  font-size: 18px;
  color: var(--ink);
}
.article-body h2 {
  font-size: 28px;
  margin: 40px 0 16px;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
}
.article-body p {
  margin-bottom: 18px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 18px 22px;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: var(--purple);
  text-decoration: underline;
}
.article-body blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-700);
}
.article-body strong {
  font-weight: 700;
}
.article-body figure {
  margin: 28px 0;
}
.article-body figure img,
.article-body > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: var(--bg-gray);
}
.article-body figcaption {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-600);
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
.stack-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-bar {
    padding: 12px 20px;
    border-radius: 16px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 4px;
  }
  .site-header.menu-open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
  .btn-emergency .em-label {
    display: none;
  }
  .btn-emergency {
    padding: 13px 14px;
  }
  .card-grid,
  .resource-grid,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-grid,
  .faq-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 809px) {
  :root {
    --pad-x: 24px;
  }
  section {
    padding: 64px 0;
  }
  .card-grid,
  .resource-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-card {
    padding: 32px 24px;
  }
  .hero {
    min-height: 0;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + 32px) 0 64px;
  }
}

/* ============================================================
   Extended components (inner pages)
   ============================================================ */

/* Photo hero with purple gradient overlay (services, about, blog, media…) */
.hero-photo {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 90px 0;
  margin-top: calc(var(--header-h) * -1); /* pull behind the floating nav */
  padding-top: 150px;
}
.hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(118, 17, 247, 0.25) 0%, rgba(118, 17, 247, 0.55) 55%, rgba(118, 17, 247, 0.92) 100%);
}
.hero-photo h1,
.hero-photo p {
  color: var(--white);
}
.hero-photo .lead {
  margin-top: 16px;
  font-size: clamp(18px, 1.8vw, 22px);
}
.hero-photo .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.hero-photo .container {
  max-width: 900px;
}
.btn-white-solid {
  background: var(--white);
  color: var(--purple);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: none;
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Checklists */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16.5px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.band-purple .check-list li::before {
  color: var(--white);
}
.check-dot li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  top: 3px;
}

/* Vision band (Unser Ziel / Die Realisierung deines Erfolges) */
.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.vision-grid .kicker {
  font-size: 16px;
  margin-bottom: 14px;
}
.vision-grid h2 {
  margin-bottom: 20px;
}
.vision-side h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Icon cards (about page) */
.icon-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.icon-card .icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.icon-card p {
  font-size: 16.5px;
  color: var(--gray-700);
  margin-bottom: 12px;
}
.icon-card img {
  border-radius: 14px;
  margin-top: 14px;
}
/* About: 'Trusted Advisor' photo pair — tidy 2-up portraits (was unstyled/stretched) */
.advisor-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.advisor-photos picture { display: block; }
.advisor-photos img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-top: 0;
  display: block;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.about-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Partner logo row */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 48px;
}
.logo-row img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Service detail: feature split (photo card + why-it-matters) */
.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.photo-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.photo-card img.photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 1;
}
.photo-card > * {
  position: relative;
  z-index: 2;
}
.photo-card .photo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.feature-copy h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-copy p {
  font-size: 16.5px;
  color: var(--gray-700);
  margin-bottom: 20px;
}

/* Service cards with photo + checklist */
.svc-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-card > img,
.svc-card > picture {
  display: block;
  width: 100%;
}
.svc-card > img,
.svc-card > picture img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.svc-card .svc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.svc-card .svc-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.svc-card .svc-desc {
  font-size: 14.5px;
  color: var(--gray-600);
}
.svc-card .check-list {
  margin: 4px 0 8px;
}
.svc-card .check-list li {
  font-size: 14px;
}
.svc-card .btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 20px;
  font-size: 14.5px;
}
.svc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Blog index list */
.blog-search {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 20px;
  display: block;
  background: var(--bg-gray);
  border: none;
  border-radius: 12px;
  padding: 14px 20px 14px 44px;
  font: inherit;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}
.filter-label {
  font-size: 13px;
  color: var(--gray-500);
  margin: 18px 0 10px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-pill {
  font-size: 13.5px;
  color: var(--gray-600);
  background: var(--bg-gray);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-pill:hover {
  background: #e0d5f5;
}
.filter-pill.active {
  background: var(--purple);
  color: var(--white);
}
.blog-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}
.blog-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 10px;
  border-radius: 16px;
  transition: background 0.15s ease;
}
.blog-row:hover {
  background: #f7f7f7;
}
.blog-row img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-gray);
  border: 1px solid var(--gray-line);
}
.blog-row .row-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.blog-row .row-excerpt {
  font-size: 14px;
  color: var(--gray-600);
}
.blog-row .btn {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* Simple legal page */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
}
.legal-body h1 {
  margin-bottom: 32px;
}
.legal-body h2 {
  font-size: 24px;
  margin: 36px 0 12px;
}
.legal-body p,
.legal-body li {
  margin-bottom: 12px;
  color: var(--gray-700);
}
.legal-body ul {
  list-style: disc;
  margin-left: 22px;
}
.legal-body a {
  color: var(--purple);
}

@media (max-width: 1024px) {
  .vision-grid,
  .about-grid,
  .feature-split,
  .svc-grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 809px) {
  .hero-photo {
    min-height: 360px;
  }
  .blog-row {
    grid-template-columns: 72px 1fr;
  }
  .blog-row .btn {
    display: none;
  }
  .logo-row {
    justify-content: center;
    gap: 28px;
  }
  .logo-row img {
    height: 34px;
  }
  .feature-split {
    padding: 24px;
  }
}


/* ---------- Accessibility & v2 additions ---------- */
:focus-visible {
  outline: 3px solid var(--purple-btn);
  outline-offset: 2px;
  border-radius: 4px;
}
.band-purple :focus-visible,
.hero-photo :focus-visible,
.btn-primary:focus-visible {
  outline-color: var(--white);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--purple);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn .arrow,
  .resource-card,
  .post-card,
  .blog-row {
    transition: none;
  }
  .btn:hover,
  .resource-card:hover,
  .post-card:hover {
    transform: none;
  }
}
::placeholder {
  color: #767676;
  opacity: 1;
}

/* Quote band on service pages (trust element) */
.quote-band {
  background: var(--bg-gray);
  padding: 56px 0;
}
.quote-band .quote blockquote {
  font-size: 19px;
}

/* Hero CTA microcopy */
.cta-microcopy {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 12px;
}

/* Buttons may wrap on small screens (prevents horizontal page overflow) */
@media (max-width: 600px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
  }
}

/* Compact nav on small screens */
@media (max-width: 600px) {
  .nav-bar {
    padding: 10px 14px;
    gap: 10px;
  }
  .nav-logo img {
    height: 20px;
  }
  .nav-right {
    gap: 6px;
  }
  .lang-switch > a,
  .lang-switch > button {
    padding: 10px 4px;
  }
  .btn-emergency {
    padding: 11px 12px;
  }
  .nav-toggle {
    padding: 10px 6px;
  }
}

/* ---------- Nav dropdown (Referenzen) ---------- */
.nav-drop {
  position: relative;
  display: inline-flex;
}
.nav-drop > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  color: var(--gray-600);
  transition: color 0.15s ease;
}
.nav-drop > a:hover,
.nav-drop:hover > a,
.nav-drop:focus-within > a {
  color: var(--purple);
}
.nav-drop > a[aria-current="page"] {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-drop .nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 14px;
  display: none;
  z-index: 120;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  display: block;
}
.nav-drop-menu-inner {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  padding: 10px 0;
  min-width: 170px;
}
.nav-drop-menu-inner a {
  display: block;
  padding: 8px 20px;
  font-size: 16.5px;
  color: var(--gray-600);
  white-space: nowrap;
}
.nav-drop-menu-inner a:hover,
.nav-drop-menu-inner a[aria-current="page"] {
  color: var(--black);
}
@media (max-width: 1024px) {
  .nav-drop {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-drop > a {
    padding: 10px 0;
    width: 100%;
  }
  .nav-drop > a .drop-chevron {
    display: none;
  }
  .nav-drop .nav-drop-menu {
    position: static;
    display: block;
    padding-top: 0;
  }
  .nav-drop-menu-inner {
    box-shadow: none;
    padding: 0 0 4px 16px;
    min-width: 0;
  }
  .nav-drop-menu-inner a {
    padding: 8px 0;
  }
}

/* Header height per breakpoint (keeps heroes flush behind the nav) */
@media (max-width: 1024px) {
  :root {
    --header-h: 81px;
  }
}
@media (max-width: 600px) {
  :root {
    --header-h: 73px;
  }
}

/* ============================================================
   Service page v2 components (4-service portfolio)
   ============================================================ */

/* Callout box: differentiation, ODCUS-Unterschied */
.callout {
  background: #f6f0ff;
  border: 1px solid #e7ddff;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 auto;
  max-width: 900px;
}
.callout .callout-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.callout p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
}
.callout p + p { margin-top: 10px; }
.callout a { color: var(--purple); font-weight: 600; }

/* Regulatory highlight box (ISMS / ISG) */
.reg-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  max-width: 900px;
  margin: 0 auto;
}
.reg-box .callout-label { color: var(--teal); }
.reg-box p { color: rgba(255, 255, 255, 0.92); margin: 0; }

/* Pricing / Investition block */
.pricing {
  max-width: 900px;
  margin: 0 auto;
}
.pricing .price-lead {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-size: 16px;
}
.price-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-line);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-line);
}
.price-row .price-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.price-row .price-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--purple);
  text-align: right;
  white-space: nowrap;
}
.price-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-700);
}

/* Proof + audience simple sections */
.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.info-cols h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.plain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plain-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  color: var(--gray-700);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

/* Section intro heading (centered, above card rows) */
.svc-section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.svc-section-head h2 { margin-bottom: 14px; }
.svc-section-head p { color: var(--gray-700); font-size: 17px; }

@media (max-width: 809px) {
  .info-cols { grid-template-columns: 1fr; gap: 32px; }
  .price-row { flex-direction: column; gap: 4px; }
  .price-row .price-val { text-align: left; }
  .callout, .reg-box { padding: 20px 22px; }
}

/* ---------- Breadcrumb (service detail pages) ---------- */
.breadcrumb-bar {
  padding: 20px 0 0;
}
.breadcrumb {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--gray-600);
}
.breadcrumb a:hover {
  color: var(--purple);
}
.breadcrumb span[aria-hidden] {
  color: var(--gray-line);
}
.breadcrumb span[aria-current] {
  color: var(--ink);
}

/* Differentiation callout: lighter variant to break the mid-page rhythm */
.callout.callout-alt {
  background: var(--white);
  border: 1px solid var(--gray-line);
}
.callout.callout-alt .callout-label { color: var(--teal); }

/* ------------------------------------------------------------
   Picture-wrapper fixes (image pipeline wraps every <img> in
   <picture>; these two selectors relied on the <img> being a
   direct child and broke when the wrapper was introduced).
   ------------------------------------------------------------ */
/* photo-card background: the <picture> became the positioning
   context and collapsed to zero height, hiding the photo. Make
   the wrapper itself the full-bleed background layer. */
.photo-card > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.photo-card > picture img.photo-bg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   Homepage v2 (2026-07) — reframe, steps, trust, einblicke, FAQ, CTA
   ============================================================ */

.hero-trust {
  margin-top: 18px;
  font-size: 14px;
  color: var(--gray-600);
  letter-spacing: -0.01em;
}

.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

/* Reframe band */
.reframe { text-align: center; }
.reframe .container { max-width: 900px; }
.reframe h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; margin-bottom: 20px; }
.reframe-body { font-size: clamp(17px, 1.6vw, 20px); color: var(--gray-700); margin-bottom: 28px; }
.reframe-line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.03em;
  color: var(--purple);
}

/* USP 4-col variant */
.usp-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .usp-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usp-grid-4 { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px 28px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 16.5px; color: var(--gray-700); }
@media (max-width: 809px) { .steps { grid-template-columns: 1fr; } }

/* Trust quotes + network */
.trust-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto 48px; align-items: start; }
.trust-quotes .quote { text-align: left; margin: 0; max-width: none; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px 30px; }
.trust-quotes blockquote { font-size: 16.5px; }
@media (max-width: 809px) { .trust-quotes { grid-template-columns: 1fr; gap: 20px; } }
.network-label { text-align: center; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }

/* Einblicke strip */
.einblicke-head { margin-bottom: 28px; }
.einblicke-head h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 6px; }
.einblicke-head p { color: var(--gray-600); font-size: 16px; }
.einblicke-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.einblicke-card { border: 1px solid var(--gray-line); border-radius: 16px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 5px; align-content: start; transition: border-color 0.15s ease, transform 0.15s ease; }
.einblicke-card .einblicke-thumb { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
.einblicke-card .title, .einblicke-card .desc, .einblicke-card .go { grid-column: 2; }
.einblicke-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.einblicke-card .title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.einblicke-card .desc { font-size: 14.5px; color: var(--gray-600); flex-grow: 1; }
.einblicke-card .go { font-size: 14px; font-weight: 600; color: var(--purple); margin-top: 6px; }
@media (max-width: 809px) { .einblicke-grid { grid-template-columns: 1fr; } }

/* FAQ single column */
.faq-single { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

/* Final CTA band */
.cta-final { background: var(--purple); color: var(--white); text-align: center; }
.cta-final-inner { max-width: 720px; margin: 0 auto; }
.cta-final .kicker { color: var(--teal); }
.cta-final h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.cta-final-lead { color: rgba(255,255,255,0.9); font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 32px; }
.cta-actions-center { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Homepage services grid: 2-col, collapses to 1 on phones (was inline-styled) */
.card-grid.home-services { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin: 0 auto; }
@media (max-width: 809px) { .card-grid.home-services { grid-template-columns: 1fr; } }

/* ============================================================
   Homepage v2.1 (2026-07) — imagery + modern design elements
   ============================================================ */

/* Service cards with photo header */
.svc-photo-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.svc-photo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.13); }
.svc-photo-media { display: block; position: relative; }
.svc-photo-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; display: block; }
.svc-photo-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(118,17,247,0) 60%, rgba(89,13,160,0.22) 100%);
}
.svc-photo-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.svc-photo-title { display: block; }
.svc-photo-text { font-size: 16.5px; color: var(--ink); flex-grow: 1; }
.svc-photo-cta { font-weight: 600; color: var(--purple); display: inline-flex; align-items: center; gap: 8px; }
.svc-photo-card:hover .svc-photo-cta .arrow { transform: translateX(3px); }
.svc-photo-cta .arrow { transition: transform 0.15s ease; }
/* 5 equal cards: 4-col grid, each card spans 2 (= 2 per row); an odd last card
   is centered in its own row at the same width/height as the others. */
.card-grid.home-services { grid-template-columns: repeat(4, 1fr); }
.card-grid.home-services > * { grid-column: span 2; }
.card-grid.home-services > *:last-child:nth-child(odd) { grid-column: 2 / span 2; }
@media (max-width: 809px) {
  .card-grid.home-services { grid-template-columns: 1fr; }
  .card-grid.home-services > *,
  .card-grid.home-services > *:last-child:nth-child(odd) { grid-column: auto; }
}

/* People feature split */
.feature-people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-people-media { position: relative; }
.feature-people-media::before {
  content: ""; position: absolute; z-index: 0;
  width: 58%; height: 62%; right: -18px; bottom: -18px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(118,17,247,0.12), rgba(97,210,206,0.16));
}
.feature-people-media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto;
  border-radius: var(--radius-card); box-shadow: 0 20px 50px rgba(89,13,160,0.18);
}
.feature-people-copy h2 { margin-bottom: 16px; }
.feature-people-copy > p { color: var(--gray-700); font-size: 17px; margin-bottom: 22px; }
@media (max-width: 809px) { .feature-people-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Einblicke card thumbnails */
.einblicke-thumb img { width: 54px; height: 54px; object-fit: contain; display: block; }

/* Final CTA: two columns with photo */
.cta-final-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; text-align: left; max-width: 1040px; margin: 0 auto;
}
.cta-final-copy h2 { margin-bottom: 16px; }
.cta-final-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; border-radius: var(--radius-card); }
.cta-actions-start { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
@media (max-width: 809px) {
  .cta-final-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-actions-start { justify-content: center; }
}

/* Modern decorative gradient accents */
.reframe { position: relative; overflow: hidden; }
.reframe::before { display: none; }
.reframe .container { position: relative; z-index: 1; }

/* Fix: keep the feature photo above its decorative offset shape (img is wrapped in <picture>) */
.feature-people-media > picture { position: relative; z-index: 1; display: block; }

/* ============================================================
   Homepage v2.2 (2026-07) — motion + editorial craft
   ============================================================ */

/* Scroll-in entrance — additive and fail-safe: the animation moves transform only,
   never opacity, so content is ALWAYS visible (worst case: no motion). JS adds
   .in-view-anim when an element scrolls into view. */
.in-view-anim { animation: slideUp .65s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes slideUp { from { transform: translateY(22px); } to { transform: none; } }

/* Hero entrance (one-time, on load) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-media { animation: fadeRise .7s cubic-bezier(.22,.61,.36,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .04s; }
  .hero-copy > *:nth-child(2) { animation-delay: .11s; }
  .hero-copy > *:nth-child(3) { animation-delay: .18s; }
  .hero-copy > *:nth-child(4) { animation-delay: .25s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .hero-media { animation-delay: .14s; animation-duration: .85s; }
}
@keyframes fadeRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Numbered editorial section kicker (01 — LABEL) */
.section-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500);
  margin-bottom: 20px;
}
.section-kicker .num { color: var(--purple); }
.section-kicker .line { width: 42px; height: 1px; background: var(--gray-line); display: inline-block; }
.section-kicker.centered { justify-content: center; }
.band-purple .section-kicker { color: rgba(255,255,255,0.72); }
.band-purple .section-kicker .num { color: var(--teal); }
.band-purple .section-kicker .line { background: rgba(255,255,255,0.32); }

/* Editorial left-aligned section head (asymmetry / rhythm) */
.section-head.left { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }

/* Hover zoom on photo cards (clipped by the card's overflow:hidden) */
.svc-photo-media { overflow: hidden; }
.svc-photo-media img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.svc-photo-card:hover .svc-photo-media img { transform: scale(1.05); }
.einblicke-thumb img { transition: transform .4s ease; }
.einblicke-card:hover .einblicke-thumb img { transform: translateY(-2px) rotate(-3deg); }

/* Gentle drift on the reframe accent glow */
@media (prefers-reduced-motion: no-preference) {
  .reframe::before { animation: driftGlow 16s ease-in-out infinite alternate; }
}
@keyframes driftGlow {
  from { transform: translateX(-52%) translateY(-6px); }
  to   { transform: translateX(-46%) translateY(14px); }
}

/* Belt-and-suspenders: no motion when the user asks for none */
@media (prefers-reduced-motion: reduce) {
  .in-view-anim { animation: none; }
  .hero-copy > *, .hero-media { animation: none; }
}

/* Services: left-aligned editorial block (head left, grid fills the container) */
.card-grid.home-services { max-width: none; margin: 0; }

/* Trust section on white so the network logos (some ship with white boxes) blend cleanly.
   Testimonial cards get a hairline border to stay defined against the white background. */
.trust-band { background: var(--white); }
.trust-band .quote { border: 1px solid var(--gray-line); }

/* Einblicke on the brand violet: white cards pop against purple, text stays dark inside */
.einblicke-band .einblicke-head p { color: rgba(255, 255, 255, 0.85); }
.einblicke-band .einblicke-card { background: var(--white); border-color: transparent; }
.einblicke-band .einblicke-card:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); }

/* Mobile-menu CTA buttons: keep button text colour (the generic .nav-links a grey was
   winning on specificity and rendering the purple CTA text unreadable) */
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-teal { color: var(--black); }

/* ============ Referenzen / Case Studies (v3, 2026-07-17) ============ */
/* Index cards reuse .svc-photo-card; add an uppercase meta line above the title */
.svc-photo-meta { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin-bottom: 8px; }
/* Case hero meta chips */
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.case-meta span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30); color: var(--white); padding: 6px 15px; border-radius: 100px; font-size: 14px; line-height: 1.4; }
/* Case body blocks */
.case-block { max-width: 820px; }
.case-lead { max-width: 820px; font-size: 20px; line-height: 1.55; color: var(--gray-700); }

/* Reference case-study polish: editorial section headings + branded check badges */
.case-block > h2 { position: relative; padding-top: 22px; margin-bottom: 16px; }
.case-block > h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 42px; height: 3px; border-radius: 2px; background: var(--teal);
}
.case-block .check-list { gap: 14px; }
.case-block .check-list li { padding-left: 38px; font-size: 16px; line-height: 1.55; }
.case-block .check-list li::before {
  content: "✓"; top: 1px;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(97, 210, 206, 0.16); color: #0b7d76;
  border-radius: 50%; font-size: 12.5px; font-weight: 800;
}
/* reduced-motion: also cover the reference cards/chips added in this section */
@media (prefers-reduced-motion: reduce) {
  .svc-photo-card, .net-card, .ref-chip { transition: none; }
  .svc-photo-card:hover, .net-card:hover { transform: none; }
}

/* ---- Reference case: two-column layout (narrative left, sticky card right) ---- */
.case-intro { padding: 44px 0 4px; }
.case-intro .breadcrumb { margin-bottom: 16px; }
.case-intro h1 { max-width: 900px; }
.case-intro-lead { font-size: 20px; line-height: 1.5; color: var(--gray-700); max-width: 760px; margin-top: 14px; }
.case-body { padding: 64px 0 96px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.case-main .case-lead { margin: 0 0 34px; }
.case-main .case-block { max-width: none; }
.case-main .case-block + .case-block { margin-top: 40px; }
.case-main .result-block { background: var(--bg-gray); border-radius: 16px; padding: 28px 34px 34px; }
.case-main .result-block > h2 { padding-top: 0; }
.case-main .result-block > h2::before { display: none; }
.case-tools-label { margin: 26px 0 8px; font-weight: 600; color: var(--gray-600); }
.case-side { position: sticky; top: 96px; }
.case-side-card { border: 1px solid var(--gray-line); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 4px 18px rgba(20, 20, 40, 0.06); }
.case-side-card > picture img { width: 100%; height: 230px; object-fit: cover; display: block; }
.case-facts { padding: 4px 22px; }
.case-fact { padding: 14px 0; border-top: 1px solid #eeeef2; font-size: 15px; font-weight: 600; color: var(--ink); }
.case-fact:first-child { border-top: none; }
.case-side-service { padding: 18px 22px; border-top: 1px solid var(--gray-line); }
.case-side-service .callout-label { display: block; color: var(--teal); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.case-side-service p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gray-700); }
.case-side-service a { color: var(--purple); font-weight: 600; }
.case-side-btn { display: block; text-align: center; margin: 0 22px 22px; }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; gap: 30px; }
  .case-side { position: static; order: -1; }
  .case-side-card { max-width: 460px; }
}

/* ---- Homepage: Branchen (industry pain points -> service-mapped fixes) ---- */
.branchen-tabs { display: flex; flex-wrap: wrap; gap: 2px 30px; border-bottom: 1px solid var(--gray-line); margin: 40px 0; }
.branchen-tab { background: none; border: 0; padding: 12px 0; font: 700 14px/1 var(--font-head); letter-spacing: 0.4px; text-transform: uppercase; color: #9a9aa4; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s ease; }
.branchen-tab:hover { color: var(--ink); }
.branchen-tab.is-active { color: var(--ink); border-bottom-color: var(--purple); }
.branchen-panel { display: none; }
.branchen-panel.is-active { display: block; }
.branchen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.branchen-pain h3 { font-size: 22px; margin: 0 0 10px; }
.branchen-pain ul { list-style: none; margin: 0; padding: 0; }
.branchen-pain li { padding: 17px 0; border-top: 1px solid var(--gray-line); color: var(--gray-700); font-size: 16px; line-height: 1.5; }
.branchen-fix .fix-item { padding: 22px 0; border-top: 1px solid var(--gray-line); }
.branchen-fix .fix-item:first-child { border-top: none; padding-top: 4px; }
.branchen-fix .fix-svc { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--purple); text-decoration: none; margin-bottom: 5px; }
.branchen-fix .fix-svc:hover { text-decoration: underline; }
.branchen-fix h4 { font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: normal; line-height: 1.35; margin: 0 0 6px; color: var(--ink); }
.branchen-fix .fix-item > p { margin: 0; color: var(--gray-600); font-size: 15px; line-height: 1.55; }
@media (max-width: 809px) { .branchen-grid { grid-template-columns: 1fr; gap: 34px; } .branchen-tabs { gap: 0 20px; } }
/* Framework tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--bg-gray); color: var(--ink); padding: 7px 15px; border-radius: 100px; font-size: 14px; font-weight: 600; }
/* Referenzen proof band (inside .band-purple) */
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 8px; }
.ref-stat .ref-num { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--white); line-height: 1.1; }
.ref-stat p { color: rgba(255,255,255,.85); margin-top: 8px; }
@media (max-width: 809px) { .ref-stats { grid-template-columns: 1fr; gap: 22px; } }

/* Homepage: testimonial carousel (Stimmen) */
.tq-carousel { max-width: 760px; margin: 0 auto 44px; }
.tq-viewport { overflow: hidden; }
.tq-track { display: flex; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.tq-slide { min-width: 100%; box-sizing: border-box; padding: 4px; }
.tq-slide .quote { margin: 0; text-align: left; max-width: none; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 34px 36px; }
.tq-slide blockquote { font-size: 17px; line-height: 1.6; }
.tq-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.tq-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gray-line); background: var(--white); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.15s ease, color 0.15s ease; }
.tq-arrow:hover { border-color: var(--purple); color: var(--purple); }
.tq-dots { display: flex; gap: 8px; }
.tq-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--gray-line); cursor: pointer; padding: 0; transition: background 0.15s ease; }
.tq-dot.is-active { background: var(--purple); }
@media (prefers-reduced-motion: reduce) { .tq-track { transition: none; } }

/* Homepage: Referenzen showcase (case tiles) */
.ref-showcase { background: var(--bg-gray); }
.ref-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.ref-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; border: 1px solid var(--gray-line); border-radius: 16px; text-decoration: none; background: var(--white); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.ref-tile:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 20, 40, 0.07); }
.ref-tile-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--purple); }
.ref-tile-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ref-tile-arrow { margin-top: auto; padding-top: 8px; color: var(--gray-500); font-size: 18px; }
.ref-tile:hover .ref-tile-arrow { color: var(--purple); }
.ref-showcase-foot { margin-top: 28px; text-align: right; }
.ref-showcase-foot a { color: var(--purple); font-weight: 600; text-decoration: none; }
.ref-showcase-foot a:hover { text-decoration: underline; }
@media (min-width: 810px) and (max-width: 1040px) { .ref-showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .ref-showcase-grid { grid-template-columns: 1fr; } .ref-showcase-foot { text-align: left; } }

/* ---------- Service pages: photo band + cards in the site's card language ---------- */
.duo-photo-band { position: relative; overflow: hidden; padding: 96px 0; }
.duo-photo-band .band-bg { position: absolute; inset: 0; z-index: 0; }
.duo-photo-band .band-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.duo-photo-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(24, 14, 48, 0.35); }
.duo-photo-band > .container { position: relative; z-index: 2; }
.callout-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.duo-card { background: var(--white); color: var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 36px 38px 40px; display: flex; flex-direction: column; }
.duo-title { font-size: 21px; font-weight: 700; color: var(--ink); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-line); }
.duo-card p { margin: 0 0 12px; line-height: 1.65; color: var(--gray-700); font-size: 16.5px; }
.duo-card p:last-child { margin-bottom: 0; }
.duo-card a { color: var(--purple); text-decoration: underline; }
@media (max-width: 900px) { .callout-duo { grid-template-columns: 1fr; } .duo-photo-band { padding: 64px 0; } }

.fitproof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.fp-card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 36px 38px 40px; display: flex; flex-direction: column; }
.fp-icon { display: block; width: 32px; height: 32px; margin-bottom: 20px; color: var(--purple); }
.fp-icon svg { width: 32px; height: 32px; }
.fp-card h3 { margin: 0 0 18px; padding-bottom: 16px; font-size: 21px; border-bottom: 1px solid var(--gray-line); }
.fp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.fp-list li { position: relative; padding-left: 34px; line-height: 1.55; font-size: 16.5px; color: var(--gray-700); }
.fp-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: rgba(97, 210, 206, 0.22); color: #0b7d76;
}
.fp-link { margin-top: 20px; font-weight: 600; color: var(--purple); display: inline-flex; align-items: center; gap: 8px; }
.fp-link:hover .arrow { transform: translateX(3px); }
.fp-link .arrow { transition: transform 0.15s ease; }
@media (max-width: 900px) { .fitproof-grid { grid-template-columns: 1fr; } }
