/* ==========================================================================
   free-your-brand.com – site.css
   Leitidee: Making the Intangible Tangible – Überlagerung als Prinzip.
   ========================================================================== */

/* ---------- Fonts (lokal, Latin-Subset) ---------- */
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #009EE0;
  --blue-overlap: #3FB6E8;
  --blue-mid: #73CAEE;
  --blue-light: #8CD3F1;
  --blue-tint: #CBEBF9;
  --ink: #0B2A3A;
  --white: #FFFFFF;

  --ink-80: rgb(11 42 58 / .8);
  --ink-60: rgb(11 42 58 / .64);
  --line: rgb(11 42 58 / .14);

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;

  --fs-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);   /* 17 → 19 px */
  --fs-small: clamp(.875rem, .85rem + .1vw, .9375rem);
  --fs-lead: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.2vw, 5.5rem);          /* bis 88 px */
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-quote: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);

  --gutter: clamp(1.25rem, .6rem + 3vw, 3rem);
  --wrap: 78rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 4px;

  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --header-h: 4.75rem;

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.visually-hidden {
  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: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1.25rem; font-weight: 500;
  transition: transform .2s;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

/* ---------- Typografie-Bausteine ---------- */
.kicker, .label {
  font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 1.25rem; line-height: 1.3;
  display: flex; align-items: center; gap: .75rem;
}
.kicker::before {
  content: ""; width: 2.25rem; height: 2px; background: var(--blue); flex: none;
}
.h2 { font-size: var(--fs-h2); letter-spacing: -.01em; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.haltung .h2 { font-size: clamp(2rem, 1.5rem + 1.9vw, 3.25rem); }
.lead { font-weight: 300; font-size: var(--fs-lead); line-height: 1.45; }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons & Links ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 3.25rem; padding: .8rem 1.6rem;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; line-height: 1.2; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
/* Weiß auf #009EE0 (~3:1) – bewusste Entscheidung des Auftraggebers (26.11.2026) */
.btn--primary { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue); }
.btn--primary:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--blue-tint); --btn-bd: var(--blue-tint); }
.btn--small { min-height: 2.5rem; padding: .5rem 1.15rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--blue); padding-bottom: .15rem;
}
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .i-play { display: none; }
.icon-btn[aria-pressed="true"] .i-play { display: block; }
.icon-btn[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Logo-Formen ---------- */
.shape { width: 100%; height: auto; overflow: visible; }
.shape circle, .shape rect { fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .2s;
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.brand__logo {
  width: 3.25rem; height: 3.25rem; transform-origin: left center;
  transition: transform .2s var(--ease-out);
}
.site-header.is-scrolled .brand__logo { transform: scale(.82); }
.brand__name {
  font-weight: 500; font-size: .9375rem; letter-spacing: .02em; white-space: nowrap;
  transition: transform .2s var(--ease-out);
}
.site-header.is-scrolled .brand__name { transform: translateX(-.45rem); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__link {
  position: relative; font-weight: 500; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding-block: .5rem;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.site-nav__link:hover::after, .site-nav__link[aria-current]::after { transform: scaleX(1); }
.lang { display: flex; gap: .15rem; font-weight: 500; font-size: .875rem; letter-spacing: .08em; }
.lang a { display: block; padding: .35rem .4rem; text-decoration: none; color: var(--ink-60); }
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.lang li + li::before { content: "|"; color: var(--line); margin-right: .15rem; }
.lang li { display: flex; align-items: center; }

.nav-toggle { display: none; }

@media (max-width: 63.99em) {
  .brand__name { font-size: .875rem; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: .5rem 0; cursor: pointer;
    font-weight: 500; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 1.4rem; height: 2px; background: currentColor; transition: transform .25s var(--ease-out), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { transform: translateY(-6px); }
  .nav-toggle__bars::after { transform: translateY(6px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

  /* Ohne JS: Navigation umbrechend sichtbar */
  .site-header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: .75rem; }
  .site-nav { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .site-nav__list { flex-wrap: wrap; gap: .25rem 1.25rem; }

  .js .site-header__inner { flex-wrap: nowrap; height: var(--header-h); padding-block: 0; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top)); bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 2rem;
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    transition: opacity .25s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .js .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .site-nav__list { flex-direction: column; gap: .25rem; }
  .js .site-nav__link { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; letter-spacing: 0; text-transform: none; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); position: relative; overflow-x: clip; }
.section__title { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: 1rem; max-width: 52rem; }
.section__head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.section__intro { font-weight: 300; font-size: var(--fs-lead); line-height: 1.45; margin: 0; max-width: 40ch; }

/* ---------- 1 · Hero ---------- */
/* Mobil: Foto oben, Text darunter. Ab 64em: Foto vollflächig, Text links auf weißem Verlauf. */
.hero { position: relative; display: flex; flex-direction: column; overflow: clip; isolation: isolate; }
.hero__media { position: relative; }
.hero__photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 68% 22%;
}
.hero__logo {
  position: absolute; z-index: 2; left: clamp(1rem, 5vw, 3rem); bottom: 0; translate: 0 38%;
  width: clamp(8.5rem, 34vw, 13rem); height: auto;
  filter: drop-shadow(0 .9rem 1.6rem rgb(8 35 51 / .22));
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
@media (min-width: 40em) and (max-width: 63.99em) { .hero__photo img { aspect-ratio: 16 / 10.5; object-position: 66% 24%; } }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 3rem + 6vw, 6rem) clamp(3.5rem, 3rem + 3vw, 5rem); }
.hero__title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1);
  line-height: .98; letter-spacing: -.012em; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
  max-width: 17ch;
}
.hero__sub { font-weight: 300; font-size: var(--fs-lead); line-height: 1.45; max-width: 40ch; margin-bottom: 2rem; }
.trust {
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: var(--fs-small); line-height: 1.6; color: var(--ink-80); max-width: 46rem;
}
.trust__mark { display: inline-block; width: 1.25em; height: 1.25em; margin-inline: .55em; vertical-align: -.3em; }
.trust__item--name { font-weight: 600; color: var(--ink); }

@media (min-width: 64em) {
  .hero { display: block; min-height: clamp(36rem, calc(100svh - var(--header-h)), 52rem); }
  .hero__media { position: absolute; inset: 0 0 0 16%; z-index: 0; container-type: size; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .9) 14%, rgb(255 255 255 / .5) 26%, rgb(255 255 255 / 0) 40%);
  }
  .hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__photo img { aspect-ratio: auto; object-position: 70% 28%; }
  /* Lage im Fotobereich (cqw/cqh = Breite/Höhe des Fotos); Ruhelage: rechts unter dem Gesicht */
  .hero__logo {
    left: 0; top: 0; bottom: auto; translate: 70cqw 56cqh;
    width: clamp(11.5rem, 16vw, 17rem);
  }
  .hero__inner { padding-block: clamp(3rem, 1rem + 4vw, 5.5rem); }
  .hero__text { max-width: min(54%, 42rem); }
  .hero__title { font-size: min(var(--fs-h1), 4.6vw); }
}

