/* =========================================================
   ALC AUTOMOTIVE LOGISTIC CENTER – Main Stylesheet
   Ported from WordPress Theme "alc"
   Fonts & exact colors to be confirmed via Chrome DevTools
   ========================================================= */

/* --- Karla (Sans-Serif) – lokal gehostet (DSGVO-konform, kein Google-Server-Kontakt)
   Lizenz: SIL Open Font License 1.1 – https://openfontlicense.org
   Dateien: karla-{400,700}{,-italic}.woff2 (je ~13-14 KB, Latin-Subset) */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/karla-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../fonts/karla-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/karla-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 700;
  font-display: block;
  src: url('../fonts/karla-700-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Lora (Serif) – lokal gehostet (DSGVO-konform, kein Google-Server-Kontakt)
   Lizenz: SIL Open Font License 1.1 – https://openfontlicense.org
   Verwendung: Navigation, Footer-Nav, Abschnittsnummern (01, 02 …)
   Dateien: lora-{400,700}.woff2 (je ~21 KB, Latin-Subset) */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/lora-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../fonts/lora-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS Custom Properties --- */
:root {
  /* Colors – to be verified via DevTools */
  --color-black:      #1a1a1a;
  --color-dark:       #222222;
  --color-mid:        #444444;
  --color-light:      #f5f5f5;
  --color-white:      #ffffff;
  --color-accent:     #c8a96e;   /* warm gold – placeholder, verify */
  --color-border:     #e0e0e0;

  /* Typography */
  --font:       'Karla', sans-serif;   /* Standard: gesamter Body-Text */
  --font-serif: 'Lora', serif;         /* Akzent: Navigation, Footer-Nav, Abschnittsnummern */

  /* Spacing */
  --section-pad-v:    80px;
  --section-pad-h:    60px;
  --max-width:        1200px;
  --nav-height:       115px;   /* WP: .headerMain height: 115px */
}

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

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;   /* Sicherung gegen horizontales Scrollen (Menü bleibt im Sichtfeld) */
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;        /* WP: 15px */
  line-height: 22px;      /* WP: 22px */
  color: #5B5959;         /* WP: #5B5959 */
  background: #F4F4F4;   /* WP: #F4F4F4 */
  overflow-x: hidden;
  overflow-wrap: break-word; /* Lange deutsche Komposita nicht überlaufen lassen */
  hyphens: auto;             /* Automatische Silbentrennung (braucht lang="de" im HTML) */
}

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

a {
  color: #5B5959;         /* WP: color: #5B5959 */
  text-decoration: none;
  transition: 0.35s ease all;
}

a:hover {
  color: #E84E0F;         /* WP: hover orange */
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: 1.2;
  color: #5B5959;
}

/* WP: .caption h1 { font-size: 42px; font-weight: 700; line-height: 55px; } */
h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  hyphens: none;            /* Hauptüberschrift NIE trennen (z.B. LOGISTIC statt LO-GISTIC) */
  -webkit-hyphens: none;    /* Safari/iOS */
}

/* WP: h2 { font: normal normal normal 38px/50px Karla; letter-spacing: 0; margin: 0 0 35px; } */
h2 { font-size: 38px; font-weight: 400; line-height: 50px; letter-spacing: 0; margin: 0 0 35px; }

/* WP: Bootstrap-Default ~26px, kein eigener Override */
h3 { font-size: 26px; font-weight: 400; }

