@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ink: #0a1628;
  --ink-2: #16243b;
  --ink-soft: #2a3a56;
  --accent: #1f6feb;
  --accent-dark: #0e5bd0;
  --accent-soft: #e8f0fe;
  --paper: #f4f6fa;
  --paper-elevated: #fafbfd;
  --paper-deep: #e7ecf4;
  --line: #d8dfea;
  --line-soft: #e5eaf2;
  --muted: #5b6478;
  --muted-light: #8a93a6;
  --white: #fff;
  /* aus der Startseite uebernommen, fuer Mobilmenue und Anfrage-Tool */
  --paper-2: #e7ecf4;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --radius-xl: 32px;
  --shadow-ink: 0 24px 60px -20px rgb(10 22 40 / 0.4);
  --font-display: "Manrope", "Helvetica Neue", Helvetica, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Helvetica, sans-serif;
  --font-accent: "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 32px;
  --shadow-soft: 0 18px 55px -28px rgb(10 22 40 / 0.28), 0 4px 18px rgb(10 22 40 / 0.06);
  --shadow-deep: 0 42px 100px -45px rgb(10 22 40 / 0.48), 0 12px 38px rgb(10 22 40 / 0.1);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --page-pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --section-space: clamp(104px, 10vw, 152px);
  --layout-gap: clamp(18px, 2vw, 24px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --z-progress: 60;
  --z-nav: 50;
  --z-menu: 40;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 83% 7%, rgb(31 111 235 / 0.1), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.hero-collage picture,
.site-fallback picture,
.craft-gallery picture {
  display: block;
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-progress) + 1);
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-progress);
  height: 3px;
  background: var(--accent);
  transform: scaleX(0.001);
  transform-origin: left center;
}

