/* =========================================================
   L&S Metall- und Stahlbau GmbH – Haupt-Stylesheet
   ========================================================= */

/* ----- 1. Variablen & Reset -------------------------------- */
:root {
  /* Markenfarben aus dem L&S-Logo */
  --dark:        #1b3a6b;   /* Navy-Blau "LANGE" */
  --dark-2:      #142d55;   /* Dunkleres Navy */
  --dark-3:      #2a4f8a;   /* Helleres Navy */
  --accent:      #1b3a6b;   /* Primärfarbe = Navy */
  --accent-h:    #142d55;   /* Hover */
  --accent-lite: #dbeafe;   /* Sehr helles Blau */
  --silver:      #9ba4b0;   /* Stahl-Silber (I-Träger im Logo) */
  --light:       #f8f9fb;
  --mid:         #f0f3f7;
  --border:      #dde3ec;
  --text:        #1f2937;
  --text-muted:  #555f6e;
  --white:       #ffffff;
  --max-w:       1200px;
  --hdr-h:       120px;
  --radius:      4px;
  --shadow:      0 2px 8px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.15);
  --trans:       .2s ease;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--accent-h); }
ul { list-style: none; }

/* ----- 2. Typografie -------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

address { font-style: normal; }

/* ----- 3. Layout ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: .75rem auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* ----- 4. Header & Navigation ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--hdr-h);
  border-bottom: 3px solid var(--dark);
  box-shadow: 0 2px 8px rgba(27,58,107,.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hdr-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 100px;
  width: auto;
}
.logo-text {
  color: var(--dark);
  font-size: .95rem;
  line-height: 1.3;
}
.logo-text strong {
  font-size: 1.3rem;
  color: var(--dark);
  display: block;
}
.logo-text small {
  font-size: .75rem;
  color: var(--silver);
  letter-spacing: .06em;
}

/* Header kontakt */
.header-contact {
  display: none;
  color: var(--text-muted);
  font-size: .85rem;
  text-align: right;
  line-height: 1.4;
}
.header-contact a { color: var(--dark); font-weight: 500; }
.header-contact a:hover { color: var(--dark-2); }

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main nav */
.main-nav {
  display: none;
  position: absolute;
  top: var(--hdr-h);
  left: 0;
  right: 0;
  background: var(--dark-2);
  border-top: 2px solid var(--accent);
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
}
.main-nav.is-open { display: block; }

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list > li > a {
  display: block;
  padding: .7rem 1.5rem;
  color: #d1d5db;
  font-size: .95rem;
  font-weight: 500;
  transition: all var(--trans);
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--white);
  background: var(--dark-3);
}

/* Dropdown Mobile */
.dropdown {
  background: var(--dark);
  border-left: 3px solid var(--accent);
  margin-left: 1.5rem;
}
.dropdown a {
  display: block;
  padding: .5rem 1.25rem;
  color: #9ca3af;
  font-size: .9rem;
  transition: all var(--trans);
}
.dropdown a:hover { color: var(--white); background: var(--dark-3); }

.has-dropdown .arrow {
  font-size: .7rem;
  margin-left: .25rem;
  transition: transform var(--trans);
}

/* Desktop nav */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-contact { display: block; }

  .main-nav {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: .25rem;
  }

  .nav-list > li { position: relative; }

  .nav-list > li > a {
    padding: .45rem .9rem;
    border-radius: var(--radius);
    color: var(--dark);
  }
  .nav-list > li > a:hover,
  .nav-list > li > a.active {
    color: var(--white);
    background: var(--dark);
  }

  .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    min-width: 230px;
    background: var(--dark-2);
    border: none;
    border-top: 3px solid var(--accent);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    margin-left: 0;
    padding: .5rem 0;
    z-index: 100;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block; }

  .has-dropdown:hover .arrow { transform: rotate(180deg); }

  .dropdown a {
    padding: .55rem 1.25rem;
    white-space: nowrap;
    font-size: .88rem;
  }
}