/* WP computed: 14px, weight 500, color #CBCBCB */
h4 { font-size: 14px; font-weight: 500; color: #CBCBCB; }

/* WP: Bootstrap-Default ~18px */
h5 { font-size: 18px; font-weight: 400; }

/* WP computed: 12px, weight 500, color #8B8A8A */
h6 { font-size: 12px; font-weight: 500; color: #8B8A8A; }

p { margin-bottom: 1rem; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #F4F4F4;    /* WP: #F4F4F4 wie body */
  box-shadow: none;        /* WP: kein Shadow im Original */
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* WP: kein max-width im Header – Logo ganz links, Nav ganz rechts */
  padding: 0 30px;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop > ul > li {
  position: relative;
}

.nav-desktop > ul > li > a {
  display: block;
  padding: 0 15px;        /* WP: geringe Abstände zwischen Items */
  height: var(--nav-height);
  line-height: var(--nav-height);
  font-family: var(--font-serif);
  font-size: 16px;        /* WP: 16px */
  font-weight: 400;       /* WP: 400 normal */
  color: #5B5959;         /* WP: #5B5959 */
  transition: color 0.35s ease all;
  white-space: nowrap;
}

/* WP: aktiver/hover Menüpunkt – nur Farbe, kein Gewichtswechsel */
.nav-desktop > ul > li.active > a,
.nav-desktop > ul > li > a:hover {
  color: #E84E0F;
}

/* WP: kein Underline-Effekt im Original */

.nav-desktop > ul > li:hover > a::after,
.nav-desktop > ul > li.active > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-desktop .dropdown {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-desktop li:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-desktop .dropdown a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s, color 0.15s;
}

.nav-desktop .dropdown a:hover {
  background: var(--color-light);
  color: var(--color-black);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;   /* Abstand zwischen Logo/Text und Menü-Button */
  flex-shrink: 0;      /* Button nie zusammenquetschen */
}

.hamburger img {
  width: 28px;
  height: 28px;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  cursor: pointer;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.nav-mobile ul li a {
  display: block;
  padding: 18px 40px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  transition: background 0.15s;
}

.nav-mobile ul li a:hover {
  background: var(--color-light);
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 500px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: var(--color-white);
}

/* =========================================================
   SECTION NUMBERING (01, 02, ...)
   ========================================================= */
.section-number {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-mid);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.section-number span.num {
  font-size: 13px;
  color: var(--color-black);
}

.section-number img.dot-line {
  height: 6px;
  width: auto;
}

/* =========================================================
   SECTIONS – General
   ========================================================= */
.section {
  padding: var(--section-pad-v) 0;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--light {
  background: var(--color-light);
}

/* =========================================================
   SECTION 01 – Hero Text (on homepage)
   ========================================================= */
.section-hero-text {
  padding: var(--section-pad-v) 0;
  background: var(--color-white);
  position: relative;
}

.section-hero-text .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
}

/* WP: caption1 h1 { font-size: 38px; font-weight: 700; color: #5B5959 } – kein eigener Override nötig */
/* WP: caption1 h2 { font-size: 38px; font-weight: 400; line-height: 50px; color: #5B5959 } */
.section-hero-text h1,
.section-hero-text h2 {
  color: #5B5959;  /* WP: dunkler Text, kein weißer Overlay */
}
.section-hero-text h2 {
  margin: 0;
}

/* Square dots decoration */
.square-dots {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 80px;
  opacity: 0.5;
  pointer-events: none;
}

/* =========================================================
   SECTION 02 – Über Uns (Homepage teaser)
   ========================================================= */
.section-about {
  background: var(--color-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-mid);
  margin-bottom: 28px;
}

/* WP: Buttons sind Text-Links mit Pfeil – kein Kasten */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #5B5959;
  transition: color 0.2s;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
}

.btn::after {
  content: '→';
  color: #E84E0F;
  font-size: 17px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s;
}

.btn:hover {
  color: #E84E0F;
}

.btn:hover::after {
  transform: translateX(4px);
}

/* Für Buttons auf dunklem/Photo-Hintergrund (z. B. Kontakt-Teaser) */
.btn--light {
  color: rgba(255,255,255,0.9);
}

.btn--light::after {
  color: rgba(255,255,255,0.9);
}

.btn--light:hover {
  color: #fff;
}

.btn--light:hover::after {
  color: #fff;
  transform: translateX(4px);
}

/* =========================================================
   SECTION 03 – Leistungen (Homepage teaser)
   ========================================================= */
.section-leistungen-teaser {
  background: transparent;
  color: #5B5959;
  overflow: hidden;
}

.leistungen-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

/* Overlapping images layout – matching live WP site */
.leistungen-teaser-imgs {
  position: relative;
  min-height: 677px;  /* top(305) + height(372) of img-2 */
}

/* img1: static, 420×507, objectFit:cover (WP measurements) */
.lt-img-1 {
  display: block;
  width: 420px;
  height: 507px;
  object-fit: cover;
}

/* img2: absolutely overlapping img1 (WP: top:305px, left:-38px) */
.lt-img-2 {
  position: absolute;
  top: 305px;
  left: -38px;
  width: 378px;
  height: 372px;
  object-fit: cover;
  z-index: 1;
}

.leistungen-teaser-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.leistungen-teaser-text h2 {
  font-size: 30px;   /* WP: sectionHome-02-innerR h2 = 30px */
  color: #5B5959;
  font-weight: 400;
  margin-bottom: 32px;
}

.leistungen-teaser-text .section-number {
  color: var(--color-mid);
}

.leistungen-teaser-text .section-number .num {
  color: var(--color-dark);
}

/* =========================================================
   SECTION 04 – Referenzen (Homepage teaser)
   ========================================================= */
.section-referenzen-teaser {
  background: var(--color-white);
}

.referenzen-teaser-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.referenzen-teaser-text {
  flex: 1;
}

.referenzen-teaser-logos {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.referenzen-teaser-logos img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.referenzen-teaser-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =========================================================
   SECTION 05 – Jobs (Homepage teaser)
   ========================================================= */
.section-jobs-teaser {
  background: var(--color-light);
  position: relative;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.job-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}

.job-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.job-card h6 {
  margin-bottom: 8px;
}

/* WP: job-card h4 = 14px, 500, #CBCBCB (identisch mit globalem h4) */
.job-card h4 {
  margin-bottom: 6px;
  font-size: 14px;
}

.job-card .job-location {
  font-size: 14px;
  color: var(--color-mid);
  margin-bottom: 20px;
}

.job-card .job-link {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  color: #5B5959;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-card .job-link::after {
  content: '→';
  color: #E84E0F;
  font-size: 15px;
  transition: transform 0.2s;
}

.job-card:hover .job-link::after {
  transform: translateX(3px);
}

/* =========================================================
   SECTION 06 – Kontakt Teaser (Homepage)
   ========================================================= */
.section-kontakt-teaser {
  background: transparent;  /* WP: rgba(0,0,0,0) – Photo ist visueller Hintergrund */
  color: var(--color-white);
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.kontakt-teaser-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.kontakt-teaser-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;  /* WP: kein extra-dunkler bg → Photo deutlicher sichtbar */
}

.kontakt-teaser-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: var(--section-pad-v) var(--section-pad-h);
}

/* WP: beide Zeilen im Kontakt-Teaser sind h2 (38px, 400, weiß) */
.kontakt-teaser-content h2 {
  font-size: 38px;     /* WP: 38px wie standard h2 */
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 12px;
}

.kontakt-teaser-content h3 {
  font-size: 38px;     /* WP zeigt diesen Text als h2 → gleiche Größe */
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 40px;
  line-height: 50px;
}

/* =========================================================
   PAGE HERO (Unterseiten – einfaches Bild statt Slider)
   ========================================================= */
.page-hero {
  margin-top: var(--nav-height);
  width: 100%;
  height: 45vw;
  max-height: 520px;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Desktop image: show; mobile image: hide */
.page-hero .img-mobile { display: none; }
.page-hero .img-desktop { display: block; }

/* =========================================================
   PAGE INTRO SECTION (01 on sub-pages)
   ========================================================= */
.page-intro {
  padding: var(--section-pad-v) 0;
  background: var(--color-white);
}

/* WP: .page-intro h2 = standard h2 (38px, 400, line-height: 50px) */
.page-intro h2 {
  max-width: 800px;
}

/* =========================================================
   ÜBER UNS PAGE
   ========================================================= */
.firmensitz-section {
  background: var(--color-light);
}

.firmensitz-section p {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-mid);
}

.geschichte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.geschichte-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.geschichte-text h2 {
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
}

/* WP: .white-box-team h5 { font-size: 18px; font-weight: 700; color: #002438 } */
.team-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: #002438;
  margin-bottom: 4px;
}

/* WP: .white-box-team h6 { font-size: 14px; font-weight: 500; color: #002438; line-height: 16px } */
.team-card h6 {
  font-size: 14px;
  font-weight: 500;
  color: #002438;
  line-height: 16px;
}

/* =========================================================
   LEISTUNGEN PAGE
   ========================================================= */
.leistung-section {
  padding: var(--section-pad-v) 0;
  scroll-margin-top: calc(var(--nav-height) + 20px); /* Anker: Header (115px) + Luft */
}

.leistung-section:nth-child(even) {
  background: var(--color-light);
}

.leistung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.leistung-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.leistung-imgs img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* WP: .left-section h4 { font-size: 23px; font-weight: 500; color: #E84E0F } */
.leistung-content h4 {
  font-size: 23px;
  font-weight: 500;
  color: #E84E0F;
  line-height: 36.8px;
  margin-bottom: 16px;
}

.leistung-content p {
  color: var(--color-mid);
  margin-bottom: 16px;
}

.leistung-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-mid);
}

.leistung-content ul li {
  margin-bottom: 6px;
}

/* WP: .left-section h3 { font-size: 23px; font-weight: 500; color: #E84E0F } */
.leistung-projekt h3 {
  font-size: 23px;
  font-weight: 500;
  color: #E84E0F;
  line-height: 27.6px;
  margin: 24px 0 12px;
}

.leistung-projekt ul {
  columns: 2;
  gap: 20px;
}

/* =========================================================
   REFERENZEN PAGE
   ========================================================= */
.referenzen-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 40px;
}

