/* ============================================================
   GBS Widmer — site styles
   Consumes tokens from colors_and_type.css
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--fg1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.gbs-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- shared bits ---------- */
.gbs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 600;
  color: var(--azure-600); margin-bottom: 18px;
}
.gbs-eyebrow--light { color: #d7ecf7; }
.gbs-rule { width: 34px; height: 2px; background: var(--grad-sail); display: inline-block; }
.gbs-eyebrow--light .gbs-rule { background: linear-gradient(90deg,#bfe6f6,#5cc0ec); }

.gbs-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,4vw,46px); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); margin: 0 0 16px; }
.gbs-h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.gbs-section { padding: 96px 0; }
.gbs-section--tint { background: var(--bg-subtle); }
.gbs-section__lead { font-size: 18px; line-height: 1.6; color: var(--fg2); max-width: 56ch; }

/* ---------- buttons ---------- */
.gbs-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: 15px; border-radius: 8px; padding: 13px 22px;
  border: 1px solid transparent; transition: all var(--dur) var(--ease);
}
.gbs-btn svg { width: 17px; height: 17px; }
.gbs-btn--primary { background: var(--azure-500); color: #fff; box-shadow: var(--shadow-azure); }
.gbs-btn--primary:hover { background: var(--azure-600); transform: translateY(-1px); }
.gbs-btn--primary:active { transform: scale(.98); }
.gbs-btn--ghost { background: transparent; color: var(--azure-700); border-color: var(--azure-300); }
.gbs-btn--ghost:hover { background: var(--azure-50); }
.gbs-btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.gbs-btn--ghost-light:hover { background: rgba(255,255,255,.22); }
.gbs-btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
/* Default state = transparent overlay on the (dark) hero: light text + white
   logo, with a top scrim so it stays legible over any image. On scroll the
   .is-scrolled class swaps to the frosted-white bar with dark text. */
.gbs-header { position: sticky; top: 0; z-index: 50; transition: all var(--dur) var(--ease); }
.gbs-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,28,48,.60) 0%, rgba(6,28,48,0) 100%);
  transition: opacity var(--dur) var(--ease);
}
.gbs-header.is-scrolled::before { opacity: 0; }
.gbs-header__inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; gap: 24px;
}
.gbs-header.is-scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.gbs-header__brand { flex: none; display: flex; align-items: center; }
.gbs-header__logo { height: 64px; width: auto; max-width: none; flex: none; display: block; }
.gbs-header__logo--dark { display: none; }
.gbs-header.is-scrolled .gbs-header__logo--light { display: none; }
.gbs-header.is-scrolled .gbs-header__logo--dark { display: block; }
.gbs-nav { display: flex; gap: 4px; margin-left: auto; }
.gbs-nav__item { position: relative; }
.gbs-nav__link {
  display: flex; align-items: center; gap: 5px; padding: 10px 12px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: #fff; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .04em; transition: all var(--dur) var(--ease); cursor: pointer;
  text-shadow: 0 1px 8px rgba(0,25,45,.4);
}
.gbs-nav__link:hover, .gbs-nav__link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); }
/* scrolled (white bar) — dark text */
.gbs-header.is-scrolled .gbs-nav__link { color: var(--slate-700); font-weight: 500; text-shadow: none; }
.gbs-header.is-scrolled .gbs-nav__link:hover,
.gbs-header.is-scrolled .gbs-nav__link[aria-current="page"] { color: var(--azure-700); background: var(--azure-50); }
.gbs-nav__chev { width: 14px; height: 14px; opacity: .8; }
.gbs-nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
}
.gbs-nav__item:hover > .gbs-nav__menu,
.gbs-nav__item:focus-within > .gbs-nav__menu { display: flex; }
.gbs-nav__sub { padding: 9px 12px; font-size: 14px; color: var(--slate-700); border-radius: 6px; }
.gbs-nav__sub:hover, .gbs-nav__sub[aria-current="page"] { background: var(--azure-50); color: var(--azure-700); }
.gbs-header__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; white-space: nowrap; flex: none;
  background: var(--azure-500); color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-azure); transition: all var(--dur) var(--ease);
}
.gbs-header__cta:hover { background: var(--azure-600); }
.gbs-header__cta svg { width: 16px; height: 16px; }
.gbs-header__burger { display: none; background: none; border: none; cursor: pointer; color: #fff; }
.gbs-header.is-scrolled .gbs-header__burger { color: var(--slate-800); }
.gbs-header__burger svg { width: 26px; height: 26px; }

.gbs-mobile { position: fixed; inset: 0; z-index: 100; background: rgba(20,24,28,.45); backdrop-filter: blur(2px); }
.gbs-mobile[hidden] { display: none !important; }
.gbs-mobile__panel { position: absolute; right: 0; top: 0; height: 100%; width: 300px; background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-lg); overflow-y: auto; }
.gbs-mobile__close { align-self: flex-end; background: none; border: none; cursor: pointer; color: var(--slate-600); margin-bottom: 12px; }
.gbs-mobile__close svg { width: 24px; height: 24px; }
.gbs-mobile__link { padding: 13px 10px 6px; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-800); }
.gbs-mobile__sublink { padding: 7px 10px 7px 20px; font-size: 14.5px; color: var(--slate-600); border-bottom: 1px solid var(--slate-100); }
.gbs-mobile__sublink:last-of-type { border-bottom: 0; }
.gbs-mobile__call { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 13px; background: var(--azure-500); color: #fff; border-radius: 8px; font-weight: 600; justify-content: center; }

/* ---------- hero (homepage) ---------- */
.gbs-hero { position: relative; min-height: 640px; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; margin-top: -100px; padding-top: 100px; overflow: hidden; background: var(--slate-900); }
.gbs-hero__slides { position: absolute; inset: 0; }
.gbs-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); will-change: opacity; }
.gbs-hero__slide.is-active { opacity: 1; }
.gbs-hero:not(.gbs-hero--slideshow) .gbs-hero__slide { opacity: 1; }
.gbs-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
/* Ken Burns — one slow, continuous zoom running on every slide in sync. Because
   it never stops/restarts on slide change, swapping the active slide can't snap
   the transform (which caused the visible jump). */