/* ----- 5. Hero -------------------------------------------- */
.hero {
  background: #07111f url('/img/hero.jpg') right center / auto 100% no-repeat;
  position: relative;
  padding: 6rem 0;
  min-height: 540px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #07111f        0%,
    #07111f        22%,
    rgba(7,17,31,.90) 38%,
    rgba(7,17,31,.45) 58%,
    rgba(7,17,31,.10) 78%,
    transparent   100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Pill-Box */
.hero-pill {
  background: rgba(8,18,38,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(155,164,176,.18);
  border-left: 3px solid var(--silver);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  max-width: 600px;
}

.hero .section-label {
  color: var(--silver);
  letter-spacing: .14em;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p   { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }

@media (max-width: 600px) {
  .hero-pill { padding: 1.75rem 1.5rem; border-radius: 8px; }
}

/* Page Hero (kleinere Unterseiten) */
.page-hero {
  background: var(--dark);
  padding: 3rem 0;
  border-bottom: 3px solid var(--accent);
}
.page-hero h1 { color: var(--white); }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .85rem;
  color: #6b7280;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: #9ca3af; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: #4b5563; }

/* ----- 6. Buttons ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-2); color: var(--white); }

/* ----- 7. Karten-Grid ------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.card-body h3 { margin-bottom: .5rem; }
.card-body p  { color: var(--text-muted); font-size: .93rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .9rem;
}
.card-link::after { content: '→'; transition: transform var(--trans); }
.card-link:hover::after { transform: translateX(4px); }

/* ----- 8. Galerie & Lightbox ------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mid);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  font-size: .78rem;
  padding: 1.5rem .75rem .5rem;
  opacity: 0;
  transition: opacity var(--trans);
}
.gallery-item:hover figcaption { opacity: 1; }

/* Galerie-Sektion Abstand */
.gallery-section { margin-bottom: 3.5rem; }
.gallery-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox-overlay.is-open { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  color: #d1d5db;
  font-size: .9rem;
  margin-top: .75rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity var(--trans);
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.75rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--trans);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ----- 9. Kontaktformular --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-lite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-text strong { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .15rem; }
.contact-info-text a { color: var(--text); font-weight: 500; }
.contact-info-text a:hover { color: var(--accent); }

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe { display: block; width: 100%; height: 250px; border: none; }
.map-consent-inner {
  padding: 1.25rem 1rem;
  background: var(--light);
  text-align: center;
}
.map-consent-inner p { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }

/* Formular */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark-3);
  margin-bottom: .4rem;
}
.form-label .req { color: var(--accent); margin-left: .15rem; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,58,107,.18);
}
.form-textarea { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text-muted);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: .15rem;
}
.form-check a { color: var(--accent); text-decoration: underline; }

/* Honeypot */
.field-website { display: none !important; visibility: hidden; }

.form-status {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .93rem;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}
.form-status.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.form-status.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* ----- 10. Leistungsliste --------------------------------- */
.leistung-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.leistung-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.leistung-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

.maschinen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.maschine-item {
  background: var(--dark-2);
  color: #d1d5db;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  border-left: 3px solid var(--accent);
}
.maschine-item strong { color: var(--white); display: block; margin-bottom: .2rem; }

/* ----- 11. Kunden-Liste ----------------------------------- */
.kunden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.kunden-item {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 500;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.kunden-item:hover { border-color: var(--accent); transform: translateX(3px); box-shadow: var(--shadow); }

/* ----- 12. Karriere --------------------------------------- */
/* Horizontale Stellenanzeigen (Fachkräfte) */
.job-listings {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.job-listing {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 5px solid var(--accent);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--trans);
}
.job-listing:hover { box-shadow: var(--shadow-lg); }
.job-listing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
}
.job-listing-body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.job-listing-head h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0 0 .65rem;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.job-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .22rem .7rem;
  border-radius: 20px;
  background: var(--light);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.job-listing-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
/* Azubi-Card (bleibt als einfache Karte) */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  border-top: 4px solid var(--accent);
  transition: box-shadow var(--trans);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card h3 { margin-bottom: 1.25rem; font-size: 1.3rem; }
/* Gemeinsame job-section Styles */
.job-section { margin-bottom: 1.25rem; }
.job-section-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--silver);
  margin-bottom: .5rem;
}
.job-section ul,
.job-card ul {
  margin: 0;
  padding-left: 1.1rem;
}
.job-section ul li,
.job-card ul li {
  font-size: .93rem;
  color: var(--text-muted);
  margin-bottom: .3rem;
  line-height: 1.55;
}
.job-actions { margin-top: auto; padding-top: .5rem; }
@media (max-width: 860px) {
  .job-listing {
    grid-template-columns: 1fr;
    border-left: 1px solid var(--border);
    border-top: 5px solid var(--accent);
  }
  .job-listing-img { height: 220px; min-height: unset; }
  .job-listing-cols { grid-template-columns: 1fr; gap: 0; }
}