.referenzen-logos img {
  max-height: 80px;
  width: auto;
  max-width: 180px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.25s, opacity 0.25s;
}

.referenzen-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =========================================================
   JOBS PAGE
   ========================================================= */
.jobs-hero-img {
  margin-top: var(--nav-height);
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.jobs-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobs-featured {
  padding: 60px 0 0;
}

.jobs-featured .job-featured-card {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  padding: 40px;
  max-width: 480px;
  display: block;
  transition: background 0.2s;
}

.jobs-featured .job-featured-card:hover {
  background: var(--color-light);
}

.jobs-list-section {
  padding: var(--section-pad-v) 0;
  background: var(--color-light);
}

/* =========================================================
   JOB DETAIL PAGE
   ========================================================= */
.job-detail {
  padding: var(--section-pad-v) 0;
}

.job-detail-header {
  margin-bottom: 40px;
}

.job-detail-header img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 32px;
}

.job-detail h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.job-detail .job-location-tag {
  font-size: 16px;
  color: var(--color-mid);
  margin-bottom: 32px;
  display: block;
}

.job-detail-content h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 28px 0 12px;
}

.job-detail-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-mid);
}

.job-detail-content ul li {
  margin-bottom: 8px;
}

.job-detail-contact {
  margin-top: 48px;
  padding: 32px;
  background: var(--color-light);
  border-left: 4px solid var(--color-black);
}

