/* ============================================================
   J.A. Markenstudio — Website Stylesheet
   Grundlage: Personal Brandbook J.A. Markenstudio, Version 1.0
   Leitidee: Ein Kasten, eine Ecke, ein Strich.
   Kästen haben drei runde und eine scharfe Ecke (oben rechts),
   unter Überschriften steht der kurze goldene Strich.
============================================================ */

@font-face { font-family: "AkzHead"; font-weight: 400; font-display: swap;
  src: local("Akzidenz Grotesk BE Super"), local("AkzidenzGroteskBE-Super"), local("Berthold Akzidenz-Grotesk Super"); }
@font-face { font-family: "AkzBold"; font-weight: 400; font-display: swap;
  src: local("Akzidenz Grotesk BE Bold"), local("AkzidenzGroteskBE-Bold"), local("Berthold Akzidenz-Grotesk Bold"); }
@font-face { font-family: "AkzBody"; font-weight: 400; font-display: swap;
  src: local("Akzidenz Grotesk BE Regular"), local("AkzidenzGroteskBE-Regular"), local("Berthold Akzidenz-Grotesk Regular"); }

:root {
  /* Farben aus dem Brandbook */
  --anthrazit: #2A2C2E;
  --salbei:    #6F8467;
  --salbei-dunkel: #4F6448;   /* Salbei für kleine Schrift auf Hell (Kontrast) */
  --salbei-tint: #DCE3D6;
  --gold:      #B8924A;
  --offwhite:  #F7F6F2;
  --weiss:     #FFFFFF;
  --sand:      #E4E2DA;
  --graphit:   #5E6360;
  --band-muted:#C9C7BD;
  --band-line: #4A4D50;

  /* Schrift */
  --head: "AkzHead", "Inter", "Helvetica Neue", Arial, sans-serif;
  --bold: "AkzBold", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "AkzBody", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Maße */
  --r: 14px;                 /* Radius der drei runden Ecken */
  --max: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --nav-h: 72px;
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--offwhite); color: var(--anthrazit); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--anthrazit); color: var(--weiss); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 16px; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- Bausteine ---------- */
.eyebrow { display: block; font-family: var(--bold); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--salbei-dunkel); }
.rule { display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 22px; }
.box { background: var(--weiss); border: 1px solid var(--sand); border-radius: var(--r) 0 var(--r) var(--r); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--graphit); max-width: 38em; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--bold); font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 22px; border-radius: 10px 0 10px 10px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--anthrazit); }
.btn--dark { background: var(--anthrazit); color: var(--weiss); }
.btn--ghost { border-color: var(--sand); color: var(--anthrazit); }
.btn--ghost:hover { border-color: var(--anthrazit); }
.btn--ghost-inv { border-color: var(--band-line); color: var(--weiss); }
.btn--ghost-inv:hover { border-color: var(--weiss); }
.btn--sm { padding: 9px 16px; font-size: 14.5px; }