/* Logo: gleitet beim Laden in Position, „atmet“ dann leicht (Größe, Drehung, Unschärfe).
   Ab 64em wandert es zusätzlich langsam: rechts neben dem Gesicht → übers Hemd → nahe an den Text → zurück.
   Marke als etwas Ungreifbares, das sich nie ganz festhalten lässt. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero:not(.is-settled) .hero__logo { transform: translate(8%, 14%) rotate(-8deg) scale(.9); opacity: 0; }
  .hero.is-settled .hero__logo { animation: hero-breathe 11s ease-in-out 1.2s infinite alternate; }
}
@media (min-width: 64em) and (prefers-reduced-motion: no-preference) {
  .hero.is-settled .hero__logo {
    animation: hero-breathe 11s ease-in-out 1.2s infinite alternate, hero-wander 64s ease-in-out 1.2s infinite;
  }
}
@keyframes hero-breathe {
  0%   { transform: translateY(0) rotate(0) scale(1);         filter: blur(0) drop-shadow(0 .9rem 1.6rem rgb(8 35 51 / .22)); }
  45%  { transform: translateY(-.5rem) rotate(-2deg) scale(1.04); filter: blur(1.4px) drop-shadow(0 1.2rem 2rem rgb(8 35 51 / .16)); }
  70%  { transform: translateY(-.2rem) rotate(-1deg) scale(1.02); filter: blur(.3px) drop-shadow(0 1rem 1.8rem rgb(8 35 51 / .2)); }
  100% { transform: translateY(-.7rem) rotate(1.5deg) scale(.97); filter: blur(0) drop-shadow(0 .8rem 1.4rem rgb(8 35 51 / .24)); }
}
@keyframes hero-wander {
  0%, 100% { translate: 70cqw 56cqh; }  /* rechts unter dem Gesicht */
  18%      { translate: 76cqw 20cqh; }  /* rechts neben dem Gesicht */
  36%      { translate: 74cqw 38cqh; }
  54%      { translate: 52cqw 58cqh; }  /* unter dem Gesicht, übers Hemd */
  72%      { translate: 37cqw 44cqh; }  /* nahe am Text */
  86%      { translate: 55cqw 64cqh; }
}

/* Langsame Drift (kaum wahrnehmbar) */
@media (prefers-reduced-motion: no-preference) {
  .drift--a { animation: drift-a 36s ease-in-out infinite alternate; }
  .drift--b { animation: drift-b 32s ease-in-out infinite alternate; }
}
@keyframes drift-a { from { transform: translate(0, 0) rotate(0); } to { transform: translate(2.5%, -2%) rotate(4deg); } }
@keyframes drift-b { from { transform: translate(0, 0) rotate(0); } to { transform: translate(-2%, 2.5%) rotate(-5deg); } }

/* ---------- 2 · Namensband ---------- */
.logos { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-block: 1px solid var(--line); }
.logos__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.logos__head .label { margin: 0; }
.logos__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem; padding-inline: var(--gutter); }
.logos__item img { opacity: .5; transition: opacity .3s; }
.logos__item img:hover { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .logos.is-marquee .logos__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .js .logos.is-marquee .logos__track {
    flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; padding: 0;
    animation: marquee var(--marquee-duration, 90s) linear infinite;
  }
  .js .logos.is-marquee .logos__item { padding-inline: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); flex: none; }
  .js .logos.is-marquee:hover .logos__track,
  .js .logos.is-marquee:focus-within .logos__track,
  .js .logos.is-paused .logos__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3 · Haltung ---------- */