.job-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  margin-top: 40px;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 2px;
}

/* =========================================================
   KONTAKT PAGE
   ========================================================= */
.kontakt-page {
  padding: var(--section-pad-v) 0;
}

/* Grid: Adresse links, Karte rechts */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info {
  /* keine max-width mehr – Grid übernimmt die Breite */
}

/* Karte */
.kontakt-map-wrap {
  width: 100%;
}

#alc-map {
  width: 100%;
  height: 450px;
  border: 1px solid var(--color-border);
}

.kontakt-map-note {
  font-size: 11px;
  color: var(--color-mid);
  margin-top: 8px;
  margin-bottom: 0;
}

.kontakt-map-note a {
  color: var(--color-mid);
}

@media (max-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #alc-map {
    height: 300px;
  }
}

/* WP: .caption h1 { font-size: 38px; font-weight: 400; } auf der Kontakt-Seite */
.kontakt-info h1 {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 32px;
}

.kontakt-info p {
  font-size: 18px;
  margin-bottom: 8px;
}

.kontakt-info a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kontakt-info .kontakt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 2px;
  margin-top: 20px;
  display: inline-block;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: transparent;   /* WP: rgba(0,0,0,0) – body #F4F4F4 scheint durch */
  color: #5B5959;
  padding: 50px 0 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
  margin-bottom: 40px;
}

