/* ==========================================================================
   codestryke.com – Basis-Stylesheet
   Aufbau: 1. Schrift  2. Tokens  3. Basis  4. Typografie  5. Layout
           6. Buttons & Links  7. Header  8. Footer  9. Komponenten
   Seitenspezifisches CSS liegt in /assets/css/pages/<seite>.css
   ========================================================================== */

/* 1. Schrift – THICCCBOI (Wonder Unit, SIL Open Font License 1.1) */
@font-face { font-family: "THICCCBOI"; src: url("/assets/fonts/THICCCBOI-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "THICCCBOI"; src: url("/assets/fonts/THICCCBOI-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "THICCCBOI"; src: url("/assets/fonts/THICCCBOI-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* 2. Design-Tokens (aus Figma: Neutral Colors, Farbe, Special Headings) */
:root {
  --ink: #0f0f0f;
  --white: #ffffff;
  --grey-50: #fafafa;    /* Neutral 200 – Kartenflächen */
  --grey-100: #f0f0f0;   /* Neutral 300 – große Ziffern */
  --grey-300: #c9c9c9;   /* Trennlinien */
  --grey-500: #999999;
  --grey-600: #676767;   /* Fließtext gedämpft */
  --grey-700: #363636;
  --cyan: #22a8c7;       /* Markenfarbe – nur Akzent & Hover */
  --cyan-soft: rgba(34, 168, 199, 0.08);
  --cyan-text: #16809a;  /* Cyan für Textlinks auf Weiß – Kontrast 4,6:1 (AA) */

  --font: "THICCCBOI", "Helvetica Neue", Arial, sans-serif;

  --container: 1220px;
  --gutter: 20px;
  --section-y: 160px;

  /* Typo-Skala: Figma-Werte bei 1440 px, fließend kleiner auf Mobil */
  --fs-display-1: clamp(40px, 2.6vw + 26px, 63px);
  --lh-display-1: 1.127;
  --fs-display-2: clamp(32px, 1.9vw + 22px, 50px);
  --lh-display-2: 1.12;
  --fs-display-3: clamp(28px, 1.1vw + 22px, 40px);
  --lh-display-3: 1.13;
  --fs-display-4: clamp(22px, 0.35vw + 20px, 26px);
  --lh-display-4: 1.4615;
}

@media (max-width: 1279px) { :root { --gutter: 40px; --section-y: 128px; } }
@media (max-width: 991px)  { :root { --gutter: 32px; --section-y: 104px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; --section-y: 80px; } }

/* 3. Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, h6, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* 4. Typografie */
.display-1 { font-size: var(--fs-display-1); line-height: var(--lh-display-1); font-weight: 700; }
.display-2 { font-size: var(--fs-display-2); line-height: var(--lh-display-2); font-weight: 700; }
.display-3 { font-size: var(--fs-display-3); line-height: var(--lh-display-3); font-weight: 700; }
.display-4 { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; }
.heading-24 { font-size: 24px; line-height: 34px; font-weight: 700; }
.text-20 { font-size: 20px; line-height: 22px; font-weight: 600; }
.text-muted { color: var(--grey-600); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* 5. Layout */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey-50); }
.section--dark { background: var(--ink); color: var(--white); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; margin-bottom: 48px; }
.section-head__title { max-width: 900px; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
.section-head--split .section-head__title { max-width: 600px; }
.section-intro { color: var(--grey-600); max-width: 560px; margin-top: 12px; }
@media (max-width: 767px) {
  .section-head { gap: 32px; margin-bottom: 40px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

/* 6. Buttons & Links
   Marken-Regel: Buttons in Ink, Cyan nur im Hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 72px; padding: 24px 36px;
  font-size: 18px; line-height: 20px; font-weight: 700; text-align: center;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--ink); color: var(--grey-50); border-color: var(--ink); }
.btn--primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.btn--grey { background: var(--grey-50); color: var(--ink); border-color: var(--grey-50); }
.btn--grey:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--grey-50); border: 1px solid var(--white); padding: 25px 37px; }
.btn--outline-light:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.btn--small { min-height: 54px; padding: 16px 22px; font-size: 16px; line-height: 18px; }
.btn--outline-light.btn--small { padding: 17px 23px; }
.btn--footer { min-height: 58px; padding: 17px 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.btn-row--center { justify-content: center; }
@media (max-width: 767px) {
  .btn { min-height: 60px; padding: 18px 26px; }
  .btn--small { min-height: 50px; padding: 14px 20px; }
  .btn--outline-light.btn--small { padding: 15px 21px; }
  .btn-row { gap: 14px; }
}

/* Unterstrichener Textlink in Cyan (Figma „Rich Text/Link Text“) */
.link-underline {
  display: inline-block; font-weight: 700; font-size: 18px; line-height: 30px; color: var(--cyan-text);
  border-bottom: 1.2px solid currentColor; padding-bottom: 0;
  transition: color .2s ease;
}
.link-underline:hover { color: var(--ink); }
.link-plain { font-weight: 500; transition: color .2s ease; }
.link-plain:hover { color: var(--cyan); }

/* Link mit Pfeil (Footer E-Mail/Telefon) */
.arrow-link { display: inline-flex; align-items: center; gap: 18px; transition: color .2s ease; }
.arrow-link:hover { color: var(--cyan); }
.icon-pfeil { width: 24px; height: 24px; flex: none; }

/* 7. Header */
.site-header { background: var(--ink); color: var(--white); position: relative; z-index: 50; }
.site-header__inner {
  width: min(1254px, 100% - 2 * var(--gutter)); margin-inline: auto;
  min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header--landing .site-header__inner { justify-content: center; }
.site-header__logo img { width: 215px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 96px; }
.site-nav__list { display: flex; align-items: center; gap: 32px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 18px; line-height: 20px; font-weight: 500; color: var(--white);
  padding-block: 8px; transition: color .2s ease; white-space: nowrap;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--cyan); }
.site-nav__chevron { flex: none; transition: transform .2s ease; }
.site-nav__dropdown {
  position: absolute; left: -24px; top: calc(100% + 18px); min-width: 280px;
  background: var(--ink); border: 1px solid var(--grey-700); padding: 12px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-nav__dropdown::before { content: ""; position: absolute; inset: -20px 0 auto 0; height: 20px; }
.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown.is-open .site-nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.site-nav__item--dropdown:hover .site-nav__chevron,
.site-nav__item--dropdown.is-open .site-nav__chevron { transform: rotate(180deg); }
.site-nav__sublink { display: block; padding: 10px 24px; font-size: 17px; line-height: 22px; color: var(--white); transition: color .2s ease, background-color .2s ease; }
.site-nav__sublink:hover, .site-nav__sublink[aria-current="page"] { color: var(--cyan); background: rgba(255,255,255,.04); }
.nav-toggle { display: none; }

/* Sprachumschalter DE / EN im Header */
.site-nav__list { margin-right: auto; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 16px; line-height: 20px; font-weight: 700; margin: 0 28px 0 40px; flex: none; }
.lang-switch__aktiv { color: var(--white); }
.lang-switch__trenner { color: var(--grey-600); font-weight: 500; }
.lang-switch__link { color: var(--grey-500); padding: 6px 2px; transition: color .2s ease; }
.lang-switch__link:hover { color: var(--cyan); }

@media (max-width: 1279px) { .site-nav { margin-left: 40px; } .site-nav__list { gap: 22px; } .lang-switch { margin: 0 20px 0 28px; } }
@media (max-width: 1099px) {
  .site-header__inner { min-height: 88px; }
  .site-header__logo img { width: 170px; }
  .nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 26px; height: 2px; background: var(--white); position: relative; transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -8px; }
  .nav-toggle__bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    background: var(--ink); padding: 8px var(--gutter) 32px; border-top: 1px solid var(--grey-700);
    display: none; max-height: calc(100vh - 88px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { width: 100%; justify-content: space-between; padding-block: 16px; font-size: 20px; border-bottom: 1px solid var(--grey-700); }
  .site-nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 8px; display: none; min-width: 0; }
  .site-nav__item--dropdown.is-open .site-nav__dropdown { display: block; }
  .site-nav__item--dropdown:hover .site-nav__chevron { transform: none; }
  .site-nav__item--dropdown.is-open .site-nav__chevron { transform: rotate(180deg); }
  .site-nav__sublink { padding: 12px 16px; }
  .site-nav__cta { align-self: flex-start; }
  .site-nav__list { margin-right: 0; }
  .lang-switch { margin: 0; font-size: 18px; }
}

/* 8. Footer */
.site-footer { background: var(--ink); color: var(--white); padding-top: 76px; }
.site-footer__content { display: grid; grid-template-columns: minmax(0, 431px) minmax(0, 498px); justify-content: space-between; align-items: center; gap: 48px; }
.site-footer__logo img { width: 211px; }
.site-footer__claim { margin-top: 38px; }
.site-footer__info { margin-top: 27px; display: grid; gap: 28px; }
.site-footer__info dt { font-size: 18px; line-height: 20px; }
.site-footer__info dd { font-size: 26px; line-height: 38px; font-weight: 700; }
.site-footer__title { font-size: var(--fs-display-3); line-height: var(--lh-display-3); font-weight: 700; margin-bottom: 28px; }
.site-footer__social { margin-top: 29px; display: grid; gap: 8px; justify-items: start; }
.site-footer__social p { font-size: 18px; line-height: 20px; }
.social-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--grey-700); color: var(--white); transition: background-color .2s ease; }
.social-icon:hover { background: var(--cyan); }
.site-footer__bottom {
  margin-top: 102px; border-top: 2px solid var(--grey-700);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding: 19px var(--gutter);
}
.site-footer__bottom a { transition: color .2s ease; }
.site-footer__bottom a:hover { color: var(--cyan); }
@media (max-width: 991px) {
  .site-footer__content { grid-template-columns: 1fr; align-items: start; gap: 56px; }
  .site-footer__bottom { margin-top: 72px; }
}
@media (max-width: 767px) {
  .site-footer { padding-top: 56px; }
  .site-footer__info dd { font-size: 21px; line-height: 32px; }
  .arrow-link { gap: 12px; }
}

/* 9. Komponenten ------------------------------------------------------- */

/* Kunden-Logoleiste */
.logo-strip { padding-block: 48px; }
.logo-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo-strip__label { color: var(--grey-700); font-size: 18px; line-height: 20px; white-space: nowrap; }
.logo-strip__logos { display: flex; align-items: center; gap: 50px; width: 905px; max-width: 100%; }
.logo-strip__logos img { width: 174px; height: 36px; object-fit: contain; }
@media (max-width: 1279px) {
  .logo-strip__logos { width: auto; flex: 1; min-width: 0; justify-content: space-between; gap: 24px; }
  .logo-strip__logos img { width: 150px; height: 32px; min-width: 0; flex: 0 1 auto; }
}
@media (max-width: 991px) {
  .logo-strip__inner { flex-direction: column; align-items: flex-start; }
  .logo-strip__logos { flex-wrap: wrap; gap: 28px 40px; width: auto; }
  .logo-strip__logos img { width: 140px; height: 30px; }
}

/* Laufendes Logoband (partials/logo-band.njk) – grau, farbig beim Überfahren, hält bei Hover an */
.logo-band { padding-block: 40px; }
.logo-band__inner { display: flex; align-items: center; gap: 40px; }
.logo-band__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.logo-band__track { display: flex; align-items: center; width: max-content; animation: logo-band 70s linear infinite; }
.logo-band__viewport:hover .logo-band__track { animation-play-state: paused; }
.logo-band__item { flex: none; width: 150px; height: 44px; margin-right: 56px; display: flex; align-items: center; justify-content: center; }
.logo-band__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease; }
.logo-band__item img:hover { filter: none; opacity: 1; }
@keyframes logo-band { to { transform: translateX(-50%); } }
/* Startseite: alle Kundenlogos, rund 10 % größer; längere Laufzeit, damit das Tempo dem Band auf der Maschinenbau-Seite entspricht */
.logo-band--start .logo-band__item { width: 165px; height: 48px; }
.logo-band--start .logo-band__track { animation-duration: 90s; }
@media (prefers-reduced-motion: reduce) {
  .logo-band__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 24px; }
  .logo-band__item[aria-hidden="true"] { display: none; }
}
@media (max-width: 991px) {
  .logo-band__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .logo-band__viewport { width: 100%; }
  .logo-band__item { width: 120px; height: 38px; margin-right: 40px; }
  .logo-band--start .logo-band__item { width: 132px; height: 42px; }
}

/* Karussell-Hinweis: Weiter-Pfeil pulsiert ein paar Mal, wenn das Karussell ins Bild kommt (main.js setzt .is-hinweis) */
@keyframes pfeil-hinweis {
  0%, 100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(34, 168, 199, .55); }
  40% { transform: translateX(5px); }
  70% { box-shadow: 0 0 0 14px rgba(34, 168, 199, 0); }
}
[data-next].is-hinweis { animation: pfeil-hinweis 1.1s ease-in-out 4; }