.haltung__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 64em) {
  .haltung__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .haltung__title { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.haltung--b { padding-top: var(--section); }
.haltung__grid--c { margin-top: var(--section); align-items: center; }
.haltung__grid--c .h2 { margin-bottom: 1.5rem; }
.haltung__grid--c .prose p:first-child { margin-bottom: 1.25rem; }
.haltung__media { position: relative; isolation: isolate; }
.haltung__photo img { width: 100%; mix-blend-mode: multiply; border-radius: var(--radius); }
.haltung__shape {
  position: absolute; z-index: -1; width: 46%; left: 22%; top: 16%; color: var(--blue-tint);
}
@media (min-width: 64em) { .haltung__grid--c { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }

/* Dunkle Sektion mit Pull-Quote */
.quote-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
  padding-block: clamp(5rem, 3rem + 8vw, 11rem);
}
.quote-band__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.quote-band__shapes .drift { position: absolute; }
.quote-band__shapes .drift--a { width: min(62vw, 46rem); left: -14vw; bottom: -30%; }
.quote-band__shapes .drift--b { width: min(52vw, 40rem); right: -10vw; top: -34%; }
.quote-band__circle { color: var(--blue-mid); opacity: .16; }
.quote-band__square { color: var(--blue-light); opacity: .12; }
.pull-quote { max-width: 68ch; margin-inline: auto; }
.pull-quote p {
  margin: 0; font-weight: 300; font-size: var(--fs-quote); line-height: 1.2; letter-spacing: -.005em;
  max-width: 30ch; text-wrap: balance;
}
.pull-quote p::before {
  content: ""; display: block; width: 3rem; height: 3px; background: var(--blue); margin-bottom: 2rem;
}

/* ---------- 4 · Leistungen ---------- */
.services { background: var(--blue-tint); }
.services__grid { display: grid; gap: 1px; background: rgb(11 42 58 / .12); border: 1px solid rgb(11 42 58 / .12); }
@media (min-width: 40em) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--white); }
.tile__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; height: 100%; min-height: 15rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); text-decoration: none;
}
.tile__num { font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; color: var(--ink-60); margin-bottom: 1.25rem; }
.tile__title { font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; transition: color .3s; }
.tile__lead { font-weight: 300; font-size: 1.125rem; line-height: 1.4; color: var(--ink-80); }
.tile__arrow { margin-top: 1rem; transition: transform .3s var(--ease-out); }
.tile__shape {
  position: absolute; z-index: -1; width: 62%; right: -18%; bottom: -26%;
  color: var(--blue-light); opacity: 0; transform: translate(14%, 14%) rotate(12deg);
  transition: opacity .3s, transform .3s var(--ease-out);
}
.tile__link:hover .tile__shape, .tile__link:focus-visible .tile__shape { opacity: .45; transform: none; }
.tile__link:hover .tile__title, .tile__link:focus-visible .tile__title { color: var(--blue); }
.tile__link:hover .tile__arrow { transform: translateX(6px); }
.tile__link:focus-visible { outline-offset: -4px; }

/* ---------- 5 · Mehr als Beratung ---------- */
.platforms__grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
@media (min-width: 40em) { .platforms__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80em) { .platforms__grid { grid-template-columns: repeat(4, 1fr); } }
.platform {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  transition: border-color .3s;
}
.platform:hover { border-color: var(--blue-mid); }
.platform__logo { height: 5.5rem; display: flex; align-items: center; margin-bottom: 1rem; }
.platform__logo picture { height: 100%; }
.platform__logo img { height: 100%; width: auto; max-width: 11rem; object-fit: contain; object-position: left center; }
.platform__name { font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); }
.platform__lead { font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; margin: 0; }
.platform__text { font-size: 1rem; line-height: 1.55; color: var(--ink-80); flex: 1; }
.platform__link {
  align-self: flex-start; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.platform__link .icon { display: inline; vertical-align: -.1em; margin-left: .15rem; }
.platform__host { font-size: .875rem; color: var(--ink-60); }

/* ---------- 6 · Referenzen ---------- */
.refs { background: var(--blue-tint); overflow: clip; }
.slider__viewport { overflow: hidden; }
.slider__track { display: grid; gap: 3rem; }
.ref-quote { max-width: 60rem; }
.ref-quote blockquote p {
  font-weight: 300; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); line-height: 1.3; margin-bottom: 2rem;
  max-width: 44ch; text-wrap: pretty;
}
.ref-quote figcaption { display: flex; align-items: center; gap: 1.25rem; }
.ref-quote__name { display: block; font-weight: 600; }
.ref-quote__role { display: block; font-size: var(--fs-small); color: var(--ink-80); }

/* Porträts: Graustufen mit Blauton, bei Hover/Fokus farbig */
.ref-portrait {
  display: block; flex: none; width: 5rem; height: 5rem; border-radius: 50%; overflow: hidden;
  background: var(--blue-tint); transition: background-color .4s;
}
.ref-portrait--lg { width: 6rem; height: 6rem; }
.ref-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); mix-blend-mode: multiply; transition: filter .4s; }
.refs .ref-portrait { background: var(--blue-light); }
.ref-quote:hover .ref-portrait, .slider:focus-within .ref-portrait, .ref-portrait:hover { background: var(--white); }
.ref-quote:hover .ref-portrait img, .slider:focus-within .ref-portrait img, .ref-portrait:hover img { filter: none; }

.slider__controls { display: flex; align-items: center; gap: .75rem; margin-top: 2.5rem; }
.slider__dots { display: flex; gap: .25rem; margin-inline: .5rem; }
.slider__dot {
  width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; padding: 0; position: relative;
}
.slider__dot::before {
  content: ""; position: absolute; left: .5rem; right: .5rem; top: 50%; height: 3px; margin-top: -1.5px;
  background: var(--ink); opacity: .2; transition: opacity .3s;
}
.slider__dot[aria-current="true"]::before { opacity: 1; background: var(--ink); }