/* ---------- Navigation ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--offwhite); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(247, 246, 242, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.site-nav__logo svg { width: 176px; height: auto; display: block; }
.site-nav__links { display: flex; align-items: center; gap: 30px; }
.site-nav__link { font-family: var(--bold); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--graphit); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav__link:hover, .site-nav__link.is-active { color: var(--anthrazit); border-color: var(--gold); }
.site-nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.site-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--anthrazit); margin: 5px 0; }
.site-nav__mobile-panel { display: none; border-top: 1px solid var(--sand); padding: 8px var(--gutter-r) 20px var(--gutter); }
.site-nav__mobile-panel a { display: block; font-family: var(--bold); font-weight: 700; font-size: 20px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.site-nav__mobile-panel a.is-active { color: var(--salbei-dunkel); }
.site-nav__mobile-panel.is-open { display: block; }
@media (max-width: 900px) {
  .site-nav__links { display: none; }
  .site-nav__toggle { display: block; }
  .site-nav__logo svg { width: 150px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { background: var(--anthrazit); color: var(--weiss); padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 64px); }
.hero .eyebrow { color: var(--band-muted); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero__title { font-size: clamp(42px, 7.6vw, 96px); line-height: 1; margin-top: 22px; max-width: 11.5em; }
.hero__body { font-size: clamp(18px, 1.6vw, 21px); color: var(--band-muted); max-width: 34em; margin-top: 28px; }
.hero__body b { color: var(--weiss); font-family: var(--bold); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__mark { justify-self: end; width: min(100%, 300px); }
.hero__mark svg { width: 100%; height: auto; display: block; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 40px; border-top: 1px solid var(--band-line); margin-top: clamp(48px, 7vw, 88px); padding-top: 20px; font-size: 14.5px; color: var(--band-muted); }
.hero__meta b { font-family: var(--bold); font-weight: 700; color: var(--weiss); }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } .hero__mark { display: none; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--sand); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; margin-top: 18px; max-width: 14em; }
.page-hero .lead { margin-top: 26px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); border-bottom: 1px solid var(--sand); }
.section--white { background: var(--weiss); }
.section__header { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__header .eyebrow { padding-top: 14px; }
.section__title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; }
.section__subtitle { color: var(--graphit); font-size: 18px; max-width: 40em; margin-top: 22px; }
.section__more { margin-top: 32px; }
.indent { margin-left: calc((100% - 48px) * 3 / 12 + 48px); }
@media (max-width: 820px) { .section__header { grid-template-columns: 1fr; } .section__header .eyebrow { padding-top: 0; } .indent { margin-left: 0; } }

/* ---------- Positionierungs-Test ---------- */
.test { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.test__copy p { font-size: 19px; max-width: 30em; }
.test__copy p + p { margin-top: 16px; }
.test__copy .punch { font-family: var(--bold); font-weight: 700; }
.mock { overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--sand); font-size: 12.5px; color: var(--graphit); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); display: block; }
.mock__bar span { margin-left: 10px; }
.mock__body { padding: 26px 26px 28px; }
.mock__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--bold); font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 8px 12px; border-radius: 8px 0 8px 8px; color: var(--weiss); background: var(--anthrazit); white-space: nowrap; transition: background .35s ease; }
.chip::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip.is-swapped { background: #8A5A4E; }
.mock__links { display: flex; gap: 14px; font-size: 13px; color: var(--graphit); }
.mock h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; max-width: 16em; }
.mock__body p { color: var(--graphit); font-size: 15.5px; margin-top: 12px; max-width: 34em; }
.mock__btn { display: inline-block; margin-top: 20px; font-size: 14px; font-family: var(--bold); font-weight: 700; border: 1.5px solid var(--sand); padding: 9px 14px; border-radius: 8px 0 8px 8px; }
.test__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.verdict { font-size: 15.5px; color: var(--graphit); }
.verdict b { color: var(--anthrazit); font-family: var(--bold); font-weight: 700; }
@media (max-width: 900px) { .test { grid-template-columns: 1fr; } }

/* ---------- Referenz-Karten ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.case-card:hover { border-color: var(--anthrazit); transform: translateY(-2px); }
.case-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.case-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.case-card__client { font-family: var(--bold); font-weight: 700; font-size: 14px; color: var(--salbei-dunkel); letter-spacing: .04em; }
.case-card__title { font-family: var(--head); font-weight: 800; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.2; }
.case-card__text { color: var(--graphit); font-size: 15.5px; }
.case-card__tag { font-size: 12.5px; font-family: var(--bold); font-weight: 700; color: var(--salbei-dunkel); background: var(--salbei-tint); padding: 4px 10px; border-radius: 6px 0 6px 6px; white-space: nowrap; }
.case-card__result { display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--sand); padding-top: 14px; margin-top: auto; }
.case-card__result div { font-size: 13.5px; color: var(--graphit); font-variant-numeric: tabular-nums; }
.case-card__result strong { display: block; font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--anthrazit); line-height: 1.1; }
.case-card__more { font-family: var(--bold); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--gold); align-self: flex-start; padding-bottom: 1px; margin-top: 4px; }
.case-card__body > .case-card__more:first-of-type:last-child { margin-top: auto; }
.case-card.is-hidden { display: none; }
.award-badge { flex: none; font-family: var(--bold); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--anthrazit); padding: 5px 9px; border-radius: 6px 0 6px 6px; white-space: nowrap; }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { font: inherit; font-family: var(--bold); font-weight: 700; font-size: 14.5px; background: transparent; color: var(--anthrazit); border: 1.5px solid var(--sand); padding: 8px 16px; border-radius: 8px 0 8px 8px; cursor: pointer; }
.filter-btn:hover { border-color: var(--anthrazit); }
.filter-btn.is-active { background: var(--anthrazit); color: var(--weiss); border-color: var(--anthrazit); }
.note { font-size: 15px; color: var(--graphit); margin-top: 28px; max-width: 44em; }

/* ---------- Leistungen ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { padding: 32px 32px 34px; display: flex; flex-direction: column; gap: 14px; min-width: 0; text-decoration: none; }
a.service:hover { border-color: var(--anthrazit); }
.service h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.15; }
.service p { color: var(--graphit); }
.service--accent { background: var(--salbei-tint); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tag { font-size: 12.5px; font-family: var(--bold); font-weight: 700; color: var(--salbei-dunkel); background: var(--salbei-tint); padding: 4px 10px; border-radius: 6px 0 6px 6px; }
.service--accent .tag { background: var(--weiss); }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

.service-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px 48px; padding-block: clamp(48px, 7vw, 80px); border-top: 2px solid var(--anthrazit); }
.service-detail:first-of-type { border-top-width: 2px; }
.service-detail h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; }
.service-detail .body p { color: var(--anthrazit); font-size: 18px; }
.service-detail .body p + p { margin-top: 14px; color: var(--graphit); font-size: 17px; }
.check { display: grid; gap: 10px; }
.check li { padding-left: 24px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 3px; background: var(--gold); }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--anthrazit); }
.step { padding: 26px 28px 6px 0; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--sand); }
.step__n { font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--salbei-dunkel); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 24px; margin-top: 10px; }
.step p { color: var(--graphit); margin-top: 10px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 22px 0 18px; border-left: 0; } .step + .step { border-top: 1px solid var(--sand); } }

.quote { margin-top: clamp(40px, 6vw, 64px); padding: clamp(26px, 4vw, 40px); font-family: var(--head); font-weight: 800; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.2; text-wrap: balance; }
.quote small { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; color: var(--graphit); margin-top: 14px; letter-spacing: 0; }

/* ---------- Kundenlogos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-grid__item { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; background: var(--weiss); border: 1px solid var(--sand); border-radius: 10px 0 10px 10px; }
.logo-grid__item img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0); opacity: .72; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logo-grid__item { padding: 12px; } .logo-grid__item img { max-height: 34px; } }

/* ---------- Auszeichnungen ---------- */
.award-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.award { overflow: hidden; min-width: 0; }
.award img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.award__body { padding: 20px 22px 24px; }
.award__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--graphit); font-variant-numeric: tabular-nums; }
.award__title { font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.25; margin-top: 8px; }
@media (max-width: 900px) { .award-grid { grid-template-columns: 1fr; max-width: 560px; } }