@supports (animation-timeline: scroll()) {
  .page-progress {
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes page-progress {
    to { transform: scaleX(1); }
  }
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  padding: 18px var(--gutter) 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(100%, 1080px);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 12px 8px 22px;
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: 999px;
  background: rgb(250 251 253 / 0.86);
  box-shadow: 0 18px 42px -24px rgb(10 22 40 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: grid;
  width: 54px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.brand img,
.footer-brand img {
  width: 52px;
  height: auto;
}
.phone-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.nav-links a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.is-current {
  color: var(--accent-dark);
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.001);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}
.nav-links a {
  position: relative;
  min-width: 44px;
  padding: 16px 0;
  color: var(--ink-soft);
  text-align: center;
  transition: color 180ms var(--ease-out);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0 28px;
  font-size: 14px;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button-compact {
  min-height: 46px;
  padding-inline: 20px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 22px -12px rgb(10 22 40 / 0.65);
}

.button-blue {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 30px -16px rgb(31 111 235 / 0.8);
}

.button-light {
  background: var(--paper-elevated);
  color: var(--ink);
  box-shadow: 0 16px 42px -24px rgb(0 0 0 / 0.48);
}

@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 118px var(--gutter) 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(4rem, 6.2vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 em,
.closing h2 em {
  display: inline-block;
  padding-bottom: 0.08em;
  color: var(--accent);
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-intro {
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  border-bottom: 1px solid var(--muted-light);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.text-link span {
  transition: transform 220ms var(--ease-out);
}

.hero-collage {
  position: relative;
  min-height: 650px;
  isolation: isolate;
  perspective: 1400px;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 4% 0 7% 9%;
  z-index: -1;
  border-radius: 48% 52% 44% 56%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  filter: blur(46px);
  transform: rotate(-8deg);
}

.hero-collage figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow-deep);
}

.hero-collage figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-main {
  position: absolute;
  inset: 6% 6% 13% 8%;
  z-index: 1;
  border-radius: var(--radius-large);
  transform: rotate(-2.4deg);
  animation: collage-main-enter 1s 120ms var(--ease-out) both;
}

.collage-side {
  position: absolute;
  top: 20%;
  right: -3%;
  z-index: 2;
  width: 33%;
  height: 63%;
  border: 7px solid var(--paper-elevated);
  border-radius: var(--radius-medium);
  transform: rotate(4.6deg);
  animation: collage-side-enter 1s 260ms var(--ease-out) both;
}

.collage-side img {
  object-position: 62% center;
}

.collage-mark {
  position: absolute;
  top: 1.5%;
  left: 0;
  z-index: 3;
  display: grid;
  width: 144px;
  height: 86px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.82);
  border-radius: var(--radius-small);
  background: rgb(250 251 253 / 0.9);
  box-shadow: var(--shadow-soft), inset 0 1px 0 var(--white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: rotate(-6deg);
  animation: collage-mark-enter 700ms 520ms var(--ease-out) both;
}

.collage-mark img {
  width: 108px;
  height: auto;
}

.collage-caption {
  position: absolute;
  right: 5%;
  bottom: 1%;
  z-index: 3;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.collage-caption span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

@keyframes collage-main-enter {
  from { opacity: 0; transform: translateY(38px) rotate(-5deg); }
  to { opacity: 1; transform: translateY(0) rotate(-2.4deg); }
}

@keyframes collage-side-enter {
  from { opacity: 0; transform: translate3d(46px, 24px, 0) rotate(8deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(4.6deg); }
}

@keyframes collage-mark-enter {
  from { opacity: 0; transform: translateY(-20px) rotate(-10deg) scale(0.94); }
  to { opacity: 1; transform: translateY(0) rotate(-6deg) scale(1); }
}

.logo-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  margin: 0 auto;
  padding: 40px var(--gutter) 64px;
  border-top: 1px solid var(--line);
}

.logo-band > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
}

.client-logos img {
  width: auto;
  max-width: 148px;
  height: 50px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.client-logos .client-logo-budden {
  height: 42px;
}

.featured-case {
  position: relative;
  min-height: 280dvh;
  background:
    radial-gradient(circle at 78% 22%, rgb(31 111 235 / 0.15), transparent 30rem),
    var(--ink);
  color: var(--paper);
  view-timeline-name: --featured-case;
  view-timeline-axis: block;
}

.case-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(620px, 1.25fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 76px var(--gutter) 56px;
}

.case-copy {
  position: relative;
  z-index: 2;
}

.case-brandline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.case-brandline img {
  width: 126px;
  height: 58px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--white);
  object-fit: contain;
}

.case-brandline span {
  color: #b8c1d0;
  font-family: var(--font-mono);
  font-size: 11px;
}

.case-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.case-copy > p {
  max-width: 48ch;
  margin: 24px 0 0;
  color: #c4ccd8;
  font-size: 1rem;
  line-height: 1.7;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 36px 0 34px;
}

.case-facts div {
  padding: 16px 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.case-facts dt {
  color: #8e9aab;
  font-size: 11px;
}

.case-facts dd {
  margin: 3px 0 0;
  color: var(--paper-elevated);
  font-size: 14px;
  font-weight: 500;
}

.case-copy .button-dark {
  border-color: rgb(255 255 255 / 0.22);
  background: transparent;
  box-shadow: none;
}

.case-copy .button-dark span {
  margin-left: 10px;
}

.live-browser {
  --stage-scale: 0.55;
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-large);
  background: #f6f6f4;
  box-shadow: 0 56px 120px -54px rgb(0 0 0 / 0.78), inset 0 1px 0 rgb(255 255 255 / 0.42);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}

.browser-bar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 92px 1fr 80px;
  align-items: center;
  height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid #dfe2e7;
  background: rgb(252 252 252 / 0.96);
  color: #6c7280;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d2d6dd;
}

.browser-dots span:nth-child(1) { background: #ec6a5e; }
.browser-dots span:nth-child(2) { background: #f4bd4f; }
.browser-dots span:nth-child(3) { background: #61c454; }

.browser-address {
  overflow: hidden;
  padding: 9px 14px;
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-live {
  justify-self: end;
  color: #5b626f;
  font-family: var(--font-mono);
  font-size: 10px;
}

.browser-viewport {
  position: relative;
  height: min(67vh, 670px);
  min-height: 520px;
  overflow: hidden;
  background: #f4f3f0;
}

.site-scale {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 1440px;
  height: 2600px;
  transform: scale(var(--stage-scale));
  transform-origin: top left;
}

.site-track,
.site-track iframe {
  width: 1440px;
  height: 2600px;
}

.site-track iframe {
  display: block;
  border: 0;
  background: #f4f3f0;
  pointer-events: none;
}

.site-fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #121416;
  color: var(--white);
  transition: opacity 220ms var(--ease-out), visibility 220ms var(--ease-out);
}

.site-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(10 10 12 / 0.7), rgb(10 10 12 / 0.18));
}

.site-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-fallback span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  font-size: 12px;
}

.live-browser.is-loaded .site-fallback {
  visibility: hidden;
  opacity: 0;
}

.browser-note {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(10 22 40 / 0.86);
  color: #e7ecf4;
  font-family: var(--font-mono);
  font-size: 9px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.18);
}

@supports (animation-timeline: view()) {
  .site-track {
    animation: site-tour linear both;
    animation-timeline: --featured-case;
    animation-range: entry 20% exit 70%;
  }

  .live-browser {
    animation: browser-perspective linear both;
    animation-timeline: --featured-case;
    animation-range: entry 18% exit 74%;
  }

  @keyframes site-tour {
    0%, 12% { transform: translateY(0); }
    88%, 100% { transform: translateY(-1320px); }
  }

  @keyframes browser-perspective {
    0% { transform: perspective(1400px) rotateY(-4deg) rotateX(1.2deg) scale(0.96); }
    34%, 70% { transform: perspective(1400px) rotateY(0deg) rotateX(0deg) scale(1); }
    100% { transform: perspective(1400px) rotateY(3deg) rotateX(-0.5deg) scale(0.97); }
  }
}

.craft-section {
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(110px, 14vw, 190px) var(--gutter);
}

.craft-copy {
  max-width: 800px;
}

.craft-copy h2,
.archive h2 {
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.craft-copy > p {
  max-width: 56ch;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.craft-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  grid-template-rows: auto auto;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(58px, 8vw, 104px);
}

.craft-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.craft-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-wide {
  min-height: 620px;
  grid-row: 1 / span 2;
}

.craft-tall {
  min-height: 440px;
}

.craft-gallery blockquote {
  display: flex;
  min-height: 230px;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-medium);
  background: var(--accent);
  color: var(--white);
  flex-direction: column;
  justify-content: space-between;
}

.craft-gallery blockquote p {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.craft-gallery blockquote footer {
  color: rgb(255 255 255 / 0.78);
  font-size: 12px;
}

.reveal-media {
  opacity: 0.86;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal-media.in-view,
.hero .reveal-media {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal: children cascade in when the container enters the viewport */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

[data-reveal-stagger].in-view > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].in-view > *:nth-child(1) { transition-delay: 40ms; }
[data-reveal-stagger].in-view > *:nth-child(2) { transition-delay: 95ms; }
[data-reveal-stagger].in-view > *:nth-child(3) { transition-delay: 150ms; }
[data-reveal-stagger].in-view > *:nth-child(4) { transition-delay: 205ms; }
[data-reveal-stagger].in-view > *:nth-child(5) { transition-delay: 260ms; }

.archive {
  padding: clamp(100px, 13vw, 180px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: var(--paper-elevated);
}

.archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 56px;
  width: min(100%, var(--container));
  margin: 0 auto clamp(56px, 8vw, 96px);
}

.archive-heading > p {
  max-width: 48ch;
  margin: 0 0 5px;
  color: var(--ink-soft);
}

.project-index {
  width: min(100%, var(--container));
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(150px, 0.7fr) minmax(190px, 0.85fr) minmax(230px, 1.2fr);
  align-items: center;
  gap: 24px;
  min-height: 116px;
  padding: 22px 0 22px 114px;
  border-bottom: 1px solid var(--line);
}

.project-row h3,
.project-row p,
.project-row span {
  margin: 0;
}

.project-row h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.project-row p {
  color: var(--ink-soft);
  font-size: 13px;
}

.project-row > span {
  max-width: 36ch;
  color: var(--muted);
  font-size: 13px;
}

.project-logo {
  position: absolute;
  top: 50%;
  left: 4px;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px -20px rgb(10 22 40 / 0.32);
  transform: translateY(-50%);
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-logo-wide {
  padding: 16px 10px;
}

.archive-note {
  max-width: 64ch;
  margin: 46px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.archive-note strong {
  color: var(--ink);
}

.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.6fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
  padding: clamp(76px, 8vw, 118px) var(--page-pad) clamp(70px, 7vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% -6%, rgb(31 111 235 / 0.24), transparent 42rem),
    var(--ink);
  color: var(--white);
}

.closing-eyebrow {
  margin: 0 0 24px;
  color: #8db9ff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing h2 {
  margin: 0;
  font-size: clamp(3.5rem, 7.5vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.closing h2 em {
  color: #6ea8ff;
  font-family: var(--font-accent);
  font-weight: 400;
}

.closing-team {
  display: grid;
  gap: 12px;
  margin-top: clamp(12px, 2.4vw, 32px);
}

.founder-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgb(10 22 40 / 0.06);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px -32px rgb(0 0 0 / 0.55);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.founder-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.founder-info strong {
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.founder-role {
  color: #5b6478;
  font-size: 12.5px;
}

.founder-mail {
  overflow-wrap: anywhere;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
}

.founder-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding: 15px 15px 15px 24px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.founder-more i {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  font-style: normal;
  place-items: center;
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.reveal-closing .closing-eyebrow,
.reveal-closing .closing-lead h2,
.reveal-closing .closing-team {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    filter 760ms var(--ease-out);
}

.reveal-closing .closing-lead h2 {
  filter: blur(8px);
}

.reveal-closing.in-view .closing-eyebrow,
.reveal-closing.in-view .closing-lead h2,
.reveal-closing.in-view .closing-team {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-closing.in-view .closing-eyebrow { transition-delay: 40ms; }
.reveal-closing.in-view .closing-lead h2 { transition-delay: 120ms; }
.reveal-closing.in-view .closing-team { transition-delay: 250ms; }

.site-footer {
  padding: clamp(46px, 4.5vw, 66px) var(--page-pad) 34px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--paper-elevated);
  flex: 0 0 auto;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.footer-brand img {
  width: 34px;
  height: auto;
}

.footer-claim {
  color: #9aa6b8;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px);
  padding: 0 0 clamp(38px, 4.5vw, 56px);
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
}

.footer-grid h5 {
  margin: 0 0 3px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  color: #9fabbd;
  font-size: 14px;
  line-height: 1.4;
}

.footer-grid a {
  transition: color 180ms var(--ease-out);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 26px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: #8f9aab;
  font-size: 12px;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px 26px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #b8c3d4;
  transition: color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: translateY(-1px);
    opacity: 0.78;
  }

  .client-ribbon-logos li:hover img {
    filter: grayscale(0);
    opacity: 1;
  }

  .filter-chip:not(.is-active):hover {
    background: rgb(255 255 255 / 0.06);
    color: var(--white);
  }

  .hero-project-tabs button:not([aria-selected="true"]):hover {
    color: var(--ink-soft);
  }

  .inquiry-steps > li:not(.inquiry-availability):hover .inquiry-step-index {
    transform: translateX(2px);
  }
  .nav-links a:hover,
  .phone-link:hover,
  .footer-grid a:hover,
  .footer-legal-links a:hover {
    color: var(--accent);
  }

  .footer-grid a:hover,
  .footer-legal-links a:hover {
    color: var(--accent);
  }

  .footer-brand:hover {
    transform: translateY(-1px);
    opacity: 0.85;
  }

  .founder-card:hover {
    border-color: rgb(10 22 40 / 0.12);
    box-shadow: 0 30px 58px -30px rgb(0 0 0 / 0.62);
    transform: translateY(-2px);
  }

  .founder-more:hover {
    border-color: rgb(255 255 255 / 0.32);
    background: rgb(255 255 255 / 0.06);
  }

  .founder-more:hover i {
    transform: translateX(3px);
    background: rgb(255 255 255 / 0.18);
  }
  .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .button-dark:hover {
    background: var(--accent);
    transform: translateY(-2px);
  }

  .button-blue:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
  }

  .button-light:hover {
    background: var(--white);
    transform: translateY(-2px);
  }

  .case-copy .button-dark:hover {
    border-color: var(--accent);
  }

  .text-link:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
  }

  .text-link:hover span {
    transform: translateY(3px);
  }

  .client-logos img:hover {
    opacity: 1;
    transform: translateY(-3px);
  }

  .project-row:hover .project-logo {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    transform: translateY(-54%) rotate(-2deg);
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 20px;
    padding-inline: 18px;
  }

  .phone-link {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    gap: 34px;
  }

  .hero-collage {
    min-height: 570px;
  }

  .case-sticky {
    grid-template-columns: minmax(270px, 0.7fr) minmax(540px, 1.3fr);
    gap: 38px;
  }

  .live-browser {
    --stage-scale: 0.47;
  }

  .project-row {
    grid-template-columns: minmax(190px, 1fr) minmax(125px, 0.65fr) minmax(170px, 0.8fr) minmax(200px, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header {
    padding-top: 12px;
  }
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell {
    min-height: 60px;
    padding: 6px 8px 6px 18px;
  }

  .brand {
    margin-right: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-collage {
    min-height: min(650px, 78vw);
  }

  .collage-side {
    right: 1%;
  }

  .logo-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .client-logos {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .client-logos img {
    width: auto;
    max-width: 120px;
    height: 40px;
  }

  .featured-case {
    min-height: auto;
  }

  .case-sticky {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .case-copy h2 {
    max-width: 15ch;
  }

  .live-browser {
    --stage-scale: 0.48;
    margin-top: 26px;
    transform: none;
  }

  .browser-viewport {
    height: 610px;
    min-height: 0;
  }

  .site-track {
    animation: none;
  }

  .featured-case.tour-active .site-track {
    animation: mobile-site-tour 9s 300ms var(--ease-in-out) 1 both;
  }

  @keyframes mobile-site-tour {
    0%, 12% { transform: translateY(0); }
    88%, 100% { transform: translateY(-760px); }
  }

  .craft-gallery {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  }

  .craft-wide {
    min-height: 520px;
  }

  .archive-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .project-row {
    grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.65fr) minmax(180px, 0.85fr);
    padding-left: 102px;
  }

  .project-row > span {
    display: none;
  }

  .closing {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --radius-large: 24px;
  }

  .hero {
    gap: 38px;
  }

  h1 {
    font-size: clamp(3rem, 13.8vw, 4.8rem);
  }

  .hero-intro {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-collage {
    min-height: 520px;
  }

  .collage-main {
    inset: 8% 3% 20% 3%;
  }

  .collage-side {
    top: 34%;
    right: -1%;
    width: 38%;
    height: 54%;
  }

  .collage-mark {
    top: 1%;
    left: 0;
    width: 122px;
    height: 76px;
  }

  .collage-caption {
    right: auto;
    bottom: 3%;
    left: 4%;
  }

  .logo-band {
    padding-top: 32px;
    padding-bottom: 52px;
  }

  .client-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .client-logos img,
  .client-logos .client-logo-budden {
    justify-self: start;
    max-width: 118px;
    height: 38px;
  }

  .case-sticky {
    padding-top: 92px;
    padding-bottom: 88px;
  }

  .case-brandline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
  }

  .case-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .case-copy .button {
    width: 100%;
  }

  .live-browser {
    --stage-scale: 0.275;
    width: 100%;
  }

  .browser-bar {
    grid-template-columns: 62px 1fr 42px;
    height: 48px;
    padding-inline: 11px;
  }

  .browser-dots {
    gap: 5px;
  }

  .browser-dots span {
    width: 7px;
    height: 7px;
  }

  .browser-address {
    padding: 7px 9px;
    font-size: 8px;
  }

  .browser-live {
    font-size: 8px;
  }

  .browser-viewport {
    height: 500px;
  }

  .site-track {
    animation-name: mobile-site-tour-small;
  }

  @keyframes mobile-site-tour-small {
    0%, 12% { transform: translateY(0); }
    88%, 100% { transform: translateY(-1030px); }
  }

  .browser-note {
    right: 10px;
    bottom: 10px;
  }

  .craft-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .craft-copy h2,
  .archive h2 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .craft-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 54px;
  }

  .craft-wide {
    min-height: 370px;
    grid-row: auto;
  }

  .craft-tall {
    min-height: 470px;
  }

  .craft-gallery blockquote {
    min-height: 260px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 150px;
    padding: 28px 0 28px 96px;
  }

  .project-row h3 {
    font-size: 1.45rem;
  }

  .project-row > p:last-of-type {
    color: var(--muted);
  }

  .project-logo {
    width: 72px;
    height: 72px;
  }

  .archive-note {
    margin-top: 34px;
  }

  .closing {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .closing h2 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .closing-action .button {
    width: 100%;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  /* Antippbare Hoehe fuer die Footer-Links */
  .footer-grid a {
    padding-block: 7px;
  }

  .footer-legal-links a,
  .case-link,
  .card-text-link {
    display: inline-block;
    padding-block: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-collage {
    min-height: 460px;
  }

  .live-browser {
    --stage-scale: 0.235;
  }

  .browser-viewport {
    height: 440px;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-facts div:nth-child(2),
  .case-facts div:nth-child(4) {
    border-top-color: transparent;
    padding-top: 0;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-shell,
  .collage-mark {
    background: var(--paper-elevated);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }

  .page-progress,
  .site-track,
  .live-browser,
  .collage-main,
  .collage-side,
  .collage-mark,
  .reveal-media {
    animation: none !important;
    transform: none !important;
  }

  .reveal-media {
    opacity: 1;
    filter: none;
  }

  [data-reveal-stagger] > *,
  .reveal-closing .closing-eyebrow,
  .reveal-closing .closing-lead h2,
  .reveal-closing .closing-team {
    opacity: 1;
    transform: none;
    filter: none;
    transition-delay: 0ms;
  }

  .hero-project-viewport {
    transform: none !important;
  }
}

/* Multi-reference portfolio */

.portfolio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.84fr) minmax(520px, 1.12fr);
  align-items: start;
  align-content: center;
  gap: clamp(60px, 6.5vw, 104px);
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(116px, 13vh, 150px) var(--gutter) clamp(56px, 8vh, 84px);
}

.portfolio-hero-copy {
  margin-left: clamp(-14px, -0.9vw, -6px);
}

.portfolio-hero-stage {
  margin-top: clamp(52px, 6vw, 88px);
}

.portfolio-hero::before {
  display: none;
}

.portfolio-hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker-row {
  display: flex;
  max-width: 640px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-kicker-row .eyebrow {
  margin: 0;
}

.hero-kicker-row > span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-hero-copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 580;
  letter-spacing: -0.062em;
  line-height: 0.9;
}

.portfolio-hero-copy h1 > span {
  display: block;
}

.portfolio-hero-copy h1 > span:first-child {
  white-space: nowrap;
}

.portfolio-hero-copy h1 em,
.library-heading h2 em,
.principles-heading h2 em {
  color: var(--accent);
  font-family: var(--font-accent);
  font-weight: 400;
}

.portfolio-hero-copy > p:not(.eyebrow):not(.hero-services) {
  max-width: 51ch;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.07rem);
  line-height: 1.68;
}

.portfolio-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.hero-text-link {
  display: inline-flex;
  padding: 7px 0;
  border-bottom: 1px solid var(--ink);
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.hero-text-link span {
  color: var(--accent-dark);
  font-size: 16px;
}

.hero-services {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-hero-stage {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 17px;
  isolation: isolate;
  perspective: 2400px;
}

.hero-stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-project-viewport {
  position: relative;
  aspect-ratio: 32 / 21;
  overflow: hidden;
  border-radius: 20px;
  background: #0c1725;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.05),
    0 8px 20px -12px rgb(8 18 33 / 0.5),
    0 60px 120px -48px rgb(8 18 33 / 0.68),
    0 30px 64px -42px rgb(31 111 235 / 0.2);
  touch-action: pan-y;
  transform: translateY(-10px);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 460ms var(--ease-out), box-shadow 460ms var(--ease-out);
}

.portfolio-hero-stage[data-tilting] .hero-project-viewport {
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.07),
    0 10px 24px -12px rgb(8 18 33 / 0.55),
    0 78px 140px -50px rgb(8 18 33 / 0.74),
    0 36px 76px -44px rgb(31 111 235 / 0.26);
}

.hero-project-slides,
.hero-project-slide,
.hero-project-media,
.hero-project-media img {
  width: 100%;
  height: 100%;
}

.hero-project-slides {
  position: relative;
}

.hero-project-slide {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  grid-template-rows: minmax(0, 6fr) minmax(0, 1fr);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 600ms var(--ease-in-out),
    transform 600ms var(--ease-in-out);
}

.hero-project-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.hero-project-slide::after {
  position: absolute;
  inset: 42% 0 14.2857%;
  z-index: 1;
  background: linear-gradient(to top, rgb(5 13 25 / 0.92), transparent);
  content: "";
  pointer-events: none;
}

.hero-project-media {
  display: block;
  min-height: 0;
  grid-row: 1;
}

.hero-project-media img {
  object-fit: contain;
  object-position: center top;
}

.hero-project-caption {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: 10px 28px;
  background: #071323;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  grid-row: 2;
  color: var(--white);
}

.hero-project-caption > div {
  display: grid;
  gap: 2px;
}

.hero-project-caption > div > span {
  color: rgb(255 255 255 / 0.65);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-project-caption h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero-project-cta {
  display: inline-flex;
  padding: 0 0 5px;
  border-bottom: 1px solid rgb(255 255 255 / 0.54);
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.hero-project-cta span {
  color: #8db9ff;
  font-size: 14px;
}

.hero-project-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.hero-project-tabs {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-project-tabs button {
  position: relative;
  min-width: 0;
  padding: 14px 6px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  font: 500 8px/1.2 var(--font-mono);
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms var(--ease-out);
}

.hero-project-tabs button::after {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
}

.hero-project-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.portfolio-hero-stage.is-playing .hero-project-tabs button[aria-selected="true"]::after {
  animation: hero-project-progress 3.8s linear forwards;
}

.portfolio-hero-stage.is-paused .hero-project-tabs button[aria-selected="true"]::after {
  animation-play-state: paused;
}

.hero-project-arrows {
  display: flex;
  gap: 7px;
}

.hero-project-arrows button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}

.hero-project-arrows button:active {
  transform: scale(0.92);
}

@keyframes hero-project-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#projekte,
#projekt-budden,
#projekt-eta,
#projekt-waffenhelden,
#projekt-strom,
#projektanfrage {
  scroll-margin-top: 108px;
}

.client-ribbon {
  width: min(100%, calc(var(--container) + 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(66px, 7vw, 104px) var(--gutter) clamp(50px, 6vw, 76px);
  text-align: center;
}

.client-ribbon-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  margin: 0 0 clamp(30px, 3.6vw, 46px);
}

.client-ribbon-label span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.client-ribbon-label::before,
.client-ribbon-label::after {
  width: clamp(26px, 6vw, 70px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  content: "";
}

.client-ribbon-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-ribbon-logos li {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px clamp(18px, 3vw, 46px);
}

.client-ribbon-logos li + li {
  border-left: 1px solid var(--line-soft);
}

.client-ribbon-logos img {
  width: auto;
  /* 84% statt 100%: es bleibt immer Luft bis zum Trennstrich der Nachbarzelle. */
  max-width: 84%;
  height: 34px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.48;
  transition: filter 280ms var(--ease-out), opacity 280ms var(--ease-out);
}

.client-ribbon-logos .client-ribbon-budden {
  height: 42px;
}

.client-ribbon-logos .client-ribbon-waffen {
  /* Das breiteste Logo im Band - hier zaehlt die Breite, nicht die Hoehe. */
  max-width: min(158px, 84%);
  height: 32px;
}

.client-ribbon-logos .client-ribbon-santalucia {
  height: 46px;
}

.client-ribbon-logos .client-ribbon-ria {
  /* Quadratisches Logo, deshalb hoeher als die liegenden Wortmarken. Freigestellt
     sind sowohl der blasse Eigenhintergrund als auch die weissen Logoteile - dort
     scheint der Seitenhintergrund durch statt eines weissen Flecks. */
  max-width: 84%;
  height: 50px;
  opacity: 0.72;
}

.client-ribbon-note {
  margin: clamp(28px, 3.2vw, 40px) 0 0;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-library {
  padding: var(--section-space) var(--page-pad);
  background:
    radial-gradient(circle at 87% 6%, rgb(31 111 235 / 0.19), transparent 34rem),
    var(--ink);
  color: var(--white);
}

.library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(40px, 6vw, 84px);
}

.library-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.library-heading > p {
  position: relative;
  max-width: 44ch;
  margin: 0 0 6px;
  padding-left: clamp(20px, 1.8vw, 28px);
  border-left: 2px solid var(--accent);
  color: #b8c3d4;
  font-size: clamp(1rem, 1.05vw, 1.09rem);
  line-height: 1.74;
}

.library-heading > p::first-line {
  color: #eaf0f9;
}

.project-library .eyebrow {
  color: #76a9f8;
}

.filter-bar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: inline-flex;
  gap: 4px;
  margin: clamp(48px, 6vw, 74px) 0 clamp(30px, 3.4vw, 44px);
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  background: rgb(13 27 47 / 0.72);
  box-shadow:
    0 24px 60px -34px rgb(0 0 0 / 0.82),
    inset 0 1px 0 rgb(255 255 255 / 0.07);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.filter-chip {
  display: inline-flex;
  min-height: 46px;
  padding: 0 clamp(15px, 1.5vw, 22px);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #aeb9ca;
  cursor: pointer;
  align-items: center;
  gap: 9px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    color 240ms var(--ease-out),
    background-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.filter-chip:active {
  transform: scale(0.96);
}

.filter-chip .filter-count {
  color: #6f7d92;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  transition: color 240ms var(--ease-out);
}

.filter-chip.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgb(0 0 0 / 0.6);
}

.filter-chip.is-active .filter-count {
  color: var(--accent-dark);
}

.reference-list {
  display: grid;
  gap: var(--layout-gap);
}

.reference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--layout-gap);
}

.reference-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.reference-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.reference-card[hidden] {
  display: none;
}

.reference-card-feature {
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(520px, 1.12fr);
  min-height: 680px;
  background: var(--paper-elevated);
  color: var(--ink);
  view-timeline-name: --featured-card;
  view-timeline-axis: block;
}

.feature-copy {
  display: flex;
  min-width: 0;
  padding: clamp(36px, 4vw, 52px);
  flex-direction: column;
  align-items: flex-start;
}

.card-overline {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  width: 100%;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-overline > span:first-child {
  color: var(--accent-dark);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #36b979;
  box-shadow: 0 0 0 4px rgb(54 185 121 / 0.13);
  content: "";
}

.feature-logo {
  width: 138px;
  height: 62px;
  margin-top: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  object-fit: contain;
}

.feature-copy h3 {
  /* Gleiche Groesse wie .card-body h3, damit alle Projekt-Ueberschriften
     auf einer Ebene liegen. */
  max-width: 20ch;
  margin: 26px 0 0;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.feature-copy > p {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.case-link span {
  color: var(--accent-dark);
  font-size: 17px;
}

/* iOS rendert U+2197/U+2198 als farbige Emoji-Kacheln. Die Diagonalen werden
   deshalb aus dem emoji-freien U+2192 gedreht. */
.arrow-ne,
.arrow-se {
  display: inline-block;
  line-height: 1;
  transform: rotate(-45deg);
}

.arrow-se {
  transform: rotate(45deg);
}

.portfolio-browser {
  --stage-scale: 0.44;
  align-self: stretch;
  margin: 24px;
  border-color: #d8dde6;
  border-radius: 22px;
  box-shadow: 0 32px 72px -38px rgb(10 22 40 / 0.46);
  transform: none;
}

.portfolio-browser .browser-viewport {
  height: calc(100% - 58px);
  min-height: 0;
}

.portfolio-browser .browser-note {
  right: 14px;
  bottom: 14px;
}

@supports (animation-timeline: view()) {
  .portfolio-browser .site-track {
    animation: multi-site-tour linear both;
    animation-timeline: --featured-card;
    animation-range: entry 15% exit 85%;
  }

  .portfolio-browser {
    animation: none;
  }

  @keyframes multi-site-tour {
    0%, 16% { transform: translateY(0); }
    84%, 100% { transform: translateY(-620px); }
  }
}

.reference-card-standard {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  min-height: 520px;
  background: var(--paper-elevated);
  color: var(--ink);
}

.reference-card-wide {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  min-height: 520px;
  background: var(--paper-elevated);
  color: var(--ink);
}

.card-visual {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
}

.reference-card-wide .card-visual {
  height: 100%;
  min-height: 520px;
}

.card-number {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
}

.visual-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  min-width: 0;
  padding: clamp(34px, 4vw, 52px);
  border-top: 0;
  border-left: 1px solid var(--line-soft);
  flex-direction: column;
  justify-content: flex-start;
}

.reference-card-wide .card-body {
  padding: clamp(34px, 4vw, 52px);
  border-top: 0;
  border-left: 1px solid var(--line-soft);
}

.card-body p {
  margin: 0;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 9px 0 0;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.project-copy-main > span {
  display: block;
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-scope {
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
}

.project-scope > span {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-scope ul {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  column-gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.project-scope li {
  display: flex;
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.project-scope li::before {
  width: 5px;
  height: 5px;
  margin: 5px 9px 0 1px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  flex: 0 0 auto;
}

.card-text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.card-text-link > span {
  color: var(--accent-dark);
  font-size: 15px;
}

.project-inquiry {
  position: relative;
  padding: clamp(62px, 6.5vw, 100px) var(--page-pad) clamp(56px, 6vw, 88px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% -4%, rgb(31 111 235 / 0.09), transparent 42rem),
    #eaf0f8;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.project-inquiry.in-view {
  opacity: 1;
  transform: translateY(0);
}

.inquiry-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.inquiry-cut {
  position: relative;
  display: grid;
  margin: 0 0 clamp(40px, 4.5vw, 62px);
  align-items: end;
  gap: 20px clamp(48px, 8vw, 132px);
  grid-template-columns: minmax(0, 1.28fr) minmax(290px, 0.72fr);
}

.inquiry-eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  grid-column: 1 / -1;
}

.inquiry-body {
  display: grid;
  align-items: start;
  gap: clamp(30px, 3.6vw, 58px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.inquiry-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inquiry-steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(15px, 1.5vw, 24px);
  padding: clamp(16px, 1.9vw, 24px) 2px;
  border-top: 1px solid var(--line);
}

.inquiry-steps > li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.inquiry-step-index {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.inquiry-steps h4 {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.inquiry-steps li p {
  max-width: 42ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.inquiry-steps > li.inquiry-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  padding-top: clamp(20px, 2.2vw, 28px);
}

.inquiry-availability span {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-cut h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 560;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.inquiry-cut h3 span,
.inquiry-cut h3 em {
  display: block;
}

.inquiry-cut h3 em {
  color: var(--accent);
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.inquiry-cut-copy {
  padding: 0 0 7px 24px;
  border-left: 2px solid var(--accent);
}

.inquiry-cut-copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  font-weight: 600;
}

.inquiry-cut-copy p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1.03rem);
  line-height: 1.7;
}

.booking-card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 2.1vw, 32px);
  border: 1px solid rgb(10 22 40 / 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 44px 110px -54px rgb(25 54 102 / 0.5);
  color: var(--ink);
}

.booking-card::before {
  position: absolute;
  top: -1px;
  right: clamp(32px, 3.2vw, 50px);
  left: clamp(32px, 3.2vw, 50px);
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--accent);
  content: "";
}

.booking-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-meta span:first-child {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.booking-intro {
  display: grid;
  margin-top: clamp(22px, 2.2vw, 34px);
  gap: 12px;
  grid-template-columns: 1fr;
}

.booking-intro h4 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.booking-intro p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.55;
}

.booking-personal {
  display: grid;
  margin-top: clamp(20px, 2.2vw, 30px);
  padding: 13px 18px;
  border-radius: 16px;
  background: var(--paper-deep);
  align-items: center;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.booking-avatars {
  display: flex;
  padding-left: 5px;
}

.booking-avatars img {
  width: 44px;
  height: 44px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
}

.booking-avatars img + img {
  margin-left: -12px;
}

.booking-personal > span {
  color: var(--muted);
  font-size: 15px;
}

.booking-personal > small {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-direct {
  display: grid;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-direct a {
  display: grid;
  min-width: 0;
  padding: 8px 22px 8px 0;
  gap: 5px;
}

.booking-direct a + a {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.booking-direct span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-direct strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.8vw, 1.34rem);
  line-height: 1.3;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.card-strom .card-visual {
  place-items: start;
  background: linear-gradient(125deg, #fbfdff, #dfeefe 62%, #c5e2fd);
}

.card-strom .card-visual > img {
  position: relative;
  z-index: 3;
  width: min(38%, 310px);
  margin: 52px;
}

.energy-pulse {
  position: absolute;
  top: -30%;
  right: 6%;
  width: 410px;
  height: 410px;
  border: 1px solid rgb(31 111 235 / 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgb(31 111 235 / 0.055), 0 0 0 110px rgb(31 111 235 / 0.035);
}

.tariff-card {
  position: absolute;
  right: 7%;
  bottom: 9%;
  z-index: 3;
  display: grid;
  width: 210px;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tariff-card span,
.tariff-card i {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.tariff-card strong {
  margin: 5px 0 18px;
  color: var(--accent-dark);
  font-size: 2.3rem;
  letter-spacing: -0.06em;
}

.tariff-card i {
  color: var(--ink);
  font-weight: 600;
}

.reference-card-slot .card-visual {
  place-items: unset;
}

.slot-label {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 4;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.68;
}

.slot-cobalt .card-visual {
  background:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px),
    #1f5ed8;
  background-size: 36px 36px;
  color: var(--white);
}

.slot-monogram {
  position: absolute;
  right: -8px;
  bottom: -38px;
  font-size: 13rem;
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 1;
  opacity: 0.16;
}

.slot-window {
  position: absolute;
  top: 30%;
  left: 14%;
  display: grid;
  width: 56%;
  padding: 18px;
  gap: 12px;
  border: 1px solid rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.1);
  box-shadow: 22px 24px 0 rgb(4 28 74 / 0.2);
}

.slot-window span {
  height: 6px;
  background: rgb(255 255 255 / 0.75);
}

.slot-window span:nth-child(2) { width: 72%; }
.slot-window span:nth-child(3) { width: 46%; }

.slot-coral .card-visual {
  background: #ffdfd3;
  color: #8d3027;
}

.slot-word {
  position: absolute;
  right: 8%;
  bottom: 8%;
  font-family: var(--font-accent);
  font-size: clamp(5rem, 9vw, 8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.slot-cross {
  position: absolute;
  top: 28%;
  left: 16%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ef6f61;
  box-shadow: 0 0 0 24px rgb(239 111 97 / 0.16), 0 0 0 48px rgb(239 111 97 / 0.08);
}

.slot-cross::before,
.slot-cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 6px;
  background: var(--white);
  content: "";
  transform: translate(-50%, -50%);
}

.slot-cross::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.slot-sand .card-visual {
  background: #e7dcc8;
  color: #2f2a22;
}

.slot-statement {
  position: absolute;
  top: 26%;
  left: 9%;
  z-index: 2;
  max-width: 8ch;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.slot-ruler {
  position: absolute;
  top: 0;
  right: 6%;
  bottom: 0;
  width: 22%;
  background: repeating-linear-gradient(to bottom, transparent 0 19px, rgb(47 42 34 / 0.25) 20px 21px);
  border-inline: 1px solid rgb(47 42 34 / 0.15);
}

.slot-night .card-visual {
  background: radial-gradient(circle at 50% 35%, #2e405c, #101b2c 64%);
  color: var(--white);
}

.slot-product {
  position: absolute;
  top: 22%;
  left: 22%;
  display: grid;
  width: 56%;
  height: 58%;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 120px 120px 20px 20px;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.03));
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.26);
  text-align: center;
}

.slot-product span,
.slot-product i {
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
}

.slot-product strong {
  align-self: center;
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: -0.08em;
}

.slot-product i {
  align-self: end;
  padding: 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.slot-mint .card-visual {
  background: #ccf1df;
  color: #123c31;
}

.slot-metric {
  position: absolute;
  top: 23%;
  left: 12%;
  z-index: 2;
  display: grid;
}

.slot-metric span,
.slot-metric i {
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
}

.slot-metric strong {
  margin: 8px 0 4px;
  font-size: clamp(4.8rem, 8vw, 7.5rem);
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.slot-metric i {
  opacity: 0.55;
}

.metric-bars {
  position: absolute;
  right: 10%;
  bottom: 16%;
  display: flex;
  height: 55%;
  align-items: end;
  gap: 7px;
}

.metric-bars span {
  width: 13px;
  background: #2d8b6d;
  opacity: 0.22;
}

.metric-bars span:nth-child(1) { height: 24%; }
.metric-bars span:nth-child(2) { height: 42%; }
.metric-bars span:nth-child(3) { height: 37%; }
.metric-bars span:nth-child(4) { height: 68%; }
.metric-bars span:nth-child(5) { height: 92%; opacity: 0.7; }

.content-slot-note {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  max-width: 760px;
  gap: 26px;
  margin: 40px 0 0 auto;
  color: #92a0b3;
  font-size: 12px;
  line-height: 1.65;
}

.content-slot-note span {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reference-faq {
  display: grid;
  padding: var(--section-space) var(--page-pad);
  border-top: 1px solid var(--line);
  background: var(--paper-elevated);
  gap: clamp(54px, 8vw, 108px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.22fr);
  scroll-margin-top: 100px;
}

.faq-heading {
  align-self: start;
}

.faq-heading h2 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.faq-heading > p:last-child {
  max-width: 42ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 27px 54px 27px 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent-dark);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  max-width: 68ch;
  margin: -2px 54px 27px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.portfolio-principles {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: start;
  padding: var(--section-space) var(--page-pad);
  background: var(--paper);
}

.principles-heading {
  /* Bewusst nicht klebend: sonst schiebt sich die Ueberschrift beim Scrollen
     ueber die Liste, die darunter durchlaeuft. */
  position: static;
}

.principles-heading h2 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-list article {
  position: relative;
  display: grid;
  grid-template-columns: clamp(50px, 5vw, 78px) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(18px, 2.6vw, 40px);
  padding: clamp(34px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--line);
}

.principle-list article > span {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: transform 420ms var(--ease-out);
}

.principle-text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 580;
  letter-spacing: -0.038em;
  line-height: 1.03;
}

.principle-text h3 em {
  color: var(--accent);
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.principle-text p {
  max-width: 54ch;
  margin: clamp(14px, 1.4vw, 18px) 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.66;
}

/* Interactive website snapshots */
.website-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8dde6;
  background: #eef1f4;
  box-shadow: 0 30px 70px -40px rgb(10 22 40 / 0.58);
  grid-template-rows: auto minmax(0, 1fr) auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.website-showcase:focus-visible {
  outline: 3px solid rgb(197 86 55 / 0.38);
  outline-offset: 3px;
}

.website-showcase.is-swiping {
  cursor: grabbing;
}

.website-showcase-feature {
  width: calc(100% - 48px);
  aspect-ratio: 1.36;
  align-self: center;
  min-height: 0;
  margin: 24px;
  border-radius: 22px;
}

.website-showcase-card {
  position: absolute;
  inset: 18px;
  border-radius: 17px;
}

.website-showcase-dark {
  border-color: rgb(255 255 255 / 0.12);
  background: #0c1118;
  color: #f6f7f8;
  box-shadow: 0 30px 70px -38px rgb(0 0 0 / 0.86);
}

.website-showcase .browser-bar {
  height: 54px;
  grid-template-columns: 74px 1fr 66px;
}

.snapshot-topbar {
  position: relative;
  z-index: 4;
  display: grid;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid #dfe2e7;
  background: rgb(250 251 252 / 0.97);
  color: #68707d;
  grid-template-columns: 46px minmax(0, 1fr) 50px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.03em;
}

.snapshot-topbar > span:first-child {
  width: 25px;
  height: 7px;
  margin-left: 17px;
  background:
    radial-gradient(circle at 3px 50%, #ec6a5e 0 2.8px, transparent 3.2px),
    radial-gradient(circle at 12px 50%, #f4bd4f 0 2.8px, transparent 3.2px),
    radial-gradient(circle at 21px 50%, #61c454 0 2.8px, transparent 3.2px);
}

.snapshot-topbar > span:nth-child(2) {
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid #e4e7eb;
  border-radius: 999px;
  background: #fff;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snapshot-topbar i {
  justify-self: end;
  font-style: normal;
}

.website-showcase-dark .snapshot-topbar {
  border-color: rgb(255 255 255 / 0.08);
  background: #121923;
  color: #9ba7b6;
}

.website-showcase-dark .snapshot-topbar > span:nth-child(2) {
  border-color: rgb(255 255 255 / 0.08);
  background: #0c1118;
}

.snapshot-viewport {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #e7ebee;
  touch-action: pan-y pinch-zoom;
}

.snapshot-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 680ms var(--ease-out);
  will-change: transform;
}

.snapshot-track.is-dragging {
  transition: none;
}

.snapshot-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.snapshot-slide picture {
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(7px, 1vw, 13px);
  background:
    radial-gradient(circle at 50% 0%, rgb(255 255 255 / 0.95), transparent 58%),
    linear-gradient(145deg, #dfe5eb, #eef2f5);
  place-items: center;
}

.snapshot-slide picture img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(20 35 52 / 0.08);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 42px -28px rgb(10 22 40 / 0.72);
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 900ms var(--ease-out), box-shadow 900ms var(--ease-out);
}

.website-showcase.is-autoplaying .snapshot-slide[aria-hidden="false"] picture img {
  box-shadow: 0 24px 52px -30px rgb(10 22 40 / 0.82);
  transform: translateY(-2px);
}

.snapshot-slide figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 0.26);
  border-radius: 999px;
  background: rgb(9 18 30 / 0.76);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.snapshot-controls {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 56px;
  padding: 9px 14px;
  border-top: 1px solid #dfe2e7;
  background: rgb(250 251 252 / 0.97);
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.snapshot-controls-compact {
  min-height: 44px;
  padding-block: 6px;
}

.website-showcase-dark .snapshot-controls {
  border-color: rgb(255 255 255 / 0.08);
  background: #121923;
}

.snapshot-arrow {
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d9dde3;
  border-radius: 50%;
  background: #fff;
  color: #18202a;
  place-items: center;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}

.snapshot-arrow:active {
  transform: scale(0.9);
}

.snapshot-controls-compact .snapshot-arrow {
  width: 29px;
  height: 29px;
  font-size: 12px;
}

.website-showcase-dark .snapshot-arrow {
  border-color: rgb(255 255 255 / 0.13);
  background: #0c1118;
  color: #f7f8fa;
}

.snapshot-dots {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 6px;
}

.snapshot-dots button {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.snapshot-dots button::before {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 8px;
  height: 4px;
  border-radius: 999px;
  background: #b2b8c2;
  content: "";
  transition: width 260ms ease, background 260ms ease, transform 260ms ease;
}

.snapshot-dots button[aria-current="true"]::before {
  width: 16px;
  background: var(--accent-dark);
  transform: translateX(-4px);
}

.website-showcase-dark .snapshot-dots button::before {
  background: #566171;
}

.website-showcase-dark .snapshot-dots button[aria-current="true"]::before {
  background: #e7f05c;
}

.snapshot-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  margin: 0;
  color: #68707d;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.03em;
  pointer-events: none;
  text-transform: uppercase;
}

.card-strom .card-visual,
.card-ria .card-visual,
.card-santalucia .card-visual {
  place-items: initial;
}

.card-strom .card-visual {
  background: #dfeaf7;
}

.card-santalucia .card-visual {
  background: linear-gradient(140deg, #f6efe2, #ecdfc9 58%, #e0cdb0);
}

.card-ria .card-visual {
  background: linear-gradient(140deg, #fbf4ef, #f4e6e4 58%, #ecdade);
}

/* Ria laeuft gespiegelt: Text links, Website-Buehne rechts. Die Spaltenbreiten
   werden mitgedreht, sonst bekaeme der Text die breite Bildspalte. */
.card-ria {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
}

.card-ria .card-body {
  border-right: 1px solid var(--line-soft);
  border-left: 0;
}

.card-visual .card-number {
  top: 32px;
  left: 32px;
  z-index: 7;
  color: #66707c;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-text-link:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
  }

  .hero-project-cta:hover {
    border-color: #8db9ff;
    color: #8db9ff;
  }

  .hero-project-tabs button:hover {
    color: var(--ink);
  }

  .hero-project-arrows button:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  .filter-buttons button:hover:not(.is-active) {
    background: rgb(255 255 255 / 0.08);
    color: var(--white);
  }

  .reference-card:hover {
    box-shadow: 0 38px 85px -46px rgb(0 0 0 / 0.9);
    transform: translateY(-5px);
  }

  .reference-card:hover .card-visual > img {
    transform: scale(1.045);
  }

  .card-visual > img {
    transition: transform 500ms var(--ease-out);
  }

  .case-link:hover {
    color: var(--accent-dark);
  }

  .booking-direct a:hover strong {
    color: var(--accent-dark);
  }

  .faq-list summary:hover {
    color: var(--accent-dark);
  }

  .snapshot-arrow:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
  }

  .website-showcase-dark .snapshot-arrow:hover {
    border-color: #dfe85b;
    background: #dfe85b;
    color: #10161e;
  }
}

@media (max-width: 1120px) {
  .portfolio-hero {
    grid-template-columns: minmax(385px, 1.02fr) minmax(385px, 0.98fr);
    gap: 36px;
  }

  .reference-card-feature {
    grid-template-columns: minmax(350px, 0.9fr) minmax(450px, 1.1fr);
  }

  .portfolio-browser {
    --stage-scale: 0.36;
  }
}

@media (max-width: 920px) {
  .portfolio-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 54px;
    padding-top: 132px;
    padding-bottom: 68px;
  }

  .portfolio-hero::before {
    display: none;
  }

  .portfolio-hero-copy {
    max-width: 760px;
    margin-left: 0;
  }

  .portfolio-hero-copy h1 {
    font-size: clamp(4rem, 9vw, 5.25rem);
  }

  .portfolio-hero-stage {
    width: min(100%, 720px);
    margin-top: 0;
    margin-left: auto;
  }

  .client-ribbon {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 62px 52px;
  }

  .library-heading,
  .portfolio-principles,
  .reference-faq {
    grid-template-columns: 1fr;
  }

  .library-heading {
    gap: 32px;
  }

  .library-heading > p {
    max-width: 60ch;
  }

  .filter-bar {
    align-items: center;
    border-radius: 999px;
    flex-direction: row;
    gap: 14px;
  }

  .filter-result {
    margin: 0 10px 0 0;
    white-space: nowrap;
  }

  .reference-card-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-logo {
    margin-top: 44px;
  }

  .portfolio-browser {
    --stage-scale: 0.5;
    min-height: 590px;
    margin-top: 0;
  }

  .website-showcase-feature {
    min-height: 0;
    margin-top: 0;
  }

  .reference-card-standard,
  .reference-card-wide {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .card-visual,
  .reference-card-wide .card-visual {
    height: 460px;
    min-height: 0;
  }

  .card-body,
  .reference-card-wide .card-body {
    padding: 34px;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  /* Einspaltig steht das Bild bei allen Karten oben - auch bei der gespiegelten. */
  .card-ria .card-visual {
    order: -1;
  }

  .card-ria .card-body {
    border-right: 0;
  }

  .project-inquiry {
    min-height: 0;
  }

  .booking-intro {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiry-cut {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiry-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .inquiry-cut > p {
    grid-column: 1;
  }

  .inquiry-cut h3 {
    max-width: 11ch;
  }

  .inquiry-cut-copy {
    max-width: 560px;
  }

  .booking-intro p {
    max-width: 55ch;
  }

  .booking-personal {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .booking-personal > small {
    grid-column: 2;
  }

  .portfolio-principles {
    gap: 48px;
  }

  .reference-faq {
    gap: 48px;
  }

  .closing {
    gap: 42px;
  }
}

@media (max-width: 680px) {
  .portfolio-hero {
    gap: 40px;
    padding-top: 116px;
    padding-bottom: 58px;
  }

  .hero-kicker-row {
    margin-bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .portfolio-hero-copy h1 {
    font-size: clamp(2.35rem, 12.3vw, 4rem);
    line-height: 0.95;
  }

  .portfolio-hero-copy > p:not(.eyebrow):not(.hero-services) {
    margin-top: 25px;
  }

  .portfolio-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .portfolio-hero-actions .button {
    width: 100%;
  }

  .hero-services {
    margin-top: 26px;
  }

  .portfolio-hero-stage {
    width: 100%;
    gap: 12px;
  }

  .hero-stage-meta {
    font-size: 7px;
  }

  .hero-project-viewport {
    aspect-ratio: 32 / 21;
    border-radius: 12px;
    transform: translateY(-6px);
  }

  .hero-project-caption {
    right: auto;
    bottom: auto;
    left: auto;
    padding: 9px 17px;
    gap: 12px;
  }

  .hero-project-caption h2 {
    font-size: 1.2rem;
  }

  .hero-project-cta {
    font-size: 9px;
  }

  .hero-project-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-project-tabs button {
    /* Trefferflaeche auf ~44px bringen, ohne die Optik zu aendern: die Unterkante
       waechst nach unten, die Beschriftung bleibt wo sie ist. */
    min-height: 44px;
    padding: 10px 4px 15px;
    align-content: start;
    font-size: 7px;
  }

  .hero-project-cta {
    padding: 11px 0 10px;
  }

  .hero-project-caption {
    padding-block: 4px 6px;
  }

  .hero-project-arrows {
    display: none;
  }

  .client-ribbon {
    gap: 22px;
    padding-block: 54px 44px;
  }

  .client-ribbon-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-ribbon-logos li {
    padding: 18px 14px;
  }

  .client-ribbon-logos li + li {
    border-left: 0;
  }

  .client-ribbon-logos li:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
  }

  .client-ribbon-logos li:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .client-ribbon-logos li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .project-library {
    padding-top: 88px;
    padding-bottom: 94px;
  }

  .library-heading {
    gap: 28px;
  }

  .library-heading h2 {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }

  .filter-bar {
    top: 8px;
    display: flex;
    max-width: 100%;
    margin: 42px 0 24px;
    padding: 6px;
    overflow-x: auto;
    border-radius: 999px;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 15px;
  }

  .reference-list,
  .reference-grid {
    gap: 18px;
  }

  .reference-card {
    border-radius: 22px;
  }

  .feature-copy {
    padding: 28px 22px 30px;
  }

  .card-overline {
    grid-template-columns: 26px 1fr;
  }

  .card-overline .live-dot {
    grid-column: 2;
  }

  .feature-copy > p {
    margin-top: 20px;
  }

  .project-scope {
    margin-top: 26px;
    padding-top: 0;
  }

  .project-scope ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-link {
    margin-top: 28px;
  }

  .portfolio-browser {
    --stage-scale: 0.25;
    min-height: 440px;
    margin: 0 10px 10px;
    border-radius: 16px;
  }

  .website-showcase-feature {
    width: calc(100% - 20px);
    aspect-ratio: 1.05;
    min-height: 0;
    margin: 0 10px 10px;
    border-radius: 16px;
  }

  .website-showcase .browser-bar {
    height: 48px;
    padding-inline: 10px;
    grid-template-columns: 54px 1fr 48px;
  }

  .website-showcase-card {
    inset: 10px;
  }

  .snapshot-topbar {
    grid-template-columns: 42px minmax(0, 1fr) 46px;
  }

  .snapshot-topbar > span:first-child {
    margin-left: 12px;
  }

  .card-visual .card-number {
    top: 24px;
    left: 24px;
  }

  .snapshot-controls {
    min-height: 48px;
  }

  .snapshot-controls-compact {
    min-height: 46px;
  }

  /* Trefferflaechen der Galerie-Bedienung: der sichtbare Punkt bleibt gleich gross,
     nur die antippbare Flaeche waechst. */
  .snapshot-dots button {
    width: 34px;
    height: 38px;
  }

  .snapshot-dots button::before {
    top: 17px;
    left: 13px;
  }

  .snapshot-arrow,
  .snapshot-controls-compact .snapshot-arrow {
    width: 38px;
    height: 38px;
  }

  .snapshot-hint {
    display: none;
  }

  .portfolio-browser .browser-bar {
    grid-template-columns: 54px 1fr 42px;
    height: 48px;
    padding-inline: 10px;
  }

  .portfolio-browser .browser-viewport {
    height: calc(100% - 48px);
  }

  .browser-dots {
    gap: 4px;
  }

  .browser-dots span {
    width: 7px;
    height: 7px;
  }

  .browser-address {
    padding: 7px 8px;
    font-size: 8px;
  }

  .browser-live {
    font-size: 8px;
  }

  .reference-card-standard,
  .reference-card-wide {
    grid-column: 1;
  }

  .reference-card-wide {
    display: block;
    min-height: 0;
  }

  .card-visual,
  .reference-card-wide .card-visual {
    height: 340px;
    min-height: 0;
  }

  .card-body {
    padding: 25px 24px 28px;
  }

  .reference-card-wide .card-body {
    padding: 26px 24px 30px;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .project-copy-main > span {
    font-size: 12px;
    line-height: 1.65;
  }

  .project-inquiry {
    padding: 76px var(--gutter) 64px;
  }

  .inquiry-cut {
    margin-bottom: 44px;
    gap: 22px;
  }

  .inquiry-cut h3 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: 0.89;
  }

  .inquiry-cut-copy {
    padding-left: 18px;
  }

  .booking-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .booking-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .booking-meta span:first-child {
    padding: 8px 13px;
  }

  .booking-intro {
    margin-top: 32px;
    gap: 18px;
  }

  .booking-intro h4 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .booking-intro p {
    font-size: 14px;
  }

  .booking-personal {
    margin-top: 30px;
    padding: 17px;
    border-radius: 16px;
    gap: 13px;
  }

  .booking-avatars img {
    width: 43px;
    height: 43px;
  }

  .booking-personal > span {
    font-size: 13px;
  }

  .booking-direct {
    margin-top: 28px;
    padding-top: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-direct a {
    padding: 12px 0;
  }

  .booking-direct a + a {
    padding: 18px 0 8px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .card-strom .card-visual > img {
    width: 52%;
    margin: 44px 28px;
  }

  .tariff-card {
    right: 6%;
    width: 174px;
  }

  .slot-statement {
    top: 29%;
    left: 8%;
    font-size: 3.3rem;
  }

  .content-slot-note {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .portfolio-principles,
  .reference-faq {
    gap: 36px;
    padding-block: 88px;
  }

  .principles-heading h2 {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
  }

  .faq-heading h2 {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
  }

  .faq-list summary {
    padding: 23px 48px 23px 0;
    font-size: 1rem;
  }

  .faq-list details p {
    margin-right: 0;
    font-size: 13px;
  }

  .principle-list article {
    grid-template-columns: 34px 1fr;
    gap: 12px 18px;
    padding: 26px 0;
  }

  .principle-list p {
    grid-column: 2;
  }

  .closing {
    gap: 34px;
    padding-top: 86px;
    padding-bottom: 90px;
  }

  .closing-action p {
    margin-bottom: 22px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-top {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-browser .site-track {
    animation: none !important;
  }

  .reference-card,
  .project-inquiry {
    transform: none;
    opacity: 1;
  }

  .snapshot-track,
  .snapshot-slide picture img,
  .snapshot-arrow {
    transition: none !important;
  }

  .hero-project-slide {
    transform: none;
    transition: opacity 160ms var(--ease-out);
  }

  .portfolio-hero-stage .hero-project-tabs button::after {
    animation: none !important;
  }
}

.wh-top { display: flex; align-items: center; gap: 3%; }
.wh-logo { height: 2em; width: auto; object-fit: contain; }
.wh-search {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 0.5em;
  padding: 0.5em 0.8em; border-radius: 6px;
  background: #fff; border: 1px solid rgb(15 30 54 / 0.1);
  color: #6b7180; font-size: 0.66em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wh-search i { color: #c8a96a; font-style: normal; font-size: 1.1em; }
.wh-ad {
  flex: 0 0 auto; padding: 0.55em 0.85em; border-radius: 6px;
  background: #c8a96a; color: #fff; font-size: 0.62em; font-weight: 700; white-space: nowrap;
}
.wh-crumb { flex: 1; color: #0f1e36; font-weight: 700; font-size: 0.8em; letter-spacing: -0.01em; }

.wh-cats { display: flex; gap: 0.5em; overflow: hidden; }
.wh-cats span {
  padding: 0.35em 0.75em; border-radius: 999px;
  background: #fff; border: 1px solid rgb(15 30 54 / 0.08);
  color: #0f1e36; font-size: 0.6em; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
}

.wh-hero-copy { margin-top: auto; display: grid; gap: 0.5em; }
.wh-hero-copy small,
.wh-banner small {
  color: #b08d4a; font-family: var(--font-mono); font-size: 0.55em; letter-spacing: 0.14em; text-transform: uppercase;
}
.wh-hero-copy strong {
  font-family: var(--font-display); font-size: 1.9em; font-weight: 700; letter-spacing: -0.03em; line-height: 0.98; color: #0f1e36;
}
.wh-hero-copy strong em { color: #c8a96a; font-style: normal; }
.wh-trust, .wh-trust3 { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; }
.wh-trust span, .wh-trust3 span { position: relative; padding-left: 1.2em; color: #4a5468; font-size: 0.62em; }
.wh-trust span::before, .wh-trust3 span::before { content: "✓"; position: absolute; left: 0; color: #c8a96a; font-weight: 700; }

.wh-auction-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9em;
  padding: 0.75em 0.95em; border-radius: 9px;
  background: #fff; border: 1px solid rgb(15 30 54 / 0.1);
  box-shadow: 0 14px 30px -20px rgb(15 30 54 / 0.5);
}
.wh-tag {
  justify-self: start; padding: 0.28em 0.6em; border-radius: 4px;
  background: #0f1e36; color: #c8a96a; font-size: 0.52em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.wh-auction-card b { font-size: 0.72em; font-weight: 600; letter-spacing: -0.01em; color: #0f1e36; }
.wh-bid { display: grid; justify-items: end; gap: 0.1em; }
.wh-bid small { color: #6b7180; font-size: 0.5em; text-transform: uppercase; letter-spacing: 0.05em; }
.wh-bid em { font-style: normal; font-weight: 700; font-size: 0.9em; color: #0f1e36; }

/* Snapshot: Startseite banner */
.wh-banner {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.55em;
  padding: 6%; border-radius: 10px;
  background: linear-gradient(135deg, #0f1e36, #17294a); color: #fff;
}
.wh-banner strong {
  font-family: var(--font-display); font-size: 1.55em; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.wh-banner .wh-trust3 { margin-top: 0.3em; }
.wh-banner .wh-trust3 span { color: rgb(255 255 255 / 0.82); }

/* Snapshot: Auktionen */
.wh-auctions { flex: 1; display: grid; grid-template-rows: repeat(3, 1fr); gap: 4%; }
.wh-auctions article {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.7em;
  padding: 0.6em 0.8em; border-radius: 8px; background: #fff; border: 1px solid rgb(15 30 54 / 0.08);
}
.wh-time { color: #8a8172; font-size: 0.55em; font-family: var(--font-mono); }
.wh-auctions b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.68em; font-weight: 600; color: #0f1e36; }
.wh-auctions em { font-style: normal; font-weight: 700; font-size: 0.72em; color: #0f1e36; }
.wh-auctions i { font-style: normal; padding: 0.4em 0.7em; border-radius: 5px; background: #c8a96a; color: #fff; font-size: 0.55em; font-weight: 700; white-space: nowrap; }

/* Snapshot: Kategorien */
.wh-catgrid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3.5%; }
.wh-catgrid span {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2em;
  padding: 0.7em; border-radius: 8px; background: #fff; border: 1px solid rgb(15 30 54 / 0.08);
}
.wh-catgrid b { font-size: 0.74em; font-weight: 700; color: #0f1e36; }
.wh-catgrid small { color: #b08d4a; font-size: 0.55em; font-family: var(--font-mono); letter-spacing: 0.03em; }

/* =========================================================================
   1:1 aus der VistaFront-Startseite: Hamburger, Vollbild-Mobilmenue und
   Anfrage-Tool. Nicht abwandeln - beide Seiten sollen identisch bedient werden.
   ========================================================================= */
/* ---- buttons ---- */
.vf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
  transition:
    transform .35s cubic-bezier(0.32, 0.72, 0, 1),
    background .3s cubic-bezier(0.32, 0.72, 0, 1),
    color .3s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow .35s cubic-bezier(0.32, 0.72, 0, 1),
    border-color .3s cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-body);
}

.vf-btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.vf-btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(31,111,235,.5);
}

.vf-btn--primary:active { transform: scale(0.98) translateY(0); }

.vf-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.vf-btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 8px 24px -8px rgba(10,22,40,.12);
}

.vf-btn--ghost:active { transform: scale(0.98) translateY(0); }

.vf-btn--sm { padding: 9px 15px; font-size: 13.5px; }

.vf-btn--lg { padding: 17px 26px; font-size: 17px; }

.vf-btn--block { width: 100%; justify-content: center; }

.vf-btn:disabled { opacity: .35; cursor: not-allowed; transform: none !important; }

/* Button-in-button: SVG icon gets its own nested circular shell */
.vf-btn svg, .vf-btn__icon {
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
}

.vf-btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  flex-shrink: 0;
}

.vf-btn--ghost .vf-btn__icon {
  background: var(--paper-2);
  box-shadow: none;
}

.vf-btn svg:not(.vf-btn__icon svg) {
  background: rgba(255,255,255,.13);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
  width: 12px; height: 12px;
}

.vf-btn--ghost svg:not(.vf-btn__icon svg) {
  background: var(--paper-2);
}

.vf-btn:hover svg:not(.vf-btn__icon svg),
.vf-btn:hover .vf-btn__icon {
  transform: translate(2px, -1px) scale(1.06);
}

.vf-nav__hamburger {
  display: none;
  width: 36px; height: 36px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

/* Invisible hit-area extension: 36px visual circle, 48px touch target */
.vf-nav__hamburger::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

.vf-nav__hamburger span {
  display: block;
  width: 14px; height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
  position: absolute;
  transition: transform .45s cubic-bezier(0.32, 0.72, 0, 1), opacity .3s;
}

.vf-nav__hamburger span:nth-child(1) { transform: translateY(-4px); }

.vf-nav__hamburger span:nth-child(2) { transform: translateY(4px); }

.vf-nav.is-menu-open .vf-nav__hamburger span:nth-child(1) { transform: rotate(45deg); }

.vf-nav.is-menu-open .vf-nav__hamburger span:nth-child(2) { transform: rotate(-45deg); }

.vf-nav.is-menu-open .vf-nav__hamburger { background: var(--ink); border-color: var(--ink); }

.vf-nav.is-menu-open .vf-nav__hamburger span { background: var(--paper); }

.vf-pricing__summary .vf-btn--primary { background: var(--accent); color: white; border-color: var(--accent); }

.vf-pricing__summary .vf-btn--primary:hover { background: white; color: var(--ink); border-color: white; }

.vf-final__card .vf-btn--primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.vf-final__card .vf-btn--primary:hover { background: var(--accent); border-color: var(--accent); }

/* =========================================================================
   MODAL
   ========================================================================= */
.vf-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,22,40,.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: vf-fadein .25s ease;
}

.vf-modal[hidden] { display: none; }

.vf-modal__panel {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 560px; padding: 40px;
  position: relative; box-shadow: var(--shadow-ink);
  animation: vf-pop .3s cubic-bezier(.22,1,.36,1);
}

.vf-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-2); border: 0;
  font-size: 22px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}

.vf-modal__close:hover { background: var(--ink); color: white; }

.vf-modal__progress { display: flex; gap: 6px; margin-bottom: 28px; }

.vf-modal__pip { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-2); transition: background .25s; }

.vf-modal__pip.is-on { background: var(--ink); }

.vf-modal__pre { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.vf-modal__step h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 24px; text-wrap: balance; }

.vf-modal__opts { display: flex; flex-direction: column; gap: 10px; }

.vf-modal__opt { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 18px; text-align: left; font-size: 15px; transition: background .15s, border-color .15s, color .15s; }

.vf-modal__opt:hover { border-color: var(--ink-soft); }

.vf-modal__opt.is-on { background: var(--ink); color: white; border-color: var(--ink); }

.vf-modal__form { display: grid; gap: 14px; }

.vf-modal__form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.vf-modal__form input, .vf-modal__form textarea { font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); transition: border-color .15s, background .15s; text-transform: none; letter-spacing: 0; }

.vf-modal__form input:focus, .vf-modal__form textarea:focus { border-color: var(--ink); background: white; }

.vf-modal__form textarea { resize: vertical; min-height: 80px; }

.vf-modal__textarea { grid-column: 1 / -1; }

.vf-modal__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.vf-modal__nav .vf-btn--primary { margin-left: auto; }

.vf-modal__step--done { text-align: center; padding: 12px 0; }

.vf-modal__check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }

.vf-modal__step--done p { color: var(--muted); margin: 0 0 24px; }

/* =========================================================================
   MOBILE MENU OVERLAY
   ========================================================================= */
.vf-nav-menu {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(244,246,250,.97);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(0.32, 0.72, 0, 1);
}

.vf-nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vf-nav-menu__inner {
  width: 100%;
  max-width: 480px;
  padding: 48px 32px;
  display: flex; flex-direction: column; gap: 48px;
}

.vf-nav-menu__links {
  display: flex; flex-direction: column; gap: 4px;
}

.vf-nav-menu__link {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .5s cubic-bezier(0.22, 1, 0.36, 1),
    transform .5s cubic-bezier(0.22, 1, 0.36, 1),
    color .2s;
}

.vf-nav-menu__link:last-child { border-bottom: 0; }

.vf-nav-menu__link:hover { color: var(--accent); }

.vf-nav-menu.is-open .vf-nav-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.vf-nav-menu.is-open .vf-nav-menu__link:nth-child(1) { transition-delay: .08s; }

.vf-nav-menu.is-open .vf-nav-menu__link:nth-child(2) { transition-delay: .13s; }

.vf-nav-menu.is-open .vf-nav-menu__link:nth-child(3) { transition-delay: .18s; }

.vf-nav-menu.is-open .vf-nav-menu__link:nth-child(4) { transition-delay: .23s; }

.vf-nav-menu.is-open .vf-nav-menu__link:nth-child(5) { transition-delay: .28s; }

.vf-nav-menu__foot {
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s cubic-bezier(0.22, 1, 0.36, 1) .35s, transform .5s cubic-bezier(0.22, 1, 0.36, 1) .35s;
}

.vf-nav-menu.is-open .vf-nav-menu__foot {
  opacity: 1;
  transform: translateY(0);
}

.vf-nav-menu__phone {
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.06em;
  color: var(--muted); text-align: center;
}

/* Modal panel enhanced */
.vf-modal__panel {
  box-shadow: var(--shadow-ink), inset 0 1px 0 rgba(255,255,255,.9);
}

@media (max-width: 720px) {
  .vf-hero__ctas .vf-btn {
      width: 100%;
      justify-content: center;
      white-space: normal;
      text-align: center;
    }

  .vf-final__card .vf-btn {
      white-space: normal;
      text-align: center;
      line-height: 1.25;
    }

  .vf-modal {
      padding: 12px;
    }

  .vf-modal__panel {
      padding: 30px 20px 22px;
    }

  .vf-modal__step h3 {
      font-size: 24px;
    }

  .vf-modal__nav {
      flex-direction: column-reverse;
    }

  .vf-modal__nav .vf-btn {
      width: 100%;
      justify-content: center;
    }

  .vf-modal__nav .vf-btn--primary {
      margin-left: 0;
    }
}

/* [hidden] wird von .vf-btn { display: inline-flex } ueberstimmt - deshalb hier
   explizit. Betrifft den Zurueck-Knopf im ersten Schritt des Anfrage-Tools. */
.vf-modal .vf-btn[hidden] {
  display: none;
}

/* Aus der Startseite: unterhalb 960px wird das Tool oben ausgerichtet und
   scrollbar - sonst laesst sich Schritt 2 auf kleinen Displays nicht erreichen. */
@media (max-width: 960px) {
  .vf-modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 18px;
  }

  .vf-modal__panel {
    max-height: none;
    padding: 34px 24px 26px;
    border-radius: var(--radius-lg);
  }
}

/* Der Hamburger erscheint am Breakpoint dieser Seite (Startseite: 960px). */
@media (max-width: 920px) {
  .vf-nav__hamburger { display: flex; }
  #nav-cta { display: none; }
}

/* Ueber dem Breakpoint ist das Overlay komplett inaktiv - wie auf der Startseite. */
@media (min-width: 921px) {
  .vf-nav-menu { visibility: hidden !important; pointer-events: none !important; }
}

/* Der Kopf dieser Seite steht absolut, der der Startseite klebt oben. Bei offenem
   Menue wird er fixiert, damit Logo und Schliessen-Kreuz sichtbar bleiben - auch
   wenn das Menue weiter unten auf der Seite geoeffnet wird. */
.vf-nav.is-menu-open {
  position: fixed;
  inset: 0 0 auto;
}

/* Ausloeser fuer das Anfrage-Tool im Erstgespraech-Block. */
.booking-open {
  display: flex;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 0 clamp(20px, 2.4vw, 36px);
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  justify-content: center;
  gap: 24px;
  font: 650 clamp(1rem, 1.5vw, 1.22rem)/1.1 var(--font-body);
  cursor: pointer;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}

.booking-open:active {
  transform: scale(0.985);
}

.booking-open:active i {
  transform: translateX(3px);
}

.booking-open i {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.13);
  color: var(--white);
  font-size: 15px;
  font-style: normal;
  place-items: center;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .booking-open:hover {
      background: var(--ink-soft);
    }

  .booking-open:hover i {
      transform: translateX(3px);
      background: rgb(255 255 255 / 0.2);
    }
}

@media (max-width: 680px) {
  .booking-open {
      min-height: 66px;
      margin-top: 24px;
      padding-inline: 20px;
      font-size: 16px;
    }

  .booking-open i {
      width: 32px;
      height: 32px;
    }
}

/* Antippbare Hoehe fuer die Telefonnummer im Mobilmenue. */
.vf-nav-menu__phone {
  display: block;
  padding-block: 11px;
}
