@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/lato/lato-v25-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/lato/lato-v25-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato/lato-v25-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/lato/lato-v25-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/lato/lato-v25-latin-900.woff2') format('woff2');
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  background: #fff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.menu-btn-icon {
  margin-right: 0.625rem;
  flex-shrink: 0;
}

.menu-close-text {
  margin-right: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.menu-footer-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 1rem;
}

.text-brand {
  color: #0569b3;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

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

img:not(.portfolio-img):not(#castle-inner):not(#service-img):not(.sticky-panel-photo):not(.counter-image-bg):not(.services-bg-img):not(.gp-logo) {
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0569b3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

#menu-overlay.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

#menu-close {
  position: absolute;
  top: 3.75rem;
  right: 2rem;
  display: flex;
  align-items: center;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2em;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.8;
  transition: opacity 0.25s;
}

#menu-close:hover { opacity: 1; }

#menu-overlay nav {
  margin-top: -120px;
}

#menu-overlay nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#menu-overlay nav ul li {
  overflow: hidden;
}

.menu-link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: clamp(1.8rem, 4.1vw, 4.1rem);
  font-weight: 300;
  line-height: 1.1;
  padding: 0.1em 0.5em;
  letter-spacing: -0.02em;
  position: relative;
  transition: none;
}

.menu-link::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1em 0.5em;
  color: #fff;
  letter-spacing: -0.02em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.menu-link:hover::after {
  clip-path: inset(0 0% 0 0);
}

.menu-cta {
  position: absolute;
  bottom: 9rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.menu-footer {
  position: absolute;
  bottom: 5.5rem;
  display: flex;
  align-items: center;
}

.menu-footer a {
  font-size: 1.15rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  display: inline-block;
  padding: 0.15em 0.3em;
  white-space: nowrap;
}

.menu-footer a::after {
  content: attr(data-value);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0569b3;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.15em 0.3em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.menu-footer a:hover::after {
  clip-path: inset(0 0% 0 0);
}

.menu-gp {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.35s;
}

#menu-overlay.is-open .menu-gp {
  opacity: 1;
}

.gp-logo {
  height: 44px;
  width: auto;
  display: block;
}

#hero-scroll {
  height: 300vh;
  position: relative;
}

#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #0569b3;
  z-index: 1;
}

#hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.6rem 2rem 0.6rem;
}

#site-tagline {
  position: absolute;
  z-index: 22;
  left: max(1.5rem, calc(50% - min(41vw, 630px) + 1.5rem));
  top: 25%;
  font-size: 1.2rem;
  font-weight: 400;
  color: #313b3f;
  line-height: 1.7;
  letter-spacing: 0.01em;
  pointer-events: none;
  transform-origin: left center;
  will-change: transform, opacity;
}

.site-tagline-gp-link {
  display: block;
  margin-top: 0.9rem;
}

@media (min-width: 768px) and (max-width: 1399px) {
  #site-tagline {
    display: none;
  }
}

#menu-btn {
  display: flex;
  align-items: center;
  height: 2.5rem;
  background: #0569b3;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 0 1.1rem;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  bottom: -2.5rem;
  transform: translateX(-50%);
  pointer-events: auto;
  transition: background 0.25s;
}

#menu-btn:hover { background: #044d88; }

#menu-overlay.is-open #menu-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.25s;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  display: block;
  height: auto;
}

.menu-logo {
  position: absolute;
  top: 3.6rem;
  left: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease 0.3s;
}

#menu-overlay.is-open .menu-logo {
  opacity: 1;
}

#frame-group {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  pointer-events: none;
  will-change: transform;
}

#frame-wrapper {
  position: relative;
  width: min(88vw, 1300px);
  overflow: hidden;
  box-shadow: none;
  transform: translateZ(0);
  background: #87CEEB;
}

:root {
  --castle-scale: 0.54;
  --castle-y: 25%;
}

#castle-inner {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  transform-origin: center 40%;
  will-change: transform, opacity;
}

#frame-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

#scroll-hint {
  position: absolute;
  right: 2.5rem;
  bottom: 12%;
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
  will-change: opacity;
}

.scroll-hint-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #fff;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  opacity: 0.65;
}