.award-list { border-top: 2px solid var(--anthrazit); }
.award-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.award-list li b { font-family: var(--bold); font-weight: 700; }
.award-list li span { color: var(--graphit); }
@media (max-width: 640px) { .award-list li { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r) 0 var(--r) var(--r); }
.portrait figcaption { font-size: 14px; color: var(--graphit); margin-top: 12px; }
.portrait { margin: 0; }
.about__copy > p { font-size: 18.5px; max-width: 36em; }
.about__copy > p + p { margin-top: 16px; }
.facts { margin-top: 32px; display: grid; gap: 12px; max-width: 40em; }
.facts li { padding-left: 24px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 3px; background: var(--gold); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value { border-top: 2px solid var(--anthrazit); padding-top: 16px; min-width: 0; }
.value h3 { font-size: 24px; }
.value p { color: var(--graphit); font-size: 16px; margin-top: 8px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 380px; } .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--salbei); color: var(--weiss); padding-block: clamp(64px, 9vw, 104px); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; max-width: 14em; }
.cta-band .rule { margin-top: 20px; }
.cta-band p { font-size: 19px; margin-top: 20px; max-width: 30em; opacity: .95; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.card { padding: 32px; }
.card__name { font-family: var(--head); font-weight: 800; font-size: 28px; }
.card__role { color: var(--graphit); font-size: 15px; margin-top: 4px; }
.rows { margin-top: 22px; }
.row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--sand); }
.row__k { font-size: 12.5px; color: var(--graphit); font-family: var(--bold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.row__v { font-size: 17.5px; overflow-wrap: anywhere; }
.row__v a { text-decoration: none; }
.row__v a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.copy { font: inherit; font-family: var(--bold); font-weight: 700; font-size: 13px; color: var(--anthrazit); background: transparent; border: 1.5px solid var(--sand); padding: 6px 10px; border-radius: 6px 0 6px 6px; cursor: pointer; min-width: 88px; }
.copy:hover { border-color: var(--gold); }
.first-call { display: grid; gap: 18px; }
.first-call li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.first-call li b { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--salbei-dunkel); font-variant-numeric: tabular-nums; }
.first-call li p { color: var(--graphit); }
.first-call li p strong { color: var(--anthrazit); font-family: var(--bold); font-weight: 700; display: block; }
.legal { max-width: 46em; }
.legal h3 { font-size: 20px; margin-top: 28px; }
.legal p { color: var(--graphit); margin-top: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .row { grid-template-columns: 1fr auto; } .row__k { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); color: var(--band-muted); padding-block: clamp(56px, 8vw, 88px) 36px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.footer__brand svg { width: 200px; height: auto; display: block; }
.footer__brand p { margin-top: 18px; max-width: 26em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__col-title { font-family: var(--bold); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--weiss); margin-bottom: 12px; }
.footer__col a, .footer__col span { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--weiss); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--band-line); margin-top: 48px; padding-top: 22px; font-size: 14px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--weiss); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Case-Seiten ---------- */
.back-link { display: inline-block; font-family: var(--bold); font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--graphit); margin-bottom: 28px; }
.back-link:hover { color: var(--anthrazit); }
.case-hero { border-bottom: 0; padding-bottom: clamp(32px, 4vw, 48px); }
.case-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.case-hero h1 { max-width: 16em; }
.case-media { padding-bottom: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--sand); }
.case-media__frame { margin: 0; overflow: hidden; border-radius: var(--r) 0 var(--r) var(--r); background: var(--sand); }
.case-media__frame img { width: 100%; height: auto; max-height: 72vh; object-fit: cover; }
.case-media__frame--contain { background: var(--weiss); border: 1px solid var(--sand); }
.case-media__frame--contain img { aspect-ratio: 16 / 7; object-fit: cover; }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; margin: 32px 0 0; padding-top: 24px; border-top: 2px solid var(--anthrazit); }
.case-facts dt { font-family: var(--bold); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--salbei-dunkel); }
.case-facts dd { margin: 6px 0 0; font-size: 16px; }
.case-block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 48px; padding-block: 36px; border-top: 1px solid var(--sand); }
.case-block:first-child { border-top: 0; padding-top: 0; }
.case-block .eyebrow { padding-top: 8px; }
.case-block h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.12; margin-bottom: 16px; }
.case-block p { font-size: 18px; max-width: 40em; }
.case-block .check { font-size: 17px; max-width: 44em; }
.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 28px; }
.case-result { background: var(--salbei-tint); padding: 20px 22px; border-radius: 10px 0 10px 10px; }
.case-result strong { display: block; white-space: nowrap; font-family: var(--head); font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; }
.case-result span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--salbei-dunkel); font-family: var(--bold); font-weight: 700; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-gallery__item { margin: 0; overflow: hidden; border-radius: var(--r) 0 var(--r) var(--r); background: var(--sand); }
.case-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.case-gallery__item--wide { grid-column: 1 / -1; }
.case-next { padding-block: 40px; border-bottom: 1px solid var(--sand); }
.case-next__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.case-next__link { text-decoration: none; text-align: right; }
.case-next__title { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(19px, 2vw, 24px); margin-top: 6px; }
.case-next__link:hover .case-next__title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 820px) { .case-block { grid-template-columns: 1fr; } .case-block .eyebrow { padding-top: 0; } .case-next__link { text-align: left; } }
@media (max-width: 640px) { .case-gallery { grid-template-columns: 1fr; } }

