@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/spacegrotesk-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/spacegrotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #061a41;
  --bg-soft: #0a1d45;
  --text: #f4f6fb;
  --muted: #c5cbe0;
  --primary: #1d3a72;
  --secondary: #7f99c7;
  --accent: #ede0d0;
  --card-border: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius-soft: 10px;
  --radius-strong: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-padding-top: 3.1rem;
}

[id] {
  scroll-margin-top: 3.1rem;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(127, 153, 199, 0.24), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(237, 224, 208, 0.16), transparent 30%),
    linear-gradient(145deg, var(--bg), #102f6b 50%, #131f39);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

body.is-scrolled .site-header {
  height: 5.4rem;
  background: linear-gradient(180deg, rgba(6, 26, 65, 0.97), rgba(10, 29, 69, 0.9));
  border-bottom-color: rgba(237, 224, 208, 0.25);
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -2;
  animation: float 12s ease-in-out infinite;
}

.orb-one {
  width: 26rem;
  height: 26rem;
  background: linear-gradient(135deg, rgba(127, 153, 199, 0.45), rgba(237, 224, 208, 0.15));
  top: -7rem;
  left: -8rem;
}

.orb-two {
  width: 20rem;
  height: 20rem;
  background: linear-gradient(135deg, rgba(237, 224, 208, 0.35), rgba(127, 153, 199, 0.14));
  bottom: -6rem;
  right: -4rem;
  animation-delay: -4s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
  z-index: -3;
  opacity: 0.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 5.4rem;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(6, 26, 65, 0.92), rgba(10, 29, 69, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  margin: 0 auto;
}

.header-actions {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.header-phone {
  color: #f2f6ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions > .btn-outline {
  position: absolute;
  right: 0;
  position: static;
  height: 2.35rem;
  min-height: 2.35rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 9.4rem;
  width: auto;
  display: block;
  margin-top: 1.15rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: height 260ms ease, margin-top 260ms ease, filter 260ms ease;
}

body.is-scrolled .brand-logo img {
  height: 3.6rem;
  margin-top: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.site-nav a {
  color: #d8deef;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease;
  border-radius: 999px;
  padding: 0.42rem 0.86rem;
  font-weight: 500;
  font-size: 0.88rem;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-toggle {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 1rem;
  height: 2px;
  background: #f4f6fb;
  border-radius: 99px;
  transition: transform 220ms ease, opacity 220ms ease;
  transform-origin: center;
}

.site-header.is-menu-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1460px) {
  .site-header {
    justify-content: flex-start;
  }

  .header-main {
    margin: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 1240px) {
  .header-phone {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-phone::before {
    content: "\260E";
    font-size: 1rem;
    line-height: 1;
  }
}

main {
  width: 100%;
  max-width: none;
  margin: 2.2rem 0 5rem;
  display: grid;
  gap: 2.8rem;
}

.glass {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  border-radius: var(--radius-strong);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "content media"
    "stats stats";
  position: relative;
  overflow: clip;
}

.hero-premium {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding-left: clamp(1rem, 5vw, 4.5rem);
  padding-right: clamp(1rem, 5vw, 4.5rem);
  min-height: min(88vh, 860px);
}

.hero-one-message {
  grid-template-columns: 1fr;
  grid-template-areas: "content";
  min-height: min(92vh, 980px);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(calc(1 + var(--hero-morph, 0)));
  transform-origin: center;
  transition: transform 300ms ease;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 26, 65, 0.9) 20%, rgba(6, 26, 65, 0.42) 56%, rgba(6, 26, 65, 0.88) 100%),
    linear-gradient(180deg, rgba(6, 26, 65, 0.2), rgba(6, 26, 65, 0.78));
}

.hero-backdrop picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.06);
  transition: transform 220ms ease-out;
}

.hero-content {
  grid-area: content;
  z-index: 1;
  align-self: center;
  max-width: 72ch;
}

.hero-one-message .hero-content {
  margin-inline: auto;
  text-align: center;
  max-width: 23ch;
}

.hero-kicker {
  display: inline-flex;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 224, 208, 0.55);
  background: rgba(237, 224, 208, 0.15);
  color: #fff;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-media {
  grid-area: media;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 8.2vw, 6.1rem);
  margin-top: 0.75rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.96;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

h1 span {
  background: linear-gradient(90deg, var(--secondary), var(--accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 8.2vw, 6.1rem);
  margin: 0.75rem 0 0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.96;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-weight: 700;
}

.hero-title span {
  background: linear-gradient(90deg, var(--secondary), var(--accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 1.35rem;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.13rem;
  line-height: 1.75;
}

.hero-one-message .lead {
  max-width: 34ch;
  margin-inline: auto;
}

.hero-impact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-impact-list li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 26, 65, 0.35);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f7f9ff;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-one-message .hero-actions {
  justify-content: center;
}

.hero-media {
  position: relative;
}

.hero-carousel {
  position: relative;
  transition: height 320ms ease;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(14px) scale(0.995);
  pointer-events: none;
  transition: opacity 340ms ease, transform 340ms ease;
}

.hero-carousel-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

picture {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

picture img {
  display: block;
}

.hero-carousel-slide > picture {
  width: 100%;
}

.hero-main-image {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  animation: pulseGlow 7s ease-in-out infinite;
}

.hero-main-video {
  background: #061a41 center / cover no-repeat;
}

.hero-grid-images {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-grid-images picture {
  min-width: 0;
}

.hero-grid-images img {
  width: 100%;
  height: 98px;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 250ms ease;
}

.hero-grid-images img:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-carousel-control {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(6, 26, 65, 0.62);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hero-carousel-prev {
  left: -0.65rem;
}

.hero-carousel-next {
  right: -0.65rem;
}

.hero-carousel-dots {
  margin-top: 0.65rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.hero-carousel-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  background: var(--accent);
}

.hero-one-message .hero-kicker,
.hero-one-message .eyebrow,
.hero-one-message .hero-impact-list,
.hero-one-message .hero-media,
  .hero-one-message .hero-grid-images,
.hero-one-message .hero-stats {
  display: none;
}

.hero-media-caption {
  margin: 0.65rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

main img:not(.hero-backdrop img) {
  cursor: zoom-in;
}

body.is-scrolled .hero-main-image {
  border-radius: 1.5rem;
}

.btn {
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.76rem 1.22rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--primary), #102f6b);
  box-shadow: 0 10px 30px rgba(16, 47, 107, 0.45);
}

.btn-outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  grid-area: stats;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  z-index: 1;
}

.hero-stats article {
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  border-radius: var(--radius-strong);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: clamp(2.2rem, 5vw, 4.3rem) clamp(1rem, 5vw, 4.2rem);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section > * {
  width: min(1200px, calc(100% - 0.5rem));
  margin-left: auto;
  margin-right: auto;
}

.section-intro-cinematic {
  background:
    radial-gradient(circle at 12% 18%, rgba(237, 224, 208, 0.16), transparent 44%),
    linear-gradient(120deg, rgba(29, 58, 114, 0.25), rgba(10, 29, 69, 0.35));
}

.cinematic-intro {
  text-align: center;
  max-width: 78ch;
}

.cinematic-intro h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.45rem auto 0;
  letter-spacing: -0.01em;
}

.cinematic-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 1.05rem auto 0;
}

.cinematic-intro h1.eyebrow {
  text-transform: none;
  letter-spacing: normal;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(244, 246, 251, 0.92);
  margin: 0.35rem auto 0;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  max-width: 18ch;
  line-height: 1.14;
}

.card-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1rem;
  border-radius: var(--radius-soft);
}

.morph {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.18),
    inset -1px -1px 2px rgba(0, 0, 0, 0.25),
    0 14px 26px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.morph:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.2),
    inset -1px -1px 2px rgba(0, 0, 0, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.36);
}

.card p {
  color: var(--muted);
}

.technik-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.technik-intro p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: 1.06rem;
  line-height: 1.75;
}