.scroll-hint-arrow {
  opacity: 0.65;
  animation: scroll-bounce 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

#hero-tagline {
  position: absolute;
  z-index: 22;
  bottom: 8%;
  left:  max(2.5rem, calc(50% - min(44vw, 660px)));
  right: max(2.5rem, calc(50% - min(44vw, 660px)));
  padding: 0;
  text-align: left;
  pointer-events: none;
}

#hero-tagline a {
  pointer-events: auto;
}

.tagline-main {
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.06;
  margin: 0;
  will-change: transform, opacity;
  transform-origin: left center;
}

.tagline-sub {
  font-size: clamp(1.1rem, 1.65vw, 1.34rem);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin: 1.1rem 0 0;
  max-width: 46rem;
  will-change: transform, opacity;
  transform-origin: left center;
}

#hero-text-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #0569b3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem max(2.5rem, 8%) 8%;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.overlay-text {
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 70rem;
}

.overlay-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 52rem;
  margin-bottom: 3rem;
}

.overlay-subtext p {
  margin: 0 0 0.85rem;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.overlay-subtext p:last-child { margin-bottom: 0; }

.overlay-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity  0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

#hero-text-overlay.text-visible .overlay-line:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s;    }
#hero-text-overlay.text-visible .overlay-line:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.22s; }

.overlay-cta-row {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity  0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.54s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.54s;
}

#hero-text-overlay.text-visible .overlay-cta-row {
  opacity: 1;
  transform: none;
}

.overlay-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

#dart-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

#dartboard-img {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  /* 400×1000 portrait image — clamp both to square so only the circular target face shows */
  width:  clamp(110px, 14vw, 180px);
  height: clamp(110px, 14vw, 180px);
  object-fit: cover;
  object-position: top center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

#dart-img {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(180px, 26vw, 380px);
  height: auto;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateX(-110%) translateY(-50%);
}

@media (max-width: 767px) {
  #dartboard-img {
    width:  clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
    right: 3vw;
  }
  #dart-img {
    width: clamp(130px, 38vw, 220px);
  }
}

.btn-outline-white {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  padding: 1.32rem 2.97rem;
  border-radius: 6px;
  background-image: linear-gradient(to right, #fff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.42s, border-color 0.28s;
}

.btn-outline-white:hover {
  background-position: left center;
  color: #0569b3;
}

#leistungen {
  padding: 5rem 0;
  position: relative;
}

.services-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.services-heading {
  font-size: clamp(1.3rem, 3.1vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 3rem;
  line-height: 1.05;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    min-height: 520px;
  }
}

.service-item {
  border-top: 1px solid #e5e7eb;
}

.service-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.service-header {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  gap: 1rem;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.service-item.is-active .service-title {
  color: #0569b3;
}

.service-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #0569b3;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 1.5rem;
  text-align: center;
}

.service-item.is-active .service-icon {
  transform: rotate(45deg);
}

.service-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-body p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #374151;
  line-height: 1.75;
  padding-bottom: 1.25rem;
  max-width: 38rem;
}

.services-bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.services-bg img {
  height: min(500px, 65vh);
  width: auto;
  display: block;
}

.services-sticky {
  display: flex;
  align-items: center;
  overflow: visible;
  background: #fff;
  z-index: 2;
}

#service-image-wrap {
  display: none;
  width: 500px;
  height: 361px;
  overflow: visible;
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  #service-image-wrap {
    display: block;
    align-self: center;
    margin-top: -50px;
  }
}

#service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateX(50px);
}

