/* ============================================================
   COSTA MALERGESCHÄFT — Editorial / Bold & Bright
   ============================================================ */

:root {
  --bg: #f6f3ee;          /* warm cream */
  --bg-2: #efeae1;         /* deeper cream */
  --ink: #0e1116;          /* near black */
  --ink-soft: #2a2f38;
  --muted: #6b6f78;
  --line: #1a1d22;
  --blue: #1a3687;         /* logo deep blue */
  --blue-2: #25469e;       /* lighter logo blue */
  --sky: #598fb6;          /* logo brush sky-blue */
  --sky-soft: #8db4d2;     /* lighter sky */
  --green: #59995b;        /* logo green */
  --green-2: #487f49;
  --accent: var(--blue);
  --paper: #ffffff;
  --shadow: 0 30px 60px -20px rgba(14,17,22,.18), 0 8px 20px -10px rgba(14,17,22,.12);
  --radius: 6px;
  --radius-lg: 22px;
  --easing: cubic-bezier(.7,.05,.2,1);
  --easing-out: cubic-bezier(.16,1,.3,1);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* Keyboard focus — sichtbar für Tastatur, unsichtbar bei Maus */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-title--light :focus-visible,
.contact :focus-visible,
.lightbox :focus-visible { outline-color: var(--sky); }

body.is-loading { overflow: hidden; }
body.lb-open { overflow: hidden; }

/* ============================================================
   LENIS
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader__stage {
  position: relative;
  width: clamp(220px, 42vw, 520px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.loader__logo-clip {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}
.loader__logo {
  width: 92%; height: 92%;
  object-fit: contain;
  transform-origin: 50% 55%;
  transform: scale(.82) rotate(-8deg);
  opacity: 0;
  filter: blur(14px);
  will-change: transform, opacity, filter;
}
/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 18px 32px;
  transition: background .4s var(--easing), padding .4s var(--easing), box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(246,243,238,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 32px;
  box-shadow: 0 1px 0 rgba(14,17,22,.06);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: auto; height: 80px; object-fit: contain; transition: height .3s var(--easing); }
.site-header.is-scrolled .brand img { height: 60px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.brand__txt small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 6px; justify-self: center; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { background: rgba(14,17,22,.06); }
.nav a::before {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0);
  transition: transform .4s var(--easing-out);
}
.nav a:hover::before { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: -.005em;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--easing);
}
.btn--pill {
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
}
.btn--pill svg { transition: transform .35s var(--easing); }
.btn--pill:hover svg { transform: translateX(4px); }
.btn--filled {
  padding: 18px 26px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 15px;
}
.btn--filled::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--sky), var(--blue) 50%, var(--green));
  border-radius: inherit; opacity: 0; z-index: -1;
  transition: opacity .35s;
}
.btn--filled:hover::after { opacity: 1; }
.btn--filled:hover { transform: translateY(-2px); }
.btn--lg { padding: 22px 30px; font-size: 16px; }
.btn--ghost {
  padding: 18px 26px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--underline {
  padding: 8px 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  font-size: 16px;
}
.btn--underline svg { transition: transform .35s var(--easing); }
.btn--underline:hover svg { transform: translateX(8px); }

.burger { display: none; background: transparent; border: 0; padding: 10px; }
.burger span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  margin: 5px 0; transform-origin: center; transition: transform .35s var(--easing), opacity .25s;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 30px; padding: 80px 32px 40px;
  clip-path: circle(0% at calc(100% - 50px) 40px);
  transition: clip-path .7s var(--easing);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 50px) 40px); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.mobile-menu nav a { font-family: var(--font-display); font-size: clamp(34px, 8vw, 60px); line-height: 1; }
.mobile-menu nav a:hover { color: var(--blue); font-style: italic; }
.mobile-menu__foot { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; align-items: center; color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 32px 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg .brush {
  position: absolute; width: 110%; height: auto;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
}
.hero__bg .brush path {
  fill: none; stroke-width: 60;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.hero__bg .brush--1 { top: 6%; left: -5%; transform: rotate(-3deg); }
.hero__bg .brush--1 path { stroke: var(--sky); opacity: .22; }
.hero__bg .brush--2 { top: 30%; right: -10%; transform: rotate(7deg); }
.hero__bg .brush--2 path { stroke: var(--blue); opacity: .14; }
.hero__bg .brush--3 { bottom: 4%; left: 4%; transform: rotate(-2deg); }
.hero__bg .brush--3 path { stroke: var(--green); opacity: .16; }

.hero__grid {
  position: relative; z-index: 2;
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.4} }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 13vw, 220px);
  line-height: .9;
  letter-spacing: -.045em;
  margin: 10px 0 0;
}
.hero__title em { font-style: italic; color: var(--blue); }
.line { display: block; overflow: hidden; padding-bottom: .05em; }
.line__inner { display: block; }
/* Hide only when ready to animate */
html.js-ready .line__inner { transform: translateY(110%); }

.hero__lede {
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  margin: 12px 0 0;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  border-top: 1px solid rgba(14,17,22,.12);
  padding-top: 30px;
  margin-top: 30px;
  max-width: 720px;
}
.hero__meta > div { display: flex; flex-direction: column; }
.hero__meta strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.03em;
}
.hero__meta span { font-size: 13px; color: var(--muted); margin-top: 6px; }


