/* ==========================================================================
   NIKRAS Asset Management – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Abschnitte · 7 Bewegung · 8 Responsive · 9 Druck
   ========================================================================== */

/* 1 · Schriften (lokal eingebunden, SIL Open Font License) ---------------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
}

/* 2 · Design-Tokens (Farben aus dem Unternehmensteaser) ------------------- */
:root {
  --navy: #0E2841;
  --navy-700: #183755;
  --navy-900: #0A1E33;
  --navy-line: #223A50;
  --logo-navy: #072046;
  --ink: #1A2A4F;
  --slate: #546373;
  --gold: #E8D6B7;
  --gold-soft: #E1C99C;
  --bronze: #B59A73;
  --bronze-ink: #85663D;
  --sand: #F0E9DD;
  --sand-50: #F7F3EC;
  --cream: #F4EBDE;
  --line: #E7E0D5;
  --line-warm: #E0D7C9;
  --white: #FFFFFF;
  --on-navy: #DCE2E8;
  --on-navy-muted: #B9C3CE;

  --serif: "EB Garamond", Garamond, "Garamond Premier Pro", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(32px, 5vw, 48px);
  --header-h: 76px;
  --section-y: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--navy);
  --icon-accent: var(--bronze);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.005em;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

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

address { font-style: normal; }

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.on-dark { --focus: var(--gold); --icon-accent: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.nowrap { white-space: nowrap; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; --focus: var(--gold); }

main:focus { outline: none; }

/* 4 · Layout ------------------------------------------------------------ */
.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: var(--header-h);
}
.section--white { background: var(--white); }
.section--sand { background: var(--sand-50); }

[id] { scroll-margin-top: var(--header-h); }

/* 5 · Komponenten ------------------------------------------------------- */

/* Kleine Überschrift über Headlines */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--bronze-ink);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--bronze);
}
.eyebrow-num {
  order: -1;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.lead {
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  max-width: 40em;
}

.section-head {
  max-width: 50rem;
  margin-bottom: clamp(44px, 6vw, 76px);
}

/* Kurze Linie – Gestaltungselement aus dem Teaser */
.rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: 32px 0;
  background: var(--gold);
}
.rule--short { width: 44px; margin: 18px 0 8px; }

/* Piktogramme */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.icon--md { width: 30px; height: 30px; }
.icon--lg { width: 40px; height: 40px; }

/* Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn .btn-arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--cream); }

.btn--ghost-light { border-color: rgba(232, 214, 183, .45); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--gold); background: rgba(232, 214, 183, .08); }

/* Zurückhaltende Text-Schaltfläche für sekundäre Wege */
.btn--text-light {
  padding-inline: 2px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(232, 214, 183, .45);
  text-underline-offset: .45em;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.btn--text-light:hover { color: var(--white); text-decoration-color: var(--gold); }
.btn--text-light .btn-arrow { width: 16px; height: 16px; }
.btn--text-light:hover .btn-arrow { transform: translateY(3px); }

/* 6 · Abschnitte --------------------------------------------------------- */

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(14, 40, 65, .45);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--logo-navy);
  text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; }
.brand-word { width: 104px; height: 16.03px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.btn--nav { min-height: 44px; padding: 10px 22px; }
.btn--nav.is-active { background: var(--navy-700); }

.nav-meta { display: none; }

/* Sprachumschaltung DE / EN – oben rechts im Header */
.lang-switch {
  display: flex;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.lang-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  color: var(--slate);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { color: var(--navy); }
.lang-switch a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 5px;
  height: 1px;
  background: var(--bronze);
}
.lang-switch .lang-sep { color: var(--line-warm); font-weight: 400; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-lines {
  position: absolute;
  left: 13px; top: 17px;
  width: 22px; height: 14px;
}
.nav-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 6px; }
.nav-toggle-lines span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  container-type: inline-size;
  display: grid;
  /* Breite Textspalte, schmaleres Foto: Die Höhe ergibt sich aus dem Text,
     das Foto ist Akzent statt Vollbild. Höhe anpassen über --hero-pad. */
  --hero-pad: clamp(44px, 5.5vh, 76px);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--navy);
}
.hero-panel {
  display: flex;
  align-items: center;
  padding-block: var(--hero-pad);
  padding-right: clamp(32px, 4.5vw, 72px);
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  padding-left: max(var(--gutter), calc((100cqw - var(--maxw)) / 2));
  background: var(--navy);
  color: var(--on-navy);
}
.hero-content { max-width: 40rem; }

