/* ==========================================================================
   RT Haustechnik UG — Design Tokens & Base
   ========================================================================== */

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

:root {
  --white: #ffffff;
  --ink: #111111;
  --ink-soft: #1b1b1b;

  /* Kupfer — ein Farbton, kein Regenbogen-Verlauf */
  --copper-800: #7a4123;
  --copper-700: #93502b;
  --copper-600: #ac6136;
  --copper-500: #c47a48;
  --copper-300: #e3b184;

  --gradient-text: linear-gradient(90deg, var(--copper-800) 0%, var(--copper-500) 50%, var(--copper-800) 100%);
  --gradient-btn: linear-gradient(90deg, var(--copper-800) 0%, var(--copper-600) 50%, var(--copper-800) 100%);

  --text-900: #111111;
  --text-600: #52565c;
  --text-400: #83878d;

  --line: rgba(17,17,17,.10);
  --line-soft: rgba(17,17,17,.07);
  --line-dark: rgba(255,255,255,.14);
  --line-dark-soft: rgba(255,255,255,.08);
  --wash: rgba(17,17,17,.035);
  --wash-dark: rgba(255,255,255,.05);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-btn: 8px;
  --radius-transition: 48px;

  --shadow-sm: 0 2px 14px rgba(17,17,17,.05);
  --shadow-md: 0 14px 34px rgba(17,17,17,.09);
  --shadow-lg: 0 26px 64px rgba(17,17,17,.14);

  --container: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

h1, h2, h3 { font-weight: 600; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--wash);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--copper-700);
  margin-bottom: 1.1rem;
}

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-text-highlight {
  display: inline;
  background: var(--white);
  padding: .01em .2em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-head {
  max-width: 620px;
  margin: 0 0 3.5rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-600);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 8px 22px rgba(122,65,35,.28);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(122,65,35,.36); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(17,17,17,.18);
}
.btn--outline:hover { border-color: var(--copper-600); color: var(--copper-700); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }

.btn--sm { padding: .6rem 1.15rem; font-size: .84rem; }
.btn--block { width: 100%; justify-content: center; }

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: #fff;
  flex-shrink: 0;
}
.icon-chip svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header — nach dem Vorbild von AHM Autogroup
   ========================================================================== */

.header {
  position: fixed;
  top: 16px; left: 24px; right: 24px;
  z-index: 100;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,17,17,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(17,17,17,.06);
  display: flex;
  align-items: center;
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 18px 44px rgba(17,17,17,.11); }

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  color: var(--ink);
}
.logo__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--copper-700);
  line-height: 1;
}
.logo__name {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.logo small { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__links a {
  padding: .6rem .8rem;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-600);
  border-radius: var(--radius-sm);
  transition: color .18s ease, background .18s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--wash); }

.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: .6rem; }
.nav__phone { display: none; }

.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  margin-left: auto;
}
.burger span { width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 90px; left: 24px; right: 24px;
  z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a:not(.btn) {
  padding: 1rem 1.4rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:not(.btn):hover { background: var(--wash); }
.mobile-nav .btn { margin: 1rem 1.4rem 1.3rem; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 0 90px;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.42) 45%, rgba(10,10,10,.72) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: var(--copper-300); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0; transform: translateY(20px);
  animation: heroUp .8s var(--ease) forwards;
  animation-delay: .1s;
}

.hero p.lead {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp .8s var(--ease) forwards;
  animation-delay: .24s;
}

.hero__cta {
  display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap;
  justify-content: center;
  opacity: 0; transform: translateY(20px);
  animation: heroUp .8s var(--ease) forwards;
  animation-delay: .38s;
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  justify-content: center;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
  opacity: 0; transform: translateY(20px);
  animation: heroUp .8s var(--ease) forwards;
  animation-delay: .52s;
}

.hero__trust-item { display: flex; align-items: center; gap: .6rem; font-size: .87rem; color: rgba(255,255,255,.85); font-weight: 500; }
.hero__trust-item .icon-chip { width: 26px; height: 26px; }
.hero__trust-item svg { width: 14px; height: 14px; }

@keyframes heroUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.6rem 0;
}
.stat { text-align: center; padding: 0 1rem; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--copper-700);
}
.stat__label { margin-top: .35rem; font-size: .8rem; color: var(--text-400); font-weight: 500; }

