/* ============================================
   MYLACK.DE — "Precision Line" Theme
   Light Mode · Signal Red · Aerodynamic
   ============================================ */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Base Palette */
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --silver: #E8EAED;
  --steel: #C4C8CF;
  --graphite: #5F6368;
  --charcoal: #2D3136;
  --near-black: #1A1D21;

  /* Accent — Signal Red */
  --accent: #D32F2F;
  --accent-dark: #B71C1C;
  --accent-light: #EF5350;
  --accent-subtle: rgba(211, 47, 47, 0.08);
  --accent-glow: rgba(211, 47, 47, 0.15);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 100px);
  --container-max: 1280px;
  --gap: clamp(16px, 2.5vw, 32px);

  /* Motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;

  /* Cuts */
  --cut-angle: 4deg;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Headings ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--near-black);
}

h2.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  position: relative;
}

h2.section-title .accent-word {
  color: var(--accent);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    padding var(--duration) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--near-black);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.25s;
  position: relative;
}

.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(--near-black);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
  transition: background 0.25s, transform 0.25s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--near-black);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

/* Diagonal cut at bottom (single clean shape to avoid glitches) */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-subtle);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero h1 .line-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 6px;
}

.hero-services {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero p.hero-desc {
  font-size: 1rem;
  color: var(--graphite);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
  transition: background 0.25s, transform 0.25s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--near-black);
  padding: 14px 24px;
  border: 2px solid var(--silver);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Hero Image Area */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrap {
  position: relative;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}

.hero-image-wrap:hover img {
  transform: scale(1.05);
}

/* Breakout stat bar – overlaps hero and next section */
.hero-stats {
  position: absolute;
  bottom: -40px;
  left: -60px;
  z-index: 10;
  display: flex;
  gap: 0;
}

.stat-card {
  background: var(--white);
  padding: 24px 28px;
  min-width: 160px;
  border-right: 1px solid var(--silver);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--ease-out);
}

.stat-card:first-child {
  background: var(--accent);
  color: var(--white);
}

.stat-card:first-child .stat-number {
  color: var(--white);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--near-black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   ABOUT / ÜBER UNS
   ============================================ */
.about {
  position: relative;
  background: var(--off-white);
  padding: var(--section-pad) 0;
  padding-top: calc(var(--section-pad) + 30px);
  padding-bottom: calc(var(--section-pad) + 60px);
  overflow: hidden;
}

/* Top diagonal cut removed to use single clean line from hero::after */

/* Bottom diagonal cut (moved from breakout to avoid subpixel gaps) */
.about::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--near-black);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-image-section {
  position: relative;
}

.about-image-main {
  position: relative;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0% 100%);
  overflow: hidden;
}

.about-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Breakout badge element */
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 20px 28px;
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.3);
}

.about-badge .badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--graphite);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-left: 3px solid var(--accent);
  transition: transform 0.25s var(--ease-out);
}

.about-feature:hover {
  transform: translateX(4px);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.about-feature-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--near-black);
  line-height: 1.4;
}

/* ============================================
   LEISTUNGEN / SERVICES
   ============================================ */
/* ============================================
   BREAKOUT — Tiefen- / Breakout-Effekt
   ============================================ */
.breakout {
  position: relative;
  z-index: 4;
  /* hebt das ausbrechende Auto über die Folge-Section */
  background: var(--near-black);
  padding: 10px 0 0;
  overflow: visible;
  /* erlaubt dem Auto, unten auszubrechen */
}

/* Diagonale Übergänge – wie im restlichen Layout */
/* Top diagonal cut moved to .about::after to avoid visual gap */

.breakout::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  /* Farbe der nächsten Section (Leistungen) */
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}

/* Spotlight hinter dem Auto */
.breakout-glow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 70%;
  height: 130%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at 62% 50%,
      var(--accent-glow) 0%,
      rgba(211, 47, 47, 0.05) 38%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.breakout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 3;
  padding-bottom: clamp(40px, 6vw, 70px);
}

/* Textspalte */
.breakout-content {
  color: var(--white);
  padding-bottom: 120px;
  /* Zieht Text hoch und verhindert Kollision mit Schrägstrich bei Umbrüchen */
}

.breakout-content .section-label {
  color: var(--accent-light);
}

.breakout-content .section-label::before {
  background: var(--accent-light);
}

.breakout-content h2.section-title {
  color: var(--white);
}

.breakout-content h2.section-title .accent-word {
  color: var(--accent-light);
}

.breakout-content p {
  color: var(--steel);
  max-width: 460px;
  margin-bottom: 32px;
}

.breakout-stats {
  display: flex;
  gap: 40px;
}

.breakout-stat {
  display: flex;
  flex-direction: column;
}

.breakout-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.breakout-stat-label {
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--steel);
}

/* Auto-Visual */
.breakout-visual {
  position: relative;
  align-self: end;
}

.breakout-car {
  position: relative;
  z-index: 4;
  /* über der diagonalen Kante -> bricht sichtbar durch */
  width: 112%;
  max-width: none;
  aspect-ratio: 969 / 510;
  /* reserviert Platz -> kein Layout-Sprung beim Laden */
  margin-right: -5%;
  /* leichter Ausbruch nach rechts */
  margin-bottom: clamp(-95px, -7vw, -55px);
  /* Ausbruch nach unten */
  filter: drop-shadow(0 35px 35px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

/* Weicher Bodenschatten -> erdet das Auto (Tiefe statt schwebend) */
.breakout-car-shadow {
  content: '';
  position: absolute;
  left: 6%;
  right: 2%;
  bottom: clamp(-72px, -5.5vw, -42px);
  height: 55px;
  z-index: 3;
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.22) 46%,
      transparent 72%);
  filter: blur(7px);
  pointer-events: none;
}

