/* =============================================================
   DRESSEL KUNSTSTOFFTECHNIK – Website Stylesheet
   Farben: Navy #2C3C63 | Grau #8B8B8C | Weiß
   Schrift: Montserrat (lokal eingebunden, kein CDN)
   ============================================================= */

/* ---------- Webfonts (lokal, keine CDN) ---------- */
/* Falls die Dateinamen nach Download abweichen, hier anpassen.
   Detail siehe assets/fonts/README.txt */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Montserrat Light'),
       url('../fonts/montserrat-v31-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat Regular'),
       url('../fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Montserrat Medium'),
       url('../fonts/montserrat-v31-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Montserrat SemiBold'),
       url('../fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Montserrat Bold'),
       url('../fonts/montserrat-v31-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Montserrat ExtraBold'),
       url('../fonts/montserrat-v31-latin_latin-ext-800.woff2') format('woff2');
}

/* ---------- Design-Tokens ---------- */
:root {
  --navy:         #2C3C63;
  --navy-light:   #3D5080;
  --navy-bright:  #5A7BC5;
  --navy-deep:    #1F2C49;
  --grey:         #8B8B8C;
  --grey-light:   #C6C6C7;

  --bg:           #FFFFFF;
  --bg-2:         #F5F6F8;
  --bg-3:         #ECEEF2;
  --surface:      #FFFFFF;
  --surface-2:    #F8F9FB;
  --line:         rgba(44, 60, 99, 0.10);
  --line-strong:  rgba(44, 60, 99, 0.18);

  --text:         #1A2238;
  --text-dim:     #525B73;
  --text-muted:   #8B8B8C;

  --radius:       10px;
  --radius-lg:    18px;
  --shadow-sm:    0 2px 8px rgba(28, 38, 64, 0.06);
  --shadow-md:    0 6px 24px rgba(28, 38, 64, 0.08);
  --shadow-lg:    0 20px 60px rgba(28, 38, 64, 0.12);
  --container:    1240px;
  --ease:         cubic-bezier(.4,.0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* "clip" statt "hidden" – verhindert horizontalen Overflow,
     ohne position:sticky im Header zu brechen. */
  overflow-x: clip;
}
body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  letter-spacing: .3px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 24px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span,
.topbar-info .topbar-link { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 13px; height: 13px; opacity: .8; }
.topbar-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.topbar-link:hover { color: #fff; }
.topbar-link:hover svg { opacity: 1; }
.topbar-right { display: flex; gap: 18px; align-items: center; }

.socials { display: inline-flex; gap: 8px; }
.socials a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}
.socials a:hover { background: #fff; transform: translateY(-1px); }
.socials svg { width: 13px; height: 13px; fill: rgba(255,255,255,.85); transition: fill .25s; }
.socials a:hover svg { fill: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(28,38,64,0);
  transition:
    background .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s var(--ease);
}
/* Scrolled-State: kompakter, mit dezentem Schatten und etwas dichterem Hintergrund */
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(28,38,64,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
  transition: padding .35s var(--ease);
}
.site-header.scrolled .header-inner { padding: 8px 0; }
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.logo img {
  height: 48px;
  width: auto;
  transition: height .35s var(--ease);
}
.site-header.scrolled .logo img { height: 38px; }

nav.primary { display: flex; gap: 4px; }
nav.primary a {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  color: var(--text);
  transition: color .25s var(--ease), background .25s var(--ease);
  position: relative;
}
nav.primary a:hover { color: var(--navy); }
nav.primary a.active {
  color: var(--navy);
}
nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), transparent);
  border-radius: 2px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 6px;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.cta-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(44,60,99,.30);
}
.cta-btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}
.cta-btn.ghost:hover {
  background: var(--bg-2);
  border-color: var(--navy);
}
.cta-btn.large { padding: 16px 32px; font-size: 14px; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  /* Touch-Target etwas größer für mobile */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  /* Klicks immer am Button (nicht am SVG) festmachen – Firefox-Mobile-Workaround */
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 70px 0 110px;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-werkzeuge.jpg') center/cover no-repeat;
  filter: brightness(.7) saturate(1.05);
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(44,60,99,.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(20,28,50,.45) 0%, rgba(20,28,50,.55) 70%, rgba(20,28,50,.65) 100%),
    linear-gradient(90deg, rgba(20,28,50,.75) 0%, rgba(20,28,50,.20) 60%, rgba(20,28,50,.45) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: #fff;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 26px;
  max-width: 820px;
  color: #fff;
}
.hero h1 .accent { color: #C9D6F0; display: inline-block; }
.hero-lead {
  font-size: clamp(15px, 1.4vw, 19px);
  color: rgba(255,255,255,.92);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-claim {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-claim .dot { color: #C9D6F0; margin: 0 8px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .cta-btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-actions .cta-btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Feature-Kästchen ---------- */
.features {
  position: relative;
  margin-top: -70px;
  z-index: 5;
  padding-bottom: 100px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  transition: all .35s var(--ease);
  cursor: default;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: none; }
.feature:hover {
  background: var(--bg-2);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  color: var(--navy);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.feature p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  font-weight: 400;
}

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
section.alt { background: var(--bg-2); }
section.dark { background: var(--bg-2); }

.section-header { text-align: center; margin-bottom: 72px; }
.section-header.left { text-align: left; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--navy);
}
.section-header.left .eyebrow::after { display: none; }
h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.1;
  color: var(--navy);
}
h2 .light { font-weight: 300; color: var(--text-dim); display: block; }
.section-lead {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--text-dim);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.7;
}
.section-header.left .section-lead { margin-left: 0; }

/* ---------- Leistungskacheln ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  min-height: 360px;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: block;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.service:hover .service-img { transform: scale(1.06); }
.service::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,28,50,.45) 55%, rgba(20,28,50,.95) 100%);
}
.service-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 28px;
  z-index: 2;
  color: #fff;
}
.service-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #C9D6F0;
  margin-bottom: 10px;
}
.service h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.service p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid #C9D6F0;
}

/* ---------- Split Section ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section .visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.split-section .visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.split-section .text h2 { margin-bottom: 28px; }
.split-section .text p { color: var(--text-dim); font-size: 16px; line-height: 1.75; margin-bottom: 20px; font-weight: 400; }

.checks { margin: 28px 0 36px; display: grid; gap: 14px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.check svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--navy);
  margin-top: 2px;
}

/* ---------- Stats (dunkler Navy-Riegel) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
  box-shadow: var(--shadow-md);
}
.stat {
  background: var(--navy);
  padding: 38px 22px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* ---------- Branchen Chips ---------- */
.branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}
.branch {
  padding: 14px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff;
  transition: all .25s var(--ease);
}
.branch:hover {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

/* ---------- Timeline ---------- */
.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--line));
}
.t-item { position: relative; padding-bottom: 44px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy);
  box-shadow: 0 0 0 4px rgba(44,60,99,.10);
}
.t-year {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 6px;
}
.t-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.t-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.65;
}