.gbs-hero--slideshow .gbs-hero__img { animation: gbs-kenburns 24s ease-in-out infinite alternate; }
@keyframes gbs-kenburns { from { transform: scale(1.05); } to { transform: scale(1.18); } }
.gbs-hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,45,75,.74) 0%, rgba(10,45,75,.5) 45%, rgba(10,45,75,.18) 100%); }
.gbs-hero__content { position: relative; max-width: 1200px; margin: 0 auto; padding: 64px 32px; width: 100%; }
.gbs-hero__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(34px,5vw,60px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 22px; max-width: 18ch; text-shadow: 0 2px 24px rgba(0,30,55,.35); }
.gbs-hero__lead { font-size: 19px; line-height: 1.6; color: #eaf4fa; max-width: 50ch; margin: 0 0 30px; }
.gbs-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.gbs-hero__locations { position: absolute; bottom: 26px; left: 0; right: 0; max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 8px; color: #cfe6f2; font-size: 13px; letter-spacing: .04em; }
.gbs-hero__locations svg { width: 15px; height: 15px; }

/* ---------- services (interactive glass cards) ---------- */
/* Light pools softly in the section background so the frosted cards have
   something to refract — keeps the "glass" brand metaphor literal. */
#leistungen { position: relative; isolation: isolate; }
#leistungen::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px circle at 10% 4%, rgba(0,153,214,.08), transparent 55%),
    radial-gradient(620px circle at 94% 96%, rgba(10,79,128,.07), transparent 55%);
}
#leistungen > .gbs-container { position: relative; z-index: 1; }

/* services — bento grid (asymmetric tiles, gradient featured tile) */
.gbs-bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto); grid-auto-flow: dense;
  gap: 16px; margin-top: 48px; counter-reset: svc;
}
.gbs-bento__item {
  position: relative; isolation: isolate; counter-increment: svc; color: inherit;
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff, var(--slate-50)); padding: 26px;
  transition: transform var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out),
              border-color var(--dur) var(--ease);
}
.gbs-bento__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--azure-200); }
.gbs-bento__item:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* featured tile — spans 2x2 with a gradient skin */
.gbs-bento__item:first-child {
  grid-column: span 2; grid-row: span 2;
  background: var(--grad-sail); border-color: transparent; color: #fff;
}
.gbs-bento__item:first-child::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.22), transparent 55%);
}

/* featured tile with a photo background */
.gbs-bento__item--photo { background: var(--slate-900); }
.gbs-bento__bg {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%;
  object-fit: cover; transition: transform var(--dur-slow) var(--ease-out);
}
.gbs-bento__item--photo:hover .gbs-bento__bg { transform: scale(1.05); }
.gbs-bento__scrim {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(8,38,64,.30) 0%, rgba(8,38,64,.55) 48%, rgba(8,38,64,.85) 100%);
}

/* outlined index number, top-right */
.gbs-bento__num {
  position: absolute; top: 18px; right: 22px; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1;
  letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1.4px var(--slate-300); text-stroke: 1.4px var(--slate-300);
}
.gbs-bento__num::before { content: counter(svc, decimal-leading-zero); }
.gbs-bento__item:first-child .gbs-bento__num { font-size: 54px; -webkit-text-stroke-color: rgba(255,255,255,.5); }

/* icon chip */
.gbs-bento__icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--azure-50); color: var(--azure-600);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.gbs-bento__icon svg { width: 24px; height: 24px; }
.gbs-bento__item:hover .gbs-bento__icon { transform: rotate(-4deg); box-shadow: var(--shadow-azure); }
.gbs-bento__item:first-child .gbs-bento__icon {
  width: 62px; height: 62px; border-radius: 18px; background: rgba(255,255,255,.16); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gbs-bento__item:first-child .gbs-bento__icon svg { width: 28px; height: 28px; }

/* text block, pushed to the bottom */
.gbs-bento__body { margin-top: auto; padding-top: 22px; }
.gbs-bento__tag { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; color: var(--azure-600); margin-bottom: 6px; }
.gbs-bento__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.gbs-bento__desc {
  display: block;
  font-size: 14px; line-height: 1.5; color: var(--fg2);
}
.gbs-bento__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--azure-600); }
.gbs-bento__more svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.gbs-bento__item:hover .gbs-bento__more svg { transform: translateX(5px); }