/* Vimeo / Video Datenschutz-Blocker */
.video-consent {
  position: relative;
  width: 100%;
  background: #07111f;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-consent-inner {
  text-align: center;
  padding: 2rem;
  max-width: 480px;
}
.video-consent-inner p {
  color: #9ca3af;
  font-size: .9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.video-consent-inner .btn { margin: .35rem; }
.video-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ----- 13. Statistik-Leiste ------------------------------- */
.stats-bar {
  background: var(--accent);
  padding: 2.5rem 0;
}
.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item span {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin-top: .25rem;
  display: block;
}

/* ----- 14a. Karriere-Hinweisband -------------------------- */
.jobs-teaser {
  background: #059669;
  padding: .85rem 0;
}
.jobs-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.jobs-teaser-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  color: #fff;
}
.jobs-teaser-text strong {
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.jobs-teaser-text span {
  font-size: .95rem;
  opacity: .9;
}
.jobs-teaser-btn {
  display: inline-block;
  padding: .55rem 1.4rem;
  background: #fff;
  color: #059669;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--trans), transform var(--trans);
}
.jobs-teaser-btn:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .jobs-teaser-inner { justify-content: flex-start; }
}

/* ----- 14. Aktuelle Projekte ------------------------------ */
.projekte-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.projekt-tag {
  display: inline-block;
  background: var(--dark-2);
  color: #d1d5db;
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: 2rem;
  border: 1px solid var(--dark-3);
}

/* ----- 15. Footer ----------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 4rem 0 0;
  border-top: 3px solid var(--silver);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-inner h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--dark-3);
}
.footer-inner p,
.footer-inner address { font-size: .9rem; line-height: 1.8; }
.footer-inner a { color: #9ca3af; }
.footer-inner a:hover { color: var(--white); }
.footer-inner ul li { margin-bottom: .4rem; }
.footer-inner ul a { font-size: .9rem; }

.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 1rem 0;
  border-top: 1px solid var(--dark-3);
  font-size: .83rem;
  text-align: center;
}
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: var(--white); }

/* Social links (Footer) */
.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: opacity var(--trans), transform var(--trans);
}
.social-links a:hover {
  opacity: .85;
  transform: translateY(-2px);
}
.social-links img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: block;
}

/* Social + Karriere Section (Homepage) */
/* ----- 15b. Pillow-Karten (Social · Karriere · Kontakt) --- */
.section-pillows {
  background: var(--dark);
  padding: 4rem 0;
}
.pillows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.pillow-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  box-shadow: 0 6px 28px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Button-Bereiche immer an den unteren Rand drücken */
.pillow-social-btns,
.pillow-cta-btns,
.pillow-card > a.btn {
  margin-top: auto;
  padding-top: 0.5rem;
}
.pillow-card__title {
  color: var(--dark);
  font-size: 1.2rem;
  margin: .45rem 0 .7rem;
}
.pillow-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}
/* Social-Buttons innerhalb der Pillow-Karte (dunkle Variante) */
.pillow-social-btns {
  display: flex;
  gap: .75rem;
}
.pillow-social-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  background: transparent;
  border: 2px solid var(--dark);
  text-decoration: none;
  transition: background var(--trans), transform var(--trans);
}
/* btn-outline auf weißem Pillow-Hintergrund: dunkel statt weiß */
.pillow-card .btn-outline {
  color: var(--dark);
  border-color: var(--dark);
}
.pillow-card .btn-outline:hover {
  background: var(--light);
  color: var(--dark);
  border-color: var(--dark);
}
.pillow-social-btn img { filter: brightness(0); }
.pillow-social-btn:hover {
  background: var(--light);
  transform: translateY(-2px);
}
/* CTA-Buttons in Pillow-Karte */
.pillow-cta-btns {
  display: flex;
  flex-direction: row;
  gap: .75rem;
}
.pillow-cta-btns > a {
  flex: 1;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding-left: .75rem;
  padding-right: .75rem;
  font-size: .875rem;
}
@media (max-width: 860px) {
  .pillows-grid { grid-template-columns: 1fr; }
}

/* ----- 16. Impressum / Datenschutz ----------------------- */
.legal-content {
  max-width: 820px;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 .75rem;
  color: var(--dark);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p  { color: var(--text-muted); margin-bottom: 1rem; }
.legal-content ul { margin-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.legal-content ul li { color: var(--text-muted); margin-bottom: .3rem; }

/* ----- 17. Utility ---------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: .5rem 1rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

/* ----- 18. Media Queries ---------------------------------- */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 380px; padding: 4rem 0; }
  .hero h1 { font-size: 2rem; }
  .stats-inner { gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
  :root { --hdr-h: 90px; }
  .logo-img { height: 72px; }
  .container { padding: 0 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .btn { padding: .65rem 1.25rem; font-size: .9rem; }
}

@media (min-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .lightbox-overlay { display: none !important; }
  body { font-size: 11pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