/* ---------- Team Cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.member:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.member-initial {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.member-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.member-role { font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; opacity: .8; }
.member-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; }
.member-contact { display: grid; gap: 6px; font-size: 13px; }
.member-contact a { display: flex; align-items: center; gap: 8px; color: var(--text); transition: color .2s; word-break: break-all; }
.member-contact a:hover { color: var(--navy); }
.member-contact svg { width: 14px; height: 14px; opacity: .55; stroke: var(--navy); flex-shrink: 0; }

/* ---------- Jobs ---------- */
.job-list { display: grid; gap: 16px; }
.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all .3s var(--ease);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.job:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.job-content { flex: 1; min-width: 0; }
.job-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
  opacity: .75;
}
.job-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.job-meta { font-size: 13px; color: var(--text-dim); }
.job-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s var(--ease);
}
.job:hover .job-arrow {
  background: var(--navy);
  color: #fff;
  transform: translateX(4px);
}

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.benefit:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.benefit svg { width: 28px; height: 28px; color: var(--navy); margin-bottom: 16px; }
.benefit h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; font-weight: 400; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 20px; color: var(--navy); margin-bottom: 20px; font-weight: 700; }
.contact-info .info-block { margin-bottom: 28px; }
.contact-info .info-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 6px; opacity: .8;
}
.contact-info .info-value { color: var(--text); font-size: 15.5px; line-height: 1.6; }
.contact-info .info-value a { transition: color .2s; word-break: break-word; }
.contact-info .info-value a:hover { color: var(--navy); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1/-1; }
.field label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px;
}
.field input, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all .25s var(--ease);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44,60,99,.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 16px; flex-wrap: wrap; }
.form-footer small { font-size: 12px; color: var(--text-muted); flex: 1; min-width: 200px; }

.map-placeholder {
  margin-top: 36px;
  height: 240px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(44,60,99,.65), rgba(44,60,99,.85)),
    url('../images/granulat.jpg') center/cover;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--navy);
  padding: 18px 26px;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}
.map-pin small { display: block; color: var(--text-dim); font-weight: 400; font-size: 12px; margin-top: 4px; }