.hero h1 {
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.2rem + 3vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.012em;
}
.hero .rule { margin: 26px 0; }
.hero-lead {
  max-width: 34em;
  color: var(--on-navy);
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: #CFC5B5;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}
/* Dezenter Vermerk: Fassadenbild ist KI-generiert (kleine Bildunterschrift ohne Hintergrund;
   der weiche Schatten hält sie auf hellen und dunklen Bildstellen lesbar) */
.hero-media-note,
.ref-media-note {
  position: absolute;
  right: 8px;
  bottom: 5px;
  color: rgba(255, 255, 255, .9);
  font-size: .5625rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .03em;
  text-shadow: 0 0 1px rgba(14, 40, 65, .9), 0 0 3px rgba(14, 40, 65, .7);
  pointer-events: none;
}
.ref-media-note { right: auto; left: 10px; bottom: 6px; z-index: 1; }

/* Unternehmen */
.h2-display {
  font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-warm);
}
.about-text { padding-bottom: 6px; }
.about-lead {
  max-width: 30em;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
}

.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 48px);
}
.figure {
  padding: 4px clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line-warm);
}
.figure:first-child { padding-left: 0; border-left: 0; }
.figure-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--serif);
}
.figure-num {
  font-size: clamp(3.25rem, 2.4rem + 2.8vw, 4.75rem);
  font-weight: 400;
  font-variant-numeric: lining-nums;
  line-height: .9;
  letter-spacing: -.015em;
}
.figure-unit { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); }
.figure-unit .fn-ref {
  position: relative;
  top: -.6em;
  margin-left: 3px;
  font-family: var(--sans);
  font-size: .7em;
}
.figure-label {
  max-width: 16em;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
}
.fn-ref {
  color: inherit;
  text-decoration: none;
}
.footnote {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: .8125rem;
  line-height: 1.5;
}

/* Leistungsübersicht */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-warm);
  box-shadow: 0 24px 48px -32px rgba(14, 40, 65, .4);
}
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }

