@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   VIVA. – Styles. Mobile first: Grundstyles gelten fürs Handy,
   grössere Bildschirme über min-width Media Queries (48rem, 64rem).
   Farben und Schriften als Variablen in :root.
   ========================================================================== */

:root {
  --color-ink: #0E1A24;
  --color-ink-2: #16232F;
  --color-teal: #00A3B1;
  --color-teal-dark: #007984;
  --color-teal-light: #CFEDE9;
  --color-paper: #FCFCFA;
  --color-paper-2: #EEF1F2;
  --color-line: #DCE2E4;
  --color-line-dark: #26333F;
  --color-ink-soft: #5C6670;
  --color-on-dark: #AEB8C0;
  --color-on-dark-muted: #8793A0;
  --color-on-dark-link: #D6DBDE;
  --color-white: #FFFFFF;

  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 73.75rem;           /* 1180px */
  --gutter: 1.5rem;
  --radius: 0.375rem;
  --space-section: 5.625rem;       /* 90px */
  --space-topic: 4rem;

  --fs-hero: clamp(2.5rem, 12vw, 3.25rem);
  --fs-display: clamp(1.875rem, 8vw, 2.25rem);
  --fs-h1: clamp(1.75rem, 8vw, 2.125rem);
  --fs-h2: clamp(1.625rem, 2.8vw, 2rem);
  --fs-h3: 1.1875rem;
  --fs-h4: 1rem;
  --fs-lede: 1.0625rem;
  --fs-body: 0.9375rem;
  --fs-body-sm: 0.90625rem;
  --fs-ui: 0.84375rem;
  --fs-label: 0.78125rem;
  --lh-body: 1.5;
  --lh-sm: 1.48;
}

@media (min-width: 37.5rem) {
  :root {
    --fs-hero: clamp(3.25rem, 7vw, 5.75rem);
    --fs-display: clamp(2.25rem, 5vw, 3.625rem);
    --fs-h1: clamp(2.125rem, 4.4vw, 3.25rem);
    --space-topic: 6.25rem;
  }
}

@media (min-width: 64rem) {
  :root { --gutter: 2.5rem; }
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  /* Keine automatische Silbentrennung in Überschriften; nur bei &shy; im Text */
  -webkit-hyphens: manual;
  hyphens: manual;
}
p { margin: 0 0 1em; line-height: var(--lh-body); }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--alt { background: var(--color-paper-2); }
.section--dark { background: var(--color-ink); }
.section--flush-top { padding-top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Spam-Schutz für Formspark: für Menschen unsichtbar */
.honeypot { display: none !important; }

.pt, .accent { color: var(--color-teal); }
.pt--white { color: var(--color-white); }

.label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.sq, .sep {
  display: inline-block;
  width: 5px; height: 5px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 9px 2px;
}

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal .pt, .js .reveal .accent { opacity: 0; transition: opacity .3s ease; }
.js .reveal.visible .pt, .js .reveal.visible .accent { opacity: 1; transition-delay: .4s; }

/* ---------- Pfeil-Link ---------- */
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-ui);
  color: var(--color-ink);
  padding-bottom: 2px;
  transition: gap .18s ease, color .18s ease;
}
.arrow-link .circ {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--color-teal);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: background .18s ease, transform .18s ease;
}
.arrow-link .circ svg { fill: var(--color-teal); transition: fill .18s ease; }
.arrow-link:hover { gap: 13px; }
.arrow-link:hover .circ { background: var(--color-teal); transform: translateX(1px); }
.arrow-link:hover .circ svg { fill: var(--color-white); }
.arrow-link--on-dark { color: var(--color-white); }

/* ---------- Button (Pille) ---------- */
.button {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--color-ink); color: var(--color-white);
  border: 0; cursor: pointer;
  padding: 15px 26px; border-radius: 100px;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-ui);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--color-ink-2); }