/* featured tile text colors */
.gbs-bento__item:first-child .gbs-bento__tag  { color: rgba(255,255,255,.85); }
.gbs-bento__item:first-child .gbs-bento__title { color: #fff; font-size: 30px; }
.gbs-bento__item:first-child .gbs-bento__desc { color: rgba(255,255,255,.9); font-size: 15px; }
.gbs-bento__item:first-child .gbs-bento__more { color: #fff; }

@media (max-width: 1040px) {
  .gbs-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(190px, auto); }
  .gbs-bento__item:first-child { grid-column: span 2; grid-row: span 1; }
  .gbs-bento__item:first-child .gbs-bento__title { font-size: 26px; }
}
@media (max-width: 600px) {
  .gbs-bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .gbs-bento__item, .gbs-bento__item:first-child { grid-column: auto; grid-row: auto; }
  .gbs-bento__body { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .gbs-bento__item:hover { transform: none; }
  .gbs-bento__item:hover .gbs-bento__icon { transform: none; }
}

/* ---------- in-page jump nav (one-pager section links) ---------- */
.gbs-anchor { scroll-margin-top: 96px; }
.gbs-jumpnav { display: flex; flex-wrap: wrap; gap: 12px; }
.gbs-jumpnav__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  font-weight: 600; font-size: 14.5px; text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gbs-jumpnav__pill span {
  font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--azure-600);
}
.gbs-jumpnav__pill:hover { border-color: var(--azure-300); background: var(--azure-50); box-shadow: var(--shadow-sm); }
.gbs-jumpnav__pill:hover span { color: var(--azure-700); }

/* tidy uniform gallery (one-pager section references) — overrides the ragged
   masonry columns with an even grid of equal 4:3 tiles, cropped to cover.
   The lightbox still shows the full, uncropped image on click. */
.gbs-svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gbs-svc-gallery .gbs-masonry__item { margin: 0; aspect-ratio: 4 / 3; }
.gbs-svc-gallery .gbs-masonry__item img { height: 100%; object-fit: cover; }
@media (max-width: 1040px) { .gbs-svc-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gbs-svc-gallery { gap: 10px; } }

/* ---------- sticky split + side rail (Schiebetüren one-pager) ----------
   Magazine layout: a slim vertical section-rail follows the scroll and
   highlights the active topic, while each topic shows a sticky text panel
   (giant number + heading + features) beside its scrolling gallery. */
.gbs-split-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

/* the rail */
.gbs-rail { position: sticky; top: 110px; align-self: start; }
.gbs-rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gbs-rail__link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: var(--radius-md);
  text-decoration: none; color: var(--slate-500);
  border-left: 2px solid var(--border);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.gbs-rail__num {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--slate-400); transition: color var(--dur) var(--ease);
}
.gbs-rail__label { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.gbs-rail__link:hover { color: var(--ink); background: var(--azure-50); }
.gbs-rail__link.is-active { color: var(--azure-700); border-left-color: var(--azure-500); background: var(--azure-50); }
.gbs-rail__link.is-active .gbs-rail__num { color: var(--azure-600); }

/* each topic = sticky panel + scrolling media */
.gbs-topic { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.gbs-topic + .gbs-topic { margin-top: 110px; }
.gbs-topic__panel { position: sticky; top: 110px; align-self: start; }
.gbs-topic__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 8vw, 112px); line-height: .85; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.6px var(--slate-300);
  margin-bottom: 16px;
}
.gbs-topic__panel .gbs-h2 { margin-top: 10px; }

/* compact vertical feature list inside the sticky panel */
.gbs-topic__features { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.gbs-topic__feature { display: flex; gap: 14px; align-items: flex-start; }
.gbs-topic__fic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; background: var(--grad-azure); color: #fff; box-shadow: var(--shadow-azure);
}
.gbs-topic__fic svg { width: 19px; height: 19px; color: #fff; stroke: #fff; }
.gbs-topic__feature h3 { font-size: 15px; margin: 1px 0 3px; }
.gbs-topic__feature p { font-size: 13.5px; color: var(--fg2); margin: 0; line-height: 1.55; }

/* gallery sits in the scrolling column — two even columns here */
.gbs-topic__media .gbs-svc-gallery { margin-top: 0; grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1040px) {
  .gbs-split-layout { grid-template-columns: 1fr; gap: 0; }
  .gbs-rail { display: none; }
  .gbs-topic { grid-template-columns: 1fr; gap: 30px; }
  .gbs-topic__panel { position: static; }
  .gbs-topic__num { font-size: 72px; margin-bottom: 10px; }
  .gbs-topic + .gbs-topic { margin-top: 72px; }
  .gbs-topic__media .gbs-svc-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gbs-topic__media .gbs-svc-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .gbs-rail__link { transition: none; }
}

/* ---------- showcase ---------- */
.gbs-showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.gbs-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.gbs-filter__btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; font-size: 14px; font-weight: 500; color: var(--slate-600); cursor: pointer; transition: all var(--dur) var(--ease); }
.gbs-filter__btn:hover { border-color: var(--azure-400); color: var(--azure-700); }
.gbs-filter__btn.is-active { background: var(--azure-600); border-color: var(--azure-600); color: #fff; }
.gbs-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gbs-gallery__item { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: all var(--dur) var(--ease); }
.gbs-gallery__item:hover { box-shadow: var(--shadow-md); }
.gbs-gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gbs-gallery__cap { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; }
.gbs-gallery__cat { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; color: var(--azure-600); }
.gbs-gallery__label { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.015em; color: var(--ink); }
/* clickable project cards (link variant) */
.gbs-gallery__item--link { display: block; position: relative; text-decoration: none; color: inherit; }
.gbs-gallery__item--link .gbs-gallery__img { transition: transform var(--dur) var(--ease); }
.gbs-gallery__item--link:hover .gbs-gallery__img { transform: scale(1.04); }
.gbs-gallery__item--link .gbs-gallery__label { transition: color var(--dur) var(--ease); }
.gbs-gallery__item--link:hover .gbs-gallery__label { color: var(--azure-700); }
.gbs-gallery__count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(13,63,99,.78); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); }
.gbs-gallery__count svg { width: 14px; height: 14px; }