/* Zeilen der drei Karten bündig ausrichten (Titel, Claim, Text, Link) */
@supports (grid-template-rows: subgrid) {
  .service-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--navy);
}
.service-num {
  color: var(--bronze-ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.service-card h3 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
}
.card-link { text-decoration: none; }
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card-link:focus-visible { outline: none; }
.service-card:has(.card-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

.service-claim {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
}
.service-card p:not(.service-claim) { font-size: 1rem; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.more .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.service-card:hover .more .icon { transform: translateX(5px); }

/* Asset Management */
.am-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.am-point {
  padding: 4px clamp(24px, 3.5vw, 48px);
  border-left: 1px solid var(--line-warm);
}
.am-point:first-child { padding-left: 0; border-left: 0; }
.am-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  background: var(--sand);
  color: var(--navy);
  --icon-accent: var(--bronze-ink);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.am-icon .icon { width: 26px; height: 26px; }
.am-point:hover .am-icon { background: var(--gold); transform: translateY(-3px); }
.am-point h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.am-point p { max-width: 22em; font-size: 1rem; }
.am-cta { margin-top: clamp(40px, 5vw, 60px); }

/* Transaktionsmanagement */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.deal {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.deal:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(14, 40, 65, .45); }
.deal--buy { background: var(--navy); }
.deal--sell { background: var(--sand); }
.deal-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.deal-label::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.deal--buy .deal-label { color: var(--gold); }
.deal--sell .deal-label { color: var(--navy); }
.deal-lines {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.375rem);
  line-height: 1.28;
}
.deal--buy .deal-lines { color: var(--cream); }
.deal--sell .deal-lines { color: var(--navy); }

.strengths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 72px);
}
.strength {
  display: flex;
  flex-direction: column;
  padding: 6px clamp(16px, 2.2vw, 32px);
  border-left: 1px solid var(--line-warm);
  color: var(--navy);
}
.strength:first-child { padding-left: 0; border-left: 0; }
.strength .icon { margin-bottom: 26px; transition: transform .4s var(--ease); }
.strength:hover .icon { transform: translateY(-3px); }
.strength-pre {
  color: var(--slate);
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.strength-main {
  margin-top: 4px;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Auftraggeber: institutionell / privat */
.clients { margin-top: clamp(56px, 7vw, 88px); }
.clients-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: 28px;
}
.clients-title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  font-weight: 500;
  line-height: 1.15;
}
.clients-head p { max-width: 34em; }

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.client-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.client-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-warm);
  box-shadow: 0 24px 48px -32px rgba(14, 40, 65, .4);
}
.client-card:hover::before { transform: scaleX(1); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .client-grid { row-gap: 0; }
    .client-card {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .client-list {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
}
.client-label {
  margin: 26px 0 8px;
  color: var(--bronze-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.client-card h4 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.25;
}
.client-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.5;
}
.client-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  background: var(--bronze);
}

/* Consulting & Finanzierung */
.cf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cf-col:first-child { padding-right: clamp(32px, 5vw, 80px); }
.cf-col + .cf-col {
  padding-left: clamp(32px, 5vw, 80px);
  border-left: 1px solid var(--line-warm);
}
.cf-title {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.cf-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 0;
}
.icon-circle {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  --icon-accent: var(--ink);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.cf-item:hover .icon-circle { background: var(--gold-soft); transform: scale(1.04); }
.cf-item h4 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.cf-item p { font-size: 1rem; }

/* Referenzen */
.refs-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.refs-lead {
  max-width: 30em;
  margin-bottom: 8px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--white);
}
/* Kategorie, Titel, Text und Eckdaten der Karten bündig ausrichten */
@supports (grid-template-rows: subgrid) {
  .ref-grid { grid-template-rows: auto; }
  .ref-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
.ref-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.ref-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Platzhalter, solange kein Foto vorliegt (wird ausgeblendet, sobald ein <img> davor steht) */
.ref-media--empty {
  background:
    repeating-linear-gradient(135deg, rgba(181, 154, 115, .14) 0 1px, transparent 1px 14px),
    var(--sand);
}
.ref-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bronze-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ref-placeholder .icon { width: 44px; height: 44px; color: var(--navy); opacity: .55; }
.ref-media img + .ref-placeholder { display: none; }
/* ohne Foto: kein dunkler Verlauf, Nummer in gedecktem Navy */
.ref-media--empty:not(:has(img))::after { display: none; }
.ref-media--empty:not(:has(img)) .ref-num { color: var(--navy); text-shadow: none; opacity: .5; }
/* Karten/Grafiken (z. B. Standortkarte): vollständig zeigen statt zuschneiden */
.ref-media--contain { background: var(--white); border-bottom: 1px solid var(--line); }
.ref-media--contain img { object-fit: contain; padding: 10px 0; }
.ref-media--contain::after { display: none; }
.ref-media--contain .ref-num { color: var(--navy); text-shadow: none; opacity: .5; }
.ref-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10, 30, 51, .5), rgba(10, 30, 51, 0));
  pointer-events: none;
}
.ref-num {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 1px 10px rgba(10, 30, 51, .35);
}
.ref-cat {
  margin: 20px 22px 6px;
  color: var(--bronze-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ref-title {
  margin: 0 22px 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.15;
}
.ref-text {
  margin: 0 22px;
  font-size: .9375rem;
  line-height: 1.55;
}
.ref-meta {
  margin: 18px 22px 0;
  padding: 14px 0 22px; /* Abstand als Innenabstand: p:last-child setzt den Außenabstand auf 0 */
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.45;
}
/* Kontakt – kompakt, zweispaltig, ohne zweites Fassadenbild */
.contact {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--navy);
  color: var(--on-navy-muted);
  scroll-margin-top: var(--header-h);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact-intro { max-width: 36rem; }
.contact-logo {
  width: 120px;
  height: auto;
  aspect-ratio: 982 / 719.155;
  margin-bottom: clamp(32px, 4vw, 44px);
  color: var(--cream);
}
.contact h2 {
  color: var(--white);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.875rem);
}
.contact-text { color: var(--on-navy); max-width: 28em; }

.contact-card {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--navy-line);
  background: rgba(255, 255, 255, .03);
}
.contact-person {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.2;
}
.contact-role {
  margin: 6px 0 22px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 0;
  line-height: 1.55;
}
.contact-list .icon {
  margin-top: 2px;
  color: var(--gold);
}
.contact-list a {
  display: inline-block;
  padding-block: 3px;
  color: var(--cream);
  text-decoration-color: rgba(232, 214, 183, .4);
  transition: color .3s, text-decoration-color .3s;
}
.contact-list a:hover { color: var(--white); text-decoration-color: var(--gold); }