.button .circ {
  width: 26px; height: 26px; border-radius: 50%; background: var(--color-teal);
  display: flex; align-items: center; justify-content: center;
}
.button .circ svg { fill: var(--color-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.logo { display: flex; align-items: center; }
.logo svg { height: 26px; width: auto; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px;
  background: var(--color-ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none; margin: 14px 0 0; padding: 18px 0 6px;
  border-top: 1px solid var(--color-line);
  display: flex; flex-direction: column;
}
.site-nav a {
  display: block; padding: 13px 2px;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--color-teal);
  position: relative;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--color-teal-dark); }
.site-nav a[aria-current="page"] { color: var(--color-ink); }

@media (min-width: 64rem) {
  .site-header__inner { flex-wrap: nowrap; padding-block: 22px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; width: auto; }
  .site-nav ul { flex-direction: row; gap: 38px; margin: 0; padding: 0; border: 0; }
  .site-nav a { display: inline; padding: 0 0 22px; font-size: var(--fs-ui); }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; bottom: 15px;
    width: 16px; height: 5px; background: var(--color-teal);
    clip-path: polygon(0 0, 91.2% 0, 100% 100%, 0 100%);
  }
}

/* ---------- Hero (Startseite) ---------- */
.hero { padding: 24px 0 80px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.hero__text { padding-inline: var(--gutter); }
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 0.96;
  text-transform: uppercase;
}
.hero__lede {
  font-size: var(--fs-lede); color: var(--color-ink-soft);
  max-width: 26.25rem; margin: 18px 0 40px;
}
.scrolldown {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--color-line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, transform .2s ease;
}
.scrolldown:hover { border-color: var(--color-teal); transform: translateY(3px); }
.scrolldown svg { fill: var(--color-ink); }

.hero__art {
  order: -1;
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-ink);
  margin-inline: var(--gutter);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }

@media (min-width: 37.5rem) {
  .hero { padding-top: 64px; }
}

@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero__text { padding-left: max(2.5rem, calc((100vw - var(--container)) / 2 + 2.5rem)); padding-right: 0; }
  .hero__art { order: 0; aspect-ratio: 6 / 7; border-radius: var(--radius) 0 0 var(--radius); margin-inline: 0; }
}

/* ---------- Intro-Raster ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
.intro-grid h2 { font-size: var(--fs-h2); line-height: 1.15; }
.lede { font-size: var(--fs-body); color: var(--color-ink-soft); max-width: 30rem; margin: 0; }

@media (min-width: 64rem) {
  .intro-grid { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
  .intro-grid .lede { align-self: end; }
}

/* ---------- Leistungen ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; row-gap: 32px; }
.service .icn { width: 44px; height: 44px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; color: var(--color-teal); }
.service h3 { font-size: var(--fs-h4); line-height: 1.3; margin-bottom: 10px; }
.service p:not([class]) { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin: 0 0 22px; }
.service .service__sub { margin-bottom: 8px; }

@media (min-width: 48rem) {
  .service-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .service:nth-child(odd) { padding-right: 20px; }
}
@media (min-width: 64rem) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service { padding: 0 28px; border-left: 1px solid var(--color-line); }
  .service:nth-child(odd) { padding-right: 28px; }
  .service:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Fallbeispiele ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.case { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 28.75rem; }
.case__art { flex: 1; position: relative; overflow: hidden; min-height: 20rem; }
.case__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__art--fixed { flex: none; height: 17.5rem; min-height: 0; }
.case__art--contain {
  background: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.case__art--contain img { position: static; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.case__body { padding: 30px 30px 32px; }
.case h3, .case__title { font-size: var(--fs-h3); line-height: 1.25; margin-bottom: 10px; }
.case p:not([class]) { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin: 0 0 22px; }
.case__body h3 + p, .case__body .case__title + p { font-weight: 700; color: var(--color-ink); }
.case--light .case__body { background: var(--color-paper); }
.case--dark .case__body { background: var(--color-ink); }
.case--dark h3, .case--dark .case__title { color: var(--color-white); }
.case--dark p:not([class]) { color: var(--color-on-dark); }
.case--dark .case__body h3 + p, .case--dark .case__body .case__title + p { color: var(--color-white); }

.case--wide { min-height: 0; margin-top: 36px; }
.case--wide .case__art--contain { min-height: 15rem; }

@media (min-width: 48rem) {
  .case-grid { gap: 26px; }
  .case-grid--pair { grid-template-columns: 1fr 1fr; }
  .case--wide { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 21.25rem; }
}
@media (min-width: 64rem) {
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid--pair { grid-template-columns: 1fr 1fr; }
}

.tag-row {
  margin-bottom: 0;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.02em; color: var(--color-teal);
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-line);
}
.case--dark .tag-row { border-top-color: var(--color-line-dark); }

/* ---------- Stärken (dunkles Band) ---------- */
.strengths { background: var(--color-ink); color: var(--color-white); }
.strengths .lede { color: var(--color-on-dark); }
.strength-row {
  display: grid; grid-template-columns: 1fr; row-gap: 28px;
  border-top: 1px solid var(--color-line-dark);
  padding-top: 36px;
}
.strength .icn { color: var(--color-teal); margin-bottom: 18px; }
.strength h3 { font-weight: 700; font-size: var(--fs-h4); line-height: 1.3; margin: 0 0 14px; }

