/* =====================================================================
   Version 3 – moderner: Kino-Hero, transparente Navigation, Slider
   (wird nach site.css geladen)
   ===================================================================== */

/* ---------- Header over hero ---------- */
.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; transition: background .35s, color .35s, border-color .35s; }
.home .site-header::before { opacity: 0; transition: opacity .35s; }
.home .site-header .wordmark b { color: #fff; transition: color .35s; }
.home .site-header .wordmark small { color: rgba(255,255,255,.75); }
.home .site-header .site-nav a:hover { color: #fff; border-bottom-color: #fff; }
.home .site-header .nav-toggle { color: #fff; }
.home .site-header.is-solid, .home .site-header.menu-open { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); border-bottom-color: var(--line); }
.home .site-header.is-solid::before { opacity: 1; }
.home .site-header.is-solid .wordmark b, .home .site-header.menu-open .wordmark b { color: var(--blue); }
.home .site-header.is-solid .wordmark small { color: var(--muted); }
.home .site-header.is-solid .site-nav a:hover { color: var(--blue); border-bottom-color: transparent; }
.home .site-header.is-solid .nav-toggle, .home .site-header.menu-open .nav-toggle { color: var(--blue); }
.site-nav a.nav-cta { border: 1px solid var(--blue); color: var(--blue); padding: 7px 14px; margin-block: 12px; border-bottom-width: 1px; }
.home .site-header:not(.is-solid) .site-nav a.nav-cta { border-color: rgba(255,255,255,.8); color: #fff; }
.site-nav a.nav-cta:hover, .home .site-header .site-nav a.nav-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Kino-Hero ---------- */
.xhero { position: relative; height: 100vh; height: 100svh; min-height: 600px; background: #0b0d0f; color: #fff; overflow: hidden; }
.xs { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); z-index: 1; }
.xs.is-under { clip-path: inset(0 0 0 0); z-index: 1; }
.xs.is-active { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
.xs img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.xs.is-active img, .xs.is-under img { animation: drift 11s linear forwards; }
.xs.is-under img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1.14) translate3d(var(--dx, 0), 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.xwipe { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--blue); z-index: 3; opacity: 0; box-shadow: 0 0 24px rgba(30,131,202,.9); pointer-events: none; }
.xwipe.run { animation: wipe 1.5s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes wipe { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.xhero::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.8) 100%),
              linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 55%); }

.xhero-in { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 5vh, 56px); }
.xhero-in .container { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.xtitle { grid-column: 1 / span 8; }
.xtitle .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: clamp(14px, 2vh, 24px); color: rgba(255,255,255,.85); }
.xtitle .eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--blue); }
.xtitle h1 { font-size: clamp(44px, 7.2vw, 124px); font-weight: 300; line-height: .98; letter-spacing: -.035em; hyphens: manual; }
.xword { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.xword span { grid-area: 1 / 1; transform: translateY(110%); transition: transform .9s cubic-bezier(.77, 0, .18, 1); font-weight: 700; font-style: italic; padding-right: .08em; white-space: nowrap; }
.xword span.in { transform: none; }
.xword span.out { transform: translateY(-110%); }
.xword span::after { content: "."; color: var(--blue); font-style: normal; }

.xpanel { grid-column: 9 / -1; align-self: end; border-top: 1px solid rgba(255,255,255,.35); }
.xpanel button { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline; width: 100%; text-align: left; padding: 11px 0 12px; border-bottom: 1px solid rgba(255,255,255,.18); position: relative; color: rgba(255,255,255,.6); transition: color .3s; }
.xpanel button:hover, .xpanel button.is-active { color: #fff; }
.xpanel .n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.xpanel .t { font-size: 17px; font-weight: 600; }
.xpanel .f { font-size: 13px; white-space: nowrap; }
.xpanel .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.xpanel button.is-active .bar { animation: bar var(--dur, 7s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.xpanel .go { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; font-size: 14px; }
.xpanel .go a { font-weight: 600; display: inline-flex; gap: 8px; white-space: nowrap; }
.xpanel .go a:hover { color: #7cc0ef; }
.xpanel .go .place { color: rgba(255,255,255,.72); }

.xscroll { position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translateX(-50%); width: 1px; height: 46px; background: rgba(255,255,255,.25); overflow: hidden; }
.xscroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

@media (max-width: 900px) {
  .xtitle, .xpanel { grid-column: 1 / -1; }
  .xpanel { margin-top: 26px; }
  .xpanel button { padding: 8px 0; }
  .xpanel button:not(.is-active) .f { display: none; }
  .xscroll { display: none; }
}
@media (max-width: 560px) { .xpanel button:not(.is-active) { display: none; } }

/* ---------- Statement (zentriert) ---------- */
.statement { text-align: center; padding-block: clamp(64px, 9vw, 130px) clamp(48px, 6vw, 90px); }
.statement .label { display: block; margin-bottom: 18px; }
.statement h2 { max-width: 22ch; margin: 0 auto; font-size: clamp(30px, 3.8vw, 56px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.statement h2 b { font-weight: 600; }
.statement hr { width: 56px; height: 2px; border: 0; background: var(--blue); margin: clamp(22px, 2.6vw, 34px) auto; }
.statement p { max-width: 64ch; margin: 0 auto; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }

/* ---------- Projekt-Slider ---------- */
.pslider { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap) clamp(20px, 3vw, 48px); align-items: stretch; }
.pslider .side { border-left: 2px solid var(--blue); padding-left: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; }
.pslider .side h2 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 300; line-height: 1.1; margin-top: 10px; }
.pslider .side p { color: var(--ink-2); margin-top: 16px; font-size: 15px; }
.pslider .ctrl { display: flex; gap: 8px; align-items: center; margin-top: 24px; }
.pslider .ctrl button { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: all .2s; }
.pslider .ctrl button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pslider .ctrl .count { margin-left: 10px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.5); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.track.dragging a { pointer-events: none; }
.slide { scroll-snap-align: start; display: block; }
.slide .img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.slide .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; user-select: none; }
.slide:hover .img img { transform: scale(1.04); }
.slide .tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }
.slide .fig { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,0)); font-size: 14px; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.slide .fig b { font-size: 28px; font-weight: 300; display: block; line-height: 1.1; }
.slide:hover .fig { opacity: 1; transform: none; }
.slide h3 { font-size: 20px; margin-top: 12px; transition: color .2s; }
.slide:hover h3 { color: var(--blue); }
.slide .sub { font-size: 14px; color: var(--muted); }
.pbar { grid-column: 2; height: 2px; background: var(--line); position: relative; }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); width: 20%; }
@media (max-width: 900px) {
  .pslider { grid-template-columns: 1fr; }
  .pbar { grid-column: 1; }
  .track { grid-auto-columns: 78%; }
  .slide .fig { opacity: 1; transform: none; }
}