.contact-list .contact-linkedin { padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--navy-line); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 32px;
}
/* Niedrige Fenster (Laptops, Smartphones): nach dem Sprung über „Kontakt“ bleibt der E-Mail-Button sichtbar */
@media (max-height: 820px) {
  .contact { padding-block: clamp(32px, 4vw, 56px); }
  .contact-logo { width: 88px; margin-bottom: 20px; }
}
@media (max-height: 600px) {
  .contact-logo { display: none; }
}

/* Footer */
.site-footer {
  padding: clamp(36px, 4vw, 52px) 0 16px;
  background: var(--navy-900);
  color: var(--on-navy-muted);
  font-size: .9375rem;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px 40px;
}
.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--cream);
  text-decoration: none;
}
.footer-mark { width: 48px; height: 48px; }
.footer-wordstack { display: flex; flex-direction: column; gap: 6.6px; }
.footer-word { width: 112px; height: 17.27px; }
.footer-sub { width: 101.7px; height: 4.11px; }
.footer-claim {
  margin-top: 16px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer-title {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-footer a {
  color: var(--on-navy-muted);
  text-decoration: none;
  transition: color .3s;
}
.site-footer a:hover { color: var(--cream); }
.footer-col li {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.footer-col li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.site-footer .footer-lockup { color: var(--cream); }

/* Kleiner Download-Link im Footer */
.footer-col .footer-download { margin-top: 6px; }
.footer-download a {
  gap: 8px;
  font-size: .8125rem;
  letter-spacing: .02em;
}
.footer-download .icon { width: 15px; height: 15px; color: var(--gold); transition: transform .35s var(--ease); }
.footer-download a:hover .icon { transform: translateY(2px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 10px;
  border-top: 1px solid var(--navy-line);
  font-size: .8125rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 30px; }
.site-footer .to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}
.to-top .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.to-top:hover .icon { transform: translateY(-3px); }

/* Seitenlasche: Ankaufsprofil (läuft beim Scrollen mit, Infokarte per Hover/Klick).
   Die Breite ist so gewählt, dass die Lasche im seitlichen Rand (--gutter) bleibt
   und nicht in die Inhalte ragt. */
.side-tab {
  --tab-w: 40px;
  --tab-h: 200px;
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 45;
  transform: translateY(-50%);
}
.side-tab-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--tab-w);
  height: var(--tab-h);
  padding: 16px 0 14px;
  border: 1px solid rgba(232, 214, 183, .3);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 10px 26px -14px rgba(14, 40, 65, .5);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.side-tab-handle:hover,
.side-tab.is-open .side-tab-handle { background: var(--navy-700); }
.side-tab-handle:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.side-tab-icon { width: 18px; height: 18px; --icon-accent: var(--gold); }
.side-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
}
.side-tab-arrow {
  width: 13px;
  height: 13px;
  color: var(--gold);
  transition: transform .35s var(--ease);
}
.side-tab-handle:hover .side-tab-arrow,
.side-tab.is-open .side-tab-arrow { transform: translateX(3px); }

/* Unsichtbare Brücke (padding) zwischen Lasche und Karte, damit der Hover nicht abreißt */
.side-tab-pop {
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(var(--card-w, 300px) + 14px);
  padding-left: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-8px, -50%);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.side-tab.is-open .side-tab-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.side-tab-card {
  position: relative;
  padding: 26px 26px 24px;
  border-top: 3px solid var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 28px 60px -26px rgba(14, 40, 65, .5);
}
.side-tab-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.side-tab-close:hover { color: var(--navy); }
.side-tab-close .icon { width: 18px; height: 18px; }
.side-tab-eyebrow {
  margin: 0 40px 10px 0;
  color: var(--slate);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.side-tab-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}
.side-tab-text {
  margin-bottom: 22px;
  font-size: .9375rem;
  line-height: 1.55;
}
.side-tab-btn {
  width: 100%;
  justify-content: space-between;
}
.side-tab-btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.side-tab-btn:hover .icon { transform: translateY(3px); }
.nav-open .side-tab { visibility: hidden; }

/* Unterseiten: Impressum ------------------------------------------------ */
.page-hero {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--navy);
  color: var(--on-navy);
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
}
.page-hero p { max-width: 40em; margin-top: 18px; }

