/* ============================================================
   Josef Hendrichs Metallhandels GmbH & Co. KG
   Design System – Industrial Precision
   Fonts: Barlow Condensed (headlines) + Exo 2 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Exo+2:wght@400;500;600;700&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand */
  --brand:        #6b7888;
  --brand-dark:   #4a5563;
  --brand-light:  #8fa0b0;
  --accent:       #4a5563;
  --accent-dark:  #2d3a45;

  /* Backgrounds */
  --bg:           #ffffff;
  --bg-2:         #f4f6f8;
  --bg-dark:      #1e2830;
  --bg-dark-2:    #15202a;

  /* Text */
  --text:         #1e2830;
  --text-muted:   #6b7888;
  --text-light:   #f0ede8;
  --text-light-muted: #a8b8c4;

  /* Borders */
  --border:       #d1d9e0;
  --border-dark:  #2e3f4f;

  /* Spacing */
  --space-xs:  0.375rem;
  --space-s:   0.75rem;
  --space-m:   1.25rem;
  --space-l:   2rem;
  --space-xl:  3.5rem;
  --space-2xl: 6rem;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Exo 2', sans-serif;

  /* Layout */
  --container:    1200px;
  --nav-h:        72px;

  /* Effects */
  --radius:       6px;
  --radius-l:     12px;
  --shadow-s:     0 2px 8px rgba(30,40,48,.08);
  --shadow-m:     0 6px 24px rgba(30,40,48,.12);
  --shadow-l:     0 16px 48px rgba(30,40,48,.18);
  --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.2rem; }
p { max-width: 68ch; }

/* ── Container + Section ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-l);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-m); }
}

.section {
  padding: var(--space-2xl) 0;
}
.section--sm {
  padding: var(--space-xl) 0;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section--gray {
  background: var(--bg-2);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-m);
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand);
}
.section--dark .section-label {
  color: var(--brand-light);
}
.section--dark .section-label::before {
  background: var(--brand-light);
}

.section-head {
  margin-bottom: var(--space-xl);
}
.section-head h2 { margin-bottom: var(--space-s); }
.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
}
.section--dark .section-head p { color: var(--text-light-muted); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  padding: 0.85em 1.8em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,85,99,.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-2);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-dark-2);
  display: flex;
  align-items: center;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Real logo images */
.nav-logo-img-full {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(1.15);
  opacity: 0.92;
  transition: opacity var(--transition), filter var(--transition);
}
.nav-logo:hover .nav-logo-img-full {
  opacity: 1;
  filter: brightness(1.25);
}

.nav-logo-img-icon {
  display: none;
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .nav-logo-img-full { display: none; }
  .nav-logo-img-icon { display: block; }
}

/* Footer logo */
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(1.1);
  opacity: 0.72;
  transition: opacity var(--transition), filter var(--transition);
  margin-bottom: var(--space-l);
}
.footer-brand:hover .footer-logo-img {
  opacity: 0.9;
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative; /* anchor for sliding indicator */
}

/* Sliding pill indicator — injected + moved via JS */
.nav-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    left   .2s cubic-bezier(.4,0,.2,1),
    width  .2s cubic-bezier(.4,0,.2,1),
    opacity .15s ease;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  padding: 0.5em 0.9em;
  border-radius: 999px;
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: transparent;
}
.nav-links a.active {
  color: #ffffff;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 0.35rem 0;
  list-style: none;
  margin: 0;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.5em 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
  white-space: nowrap;
  border-radius: 0;
  text-transform: uppercase;
}
.nav-dropdown a:hover {
  color: var(--text-light);
  background: rgba(255,255,255,.07);
}
.nav-chevron {
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.18s ease;
}
.has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-links .btn {
  padding: 0.55em 1.2em;
  font-size: 0.82rem;
  margin-left: var(--space-m);
  position: relative;
  z-index: 1;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-dark-2);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-m) var(--space-l);
    gap: var(--space-xs);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav-links a { width: 100%; padding: 0.6em 0.5em; font-size: 0.9rem; border-radius: var(--radius); }
  .nav-links a:hover { background: rgba(255,255,255,.07); }
  .nav-links .btn { margin: var(--space-s) 0 0; width: 100%; justify-content: center; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border-dark);
    border-radius: 0;
    padding: 0 0 0.25rem 0.75rem;
    margin-top: 2px;
  }
  .nav-dropdown a { font-size: 0.82rem; padding: 0.4em 0.5em; }
  .nav-chevron { display: none; }
  .nav-indicator { display: none; }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  body.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 480px) {
  .nav-logo-text { display: none; }
}

