/* Bosse Media – static onepager
   No framework, no external fonts, no tracking.
*/

:root {
  --bg: #020712;
  --bg-soft: #07111f;
  --panel: rgba(8, 22, 40, .72);
  --panel-strong: rgba(4, 13, 26, .92);

  --text: #f6f8fb;
  --muted: #aab8c9;
  --muted-2: #75869a;

  --line: rgba(142, 177, 214, .18);

  --blue: #59baff;
  --blue-strong: #258fff;
  --blue-soft: #8ad2ff;

  --glow: rgba(37, 143, 255, .36);

  --radius: 26px;
  --radius-sm: 18px;

  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 86px;

  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}


/* =========================================================
   RESET
========================================================= */

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

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

body {
  margin: 0;

  color: var(--text);

  background:
    radial-gradient(circle at 75% 0%,
      rgba(34, 112, 220, .08),
      transparent 30rem),
    var(--bg);

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.65;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  background: rgba(89, 186, 255, .3);
  color: #fff;
}


/* =========================================================
   GLOBAL
========================================================= */

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;

  top: 12px;
  left: 12px;

  transform: translateY(-160%);

  padding: 10px 14px;

  border-radius: 10px;

  background: #fff;
  color: #000;

  transition: transform .2s ease;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: absolute;
  inset: 0 0 auto;

  z-index: 30;
}

.site-header.is-scrolled {
  position: fixed;

  background: rgba(2, 7, 18, .82);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: var(--header-h);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.brand {
  font-size: 19px;
  line-height: 1;

  letter-spacing: -.02em;

  font-weight: 300;

  white-space: nowrap;
}

.brand-accent {
  color: var(--blue-soft);

  font-weight: 650;
}

.main-nav {
  display: flex;
  align-items: center;

  gap: 34px;

  font-size: 14px;
}

.main-nav>a:not(.nav-mail) {
  color: #dbe5ef;

  transition: color .2s ease;
}

.main-nav>a:not(.nav-mail):hover,
.main-nav>a:not(.nav-mail):focus-visible {
  color: var(--blue-soft);
}


/* =========================================================
   BUTTONS
========================================================= */

.nav-mail,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  border: 1px solid rgba(138, 210, 255, .62);
  border-radius: 999px;

  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.nav-mail {
  padding: 9px 15px;
}

.nav-mail svg,
.button svg {
  width: 17px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-mail:hover,
.button:hover {
  border-color: var(--blue);

  background: rgba(60, 158, 255, .08);

  box-shadow:
    0 0 28px rgba(37, 143, 255, .13);
}

.button {
  min-height: 48px;

  padding: 11px 20px;

  color: #eef7ff;

  font-size: 14px;
}

.button svg:last-child {
  margin-left: 3px;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
  margin: 0 0 20px;

  color: var(--blue-soft);

  font-size: 12px;
  font-weight: 650;

  letter-spacing: .28em;

  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -.045em;

  font-weight: 430;
}

h1 {
  margin-bottom: 24px;

  font-size: clamp(3.6rem, 6vw, 6rem);

  line-height: .98;
}

h1 span {
  color: var(--blue);

  text-shadow:
    0 0 42px rgba(37, 143, 255, .18);
}

.accent-line {
  width: 48px;
  height: 2px;

  margin: 0 0 26px;

  background:
    linear-gradient(90deg,
      var(--blue),
      rgba(89, 186, 255, .08));

  box-shadow:
    0 0 18px rgba(37, 143, 255, .35);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100svh;

  padding: 150px 0 82px;

  overflow: hidden;

  isolation: isolate;
}

.hero::after {
  content: "";

  position: absolute;

  z-index: -2;

  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(2, 7, 18, .99) 0%,
      rgba(2, 7, 18, .95) 31%,
      rgba(2, 7, 18, .42) 54%,
      rgba(2, 7, 18, .08) 78%,
      rgba(2, 7, 18, .28) 100%),
    linear-gradient(180deg,
      transparent 58%,
      var(--bg) 100%);

  pointer-events: none;
}

.hero-glow {
  position: absolute;

  z-index: -3;

  width: 820px;
  height: 820px;

  right: -200px;
  top: -250px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(25, 135, 255, .2),
      rgba(25, 135, 255, .04) 42%,
      transparent 70%);

  filter: blur(20px);
}

.hero-grid {
  position: relative;

  min-height: 520px;

  display: grid;

  grid-template-columns:
    minmax(0, .95fr) minmax(480px, 1.05fr);

  align-items: center;

  gap: 38px;
}