/* Feature-Karte (Icon oben, Titel + Text unten) */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.feature-card { background: var(--grey-50); padding: 44px 32px; display: flex; flex-direction: column; gap: 80px; }
.feature-card--dark { background: var(--ink); color: var(--white); padding-block: 40px; }
.feature-card__icon { width: 50px; height: 50px; }
.feature-card__text { display: grid; gap: 18px; }
.feature-card__link { margin-top: 12px; font-weight: 500; justify-self: start; transition: color .2s ease; }
.feature-card__link:hover { color: var(--cyan); }
a.feature-card { transition: transform .2s ease; }
@media (max-width: 991px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .feature-cards { grid-template-columns: 1fr; } .feature-card { gap: 48px; } }

/* Tabs „Vier Spielfelder“ */
.tabs { display: grid; grid-template-columns: 804px 1fr; align-items: center; }
.tabs__panel { background: var(--grey-50); min-height: 800px; padding: 64px 100px 80px; display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.tabs__panel[hidden] { display: none; }
.tabs__image { width: 601px; max-width: 100%; aspect-ratio: 601 / 437; object-fit: contain; margin-inline: auto; }
.tabs__text { display: grid; gap: 12px; justify-items: start; max-width: 602px; margin-inline: auto; width: 100%; }
.tabs__list { display: grid; gap: 6px; }
.tabs__tab {
  display: flex; align-items: center; gap: 28px; width: 100%; text-align: left;
  padding: 20px 24px 20px 71px; font-size: 20px; line-height: 22px; font-weight: 600;
  transition: background-color .2s ease;
}
.tabs__tab:hover { background: var(--cyan-soft); }
.tabs__tab[aria-selected="true"] { background: var(--cyan-soft); }
.tabs__tab-icon { width: 76px; height: 76px; flex: none; background: var(--ink); display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.tabs__tab[aria-selected="true"] .tabs__tab-icon { background: var(--ink); }
.tabs__tab-icon svg { width: 46px; height: 46px; }
@media (max-width: 1279px) {
  .tabs { grid-template-columns: 1fr 340px; }
  .tabs__panel { padding: 56px 56px 64px; min-height: 0; }
  .tabs__tab { padding-left: 32px; }
}
@media (max-width: 991px) {
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { order: -1; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
  .tabs__tab { padding: 14px; gap: 16px; font-size: 18px; }
  .tabs__tab-icon { width: 56px; height: 56px; }
  .tabs__tab-icon svg { width: 34px; height: 34px; }
}
@media (max-width: 767px) {
  .tabs__list { grid-template-columns: 1fr; }
  .tabs__panel { padding: 32px 20px 40px; gap: 32px; }
}

/* Prozess-Karten mit großer Ziffer */
.process-card { background: var(--grey-50); position: relative; overflow: hidden; min-height: 450px; padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; }
.process-card__title { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; }
.process-card__text { max-width: 250px; position: relative; z-index: 1; }
.process-card__number {
  position: absolute; right: 0; bottom: -96px; font-size: 296px; line-height: 1; font-weight: 500; color: var(--grey-100);
  pointer-events: none; user-select: none; letter-spacing: -0.02em;
}
@media (max-width: 767px) { .process-card { min-height: 300px; } .process-card__number { font-size: 200px; bottom: -64px; } }

/* Schwarze Kontakt-Kachel mit Illustration */
.contact-card { position: relative; background: var(--ink); color: var(--white); min-height: 450px; padding: 48px 38px; overflow: hidden; display: block; }
.contact-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-card__content { position: relative; z-index: 1; max-width: 324px; display: grid; gap: 5px; }
.contact-card__content .btn { justify-self: start; margin-top: 44px; }
.contact-card__arrow { position: absolute; top: 30px; right: 30px; width: 52px; height: 51px; color: var(--white); z-index: 1; }

/* Großer Pfeil oben rechts auf Karten */
.card-arrow { position: absolute; top: 40px; right: 40px; width: 52px; height: 51px; transition: color .2s ease; }
.card-arrow svg, .contact-card__arrow svg { width: 100%; height: 100%; }
.card-arrow path, .contact-card__arrow path { stroke-width: 1.1; }

/* Projekt-Karte „Ausgewählte Projekte“ (Bild + graue Textfläche) */
.project-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.project-feature__media { display: flex; align-items: center; justify-content: center; min-height: 700px; background: var(--white); }
.project-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.project-feature__media--contain img { width: 84.5%; height: auto; object-fit: contain; }
.project-feature__card {
  position: relative; background: var(--grey-50); min-height: 700px; padding: 90px 120px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; transition: background-color .2s ease;
}
.project-feature__card:hover { background: var(--grey-100); }
.project-feature__card:hover .card-arrow { color: var(--cyan); }
.project-feature__logo { height: 42px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.project-feature__head { display: grid; gap: 45px; }
.project-feature__title { max-width: 482px; }
.project-feature--reverse .project-feature__card { order: -1; }
@media (max-width: 1279px) { .project-feature__card { padding: 72px 64px; } .project-feature__media, .project-feature__card { min-height: 560px; } }
@media (max-width: 767px) {
  .project-feature { grid-template-columns: 1fr; }
  .project-feature--reverse .project-feature__card { order: 0; }
  .project-feature__media { min-height: 0; aspect-ratio: 1 / 1; }
  .project-feature__card { min-height: 0; padding: 48px 24px; }
  .card-arrow { top: 24px; right: 24px; width: 40px; height: 40px; }
}

/* Testimonial-Slider (Avatar rund, Zitat, Pfeile) */
.testimonial { position: relative; background: var(--grey-50); padding: 46px 62px; }
/* Alle Folien liegen übereinander: Die Karte ist so hoch wie das längste Zitat, Pfeile bleiben an derselben Stelle */
.testimonial { display: grid; }
.testimonial__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 351px 1fr; gap: 47px; align-items: center; }
.testimonial__slide[hidden] { display: grid !important; visibility: hidden; }
.testimonial__quote-bg { position: absolute; left: 525px; top: 61px; width: 263px; height: 219px; pointer-events: none; }
.testimonial__avatar { width: 351px; height: 351px; border-radius: 50%; overflow: hidden; background: var(--grey-100); position: relative; }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.testimonial__avatar--initialen { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-size: 96px; line-height: 1; font-weight: 700; }
.testimonial__body { position: relative; display: flex; flex-direction: column; gap: 36px; max-width: 488px; align-self: stretch; }
/* Zitat mittig im freien Raum, Name + Pfeile immer an derselben Stelle unten */
.testimonial__quote, .testimonial__footer { margin-top: auto; }
.testimonial__quote { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; color: var(--grey-600); }
.testimonial__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; } /* unten bündig: Pfeile bleiben stehen, auch wenn Name/Rolle unterschiedlich viele Zeilen haben */
.testimonial__name { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; color: var(--ink); }
.testimonial__role { font-size: 18px; line-height: 20px; color: var(--grey-500); }
.slider-arrows { display: flex; gap: 15px; flex: none; }
.slider-arrow {
  width: 45px; height: 45px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.16px solid var(--ink); background: transparent; color: var(--ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.slider-arrow--next { background: var(--ink); color: var(--white); }
.slider-arrow:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.slider-arrow svg { width: 20px; height: 20px; }
@media (max-width: 991px) {
  .testimonial { padding: 40px 32px; }
  .testimonial__slide { grid-template-columns: 220px 1fr; gap: 32px; }
  .testimonial__avatar { width: 220px; height: 220px; }
  .testimonial__quote-bg { left: auto; right: 24px; }
  .testimonial__footer { align-items: flex-end; }
}
@media (max-width: 767px) {
  .testimonial { padding: 32px 20px; }
  .testimonial__slide { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .testimonial__avatar { width: 180px; height: 180px; }
  .testimonial__footer { flex-direction: column; }
  .testimonial__quote-bg { display: none; }
}

/* Blog-Karte */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; gap: 24px; }
.blog-card__image { aspect-ratio: 388 / 258; overflow: hidden; background: var(--grey-50); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.03); }
.blog-card__content { display: grid; gap: 12px; justify-items: start; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--grey-600); }
.blog-card__meta > * { white-space: nowrap; }
.blog-card__meta::before { content: none; }
.blog-card__divider { width: 9px; height: 1px; background: var(--grey-600); border-radius: 20px; }
.blog-card__title { font-size: 24px; line-height: 34px; font-weight: 700; }
.blog-card__title a { transition: color .2s ease; }
.blog-card__title a:hover { color: var(--cyan); }
@media (max-width: 991px) { .blog-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .blog-cards { grid-template-columns: 1fr; } }

/* Fließtext-Bereich (Blog, Stellen, Rechtstexte) */
.prose { font-size: 18px; line-height: 30px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: var(--fs-display-3); line-height: var(--lh-display-3); font-weight: 700; margin-top: 56px; }
.prose h3 { font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; margin-top: 40px; }
.prose h2 + *, .prose h3 + * { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 36px; }
.prose ul li::before { content: "—"; position: absolute; left: 0; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 36px; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 700; }
.prose a { color: var(--cyan-text); font-weight: 700; border-bottom: 1.2px solid currentColor; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--cyan); padding-left: 24px; font-size: var(--fs-display-4); line-height: var(--lh-display-4); font-weight: 700; color: var(--grey-600); }

/* Formulare */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; }
.form__field { display: grid; gap: 12px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 16px; line-height: 18px; font-weight: 700; }
.form__input, .form__textarea, .form__select {
  width: 100%; min-height: 56px; padding: 16px 18px; font: inherit; font-size: 16px; line-height: 22px;
  color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 0; appearance: none;
}
.form__textarea { min-height: 130px; resize: vertical; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--grey-600); opacity: 1; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.form__hint { grid-column: 1 / -1; font-size: 14px; line-height: 22px; color: var(--grey-600); }
.form__hint a { text-decoration: underline; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { grid-column: 1 / -1; margin-top: 16px; }
@media (max-width: 767px) { .form { grid-template-columns: 1fr; } }

/* Reveal-Animation beim Scrollen (dezent) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