@media (min-width: 48rem) {
  .strength-row { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}
@media (min-width: 64rem) {
  .strength-row { grid-template-columns: repeat(4, 1fr); }
  .strength { border-left: 1px solid var(--color-line-dark); padding: 0 28px; }
  .strength:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Über Viva (Startseite) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-grid h2 { font-size: var(--fs-h2); line-height: 1.18; margin-bottom: 16px; }
.about-grid p:not([class]) { color: var(--color-ink-soft); max-width: 27.5rem; margin-bottom: 24px; }
.about-grid h2 + p:not([class]) { font-weight: 700; color: var(--color-ink); }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mosaic__tile { aspect-ratio: 3 / 4; border-radius: 5px; overflow: hidden; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__tile--mockup img { object-position: 65% 45%; }

@media (min-width: 64rem) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}

/* ---------- Call to Action ---------- */
.cta { background: var(--color-teal); color: var(--color-ink); padding-block: 54px 48px; }
.cta__title { font-size: var(--fs-display); line-height: 0.98; text-transform: uppercase; }
.cta__text { max-width: 26.25rem; margin: 18px 0 28px; color: rgba(14, 26, 36, 0.75); }

@media (min-width: 37.5rem) {
  .cta { padding-block: var(--space-section); }
}
@media (min-width: 64rem) {
  .cta { padding-block: 46px 48px; }
}

/* Buchstaben-Animation im CTA (Buchstaben werden per JS in Spans gelegt) */
.cta-bar { display: inline-block; opacity: 0; vertical-align: -0.06em; margin-right: 0.18em; }
.cta-bar svg { width: 0.85em; height: auto; color: var(--color-ink); }
.js .cta-anim .lt { display: inline-block; opacity: 0; transform: translateY(10px); }
.cta-anim.play .cta-bar { opacity: 1; animation: ctaBarBlink .45s steps(1, end) 3; }
.js .cta-anim.play .lt { animation: ctaLetterIn .4s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(1.35s + var(--i) * 45ms); }
@keyframes ctaBarBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes ctaLetterIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Unterseiten-Hero ---------- */
.inner-hero { padding: 64px 0 44px; }
.inner-hero--tight { padding-bottom: 8px; }
.inner-hero h1 { font-size: var(--fs-h1); line-height: 1.08; margin-bottom: 18px; max-width: 51.25rem; }
.inner-hero p:not([class]) { font-size: var(--fs-lede); color: var(--color-ink-soft); max-width: 40rem; margin: 0; }
.inner-hero h1 + p { font-weight: 700; color: var(--color-ink); }
.inner-hero p:not([class]) + p:not([class]) { margin-top: 16px; }

/* ---------- Themen- und Kompetenzblöcke ---------- */
.topic { padding-block: var(--space-topic); }
.topic--alt { background: var(--color-paper-2); }
.topic--dark { background: var(--color-ink); }
.topic .container { max-width: 53.75rem; }

.statement {
  font-weight: 800;
  font-size: var(--fs-display); line-height: 1.04;
  margin: 16px 0 18px; color: var(--color-ink); max-width: 51.25rem;
}
.statement--flush { margin-top: 0; }
.flow-copy { font-size: var(--fs-lede); color: var(--color-ink-soft); max-width: 43.75rem; }
.flow-copy p { margin: 0 0 22px; }
.flow-copy p:last-child { margin-bottom: 0; }
.flow-copy p:first-child, .flow-copy strong { font-weight: 700; color: var(--color-ink); }

.flow-list-intro { color: var(--color-ink); font-weight: 700; margin: 40px 0 6px; }
.leistungen-label {
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-teal);
  margin: 40px 0 4px;
}
.flow-list { font-size: var(--fs-body); line-height: 1.7; color: var(--color-ink); max-width: 47.5rem; margin: 26px 0 0; overflow-wrap: normal; }
.flow-list .sep { color: var(--color-teal); }

.topic--dark .statement,
.topic--dark .flow-copy p:first-child,
.topic--dark .flow-copy strong,
.topic--dark .flow-list,
.topic--dark .flow-list-intro { color: var(--color-white); }
.topic--dark .flow-copy { color: var(--color-on-dark); }

/* ---------- Haltung (Über Viva) ---------- */
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  padding: 28px 0; border-top: 1px solid var(--color-line-dark);
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.principles li:last-child { border-bottom: 1px solid var(--color-line-dark); }
.principles h3 { font-size: var(--fs-h3); line-height: 1.25; color: var(--color-white); }
.principles p:not([class]) { color: var(--color-on-dark); margin: 0; max-width: 32.5rem; }
.principles-section { padding-block: 6.25rem; }

@media (min-width: 64rem) {
  .principles li { grid-template-columns: 0.55fr 1fr; gap: 40px; }
}

/* ---------- Überschrift in Inhaltsabschnitten ---------- */
.section-title { font-size: var(--fs-h2); margin-bottom: 18px; }
.section-title--spaced { margin-bottom: 24px; }
.section--dark .section-title { color: var(--color-white); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 8px; }
.team-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); background: var(--color-paper); }
.team-card__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-paper-2); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__info { padding: 18px 18px 22px; }
.team-card h3 { font-weight: 700; font-size: var(--fs-h4); line-height: 1.3; margin: 0 0 4px; }
.team-card__role { font-size: var(--fs-label); font-weight: 600; color: var(--color-teal); margin-bottom: 10px; }
.team-card p:not([class]) { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin: 0; }