.hero-copy {
  position: relative;

  z-index: 3;

  padding-bottom: 30px;
}

.hero-intro {
  max-width: 490px;

  margin: 0 0 30px;

  color: #d8e2ec;

  font-size: clamp(1.05rem, 1.5vw, 1.3rem);

  line-height: 1.55;
}


/* =========================================================
   HERO IMAGE – FULL BLEED
========================================================= */

.hero-visual {
  position: absolute;

  z-index: 1;

  top: -95px;

  /*
   * Hero-Grid liegt im 1180px Content-Raster.
   * Dadurch wird das Bild bis zum Browserrand gezogen.
   */
  right: calc((100vw - 100%) / -2);

  width: min(900px, 62vw);
  height: 650px;

  overflow: hidden;

  pointer-events: none;
  user-select: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center right;

  filter:
    drop-shadow(0 30px 75px rgba(11, 108, 255, .15));

  /*
   * Bild läuft rechts vollständig zum Rand.
   * Nur links wird es weich in den Hintergrund eingeblendet.
   */
  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, .25) 9%,
      #000 27%,
      #000 100%);

  mask-image:
    linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, .25) 9%,
      #000 27%,
      #000 100%);
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.service-grid {
  position: relative;

  z-index: 5;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;

  margin-top: 26px;
}