.services-gp {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-gp img {
  height: 52px;
  width: auto;
  display: block;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container-narrow {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0569b3;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.3rem, 3.1vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.05;
  margin-top: 0;
}

.section-header {
  margin-bottom: 0.7rem;
}

.section-header--center {
  text-align: center;
}

.section-portfolio {
  padding: 2.1rem 0 8rem;
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.portfolio-wide    { grid-column: span 2; height: 500px; }
.portfolio-portrait { grid-column: span 1; height: 500px; }
.portfolio-square  { grid-column: span 1; height: 500px; }
.portfolio-full    { grid-column: span 3; height: 500px; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 105, 179, 0.93) 0%,
    rgba(5, 105, 179, 0.45) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-img     { transform: scale(1.05); }

.portfolio-kicker {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0569b3;
  background: #fff;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.7rem;
  border-radius: 2px;
  line-height: 1.6;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.3rem;
}

.portfolio-overlay p {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.section-counters {
  padding: 2.1rem 0 8rem;
  background: #f9fafb;
  position: relative;
  overflow: hidden;
}

.counters-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .counters-layout {
    grid-template-columns: 3fr 2fr;
    gap: 6rem;
  }
}

.counters-heading {
  font-size: clamp(1.3rem, 3.1vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.1;
  margin: 1rem 0 3rem;
}

.counters-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.counter-box {
  border: 20px solid #0569b3;
  border-radius: 1rem;
  padding: 2rem 2rem 2.5rem;
  margin-top: 1rem;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.counter-box > * {
  position: relative;
  z-index: 1;
}

.counter-box .counter-item {
  text-align: center;
}

.counter-box .counter-number {
  justify-content: center;
}

.counter-item {
}

.counter-number {
  display: flex;
  align-items: flex-end;
  gap: 0.1em;
  line-height: 1;
}

.counter {
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.counter-suffix {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.08em;
}

.counter-label {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-top: 0.4rem;
}

.counters-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-image-bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: min(415px, 60vh);
  width: auto;
  aspect-ratio: 800 / 700;
  pointer-events: none;
  z-index: 0;
}

.counter-image {
  position: relative;
  z-index: 1;
  width: 560px;
  max-width: 100%;
  display: block;
}

@media (min-width: 1024px) {
  .counter-image { max-width: none; }
}

.counter-box-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.75rem 0 1.5rem;
}

.testimonial-block {
  margin: 0;
  padding: 0 0 0 2.8rem;
  border: none;
  background: transparent;
  position: relative;
}

.testimonial-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5.5rem;
  height: calc(5.5rem * 73.3 / 78.1);
  background: url('assets/images/stuttgart/zeichen.svg') no-repeat left top / contain;
  pointer-events: none;
  z-index: 0;
}

.testimonial-block > * {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  font-style: normal;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
}

.testimonial-author strong {
  font-weight: 700;
  color: #111;
  display: block;
  margin-bottom: 0.15rem;
}

.section-logos {
  padding: 2.1rem 0 8rem;
  background: #fff;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 767px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
  position: relative;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  transition: background 0.3s;
}

.logo-item:nth-child(4n)   { border-right: none; }
.logo-item:nth-last-child(-n+4) { border-bottom: none; }

@media (max-width: 767px) {
  .logo-item:nth-child(4n)        { border-right: 1px solid #e5e7eb; }
  .logo-item:nth-child(2n)        { border-right: none; }
  .logo-item:nth-last-child(-n+4) { border-bottom: 1px solid #e5e7eb; }
  .logo-item:nth-last-child(-n+2) { border-bottom: none; }
}

.logo-img {
  width: 90%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s ease;
  display: block;
}

.logo-img--color {
  position: absolute;
  width: 90%;
  max-height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.logo-item:hover .logo-img:not(.logo-img--color) { opacity: 0; }
.logo-item:hover .logo-img--color                { opacity: 1; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 3fr 1fr;
    gap: 5rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.form-input {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 0.85rem 1rem;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #0569b3;
}

.form-input::placeholder {
  color: #d1d5db;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-dsgvo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.form-checkbox {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #0569b3;
  cursor: pointer;
}

.form-dsgvo-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1.5;
  cursor: pointer;
}

.form-dsgvo-link {
  color: #0569b3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  display: inline-block;
  background-color: #0569b3;
  background-image: linear-gradient(to right, #fff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.42s;
  width: 100%;
}

@media (min-width: 640px) {
  .btn-submit { width: auto; }
}

.btn-submit:hover { background-position: left center; color: #0569b3; }

.contact-card {
  background: #fff;
  padding: 2.5rem;
}

.contact-photo {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  filter: grayscale(20%);
  transition: filter 0.5s;
}

.contact-photo:hover { filter: grayscale(0%); }

.contact-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111;
  margin: 0;
}

.contact-role {
  font-size: 0.82rem;
  font-weight: 300;
  color: #0569b3;
  margin: 0.25rem 0 0;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.contact-address {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.6;
}

.contact-link {
  font-size: 0.9rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover { color: #0569b3; }

.section-seo {
  padding: 1.5rem 0 6rem;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.seo-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.5rem;
}

.seo-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-body p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1.75;
}

.seo-body strong { font-weight: 700; color: #374151; }

.site-footer {
  background: #0569b3;
  color: #fff;
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-logo-img {
  display: block;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.section-contact {
  padding: 2.1rem 0 8rem;
  background: #f3f4f6;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4.5rem;
}

.contact-heading-large {
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.contact-subheading {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #374151;
  max-width: 54rem;
  margin: 0 auto;
  line-height: 1.75;
}

.form-input--line {
  border: none;
  border-bottom: 1px solid #d1d5db;
  border-radius: 0;
  background: transparent;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}

.form-input--line:focus {
  border-bottom-color: #0569b3;
  outline: none;
  box-shadow: none;
}

.form-input--line::placeholder { color: #c4c9cf; }

.form-textarea.form-input--line {
  min-height: 120px;
  resize: vertical;
}

.form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {
  .form-row--3 { grid-template-columns: 1fr; }
}

.btn-submit--outline {
  background: transparent;
  border: 1px solid #111;
  color: #111;
  letter-spacing: 0.22em;
  padding: 1rem 2.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  min-width: 240px;
}

.btn-submit--outline:hover {
  background: #111;
  color: #fff;
}

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.09), 0 1px 6px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2.5rem 2rem;
}

.contact-card-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
}

.form-row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr; }
}

.form-input--box {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  color: #111;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input--box:focus {
  border-color: #0569b3;
  box-shadow: 0 0 0 3px rgba(5, 105, 179, 0.12);
  outline: none;
}

.form-input--box::placeholder { color: #adb5bd; }

.form-textarea.form-input--box {
  min-height: 110px;
  resize: vertical;
}

.contact-form-card .form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}

.contact-form-card .form-group {
  margin-bottom: 1.25rem;
}

.btn-submit--fill {
  width: 100%;
  background-color: #0569b3;
  background-image: linear-gradient(to right, #fff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #fff;
  border: 1.5px solid #0569b3;
  border-radius: 8px;
  padding: 1.32rem 2.97rem;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.42s;
  margin-top: 0.25rem;
}

.btn-submit--fill:hover {
  background-position: left center;
  color: #0569b3;
}

.form-dsgvo-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.6;
}

.form-dsgvo-note a {
  color: #9ca3af;
  text-decoration: underline;
}

.form-dsgvo-check {
  margin-top: 0.3rem;
  color: #0569b3;
  font-weight: 600;
}

.contact-info-minimal {
  padding-top: 0.5rem;
}

.contact-info-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0569b3;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.contact-photo-minimal {
  width: 250px;
  height: 167px;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  display: block;
  margin-bottom: 1rem;
  max-width: 100%;
}

.contact-details-minimal {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
}

.contact-details-minimal a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details-minimal a:hover { color: #0569b3; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(72px);
  filter: blur(8px);
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
  will-change: opacity, transform, filter;
}

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

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(80px);
  filter: blur(8px);
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0px);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(8px);
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0px);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .problem-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.problem-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.problem-content {
  display: flex;
  flex-direction: column;
}

.problem-content .problem-body {
  margin-top: 0;
}

@media (max-width: 1023px) {
  #leistungen {
    padding: 1.5rem 0 4rem;
  }
  .services-sticky {
    align-items: flex-start;
  }
  .services-bg {
    display: none;
  }
}

.service-body-img {
  display: none;
}

@media (max-width: 1023px) {
  .service-body-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 650;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }
}

@keyframes legalModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.legal-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: legalModalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.legal-modal__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0569b3;
  margin: 0;
  letter-spacing: -0.02em;
}

.legal-modal__close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.legal-modal__close:hover {
  color: #111;
  background: #f3f4f6;
}

.legal-modal__body {
  overflow-y: auto;
  padding: 1.75rem 2rem 2rem;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.75;
  -webkit-overflow-scrolling: touch;
}

.legal-modal__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 1.5rem 0 0.5rem;
}

.legal-modal__body h3:first-child {
  margin-top: 0;
}

.legal-modal__body p {
  margin: 0 0 0.75rem;
}

.legal-modal__body a {
  color: #0569b3;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-modal { padding: 0.75rem; }
  .legal-modal__header { padding: 1.25rem 1.25rem 1rem; }
  .legal-modal__body { padding: 1.25rem; }
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

#portfolio-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(240, 242, 245, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 2rem;
}

#portfolio-lightbox.is-open {
  display: flex;
  animation: lightboxFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

#lightbox-img {
  max-width: 95vw;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

#lightbox-text {
  margin-top: 1.25rem;
  text-align: center;
  max-width: 90vw;
}

#lightbox-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111;
  margin: 0 0 0.35rem;
}

#lightbox-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  margin: 0;
}