/* ==========================================================================
   Warum Qualitaet — Pain-Copy-Section mit Scroll-Spotlight
   ========================================================================== */

.painpoint { background: var(--ink); padding: 8rem 0; border-radius: var(--radius-transition); }

.painpoint__inner { position: relative; max-width: 740px; margin: 0 auto; padding-left: 2.6rem; }

.painpoint__rail {
  --progress: 0;
  position: absolute;
  left: 0; top: .3rem; bottom: .3rem;
  width: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.painpoint__rail::before {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%;
  height: calc(var(--progress) * 100%);
  background: var(--gradient-btn);
  box-shadow: 0 0 12px rgba(196,122,72,.7);
}

.painpoint__line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.9vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,.26);
  margin-bottom: 1.15rem;
  transform: translateX(-16px);
  transition: color .6s var(--ease), transform .6s var(--ease);
}
.painpoint__line.is-active { color: rgba(255,255,255,.94); transform: translateX(0); }

.painpoint__line .hl-copper {
  color: var(--copper-500);
  font-weight: 600;
  transition: color .6s var(--ease);
}
.painpoint__line.is-active .hl-copper { color: var(--copper-300); }

.painpoint__line .hl-strike {
  text-decoration: line-through;
  text-decoration-color: var(--copper-600);
  text-decoration-thickness: 2px;
  opacity: .7;
}

.painpoint__closing {
  margin-top: 2.6rem;
  padding-top: 2.3rem;
  border-top: 1px solid var(--line-dark-soft);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.3);
  transform: translateX(-16px);
  transition: color .6s var(--ease), transform .6s var(--ease);
}
.painpoint__closing.is-active { color: rgba(255,255,255,.96); transform: translateX(0); }

@media (max-width: 640px) {
  .painpoint__inner { padding-left: 1.6rem; }
}