/* ── Nav Dropdowns ─────────────────────────────────────────── */
.has-dropdown { position: relative; }

.nav-chevron {
  width: 11px;
  height: 11px;
  margin-left: 2px;
  vertical-align: -1px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.has-dropdown:hover > a .nav-chevron,
.has-dropdown:focus-within > a .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 195px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-l);
  padding: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  transform: rotate(45deg);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 0.45em 1em;
  font-size: 0.78rem;
  border-radius: var(--radius);
  white-space: nowrap;
  position: static;
  z-index: auto;
}
.nav-dropdown li a:hover {
  color: var(--text-light);
  background: rgba(255,255,255,.08);
}

@media (max-width: 900px) {
  .nav-dropdown { display: none; }
  .nav-chevron  { display: none; }
}

/* ── Page Offset for fixed nav ─────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

/* Hero Brand Text (blur-fade over crane photo) */
.hero-brand-l1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.hero-brand-l2 {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: var(--space-l);
}
.hero-brand-l3 {
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 48ch;
  margin-bottom: var(--space-xl);
}

/* Diagonal schraffur */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(107,120,136,.04) 40px,
    rgba(107,120,136,.04) 41px
  );
  pointer-events: none;
}

/* JH Monogram Deko */
.hero-monogram {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(240px, 30vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.22);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: var(--space-m);
  opacity: 0;
  animation: fadeSlideUp .6s var(--transition) .1s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brand);
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: var(--space-m);
  opacity: 0;
  animation: fadeSlideUp .6s var(--transition) .25s forwards;
}
.hero h1 em {
  font-style: normal;
  color: #ffffff;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: var(--space-xl);
  max-width: 52ch;
  opacity: 0;
  animation: fadeSlideUp .6s var(--transition) .4s forwards;
}

/* Accent underline — hidden */
.hero-underline { display: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  opacity: 0;
  animation: fadeSlideUp .6s var(--transition) .55s forwards;
}

/* Diagonal bottom clip */
.hero-clip {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-clip--gray { background: var(--bg-2); }

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 80px;
  left: 0; right: 0;
  z-index: 2;
}
.hero-stats .container {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-l);
}
.hero-stat-item {
  opacity: 0;
  animation: fadeSlideUp .5s var(--transition) forwards;
}
.hero-stat-item:nth-child(1) { animation-delay: .7s; }
.hero-stat-item:nth-child(2) { animation-delay: .82s; }
.hero-stat-item:nth-child(3) { animation-delay: .94s; }

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--text-light);
  line-height: 1;
}
.hero-stat-num span {
  color: var(--brand-light);
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: var(--space-xl) 0 120px; }
  .hero-monogram { font-size: 180px; right: -20px; opacity: 0.5; }
  .hero-stats .container { gap: var(--space-l); }
  .hero-stat-num { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .hero-stats .container { flex-wrap: wrap; gap: var(--space-m); }
  .hero-monogram { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 100px; }
  .hero-stats {
    position: static;
    padding-top: var(--space-m);
  }
}

/* ── Trust / USP Bar ───────────────────────────────────────── */
.trust-bar {
  background: var(--bg-2);
  padding: var(--space-xl) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ── Icon Grid / Kacheln ───────────────────────────────────── */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-m);
}
.icon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.icon-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.section--dark .icon-card {
  background: rgba(255,255,255,.04);
  border-color: var(--border-dark);
}
.section--dark .icon-card:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--brand-light);
}
.icon-card-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-m);
  color: var(--brand);
  border-radius: var(--radius);
}
.section--dark .icon-card-icon {
  background: rgba(107,120,136,.18);
  color: var(--brand-light);
}
.icon-card-icon svg { width: 26px; height: 26px; }
.icon-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-s);
  color: var(--text);
}
.section--dark .icon-card h3 { color: var(--text-light); }
.icon-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.section--dark .icon-card p { color: var(--text-light-muted); }

/* ── Öffnungszeiten Layout ─────────────────────────────────── */
.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.hours-card {
  background: var(--bg-dark);
  border-radius: var(--radius-l);
  padding: var(--space-xl);
}
@media (max-width: 768px) {
  .hours-layout { grid-template-columns: 1fr; gap: var(--space-l); }
}
@media (max-width: 560px) {
  .hours-card { padding: var(--space-l); }
}

/* ── Öffnungszeiten Detail ─────────────────────────────────── */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
  max-width: 640px;
}
.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-m) var(--space-l);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.hours-item.closed {
  opacity: .45;
}
.hours-day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  letter-spacing: 0.03em;
}
.hours-time {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}
.hours-item.closed .hours-time { color: var(--brand-light); }