#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #0569b3;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 10;
}

@media (max-width: 767px) {

  .hero-new {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-bg-img {
    position: relative;
    width: 100%;
    height: 56vw;
    min-height: 220px;
    max-height: 420px;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
  }

  .hero-new .hero-img-overlay {
    height: 56vw;
    min-height: 220px;
    max-height: 420px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  #hero-nav {
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    padding: 1.25rem 0 0;
  }

  .hero-text-block {
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    right: auto;
    padding: 2rem 1.5rem 2.5rem;
    background: #fff;
  }

  .hero-headline {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    color: #313b3f;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.75rem;
  }

  .hero-cta-btn {
    border-color: #0569b3;
    color: #0569b3;
  }

  .hero-cta-btn:hover {
    background: #0569b3;
    color: #fff;
  }

  .hero-microcopy {
    color: #9ca3af;
  }

  .hero-intro-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .btn-hero-intro {
    white-space: normal;
  }

  :root {
    --castle-scale: 0.54;
    --castle-y: 25%;
  }

  #menu-btn {
    left: 0;
    transform: none;
    width: 2.5rem;
    padding: 0;
    justify-content: center;
  }

  #menu-btn svg {
    margin: 0; /* remove mr-2.5 Tailwind class offset */
  }

  .menu-btn-label {
    display: none; /* hide "MENÜ" text, keep burger icon */
  }

  .menu-close-text {
    display: none;
  }

  #menu-overlay nav {
    margin-top: -140px;
  }

  .menu-cta {
    bottom: 11rem;
  }

  #hero-nav {
    padding: 2.6rem 1rem 0.6rem;
    justify-content: flex-end;
  }

  .nav-logo img {
    width: 184px;
  }

  #frame-wrapper {
    width: 95vw;
    box-shadow: none;
  }

  #site-tagline {
    font-size: 0.75rem;
    line-height: 1.6;
    top: 13%;
  }

  .site-tagline-gp {
    height: 30px;
  }

  #hero-tagline {
    top: calc(63% - 100px);
    bottom: auto;
    left: 2rem;
    right: 2rem;
    text-align: center;
  }

  .tagline-main {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .tagline-sub {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    margin-top: 0.75rem;
  }

  #scroll-hint {
    display: none;
  }

  #castle-inner {
    object-position: center center;
  }

  .portfolio-item::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #0569b3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='22' y2='22'/%3E%3C/svg%3E") center/20px no-repeat;
    pointer-events: none;
    z-index: 2;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .portfolio-wide,
  .portfolio-portrait,
  .portfolio-square,
  .portfolio-full {
    grid-column: span 1;
    height: 280px;
  }

  .section-portfolio,
  .section-counters,
  .section-logos,
  .section-contact {
    padding: 1rem 0 4rem;
  }

  .counters-layout {
    gap: 2rem;
  }

  .counter-box {
    max-width: 100%;
    border-width: 10px;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .counter {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .counter-suffix {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .testimonial-block {
    padding-left: 1rem;
  }
  .testimonial-block::before {
    width: 3rem;
    height: calc(3rem * 73.3 / 78.1);
  }
  .testimonial-text {
    font-size: 1rem;
    font-weight: 600;
  }

  .counter-image-bg {
    display: none;
  }

  .counter-image {
    width: 100%;
    max-width: 100%;
  }

  .service-body p {
    font-size: 1rem;
  }

  .service-title {
    font-weight: 400;
    font-size: 1.45rem;
  }

  .service-icon {
    font-weight: 700;
    font-size: 1.6rem;
  }

  .logo-item {
    padding: 1.5rem 1rem;
  }

  .logo-item img {
    max-height: 90px;
  }

  .contact-form-card {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .problem-check-item {
    font-size: 1rem;
    padding: 0.7rem 0.9rem;
  }

  .contact-card-heading {
    font-size: 1.43rem;
  }

  .section-contact .container {
    padding: 0 1rem;
  }

  .contact-form-card {
    border-radius: 10px;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .contact-details {
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .section-label {
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .section-header {
    margin-bottom: 0.7rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .counters-heading {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  #hero-text-overlay {
    padding: 5rem 6% calc(5.9rem + 20px);
  }

  .overlay-text {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 1.25rem;
  }

  .overlay-subtext {
    font-size: 1.26rem;
    margin-bottom: 1.75rem;
    max-width: 75%;
  }

  .overlay-subtext p {
    font-size: inherit;
  }

  .overlay-tel {
    display: none;
  }

  .overlay-cta-row .btn-outline-white {
    font-size: 0.83rem;
    letter-spacing: 0.14em;
    padding: 1.1rem 1.6rem;
    white-space: nowrap;
  }

  .menu-cta .btn-outline-white {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    padding: 0.99rem 1.76rem;
    white-space: nowrap;
  }

  .menu-link {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .site-footer {
    padding: 2rem 0 max(2rem, env(safe-area-inset-bottom, 0px));
  }

  .footer-inner {
    align-items: center;
    gap: 1.25rem;
  }

  .footer-inner > div {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-copy {
    display: none;
  }

  .footer-nav {
    justify-content: center;
    width: 100%;
  }

  .footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
  }
}

#sticky-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
}

#sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0569b3;
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  padding: 2rem 1rem;
  cursor: pointer;
  box-shadow: -3px 3px 14px rgba(0,0,0,0.22);
  font-family: inherit;
  transition: background 0.2s;
  position: relative;
  z-index: 1;
}
#sticky-cta-btn:hover { background: #0458a0; }
.sticky-cta-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#sticky-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  box-shadow: -6px 0 32px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 502;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
#sticky-panel.is-open { transform: translateX(0); }

#sticky-panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 501;
}
#sticky-panel-backdrop.is-visible { display: block; }

.sticky-panel-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sticky-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.sticky-panel-title {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}
#sticky-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.15s;
}
#sticky-panel-close:hover { color: #111827; }

.sticky-panel-body {
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  flex: 1;
}

.sticky-panel-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 3px solid #e5e7eb;
}
.sticky-panel-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  margin: 0;
}
.sticky-panel-role {
  font-size: 0.82rem;
  color: #6b7280;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.sticky-panel-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.sticky-panel-phone,
.sticky-panel-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0569b3;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.sticky-panel-phone:hover,
.sticky-panel-email:hover {
  border-color: #0569b3;
  background: #f0f7ff;
}

.sticky-panel-cta {
  display: block;
  width: 100%;
  margin-top: 1rem;
  background: #0569b3;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.sticky-panel-cta:hover { background: #0458a0; }

.sticky-panel-hours {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0.25rem 0 0;
}

@media (max-width: 767px) {
  #sticky-cta-btn {
    padding: 0.6rem;
  }
  .sticky-cta-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {
  .sticky-cta-label { display: none; }
  #sticky-panel { width: 100%; max-width: 100%; }
}

.success-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
}

.success-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.success-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 440px;
  width: calc(100% - 2rem);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  animation: successModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes successModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.success-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.success-modal__close:hover { color: #111; }

.success-modal__icon {
  width: 64px;
  height: 64px;
  background: #0569b3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.success-modal__title {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 0.75rem;
}

.success-modal__text {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.success-modal__btn {
  display: inline-block;
  background: #0569b3;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.success-modal__btn:hover { background: #0458a0; }

.section-problem {
  padding: 5rem 0 4rem;
  position: relative;
  border-top: 1px solid #f3f4f6;
}

.problem-body {
  max-width: 52rem;
  margin-top: 2rem;
}

.problem-body p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #374151;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.problem-body p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .section-problem { padding: 3rem 0 2.5rem; }
}

.leistungen-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #374151;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 2.5rem;
  max-width: 52rem;
}

.leistungen-intro p {
  margin: 0 0 1rem;
}

.leistungen-intro p:last-child { margin-bottom: 0; }

#hero-text-overlay .btn-outline-white {
  text-transform: uppercase;
  font-size: 0.79rem;
  letter-spacing: 0.24em;
}

@media (max-width: 767px) {
  .leistungen-intro { margin-bottom: 1.5rem; }
}

.form-group--problems {
  margin-bottom: 1.75rem;
}

.problem-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.problem-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
  font-size: 1.05rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.4;
  user-select: none;
}

.problem-check-item:hover {
  border-color: #0569b3;
  background: #f0f7ff;
}

.problem-check-item.is-checked {
  border-color: #0569b3;
  background: #f0f7ff;
  color: #111;
  font-weight: 600;
}

.problem-check-item input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: #0569b3;
  cursor: pointer;
}

.overlay-tel {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.overlay-tel:hover {
  color: #fff;
}

.leistungen-intro--center {
  text-align: center;
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-new {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 52%, rgba(0,0,0,0.06) 100%),
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 42%, transparent 65%);
}

#hero-nav {
  position: absolute;
  z-index: 50;
  top: 0;
  left: max(2.5rem, calc(50% - min(44vw, 660px)));
  right: max(2.5rem, calc(50% - min(44vw, 660px)));
  padding: 2.5rem 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  display: block;
  height: auto;
}