/* ---------- about ---------- */
.gbs-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gbs-about__grid--rev .gbs-about__media { order: 2; }
.gbs-about__grid--rev .gbs-about__body { order: 1; }
.gbs-about__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.gbs-about__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-sail); }
.gbs-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 2; }
/* Start-page "Über uns" image + the Über-uns story image: respect the uploaded
   image's own proportions (portrait or landscape) instead of forcing a 3:2
   landscape crop. */
#firma .gbs-about__media img,
.gbs-about__media--badge img { aspect-ratio: auto; height: auto; }
.gbs-about__points { list-style: none; padding: 0; margin: 26px 0 28px; display: flex; flex-direction: column; gap: 18px; }
.gbs-about__points li { display: flex; gap: 14px; align-items: flex-start; }
.gbs-about__ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--grad-azure); color: #fff; box-shadow: var(--shadow-azure); display: flex; align-items: center; justify-content: center; }
.gbs-about__ic svg { width: 19px; height: 19px; color: #fff; stroke: #fff; }
.gbs-about__points b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.gbs-about__points span { font-size: 14px; color: var(--fg2); line-height: 1.5; }

/* ---------- contact ---------- */
.gbs-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* image + form split (kontakt) */
.gbs-contact--split { align-items: stretch; }
.gbs-contact__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-tint); }
.gbs-contact__media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
.gbs-contact__form-head { margin-bottom: 26px; }
.gbs-contact__form-head .gbs-h2 { margin-top: 8px; }
.gbs-contact__form-head .gbs-section__lead { margin-top: 10px; }
.gbs-contact__form-head a { color: var(--azure-600); font-weight: 600; }
.gbs-contact-top { padding-bottom: 40px; }
.gbs-contact-methods { padding-top: 20px; }
.gbs-contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 18px; }
.gbs-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.gbs-contact__ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--grad-azure); color: #fff; box-shadow: var(--shadow-azure); display: flex; align-items: center; justify-content: center; }
.gbs-contact__ic svg { width: 19px; height: 19px; color: #fff; stroke: #fff; }
.gbs-contact__list b { display: block; font-size: 13px; color: var(--slate-500); font-weight: 600; margin-bottom: 2px; }
.gbs-contact__list a, .gbs-contact__list span { font-size: 16px; color: var(--ink); }
.gbs-contact__list a:hover { color: var(--azure-600); }
.gbs-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.gbs-contact__form { padding: 36px 34px; }
.gbs-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.gbs-field label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.gbs-input { font-family: var(--font-sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; resize: vertical; transition: all var(--dur) var(--ease); }
.gbs-input::placeholder { color: var(--slate-400); }
.gbs-input:focus { outline: none; border-color: var(--azure-500); box-shadow: 0 0 0 3px var(--ring); }
.gbs-contact__thanks { text-align: center; padding: 20px 6px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gbs-contact__thanks[hidden] { display: none; }
.gbs-contact__thanks p { color: var(--fg2); font-size: 15px; line-height: 1.6; margin: 0; max-width: 36ch; }
.gbs-contact__check { width: 60px; height: 60px; border-radius: 999px; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; }
.gbs-contact__check svg { width: 30px; height: 30px; }

/* ---------- footer ---------- */
.gbs-footer { background: var(--slate-900); color: #c7d0d8; padding: 64px 0 0; }
.gbs-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.gbs-footer__brand img { height: 54px; margin-bottom: 16px; }
.gbs-footer__brand p { font-size: 14.5px; line-height: 1.6; color: #93a1ac; max-width: 34ch; margin: 0; }
.gbs-footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin: 0 0 16px; font-weight: 600; }
.gbs-footer__col a, .gbs-footer__col span { display: block; font-size: 14.5px; color: #aab6bf; margin-bottom: 10px; }
.gbs-footer__col a:hover { color: var(--azure-300); }
.gbs-footer__social--text { display: flex; flex-direction: column; gap: 10px; }
.gbs-footer__social--text a { font-size: 14.5px; color: #aab6bf; }
.gbs-footer__social--text a:hover { color: var(--azure-300); }
.gbs-footer__bar { border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1200px; margin: 0 auto; padding: 22px 32px; font-size: 13px; color: #7e8b95; }
.gbs-footer__legal a { margin-left: 18px; }
.gbs-footer__legal a:hover { color: var(--azure-300); }

/* ============================================================
   Inner-page templates (service + firma pages)
   ============================================================ */
.gbs-page-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; margin-top: -100px; padding-top: 100px; overflow: hidden; background: var(--slate-900); }
.gbs-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.gbs-page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,45,75,.30) 0%, rgba(10,45,75,.55) 60%, rgba(8,38,64,.82) 100%); }
.gbs-page-hero__content { position: relative; max-width: 1200px; margin: 0 auto; padding: 56px 32px; width: 100%; }
.gbs-page-hero__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(32px,4.6vw,54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; max-width: 20ch; text-shadow: 0 2px 24px rgba(0,30,55,.35); }
.gbs-page-hero__lead { font-size: 18px; line-height: 1.6; color: #eaf4fa; max-width: 56ch; margin: 0; }

/* breadcrumb */
.gbs-breadcrumb { font-size: 13px; color: #cfe6f2; margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gbs-breadcrumb a { color: #cfe6f2; }
.gbs-breadcrumb a:hover { color: #fff; }
.gbs-breadcrumb span { opacity: .6; }

/* intro / prose */
.gbs-prose { max-width: 760px; }
.gbs-prose p { font-size: 17px; line-height: 1.7; color: var(--fg2); margin: 0 0 18px; }
.gbs-prose p:last-child { margin-bottom: 0; }

/* feature grid */
.gbs-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 44px; }
.gbs-feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow-xs); transition: all var(--dur) var(--ease); }
.gbs-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--azure-200); }
.gbs-feature__ic { width: 46px; height: 46px; border-radius: 10px; background: var(--grad-azure); color: #fff; box-shadow: var(--shadow-azure); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gbs-feature__ic svg { width: 22px; height: 22px; color: #fff; stroke: #fff; }
.gbs-feature h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; color: var(--ink); margin: 0 0 8px; }
.gbs-feature p { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* partner / sponsoring logo strip */
.gbs-logos__title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--slate-500); margin: 40px 0 0; }
.gbs-logos { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.gbs-logos__item {
  flex: 0 1 240px; min-height: 120px; display: flex; align-items: center; justify-content: center;
  padding: 24px 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.gbs-logos__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--azure-200); }