@media (max-width: 480px) {
  .hours-grid { grid-template-columns: 1fr; }
}

/* ── Kontakt Teaser ────────────────────────────────────────── */
.contact-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: flex-start;
}
.contact-teaser-info { flex: 1; min-width: 260px; }
.contact-teaser-info h3 { margin-bottom: var(--space-m); }
.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.95rem;
  color: var(--text-light-muted);
}
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 18px; height: 18px; color: var(--brand-light); flex-shrink: 0; }
.contact-line a { color: var(--text-light); }
.contact-line a:hover { color: var(--text-light); }

/* ── Price Table ───────────────────────────────────────────── */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: rgba(107,120,136,.1);
  border: 1px solid rgba(107,120,136,.35);
  color: var(--brand-dark);
  padding: 0.4em 1em;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-l);
}
.price-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-s);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table thead {
  background: var(--brand);
  color: #fff;
}
.price-table th {
  padding: var(--space-m) var(--space-l);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.price-table tbody tr:hover { background: var(--bg-2); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table td {
  padding: var(--space-m) var(--space-l);
  color: var(--text);
}
.price-table td:first-child { font-weight: 600; }

@media (max-width: 560px) {
  .price-table { font-size: 0.82rem; }
  .price-table th { padding: 0.6rem 0.75rem; white-space: normal; }
  .price-table td { padding: 0.6rem 0.75rem; }
  .price-table td .price-val { font-size: 0.9rem; }
}
.price-table td .price-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.price-table td .price-val.accent { color: var(--accent); }
.price-note {
  margin-top: var(--space-l);
  padding: var(--space-m) var(--space-l);
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.price-note strong { color: var(--text); }

/* ── Job Cards ─────────────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-l);
}
.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.job-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.job-card-head {
  background: var(--brand);
  padding: var(--space-l);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.job-card-head::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.job-card-head h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  position: relative;
}
.job-card-head .job-tagline {
  font-size: 0.85rem;
  opacity: .8;
  font-weight: 500;
  position: relative;
}
.job-card-body {
  padding: var(--space-l);
}
.job-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: var(--space-m);
  line-height: 1.65;
}
.job-requirements {
  margin-bottom: var(--space-l);
}
.job-requirements li {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3em 0;
}
.job-requirements li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Kontakt Form ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-wrap {
  background: var(--bg-2);
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  border: 1px solid var(--border);
}
.contact-form-wrap h2 { margin-bottom: var(--space-xs); }
.contact-form-wrap > p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: var(--space-m);
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75em 1em;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,120,136,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5em;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  background: rgba(107,120,136,.08);
  border-radius: var(--radius-l);
  border: 1px solid var(--brand);
}
.form-success h3 { color: var(--brand-dark); margin-bottom: var(--space-s); }
.form-success p { color: var(--text-muted); margin: 0 auto; }
.form-success.visible { display: block; }

/* ── Info Sidebar (Kontakt) ────────────────────────────────── */
.contact-sidebar {}
.contact-info-block {
  background: var(--bg-dark);
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  color: var(--text-light);
  margin-bottom: var(--space-l);
}
.contact-info-block h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-l);
  color: var(--text-light);
}
.contact-info-item {
  display: flex;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--border-dark);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 3px;
}
.contact-info-item dd {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}
.contact-info-item dd a { color: var(--text-light); }
.contact-info-item dd a:hover { color: var(--text-light); }

.hours-compact {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.hours-compact-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}
.hours-compact-row span:first-child { color: var(--text-light-muted); }
.hours-compact-row span:last-child { color: var(--text-light); font-weight: 600; }

