/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Work+Sans:wght@400;500;600;700&display=swap');

/* === DESIGN TOKENS === */
:root {
  /* Akzentfarbe: Freihube-Blau (abgeleitet von Original-Violett, besser lesbar) */
  --accent: #3B5FCC;
  --accent-hover: #2E4DA8;
  --accent-rgb: 59, 95, 204;
  --accent-glow: rgba(59, 95, 204, 0.2);

  /* Hintergruende */
  --bg-hell: #FAF9F7;
  --bg-grau: #F0EDEA;
  --bg-dunkel: #1C1917;
  --bg-dunkel-2: #292524;

  /* Textfarben */
  --text-dunkel: #1C1917;
  --text-body: #44403C;
  --text-gedaempft: rgba(0, 0, 0, 0.5);
  --text-hell: #E7E5E4;

  /* Borders */
  --border: rgba(28, 25, 23, 0.1);
  --border-hell: rgba(255, 255, 255, 0.1);

  /* Typografie */
  --font-head: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);

  /* Layout */
  --container: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-hell);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-dunkel);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  margin-bottom: 0.5rem;
}

/* === UTILITIES === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* === SCROLL-REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal--left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal--right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger-Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

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

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

/* Helle Variante auf dunklem BG */
.btn--hell {
  color: var(--text-hell);
  border-color: var(--border-hell);
}
.btn--hell:hover {
  border-color: var(--accent);
  color: var(--text-hell);
}

.btn--gross {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
}

.btn__pfeil {
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}
.btn:hover .btn__pfeil {
  transform: translateX(4px);
}

/* Button-Shine-Effekt */
.btn--shine {
  position: relative;
  overflow: hidden;
}
.btn--shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}
.btn--shine:hover::before {
  left: 125%;
}

/* === DEMO-BANNER === */
.demo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--text-hell);
  text-align: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.demo-banner a {
  color: var(--text-hell);
  text-decoration: underline;
  font-weight: 700;
}

/* Sticky CTA muss ueber dem Demo-Banner sitzen */
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 36px;
  }
}

/* === SKIP-LINK === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* === FOCUS-STYLES === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* === BILD-PLATZHALTER === */
.img-platzhalter {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-grau) 0%, #E5E1DD 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gedaempft);
  font-size: 0.8125rem;
  text-align: center;
  padding: 2rem;
}


/* ============================================ */
/* === NAV === */
/* ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}
/* Logo ist weiss — auf gescrolltem hellem BG invertieren */
.nav.is-scrolled .nav__logo-img {
  height: 32px;
  filter: invert(1) brightness(0.2);
}

.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color 0.3s var(--ease-out);
}
.nav.is-scrolled .nav__links a {
  color: var(--text-body);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover {
  color: var(--text-hell);
}
.nav.is-scrolled .nav__links a:hover {
  color: var(--text-dunkel);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__rechts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__telefon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s var(--ease-out);
}
.nav.is-scrolled .nav__telefon {
  color: var(--text-dunkel);
}
.nav__telefon:hover {
  color: var(--accent);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-hell);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav.is-scrolled .nav__hamburger span {
  background: var(--text-dunkel);
}
.nav__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  padding: 1.5rem;
  background: var(--bg-hell);
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open {
  display: block;
}
.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav__mobile a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dunkel);
}


/* ============================================ */
/* === HERO === */
/* ============================================ */

.hero {
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Hintergrundbild mit Overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.7) 0%,
    rgba(28, 25, 23, 0.55) 50%,
    rgba(28, 25, 23, 0.75) 100%
  );
}

/* Deko-Hintergrundtext: SEIT 1961 */
.hero::before {
  content: 'SEIT 1961';
  position: absolute;
  right: -3%;
  bottom: -8%;
  font-family: var(--font-head);
  font-size: clamp(10rem, 20vw, 22rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-hell);
}

.hero .kicker {
  animation: fadeIn 0.8s var(--ease-out) both;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  animation: fadeUp 0.8s var(--ease-out) 0.15s both;
}

