@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:            #F7F5F0;
  --white:         #FFFFFF;
  --primary:       #3D6B7D;
  --primary-light: #B8D4DC;
  --primary-pale:  #EAF3F6;
  --accent:        #E8C4A0;
  --accent-dark:   #C8956A;
  --text:          #1A1F2E;
  --text-muted:    #717585;
  --border:        #E0DAD0;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w:  1200px;
  --nav-h:  72px;

  --r-s:  6px;
  --r-m:  12px;
  --r-l:  20px;
  --r-xl: 40px;

  --shadow-s: 0 2px 12px rgba(26,31,46,.05);
  --shadow-m: 0 6px 32px rgba(26,31,46,.09);
  --shadow-l: 0 16px 60px rgba(26,31,46,.12);

  --ease: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); }

/* ── Typography ────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(1.9rem, 6vw, 4.6rem); font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem);   font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

p { max-width: 68ch; }

/* ── Layout ────────────────────────────────────────── */

.container {
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}

.section        { padding-block: clamp(72px, 10vw, 128px); }
.section--sm    { padding-block: clamp(48px,  6vw,  80px); }
.section--dark  { background: var(--text); color: var(--white); }
.section--white { background: var(--white); }

/* ── Buttons ───────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 2px;            /* scharf, kein Pill */
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Fill-Animation von links */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.btn:hover::before  { transform: scaleX(1); }
.btn > *            { position: relative; z-index: 1; }

.btn--primary {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.btn--primary::before { background: var(--primary); }
.btn--primary:hover   { color: var(--white); border-color: var(--primary); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline::before { background: var(--text); }
.btn--outline:hover   { color: var(--white); }

.btn--accent {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--lg { padding: 17px 36px; font-size: 1rem; }

/* ── Navigation ────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
}

.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 2rem;
  transition: background 0.4s, border-color 0.4s;
}

.nav.scrolled .nav__bar {
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav.overlay-open .nav__bar {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
}

/* Centered logo */
.nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.35s;
  z-index: 201;
}
.nav__logo span { color: var(--primary); }
.nav.overlay-open .nav__logo       { color: rgba(255,255,255,.85); }
.nav.overlay-open .nav__logo span  { color: rgba(255,255,255,.45); }

/* Hamburger — two clean lines */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 201;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.nav.overlay-open .nav__toggle span         { background: rgba(255,255,255,.8); }
.nav__toggle.active span:nth-child(1)       { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle.active span:nth-child(2)       { transform: translateY(-4.25px) rotate(-45deg); }

/* Fullscreen overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.nav__overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__overlay-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 48px;
}

.nav__overlay-list li { overflow: hidden; }

.nav__overlay-list a {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: -0.025em;
  line-height: 1.35;
  text-align: center;
  transition: color 0.2s, letter-spacing 0.3s var(--ease);
  padding: 2px 0;
}
.nav__overlay-list a:hover {
  color: var(--white);
  letter-spacing: 0.005em;
}

.nav__overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
}
.nav__overlay-contact a {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__overlay-contact a:hover { color: rgba(255,255,255,.65); }

/* ── Hero ──────────────────────────────────────────── */

/* ── Hero Stage — volle Viewport-Höhe mit zentraler Illustration ── */

.hero-stage {
  height: 100vh;
  min-height: 560px;
  background: #ECEAE6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: visible; /* Bild darf über die Schräge hinausragen */
  padding-top: var(--nav-h);
}

.hero-stage::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 110px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 38%, 100% 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-stage__visual {
  width: min(900px, 88vw);
  animation: hp-fade 1.3s ease 0.4s both;
  position: relative;
  z-index: 3; /* über der Schräge (::after hat z-index: 1) */
  margin-bottom: -60px;
  will-change: transform;
}

.hero-stage__visual img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Scroll-Hinweis unten */
.hero-stage__hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-stage__hint span {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.45;
}

.hero-stage__hint-line {
  width: 1px;
  height: 36px;
  background: var(--text-muted);
  opacity: 0.22;
  transform-origin: top;
  animation: hint-scroll 2.2s ease-in-out infinite;
}

@keyframes hint-scroll {
  0%, 100% { transform: scaleY(1);   opacity: 0.22; }
  55%       { transform: scaleY(0.3); opacity: 0.06; }
}

/* ── Hero Content — Text erscheint beim Scrollen ── */

.hero-content {
  background: var(--bg);
  padding: clamp(88px, 12vw, 148px) 0 clamp(72px, 8vw, 112px);
}

.hero-content .container { max-width: 860px; }

/* Kompatibilität: hero__content und hero__inner nicht mehr genutzt */
.hero__inner  { display: block; }
.hero__content { display: block; }

.hero__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero__headline {
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero__headline em {
  font-style: normal;
  color: var(--primary);
  opacity: .85;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero__trust-item::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero__visual {
  flex: 0 0 440px;
  width: 440px;
}

/* ── Section headers ───────────────────────────────── */

.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Weaintplastic-Stil: großer gesperrter Abschnittstitel */
.display-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  margin-bottom: 20px;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.7s ease;
}

.display-title.is-visible {
  transform: scaleX(1);
  opacity: 1;
}

.display-rule {
  width: 36px;
  height: 1px;
  background: var(--text);
  opacity: 0;
  margin: 0 auto 48px;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.4s ease;
  transition-delay: 0.8s;
}

.display-rule.is-visible {
  opacity: 0.2;
  transform: scaleX(1);
}

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-header--centered { text-align: center; }
.section-header--centered p { margin-inline: auto; }

/* ── Services Row (weaintplastic-Stil) ───────────────── */

.services-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 6vw, 88px);
  flex-wrap: wrap;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  padding-bottom: 6px;
}

.service-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--text);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.service-item:hover::after { transform: translateX(-50%) scaleX(1); }

.service-item__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  opacity: 0.65;
  position: relative;
  overflow: hidden;
  transition: opacity 0.25s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Glanz-Effekt */
.service-item__icon::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -80%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.55) 50%,
    transparent 70%
  );
  transform: skewX(-15deg);
  transition: left 0.55s ease;
  pointer-events: none;
  z-index: 2;
}