/* ---------- CTA-Banner (dunkel) ---------- */
.cta-banner {
  margin: 0;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(44,60,99,.92) 0%, rgba(31,44,73,.95) 100%),
    url('../images/werkzeug-nah.jpg') center/cover;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { max-width: 800px; margin: 0 auto 20px; color: #fff; }
.cta-banner h2 .light { color: rgba(255,255,255,.7); }
.cta-banner p { max-width: 620px; margin: 0 auto 36px; color: rgba(255,255,255,.85); font-size: 16.5px; font-weight: 300; }
.cta-banner .eyebrow { color: #C9D6F0; justify-content: center; }
.cta-banner .eyebrow::before, .cta-banner .eyebrow::after { background: #C9D6F0; }
.cta-banner .cta-btn { background: #fff; color: var(--navy); }
.cta-banner .cta-btn:hover { background: #C9D6F0; }

/* ---------- Page Header ---------- */
.page-header {
  padding: 60px 0 70px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44,60,99,.08), transparent 70%);
  pointer-events: none;
}
.page-header .eyebrow { justify-content: flex-start; }
.page-header h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1.2px;
  line-height: 1.05;
  max-width: 900px;
}
.page-header .lead {
  max-width: 680px;
  color: var(--text-dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 24px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 600;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb svg { width: 10px; height: 10px; opacity: .5; stroke: var(--text-muted); }

/* ---------- Service Detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.service-detail .sd-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.service-detail .sd-item:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.sd-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  min-width: 52px;
  opacity: .35;
}
.sd-text h4 { font-size: 16px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.sd-text p { font-size: 14px; color: var(--text-dim); line-height: 1.6; font-weight: 400; }

/* ---------- Section-Link (Sprung-Anker) ---------- */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(44,60,99,.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all .25s var(--ease);
}
.section-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44,60,99,.25);
}
.section-link svg {
  transition: transform .25s var(--ease);
}
.section-link:hover svg { transform: translateY(2px); }

/* Section-Header offset, damit Sticky-Header nicht das Anchor-Ziel verdeckt */
section[id] { scroll-margin-top: 90px; }

/* ---------- Express-Bewerbung (Karriere-Seite) ---------- */
.express-form {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 38px 32px;
  box-shadow: var(--shadow-md);
}
.express-form .req { color: var(--navy-bright); font-weight: 700; }
.express-form .req-or { color: var(--navy-bright); font-weight: 700; }
.express-form .form-hint {
  display: block;
  margin: -6px 0 22px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-style: italic;
}
.express-form select {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all .25s var(--ease);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232C3C63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.express-form select:focus {
  outline: none;
  border-color: var(--navy);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(44,60,99,.10);
}
.express-form .file-field {
  margin: 6px 0 18px;
}
.express-form .file-field input[type="file"] {
  background: var(--bg-2);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dim);
}
.express-form .file-field input[type="file"]::file-selector-button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 12px;
  transition: background .2s var(--ease);
}
.express-form .file-field input[type="file"]::file-selector-button:hover {
  background: var(--navy-deep);
}
.express-form .file-info {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.express-form .file-info.has-file { color: var(--navy); font-weight: 600; }
.express-form .file-info.error { color: #B33; font-weight: 600; }

.reassure-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(90,123,197,.08), rgba(44,60,99,.04));
  border: 1px solid rgba(44,60,99,.15);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.reassure-box .reassure-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reassure-box .reassure-icon svg { width: 18px; height: 18px; }
.reassure-box strong { color: var(--navy); }

.express-form .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.express-form .form-footer small {
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.express-form .form-error {
  background: #FFF0F0;
  border: 1px solid #E5A0A0;
  color: #9A2D2D;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}

/* CTA-Banner: zwei Buttons nebeneinander */
.cta-banner .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .express-form { padding: 24px 20px; }
  .reassure-box { padding: 16px; gap: 12px; font-size: 13.5px; }
  .reassure-box .reassure-icon { width: 30px; height: 30px; }
  .reassure-box .reassure-icon svg { width: 15px; height: 15px; }
  .cta-banner .cta-actions { flex-direction: column; }
  .cta-banner .cta-actions .cta-btn { width: 100%; justify-content: center; }
}

/* ---------- FAQ (native details/summary) ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
  transition: background .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-2); }
.faq-q { flex: 1; }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
  border-radius: 50%;
  background: var(--bg-2);
  transition: background .2s var(--ease), transform .25s var(--ease);
}
.faq-item[open] .faq-toggle { background: var(--navy); transform: rotate(45deg); }
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--navy);
  transition: background .2s var(--ease);
}
.faq-toggle::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }

.faq-answer {
  padding: 0 26px 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--navy); font-weight: 600; }

@media (max-width: 640px) {
  .faq-item summary { padding: 18px 20px; font-size: 15px; gap: 14px; }
  .faq-answer { padding: 0 20px 20px; font-size: 14.5px; }
}

/* ---------- Quote ---------- */
.quote {
  position: relative;
  max-width: 820px;
  margin: 90px auto 0;
  text-align: center;
  padding: 70px 60px 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote::before {
  content: "„";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
  line-height: 1;
  font-weight: 700;
  color: var(--navy);
  opacity: .18;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}
.quote blockquote {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
  letter-spacing: -.2px;
}
.quote cite {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  font-style: normal;
}
@media (max-width: 640px) {
  .quote { padding: 55px 24px 40px; margin-top: 60px; }
  .quote::before { font-size: 70px; top: -4px; }
}

/* ---------- Legal-Text (Impressum/Datenschutz) ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 0 110px;
}
.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--navy);
}
.legal-content h3 { font-size: 17px; margin-top: 26px; margin-bottom: 10px; color: var(--navy); font-weight: 600; }
.legal-content p { color: var(--text); margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.legal-content ul { margin: 0 0 14px 22px; }
.legal-content li { color: var(--text); margin-bottom: 6px; font-size: 15px; }
.legal-content a { color: var(--navy); text-decoration: underline; }
.dummy-note {
  background: #FFF7E0;
  border: 1px solid #F2C94C;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 30px 0;
  font-size: 14px;
  color: #6B5A12;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-grid h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid li a { color: rgba(255,255,255,.78); font-size: 14px; transition: color .2s; }
.footer-grid li a:hover { color: #fff; }
.footer-brand img {
  height: 64px;
  margin-bottom: 18px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}
.footer-brand p { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; font-weight: 300; max-width: 340px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.footer-socials a:hover { background: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 15px; height: 15px; fill: rgba(255,255,255,.85); }
.footer-socials a:hover svg { fill: var(--navy); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: #fff; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .big {
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -4px;
  opacity: .3;
}
.error-page h1 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); margin: 16px 0 14px; }
.error-page p { color: var(--text-dim); margin-bottom: 32px; max-width: 480px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(3) { border-right: none; }
  .feature:nth-child(4), .feature:nth-child(5) {
    grid-column: span 1;
    border-top: 1px solid var(--line);
  }
  .feature:nth-child(4) { border-right: 1px solid var(--line); }
  nav.primary { display: none; }
  .mobile-menu-btn { display: flex; }
  /* CTA aus dem Header verschwindet auf Mobile – sie zieht stattdessen ins Burger-Menü */
  .header-inner > .cta-btn { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section .visual { min-height: 380px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-child(5) { grid-column: span 2; border-bottom: none; }
  .feature:nth-child(4) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-info { display: none; }
  .topbar-right { width: 100%; justify-content: space-between; }
  .hero { min-height: 70vh; padding: 50px 0 80px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.5px; flex-wrap: wrap; }
  .hero-claim { font-size: 11px; letter-spacing: 2.5px; white-space: normal; word-spacing: 2px; }
  .hero-claim .dot { margin: 0 4px; }
  .hero-actions { width: 100%; }
  .hero-actions .cta-btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: 12px; letter-spacing: 1px; }
  section { padding: 70px 0; }
  .cta-banner { padding: 60px 0; }
  .job { flex-direction: column; align-items: flex-start; padding: 24px; }
  .contact-form { padding: 28px 22px; }
  .header-inner { gap: 12px; }
  .header-inner .cta-btn { font-size: 11px; letter-spacing: .8px; padding: 10px 14px; }
  .logo img { height: 40px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 2.5px; }
  .page-header { padding: 40px 0 50px; }
  .breadcrumb { font-size: 10.5px; letter-spacing: 1px; }
}

/* ---------- Mobile Menu ---------- */
#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  padding: 80px 30px 30px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
#mobileMenu.open { transform: translateX(0); }
#mobileMenu nav { display: grid; gap: 6px; }
#mobileMenu nav a {
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text);
  transition: all .2s;
}
#mobileMenu nav a:hover, #mobileMenu nav a.active { background: var(--bg-2); color: var(--navy); }
#mobileMenu .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .2s var(--ease);
}
#mobileMenu .mobile-cta:hover { background: var(--navy-deep); }
#mobileMenu .mobile-cta svg { width: 16px; height: 16px; }
#mobileMenu .close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,28,50,.5);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
