/* Elektrotechnik Blaupunkt — Premium Light */

:root {
  --white: #ffffff;
  --off-white: #f5f8fd;
  --beige: #edf3fb;
  --warm-gray: #dce6f4;
  --stone: #c7d6ea;
  --ink: #1c1f24;
  --ink-soft: #3a3f47;
  --muted: #5c626c;
  --terracotta: #0a4db8;
  --terracotta-soft: rgba(10, 77, 184, 0.14);
  --sand: #f0c44d;
  --sage: #0077ff;
  --sage-soft: rgba(0, 119, 255, 0.14);
  --blue: #1a4d9b;
  --blue-soft: rgba(26, 77, 155, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 10px 26px rgba(10, 20, 44, 0.08);
  --shadow-md: 0 22px 50px rgba(10, 20, 44, 0.12);
  --shadow-lg: 0 36px 90px rgba(10, 20, 44, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shell: min(1200px, calc(100% - 40px));
  --header-h: 76px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Outfit", system-ui, sans-serif;
  --doc-scroll: 0;
}

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

html {
  scroll-behavior: smooth;
}

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

body.site-electric {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site-electric.nav-open {
  overflow: hidden;
}

/* Vorschau im iframe (Paket-Overlay): teure Blurs weglassen, damit nichts „einfriert“ */
body.embed-lite .bg-paint {
  display: none !important;
}
body.embed-lite .scroll-progress {
  display: none !important;
}
body.embed-lite .site-header.is-scrolled {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (max-width: 1099px) {
  body.embed-lite .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #f5f8fd;
  }
}

::selection {
  background: var(--terracotta-soft);
  color: var(--ink);
}

.img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

/* Dezente Hintergrund-Akzente */
.bg-paint {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-paint__blob {
  position: absolute;
  border-radius: 44% 56% 58% 42% / 46% 36% 64% 54%;
  filter: blur(95px);
  opacity: 0.5;
}

.bg-paint__blob--1 {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  top: -8%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.22) 0%, transparent 72%);
}

.bg-paint__blob--2 {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(10, 77, 184, 0.2) 0%, transparent 72%);
}

.bg-paint__blob--3 {
  width: min(35vw, 300px);
  height: min(35vw, 300px);
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240, 196, 77, 0.2) 0%, transparent 74%);
  opacity: 0.35;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 150;
  transform-origin: left center;
  transform: scaleX(var(--doc-scroll, 0));
  background: linear-gradient(90deg, #0a4db8, #0077ff 55%, #f0c44d);
  box-shadow: 0 0 14px rgba(0, 119, 255, 0.35);
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(245, 248, 253, 0.6);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(245, 248, 253, 0.88);
  border-color: rgba(10, 77, 184, 0.14);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(10, 77, 184, 0.18);
  background: linear-gradient(145deg, #ffffff, #edf3fb);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease);
}

.brand:hover .brand__mark {
  transform: scale(1.04);
}

html.motion-reduced .brand:hover .brand__mark {
  transform: none;
}

.brand__mark-inner {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0a4db8;
}

.brand__text {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.1rem);
  letter-spacing: -0.02em;
}

.brand--footer .brand__text {
  font-size: 1.05rem;
}

.brand__accent {
  color: var(--terracotta);
  font-weight: 600;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 77, 184, 0.16);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.header-phone:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.header-phone__icon {
  flex-shrink: 0;
  color: var(--sage);
  opacity: 0.9;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(28, 31, 36, 0.1);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  z-index: 120;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(0, 119, 255, 0.1);
}

.nav__cta {
  margin-left: 8px;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  background: linear-gradient(125deg, #0a4db8, #0077ff) !important;
  color: var(--white) !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 77, 184, 0.26);
}