/* Tablet / Mobile */
@media (max-width: 1024px) {
  .breakout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .breakout-content {
    padding-bottom: 0;
    /* gestapelt kein Versatz nötig */
  }

  .breakout-content .section-label {
    justify-content: center;
  }

  .breakout-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .breakout-stats {
    justify-content: center;
  }

  .breakout-visual {
    align-self: center;
  }

  .breakout-car {
    width: 94%;
    max-width: 560px;
    margin: 0 auto;
    margin-bottom: clamp(-55px, -9vw, -35px);
  }

  .breakout-car-shadow {
    left: 14%;
    right: 14%;
  }

  .breakout-glow {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 70%;
    transform: none;
  }
}

@media (max-width: 480px) {
  .breakout-car {
    width: 108%;
  }
}

.services {
  position: relative;
  background: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.services-header .section-label {
  justify-content: center;
}

.services-header p {
  color: var(--graphite);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  position: relative;
  padding: 0;
  border-right: 1px solid var(--silver);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.service-card:last-child {
  border-right: none;
}

.service-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(26, 29, 33, 0.6), transparent);
}

.service-card-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.service-card-body {
  padding: 28px 24px;
  position: relative;
}

.service-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  margin-top: 8px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--graphite);
  line-height: 1.6;
}

.service-card-body ul {
  list-style: none;
  margin-top: 14px;
}

.service-card-body ul li {
  font-size: 0.82rem;
  color: var(--graphite);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.service-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ============================================
   KOSTENVORANSCHLAG / QUOTE
   ============================================ */
.quote-section {
  position: relative;
  background: var(--near-black);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

/* Diagonal transition from services */
.quote-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 2;
}

.quote-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 3;
}

.quote-content {
  color: var(--white);
}

.quote-content .section-label {
  color: var(--accent-light);
}

.quote-content .section-label::before {
  background: var(--accent-light);
}

.quote-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.quote-content p {
  color: var(--steel);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.75;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--steel);
}

.quote-benefit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Quote Form */
.quote-form-wrap {
  background: var(--white);
  padding: 36px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quote-form-wrap h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.quote-form-wrap .form-subtitle {
  font-size: 0.85rem;
  color: var(--graphite);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--graphite);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 14px;
  border: 1px solid var(--silver);
  background: var(--off-white);
  color: var(--near-black);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  margin-top: 6px;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
}

/* ============================================
   AUTOWERKSTATT NEUSS
   ============================================ */
.workshop-neuss {
  position: relative;
  background: var(--off-white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.workshop-content h2 {
  margin-bottom: 20px;
}

.workshop-content p {
  color: var(--graphite);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.workshop-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.workshop-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}

.workshop-highlight:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-3px);
}

.workshop-highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.workshop-highlight-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.workshop-highlight-text span {
  font-size: 0.78rem;
  color: var(--graphite);
}

.workshop-visual {
  position: relative;
}

.workshop-image-main {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 94%);
  overflow: hidden;
}

.workshop-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Breakout element overlapping */
.workshop-cta-float {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: var(--accent);
  color: var(--white);
  padding: 24px 32px;
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
  box-shadow: 0 12px 40px rgba(211, 47, 47, 0.35);
  max-width: 280px;
}

.workshop-cta-float h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.workshop-cta-float p {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-bottom: 12px;
}

.workshop-cta-float a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   KONTAKT / CONTACT
   ============================================ */
.contact {
  position: relative;
  background: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

/* Diagonal interlock with previous section */
.contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--off-white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--graphite);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  transition: transform 0.25s;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.contact-item-content h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-item-content p,
.contact-item-content a {
  font-size: 0.9rem;
  color: var(--graphite);
  line-height: 1.5;
}

.contact-item-content a:hover {
  color: var(--accent);
}

/* Map */
.contact-map {
  position: relative;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 96%);
  overflow: hidden;
  min-height: 400px;
  background: var(--silver);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  padding: 24px;
  text-align: center;
  color: var(--graphite);
  background-color: var(--silver);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-placeholder-pin {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}

.map-placeholder strong {
  font-size: 1.05rem;
  color: var(--near-black);
}

.map-placeholder-note {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--near-black);
  padding: 90px 0 0;
  color: var(--steel);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel);
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--steel);
  transition: color 0.25s;
}

.footer-col ul a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--graphite);
}

.footer-bottom a {
  color: var(--graphite);
  transition: color 0.25s;
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children .reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrap {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  .hero-image-wrap img {
    height: 400px;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: auto;
    flex: 1;
    min-width: 120px;
  }

  .about-grid,
  .workshop-grid,
  .contact-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--silver);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
  }

  .service-card-image {
    height: 100%;
    min-height: 240px;
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workshop-cta-float {
    left: 0;
  }

  .about-badge {
    right: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px clamp(20px, 4vw, 48px);
    gap: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    padding-top: 100px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--silver);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .workshop-highlights {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-map {
    clip-path: none;
    min-height: 300px;
  }

  .workshop-image-main {
    clip-path: none;
  }

  .about-image-main {
    clip-path: none;
  }

  .quote-form-wrap {
    clip-path: none;
    padding: 24px;
  }

  .workshop-cta-float {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    max-width: 100%;
    clip-path: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .quote-section::before,
  .quote-section::after,
  .hero::after,
  .about::before,
  .contact::before,
  .footer::before {
    height: 40px;
  }
}