@media (min-width: 64rem) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Kundenlogos ---------- */
/* Logo-Raster: Handy 2 Spalten (10 Zeilen), ab Tablet 5 Spalten (4 Zeilen) */
.logo-wall { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; column-gap: 24px; align-items: center; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 44px; min-width: 0; }
.logo-tile img {
  max-height: 30px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(100%) invert(1);
  mix-blend-mode: screen;
  opacity: 0.78;
  transition: opacity .2s ease;
}
.logo-tile:hover img { opacity: 1; }
.logo-tile--m img, .logo-tile--s img { max-height: 34px; }
.logo-tile--l img, .logo-tile--xl img { max-height: 44px; }
.logo-tile--scale img { transform: scale(1.5); }

@media (min-width: 48rem) {
  .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 40px; column-gap: 32px; }
}

@media (min-width: 64rem) {
  .logo-wall { row-gap: 48px; column-gap: 48px; }
  .logo-tile { height: 56px; }
  .logo-tile img { max-height: 32px; max-width: 150px; }
  .logo-tile--m img { max-height: 37px; max-width: 173px; }
  .logo-tile--s img { max-height: 36px; max-width: 169px; }
  .logo-tile--l img { max-height: 50px; max-width: 234px; }
  .logo-tile--xl img { max-height: 52px; max-width: 244px; }
  .logo-tile--scale img { transform: scale(1.7); }
}

/* ---------- Weitere Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 8px; }
.ref-tile { border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; background: var(--color-paper); display: flex; flex-direction: column; }
.ref-tile__thumb { aspect-ratio: 1 / 1; overflow: hidden; }
.ref-tile__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ref-tile__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.ref-tile h3 { font-weight: 700; font-size: var(--fs-h4); margin: 0 0 5px; line-height: 1.3; }
.ref-tile__sub { font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-teal); margin-bottom: 10px; }
.ref-tile p:not([class]) { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin: 0; flex: 1; }

@media (min-width: 37.5rem) {
  .ref-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Kontakt ---------- */
.claim-band { background: var(--color-teal); padding-block: 64px; }
.claim-band h2 { font-size: var(--fs-display); line-height: 1; text-transform: uppercase; color: var(--color-ink); }

.addr-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  margin: 8px 0 48px; padding-top: 40px; border-top: 1px solid var(--color-line);
}
.addr-block h3 { font-weight: 700; font-size: var(--fs-h3); margin-bottom: 16px; }
.addr-block p:not([class]) { color: var(--color-ink-soft); margin: 0; }
.addr-block dl { margin: 0; }
.addr-block dt {
  font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-ink-soft); margin-top: 18px;
}
.addr-block dt:first-child { margin-top: 20px; }
.addr-block dd { margin: 0; color: var(--color-ink); }