.grad-text-light {
  background: linear-gradient(90deg, var(--copper-300) 0%, var(--copper-500) 50%, var(--copper-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Leistungen (services)
   ========================================================================== */

.services { padding: 8rem 0 6rem; }

.services__rows {
  display: flex;
  flex-direction: column;
  gap: 7rem;
  margin-top: 4rem;
}

.services__row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: center;
  opacity: 0; transform: translateY(22px);
}
.services__row.is-revealed { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.services__row.reverse .services__text { order: 2; }
.services__row.reverse .services__visual { order: 1; }

.services__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: .8rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services__text > p { color: var(--text-600); font-size: 1.02rem; max-width: 34ch; margin-bottom: 1rem; }

.services__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.services__list li { border-top: 1px solid var(--line); }
.services__list li a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0;
  font-size: .98rem;
  color: var(--text-600);
  transition: color .25s ease;
  overflow: hidden;
  cursor: pointer;
}
.services__list li a::before {
  content: '';
  position: absolute; left: 0; top: -1px; right: 0; height: 1.5px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.services__list li a:hover::before { transform: scaleX(1); }
.services__list li a:hover { color: var(--ink); }
.services__list svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--copper-500); transition: transform .3s var(--ease); }
.services__list li a:hover svg { transform: translateX(4px); color: var(--copper-700); }

.services__visual { position: relative; height: 380px; }

.services__photo {
  position: absolute;
  width: 58%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .3s ease;
}
.services__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.services__photo:hover { z-index: 5 !important; box-shadow: 0 30px 60px -16px rgba(196,122,72,.5); }

.services__photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, var(--copper-600), var(--copper-800));
  color: rgba(255,255,255,.92);
}
.services__photo-placeholder svg { width: 22px; height: 22px; opacity: .85; }
.services__photo-placeholder span { font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

.services__photo--a { left: 0; top: 9%; transform: rotate(-9deg); z-index: 1; }
.services__photo--b { left: 21%; top: -3%; transform: rotate(2deg); z-index: 3; }
.services__photo--c { left: 41%; top: 11%; transform: rotate(10deg); z-index: 2; }

.services__visual:hover .services__photo--a { transform: rotate(-14deg) translate(-12px, 4px); }
.services__visual:hover .services__photo--b { transform: rotate(2deg) translateY(-12px); }
.services__visual:hover .services__photo--c { transform: rotate(15deg) translate(12px, 4px); }

.services__visual--five .services__photo { width: 40%; }
.services__visual--five .services__photo--a { left: -4%; top: 16%; transform: rotate(-15deg); z-index: 1; }
.services__visual--five .services__photo--b { left: 14%; top: 3%; transform: rotate(-6deg); z-index: 2; }
.services__visual--five .services__photo--c { left: 32%; top: -5%; width: 42%; transform: rotate(2deg); z-index: 5; }
.services__visual--five .services__photo--d { left: 51%; top: 3%; transform: rotate(8deg); z-index: 2; }
.services__visual--five .services__photo--e { left: 68%; top: 16%; transform: rotate(16deg); z-index: 1; }

.services__visual--five:hover .services__photo--a { transform: rotate(-20deg) translate(-14px, 4px); }
.services__visual--five:hover .services__photo--b { transform: rotate(-9deg) translateY(-10px); }
.services__visual--five:hover .services__photo--c { transform: rotate(2deg) translateY(-14px); }
.services__visual--five:hover .services__photo--d { transform: rotate(11deg) translateY(-10px); }
.services__visual--five:hover .services__photo--e { transform: rotate(21deg) translate(14px, 4px); }

.services__radar {
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services__radar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(196,122,72,.22), transparent 70%);
}
.services__radar-ring {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--copper-500);
  animation: radarPing 3s ease-out infinite;
}
.services__radar-ring--2 { animation-delay: 1s; }
.services__radar-ring--3 { animation-delay: 2s; }
@keyframes radarPing {
  0% { transform: scale(1); opacity: .9; border-color: var(--copper-300); }
  100% { transform: scale(9); opacity: 0; border-color: var(--copper-800); }
}
.services__radar-core { position: relative; z-index: 2; }
.services__radar-core .icon-chip {
  width: 56px; height: 56px;
  border-radius: 999px;
  box-shadow: 0 0 0 6px var(--ink), 0 16px 34px rgba(122,65,35,.5);
}
.services__radar-core .icon-chip svg { width: 24px; height: 24px; }
.services__radar-label {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

.services__photo--single {
  inset: 0;
  width: 100%;
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  cursor: default;
}
.services__visual--single:hover .services__photo--single { transform: none; }

/* ==========================================================================
   Zusammenarbeit — Sticky-Stacking-Karten (nach Vorbild cryptory.de)
   ========================================================================== */

.process { padding: 7rem 0 3rem; background: var(--white); }

.process__head { max-width: 720px; margin: 0 auto 4rem; text-align: center; }
.process__head .eyebrow { margin-left: auto; margin-right: auto; }
.process__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.process__headline-line { display: block; white-space: nowrap; }
.process__head h2 .process__headline-accent { color: var(--copper-700); }

.process__track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 130px;
  height: 300vh;
}

.process__card {
  position: sticky;
  top: 96px;
  z-index: 4;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.process__body { max-width: 400px; flex-shrink: 0; }
.process__body .eyebrow { margin-bottom: 1.4rem; }
.process__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}

.process__list { display: flex; flex-direction: column; }
.process__list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--text-600);
  line-height: 1.55;
}
.process__list li:last-child { border-bottom: none; }
.process__list .icon-chip { width: 26px; height: 26px; border-radius: 7px; margin-top: .05rem; }
.process__list svg { width: 13px; height: 13px; }