.js .slider.is-ready .slider__track {
  display: flex; gap: 0; transition: transform .7s var(--ease-out);
}
.js .slider.is-ready .slide { flex: 0 0 100%; padding-right: 2rem; }
.js .slider.is-ready .slide[aria-hidden="true"] { visibility: hidden; transition: visibility 0s .7s; }
@media (prefers-reduced-motion: reduce) { .js .slider.is-ready .slider__track { transition: none; } }

/* ---------- 7 · Kurzprofil ---------- */
.profile__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 40em) { .profile__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.profile__media { position: relative; isolation: isolate; max-width: 26rem; }
.profile__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.profile__shape {
  position: absolute; width: 44%; right: -14%; bottom: -10%; color: var(--blue); pointer-events: none;
}
.profile__shape rect { opacity: .38; }
.profile__shape { mix-blend-mode: multiply; }
.profile__text .h2 { margin-bottom: 1.5rem; }
.facts {
  display: flex; flex-wrap: wrap; gap: .25rem 0; margin-bottom: 1.75rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1;
  color: var(--blue);
}
.facts li:not(:last-child)::after { content: "/"; color: var(--blue-mid); font-weight: 400; margin-inline: .45em; }
.profile__body { max-width: 62ch; margin-bottom: 2rem; }

/* ---------- 8 · Kontakt-CTA ---------- */
.cta { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(5rem, 3rem + 8vw, 10rem); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(11 42 58 / .94) 0%, rgb(11 42 58 / .86) 50%, rgb(11 42 58 / .6) 100%); }
.cta__inner { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 64em) { .cta__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1; margin-bottom: 1.25rem; }
.cta__text { font-weight: 300; font-size: var(--fs-lead); line-height: 1.45; max-width: 36ch; margin-bottom: 2rem; }
.cta__direct { display: grid; gap: 1.25rem; }
.cta__direct a { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .35); transition: border-color .2s; word-break: break-word; }
.cta__direct a:hover { border-color: var(--blue-light); }
.cta__label { display: block; font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); margin-bottom: .25rem; }
.cta .btn--primary:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding-block: clamp(3rem, 2rem + 3vw, 5rem) calc(2rem + env(safe-area-inset-bottom)); font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__brand { display: flex; gap: 1.5rem; align-items: flex-start; }
.site-footer__mark { width: 4.5rem; height: auto; flex: none; }
.site-footer__contact { margin: 0; line-height: 1.75; }
.site-footer__platforms { display: grid; gap: 1rem; }
.site-footer__platforms a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.site-footer__host { display: block; font-size: .875rem; color: var(--ink-60); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-80); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.5rem; }

/* ---------- Scroll-Effekte ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Reveal von unten mit Fade, gestaffelt 60 ms */
  .js [data-reveal] {
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }

  /* Intangible → Tangible: unscharf und transparent → scharf und deckend */
  .js [data-tangible] { transition: filter .8s var(--ease-out), opacity .8s var(--ease-out); }
  .js [data-tangible]:not(.is-in) { filter: blur(12px); opacity: .18; }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* ---------- Seitenkopf ---------- */
.page-head { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-head__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-head__shapes .drift { position: absolute; }
.page-head__shapes .drift--a { width: clamp(9rem, 20vw, 17rem); right: -3rem; top: 1.5rem; }
.page-head__shapes .drift--b { width: clamp(8rem, 17vw, 15rem); right: clamp(4rem, 12vw, 13rem); top: -3.5rem; }
@media (max-width: 47.99em) { .page-head__shapes { opacity: .55; } }
.page-head__circle { color: var(--blue-tint); }
.page-head__square { color: var(--blue-light); opacity: .5; mix-blend-mode: multiply; }
.page-title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 1.8rem + 3.6vw, 5rem);
  line-height: 1; letter-spacing: -.01em; max-width: 18ch; margin-bottom: clamp(1rem, .8rem + 1vw, 1.75rem);
  hyphens: manual; overflow-wrap: break-word;
}
.page-intro { font-weight: 300; font-size: var(--fs-lead); line-height: 1.45; max-width: 46ch; margin: 0; }
.page-head--legal { padding-bottom: 1rem; }
.page-head--legal .page-title { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem); }

/* ---------- Markenberatung ---------- */
.mb-layout { display: grid; gap: 0 clamp(2rem, 1rem + 4vw, 5rem); padding-bottom: var(--section); }
.mb-layout > * { min-width: 0; }
@media (min-width: 64em) { .mb-layout { grid-template-columns: 16rem minmax(0, 1fr); } }