.service-item__icon svg { width: 44px; height: 44px; position: relative; z-index: 1; }

.service-item:hover .service-item__icon {
  opacity: 1;
  transform: scale(1.28);
}

.service-item:hover .service-item__icon::before {
  left: 140%;
}

/* Mobile: automatischer Shimmer da kein Hover existiert */
@keyframes auto-shimmer {
  0%, 60%, 100% { left: -80%; }
  30%           { left: 140%; }
}

@media (hover: none) {
  .service-item__icon::before {
    animation: auto-shimmer 3s ease infinite;
  }
  .service-item:nth-child(1) .service-item__icon::before { animation-delay: 0s; }
  .service-item:nth-child(2) .service-item__icon::before { animation-delay: 0.5s; }
  .service-item:nth-child(3) .service-item__icon::before { animation-delay: 1s; }
  .service-item:nth-child(4) .service-item__icon::before { animation-delay: 1.5s; }
  .service-item:nth-child(5) .service-item__icon::before { animation-delay: 2s; }
}


.service-item__name {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}


/* ── Features / Why us ─────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 32px 0;
  border-top: 1px solid var(--border);
}

.feature__num {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-muted);
  opacity: 0.5;
}

.feature__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature__text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ── Steps ─────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-top: 16px;
}

.step__num {
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.1);
  line-height: 1;
  margin-bottom: 4px;
}

.step__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step__text {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  max-width: none;
}

/* ── Testimonials ──────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 32px;
}

.testimonial__stars {
  color: #F5A623;
  font-size: .95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: .925rem;
  color: var(--text);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 24px;
  max-width: none;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.testimonial__name  { font-weight: 600; font-size: .875rem; }
.testimonial__where { font-size: .78rem; color: var(--text-muted); }

/* ── CTA Banner ────────────────────────────────────── */

.cta-banner {
  background: var(--accent);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-banner h2  { margin-bottom: 14px; }
.cta-banner p   { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }

/* ── Page hero (subpages) ──────────────────────────── */

.page-hero {
  padding-top: calc(var(--nav-h) + 52px);
  padding-bottom: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { opacity: .4; font-size: .7rem; }

.page-hero__icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.page-hero h1 { margin-bottom: 16px; }

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ── Content layout (subpages) ─────────────────────── */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

.content-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.aside-card {
  background: var(--primary-pale);
  border: 1px solid var(--primary-light);
  border-radius: var(--r-l);
  padding: 32px;
}
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card p  { font-size: .875rem; color: var(--text-muted); margin-bottom: 22px; max-width: none; }

/* Checklists */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  line-height: 1.55;
}
.checklist li::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Rich content blocks */
.content-block { max-width: 680px; }
.content-block + .content-block { margin-top: 52px; }
.content-block h2 { margin-bottom: 16px; }
.content-block h3 { font-size: 1.15rem; margin-bottom: 10px; }
.content-block p  { color: var(--text-muted); margin-bottom: 18px; }

/* ── FAQ ───────────────────────────────────────────── */

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
  max-width: 760px;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: background .15s;
}
.faq-item__q:hover { background: var(--bg); }

.faq-item__plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--border);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.faq-item.open .faq-item__plus {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
}
.faq-item.open .faq-item__a { max-height: 500px; }

.faq-item__a p {
  padding: 0 24px 22px;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: none;
}

/* ── Contact page ──────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
}
.contact-form h2    { margin-bottom: 8px; }
.contact-form > p   { color: var(--text-muted); margin-bottom: 36px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: .01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-m);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.contact-info { padding-top: 8px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 28px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item__icon {
  width: 44px; height: 44px;
  background: var(--primary-pale);
  border-radius: var(--r-m);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item__value { font-weight: 500; font-size: .95rem; }
.contact-item__value a { color: var(--primary); transition: color .15s; }
.contact-item__value a:hover { color: var(--text); }

/* ── Über uns ──────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 40px 32px;
  text-align: center;
}

.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.team-card__name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.team-card__role { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; }
.team-card__bio  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; max-width: none; }

/* ── Footer ────────────────────────────────────────── */