/* WP: footer nav = Karla 700, 12px, orange #E84E0F, kein uppercase */
.footer-nav a {
  font-family: var(--font);   /* WP: Karla (nicht Lora) */
  font-size: 12px;
  font-weight: 700;
  text-transform: none;       /* WP: kein uppercase */
  letter-spacing: 0;
  color: #E84E0F;             /* WP: orange */
  transition: color 0.2s;
  padding: 6px 0;
}

.footer-nav a:hover {
  color: #c63d00;             /* dunkleres Orange */
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);   /* WP: heller Trenner */
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
}

.footer-meta a {
  font-size: 12px;
  color: var(--color-mid);
  transition: color 0.2s;
}

.footer-meta a:hover {
  color: var(--color-dark);
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-mid);
}

.footer-certs {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* WP: Zertifikate als orange Kreise */
.footer-cert-badge {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: #E84E0F;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  padding: 6px;
}

/* Back to top */
.back-to-top {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-mid);
  cursor: pointer;
  transition: color 0.2s;
}

.back-to-top:hover {
  color: var(--color-dark);
}

/* =========================================================
   ANIMATIONS (Scroll-Einfliegen)
   ========================================================= */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

.anim-fade-up.visible,
.anim-fade-left.visible,
.anim-fade-right.visible {
  opacity: 1;
  transform: none;
}

/* Staggered delays */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root {
    --section-pad-h: 40px;
  }

  .about-grid,
  .leistung-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leistungen-teaser-grid {
    grid-template-columns: 1fr;
  }

  /* Auf kleinen Screens: Bilder ohne absolute Überlappung */
  .leistungen-teaser-imgs {
    min-height: 0;
    display: flex;
    gap: 4px;
    overflow: hidden;
  }

  .lt-img-1, .lt-img-2 {
    position: static;
    width: 50%;
    height: 260px;
  }

  .leistungen-teaser-text {
    padding: 40px;
  }

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

  .referenzen-teaser-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-v:  56px;
    --section-pad-h:  20px;
    --nav-height:     64px;
  }

  h1 { font-size: 28px; line-height: 1.2; }
  h2 { font-size: 22px; line-height: 1.35; margin-bottom: 24px; }
  h3 { font-size: 20px; }
  h5 { font-size: 16px; }

  .nav-desktop { display: none; }
  .hamburger   { display: flex; }

  /* Mobile: swap hero images */
  .slide .img-desktop { display: none; }
  .slide .img-mobile  { display: block; }

  /* Page hero */
  .page-hero .img-desktop { display: none; }
  .page-hero .img-mobile  { display: block; }

  .hero-slider {
    height: 75vw;
    min-height: 280px;
  }

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

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

  .leistung-imgs {
    grid-template-columns: 1fr;
  }

  .leistung-imgs img {
    height: 200px;
  }

  .leistungen-teaser-text {
    padding: 32px 20px;
  }

  .lt-img-1, .lt-img-2 {
    height: 180px;
  }

  .jobs-featured .job-featured-card {
    max-width: 100%;
  }

  .footer-nav {
    gap: 0 24px;
  }

  .footer-certs {
    gap: 16px;
  }

  .kontakt-teaser-content h2 { font-size: 24px; }
  .kontakt-teaser-content h3 { font-size: 18px; }
}

@media (max-width: 480px) {
  :root {
    --section-pad-h: 16px;
  }

  .leistung-projekt ul {
    columns: 1;
  }
}