/* ---------- Bewegung ---------- */
/* Laufbänder (aus der Vorlage übernommen, ruhiger) */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; animation: marquee var(--marquee-speed, 60s) linear infinite; }
.marquee__track > span { display: inline-flex; align-items: center; }
.marquee__sep { display: inline-block; width: .55em; height: .09em; background: var(--gold); margin: 0 .55em; transform: translateY(.05em); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

.keyband { border-bottom: 1px solid var(--sand); padding-block: clamp(22px, 3vw, 34px); background: var(--offwhite); }
.keyband .marquee__track { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.01em; color: var(--anthrazit); }
.keyband a { text-decoration: none; }
.keyband a:hover { color: var(--salbei-dunkel); }

.footer-marquee { display: block; text-decoration: none; color: var(--weiss); border-bottom: 1px solid var(--band-line); padding-block: 8px 36px; margin-bottom: 48px; --marquee-speed: 45s; }
.footer-marquee .marquee__track { font-family: var(--head); font-weight: 800; font-size: clamp(40px, 7.5vw, 104px); line-height: 1.05; letter-spacing: -0.015em; }
.footer-marquee:hover { color: var(--gold); }

/* Einblenden beim Scrollen: nur Elemente, die beim Laden unterhalb des Bildschirms liegen */
.is-pending { opacity: 0; transform: translateY(26px); }
.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.is-pending .rule { width: 0; }
.is-in .rule { transition: width .6s ease .35s; }

/* Bilder in Referenz-Karten zoomen leicht */
.case-card__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.case-card:hover .case-card__media img { transform: scale(1.04); }

/* Goldener Strich im Hero zeichnet sich beim Laden */
.hero__title + .hero__body { animation: fadeUp .8s ease .15s both; }
.hero__actions { animation: fadeUp .8s ease .3s both; }
.hero__mark rect { transform-origin: 77px 164px; animation: drawLine .9s cubic-bezier(.2,.7,.2,1) .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .is-pending { opacity: 1; transform: none; }
}
