:root {
  --ink: #061a20;
  --ink-deep: #02090c;
  --aqua: #5bbcc4;
  --aqua-bright: #78ecef;
  --white: #ffffff;
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.18);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink-deep);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: rgba(120,236,239,.18);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--aqua-bright);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(2,9,12,.78), rgba(2,9,12,0));
}

.brand {
  width: 238px;
  display: grid;
  justify-items: start;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 238px;
  height: 39px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 238px;
  height: auto;
}

.brand-name {
  margin-top: 6px;
  padding-left: 2px;
  color: var(--aqua-bright);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .62em;
  line-height: 1;
  text-transform: uppercase;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.58);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.header-note span {
  width: 42px;
  height: 1px;
  background: var(--aqua-bright);
}

.service-stage {
  position: relative;
  min-height: 780px;
  height: 100svh;
  display: flex;
  overflow: hidden;
}

.service {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  padding: 170px clamp(28px, 5vw, 92px) 92px;
  overflow: hidden;
  isolation: isolate;
  transition: flex .7s cubic-bezier(.2,.75,.2,1);
}

.service:first-child { border-right: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) {
  .service-stage:has(.service:hover) .service { flex-grow: .88; }
  .service-stage:has(.service:hover) .service:hover { flex-grow: 1.12; }
}

.service__media,
.service__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.service__media {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(.8) contrast(1.05);
  transition: transform 1.1s cubic-bezier(.2,.75,.2,1), filter .6s ease;
}

.service--dent .service__media {
  background-image: url("dellentechnik-hero.jpg");
  background-position: 58% center;
}

.service--report .service__media {
  background-image: url("gutachten-hero.jpg");
  background-position: 66% center;
}

.service:hover .service__media {
  transform: scale(1.075);
  filter: saturate(1) contrast(1.08);
}

.service__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2,9,12,.22) 10%, rgba(2,9,12,.18) 42%, rgba(2,9,12,.95) 100%),
    linear-gradient(90deg, rgba(2,9,12,.82), rgba(2,9,12,.08) 78%);
}

.service--dent .service__shade {
  background:
    linear-gradient(180deg, rgba(1,17,21,.1) 10%, rgba(1,17,21,.28) 50%, rgba(1,12,16,.96) 100%),
    linear-gradient(90deg, rgba(1,18,23,.87), rgba(2,88,96,.08));
}

.service__content {
  width: min(100%, 610px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 17px;
  color: var(--aqua-bright);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: currentColor;
}

h1, h2 {
  margin: 0;
  max-width: 9ch;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(3.1rem, 5.35vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .88;
  text-transform: uppercase;
}

.service__copy {
  max-width: 470px;
  margin: 25px 0 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.6;
}

.service__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.service__facts li {
  position: relative;
  padding-left: 14px;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.service__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .43em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--aqua-bright);
  transform: rotate(45deg);
}

.cta {
  width: fit-content;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 26px;
  border: 1px solid rgba(120,236,239,.75);
  color: var(--white);
  background: rgba(6,26,32,.44);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s ease;
  touch-action: manipulation;
}

.cta svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform .25s ease;
}

.cta:hover,
.cta:focus-visible {
  color: var(--ink-deep);
  background: var(--aqua-bright);
  transform: translateY(-3px);
  outline: none;
}

.cta:hover svg,
.cta:focus-visible svg { transform: translateX(4px); }

.service__index {
  position: absolute;
  right: clamp(24px, 3vw, 56px);
  bottom: 76px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.15);
  font-family: Impact, sans-serif;
  font-size: clamp(7rem, 12vw, 14rem);
  line-height: .7;
  user-select: none;
}

.stage-label {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 165px;
  padding: 10px 14px;
  color: rgba(255,255,255,.58);
  background: rgba(2,9,12,.56);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 4vw, 72px);
  color: rgba(255,255,255,.48);
  background: #02090c;
  font-size: .75rem;
  letter-spacing: .05em;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 26px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--aqua-bright); }