.subnav {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top)); z-index: 20;
  margin-inline: calc(-1 * var(--gutter)); background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.subnav__list {
  display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding: .5rem var(--gutter);
  scroll-snap-type: x proximity; counter-reset: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link {
  display: flex; align-items: baseline; gap: .5rem; white-space: nowrap; scroll-snap-align: start;
  padding: .55rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem;
  transition: background-color .2s, color .2s;
}
.subnav__num { font-size: .75rem; letter-spacing: .08em; color: var(--ink-60); }
.subnav__link:hover { background: var(--blue-tint); }
.subnav__link[aria-current="true"] { background: var(--ink); color: var(--white); }
.subnav__link[aria-current="true"] .subnav__num { color: var(--blue-light); }
@media (min-width: 64em) {
  .subnav {
    top: calc(var(--header-h) + 2rem); align-self: start; margin: 0; background: none; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; padding-top: 1rem;
  }
  .subnav__list { flex-direction: column; overflow: visible; padding: 0; gap: .1rem; border-left: 1px solid var(--line); }
  .subnav__link { white-space: normal; border-radius: 0; padding: .5rem 0 .5rem 1.1rem; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.3; }
  .subnav__link:hover { background: none; color: var(--blue); }
  .subnav__link[aria-current="true"] { background: none; color: var(--ink); border-left-color: var(--blue); font-weight: 600; }
  .subnav__link[aria-current="true"] .subnav__num { color: var(--blue); }
}

/* html hat bereits scroll-padding (Header); mobil zusätzlich Platz für die Unternavigation */
.service { padding-block: clamp(3rem, 2rem + 3vw, 5.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 3.5rem; }
@media (min-width: 64em) { .service { scroll-margin-top: 0; } }
.service:last-child { border-bottom: 0; }
.service__num { font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; color: var(--blue); margin-bottom: .75rem; }
.service__title { margin-bottom: 1rem; }
.service__lead { font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.25; max-width: 30ch; margin-bottom: 1.75rem; }
.service .link-arrow { margin-top: .5rem; }
.bullets { display: grid; gap: .75rem; max-width: 68ch; margin-top: 1.5rem; }
.bullets li { padding-left: 1.25rem; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.prose a, .venue__text a, .legal a, .form__consent a, .map__consent a { text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .2em; }

.band { margin: 2.5rem 0 2rem; position: relative; }
.band__img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); }
.venues { display: grid; gap: 2rem; }
@media (min-width: 48em) { .venues { grid-template-columns: 1fr 1fr; } }
.venue { display: grid; gap: 1rem; align-content: start; }
.venue__media { display: grid; grid-template-columns: 2fr 1fr; gap: .5rem; max-width: 34rem; }
.venue__media--gallery { grid-template-columns: repeat(2, 1fr); }
.venue__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.venue__media:not(.venue__media--gallery) .venue__img img { aspect-ratio: auto; height: 100%; min-height: 9rem; }
.venue__text { margin: 0; max-width: 60ch; }

/* ---------- Referenzen ---------- */
.logos--static { border: 0; padding-block: 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.logos--static .logos__track { gap: 1.5rem 2.5rem; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.refs-page { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--blue-tint); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 2.75rem; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgb(11 42 58 / .25); background: var(--white); font-weight: 500; font-size: .9375rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.quotes-note { font-size: var(--fs-small); color: var(--ink-80); margin-bottom: 1.5rem; }
.ref-grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.5rem); align-items: start; }
@media (min-width: 48em) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80em) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-card[hidden] { display: none; }
.ref-card > article {
  background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  display: grid; gap: 1rem; height: 100%;
}
.ref-card__head { display: grid; gap: 1.25rem; }
.ref-card__lead { font-weight: 600; font-size: 1.1875rem; line-height: 1.35; margin: 0; }
.ref-card__who p { margin: 0 0 .5rem; font-size: .9375rem; line-height: 1.45; }
.ref-card__who strong { display: block; }
.ref-card__who span { color: var(--ink-80); }
.ref-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ref-card__tags li { font-size: .8125rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; background: var(--blue-tint); }
.ref-card__more summary {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .3em;
  min-height: 2.75rem;
}
.ref-card__more summary::-webkit-details-marker { display: none; }
.ref-card__more summary::after { content: "+"; color: var(--blue); font-weight: 600; }
.ref-card__more[open] summary::after { content: "–"; }
.ref-card__more .more-close, .ref-card__more[open] .more-open { display: none; }
.ref-card__more[open] .more-close { display: inline; }
.ref-card__text p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.6; }
.ref-card__note { font-size: .875rem; color: var(--ink-80); margin: .75rem 0 0; }
.ref-card__credit { font-size: .75rem; color: var(--ink-60); margin: 0; }
.ref-card:hover .ref-portrait, .ref-card:focus-within .ref-portrait { background: var(--white); }
.ref-card:hover .ref-portrait img, .ref-card:focus-within .ref-portrait img { filter: none; }
.ref-card .ref-portrait { width: 5.5rem; height: 5.5rem; }
.ref-card .ref-portrait--lg { width: 7rem; height: 7rem; }

/* ---------- Über mich ---------- */
.about-head { padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--section); overflow: clip; }
.about-head__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 64em) { .about-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.about-head__media { position: relative; isolation: isolate; }
.about-head__photo img { width: 100%; border-radius: var(--radius); }
.about-head__shape { position: absolute; z-index: -1; width: 38%; left: -9%; bottom: -14%; color: var(--blue-light); opacity: .8; }
.about-head__profile { font-weight: 300; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); line-height: 1.5; margin-bottom: 2rem; }
.seal {
  display: flex; align-items: center; gap: 1.1rem; text-decoration: none;
  padding: 1rem 1.25rem 1rem 1rem; border: 1px solid var(--line); border-radius: 999px 1.5rem 1.5rem 999px;
  transition: border-color .3s, background-color .3s;
}
.seal:hover { border-color: var(--blue-mid); background: var(--blue-tint); }
.seal__mark { position: relative; flex: none; width: 5rem; height: 5rem; color: var(--blue); }
.seal__mark > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__shapes { position: absolute; inset: 22%; width: 56%; }
.seal__text { font-weight: 500; font-size: .9375rem; line-height: 1.45; }
.seal__host { display: flex; align-items: center; gap: .35rem; margin-top: .35rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .25em; }