/* ---------- Leistungen als Bildkacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; background: var(--dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease), opacity .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 50%, rgba(0,0,0,.75) 100%); }
.tile .top { position: absolute; z-index: 2; left: 22px; right: 22px; top: 20px; }
.tile .top .no { font-size: 14px; font-weight: 600; color: #7cc0ef; }
.tile .top h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 300; line-height: 1.05; margin-top: 6px; }
.tile .bot { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; font-size: 15px; line-height: 1.45; }
.tile .bot p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.tile .bot span { display: inline-flex; gap: 8px; font-weight: 600; border-bottom: 2px solid var(--blue); padding-bottom: 3px; }
.tile:hover img { transform: scale(1.05); opacity: .5; }
.tile:hover .bot p { max-height: 10em; opacity: 1; margin-bottom: 14px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 11; } .tile .bot p { max-height: none; opacity: 1; margin-bottom: 12px; } }

/* ---------- Bildband mit Parallax ---------- */
.band { position: relative; height: min(84vh, 760px); overflow: hidden; color: #fff; background: var(--dark); }
.band img { position: absolute; left: 0; width: 100%; height: 124%; top: -12%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.1) 62%); }
.band .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 5vw, 64px); }
.band blockquote { margin: 0; max-width: 20ch; font-size: clamp(30px, 3.8vw, 58px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; }
.band blockquote b { font-weight: 700; font-style: italic; }
.band cite { font-style: normal; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.78); display: flex; gap: 12px; align-items: center; }
.band cite::before { content: ""; width: 32px; height: 2px; background: var(--blue); }
.band .credit { position: absolute; right: var(--gutter); bottom: 16px; z-index: 2; font-size: 12px; color: rgba(255,255,255,.75); }
.band .credit a:hover { text-decoration: underline; }