.hero__sub {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

/* Hero Outline-Button auf dunklem BG */
.btn--hero-outline {
  color: var(--text-hell);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--hero-outline:hover {
  border-color: var(--text-hell);
  color: var(--text-hell);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.45s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}


/* ============================================ */
/* === TRUST-BAR === */
/* ============================================ */

.trust-bar {
  background: var(--bg-dunkel);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}

.marquee {
  overflow: hidden;
  position: relative;
}

/* Fade-Edges */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dunkel), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dunkel), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 80s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-hell);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee__trenner {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.25rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================ */
/* === PROBLEM === */
/* ============================================ */

.problem {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-hell);
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem__foto {
  width: 100%;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.problem h2 {
  max-width: 600px;
}

.problem__liste {
  margin: 2.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.problem__punkt {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-body);
}

.problem__x {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
}

/* Problem responsive */
@media (max-width: 768px) {
  .problem__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .problem__bild {
    order: -1;
  }
}


/* ============================================ */
/* === LEISTUNGEN === */
/* ============================================ */

.leistungen {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-grau);
  position: relative;
}

/* Thematisches Hintergrund-Visual: Schraubenschluessel-Raster */
.leistungen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M56 16a8 8 0 0 0-5.66 2.34l-24 24A8 8 0 0 0 24 48v8h8a8 8 0 0 0 5.66-2.34l24-24A8 8 0 0 0 56 16z' fill='none' stroke='%231C1917' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.leistungen > .container {
  position: relative;
  z-index: 1;
}

.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--border);
}

.leistungen__item {
  background: var(--bg-grau);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
}

/* Hover-Balken von oben */
.leistungen__item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.leistungen__item:hover::after {
  width: 100%;
}
.leistungen__item:hover {
  background: var(--bg-hell);
}

/* Bento-Grid Layout */
.leistungen__item--featured {
  grid-column: span 12;
  background: var(--bg-dunkel);
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3.5rem;
}
.leistungen__item--featured:hover {
  background: var(--bg-dunkel-2);
}
.leistungen__item--featured h3,
.leistungen__item--featured p {
  color: var(--text-hell);
}
.leistungen__item--featured h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.leistungen__item--featured::after {
  background: var(--accent);
}

.leistungen__item:nth-child(2) { grid-column: span 7; }
.leistungen__item:nth-child(3) { grid-column: span 5; }
.leistungen__item:nth-child(4) { grid-column: span 4; }
.leistungen__item:nth-child(5) { grid-column: span 4; }
.leistungen__item:nth-child(6) { grid-column: span 4; }

/* Grosse blasse Nummern */
.leistungen__nr {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  transition: color 0.4s var(--ease-out);
}
.leistungen__item:hover .leistungen__nr {
  color: rgba(var(--accent-rgb), 0.12);
}
.leistungen__item--featured .leistungen__nr {
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(4rem, 8vw, 6rem);
  flex-shrink: 0;
}
.leistungen__item--featured:hover .leistungen__nr {
  color: rgba(var(--accent-rgb), 0.2);
}

/* Featured-Bild im Werkstatt-Item */
.leistungen__featured-img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.leistungen__nr-inline {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

/* Thumbnail in normalen Leistungs-Cards */
.leistungen__thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease-out);
}
.leistungen__item:hover .leistungen__thumb {
  opacity: 1;
}

.leistungen__content {
  flex: 1;
}

.leistungen__item p {
  color: var(--text-body);
  font-size: 0.9375rem;
}
.leistungen__item--featured p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}


/* ============================================ */
/* === USP === */
/* ============================================ */

/* ============================================ */
/* === VORTEILE === */
/* ============================================ */

.vorteile {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-dunkel);
  color: var(--text-hell);
  position: relative;
  overflow: hidden;
}

/* Noise-Textur */
.vorteile::after {
  content: '';
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.vorteile > .container {
  position: relative;
  z-index: 1;
}

.vorteile h2 {
  color: var(--text-hell);
}

.vorteile .kicker {
  color: var(--accent);
}

.vorteile__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--border-hell);
}

.vorteile__item {
  padding: 2.5rem;
  background: var(--bg-dunkel);
  position: relative;
  transition: background 0.3s var(--ease-out);
}
.vorteile__item:hover {
  background: var(--bg-dunkel-2);
}

/* Hover-Balken von oben */
.vorteile__item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.vorteile__item:hover::after {
  width: 100%;
}