.timeline-section { background: var(--blue-tint); }
.timeline { position: relative; display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); --tl-x: .35rem; }
@media (min-width: 48em) { .timeline { --tl-x: 11.5rem; } }
.timeline__line {
  position: absolute; left: var(--tl-x); top: .6rem; bottom: .6rem; width: 2px; background: rgb(11 42 58 / .15);
}
.timeline__progress { position: absolute; inset: 0; background: var(--blue); transform-origin: top; transform: scaleY(1); }
.js .timeline.is-live .timeline__progress { transform: scaleY(var(--tl-progress, 0)); }
.station { position: relative; display: grid; gap: .25rem 2.5rem; padding-left: 2rem; }
.station::before {
  content: ""; position: absolute; left: calc(var(--tl-x) - .45rem); top: .5rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--blue-tint); border: 2px solid var(--blue);
}
@media (min-width: 48em) {
  .station { grid-template-columns: 9.5rem minmax(0, 1fr); padding-left: 0; }
  .station__body { padding-left: 1.5rem; }
}
.station__period { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin: 0; }
.station__org { font-size: var(--fs-h3); line-height: 1.25; margin-bottom: .25rem; }
.station__role { font-weight: 500; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-80); margin-bottom: 1rem; }
.station__body p:not(.station__role) { max-width: 68ch; }
.station__body p:last-child { margin-bottom: 0; }

.cv-more__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 64em) { .cv-more__grid { grid-template-columns: 1fr 1fr; } }
.h3-like { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: 1.5rem; }
.cv-more__interests { margin-top: 3rem; }
.cv-list { display: grid; gap: 1.25rem; }
.cv-list li { padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 68ch; }
.cv-list__period { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-bottom: .25rem; }

/* In den Medien */
.press .h3-like { margin-bottom: 1.5rem; }
.press__list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.press__item { border-top: 1px solid var(--line); }
.press__item:last-child { border-bottom: 1px solid var(--line); }
.press__link { display: grid; gap: .3rem; padding: 1.1rem 0; color: inherit; text-decoration: none; }
.press__meta { font-size: .875rem; color: var(--ink-80); letter-spacing: .01em; }
.press__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.35; text-wrap: pretty; }
.press__title svg { display: inline-block; width: .7em; height: .7em; vertical-align: .05em; margin-left: .2em; opacity: .55; transition: opacity .2s, transform .2s var(--ease-out); }
.press__link:hover .press__title, .press__link:focus-visible .press__title { text-decoration-color: var(--blue); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.press__link:hover .press__title svg { opacity: 1; transform: translate(2px, -2px); }

/* ---------- Kontakt ---------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
@media (min-width: 64em) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .9375rem; }
.field__req { color: var(--blue); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid rgb(11 42 58 / .3); border-radius: var(--radius); padding: .8rem 1rem; min-height: 3.25rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(0 158 224 / .25); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: .875rem; font-weight: 500; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: .9375rem; color: var(--ink-80); margin: 0; max-width: 60ch; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { font-size: .875rem; color: var(--ink-60); }
.contact__aside { display: grid; gap: 2rem; }
.contact__photo { position: relative; isolation: isolate; }
.contact__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 50%; border-radius: var(--radius); }
.contact__shape { position: absolute; z-index: -1; width: 46%; right: -8%; bottom: -16%; color: var(--blue-tint); }
.contact__direct a { color: var(--ink); border-bottom-color: var(--blue); }
.contact__direct .cta__label { color: var(--ink-80); }

.offices { background: var(--blue-tint); }
.offices__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 48em) { .offices__grid { grid-template-columns: 1fr 1fr; } }
.office { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.office__title { font-size: var(--fs-h3); }
.office__address { margin: 0; font-size: 1.125rem; }
.office__link { justify-self: start; }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--blue-tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center; isolation: isolate; }
.map__circle, .map__square { position: absolute; z-index: -1; pointer-events: none; }
.map__circle { width: 55%; left: -10%; bottom: -30%; color: var(--blue-light); opacity: .6; }
.map__square { width: 45%; right: -6%; top: -20%; color: var(--white); opacity: .7; }
.map__pin { width: 2.25rem; height: 2.25rem; color: var(--ink); }
.map__consent { font-size: .875rem; max-width: 34ch; margin: 0; }
.map .btn { background: var(--white); }

/* ---------- Rechtstexte ---------- */
.legal { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.legal__body > * { max-width: 46rem; }
.legal__body h2 { font-size: var(--fs-h3); margin: 2.5rem 0 .75rem; }
.legal__body h2:first-child { margin-top: 0; }
.legal__stand { font-size: var(--fs-small); color: var(--ink-60); margin-top: 3rem; }
.legal__lang-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--ink-60); }
@media (max-width: 47.99em) {
  .logos--static .logos__track { gap: 1rem 1.5rem; }
  .logos--static .logos__item img { height: calc(var(--h) * .68); width: auto; }
}