.nav__cta:hover {
  background: linear-gradient(125deg, #0641a0, #0065d8) !important;
  color: var(--white) !important;
}

@media (min-width: 1100px) {
  .header-phone {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
  }
}

@media (max-width: 1099px) {
  /* Über dem Seiteninhalt, aber unter der fixierten Kopfzeile + Burger (sinnvoll für schmale iframes wie Paket-Overlay) */
  .site-header {
    z-index: 140;
  }

  .nav-toggle {
    z-index: 150;
  }

  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: clamp(104px, 20vh, 152px) clamp(20px, 5vw, 28px) max(28px, env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s var(--ease), opacity 0.3s ease;
    z-index: 130;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .site-header {
    box-shadow: 0 10px 36px rgba(10, 30, 72, 0.1);
  }

  .nav a {
    font-size: 1.06rem;
    padding: 13px 14px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 14px;
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 48px) 0 72px;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(0, 119, 255, 0.13), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(10, 77, 184, 0.12), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 8%;
  width: 180px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #0077ff, #f0c44d, transparent);
  opacity: 0.45;
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .hero__visual {
    order: 1;
  }

  .hero__copy {
    order: 2;
    padding-left: 10px;
  }
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0a4db8;
  margin: 0 0 14px;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

.hero__lead {
  margin: 20px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__trust {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 12px 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 77, 184, 0.12);
}

.hero__trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0077ff;
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__rating {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  box-shadow: var(--shadow-sm);
  max-width: 22rem;
}

.hero__rating-stars {
  font-size: 0.9rem;
  color: #c4a15a;
  letter-spacing: 2px;
  transform-origin: left center;
}

html:not(.motion-reduced) .hero__rating.is-visible .hero__rating-stars {
  animation: hero-stars-in 0.75s var(--ease) forwards;
}

@keyframes hero-stars-in {
  from {
    opacity: 0.35;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html.motion-reduced .hero__rating.is-visible .hero__rating-stars {
  animation: none;
}

.hero__rating p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.hero__rating strong {
  color: var(--ink);
}

.hero__rating-score {
  font-variant-numeric: tabular-nums;
}

.hero__rating-muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88rem;
}

/* Hero visuelles Panel (Platzhalter) */
.hero__visual-frame {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 77, 184, 0.14);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__visual-canvas {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}

.hero__visual-canvas .img-cover {
  transition: transform 1.2s var(--ease);
}

.hero__visual-frame:hover .hero__visual-canvas .img-cover {
  transform: scale(1.03);
}

.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.08) 0%, transparent 42%, rgba(10, 77, 184, 0.1) 100%);
  pointer-events: none;
}

.hero__visual-cap {
  margin: 0;
  padding: 14px 20px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(28, 31, 36, 0.05);
  background: var(--off-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.82rem;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(125deg, #0a4db8, #0077ff);
  box-shadow: 0 12px 28px rgba(0, 77, 184, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(125deg, #0641a0, #0065d8);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 77, 184, 0.35);
}

.btn--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(10, 77, 184, 0.2);
}

.btn--secondary:hover {
  border-color: #0077ff;
  color: #0a4db8;
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--trust {
  padding: 64px 0 88px;
  background: linear-gradient(180deg, #edf3fb 0%, #e9f1fb 100%);
  border-top: 1px solid rgba(10, 77, 184, 0.08);
  border-bottom: 1px solid rgba(10, 77, 184, 0.08);
}

.section--trust-floating {
  padding-top: 0;
  margin-top: -38px;
}

.section--trust-floating .shell {
  position: relative;
  z-index: 3;
}

.section-head {
  max-width: 40rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 44rem;
}

.section-head h2,
#leistungen-heading,
#projekte-heading,
#ablauf-heading,
#ueber-heading,
#bewertungen-heading,
#kontakt-heading,
#trust-heading,
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head__text {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

html:not(.motion-reduced) .section--trust .trust-card.js-reveal.is-visible:nth-child(1) {
  transition-delay: 0.04s;
}

html:not(.motion-reduced) .section--trust .trust-card.js-reveal.is-visible:nth-child(2) {
  transition-delay: 0.1s;
}

html:not(.motion-reduced) .section--trust .trust-card.js-reveal.is-visible:nth-child(3) {
  transition-delay: 0.16s;
}

html:not(.motion-reduced) .section--trust .trust-card.js-reveal.is-visible:nth-child(4) {
  transition-delay: 0.22s;
}

.trust-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #0a4db8;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

html:not(.motion-reduced) .trust-card__num.is-count-done {
  animation: count-nudge 0.55s var(--ease);
}

@keyframes count-nudge {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

html.motion-reduced .trust-card__num.is-count-done {
  animation: none;
}

.trust-card__label {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-card__text {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Services */
.services-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section--services-alt {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
}

.services-layout {
  display: grid;
  gap: 32px;
}

.services-layout__head {
  max-width: 35rem;
}

.services-layout__cta {
  margin-top: 24px;
}

.services-layout__body .services-grid {
  margin-top: 0;
}

@media (min-width: 1100px) {
  .services-layout {
    grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 46px;
  }

  .services-layout__head {
    position: sticky;
    top: calc(var(--header-h) + 38px);
  }
}

.service-card {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  height: auto;
  background: linear-gradient(180deg, #0a4db8, #0077ff, #f0c44d);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 255, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  color: #0a4db8;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.45s var(--ease), color 0.35s ease;
}

.service-card:hover .service-card__icon {
  transform: translateY(-3px) scale(1.05);
  color: #0077ff;
}

html.motion-reduced .service-card:hover .service-card__icon {
  transform: none;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.service-card__text {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Split / Warum */
.section--split {
  background: linear-gradient(180deg, #f7faff 0%, #edf3fb 100%);
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.split__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 16px;
}

.split__text > p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(28, 31, 36, 0.05);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077ff' stroke-width='2.5'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(10, 77, 184, 0.14);
  background: var(--beige);
  aspect-ratio: 3 / 4;
  min-height: 320px;
  max-height: min(75vh, 640px);
}

.split__media > .img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 40%;
}

.split__badge {
  position: absolute;
  bottom: 8%;
  right: 6%;
  z-index: 2;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(10, 77, 184, 0.14);
  box-shadow: var(--shadow-sm);
}

/* Projects */
.section--projects {
  background: var(--white);
}

.project-slider {
  margin-top: 42px;
  overflow: hidden;
}

.project-slider__controls {
  margin-top: 22px;
  display: inline-flex;
  gap: 10px;
}

.project-slider__btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(10, 77, 184, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: #0a4db8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, opacity 0.25s ease;
}

.project-slider__btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 119, 255, 0.08);
}

.project-slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.project-grid {
  margin-top: 0;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.project-grid::-webkit-scrollbar {
  display: none;
}

.project-grid > .project-card {
  min-width: min(88vw, 420px);
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .project-grid > .project-card {
    min-width: min(50vw, 450px);
    flex-basis: min(50vw, 450px);
  }
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card__media {
  position: relative;
  min-height: 200px;
  background: var(--beige);
}

.project-card__media--img {
  min-height: 220px;
}

.project-card__media--img .img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card__media--img .img-cover {
  transform: scale(1.04);
}

.project-card--tall .project-card__media {
  min-height: 280px;
  flex: 1;
}

.project-card__media--wide {
  min-height: 240px;
}

.project-card__label {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 5px;
  border: 1px solid rgba(10, 77, 184, 0.12);
}

.project-card__body {
  padding: 20px 20px 22px;
  flex: 0;
}

.project-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0a4db8;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 0;
}

.project-card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Process */
.section--process {
  background: linear-gradient(180deg, #edf3fb 0%, #e6eef9 100%);
}

.process-timeline {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.process-step {
  position: relative;
  padding: 24px 20px 28px;
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

@media (min-width: 900px) {
  .process-step {
    margin-bottom: 0;
  }
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.process-step__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0a4db8;
  margin-bottom: 10px;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.process-step__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* About */
.about__intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.12;
}

.about__intro p {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.about__card {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(10, 77, 184, 0.12);
  background: var(--white);
  box-shadow: var(--shadow-md);
  max-width: 800px;
}

@media (min-width: 700px) {
  .about__card {
    grid-template-columns: 220px 1fr;
  }
}

.about__portrait {
  position: relative;
  min-height: 200px;
  background: var(--beige);
  overflow: hidden;
}

@media (min-width: 700px) {
  .about__portrait {
    min-height: auto;
  }
}

.about__bio {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.about__role {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #0a4db8;
  font-weight: 500;
}

.about__quote {
  margin: 16px 0 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Testimonials */
.section--testimonials {
  background: linear-gradient(180deg, #f4f8fd 0%, #ecf3fc 100%);
}

.testimonial-grid {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  margin: 0;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--beige);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.testimonial__stars {
  color: #b8954a;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0;
  flex: 1;
}

.testimonial p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.testimonial footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 31, 36, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.testimonial__proj {
  font-size: 0.78rem;
  color: #0a4db8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CTA */
.cta-block {
  padding: 100px 0;
  background: linear-gradient(180deg, #eaf2fb 0%, #f4f8fd 100%);
  border-top: 1px solid rgba(10, 77, 184, 0.08);
  border-bottom: 1px solid rgba(10, 77, 184, 0.08);
  position: relative;
  overflow: hidden;
}

.cta-block--photo {
  background:
    linear-gradient(180deg, rgba(245, 248, 253, 0.93) 0%, rgba(234, 242, 251, 0.9) 100%),
    url("https://images.unsplash.com/photo-1581092921461-7d65ca45f6f3?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.cta-block--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 55%);
  pointer-events: none;
}

.cta-block--photo .cta-block__inner {
  position: relative;
  z-index: 1;
}

.cta-block__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.cta-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

.cta-block__text {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.cta-block__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Contact */
.section--contact {
  background: var(--white);
  padding-bottom: 100px;
}

.contact-grid {
  margin-top: 40px;
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-info {
  padding: 0 0 28px;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid rgba(10, 77, 184, 0.12);
  overflow: hidden;
}

.contact-info__visual {
  position: relative;
  aspect-ratio: 21/9;
  margin: 0 0 24px;
  background: var(--beige);
}

.contact-info__h {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 24px 20px;
  color: var(--ink);
}

.contact-info__h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 24px 24px 8px;
  color: var(--ink);
}

.contact-info__list {
  list-style: none;
  margin: 0 24px;
  padding: 0;
}

.contact-info__list li {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info__list li:first-child {
  margin-top: 0;
}

.contact-info__k {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contact-info a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 119, 255, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info a:hover {
  color: #0a4db8;
  border-color: #0077ff;
}

.contact-info__hours p {
  margin: 0 24px 0 24px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Form */
.rating-card {
  border-radius: var(--radius);
  border: 1px solid rgba(10, 77, 184, 0.12);
  padding: 28px 24px 32px;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.rating-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0077ff, #0a4db8, #f0c44d);
  border-radius: 0 var(--radius) 0 0;
  opacity: 0.4;
}

.kontakt-form__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.form-intro {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rating-row {
  margin-top: 18px;
}

.rating-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.rating-row input,
.rating-row select,
.rating-row textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(28, 31, 36, 0.1);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rating-row input:focus,
.rating-row select:focus,
.rating-row textarea:focus {
  border-color: #0077ff;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.16);
}

.rating-row input.is-error,
.rating-row textarea.is-error,
.rating-row select.is-error,
.privacy-label input.is-error {
  border-color: #c45c4a;
}

.rating-row textarea {
  resize: vertical;
  min-height: 120px;
}

.privacy-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.privacy-label input {
  width: auto;
  margin-top: 3px;
  accent-color: #0077ff;
}

.privacy-label a {
  color: #0a4db8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #b24a3a;
}

.privacy-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.rating-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(196, 92, 74, 0.25);
  background: rgba(196, 92, 74, 0.06);
  color: #8a3d32;
  font-size: 0.88rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Map */
.map-section {
  margin-top: 48px;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(10, 77, 184, 0.12);
  background: var(--off-white);
}

.map-section__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.map-placeholder {
  margin-top: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px dashed rgba(28, 31, 36, 0.12);
  background: var(--white);
}

.map-placeholder p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0d1528 0%, #0b1122 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer .brand {
  color: var(--white);
}

.footer .brand__mark {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.12);
}

.footer .brand__mark-inner {
  color: #90c2ff;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer__tagline {
  margin: 14px 0 0;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer__h {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-top: 8px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: color 0.2s ease, background-size 0.35s var(--ease);
}

.footer__links a:hover {
  color: #90c2ff;
  background-size: 100% 1px;
}

.footer__legal {
  margin-top: 20px;
  font-size: 0.82rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal a:hover {
  color: #90c2ff;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 28px;
}

.footer__bar-inner p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Toast */
.toast {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 31, 36, 0.45);
  backdrop-filter: blur(8px);
}

.toast[hidden] {
  display: none;
}

.toast-card {
  width: min(400px, 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(28, 31, 36, 0.08);
  padding: 24px 22px 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.toast-card h3 {
  font-family: var(--font-serif);
  margin: 0;
  color: var(--ink);
}

.toast-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.toast-btn {
  margin-top: 16px;
}

/* Scroll reveal */
.js-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.motion-reduced .js-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Rechtstext-Seiten (hell) */
.page-legal #main-content {
  padding-top: calc(var(--header-h) + 24px);
}

.page-legal .legal-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(28, 31, 36, 0.06);
  background: linear-gradient(180deg, var(--white), var(--off-white));
  overflow: hidden;
}

.page-legal .legal-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 20% 0%, var(--sage-soft), transparent 50%),
    radial-gradient(ellipse 70% 60% at 100% 100%, var(--terracotta-soft), transparent 55%);
  pointer-events: none;
}

.page-legal .legal-hero__inner {
  position: relative;
}

.page-legal .legal-hero__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage);
}

.page-legal .legal-hero__title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-legal .legal-hero__lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 32rem;
}

.page-legal .legal-body.legal-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4rem);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-legal .legal-prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(28, 31, 36, 0.08);
}

.page-legal .legal-prose h2:first-of-type {
  margin-top: 0;
}

.page-legal .legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}

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

.page-legal .legal-prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.page-legal .legal-prose ul li {
  margin: 0.35rem 0;
  padding-left: 0.2rem;
}

.page-legal .legal-prose a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-legal .footer {
  background: linear-gradient(180deg, #0d1528 0%, #0b1122 100%);
}