.process__visual {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 460px;
  border-radius: var(--radius-md);
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.process__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process__visual::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18,24,32,.12), transparent 38%, rgba(18,24,32,.28));
}
.process__visual .icon-chip {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(122,65,35,.4);
}
.process__visual .icon-chip svg { width: 38px; height: 38px; }
.process__step-num {
  position: absolute;
  z-index: 2;
  top: 24px; left: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

/* ==========================================================================
   Stoeberecke — frei ziehbare Projekt-Galerie
   ========================================================================== */

.showcase { padding: 8rem 0; }
.showcase__head { max-width: 640px; margin-bottom: 2.5rem; }
.showcase__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.showcase__head p { margin-top: .9rem; color: var(--text-600); font-size: 1.02rem; max-width: 46ch; }

.showcase__frame-wrap {
  position: relative;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(135deg, var(--copper-500), var(--ink) 65%);
}
.showcase__frame {
  position: relative;
  height: clamp(460px, 68vw, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  touch-action: none;
}
.showcase__frame::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(196,122,72,.16), transparent 70%);
  pointer-events: none;
}

.showcase__hint {
  position: absolute;
  left: 50%; top: 18px;
  transform: translateX(-50%);
  z-index: 500;
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.showcase__hint svg { width: 14px; height: 14px; }
.showcase__hint.is-hidden { opacity: 0; }

.showcase__cards { position: absolute; inset: 0; }

.drag-card {
  position: absolute;
  width: clamp(130px, 13vw, 190px);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.drag-card:active { cursor: grabbing; }
.drag-card__inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 45px -22px rgba(0,0,0,.6);
  transition: box-shadow .25s var(--ease);
}
.drag-card:hover .drag-card__inner { box-shadow: 0 26px 55px -18px rgba(196,122,72,.45); }
.drag-card.is-dragging { z-index: 999 !important; }
.drag-card.is-dragging .drag-card__inner { box-shadow: 0 34px 70px -16px rgba(0,0,0,.65); }

.drag-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.drag-card__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  color: rgba(255,255,255,.88);
  text-align: center;
  padding: .5rem;
}
.drag-card__placeholder svg { width: 22px; height: 22px; opacity: .85; margin-bottom: .2rem; }
.drag-card__placeholder .num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.drag-card__placeholder .label { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: rgba(8,8,8,.86);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__body {
  position: relative;
  max-width: min(90vw, 640px);
  max-height: 82vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 110px rgba(0,0,0,.5);
  transform: scale(.96);
  transition: transform .25s var(--ease);
}
.lightbox.is-open .lightbox__body { transform: scale(1); }
.lightbox__body img { display: block; max-width: min(90vw, 640px); max-height: 82vh; width: auto; height: auto; }
.lightbox__body .drag-card__placeholder { position: relative; width: min(90vw, 480px); aspect-ratio: 4/5; background: var(--ink-soft); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,.5);
  color: #fff;
}
.lightbox__close svg { width: 18px; height: 18px; }

/* ==========================================================================
   CTA — Teil der Warum-Qualitaet-Section (nicht mehr eigener Banner)
   ========================================================================== */

.painpoint__texture {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1.3px);
  background-size: 15px 15px;
  opacity: .15;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, black 0%, transparent 75%);
  pointer-events: none;
}

.painpoint__glow-bottom {
  position: absolute;
  bottom: -15%; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 420px;
  background: radial-gradient(ellipse at 50% 80%, rgba(196,122,72,.4) 0%, rgba(196,122,72,.12) 40%, transparent 70%);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.painpoint__cta {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 5rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line-dark-soft);
  text-align: center;
}

.painpoint__cta-visual {
  width: 84px; height: 84px;
  margin: 0 auto 1.3rem;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 6px var(--ink), 0 16px 34px rgba(122,65,35,.4);
}
.painpoint__cta-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.painpoint__cta .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--copper-300);
}
.painpoint__cta h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: .6rem;
}
.painpoint__cta p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto 1.4rem;
}

.cta-banner__btn {
  position: relative;
  overflow: hidden;
  padding: .8rem 1.5rem;
  font-size: .85rem;
  box-shadow: 0 0 0 0 rgba(196,122,72,.5), 0 8px 22px rgba(122,65,35,.32);
  animation: ctaPulse 2.6s ease-out infinite;
}
.cta-banner__btn-inner, .cta-banner__btn-clone {
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .35s var(--ease);
}
.cta-banner__btn-clone { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(140%); }
.cta-banner__btn:hover .cta-banner__btn-inner { transform: translateY(-140%); }
.cta-banner__btn:hover .cta-banner__btn-clone { transform: translateY(0); }
.cta-banner__btn svg { width: 15px; height: 15px; flex-shrink: 0; }
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(196,122,72,.45), 0 8px 22px rgba(122,65,35,.32); }
  70% { box-shadow: 0 0 0 12px rgba(196,122,72,0), 0 8px 22px rgba(122,65,35,.32); }
  100% { box-shadow: 0 0 0 0 rgba(196,122,72,0), 0 8px 22px rgba(122,65,35,.32); }
}