.legal { padding-block: clamp(56px, 8vw, 104px); }

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 12px clamp(24px, 4vw, 64px);
  padding-block: 30px;
  border-top: 1px solid var(--line-warm);
}
.legal-section:last-of-type { border-bottom: 1px solid var(--line-warm); }
.legal-section h2 {
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  line-height: 1.25;
}
.legal-body { color: var(--ink); }
.legal-body p { margin-bottom: .6em; }
.legal-body dl {
  display: grid;
  /* Begriffsspalte höchstens halb so breit – lange Begriffe brechen auf schmalen Bildschirmen um */
  grid-template-columns: fit-content(50%) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 24px;
  margin: 0;
}
.legal-body dt { color: var(--slate); }
.legal-body dd { margin: 0; }
/* Smartphone: Begriff über dem Wert, damit lange Angaben die volle Breite nutzen */
@media (max-width: 599px) {
  .legal-body dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal-body dt { margin-top: 12px; font-size: .875rem; }
  .legal-body dt:first-child { margin-top: 0; }
}
.legal-body a {
  display: inline-block;
  padding-block: 4px;
  color: var(--navy);
  text-decoration-color: var(--bronze);
}
.legal-body a:hover { color: var(--bronze-ink); }
/* Download-Kasten in den Rechtstexten (z. B. Datenschutzinformation als PDF) */
.legal-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 18px 0 6px;
  padding: 16px 18px;
  border: 1px solid var(--line-warm);
  border-left: 3px solid var(--bronze);
  background: var(--sand-50);
}
.legal-body .legal-download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .3s var(--ease);
}
.legal-body .legal-download-link:hover { background: var(--navy-700); color: var(--white); }
.legal-download-link .icon { width: 18px; height: 18px; flex: none; }
.legal-download-meta { margin: 0; color: var(--slate); font-size: .8125rem; }
/* Sprungziel unter dem fixierten Header */
.legal-sub[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.legal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 36px;
  font-size: .875rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.back-link .icon { width: 18px; height: 18px; transform: rotate(180deg); transition: translate .35s var(--ease); }
.back-link:hover .icon { translate: -4px 0; }
.footer-legal a[aria-current="page"] { color: var(--cream); }

.legal-sub {
  margin: 22px 0 10px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-body > .legal-sub:first-child { margin-top: 0; }
/* Paragrafenbezeichnungen (z. B. § 34c) nicht in Großbuchstaben setzen */
.legal-sub .keep-case { text-transform: none; }
.legal-body .bullets { margin: 0 0 .8em; }
.legal-body .bullets li {
  position: relative;
  padding: 3px 0 3px 20px;
}
.legal-body .bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .85em;
  width: 5px;
  height: 5px;
  background: var(--bronze);
}
.legal-toc {
  margin-bottom: clamp(32px, 4vw, 48px);
  padding: 22px 28px 18px;
  background: var(--sand-50);
}
.legal-toc-title {
  margin-bottom: 8px;
  color: var(--bronze-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2 260px;
  column-gap: 40px;
  color: var(--slate);
}
.legal-toc li { break-inside: avoid; }
.legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--navy);
  text-decoration: none;
}
.legal-toc a:hover { color: var(--bronze-ink); text-decoration: underline; }
.legal-lang-note {
  margin-top: 14px;
  color: var(--on-navy-muted);
  font-size: .875rem;
}
.legal-lang-note a { display: inline-block; padding-block: 4px; color: var(--cream); }

/* Fehlerseite 404 */
.error-page {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: 64px;
  background: var(--navy);
  color: var(--on-navy);
}
.error-logo { display: inline-block; margin-bottom: 48px; }
.error-logo img { display: block; width: 150px; height: auto; }
.error-page .eyebrow { color: var(--gold); }
.error-page .eyebrow::before { background: var(--gold); }
.error-page h1 { color: var(--white); font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.08; }
.error-page p { max-width: 36em; margin-top: 18px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px !important; }
.error-en { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.error-en h2 { color: var(--cream); font-size: 1.5rem; }
.error-en a { color: var(--cream); text-decoration-color: rgba(232, 214, 183, .5); }

/* 7 · Bewegung (nur wenn erwünscht) ------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero-media img { animation: hero-settle 2.4s var(--ease) both; }
  .hero-content > * {
    animation: rise .9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
  }

  /* Einblenden über "translate" (nicht "transform"), damit Hover-Effekte unabhängig bleiben.
     :where() hält die Spezifität bei 0, Karten ergänzen ihre eigenen Übergänge. */
  :where(.js [data-reveal]) {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .8s var(--ease), translate .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  :where(.js [data-reveal].is-visible) {
    opacity: 1;
    translate: none;
  }
  .service-card,
  .deal,
  .client-card {
    transition:
      opacity .8s var(--ease) calc(var(--d, 0) * 90ms),
      translate .8s var(--ease) calc(var(--d, 0) * 90ms),
      transform .45s var(--ease),
      box-shadow .45s var(--ease),
      border-color .45s var(--ease);
  }
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 8 · Responsive ------------------------------------------------------- */
@media (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* Mobile Navigation ab 1279 px: "Transaktionsmanagement" + Sprachwahl benötigen die volle Breite */
@media (max-width: 1279px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .header-inner { gap: 12px; }
  .lang-switch { margin-left: auto; padding-left: 0; border-left: 0; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: normal;
  }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--bronze-ink); }
  .btn--nav { margin-top: 32px; min-height: 52px; }
  .nav-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
  }
  .nav-meta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--navy);
    font-size: 1rem;
    text-decoration: none;
  }
  .nav-meta .icon { color: var(--bronze-ink); }
}