.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: -10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(60px, 12vw, 200px);
  line-height: 1;
  letter-spacing: -.03em;
  color: rgba(14,17,22,.06);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.marquee { display: inline-flex; }
.marquee span { display: inline-block; animation: scroll-x 38s linear infinite; }
@keyframes scroll-x { from { transform: translateX(0) } to { transform: translateX(-100%) } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { margin: 0 auto 60px; max-width: 1500px; padding: 0 32px; }
.section-head--center { text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 20px;
}
.kicker--light { color: rgba(246,243,238,.8); }
.kicker i { display: block; width: 36px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 8vw, 130px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 0;
}
.section-title em { color: var(--blue); font-style: italic; }
.section-title--light { color: var(--bg); }
.section-title--light em { color: var(--green); }
.section-sub { color: var(--muted); max-width: 600px; margin: 20px auto 0; font-size: 17px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  padding: 120px 0 120px;
}
.services__list {
  list-style: none; margin: 0; padding: 0 32px;
  max-width: 1500px; margin-inline: auto;
  position: relative; z-index: 2;
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(14,17,22,.18);
  cursor: pointer;
  transition: padding .4s var(--easing);
}
.service:last-child { border-bottom: 1px solid rgba(14,17,22,.18); }
.service__no {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.02em;
}
.service__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  transition: transform .5s var(--easing), color .35s;
}
.service__desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 460px;
  transition: opacity .35s;
}
.service:hover { padding: 50px 0; }
.service:hover .service__name { transform: translateX(20px); color: var(--blue); font-style: italic; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 120px 32px; background: var(--bg-2); position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(89,143,182,.20), transparent 60%);
  pointer-events: none;
}
.about::after {
  content: ""; position: absolute; bottom: -220px; left: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(89,153,91,.16), transparent 62%);
  pointer-events: none;
}
.about .section-head,
.about__grid {
  position: relative; z-index: 1;
}
.about__grid {
  max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}

/* ============================================================
   C-MARK — Logo "C" als dezentes Wasserzeichen
   ============================================================ */
.cmark {
  position: absolute; z-index: 0;
  pointer-events: none; user-select: none;
  width: auto; height: auto;
}
.cmark--about {
  top: 50%; right: -9%;
  width: clamp(360px, 42vw, 640px);
  transform: translateY(-50%);
  opacity: .1;
}
.cmark--contact {
  top: -8%; right: -9%;
  width: clamp(300px, 34vw, 520px);
  opacity: .11;
}
.about__portrait { margin: 0; }
.about__portrait-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
  line-height: 0;
}
.about__portrait-frame img { width: 100%; height: auto; display: block; }
.about__portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,17,22,.15));
}
.about__portrait figcaption {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 18px;
}
.about__portrait figcaption strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.about__portrait figcaption span { color: var(--muted); font-size: 14px; }

.about__text { max-width: 580px; }
.about__lede { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; margin: 0 0 20px; }
.about__text p { margin: 0 0 16px; color: var(--ink-soft); }
.about__facts { list-style: none; padding: 0; margin: 32px 0; }
.about__facts li {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  padding: 16px 0; border-top: 1px solid rgba(14,17,22,.14);
}
.about__facts li:last-child { border-bottom: 1px solid rgba(14,17,22,.14); }
.about__facts span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.about__facts strong { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; }

/* ============================================================
   REFERENZEN
   ============================================================ */
.refs { padding: 120px 0; }
.refs__tabs {
  max-width: 1500px; margin: 0 auto 50px;
  padding: 0 32px;
  display: flex; flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.refs__tab {
  background: transparent;
  border: 1.5px solid rgba(14,17,22,.18);
  border-radius: 999px;
  padding: 12px 22px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--easing);
}
.refs__tab:hover { transform: translateY(-2px); border-color: var(--ink); }
.refs__tab.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.refs__tab.is-active .refs__tab-no { color: var(--green); }
.refs__tab-no { font-family: var(--font-display); font-size: 13px; color: var(--muted); }
.refs__tab-name { font-size: 14px; font-weight: 500; }