/* ---------- Gründer (Porträt + Zitat) ---------- */
.founder { align-items: center; }
.founder .ph { grid-column: 1 / span 4; aspect-ratio: 4 / 5; overflow: hidden; }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; }
.founder .tx { grid-column: 6 / -1; }
.founder .role { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.founder .role b { color: var(--ink); display: block; font-size: 14px; }
.founder hr { width: 44px; height: 2px; background: var(--blue); border: 0; margin: 18px 0; }
.founder .q { font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; line-height: 1.2; margin: 0; }
.founder ul { padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--gap); font-size: 15px; color: var(--ink-2); }
.founder li { list-style: none; border-top: 1px solid var(--line); padding-top: 8px; }
@media (max-width: 900px) { .founder .ph, .founder .tx { grid-column: 1 / -1; } .founder .ph { max-width: 340px; } .founder .tx { margin-top: 24px; } .founder ul { grid-template-columns: 1fr; } }

/* ---------- Let's talk ---------- */
.talk { background: var(--bg-2); }
.talk .grid { align-items: center; }
.talk .ph { grid-column: 1 / span 5; aspect-ratio: 4 / 3; overflow: hidden; }
.talk .ph img { width: 100%; height: 100%; object-fit: cover; }
.talk .tx { grid-column: 7 / -1; border-left: 2px solid var(--blue); padding-left: clamp(18px, 2.4vw, 32px); }
.talk h2 { font-size: clamp(34px, 4vw, 60px); font-weight: 300; letter-spacing: -.02em; margin: 8px 0 16px; }
.talk p { color: var(--ink-2); max-width: 48ch; }
.talk .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .talk .ph, .talk .tx { grid-column: 1 / -1; } .talk .tx { margin-top: 24px; } }

@media (prefers-reduced-motion: reduce) {
  .xs { transition: none !important; }
  .xs img { animation: none !important; transform: none; }
  .xwipe { display: none; }
}

/* =====================================================================
   Überarbeitung: Intro, Kennzahlen, Projekt-Slider – mehr Luft & Tiefe
   ===================================================================== */

/* ---------- Intro ---------- */
.intro3 { padding-block: clamp(90px, 11vw, 170px) clamp(10px, 2vw, 30px); }
.intro3 .grid { align-items: center; }
.i3-text { grid-column: 1 / span 6; }
.i3-text .label { display: block; margin-bottom: 22px; }
.i3-text h2 { font-size: clamp(40px, 5vw, 78px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.i3-text h2 b { font-weight: 700; }
.i3-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 40px); margin: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; }
.i3-cols p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.i3-media { grid-column: 8 / -1; position: relative; padding-bottom: clamp(60px, 8vw, 120px); }
.i3-media figure { margin: 0; }
.i3-media img { width: 100%; height: 100%; object-fit: cover; }
.i3-media .big { aspect-ratio: 4 / 5; overflow: hidden; margin-left: 12%; }
.i3-media .small { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; overflow: hidden; border: clamp(6px, .8vw, 10px) solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.i3-media figcaption { position: absolute; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.45); padding: 4px 8px; }
.i3-media .big figcaption { right: 0; top: 0; }
.i3-media .small figcaption { left: 0; bottom: 0; }
.i3-media .big { position: relative; }
@media (max-width: 900px) {
  .i3-text, .i3-media { grid-column: 1 / -1; }
  .i3-media { margin-top: 48px; }
  .i3-cols { grid-template-columns: 1fr; }
}