.gbs-logos__item img {
  max-width: 100%; max-height: 68px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.gbs-logos__item:hover img { filter: none; opacity: 1; }

/* ============================================================
   Partner & Sponsoring — modern custom layout
   ============================================================ */
/* ---------- alternating split block ---------- */
.gbs-ps-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.gbs-ps-split--rev .gbs-ps-split__text { order: 2; }
.gbs-ps-split--rev .gbs-ps-panel { order: 1; }
.gbs-ps-split__text .gbs-prose { margin-top: 16px; }

/* feature list (replaces card grid for a leaner, modern read) */
.gbs-ps-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.gbs-ps-list__item { display: flex; align-items: flex-start; gap: 14px; }
.gbs-ps-list__ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px; margin-top: 2px;
  background: var(--surface-tint); color: var(--azure-600);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--azure-100); transition: all var(--dur) var(--ease);
}
.gbs-ps-list__ic svg { width: 20px; height: 20px; }
.gbs-ps-list__item:hover .gbs-ps-list__ic { background: var(--grad-azure); color: #fff; border-color: transparent; box-shadow: var(--shadow-azure); }
.gbs-ps-list__txt { font-size: 15px; line-height: 1.55; color: var(--fg2); }
.gbs-ps-list__txt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); margin-bottom: 2px; letter-spacing: -.01em; }

/* elevated logo showcase panel */
.gbs-ps-panel {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 34px 32px 32px; box-shadow: var(--shadow-lg);
}
.gbs-ps-panel__accent { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-sail); }
.gbs-ps-panel__title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--slate-500); margin: 8px 0 22px; }
.gbs-ps-logos { display: grid; gap: 18px; }
.gbs-ps-logo {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 132px;
  padding: 26px 30px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
a.gbs-ps-logo:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-md); border-color: var(--azure-200); }
.gbs-ps-logo img {
  max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
a.gbs-ps-logo:hover img { filter: none; opacity: 1; }
.gbs-ps-logo__go {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); color: var(--azure-600);
  opacity: 0; transform: translateY(-4px); transition: all var(--dur) var(--ease);
}
.gbs-ps-logo__go svg { width: 15px; height: 15px; }
a.gbs-ps-logo:hover .gbs-ps-logo__go { opacity: 1; transform: translateY(0); box-shadow: var(--shadow-sm); }

/* ============================================================
   Home — highlight section (stacked, tilted photo collage)
   ============================================================ */
.gbs-highlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.gbs-highlight__text .gbs-prose { max-width: 48ch; }

/* media stage — overlapping cards + decorative blob + floating badge */
.gbs-highlight__media { position: relative; min-height: 460px; }
.gbs-highlight__blob {
  position: absolute; z-index: 0; width: 78%; height: 78%; top: 8%; right: 2%;
  background: var(--grad-sail); border-radius: 42% 58% 56% 44% / 48% 42% 58% 52%;
  filter: blur(46px); opacity: .22; pointer-events: none;
}
.gbs-highlight__card {
  position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  border: 5px solid #fff; box-shadow: var(--shadow-lg); background: var(--bg-subtle);
  transition: transform var(--dur) var(--ease);
}
.gbs-highlight__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gbs-highlight__card--back {
  z-index: 1; width: 64%; aspect-ratio: 4 / 5; top: 0; right: 0; transform: rotate(4deg);
}
.gbs-highlight__card--front {
  z-index: 2; width: 58%; aspect-ratio: 1 / 1; bottom: 0; left: 0; transform: rotate(-5deg);
}
.gbs-highlight__media:hover .gbs-highlight__card--back  { transform: rotate(2deg) translateY(-4px); }
.gbs-highlight__media:hover .gbs-highlight__card--front { transform: rotate(-3deg) translateY(-4px); }
.gbs-highlight__badge {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-30%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-md);
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
}
.gbs-highlight__badge-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--grad-azure); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-azure); }
.gbs-highlight__badge-ic svg { width: 21px; height: 21px; }
.gbs-highlight__badge-txt { display: flex; flex-direction: column; line-height: 1.25; }
.gbs-highlight__badge-txt b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.gbs-highlight__badge-txt span { font-size: 12.5px; color: var(--fg2); }

/* ============================================================
   Showroom — invitation split + asymmetric photo mosaic
   ============================================================ */