@media (min-width: 768px) {
  .nav-logo img {
    width: 264px;
  }
}

.hero-text-block {
  position: absolute;
  z-index: 10;
  top: 52%;
  transform: translateY(-50%);
  left: max(2rem, calc(50% - min(44vw, 700px)));
  right: max(2rem, calc(50% - min(44vw, 700px)));
}

.hero-headline {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 0 2.2rem;
}

.hero-cta-btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1.5px solid rgba(255,255,255,0.8);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-cta-btn:hover {
  background: #fff;
  color: #0569b3;
  border-color: #fff;
}

.hero-microcopy {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

.hero-tagline-cta {
  display: inline-block;
  margin-top: 2.2rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-hero-intro {
  background: #0569b3;
  padding: 3.5rem 0;
}

.hero-intro-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-intro-text {
  flex: 1 1 28rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #fff;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

.btn-hero-intro {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.btn-hero-intro:hover {
  background: #fff;
  color: #0569b3;
  border-color: #fff;
}

.section-loesung {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  clip-path: inset(0);
}

.red-thread {
  position: absolute;
  left: 0;
  bottom: 3rem;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 160;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.section-loesung .container {
  position: relative;
  z-index: 1;
}

.garn-img {
  position: absolute;
  right: calc(-1.5rem + 100px);
  bottom: 0;
  width: clamp(120px, 13vw, 190px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.problem-cta {
  margin-top: 2.5rem;
}

.btn-section-cta {
  display: inline-block;
  padding: 1.32rem 2.97rem;
  background-color: #0569b3;
  background-image: linear-gradient(to right, #fff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid #0569b3;
  border-radius: 6px;
  transition: background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1), color 0.42s;
}

.btn-section-cta:hover {
  background-position: left center;
  color: #0569b3;
}

.form-pdf-hint {
  border-left: 3px solid #0569b3;
  padding: 0.85rem 1rem;
  background: #f0f7ff;
  border-radius: 0 6px 6px 0;
  margin-bottom: 0.25rem;
}

.form-pdf-hint__text {
  font-size: 0.84rem;
  color: #374151;
  margin: 0 0 0.3rem;
  line-height: 1.5;
}

.form-pdf-hint__micro {
  font-size: 0.76rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

#scroll-top-btn {
  position: fixed;
  bottom: 6rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom, #0569b3 var(--scroll-fill, 0%), #fff var(--scroll-fill, 0%));
  color: #0569b3;
  border: 2px solid #0569b3;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -3px 2px 14px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, color 0.2s;
  z-index: 498;
}

#scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-br {
  display: none;
}

#scroll-top-btn.is-filled {
  color: #fff;
}

@media (max-width: 767px) {
  #hero-nav {
    left: 0;
    right: 0;
    padding: 0.7rem max(1rem, env(safe-area-inset-right, 1rem)) 0.6rem max(0.5rem, env(safe-area-inset-left, 0.5rem));
    justify-content: flex-end;
  }

  .section-loesung {
    padding-top: 8rem;
  }

  .red-thread {
    bottom: auto;
    top: 2.8rem;
  }

  .garn-img {
    bottom: auto;
    top: calc(2.8rem + 5.7vw - clamp(30px, 8vw, 45px));
    right: 10%;
    width: clamp(60px, 16vw, 90px);
  }

  .btn-section-cta {
    white-space: nowrap;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    padding: 1.1rem 1.4rem;
  }

  .mobile-br {
    display: inline !important;
  }
}