@media (max-width: 1023px) {
  .client-grid { grid-template-columns: minmax(0, 1fr); }
  .refs-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .side-tab { --tab-w: 26px; --tab-h: 184px; }
  .side-tab-handle { padding: 12px 0 10px; }
  .side-tab-icon { width: 15px; height: 15px; }
  .side-tab-label { font-size: .75rem; letter-spacing: .04em; }
  .side-tab-arrow { width: 11px; height: 11px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { display: flex; grid-row: auto; }
  .clients-head { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { max-width: 36rem; }
  .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .strength:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { padding: 48px var(--gutter) 56px; }
  .hero-media { height: clamp(160px, 40vw, 260px); }
  .client-grid { grid-template-columns: minmax(0, 1fr); }

  .am-points { grid-template-columns: minmax(0, 1fr); }
  .am-point,
  .am-point:first-child {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 22px;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line-warm);
  }
  .am-point:first-child { padding-top: 0; border-top: 0; }
  .am-icon { grid-row: span 2; margin-bottom: 0; }

  .legal-section { grid-template-columns: minmax(0, 1fr); }
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-col:first-child { padding-right: 0; }
  .cf-col + .cf-col {
    margin-top: 40px;
    padding-top: 40px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-warm);
  }
  .deal-grid { grid-template-columns: minmax(0, 1fr); }
  .deal { min-height: 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .ref-grid { grid-template-columns: minmax(0, 1fr); }
  /* etwas breiterer Seitenrand, damit die Seitenlasche (24 px) nicht in die Inhalte ragt */
  :root { --gutter: 32px; }
  body { font-size: 1rem; }
  p, li { hyphens: auto; -webkit-hyphens: auto; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn--text-light { align-self: flex-start; }
  .contact-actions .btn { width: 100%; }
  .eyebrow { letter-spacing: .16em; }
  .am-cta .btn { width: 100%; }

  .figures { grid-template-columns: minmax(0, 1fr); }
  .figure,
  .figure:first-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line-warm);
  }
  .figure:first-child { padding-top: 0; border-top: 0; }
  .figure-label { max-width: none; }

  .side-tab { --tab-w: 24px; --tab-h: 168px; --card-w: min(300px, calc(100vw - 24px - 26px)); }
  .side-tab-handle { padding: 11px 0 9px; }
  .side-tab-icon { width: 14px; height: 14px; }
  .side-tab-label { font-size: .6875rem; letter-spacing: .03em; }
  .side-tab-arrow { width: 10px; height: 10px; }
  .side-tab-card { padding: 22px 20px 20px; }
  .side-tab-title { font-size: 1.75rem; }

  .cf-item { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .icon-circle { width: 56px; height: 56px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 479px) {
  .strengths { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .strength,
  .strength:nth-child(3) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line-warm);
  }
  .strength:first-child { border-top: 0; padding-top: 0; }
  .strength {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 18px;
  }
  .strength .icon { grid-row: span 2; margin: 2px 0 0; }
}

/* 9 · Druck ----------------------------------------------------------- */
@media print {
  .site-header { position: static; }
  .nav-toggle, .skip-link, .lang-switch, .side-tab, .hero-media, .contact-actions, .hero-actions, .am-cta { display: none !important; }
  .hero { display: block; }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
  .section { padding-block: 40px; }
}