/* ---------- Formular-Hinweis, Danke, 404 ---------- */
.form__alert { margin: 0; padding: 1rem 1.25rem; border-left: 4px solid #B3261E; background: #FCEEEE; font-weight: 500; }
.page-head--thanks { min-height: 60vh; display: grid; align-content: center; }
.page-head__actions { margin-top: 2rem; }
.notfound { padding-block: clamp(3rem, 2rem + 5vw, 7rem); overflow: clip; }
.notfound__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 64em) { .notfound__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.notfound .kicker { color: var(--ink); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 2rem 0; }
.notfound__en { font-size: var(--fs-small); color: var(--ink-80); }
.notfound__en a { text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.notfound__media { position: relative; isolation: isolate; }
.notfound__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; border-radius: var(--radius); }
.notfound__circle { position: absolute; z-index: -1; width: 50%; left: -12%; bottom: -14%; color: var(--blue-light); }
.notfound__square { position: absolute; width: 36%; right: -6%; top: -10%; color: var(--blue); opacity: .45; mix-blend-mode: multiply; }

/* ---------- Buch: Teaser in „Über mich“ ---------- */
.book-teaser {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; align-items: start;
  margin-top: 1.25rem; padding: 1.25rem; background: var(--blue-pale, #EEF7FC); border-radius: var(--radius);
}
@media (min-width: 40em) { .book-teaser { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; } }
.book-teaser__cover { display: block; transition: transform .35s var(--ease-out); }
.book-teaser__cover img {
  width: 100%; height: auto; border-radius: 2px;
  box-shadow: 0 .15rem .3rem rgb(8 35 51 / .18), 0 .8rem 1.6rem rgb(8 35 51 / .18);
}
.book-teaser:hover .book-teaser__cover { transform: translateY(-3px) rotate(-1.5deg); }
.book-teaser__body p { margin: 0 0 1rem; }
.book-teaser__links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0 !important; }

/* ---------- Buch: Blätterseite ---------- */
.book-page { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(4rem, 3rem + 4vw, 7rem); }
.book-page__head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.book-page__head .page-title { margin-bottom: .5rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-size: var(--fs-small); text-decoration: none; color: var(--ink-80); }
.back-link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); }
.book-page__subtitle { font-weight: 300; font-size: var(--fs-lead); margin: 0 0 1rem; }
.book-page__intro { max-width: 60ch; margin: 0 0 .75rem; }