@media (max-width: 640px) {
  .painpoint__cta { margin-top: 3.5rem; padding-top: 2.5rem; }
}

/* ==========================================================================
   Ueber uns
   ========================================================================== */

.about { padding: 8rem 0; }

.about__intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.about h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  max-width: 19ch;
}

.about__copy { padding-top: 2.3rem; }
.about__body p { color: var(--text-600); font-size: 1rem; line-height: 1.8; margin-bottom: 1.1rem; max-width: 62ch; }
.about__body p:last-child { margin-bottom: 0; }

.about__list { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.about__list li {
  display: flex; align-items: center; gap: .9rem;
  min-height: 76px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
}
.about__list .icon-chip { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; }
.about__list svg { width: 12px; height: 12px; }

/* ==========================================================================
   Karriere
   ========================================================================== */

.career { padding: 6rem 0; background: var(--white); border-top: 1px solid var(--line-soft); }

.career__box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.career__head {
  padding: 2.6rem 2.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.career__head h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.005em; }
.career__head p { margin-top: .4rem; color: var(--text-600); font-size: .95rem; }

.career__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.career__col { padding: 2.4rem 2.8rem; }
.career__col:first-child { border-right: 1px solid var(--line); }
.career__col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-400); margin-bottom: 1.2rem; font-weight: 700; }
.career__col ul { display: flex; flex-direction: column; gap: .8rem; }
.career__col li { display: flex; gap: .7rem; font-size: .92rem; color: var(--text-600); align-items: flex-start; }
.career__col svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .18rem; color: var(--copper-600); }

.career__foot { padding: 2rem 2.8rem 2.6rem; border-top: 1px solid var(--line); }

.apply-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.apply-panel__inner { padding: 2.6rem 2.8rem 3rem; border-top: 1px solid var(--line); }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-600); }
.field input, .field textarea, .field select {
  border: 1.5px solid rgba(17,17,17,.14);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  font-size: .92rem;
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--copper-600);
  box-shadow: 0 0 0 3px rgba(172,97,54,.14);
}
.field textarea { resize: vertical; min-height: 110px; }

.radio-group { display: flex; gap: 1.4rem; }
.radio-group label { display: flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 500; color: var(--text-600); }
.radio-group input { accent-color: var(--copper-600); width: 16px; height: 16px; }

.form-note { font-size: .8rem; color: var(--text-400); margin-top: .3rem; }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.2rem 0 .3rem;
  cursor: pointer;
}
.consent-check input {
  accent-color: var(--copper-600);
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: .15rem;
}
.consent-check span { font-size: .82rem; line-height: 1.5; color: var(--text-600); }
.consent-check a { color: var(--copper-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(172,97,54,.08); color: var(--copper-800); }
.form-status.err { background: rgba(200,60,30,.08); color: #a63a1c; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { padding: 8rem 0; background: var(--white); }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.faq__question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--copper-600);
  transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__question svg { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__answer p {
  padding-bottom: 1.7rem;
  padding-right: 2.5rem;
  color: var(--text-600);
  font-size: .95rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .faq { padding: 4.5rem 0; }
  .faq__question { font-size: .95rem; }
  .faq__answer p { padding-right: 0; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact { padding: 8rem 0; }

.contact__box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact__details {
  padding: 3.2rem 2.8rem;
  border-right: 1px solid var(--line);
}
.contact__details h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 1.8rem; }

.contact__list { display: flex; flex-direction: column; }
.contact__list li {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.contact__list li:first-child { border-top: none; padding-top: 0; }
.contact__list li span:first-child { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-400); font-weight: 600; }
.contact__list li a, .contact__list li span:last-child { font-size: .95rem; font-weight: 500; color: var(--ink); }
.contact__list li a:hover { color: var(--copper-700); }

.contact__form-wrap { padding: 3.2rem 2.8rem; }

/* ==========================================================================
   Mini-CTA — direkt anrufen
   ========================================================================== */

.mini-cta { padding: 3rem 0; }

.mini-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.8rem;
}

.mini-cta__text .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--copper-300);
  margin-bottom: .6rem;
}
.mini-cta__text h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.mini-cta__btn { flex-shrink: 0; }
.mini-cta__btn svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .mini-cta { padding: 2rem 0; }
  .mini-cta__box { padding: 2rem; flex-direction: column; align-items: flex-start; }
  .mini-cta__btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   FAB — Notdienst
   ========================================================================== */

.fab-call {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  padding: .95rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 700; font-size: .87rem;
  box-shadow: 0 14px 32px rgba(122,65,35,.35);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.fab-call:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(122,65,35,.42); }
.fab-call svg { width: 17px; height: 17px; }
.fab-call span.dot {
  width: 8px; height: 8px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 5rem 0 0; position: relative; overflow: hidden; border-radius: var(--radius-transition) var(--radius-transition) 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line-dark-soft);
}