.technik-points {
  padding: 1rem;
}

.technik-points h3 {
  margin-bottom: 0.75rem;
}

.technik-points ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.process-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  padding: 1rem;
}

.process-card span {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.process-card p {
  color: var(--muted);
  line-height: 1.7;
}

.section-image-row {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.section-image-row picture {
  min-width: 0;
}

.section-image-row img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.section-highlight {
  background: linear-gradient(135deg, rgba(127, 153, 199, 0.2), rgba(237, 224, 208, 0.1));
}

.timeline {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 180px;
  gap: 0.9rem;
  align-items: start;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item > div {
  min-width: 0;
}

.timeline-item h3 {
  margin: 0;
  line-height: 1.2;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--secondary), var(--accent));
  box-shadow: 0 0 0 6px rgba(127, 153, 199, 0.22);
}

.timeline-item p {
  color: var(--muted);
  margin: 0.35rem 0 0;
  line-height: 1.7;
}

.timeline-item picture {
  width: 180px;
  flex-shrink: 0;
  justify-self: end;
}

.timeline-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.referenz-image-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.referenz-image-strip picture {
  min-width: 0;
}

.referenz-image-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-cta {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.referenzen-cta {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-shell {
  position: relative;
  margin-top: 1.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-grid-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(6, 26, 65, 0.78);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-grid-nav:hover {
  background: rgba(6, 26, 65, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.gallery-grid-prev {
  left: -0.35rem;
}

.gallery-grid-next {
  right: -0.35rem;
}

.gallery-grid-counter {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.gallery-grid picture {
  min-width: 0;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: var(--bg);
  cursor: pointer;
  transition: box-shadow 180ms ease, outline-color 180ms ease;
}

.gallery-grid img.is-gallery-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 196, 77, 0.2);
}

.instagram-copy {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

.instagram-embed {
  margin-top: 1.35rem;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.instagram-embed iframe {
  width: 100%;
  min-height: 680px;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
}

.instagram-embed .elfsight-app-ea8ebdd9-16f4-4ff5-8c3f-35e074b07497 {
  min-height: 680px;
}

.instagram-support-images {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.instagram-support-images picture {
  min-width: 0;
}

.instagram-support-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.instagram-cta {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.faq-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.faq-item {
  border-radius: var(--radius-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem;
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}

.contact p {
  color: var(--muted);
}

.contact-box {
  border-radius: var(--radius-soft);
  padding: 1rem;
}

.contact-box p {
  margin: 0 0 0.7rem;
}

.contact-box a {
  color: #fff;
}

.full {
  width: 100%;
  margin-top: 0.5rem;
}

.site-footer {
  padding: 1.8rem 1.2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #dbe2f5;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: rgba(2, 9, 24, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(6, 26, 65, 0.72);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-nav:hover {
  background: rgba(6, 26, 65, 0.92);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: max(0.75rem, 2vw);
}

.lightbox-next {
  right: max(0.75rem, 2vw);
}

.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  z-index: 2;
}

.scroll-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(160deg, rgba(6, 26, 65, 0.95), rgba(16, 47, 107, 0.95));
  color: #f4f6fb;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 35;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-22px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
  }
  50% {
    transform: scale(1.012);
    box-shadow: 0 26px 58px rgba(29, 58, 114, 0.5);
  }
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-flex;
    position: static;
    z-index: 31;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.75rem;
    left: auto;
    width: max-content;
    max-width: calc(100vw - 1.5rem);
    padding: 0.7rem;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(6, 26, 65, 0.97), rgba(16, 47, 107, 0.95));
    border-color: rgba(127, 153, 199, 0.4);
    backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 30;
  }

  .site-header.is-menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: auto;
    text-align: left;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media"
      "stats";
  }

  .hero-premium {
    min-height: auto;
    margin-left: 0;
    width: 100%;
    border-radius: var(--radius-strong);
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }

  .section {
    margin-left: 0;
    width: 100%;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }

  .section > * {
    width: 100%;
  }

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

  .technik-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-image-row,
  .referenz-image-strip,
  .instagram-support-images {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid-prev {
    left: 0.2rem;
  }

  .gallery-grid-next {
    right: 0.2rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item picture {
    width: 100%;
    justify-self: stretch;
  }

  .timeline-item img {
    width: 100%;
    height: 180px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    justify-content: flex-start;
  }

  .header-main {
    margin: 0;
    justify-content: flex-start;
  }

  .site-nav .nav-link-links {
    display: none;
  }
}

/* iPhone Safari fallback: avoid white background below hero */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    html,
    body {
      background-color: #061a41;
    }

    body {
      background-attachment: scroll;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-orb,
  .hero-main-image {
    animation: none;
  }

  .hero-backdrop,
  .hero-backdrop picture,
  .hero-backdrop img {
    transition: none;
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 4.8rem;
    gap: 0.65rem;
  }

  body.is-scrolled .site-header {
    height: 4.8rem;
  }

  .brand-logo img {
    height: 7.6rem;
    margin-top: 0.95rem;
  }

  body.is-scrolled .brand-logo img {
    height: 3.3rem;
    margin-top: 0;
  }

  .site-header {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .header-main {
    width: auto;
    justify-content: flex-start;
  }

  .header-actions {
    position: static;
    margin-left: auto;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .site-header {
    height: 5.1rem;
    gap: 0.9rem;
    justify-content: flex-start;
  }

  body.is-scrolled .site-header {
    height: 5.1rem;
  }

  .header-main {
    margin: 0;
    justify-content: flex-start;
  }

  .brand-logo img {
    height: 8.4rem;
    margin-top: 0.9rem;
  }

  body.is-scrolled .brand-logo img {
    height: 3.45rem;
    margin-top: 0;
  }
}