.gbs-showroom { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.gbs-showroom__text .gbs-prose { max-width: 50ch; }
.gbs-showroom__info { margin-top: 30px; }
.gbs-showroom__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* mosaic stage */
.gbs-showroom__media { position: relative; }
.gbs-showroom__blob {
  position: absolute; z-index: 0; top: 4%; right: -5%; width: 72%; height: 72%;
  background: var(--grad-sail); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  filter: blur(50px); opacity: .2; pointer-events: none;
}
.gbs-showroom-mosaic {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1;
}
.gbs-showroom-mosaic figure {
  margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); background: var(--bg-subtle);
}
.gbs-showroom-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gbs-showroom-mosaic figure:hover img { transform: scale(1.06); }
.gbs-showroom-mosaic__a { grid-row: 1 / span 2; }
.gbs-showroom-mosaic__b { grid-column: 2; grid-row: 1; }
.gbs-showroom-mosaic__c { grid-column: 2; grid-row: 2; }
/* reposition the reused glass badge for the mosaic */
.gbs-showroom__badge { left: 16px; bottom: 16px; transform: none; }

/* story image floating glass badge */
.gbs-about__media--badge { position: relative; }
.gbs-about__badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-md);
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
}
.gbs-about__badge-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--grad-azure); color: #fff; display: flex; align-items: center; justify-content: center; }
.gbs-about__badge-ic svg { width: 20px; height: 20px; }
.gbs-about__badge-txt { display: flex; flex-direction: column; line-height: 1.25; }
.gbs-about__badge-txt b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.gbs-about__badge-txt span { font-size: 12.5px; color: var(--fg2); }

/* ---------- about: animated stat band ---------- */
.gbs-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.gbs-stat { padding: 4px 18px 4px 0; }
.gbs-stat + .gbs-stat { border-left: 1px solid var(--border); padding-left: 24px; }
.gbs-stat__num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4vw,50px);
  line-height: 1; letter-spacing: -.03em;
  background: var(--grad-sail); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gbs-stat__label { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--fg2); max-width: 24ch; }

/* ---------- about: process timeline ---------- */
.gbs-process { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 44px; }
.gbs-process::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 7px, transparent 7px 15px);
}
.gbs-step { position: relative; z-index: 1; }
.gbs-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.gbs-step__n {
  flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-azure); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; box-shadow: var(--shadow-azure);
}
.gbs-step__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--border); color: var(--azure-600); display: flex; align-items: center; justify-content: center; }
.gbs-step__ic svg { width: 18px; height: 18px; }
.gbs-step__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.015em; color: var(--ink); margin: 0 0 6px; }
.gbs-step__text { font-size: 14px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* CTA band */
.gbs-cta-band { background: var(--grad-sail); color: #fff; }
.gbs-cta-band__inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: nowrap; }
/* Text block shrinks; button group keeps its size on the right. This makes the
   single-row layout deterministic regardless of how long the heading is, so the
   band looks the same on every page (no premature wrap to a stacked layout). */
.gbs-cta-band__inner > div:first-child { flex: 1 1 auto; min-width: 0; }
.gbs-cta-band__inner > div:last-child { flex: 0 0 auto; }
.gbs-cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,3vw,38px); letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
.gbs-cta-band p { font-size: 17px; line-height: 1.6; color: #eaf6fc; margin: 0; max-width: 48ch; }
.gbs-cta-band .gbs-btn--primary { background: #fff; color: var(--azure-700); box-shadow: 0 12px 30px rgba(0,40,70,.25); }
.gbs-cta-band .gbs-btn--primary:hover { background: #f1fafe; }
/* mobile: stack the band and make both action buttons span the full width */
@media (max-width: 760px) {
  .gbs-cta-band__inner { flex-direction: column; align-items: stretch; }
  .gbs-cta-band__inner > div:last-child { flex-direction: column; align-items: stretch; width: 100%; }
  .gbs-cta-band__inner .gbs-btn { width: 100%; justify-content: center; }
}

/* compact hero (legal pages: no image) */
.gbs-page-hero--compact { min-height: 300px; background: var(--slate-900); }
.gbs-page-hero--compact .gbs-page-hero__scrim { background: linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 100%); }

/* card grid (overview hubs) */
.gbs-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gbs-card { display: flex; flex-direction: column; padding: 28px 26px 24px; box-shadow: var(--shadow-xs); transition: all var(--dur) var(--ease); color: inherit; }
a.gbs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--azure-200); }
.gbs-card__ic { width: 46px; height: 46px; border-radius: 10px; background: var(--grad-azure); color: #fff; box-shadow: var(--shadow-azure); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.gbs-card__ic svg { width: 22px; height: 22px; color: #fff; stroke: #fff; }
.gbs-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.gbs-card__text { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0 0 18px; }
.gbs-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--azure-600); }
.gbs-card__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
a.gbs-card:hover .gbs-card__more svg { transform: translateX(4px); }

/* legal prose */
.gbs-legal { max-width: 820px; }
.gbs-legal h2 { margin: 36px 0 10px; }
.gbs-legal h2:first-child { margin-top: 0; }
.gbs-legal p { font-size: 16px; line-height: 1.7; color: var(--fg2); margin: 0 0 16px; }
.gbs-legal a { color: var(--azure-600); }