.footer__brand .logo { color: #fff; }
.footer__brand .logo__name { color: #fff; }
.footer__brand p { margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.5); max-width: 260px; line-height: 1.7; }
.footer__brand .btn { margin-top: 1.4rem; }

.footer h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.45); margin-bottom: 1.2rem; font-weight: 700; }
.footer ul { display: flex; flex-direction: column; gap: .7rem; }
.footer ul a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color .2s ease; }
.footer ul a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.6rem 0; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.footer-bottom__links { display: flex; gap: 1.4rem; }
.footer-bottom__links a { color: rgba(255,255,255,.55); }
.footer-bottom__links a:hover { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .burger { display: flex; }
  .services__rows { gap: 4.5rem; }
  .services__row, .services__row.reverse { grid-template-columns: 1fr; }
  .services__row .services__text, .services__row.reverse .services__text,
  .services__row .services__visual, .services__row.reverse .services__visual { order: 0; }
  .services__visual { height: 300px; margin-top: 1rem; }
  .process__track { height: auto; gap: 1.5rem; }
  .process__card { position: static; flex-direction: column; align-items: flex-start; min-height: 0; padding: 2rem; box-shadow: var(--shadow-md); }
  .process__body { max-width: none; }
  .process__visual { width: 100%; height: 260px; }
  .about__intro { grid-template-columns: 1fr; gap: 1rem; }
  .about__copy { padding-top: 0; }
  .about__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__box { grid-template-columns: 1fr; }
  .contact__details { border-right: none; border-bottom: 1px solid var(--line); }
  .career__body { grid-template-columns: 1fr; }
  .career__col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .stat:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
  :root { --radius-transition: 24px; }
  .container { padding: 0 20px; }
  .header { left: 12px; right: 12px; top: 12px; height: 60px; }
  .header__inner { padding: 0 6px 0 18px; }
  .logo__mark { font-size: 1.2rem; }
  .logo__name { font-size: .72rem; }
  .mobile-nav { left: 12px; right: 12px; top: 84px; }
  .hero { padding: 130px 0 70px; }
  .services, .process, .showcase, .about, .career, .contact { padding: 4.5rem 0; }
  .services__rows { gap: 3.5rem; margin-top: 3rem; }
  .services__visual { height: 240px; }
  .services__photo { width: 52%; }
  .process__card { padding: 1.6rem; }
  .process__visual { height: 200px; }
  .showcase__hint { font-size: .7rem; padding: .45rem .8rem; }
  .career__head, .career__col, .apply-panel__inner, .career__foot { padding-left: 1.5rem; padding-right: 1.5rem; }
  .contact__details, .contact__form-wrap { padding: 2.2rem 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .fab-call span:not(.dot) { display: none; }
  .fab-call { padding: .95rem; }
  .about__list { grid-template-columns: 1fr; }
  .about__list li:last-child { grid-column: auto; }
}