.map-block {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 240px;
}
.map-block iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--bg-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(107,120,136,.04) 40px,
    rgba(107,120,136,.04) 41px
  );
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--text-light); margin-bottom: var(--space-s); }
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 60ch;
}
.page-hero-clip {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero-clip--gray { background: var(--bg-2); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-bottom: var(--space-m);
}
.breadcrumb a { color: var(--brand-light); }
.breadcrumb a:hover { color: var(--text-light); }
.breadcrumb span { opacity: .4; }

/* ── Leistungen Grid ───────────────────────────────────────── */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-m);
}
.material-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.material-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.material-card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-m);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--brand);
  letter-spacing: 0.03em;
}
.material-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}
.material-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.material-card .material-tag {
  display: inline-block;
  margin-top: var(--space-s);
  padding: 0.2em 0.7em;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--brand);
  padding: var(--space-xl) 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: var(--space-xs);
}
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1rem; }
.btn-white {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark-2);
  padding: var(--space-2xl) 0 var(--space-l);
  color: var(--text-light-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer-brand .nav-logo { margin-bottom: var(--space-l); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light-muted);
  max-width: 38ch;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-m);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-s); }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-m);
  font-size: 0.82rem;
}
.footer-bottom p { color: var(--text-light-muted); }
.footer-bottom a { color: var(--text-light-muted); }
.footer-bottom a:hover { color: var(--text-light); }
.footer-legal { display: flex; gap: var(--space-l); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Placeholder page ──────────────────────────────────────── */
.placeholder-page {
  padding: var(--space-2xl) 0;
  min-height: 60vh;
}
.placeholder-page h1 { margin-bottom: var(--space-l); }
.placeholder-page p { color: var(--text-muted); margin-bottom: var(--space-m); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes growLine {
  from { width: 0; }
  to   { width: 80px; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.4); }
}

/* ── Job Popup (Chat-Widget) ───────────────────────────────── */
.job-popup {
  position: fixed;
  bottom: var(--space-l);
  right: var(--space-l);
  width: 300px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  z-index: 500;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  overflow: hidden;
}
.job-popup.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.job-popup-header {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m);
  border-bottom: 1px solid var(--border-dark);
}

.job-popup-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
}
.job-popup-avatar-clip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}
.job-popup-avatar-clip img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
}
.job-popup-avatar::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--bg-dark-2);
  animation: pulse 2.2s infinite;
}

.job-popup-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.job-popup-header-text strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.job-popup-header-text span {
  font-size: 0.72rem;
  color: #4ade80;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.job-popup-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}
.job-popup-close:hover {
  color: var(--text-light);
  background: rgba(255,255,255,.08);
}
.job-popup-close svg { width: 15px; height: 15px; }

.job-popup-body {
  padding: var(--space-m);
}
.job-popup-body p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: var(--space-m);
  max-width: 100%;
}
.job-popup-body p strong { color: var(--text-light); }
.job-popup-body .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.72em 1em;
}

@media (max-width: 480px) {
  .job-popup {
    right: var(--space-m);
    left: var(--space-m);
    width: auto;
    bottom: var(--space-m);
  }
}

/* ── Blur Fade ─────────────────────────────────────────────── */
.blur-fade-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition:
    opacity  .6s ease-out,
    filter   .6s ease-out,
    transform .6s ease-out;
}
.blur-fade-item.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Brand Statement Section */
.brand-statement {
  padding: var(--space-2xl) 0;
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
}
.brand-statement-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
}
.brand-statement-l1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}
.brand-statement-l2 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}
.brand-statement-l3 {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: var(--space-m);
  display: flex;
  align-items: center;
  gap: var(--space-s);
}
.brand-statement-l3::before,
.brand-statement-l3::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--brand);
  opacity: .5;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .brand-statement { padding: var(--space-xl) 0; }
  .brand-statement-l3::before,
  .brand-statement-l3::after { width: 18px; }
}

/* ── Global Mobile Improvements ───────────────────────────── */
@media (max-width: 560px) {
  /* Typography */
  h1 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 6.5vw, 2rem); }

  /* Section spacing */
  .section     { padding: var(--space-xl) 0; }
  .section--sm { padding: var(--space-l) 0; }
  .section-head { margin-bottom: var(--space-l); }

  /* Hero */
  .hero { padding: var(--space-l) 0 100px; }
  .hero-sub { font-size: 1rem; margin-bottom: var(--space-l); }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.12em; }
  .hero-actions { gap: var(--space-s); }
  .hero-actions .btn { font-size: 0.82rem; padding: 0.75em 1.2em; }

  /* Contact teaser */
  .contact-teaser { gap: var(--space-l); }

  /* Footer */
  .footer { padding: var(--space-xl) 0 var(--space-l); }
  .footer-grid { margin-bottom: var(--space-xl); }

  /* Page hero */
  .page-hero { padding: var(--space-xl) 0 calc(var(--space-l) + 70px); }

  /* Job popup full-width on small screens */
  .job-popup { right: var(--space-s); left: var(--space-s); bottom: var(--space-s); }
}

@media (max-width: 400px) {
  h1 { font-size: clamp(1.6rem, 9vw, 2rem); }
  .hero-eyebrow { display: none; }
}

/* ── Utility ───────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-brand  { color: var(--brand); }
.text-muted  { color: var(--text-muted); }
.mt-s  { margin-top: var(--space-s); }
.mt-m  { margin-top: var(--space-m); }
.mt-l  { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-m { gap: var(--space-m); }
.w-full { width: 100%; }