.vorteile__nr {
  font-family: var(--font-head);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  transition: color 0.4s var(--ease-out);
}
.vorteile__item:hover .vorteile__nr {
  color: rgba(var(--accent-rgb), 0.3);
}

.vorteile__item h3 {
  color: var(--text-hell);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.vorteile__item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

/* Touch: keine Hover */
@media (hover: none) {
  .vorteile__item::after {
    display: none;
  }
  .vorteile__item:hover {
    background: var(--bg-dunkel);
  }
}


/* ============================================ */
/* === PROZESS === */
/* ============================================ */

.prozess {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-hell);
  position: relative;
}

/* Thematisches Hintergrund-Visual: dezente Zahnrad-Silhouette */
.prozess::before {
  content: '';
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: 300px;
  height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%231C1917' stroke-width='1' opacity='0.03'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%231C1917' stroke-width='0.5' opacity='0.025'/%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%231C1917' stroke-width='0.5' opacity='0.02'/%3E%3Cline x1='100' y1='10' x2='100' y2='30' stroke='%231C1917' stroke-width='1' opacity='0.03'/%3E%3Cline x1='100' y1='170' x2='100' y2='190' stroke='%231C1917' stroke-width='1' opacity='0.03'/%3E%3Cline x1='10' y1='100' x2='30' y2='100' stroke='%231C1917' stroke-width='1' opacity='0.03'/%3E%3Cline x1='170' y1='100' x2='190' y2='100' stroke='%231C1917' stroke-width='1' opacity='0.03'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.prozess > .container {
  position: relative;
  z-index: 1;
}

.prozess__timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 3.5rem;
}

/* Vertikale Fortschrittslinie */
.timeline-progress__line {
  position: absolute;
  left: 24px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border);
}
.timeline-progress__fill {
  position: absolute;
  left: 24px;
  top: 0;
  width: 2px;
  height: 0%;
  background: var(--accent);
  transition: height 0.1s linear;
}

.prozess__step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.prozess__step:last-child {
  padding-bottom: 0;
}

.prozess__nr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.125rem;
  flex-shrink: 0;
  position: relative;
  left: -3.5rem;
  margin-right: -3.5rem;
  z-index: 1;
}

.prozess__content h3 {
  color: var(--text-dunkel);
  margin-bottom: 0.25rem;
}
.prozess__content p {
  color: var(--text-body);
  font-size: 0.9375rem;
}


/* ============================================ */
/* === ÜBER UNS === */
/* ============================================ */

.ueber-uns {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-grau);
}

.ueber-uns__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
}

.ueber-uns__text p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.ueber-uns__disqualifikation {
  font-weight: 500;
  color: var(--text-dunkel);
  font-style: italic;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 2rem !important;
}

.ueber-uns__bild {
  position: relative;
}
.ueber-uns__foto {
  width: 100%;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Kleines historisches Foto ueberlappt */
.ueber-uns__foto-klein {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 180px;
  border-radius: 0.5rem;
  border: 4px solid var(--bg-grau);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* ============================================ */
/* === ZAHLEN === */
/* ============================================ */

.zahlen {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-dunkel);
  text-align: center;
}

.zahlen .kicker {
  color: var(--accent);
}

.zahlen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.zahlen__item {
  padding: 2rem 1rem;
}

.zahlen__zahl {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.75rem;
}

.zahlen__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}


/* ============================================ */
/* === TESTIMONIALS === */
/* ============================================ */

.testimonials {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-hell);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  padding: 2.5rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-grau);
  position: relative;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Mittleres Testimonial: breiter, hervorgehoben */
.testimonial--breit {
  grid-column: span 2;
  padding: 3rem;
  background: var(--bg-dunkel);
  border-left-width: 5px;
}
.testimonial--breit .testimonial__text {
  color: var(--text-hell);
  font-size: 1.125rem;
}
.testimonial--breit .testimonial__name {
  color: var(--accent);
}
.testimonial--breit::before {
  color: rgba(var(--accent-rgb), 0.12);
}

/* Dekoratives Anfuehrungszeichen */
.testimonial::before {
  content: '\201E';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 4rem;
  color: rgba(var(--accent-rgb), 0.07);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dunkel);
}