.refs__gallery {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
  column-count: 3;
  column-gap: 22px;
}
@media (max-width: 1000px) { .refs__gallery { column-count: 2; } }
@media (max-width: 600px) {
  .refs__gallery { column-count: 2; column-gap: 10px; padding: 0 18px; }
}

/* Initial collapsed state: limit visible thumbs */
.refs__gallery.is-collapsed .refs__item:nth-child(n+10) { display: none; }
@media (max-width: 600px) {
  .refs__gallery.is-collapsed .refs__item:nth-child(n+7) { display: none; }
}

.refs__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 32px;
}
.refs__more {
  cursor: pointer;
  gap: 12px;
}
.refs__more-count {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
}
.refs__more-icon {
  transition: transform .35s var(--easing);
}
.refs__more.is-expanded .refs__more-icon { transform: rotate(180deg); }

.refs__item {
  break-inside: avoid;
  margin: 0 0 22px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: opacity .5s var(--easing-out), transform .5s var(--easing-out);
}
.refs__item.is-in { opacity: 1; transform: translateY(0) scale(1); }
.refs__item img { width: 100%; height: auto; display: block; transition: transform .8s var(--easing); }
.refs__item:hover img { transform: scale(1.04); }
.refs__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,17,22,.55));
  opacity: 0; transition: opacity .4s;
}
.refs__item:hover::after { opacity: 1; }
.refs__item-label {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff; font-size: 14px; letter-spacing: .04em;
  transform: translateY(20px); opacity: 0;
  transition: transform .4s var(--easing), opacity .35s;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
}
.refs__item:hover .refs__item-label { transform: translateY(0); opacity: 1; }
.refs__item-label svg { width: 20px; height: 20px; }

/* ============================================================
   TESTIMONIALS / BEWERTUNGEN
   ============================================================ */
.testimonials {
  background: var(--bg-2);
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}
.testimonials .section-head { padding: 0 32px; }
.testimonials__stars {
  color: #e6a52d;
  letter-spacing: 2px;
  margin-right: 6px;
  font-size: 18px;
}
.testimonials .section-sub strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -.01em;
}

.testimonials__rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 50px;
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.testimonials__row { overflow-x: clip; overflow-y: visible; padding: 6px 0; }
.testimonials__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll-marquee var(--dur, 90s) linear infinite;
  animation-direction: var(--dir, normal);
  will-change: transform;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Pause only the row whose card is hovered */
.testimonials__row:hover .testimonials__track { animation-play-state: paused; }

.testimonial-card {
  flex: 0 0 360px;
  background: var(--bg);
  border: 1px solid rgba(14,17,22,.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s var(--easing), box-shadow .35s var(--easing), border-color .25s;
  cursor: default;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 24px 50px -20px rgba(14,17,22,.18);
}
.testimonial-card__head { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--blue) 55%, var(--green));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.testimonial-card__who { display: flex; flex-direction: column; min-width: 0; }
.testimonial-card__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.testimonial-card__stars { color: #e6a52d; letter-spacing: 1px; }
.testimonial-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-card__google {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.testimonial-card__google svg { width: 14px; height: 14px; }

.testimonials__cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding: 0 32px;
}

@media (max-width: 560px) {
  .testimonial-card { flex: 0 0 280px; padding: 18px 20px; min-height: 200px; }
  .testimonials { padding: 80px 0; }
  .testimonials__rows {
    gap: 14px;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .testimonials__track { gap: 14px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--bg);
  padding: 140px 32px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(89,143,182,.34), transparent 60%);
}
.contact::after {
  content: ""; position: absolute; bottom: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(89,153,91,.22), transparent 60%);
}
.contact .section-head { padding: 0; position: relative; z-index: 2; }
.contact__grid {
  max-width: 1500px; margin: 50px auto 0;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px;
  position: relative; z-index: 2;
}
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__block { border-top: 1px solid rgba(246,243,238,.18); padding-top: 18px; }
.contact__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,243,238,.6); }
.contact__big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -.02em;
  margin-top: 6px;
  position: relative;
  width: max-content;
}
.contact__big::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--easing-out);
}
.contact__big:hover::after { transform: scaleX(1); }
.contact__addr { margin: 6px 0 0; }
.contact__map-wrap {
  position: relative;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
  isolation: isolate;
}
.contact__map-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: #aad3df;
  color-scheme: light;
}
.contact__map-consent {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-2), #e7ebec);
}
.contact__map-note {
  max-width: 32ch;
  font-size: 13px; line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.contact__map-load { cursor: pointer; }
.contact__map-cta {
  position: absolute; right: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(14,17,22,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  transition: background .25s, transform .35s var(--easing), color .25s;
  pointer-events: auto;
}
.contact__map-cta svg { transition: transform .35s var(--easing); }
.contact__map-cta:hover { background: var(--green); transform: translateY(-2px); }
.contact__map-cta:hover svg { transform: translate(3px,-3px); }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,243,238,.7); }
.field label span { color: var(--green); }
.field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(246,243,238,.28);
  padding: 14px 0;
  color: var(--bg);
  font-family: inherit;
  font-size: 17px;
  transition: border-color .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); }