.footer {
  background: var(--text);
  color: rgba(255,255,255,.65);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 72px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  display: inline-block;
  margin-bottom: 14px;
}
.footer__logo span { color: var(--primary-light); }

.footer__tagline {
  font-size: .875rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 28ch;
}

.footer__col h4 {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 20px;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p,
.footer__bottom a {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: rgba(255,255,255,.6); }

/* ── Legal pages ───────────────────────────────────── */

.legal-content {
  max-width: 760px;
  padding-block: clamp(64px, 8vw, 100px);
}
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}
.legal-content .updated {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 52px;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 40px;
  margin-bottom: 10px;
}
.legal-content p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: none;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-stage__visual { width: min(700px, 92vw); margin-bottom: -30px; }
  .content-grid  { grid-template-columns: 1fr; }
  .content-aside { position: static; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Hero Mobile: Bild groß, mittig positioniert */
  .hero-stage { justify-content: center; }
  .hero-stage__visual { width: 96vw; margin-bottom: 0; margin-top: 20px; }

  .hero__label  { margin-inline: auto; }
  .hero__trust  { justify-content: center; }
  .hero__actions { justify-content: center; flex-direction: column; align-items: stretch; }

  /* Services auf Mobile: eine Spalte wie weaintplastic */
  .services-row { flex-direction: column; align-items: center; gap: 36px; }
  .service-item__name { white-space: normal; font-size: .85rem; letter-spacing: .06em; }

  .contact-form  { padding: 28px; }
  .form-row      { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .cta-banner .btn { width: 100%; justify-content: center; }
}

/* ── Intro Splash ─────────────────────────────────── */

.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.intro.is-leaving { transform: translateY(-100%); }

.intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: filter 0.75s var(--ease), opacity 0.6s var(--ease);
}

.intro.is-leaving .intro__content {
  filter: blur(14px);
  opacity: 0;
}

.intro__line {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 32px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.intro__line.is-visible { width: min(260px, 38vw); }

.intro__logo {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  gap: 0.55em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.intro__logo.is-visible { opacity: 1; transform: translateY(0); }

.intro__slash { color: rgba(255,255,255,0.25); }
.intro__word  { color: rgba(255,255,255,0.88); min-width: 5.5ch; }

.intro__sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.intro__sub.is-visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   JS-ENHANCED LAYER
   ═══════════════════════════════════════════════════ */

/* ── Page Overlay Transition ──────────────────────── */

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--text);
  transform-origin: bottom center;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-overlay.is-revealed {
  transform: scaleY(0);
  transform-origin: top center;
}

/* ── Custom Cursor ────────────────────────────────── */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.25s, border-color 0.25s;
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  margin-left: -3.5px;
  margin-top: -3.5px;
  transition: opacity 0.2s, transform 0.1s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--primary);
  margin-left: -18px;
  margin-top: -18px;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  background: rgba(61, 107, 125, 0.07);
  border-color: var(--primary);
}

.cursor-ring.is-dark {
  border-color: rgba(255,255,255,.6);
}

/* ── Hero Entrance Sequence ───────────────────────── */

@keyframes hp-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes hp-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero-Text-Elemente: Stagger-Delays für den Scroll-Reveal */
.hero__label    { --stagger: 0; }
.hero__headline { --stagger: 1; }
.hero__sub      { --stagger: 2; }
.hero__actions  { --stagger: 3; }
.hero__trust    { --stagger: 4; }

/* ── Scroll Reveal ────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 110ms);
}

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

/* ── Heading Wave Reveal ──────────────────────────── */

.anim-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}

.anim-space {
  display: inline-block;
  width: 0.28em;
}

.anim-word-group {
  display: inline-block;
  white-space: nowrap;
}

.anim-char {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.4s ease;
}

.anim-char.is-visible {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

/* ── Marquee ──────────────────────────────────────── */

.marquee {
  overflow: hidden;
  background: var(--primary);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.marquee__item span {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 0 20px;
}

.marquee__item .sep {
  color: rgba(255,255,255,.18);
  padding: 0 4px;
  font-size: .8rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Magnetic Buttons ─────────────────────────────── */

.btn {
  /* ensure JS transform doesn't fight CSS transition */
  will-change: transform;
}

/* ── Grain Texture ────────────────────────────────── */

body::after {
  content: '';
  position: fixed;
  inset: -200%;
  width: 500%;
  height: 500%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.018;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain-shift 0.35s steps(2) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, -4%); }
  50%  { transform: translate(2%, 3%); }
  75%  { transform: translate(-4%, 2%); }
  100% { transform: translate(3%, -3%); }
}

/* ── Section label line ───────────────────────────── */

.label::before {
  content: '—';
  margin-right: 8px;
  opacity: 0.4;
}

/* ── Enhanced link underline ──────────────────────── */

.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hide cursor elements on touch */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