/* ============================================ */
/* === EINZUGSGEBIET === */
/* ============================================ */

.einzugsgebiet {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-grau);
  text-align: center;
}

.einzugsgebiet__sub {
  color: var(--text-body);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}

.einzugsgebiet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-hell);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
}


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

.faq {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-hell);
}

.faq__liste {
  max-width: 800px;
  margin: 3rem auto 0;
}

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

.faq__frage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dunkel);
  text-align: left;
  transition: color 0.3s var(--ease-out);
}
.faq__frage:hover {
  color: var(--accent);
}

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__antwort {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq__item.is-open .faq__antwort {
  grid-template-rows: 1fr;
}

.faq__antwort > p {
  overflow: hidden;
  padding: 0;
  transition: padding 0.4s var(--ease-out);
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq__item.is-open .faq__antwort > p {
  padding: 0 0 1.5rem;
}


/* ============================================ */
/* === FINAL CTA === */
/* ============================================ */

.final-cta {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-dunkel);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Noise-Textur */
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.final-cta > .container {
  position: relative;
  z-index: 1;
}

.final-cta .kicker {
  color: var(--accent);
}
.final-cta h2 {
  color: var(--text-hell);
}

.final-cta__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.final-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.final-cta__info {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
.final-cta__info p + p {
  margin-top: 0.25rem;
}


/* ============================================ */
/* === FOOTER === */
/* ============================================ */

.footer {
  background: var(--bg-dunkel-2);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-hell);
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer__info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color 0.3s var(--ease-out);
}
.footer__nav a:hover {
  color: var(--text-hell);
}

.footer__kontakt p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.footer__kontakt a {
  transition: color 0.3s var(--ease-out);
}
.footer__kontakt a:hover {
  color: var(--text-hell);
}

.footer__bottom {
  padding-top: 2rem;
  text-align: center;
}
.footer__bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}
.footer__bottom a {
  transition: color 0.3s var(--ease-out);
}
.footer__bottom a:hover {
  color: rgba(231, 229, 228, 0.6);
}

/* Focus auf dunklem BG */
.footer :focus-visible,
.trust-bar :focus-visible,
.vorteile :focus-visible,
.zahlen :focus-visible,
.final-cta :focus-visible {
  outline-color: var(--text-hell);
}


/* ============================================ */
/* === STICKY MOBILE CTA === */
/* ============================================ */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-dunkel);
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  border-top: 1px solid var(--border-hell);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__tel,
.sticky-cta__termin {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.sticky-cta__tel {
  background: transparent;
  color: var(--text-hell);
  border: 1px solid var(--border-hell);
}

.sticky-cta__termin {
  background: var(--accent);
  color: var(--text-hell);
}


/* ============================================ */
/* === RESPONSIVE === */
/* ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }
  .nav__telefon {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .nav__rechts .btn {
    display: none;
  }

  .ueber-uns__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .zahlen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__info {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero::before {
    font-size: clamp(5rem, 15vw, 8rem);
    right: -5%;
    bottom: -3%;
  }
  .leistungen__featured-img {
    width: 100%;
    height: 180px;
  }

  .leistungen__grid {
    grid-template-columns: 1fr;
  }
  .leistungen__item:nth-child(n) {
    grid-column: span 1;
  }
  .leistungen__item--featured {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .testimonial--breit {
    grid-column: span 1;
  }

  .prozess__timeline {
    padding-left: 3rem;
  }
  .prozess__nr {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    left: -3rem;
    margin-right: -3rem;
  }
  .timeline-progress__line,
  .timeline-progress__fill {
    left: 20px;
  }

  .sticky-cta {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__info {
    grid-column: span 1;
  }
}

/* Klein Mobile */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .zahlen__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Touch-Geraete: keine Hover-Effekte */
@media (hover: none) {
  .leistungen__item::after {
    display: none;
  }
  .leistungen__item:hover {
    background: var(--bg-grau);
  }
  .leistungen__item--featured:hover {
    background: var(--bg-dunkel);
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .delay-1, .delay-2, .delay-3, .delay-4, .delay-5 {
    transition-delay: 0s;
  }
  .timeline-progress__fill {
    height: 100% !important;
    transition: none;
  }
}