@media (max-width: 980px) {
  .site-header { height: 112px; }
  .brand, .brand-mark { width: 200px; }
  .brand-mark { height: 33px; }
  .brand-mark img { width: 200px; }
  .header-note { display: none; }

  .service-stage {
    height: auto;
    min-height: 0;
    display: block;
  }

  .service {
    min-height: 660px;
    padding: 160px 7vw 62px;
    border-bottom: 1px solid var(--line);
  }

  .service:first-child { border-right: 0; }
  .service--dent .service__media { background-position: 66% center; }
  .service--report .service__media { background-position: 70% center; }
  .stage-label { display: none; }
  .service__index { bottom: 54px; }
}

/* Mobile First View: Beide Leistungsbereiche sind direkt sichtbar. */
@media (max-width: 700px) {
  .site-header {
    position: relative;
    height: 88px;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 20px 14px;
    border-bottom-color: rgba(120,236,239,.22);
    background: #02090c;
  }

  .brand, .brand-mark { width: 177px; }
  .brand-mark { height: 29px; }
  .brand-mark img { width: 177px; }
  .brand-name { font-size: .56rem; }

  .service-stage {
    min-height: calc(100svh - 88px);
    display: grid;
    grid-template-rows: repeat(2, minmax(320px, 1fr));
  }

  .service {
    min-height: 0;
    align-items: flex-end;
    padding: 34px 20px 26px;
  }

  .service--report { min-height: 0; }
  .service--dent .service__media { background-position: 61% 52%; }
  .service--report .service__media { background-position: 70% 50%; }

  .service__shade {
    background:
      linear-gradient(180deg, rgba(2,9,12,.1), rgba(2,9,12,.45) 34%, rgba(2,9,12,.98) 100%),
      linear-gradient(90deg, rgba(2,9,12,.68), rgba(2,9,12,.06));
  }

  .service__content { width: 100%; }

  .eyebrow {
    gap: 9px;
    margin-bottom: 8px;
    font-size: .68rem;
    letter-spacing: .16em;
  }

  .eyebrow span { width: 24px; }
  h1, h2 { font-size: clamp(2.45rem, 12.5vw, 3.7rem); line-height: .92; }

  .service__copy {
    max-width: 33rem;
    margin: 11px 0 12px;
    font-size: .93rem;
    line-height: 1.42;
  }

  .service__facts {
    gap: 5px 13px;
    margin-bottom: 15px;
  }

  .service__facts li {
    padding-left: 11px;
    font-size: .78rem;
  }

  .service__facts li::before { width: 4px; height: 4px; }

  .cta {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 0 18px;
    font-size: .875rem;
  }

  .service__index {
    right: 14px;
    bottom: 25px;
    font-size: 6.5rem;
    opacity: .68;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px max(24px, env(safe-area-inset-bottom));
  }

  .site-footer nav { width: 100%; justify-content: space-between; }
}

/* Sehr kleine und niedrige Smartphones */
@media (max-width: 380px), (max-width: 700px) and (max-height: 700px) {
  .site-header { height: 78px; }
  .brand, .brand-mark { width: 158px; }
  .brand-mark { height: 26px; }
  .brand-mark img { width: 158px; }
  .brand-name { font-size: .5rem; }

  .service-stage {
    min-height: calc(100svh - 78px);
    grid-template-rows: repeat(2, minmax(245px, 1fr));
  }

  .service { padding: 24px 17px 19px; }
  h1, h2 { font-size: clamp(2.1rem, 11.5vw, 2.9rem); }
  .service__copy { margin: 8px 0 9px; font-size: .875rem; }
  .service__facts { margin-bottom: 11px; }
  .service__facts li { font-size: .75rem; }
  .cta { min-height: 48px; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .service__copy { display: none; }
  .service__facts { margin-top: 10px; }
}

/* Smartphone im Querformat: wieder echte Zweiteilung nebeneinander. */
@media (max-height: 560px) and (min-width: 640px) and (orientation: landscape) {
  .site-header {
    position: absolute;
    height: 76px;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(2,9,12,.9), transparent);
  }

  .service-stage {
    min-height: 520px;
    height: 100svh;
    display: flex;
  }

  .service {
    min-height: 520px;
    padding: 100px 24px 24px;
  }

  .service:first-child { border-right: 1px solid var(--line); }
  .service__copy { max-width: 30rem; }
  .service__facts { display: none; }
  .cta { width: fit-content; min-width: 220px; }
  .service__index { font-size: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