/* team */
.gbs-team { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.gbs-team__card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs); transition: all var(--dur) var(--ease); }
.gbs-team__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gbs-team__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; display: block; background: var(--bg-subtle); }
.gbs-team__body { padding: 20px 22px 24px; }
.gbs-team__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; color: var(--ink); margin: 0 0 4px; }
.gbs-team__role { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--azure-600); font-weight: 600; margin: 0 0 14px; }
.gbs-team__contact { display: flex; flex-direction: column; gap: 8px; }
.gbs-team__contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg2); word-break: break-word; }
.gbs-team__contact a:hover { color: var(--azure-600); }
.gbs-team__contact svg { width: 15px; height: 15px; color: var(--azure-500); flex: none; }

/* opening hours */
.gbs-hours-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gbs-hours-split__intro .gbs-section__lead { margin-top: 14px; }
.gbs-hours-split .gbs-hours-card { width: 100%; max-width: 520px; justify-self: end; margin-top: 0; }
/* opening hours — modern card */
.gbs-hours-card {
  margin-top: 26px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 10px 10px 6px;
  box-shadow: var(--shadow-sm);
}
.gbs-hours-card__head {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.gbs-hours-card__ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-azure); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-azure);
}
.gbs-hours-card__ic svg { width: 21px; height: 21px; }
.gbs-hours-card__head .gbs-status { margin: 0; }

.gbs-hours { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; }
.gbs-hours th, .gbs-hours td { padding: 14px 14px; font-size: 15.5px; vertical-align: middle; }
.gbs-hours th { text-align: left; font-weight: 600; color: var(--ink); }
.gbs-hours td { text-align: right; color: var(--fg2); font-variant-numeric: tabular-nums; }
.gbs-hours tr:not(:last-child) th, .gbs-hours tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}
.gbs-hours tr { transition: background var(--dur) var(--ease); }

/* ---------- kontakt: quick channels (overlap hero) ---------- */
/* extra bottom room so the overlapping strip clears the hero lead text */
.gbs-page-hero--with-strip .gbs-page-hero__content { padding-bottom: 120px; }
.gbs-channels-wrap { padding-top: 0; }
.gbs-channels {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
  position: relative; z-index: 5; margin-top: -78px;
}
.gbs-channel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 16px; color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,249,250,.92));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 22px; box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur) var(--ease);
}
.gbs-channel::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -65%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: left .75s var(--ease-out);
}
.gbs-channel:hover::after { left: 135%; }
.gbs-channel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--azure-200); }
.gbs-channel__ic {
  position: relative; flex: none; width: 50px; height: 50px; border-radius: 13px;
  background: var(--azure-50); color: var(--azure-600);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.gbs-channel__ic::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-sail); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gbs-channel__ic svg { position: relative; z-index: 1; width: 22px; height: 22px; }
.gbs-channel:hover .gbs-channel__ic { color: #fff; transform: rotate(-4deg); box-shadow: var(--shadow-azure); }
.gbs-channel:hover .gbs-channel__ic::before { opacity: 1; }
.gbs-channel__meta { display: flex; flex-direction: column; min-width: 0; }
.gbs-channel__label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--azure-600); margin-bottom: 4px; }
.gbs-channel__value { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbs-channel__go { margin-left: auto; flex: none; color: var(--slate-400); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gbs-channel__go svg { width: 18px; height: 18px; }
.gbs-channel:hover .gbs-channel__go { color: var(--azure-600); transform: translate(2px,-2px); }

/* ---------- kontakt: assurances + location tiles ---------- */
.gbs-assure { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.gbs-assure li { display: flex; gap: 14px; align-items: flex-start; }
.gbs-assure__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--surface-tint); color: var(--azure-600); display: flex; align-items: center; justify-content: center; }
.gbs-assure__ic svg { width: 19px; height: 19px; }
.gbs-assure b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.gbs-assure span { font-size: 14px; line-height: 1.5; color: var(--fg2); }
.gbs-loc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.gbs-loc { display: flex; gap: 12px; padding: 16px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-subtle); }
.gbs-loc__ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--border); color: var(--azure-600); display: flex; align-items: center; justify-content: center; }
.gbs-loc__ic svg { width: 17px; height: 17px; }
.gbs-loc__body b { display: block; font-size: 14px; color: var(--ink); font-weight: 700; margin-bottom: 3px; }
.gbs-loc__body span { font-size: 13.5px; line-height: 1.5; color: var(--fg2); }
.gbs-loc__body em { display: block; font-style: normal; font-size: 12.5px; color: var(--slate-500); margin-top: 4px; }

/* ---------- kontakt: open/closed status + today row ---------- */
.gbs-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; }
.gbs-status__dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.gbs-status.is-open { background: var(--success-bg); color: var(--success); }
.gbs-status.is-open .gbs-status__dot { background: var(--success); box-shadow: 0 0 0 0 rgba(31,157,107,.5); animation: gbs-pulse 2s var(--ease) infinite; }
.gbs-status.is-soon { background: var(--warning-bg); color: var(--warning); }
.gbs-status.is-soon .gbs-status__dot { background: var(--warning); }
.gbs-status.is-closed { background: var(--bg-muted); color: var(--slate-600); }
.gbs-status.is-closed .gbs-status__dot { background: var(--slate-400); }
@keyframes gbs-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,107,.45); } 70% { box-shadow: 0 0 0 7px rgba(31,157,107,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,107,0); } }
.gbs-hours tr.is-today th, .gbs-hours tr.is-today td { color: var(--azure-700); font-weight: 700; background: var(--azure-50); border-bottom-color: transparent !important; }
.gbs-hours tr.is-today th { position: relative; padding-left: 30px; border-radius: 12px 0 0 12px; }
.gbs-hours tr.is-today td { border-radius: 0 12px 12px 0; }
.gbs-hours tr.is-today th::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 999px; background: var(--azure-500); box-shadow: 0 0 0 4px var(--azure-100, rgba(0,153,214,.18)); }