/* ---------- Projekt-Slider: groß & randlos ---------- */
.sel3 { padding-block: clamp(90px, 11vw, 160px) clamp(70px, 8vw, 120px); }
.s3-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.s3-head > div:first-child { grid-column: 1 / span 7; }
.s3-head .label { display: block; margin-bottom: 18px; }
.s3-head h2 { font-size: clamp(40px, 5vw, 78px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.s3-side { grid-column: 9 / -1; }
.s3-side p { color: var(--ink-2); margin: 0 0 20px; font-size: 17px; }
.s3-side .ctrl { display: flex; gap: 8px; align-items: center; }
.s3-side .ctrl button { width: 52px; height: 52px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 20px; transition: all .2s; }
.s3-side .ctrl button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.s3-side .count { margin-left: 14px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.s3-slider { display: block; }
.s3-slider .track {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  grid-auto-columns: clamp(280px, 31vw, 480px); gap: clamp(16px, 2vw, 32px);
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
}
.s3-slider .slide .img { aspect-ratio: 3 / 4; }
.s3-meta { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); transition: border-color .3s; }
.s3-meta .no { font-size: 14px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.s3-meta h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; margin: 0; }
.s3-meta .sub { font-size: 15px; margin-top: 2px; }
.slide:hover .s3-meta { border-color: var(--blue); }
.s3-foot { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.s3-foot .pbar { flex: 1; grid-column: auto; }
.s3-foot .link { white-space: nowrap; }
@media (max-width: 900px) {
  .s3-head > div:first-child, .s3-side { grid-column: 1 / -1; }
  .s3-side { margin-top: 20px; }
  .s3-slider .track { grid-auto-columns: 78vw; }
  .s3-foot { flex-direction: column; align-items: flex-start; }
  .s3-foot .pbar { width: 100%; }
}
@media (max-width: 900px) { .tile { aspect-ratio: 4 / 3; } .tile .bot p { display: none; } }
.intro3 + .sel3 { padding-top: clamp(30px, 4vw, 60px); }

/* =====================================================================
   Studio-Intro v4: typografisches Statement mit Inline-Bildern
   ===================================================================== */
.intro4 { padding-block: clamp(100px, 12vw, 190px) clamp(24px, 3vw, 48px); }
.intro4 .label { display: block; margin-bottom: clamp(24px, 3vw, 40px); }
.i4-statement { font-size: clamp(34px, 5.4vw, 88px); font-weight: 300; line-height: 1.12; letter-spacing: -.03em; max-width: 17em; hyphens: manual; }
.i4-statement b { font-weight: 700; }
.inl { display: inline-block; vertical-align: -.08em; height: .82em; width: 0; overflow: hidden; margin-inline: 0; transition: width 1.2s cubic-bezier(.77, 0, .18, 1), margin 1.2s cubic-bezier(.77, 0, .18, 1); }
.inl img { width: 2.6em; height: 100%; object-fit: cover; max-width: none; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.i4-statement.is-in .inl { width: 2.6em; margin-inline: .04em; }
.i4-statement.is-in .inl img { transform: none; }
.i4-statement.is-in .inl-wrap:nth-of-type(2) .inl { transition-delay: .18s; }
.i4-statement.is-in .inl-wrap:nth-of-type(3) .inl { transition-delay: .36s; }
.i4-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 7vw, 110px); padding-top: 24px; border-top: 1px solid var(--line); }
.i4-grid p { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; }
.i4-grid p:nth-child(1) { grid-column: 1 / span 4; }
.i4-grid p:nth-child(2) { grid-column: 5 / span 4; }
.i4-links { grid-column: 10 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.intro4 + .sel3 { padding-top: clamp(40px, 5vw, 80px); }
@media (max-width: 900px) {
  .i4-grid p:nth-child(1), .i4-grid p:nth-child(2), .i4-links { grid-column: 1 / -1; }
  .i4-links { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .inl { width: 2.6em; margin-inline: .04em; } .inl img { transform: none; } }

/* =====================================================================
   Studio-Variante C: schlicht
   ===================================================================== */
.intro5 { padding-block: clamp(80px, 10vw, 150px) clamp(24px, 3vw, 48px); }
.i5-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-top: 20px; border-top: 1px solid var(--ink); }
.i5-grid > .label { grid-column: 1 / span 3; padding-top: 8px; }
.i5-grid > div { grid-column: 4 / span 8; }
.i5-grid h2 { font-size: clamp(26px, 2.8vw, 42px); font-weight: 300; line-height: 1.22; letter-spacing: -.015em; }
.i5-grid p { margin: clamp(20px, 2.4vw, 32px) 0 20px; max-width: 60ch; color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; }
@media (max-width: 900px) { .i5-grid > .label, .i5-grid > div { grid-column: 1 / -1; } .i5-grid > .label { margin-bottom: 12px; } }

/* =====================================================================
   Demo-Umschalter für Varianten (nur für die Präsentation)
   ===================================================================== */
.variants > [data-variant]:not(.is-active) { display: none; }
.variants + .v-switch + .sel3 { padding-top: clamp(40px, 5vw, 80px); }
.v-switch { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.14); font-size: 13px; }
.v-switch span { padding: 0 8px 0 6px; font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.v-switch button { padding: 7px 11px; font-weight: 600; color: var(--ink-2); border: 1px solid transparent; }
.v-switch button:hover { color: var(--blue); }
.v-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 560px) { .v-switch { left: 8px; right: 8px; bottom: 8px; justify-content: space-between; } .v-switch span { display: none; } .v-switch button { padding: 7px 8px; } }
.variants { scroll-margin-top: 70px; }

/* =====================================================================
   Header hervorgehoben: größer, kräftiger, mehr Kontrast
   ===================================================================== */
:root { --header-h: 84px; }
.site-header .container { height: var(--header-h); }
.site-header::before { height: 4px; }
.wordmark { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.02em; }
.wordmark small { font-size: 12px; margin-top: 5px; letter-spacing: .05em; }
.site-nav { gap: clamp(22px, 2.8vw, 44px); align-items: center; }
.site-nav a { font-size: 16.5px; padding-block: 29px; letter-spacing: .01em; }
.site-nav a.nav-cta { padding: 10px 20px; margin-block: 0; font-size: 16px; }
.site-nav a[aria-current="page"]:not(.nav-cta) { border-bottom-width: 3px; }
.site-header.is-solid, body:not(.home) .site-header { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
/* über dem Hero: dunkler Verlauf für Lesbarkeit */
.home .site-header:not(.is-solid):not(.menu-open):not(.mega-open) { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 70%, rgba(0,0,0,0) 100%); border-bottom: 1px solid rgba(255,255,255,.18); }
.home .site-header:not(.is-solid) .wordmark small { color: rgba(255,255,255,.85); }
.home .site-header:not(.is-solid):not(.mega-open) .site-nav a { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.home .site-header:not(.is-solid) .site-nav a.nav-cta { background: var(--blue); border-color: var(--blue); text-shadow: none; }
.home .site-header:not(.is-solid) .site-nav a.nav-cta:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
body:not(.home) .site-nav a.nav-cta, .home .site-header.is-solid .site-nav a.nav-cta { background: var(--blue); color: #fff; }
body:not(.home) .site-nav a.nav-cta:hover, .home .site-header.is-solid .site-nav a.nav-cta:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.xhero-in { padding-top: var(--header-h); }
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .wordmark { font-size: 23px; }
  .nav-toggle { font-size: 16px; border: 1px solid currentColor; padding: 6px 12px; }
}
.toolbar { top: calc(var(--header-h) + 4px); }
.tile .src { position: absolute; z-index: 2; right: 22px; bottom: 24px; font-style: normal; font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .03em; }
.tile img { opacity: .9; }

/* Studio B: kleine Bilder werden beim Überfahren groß */
.inl-wrap { position: relative; display: inline-block; vertical-align: baseline; }
.inl { cursor: zoom-in; transition: width 1.2s cubic-bezier(.77, 0, .18, 1), margin 1.2s cubic-bezier(.77, 0, .18, 1), opacity .3s; }
.inl-pop { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 14px); width: clamp(260px, 28vw, 440px); background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.25);
  font-size: 14px; line-height: 1.35; letter-spacing: 0; font-weight: 400; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.6); transform-origin: 20% 100%; transition: opacity .3s, transform .45s cubic-bezier(.2, .9, .2, 1.05), visibility 0s .45s; }
.inl-pop img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inl-pop span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px 12px; border-top: 3px solid var(--blue); }
.inl-pop b { font-weight: 600; }
.inl-pop span { color: var(--muted); }
.inl-pop span b { color: var(--ink); }
@media (hover: hover) and (min-width: 761px) {
  .inl-wrap:hover .inl-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s cubic-bezier(.2, .9, .2, 1.05), visibility 0s; }
  .inl-wrap:hover .inl { opacity: .35; }
}
.inl-pop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
@media (hover: none), (max-width: 760px) { .inl-pop { display: none; } .inl { cursor: default; } }