.flipbook__viewer { padding-inline: var(--gutter); }
.flipbook__stage {
  position: relative; display: flex; justify-content: center; perspective: 2600px;
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.flipbook__book {
  position: relative; display: flex; width: var(--pw); height: var(--ph);
  transform-style: preserve-3d; transition: transform var(--book-dur, .75s) cubic-bezier(.45, .05, .25, 1);
}
.flipbook__book.is-spread { width: calc(var(--pw) * 2); }
.flipbook__book.is-spread.is-front { transform: translateX(calc(var(--pw) / -2)); }
.flipbook__book.is-spread.is-back { transform: translateX(calc(var(--pw) / 2)); }
.flipbook__side { position: relative; width: var(--pw); height: var(--ph); }
.flipbook__book:not(.is-spread) .flipbook__side--left { display: none; }
.flipbook__page { position: absolute; inset: 0; background: #fff; overflow: hidden; box-shadow: 0 .6rem 1.8rem rgb(8 35 51 / .16); }
.flipbook__page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flipbook__page.is-none { background: none; box-shadow: none; }
.flipbook__page.is-blank { background: #F7F5F1; }
/* Falz: leichte Schattierung zur Buchmitte */
.is-spread .flipbook__side--left .flipbook__page::after,
.is-spread .flipbook__side--right .flipbook__page::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.is-spread .flipbook__side--left .flipbook__page:not(.is-none)::after { background: linear-gradient(270deg, rgb(0 0 0 / .16), rgb(0 0 0 / 0) 7%); }
.is-spread .flipbook__side--right .flipbook__page:not(.is-none)::after { background: linear-gradient(90deg, rgb(0 0 0 / .16), rgb(0 0 0 / 0) 7%); }

.flipbook__leaf {
  position: absolute; top: 0; z-index: 3; width: var(--pw); height: var(--ph);
  transform-style: preserve-3d; transition: transform .75s cubic-bezier(.45, .05, .25, 1);
}
.flipbook__leaf--right { left: var(--pw); transform-origin: left center; }
.flipbook__leaf--left { left: 0; transform-origin: right center; }
.flipbook__leaf--right.is-turning { transform: rotateY(-180deg); }
.flipbook__leaf--left.is-turning { transform: rotateY(180deg); }
.flipbook__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipbook__face--back { transform: rotateY(180deg); }
.flipbook__face.is-none { background: #F7F5F1; }
.flipbook__leaf .flipbook__face::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / .22), rgb(0 0 0 / 0) 40%); opacity: 0;
  animation: leaf-shade .75s ease-in-out;
}
@keyframes leaf-shade { 50% { opacity: 1; } }

.flipbook__page.is-in-next { animation: page-in-next .4s var(--ease-out); }
.flipbook__page.is-in-prev { animation: page-in-prev .4s var(--ease-out); }
@keyframes page-in-next { from { opacity: 0; transform: translateX(6%); } }
@keyframes page-in-prev { from { opacity: 0; transform: translateX(-6%); } }

.flipbook__controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem;
  max-width: 44rem; margin: 1.5rem auto 0;
}
.flipbook__btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border: 1px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.flipbook__btn svg { width: 1.25rem; height: 1.25rem; }
.flipbook__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.flipbook__btn:disabled { opacity: .3; cursor: default; }
.flipbook__label { min-width: 11rem; margin: 0; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.flipbook__range { flex: 1 1 12rem; max-width: 22rem; accent-color: var(--blue); }
.flipbook__hint { margin: .75rem 0 0; text-align: center; font-size: var(--fs-small); color: var(--ink-80); }

.flipbook__viewer.is-fullscreen { display: flex; flex-direction: column; justify-content: center; background: #10202A; padding: 1rem; }
.flipbook__viewer.is-fullscreen .flipbook__label, .flipbook__viewer.is-fullscreen .flipbook__hint { color: #fff; }
.flipbook__viewer.is-fullscreen .flipbook__btn { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.flipbook__viewer.is-fullscreen .flipbook__hint { display: none; }

.flipbook__list { display: grid; gap: 1.5rem; justify-items: center; }
.flipbook__list img { width: min(100%, 40rem); height: auto; box-shadow: 0 .4rem 1.2rem rgb(8 35 51 / .14); }

@media (prefers-reduced-motion: reduce) {
  .flipbook__book, .book-teaser__cover { transition: none; }
}

/* ---------- Firmenjubiläen ---------- */
.jb-head__title { max-width: 20ch; font-size: clamp(2.3rem, 1.6rem + 3vw, 4.25rem); }
.jb-head__claim {
  font-family: var(--font-display); font-weight: 600; color: var(--blue);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.05; margin: 0 0 1.25rem; max-width: 24ch;
}
.jb-intro { padding-top: 0; }
.prose--lead p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }

.jb-projects { background: var(--blue-pale, #EEF7FC); }
.jb-projects__list { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.jb-project { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); box-shadow: 0 .4rem 1.6rem rgb(8 35 51 / .07); }
/* Projekt mit Fotos: Text links, Galerie rechts (ab 64em) */
@media (min-width: 64em) {
  .jb-project:has(.jb-gallery) {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 1rem + 2.5vw, 3.5rem);
    grid-template-rows: auto 1fr; align-items: start;
  }
  .jb-project:has(.jb-gallery) .jb-project__title,
  .jb-project:has(.jb-gallery) .jb-project__text { grid-column: 1; }
  .jb-project:has(.jb-gallery) .jb-gallery { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .jb-project:nth-child(even):has(.jb-gallery) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .jb-project:nth-child(even):has(.jb-gallery) .jb-project__title,
  .jb-project:nth-child(even):has(.jb-gallery) .jb-project__text { grid-column: 2; }
  .jb-project:nth-child(even):has(.jb-gallery) .jb-gallery { grid-column: 1; }
}
.jb-gallery { margin: 1.75rem 0 0; }
.jb-gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--blue-tint); }
.jb-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out), opacity .3s; }
.jb-gallery__lead img { aspect-ratio: 16 / 10; }
.jb-gallery__thumbs { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.jb-gallery__thumbs img { aspect-ratio: 3 / 2; }
.jb-gallery__thumbs:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jb-gallery a:hover img { transform: scale(1.03); }
.jb-gallery a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.jb-gallery__credit { font-size: var(--fs-small); color: var(--ink-60); margin-top: .6rem; }
@media (max-width: 29.99em) { .jb-gallery__thumbs, .jb-gallery__thumbs:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .jb-gallery img { transition: none; } .jb-gallery a:hover img { transform: none; } }

/* Vergrößerte Ansicht (Firmenjubiläen) */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(3.5rem, 2rem + 4vw, 5rem) clamp(1rem, .5rem + 4vw, 5rem) clamp(4rem, 3rem + 3vw, 5rem);
  border: 0; background: rgb(6 20 30 / .98); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(6 20 30 / .6); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: .9rem; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 12rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__caption { max-width: 60ch; text-align: center; font-size: .9375rem; line-height: 1.45; color: rgb(255 255 255 / .88); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover { background: rgb(255 255 255 / .2); }
.lightbox__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox__close { top: max(1rem, env(safe-area-inset-top, 0px)); right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (max-width: 47.99em) { .lightbox__prev, .lightbox__next { top: auto; bottom: max(1rem, env(safe-area-inset-bottom, 0px)); translate: none; } }
.lightbox__count { position: absolute; top: max(1.6rem, env(safe-area-inset-top, 0px)); left: 1.25rem; margin: 0; font-size: var(--fs-small); color: rgb(255 255 255 / .7); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next { display: none; }
.jb-project__title { display: grid; margin: 0 0 1.25rem; }
.jb-project__years {
  font-family: var(--font-display); font-weight: 600; color: var(--blue);
  font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: .85; letter-spacing: -.02em;
}
.jb-project__org { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin-top: .35rem; }
.jb-project__claim { font-weight: 400; font-size: 1.125rem; line-height: 1.35; color: var(--ink-80); margin-top: .35rem; }
.jb-project__text p { margin: 0 0 1rem; }
.jb-project__text p:last-child { margin-bottom: 0; }

.jb-statement { padding-block: clamp(4rem, 3rem + 5vw, 8rem); text-align: center; }
.jb-statement__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 4vw, 5rem);
  line-height: 1; letter-spacing: -.015em; max-width: 18ch; margin: 0 auto 1.75rem;
}
.jb-statement__text { font-weight: 300; font-size: var(--fs-lead); line-height: 1.5; max-width: 52ch; margin: 0 auto; }

.jb-services__intro { font-weight: 600; margin: 2rem 0 0; }
.jb-services__list { display: grid; gap: 0 clamp(2rem, 1rem + 3vw, 4rem); margin-top: 1rem; }
@media (min-width: 48em) { .jb-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jb-service { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-content: start; column-gap: .75rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.jb-service__num { grid-row: span 2; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--blue); }
.jb-service__label { font-size: 1.125rem; font-weight: 600; margin: 0 0 .35rem; line-height: 1.3; }
.jb-service p { margin: 0; }
.jb-closing { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