.field--check { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; color: rgba(246,243,238,.7); font-size: 14px; line-height: 1.5; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.field--check a { color: var(--green); text-decoration: underline; }
.hp { position: absolute; left: -10000px; opacity: 0; }

.form__status { grid-column: 1/-1; margin: 0; min-height: 24px; font-size: 14px; color: var(--green); }
.form__status.is-error { color: #ff8b8b; }

/* ============================================================
   NETWORK
   ============================================================ */
.network { padding: 70px 32px; }
.network .section-head { margin-bottom: 32px; }
.network .section-title {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.network__list { list-style: none; padding: 0; margin: 0 auto; max-width: 1500px; }
.network__list a {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(14,17,22,.14);
  border-bottom: 1px solid rgba(14,17,22,.14);
  transition: padding .4s var(--easing);
}
.network__list a:hover { padding: 22px 0; }
.network__list a:hover .network__name { transform: translateX(10px); font-style: italic; color: var(--blue); }
.network__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
  transition: transform .5s var(--easing), color .35s;
}
.network__url { color: var(--muted); font-size: 14px; }
.network__list a svg { width: 22px; height: 22px; transition: transform .4s var(--easing); }
.network__list a:hover svg { transform: translate(4px,-4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  background: var(--bg-2);
  padding: 80px 32px 30px;
  position: relative; overflow: hidden;
}
.site-foot__big {
  display: flex; justify-content: center; align-items: center;
  margin: 0 0 40px;
}
.site-foot__big img {
  width: clamp(280px, 60vw, 720px);
  height: auto;
  display: block;
}
.site-foot__cols {
  max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(14,17,22,.14);
}
.site-foot__cols strong { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; margin-bottom: 14px; }
.site-foot__cols a { display: block; color: var(--ink-soft); padding: 4px 0; font-size: 14px; transition: color .2s, transform .2s; }
.site-foot__cols a:hover { color: var(--blue); transform: translateX(4px); }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials .social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(14,17,22,.2);
  color: var(--ink);
  padding: 0; transform: none;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--easing);
}
.socials .social-icon:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  transform: translateY(-3px);
}
.site-foot__cols p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.site-foot__bottom {
  max-width: 1500px; margin: 24px auto 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.site-foot__credit a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 4px;
  transition: color .25s var(--easing);
}
.site-foot__credit a:hover { color: var(--blue); }
.site-foot__credit a svg { transition: transform .3s var(--easing); }
.site-foot__credit a:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,17,22,.96);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--easing);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__stage {
  margin: 0; max-width: 90vw; max-height: 86vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__stage img { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow); }
.lightbox__stage figcaption { color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.lightbox button {
  position: absolute; background: transparent; border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 22px;
  display: grid; place-items: center;
  transition: background .25s, transform .35s var(--easing);
}
.lightbox button:hover { background: rgba(255,255,255,.1); transform: scale(1.06); }
.lightbox__close { top: 28px; right: 28px; }
.lightbox__prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 28px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   SUB-PAGES (impressum/datenschutz)
   ============================================================ */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 180px 32px 100px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px); line-height: 1; letter-spacing: -.04em; margin: 0 0 40px;
}
.legal h2 { font-family: var(--font-display); font-size: 26px; margin: 36px 0 10px; }
.legal p { color: var(--ink-soft); margin: 0 0 16px; }
.legal a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav, .nav__cta { display: none; }
  .burger { display: block; }
  .site-header { grid-template-columns: 1fr auto; }

  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__form { grid-template-columns: 1fr; }
  .site-foot__cols { grid-template-columns: 1fr 1fr; gap: 32px; }

  .service { grid-template-columns: 50px 1fr; gap: 16px; }
  .service__desc { grid-column: 2; }
  .service:hover { padding: 36px 0; }
  .service:hover .service__name { transform: none; }

  .network__list a { grid-template-columns: 1fr auto; }
  .network__url { display: none; }
  .network__list a:hover { padding: 40px 0; }
  .network__list a:hover .network__name { transform: none; }

  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__close { top: 16px; right: 16px; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 18px; }
  .hero { padding: 110px 18px 60px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .section-head, .services__list, .refs__gallery, .refs__tabs { padding-left: 18px; padding-right: 18px; }
  .about, .contact, .network { padding-left: 18px; padding-right: 18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .line__inner { transform: none !important; }
}