.service-card {
  min-height: 300px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 32px;

  border:
    1px solid rgba(86, 174, 255, .28);

  border-radius: var(--radius);

  background:
    linear-gradient(145deg,
      rgba(9, 27, 49, .88),
      rgba(3, 12, 24, .68)),
    radial-gradient(circle at 16% 0%,
      rgba(56, 148, 255, .1),
      transparent 40%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    var(--shadow);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(92, 187, 255, .5);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 30px 90px rgba(0, 0, 0, .36),
    0 0 45px rgba(37, 143, 255, .08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 38px;
}

.service-index {
  color: #91a5ba;

  font-size: 12px;

  letter-spacing: .2em;
}

.icon-badge {
  width: 48px;
  height: 48px;

  display: grid;

  place-items: center;

  border:
    1px solid rgba(89, 186, 255, .45);

  border-radius: 15px;

  color: var(--blue-soft);

  background:
    linear-gradient(145deg,
      rgba(30, 114, 214, .18),
      rgba(5, 19, 37, .48));

  box-shadow:
    inset 0 0 20px rgba(51, 146, 255, .06);

  font-size: 22px;
  font-weight: 550;
}

.icon-badge svg {
  width: 24px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.4;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2 {
  margin: 0 0 16px;

  font-size:
    clamp(2rem, 3vw, 3.1rem);

  line-height: 1.08;
}

.service-card p {
  max-width: 520px;

  margin: 0;

  color: var(--muted);

  font-size: 15px;
}


/* =========================================================
   MEDIA SECTIONS
========================================================= */

.media-section {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  min-height: 640px;

  width: 100%;
}

.media-bg {
  position: absolute;

  z-index: -3;

  inset: 0;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
}


/* =========================================================
   PROFILE / WALL IMAGE – FULL BLEED
========================================================= */

.profile-section {
  position: relative;

  width: 100%;

  overflow: hidden;
}

.profile-section .media-bg {
  position: absolute;

  top: 0;

  /*
   * Bild bewusst etwas größer als der Viewport.
   * Verhindert sichtbare Kanten und gibt Spielraum
   * für unterschiedliche Bildschirmformate.
   */
  left: -5vw;

  width: 110vw;
  height: 100%;

  max-width: none;

  object-fit: cover;

  /*
   * Architektur bleibt auf der rechten Seite.
   */
  object-position: 64% center;
}

.media-overlay {
  position: absolute;

  z-index: -2;

  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(2, 8, 18, .99) 0%,
      rgba(2, 8, 18, .95) 30%,
      rgba(2, 8, 18, .68) 46%,
      rgba(2, 8, 18, .18) 70%,
      rgba(2, 8, 18, .08) 100%),
    linear-gradient(180deg,
      rgba(2, 7, 18, .18),
      rgba(2, 7, 18, .44));
}

.media-content {
  min-height: 640px;

  display: flex;

  align-items: center;
}

.content-narrow {
  max-width: 520px;
}

.content-narrow h2,
.vision-content h2,
.contact-content h2 {
  margin-bottom: 24px;

  font-size:
    clamp(2.4rem, 4.5vw, 4.5rem);

  line-height: 1.04;
}

.content-narrow>p:not(.eyebrow):not(.qualification) {
  max-width: 450px;

  color: #c7d0db;
}

.qualification {
  margin: 20px 0 0;

  color: #8499ae;

  font-size: 14px;
}


/* =========================================================
   VISION / WAVES
========================================================= */

.vision-section {
  min-height: 540px;
}

.vision-section .media-bg {
  width: 100vw;
  height: 100%;

  object-position: center 55%;
}

.vision-fade {
  position: absolute;

  z-index: -2;

  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(2, 7, 18, .12),
      rgba(2, 7, 18, .68)),
    linear-gradient(90deg,
      rgba(2, 7, 18, .56),
      transparent 60%);
}

.vision-content {
  min-height: 540px;

  display: grid;

  grid-template-columns:
    1.4fr .6fr;

  align-items: end;

  gap: 80px;

  padding-top: 90px;
  padding-bottom: 84px;
}

.vision-content h2 {
  margin-bottom: 24px;
}

.vision-content>p {
  max-width: 290px;

  margin: 0 0 22px;

  color: #d3dce6;

  font-size: 17px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  position: relative;

  min-height: 620px;

  display: flex;

  align-items: center;

  overflow: hidden;

  isolation: isolate;

  background:
    linear-gradient(180deg,
      #030914,
      #020711);
}

.contact-glow {
  position: absolute;

  z-index: -2;

  right: -220px;
  bottom: -270px;

  width: 820px;
  height: 820px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(29, 127, 255, .25),
      rgba(4, 34, 76, .08) 43%,
      transparent 70%);

  filter: blur(18px);
}

.contact-orbit {
  position: absolute;

  z-index: -1;

  width: min(660px, 52vw);

  max-width: none;

  right: -80px;
  bottom: -110px;

  opacity: .92;
}

.contact-content {
  padding-top: 90px;
  padding-bottom: 90px;
}

.contact-content>p:not(.eyebrow) {
  color: var(--muted);
}

.button-mail {
  min-height: 52px;

  margin-top: 12px;

  padding-inline: 20px;

  background:
    rgba(3, 14, 28, .52);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  border-top:
    1px solid var(--line);

  background: #02060e;
}

.footer-grid {
  min-height: 150px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.footer-grid p {
  margin: 9px 0 0;

  color: var(--muted-2);

  font-size: 13px;
}

.footer-grid nav {
  display: flex;

  gap: 28px;

  color: #98a8b9;

  font-size: 13px;
}

.footer-grid nav a:hover {
  color: var(--blue-soft);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  :root {
    --shell:
      min(100% - 40px, 820px);
  }


  /* HERO */

  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    min-height: 660px;

    grid-template-columns: 1fr;

    align-items: start;
  }

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

  .hero-visual {
    top: 150px;

    right:
      calc((100vw - 100%) / -2);

    width: min(780px, 86vw);
    height: 520px;

    opacity: .82;
  }

  .hero-visual img {
    object-position: 64% center;

    -webkit-mask-image:
      linear-gradient(to right,
        transparent 0%,
        rgba(0, 0, 0, .3) 14%,
        #000 34%,
        #000 100%);

    mask-image:
      linear-gradient(to right,
        transparent 0%,
        rgba(0, 0, 0, .3) 14%,
        #000 34%,
        #000 100%);
  }


  /* CARDS */

  .service-grid {
    margin-top: 20px;
  }

  .service-card {
    min-height: 280px;
  }


  /* WALL */

  .profile-section .media-bg {
    left: -8vw;

    width: 116vw;

    object-position: 66% center;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

  :root {
    --shell:
      calc(100% - 32px);

    --header-h: 72px;

    --radius: 20px;
  }

  body.nav-open {
    overflow: hidden;
  }


  /* HEADER */

  .site-header {
    position: absolute;
  }

  .site-header.is-scrolled {
    position: fixed;
  }

  .brand {
    font-size: 17px;
  }


  /* MOBILE MENU */

  .menu-toggle {
    width: 44px;
    height: 44px;

    display: grid;

    align-content: center;
    justify-items: end;

    gap: 7px;

    padding: 0 4px;

    border: 0;

    background: transparent;

    color: #fff;

    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 24px;
    height: 1px;

    background: currentColor;

    transition:
      transform .22s ease,
      width .22s ease;
  }

  .menu-toggle span:nth-child(3) {
    width: 17px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform:
      translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    width: 24px;

    transform:
      translateY(-4px) rotate(-45deg);
  }


  .main-nav {
    position: fixed;

    inset:
      var(--header-h) 0 auto;

    display: grid;

    gap: 0;

    padding:
      14px 16px 22px;

    border-bottom:
      1px solid var(--line);

    background:
      rgba(2, 7, 18, .97);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform:
      translateY(-130%);

    opacity: 0;

    pointer-events: none;

    transition:
      transform .24s ease,
      opacity .24s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);

    opacity: 1;

    pointer-events: auto;
  }

  .main-nav>a {
    min-height: 52px;

    display: flex;

    align-items: center;

    padding-inline: 8px;

    border-bottom:
      1px solid var(--line);
  }

  .main-nav .nav-mail {
    margin-top: 14px;

    border:
      1px solid rgba(138, 210, 255, .5);
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding:
      118px 0 60px;
  }

  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(2, 7, 18, .06) 0%,
        rgba(2, 7, 18, .14) 30%,
        rgba(2, 7, 18, .55) 51%,
        var(--bg) 72%),
      linear-gradient(90deg,
        rgba(2, 7, 18, .88),
        rgba(2, 7, 18, .08));
  }

  .hero-grid {
    min-height: 590px;

    display: block;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 14px;

    font-size: 10px;

    letter-spacing: .24em;
  }

  h1 {
    font-size:
      clamp(3rem, 13vw, 4.25rem);

    line-height: .98;
  }

  .hero-intro {
    max-width: 350px;

    font-size: 1rem;
  }

  .button-outline {
    margin-top: 6px;
  }


  /* HERO IMAGE MOBILE */

  .hero-visual {
    top: 245px;

    right: -16px;

    width: 105vw;
    height: 350px;

    opacity: .88;
  }

  .hero-visual img {
    object-position: 61% center;

    -webkit-mask-image:
      linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 0, 0, .75) 10%,
        #000 24%,
        #000 77%,
        transparent 100%);

    mask-image:
      linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 0, 0, .75) 10%,
        #000 24%,
        #000 77%,
        transparent 100%);
  }


  /* SERVICE */

  .service-grid {
    grid-template-columns: 1fr;

    gap: 14px;

    margin-top: 4px;
  }

  .service-card {
    min-height: 235px;

    padding: 24px;
  }

  .card-top {
    margin-bottom: 28px;
  }

  .service-card h2 {
    font-size: 2rem;
  }

  .service-card p {
    font-size: 14px;
  }


  /* PROFILE */

  .media-section,
  .media-content {
    min-height: 590px;
  }

  .profile-section .media-bg {
    left: -35%;

    width: 170%;

    height: 100%;

    object-position: 68% center;
  }

  .media-overlay {
    background:
      linear-gradient(180deg,
        rgba(2, 8, 18, .83) 0%,
        rgba(2, 8, 18, .65) 42%,
        rgba(2, 8, 18, .5) 68%,
        rgba(2, 8, 18, .36) 100%),
      linear-gradient(90deg,
        rgba(2, 8, 18, .92),
        rgba(2, 8, 18, .18));
  }

  .content-narrow {
    align-self: end;

    padding-bottom: 48px;
  }

  .content-narrow h2,
  .vision-content h2,
  .contact-content h2 {
    font-size:
      clamp(2.3rem, 10vw, 3.35rem);
  }


  /* VISION */

  .vision-section,
  .vision-content {
    min-height: 480px;
  }

  .vision-section .media-bg {
    object-position: 60% center;
  }

  .vision-content {
    grid-template-columns: 1fr;

    align-content: end;

    gap: 18px;

    padding-top: 70px;
    padding-bottom: 54px;
  }

  .vision-content>p {
    max-width: 340px;

    font-size: 15px;
  }


  /* CONTACT */

  .contact-section {
    min-height: 560px;
  }

  .contact-orbit {
    width: 510px;

    max-width: none;

    right: -245px;
    bottom: -40px;
  }

  .contact-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .button-mail {
    max-width: 100%;

    font-size: 13px;
  }


  /* FOOTER */

  .footer-grid {
    min-height: 130px;

    align-items: flex-start;

    flex-direction: column;

    justify-content: center;

    gap: 22px;
  }

  .footer-grid nav {
    gap: 20px;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

  :root {
    --shell:
      calc(100% - 26px);
  }

  h1 {
    font-size: 2.85rem;
  }

  .hero-visual {
    right: -20px;

    width: 115vw;
  }

  .profile-section .media-bg {
    left: -45%;

    width: 190%;
  }

  .button-mail {
    width: 100%;

    justify-content: flex-start;

    overflow: hidden;
  }

  .button-mail .button-arrow {
    margin-left: auto;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: .01ms !important;

    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;
  }
}