@media (min-width: 64rem) {
  .addr-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.form-section { padding-top: 56px; }

/* ---------- Formular ---------- */
.form { max-width: 40rem; margin-top: 8px; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 0 22px; }
.form__field { display: flex; flex-direction: column; margin-bottom: 22px; }
.form__field label {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink-soft);
  margin-bottom: 8px;
}
.form input, .form textarea {
  font: inherit; font-size: var(--fs-body); color: var(--color-ink);
  border: 1px solid var(--color-line); border-radius: 4px;
  padding: 12px 14px; background: var(--color-paper);
  transition: border-color .18s ease;
  width: 100%;
}
.form input:focus, .form textarea:focus { border-color: var(--color-teal); }
.form textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: var(--fs-ui); color: var(--color-ink-soft); margin-top: 14px; }
.form__note a { color: var(--color-teal); }

@media (min-width: 64rem) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__field--full { grid-column: 1 / -1; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal-page > * { max-width: 47.5rem; }
.legal-page h1 { font-size: var(--fs-display); }
.legal-page .meta { color: var(--color-ink-soft); font-size: var(--fs-ui); margin: 0 0 36px; font-weight: 400; }
.legal-page h2 { font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; margin: 44px 0 14px; color: var(--color-ink); }
.legal-page h2:first-child { margin-top: 8px; }
.legal-page h3 { font-weight: 700; font-size: var(--fs-h4); line-height: 1.3; margin: 26px 0 8px; color: var(--color-ink); }
.legal-page h4 { font-weight: 700; font-size: var(--fs-body-sm); line-height: 1.3; margin: 20px 0 6px; color: var(--color-ink); }
.legal-page p { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin: 0 0 14px; }
.legal-page ul { margin: 0 0 16px; padding-left: 20px; }
.legal-page li { font-size: var(--fs-body-sm); line-height: var(--lh-sm); color: var(--color-ink-soft); margin-bottom: 5px; }
.legal-page a { color: var(--color-teal); text-decoration: underline; text-decoration-color: rgba(0, 163, 177, 0.4); text-underline-offset: 2px; }
.legal-page a:hover { color: var(--color-teal-dark); text-decoration-color: var(--color-teal-dark); }
.legal-page strong { color: var(--color-ink); }
.legal-hero { padding-bottom: 12px; }

/* ---------- Einfache Seiten (Danke, 404) ---------- */
.simple-page h1 { font-size: var(--fs-h1); line-height: 1.08; margin-bottom: 18px; }
.simple-page p:not([class]) { font-size: var(--fs-lede); color: var(--color-ink-soft); max-width: 40rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: var(--color-white); padding: 56px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__logo svg { height: 26px; width: auto; margin-bottom: 14px; }
.site-footer__tag { font-size: var(--fs-ui); color: var(--color-on-dark); line-height: var(--lh-sm); max-width: 13.75rem; }
.site-footer__contact { margin-top: 16px; font-size: var(--fs-ui); line-height: 1.6; }
.site-footer .site-footer__contact a { color: var(--color-on-dark-muted); }
.site-footer h2 {
  font-weight: 700; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-on-dark-muted); margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: var(--fs-ui); }
.site-footer li + li.site-footer__place { margin-top: 12px; }
.site-footer a { font-size: var(--fs-ui); color: var(--color-on-dark-link); transition: color .15s ease; }
.site-footer a:hover { color: var(--color-teal); }
.site-footer__addr { color: var(--color-on-dark); font-size: 0.8125rem; }
.site-footer__bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--color-line-dark);
  font-size: var(--fs-label); color: var(--color-on-dark-muted);
  display: flex; flex-direction: column; gap: 6px;
}
.site-footer__bottom a { font-size: var(--fs-label); color: inherit; }
.site-footer p { margin: 0; }

@media (min-width: 37.5rem) {
  .site-footer__tag { white-space: nowrap; max-width: none; }
}
@media (min-width: 64rem) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr; gap: 40px; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .reveal .pt, .js .reveal .accent, .js .cta-anim .lt { opacity: 1; transform: none; }
  .cta-bar { opacity: 1; }
}

/* Vorschau */
.site-header { top: env(safe-area-inset-top, 0px); }