@media (prefers-reduced-motion: reduce) {
  .gbs-channel { transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
  .gbs-channel:hover { transform: none; }
  .gbs-channel::after { display: none; }
  .gbs-channel:hover .gbs-channel__ic { transform: none; }
  .gbs-status.is-open .gbs-status__dot { animation: none; }
}

/* ---------- im-bad: intro split ---------- */
.gbs-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gbs-split__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- im-bad: masonry reference gallery ---------- */
.gbs-masonry { column-count: 3; column-gap: 18px; margin-top: 36px; }
.gbs-masonry__item {
  break-inside: avoid; position: relative; display: block; width: 100%; margin: 0 0 18px;
  padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.gbs-masonry__item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gbs-masonry__item:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.gbs-masonry__item img { display: block; width: 100%; height: auto; transition: transform var(--dur-slow) var(--ease-out); }
.gbs-masonry__item:hover img { transform: scale(1.06); }
.gbs-masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8,38,64,.6)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gbs-masonry__item:hover::after { opacity: 1; }
.gbs-masonry__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; color: #fff; font-weight: 600; font-size: 14px; text-align: left;
  transform: translateY(8px); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.gbs-masonry__item:hover .gbs-masonry__cap { transform: none; opacity: 1; }
.gbs-masonry__cap svg { width: 18px; height: 18px; flex: none; }

/* ---------- lightbox ---------- */
.gbs-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8,20,32,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: gbs-lb-in .2s var(--ease); }
.gbs-lightbox[hidden] { display: none; }
@keyframes gbs-lb-in { from { opacity: 0; } to { opacity: 1; } }
.gbs-lightbox__stage { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gbs-lightbox__stage img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.gbs-lightbox__cap { color: #dfeaf2; font-size: 14.5px; text-align: center; }
.gbs-lightbox__close, .gbs-lightbox__nav { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.gbs-lightbox__close:hover, .gbs-lightbox__nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }
.gbs-lightbox__close { position: absolute; top: 18px; right: 18px; }
.gbs-lightbox__close svg { width: 22px; height: 22px; }
.gbs-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gbs-lightbox__nav--prev { left: 18px; }
.gbs-lightbox__nav--next { right: 18px; }
.gbs-lightbox__nav svg { width: 24px; height: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .gbs-nav, .gbs-header__cta { display: none; }
  .gbs-header__burger { display: block; margin-left: auto; }
  .gbs-gallery, .gbs-cards, .gbs-team { grid-template-columns: repeat(2,1fr); }
  .gbs-about__grid, .gbs-contact, .gbs-hours-split { grid-template-columns: 1fr; gap: 36px; }
  .gbs-about__grid--rev .gbs-about__media, .gbs-about__grid--rev .gbs-about__body { order: 0; }
  .gbs-hours-split .gbs-hours-card { justify-self: stretch; max-width: none; }
  .gbs-channels { grid-template-columns: 1fr; margin-top: -64px; }
  .gbs-stats, .gbs-process { grid-template-columns: repeat(2,1fr); }
  .gbs-process::before { display: none; }
  .gbs-stat + .gbs-stat { border-left: 0; padding-left: 0; }
  .gbs-split { grid-template-columns: 1fr; gap: 40px; }
  .gbs-ps-split { grid-template-columns: 1fr; gap: 40px; }
  .gbs-ps-split--rev .gbs-ps-split__text { order: 1; }
  .gbs-ps-split--rev .gbs-ps-panel { order: 2; }
  .gbs-highlight__grid { grid-template-columns: 1fr; gap: 48px; }
  .gbs-highlight__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .gbs-showroom { grid-template-columns: 1fr; gap: 44px; }
  .gbs-showroom__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .gbs-masonry { column-count: 2; }
}
@media (max-width: 600px) {
  .gbs-gallery, .gbs-footer__grid, .gbs-features, .gbs-cards, .gbs-team { grid-template-columns: 1fr; }
  .gbs-hero__actions { flex-direction: column; align-items: stretch; }
  .gbs-hero__actions .gbs-btn { width: 100%; justify-content: center; }
  .gbs-contact__media img { min-height: 260px; }
  .gbs-section { padding: 64px 0; }
  .gbs-highlight__media { min-height: 380px; }
  .gbs-highlight__badge { left: auto; right: 8px; transform: none; }
  .gbs-cta-band__inner { padding: 48px 24px; }
  .gbs-process { grid-template-columns: 1fr; }
  .gbs-loc-tiles { grid-template-columns: 1fr; }
  .gbs-split__cards { grid-template-columns: 1fr; }
  .gbs-masonry { column-count: 1; }
  .gbs-masonry__cap { transform: none; opacity: 1; }
  .gbs-lightbox__nav { width: 42px; height: 42px; }
  .gbs-lightbox__nav--prev { left: 10px; }
  .gbs-lightbox__nav--next { right: 10px; }
}

/* hero: respect reduced motion (no zoom, instant slide swap) */
@media (prefers-reduced-motion: reduce) {
  .gbs-hero--slideshow .gbs-hero__img { animation: none; }
  .gbs-hero__slide { transition: none; }
}

/* reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .gbs-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .gbs-reveal.is-in { opacity: 1; transform: none; }
}
