/* ============================================================
   SCHÄFER HOLZBAUTECHNIK — Shared Stylesheet
   ============================================================ */

/* 1. TOKENS */
:root {
  --black:       #0a0a0a;
  --black-soft:  #1a1a1a;
  --white:       #fafaf8;
  --yellow:      #FAD900;
  --yellow-dark: #d4b800;
  --yellow-pale: #fffbe8;
  --gray-50:     #f4f4f2;
  --gray-100:    #e8e8e5;
  --gray-200:    #d0d0cc;
  --gray-400:    #999;
  --gray-600:    #555;
  --gray-800:    #2a2a27;
  --wood-warm:   #f7f3ed;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  --max: 1200px;
  --r:   6px;
  --r-lg: 12px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t: 0.28s var(--ease);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.1rem);
  line-height: 1.72;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--black);
}
h1 { font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); }
::selection { background: var(--yellow); color: var(--black); }

/* 3. LAYOUT UTILS */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--sp-md); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gray-600); margin-bottom: var(--sp-xs);
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--yellow); }
.section-label--light { color: rgba(255,255,255,0.5); }
.section-label--light::before { background: var(--yellow); }

/* 4. SKIP LINK */
.skip { position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--yellow); color: var(--black); padding: .5rem 1rem;
  border-radius: var(--r); font-weight: 600; }
.skip:focus { top: .75rem; }

/* 5. HEADER / NAV */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,0.2); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto;
  padding: .85rem var(--sp-md);
}
.logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.logo-bar { width: 5px; min-height: 38px; background: var(--yellow); border-radius: 2px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: -0.02em; }
.logo-sub  { font-size: 0.65rem; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; }

/* Desktop nav */
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: var(--sp-md); align-items: center; }
.nav-desktop a {
  color: rgba(255,255,255,0.72); font-size: 0.88rem; font-weight: 500;
  padding: .35em 0; position: relative; transition: color var(--t);
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--yellow); transition: width var(--t);
}
.nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--white); }
.nav-desktop a:hover::after, .nav-desktop a:focus-visible::after { width: 100%; }
.nav-desktop .nav-cta { background: var(--yellow); color: var(--black) !important; padding: .6em 1.35em; border-radius: var(--r); font-weight: 700; font-size: 0.88rem; transition: background var(--t), transform var(--t); }
.nav-desktop .nav-cta::after { display: none !important; }
.nav-desktop .nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 1px; transition: transform var(--t), opacity var(--t); }
.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); }

/* Mobile nav overlay */
.nav-mobile {
  position: fixed; inset: 0; background: rgba(10,10,10,0.98); z-index: 890;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--sp-md);
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a { color: var(--white); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; opacity: .75; transition: opacity var(--t), color var(--t); }
.nav-mobile a:hover { opacity: 1; color: var(--yellow); }
.nav-mobile .nav-cta-mob { background: var(--yellow); color: var(--black) !important; opacity: 1 !important; padding: .65em 1.8em; border-radius: var(--r); font-size: 1.2rem; margin-top: var(--sp-sm); }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

/* 6. HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; background: var(--black);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,.25) 50%, rgba(10,10,10,.7) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 9rem var(--sp-md) var(--sp-3xl);
}
.hero-label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: .75rem; }
.hero h1 { color: var(--white); max-width: 680px; margin-bottom: var(--sp-sm); }
.hero-sub { color: rgba(255,255,255,.8); font-size: clamp(1.05rem,.9rem + .5vw,1.25rem); max-width: 520px; margin-bottom: var(--sp-lg); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

/* 7. BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85em 1.8em; border-radius: var(--r); font-family: var(--font-body); font-weight: 700; font-size: .95rem; border: none; cursor: pointer; transition: all var(--t); text-align: center; }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(250,217,0,.25); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--black-soft); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* 8. TRUST BAR */
.trust-bar { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: var(--sp-lg) 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-md); max-width: var(--max); margin: 0 auto; padding: 0 var(--sp-md); }
@media (min-width: 640px) { .trust-bar-inner { grid-template-columns: repeat(4,1fr); } }
.trust-item { text-align: center; padding: var(--sp-sm); }
.trust-num { font-family: var(--font-display); font-size: clamp(1.8rem,1.4rem + 1.5vw,2.6rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.trust-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .3rem; font-weight: 500; letter-spacing: .03em; }
.trust-separator { display: none; }
@media (min-width: 640px) {
  .trust-bar-inner { position: relative; }
  .trust-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: rgba(255,255,255,.12); }
}

/* 9. SECTION SHARED */
.section { padding: var(--sp-3xl) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section--gray { background: var(--gray-50); }
.section--warm { background: var(--wood-warm); }
.section-header { margin-bottom: var(--sp-xl); }
.section-intro { max-width: 580px; color: var(--gray-600); line-height: 1.75; margin-top: .75rem; }
.section-intro--light { color: rgba(255,255,255,.65); }

/* 10. LEISTUNGEN CARDS */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none; color: inherit;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.service-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: var(--sp-md); flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.service-card ul { flex: 1; margin-bottom: var(--sp-sm); }
.service-card ul li { font-size: .88rem; color: var(--gray-600); padding: .2em 0; padding-left: 1rem; position: relative; }
.service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.service-more { font-size: .85rem; font-weight: 700; color: var(--black); display: inline-flex; align-items: center; gap: .35rem; transition: gap var(--t); }
.service-more::after { content: '→'; }
.service-card:hover .service-more { gap: .6rem; }

/* 11. REFERENZEN GRID */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 600px) { .ref-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) {
  .ref-grid { grid-template-columns: repeat(3,1fr); }
  .ref-grid .ref-card--featured { grid-column: span 2; }
}
.ref-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform var(--t), box-shadow var(--t); }
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.ref-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.ref-card--featured img { aspect-ratio: 16/9; }
@media (min-width: 900px) { .ref-card--featured img { aspect-ratio: auto; height: 100%; } }
.ref-card:hover img { transform: scale(1.04); }
.ref-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-sm) var(--sp-md); background: linear-gradient(to top, rgba(10,10,10,.82) 0%, transparent 100%); }
.ref-card-info h3 { color: var(--white); font-size: 1rem; margin-bottom: .2rem; }
.ref-tag { display: inline-block; background: var(--yellow); color: var(--black); padding: .12em .6em; border-radius: 50px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ref-link-all { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--black); margin-top: var(--sp-lg); transition: gap var(--t); }
.ref-link-all::after { content: '→'; }
.ref-link-all:hover { gap: .7rem; }

/* 12. ABOUT SPLIT */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); } }
.about-img { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-img-bar { position: absolute; bottom: -4px; left: 0; width: 100%; height: 5px; background: var(--yellow); }
.about-text { color: rgba(255,255,255,.72); margin: var(--sp-md) 0 var(--sp-lg); line-height: 1.8; }

/* 13. TEAM GRID */
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-md); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4,1fr); } }
.team-card { text-align: center; }
.team-card-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: .75rem; }
.team-card-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--black); }
.team-role { font-size: .82rem; color: var(--gray-600); margin-top: .15rem; }

/* 14. PROCESS */
.process-section { padding: var(--sp-3xl) 0; background: var(--black); }
.process-intro { color: rgba(255,255,255,.65); margin-top: .75rem; max-width: 520px; }
.process-steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); margin-top: var(--sp-xl); }
@media (min-width: 760px) { .process-steps { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1000px) { .process-steps { grid-template-columns: repeat(6,1fr); } }
.process-step { position: relative; }
@media (min-width: 1000px) {
  .process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 20px; left: calc(50% + 24px); right: calc(-50% + 24px);
    height: 2px; background: rgba(250,217,0,.25);
  }
}
.process-num { width: 40px; height: 40px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--black); margin: 0 auto var(--sp-sm); }
.process-step h4 { font-size: 1rem; color: var(--white); text-align: center; margin-bottom: .4rem; }
.process-step p { font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; line-height: 1.6; }
.process-cta { text-align: center; margin-top: var(--sp-xl); }

/* 15. FAQ */
.faq-section { padding: var(--sp-3xl) 0; background: var(--white); }
.faq-list { max-width: 760px; margin: var(--sp-xl) auto 0; display: grid; gap: .75rem; }
details { border: 1px solid var(--gray-100); border-radius: var(--r-lg); overflow: hidden; }
details[open] { border-color: var(--yellow); }
summary {
  padding: var(--sp-md) var(--sp-lg) var(--sp-md) var(--sp-md);
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--black); list-style: none; position: relative;
  user-select: none; transition: background var(--t);
}
summary:hover { background: var(--gray-50); }
summary::after { content: '+'; position: absolute; right: var(--sp-md); top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--yellow); transition: transform var(--t); }
details[open] summary::after { content: '−'; }
.faq-body { padding: 0 var(--sp-md) var(--sp-md); color: var(--gray-600); line-height: 1.75; font-size: .95rem; }
summary::-webkit-details-marker { display: none; }

/* 16. KONTAKT TEASER */
.kontakt-teaser { padding: var(--sp-xl) 0; background: var(--yellow); }
.kontakt-teaser-inner { display: flex; flex-wrap: wrap; gap: var(--sp-md); align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 0 var(--sp-md); }
.kontakt-teaser h2 { color: var(--black); font-size: clamp(1.4rem,1.2rem + 1vw,2rem); }
.kontakt-teaser p { color: rgba(0,0,0,.65); font-size: .95rem; margin-top: .25rem; }
.kontakt-teaser-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; flex-shrink: 0; }

/* 17. STICKY MOBILE CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--white); border-top: 1px solid var(--gray-100);
  display: grid; grid-template-columns: repeat(3,1fr);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
@media (min-width: 769px) { .sticky-cta { display: none; } }
.sticky-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .75rem .5rem; gap: .25rem;
  font-size: .72rem; font-weight: 600; color: var(--black); transition: background var(--t);
}
.sticky-btn:hover { background: var(--gray-50); }
.sticky-btn svg { width: 22px; height: 22px; stroke: var(--black); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sticky-btn--offerte { background: var(--yellow); }
.sticky-btn--offerte:hover { background: var(--yellow-dark); }
.sticky-btn--offerte svg { stroke: var(--black); }

/* Extra bottom padding on mobile so content isn't hidden behind sticky bar */
@media (max-width: 768px) { body { padding-bottom: 64px; } }

/* 18. INNER PAGE HERO */
.page-hero {
  background: var(--black); padding: 9rem var(--sp-md) var(--sp-3xl);
  position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.65); }
.page-hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.page-hero h1 { color: var(--white); }
.page-hero-sub { color: rgba(255,255,255,.7); margin-top: var(--sp-sm); max-width: 540px; font-size: clamp(1rem,.9rem + .4vw,1.2rem); }

/* 19. LEISTUNGEN DETAIL (inner page) */
.service-section { padding: var(--sp-3xl) 0; }
.service-section:nth-child(even) { background: var(--gray-50); }
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) { .service-detail-grid { grid-template-columns: 1fr 1fr; } }
.service-detail-grid.reverse { }
@media (min-width: 900px) { .service-detail-grid.reverse .service-img { order: 2; } }
.service-img { border-radius: var(--r-lg); overflow: hidden; }
.service-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-bullets { margin: var(--sp-md) 0; }
.service-bullets li { padding: .45em 0 .45em 1.5rem; position: relative; font-size: .95rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.service-bullets li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; }

/* 20. WHY WOOD REASONS */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-reasons { display: grid; gap: var(--sp-md); }
.why-item { display: flex; gap: var(--sp-sm); }
.why-num { width: 40px; height: 40px; min-width: 40px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--black); }
.why-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.why-item p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }
.why-img { border-radius: var(--r-lg); overflow: hidden; }
.why-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* 21. TRUST LOGOS */
.trust-logos-section { padding: var(--sp-xl) 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.trust-logos-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-lg); max-width: var(--max); margin: 0 auto; padding: 0 var(--sp-md); }
.trust-logos-inner .tl-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); white-space: nowrap; flex-basis: 100%; text-align: center; }
@media (min-width: 640px) { .trust-logos-inner .tl-label { flex-basis: auto; } }
.trust-logos-inner img { height: 36px; width: auto; filter: grayscale(100%); opacity: .45; transition: filter var(--t), opacity var(--t); }
.trust-logos-inner img:hover { filter: grayscale(0%); opacity: .9; }

/* 22. NEWS CARDS */
.news-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .news-grid { grid-template-columns: repeat(3,1fr); } }
.news-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform var(--t), box-shadow var(--t); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.news-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card-body { padding: var(--sp-sm) var(--sp-md) var(--sp-md); }
.news-date { font-size: .75rem; color: var(--gray-400); margin-bottom: .35rem; }
.news-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.news-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* 23. CONTACT SECTION */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); } }
.contact-items { display: grid; gap: var(--sp-md); }
.contact-item { display: flex; gap: var(--sp-sm); }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: rgba(250,217,0,.12); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: .12rem; }
.contact-val { color: var(--white); font-weight: 500; }
.contact-val a:hover { color: var(--yellow); }

/* 24. FORM */
.form-box { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: var(--sp-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: var(--sp-sm); }
.form-group label { display: block; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75em 1em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); color: var(--white); font-family: var(--font-body); font-size: .95rem;
  transition: border-color var(--t), background var(--t);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.09); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--black); }
.form-honeypot { display: none !important; }
.form-check { display: flex; gap: .75rem; align-items: flex-start; }
.form-check input[type="checkbox"] { margin-top: .2rem; accent-color: var(--yellow); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.form-check a { color: var(--yellow); }
.form-success { display: none; padding: var(--sp-md); background: rgba(250,217,0,.1); border: 1px solid rgba(250,217,0,.3); border-radius: var(--r); color: var(--yellow); font-weight: 500; }

/* 25. FOOTER */
.site-footer { background: var(--black); color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.06); padding: var(--sp-xl) 0 var(--sp-lg); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); padding-bottom: var(--sp-lg); border-bottom: 1px solid rgba(255,255,255,.07); }
@media (min-width: 700px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .84rem; line-height: 1.65; max-width: 280px; margin-top: .75rem; }
.footer-trust { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: var(--sp-sm); }
.footer-trust span { font-size: .72rem; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.12); padding: .2em .65em; border-radius: 50px; }
.footer-social { display: flex; gap: .5rem; margin-top: var(--sp-sm); }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.footer-social a:hover { border-color: var(--yellow); background: rgba(250,217,0,.1); }
.footer-social img { width: 14px; height: 14px; opacity: .55; filter: brightness(10); }
.footer-social a:hover img { opacity: 1; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: var(--sp-sm); }
.footer-col a { display: block; font-size: .84rem; padding: .2em 0; transition: color var(--t); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-md); font-size: .78rem; flex-wrap: wrap; gap: var(--sp-sm); }
.footer-legal { display: flex; gap: var(--sp-md); }
.footer-legal a:hover { color: var(--yellow); }

/* 26. REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 27. KITA SECTION */
.kita-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) { .kita-grid { grid-template-columns: 1fr 1fr; } }
.kita-img { border-radius: var(--r-lg); overflow: hidden; }
.kita-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* 28. JOBS SECTION */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 640px) { .jobs-grid { grid-template-columns: repeat(2,1fr); } }
.job-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: var(--sp-md); }
.job-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.job-card p { font-size: .88rem; color: var(--gray-600); }
.job-tag { display: inline-block; background: var(--yellow-pale); color: var(--black); padding: .15em .7em; border-radius: 50px; font-size: .72rem; font-weight: 700; margin-bottom: .6rem; }

/* 29. VALUES GRID */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
.value-item { display: flex; gap: .75rem; align-items: flex-start; }
.value-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(250,217,0,.12); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-title { font-weight: 600; font-size: .92rem; color: var(--white); }
.value-desc { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; margin-top: .1rem; }

/* 30. CAMPAIGNS / WHY SHT */
.campaign-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 640px) { .campaign-grid { grid-template-columns: repeat(2,1fr); } }
.campaign-card { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.campaign-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.campaign-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-md); background: linear-gradient(to top, rgba(10,10,10,.85) 0%, transparent 100%); }
.campaign-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .25rem; }
.campaign-card p { color: rgba(255,255,255,.7); font-size: .82rem; }

/* 31. UTILITY */
.text-yellow { color: var(--yellow); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
*:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* 32. REFERENZEN PAGE FILTER (no JS version — shows all) */
.ref-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-lg); }
.ref-filter-btn { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 50px; padding: .4em 1.1em; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all var(--t); }
.ref-filter-btn:hover, .ref-filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* 33. COMPANY TIMELINE */
.timeline { position: relative; padding-left: 2.5rem; margin-top: var(--sp-xl); }
.timeline::before { content: ''; position: absolute; left: .8rem; top: 0; bottom: 0; width: 2px; background: var(--yellow); opacity: .3; }
.timeline-item { position: relative; margin-bottom: var(--sp-lg); }
.timeline-item::before { content: ''; position: absolute; left: -1.8rem; top: .35rem; width: 12px; height: 12px; background: var(--yellow); border-radius: 50%; }
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--yellow); margin-bottom: .35rem; }
.timeline-item p { color: var(--gray-600); font-size: .9rem; line-height: 1.7; }

/* 34. NAV ACTIVE STATE */
.nav-desktop a[aria-current="page"] { color: var(--white); }
.nav-desktop a[aria-current="page"]::after { width: 100%; }

/* 35. COOKIE BANNER */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--black-soft); border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-sm) var(--sp-md);
  display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.7);
  transform: translateY(0); transition: transform .4s ease;
}
.cookie-bar.hidden { transform: translateY(100%); }
.cookie-bar a { color: var(--yellow); }
.cookie-bar-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-btn { padding: .45em 1.1em; border-radius: var(--r); font-size: .8rem; font-weight: 700; cursor: pointer; border: none; transition: background var(--t); }
.cookie-btn--accept { background: var(--yellow); color: var(--black); }
.cookie-btn--accept:hover { background: var(--yellow-dark); }
.cookie-btn--reject { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.cookie-btn--reject:hover { background: rgba(255,255,255,.14); }
@media (max-width: 768px) { .cookie-bar { padding-bottom: 80px; } }

/* 36. PAGE ACTIVE NAV LINK via JS class */
.nav-desktop a.active { color: var(--white); }
.nav-desktop a.active::after { width: 100%; }

/* 37. AARGAUER HOLZ PROCESS GRID */
.holz-process { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); margin-top: var(--sp-xl); }
@media (min-width: 640px) { .holz-process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .holz-process { grid-template-columns: repeat(4, 1fr); } }
.holz-step { text-align: center; }
.holz-step-img { border-radius: var(--r); overflow: hidden; margin-bottom: .5rem; }
.holz-step-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.holz-step span { font-size: .8rem; font-weight: 600; color: var(--gray-600); }

/* 38. USP LIST */
.usp-list { display: grid; gap: var(--sp-md); margin-top: var(--sp-lg); }
.usp-item { display: flex; gap: var(--sp-sm); align-items: flex-start; }
.usp-icon { width: 44px; height: 44px; min-width: 44px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--black); }
.usp-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.usp-item p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* 39. REF FILTER */
.ref-filter-wrap { margin-bottom: var(--sp-lg); }

/* 40. KITA BADGE */
.kita-badge { display: inline-block; background: var(--yellow); color: var(--black); padding: .3em .9em; border-radius: 50px; font-size: .78rem; font-weight: 700; margin-bottom: var(--sp-sm); }

/* 41. SOCIAL ENGAGEMENT */
.engagement-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
@media (min-width: 640px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); } }
.engagement-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: var(--sp-md); }
.engagement-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }

/* 42. BENEFITS GRID */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); margin-top: var(--sp-md); }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-item { display: flex; gap: .6rem; align-items: flex-start; }
.benefit-icon { color: var(--yellow); font-size: 1.2rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }

/* 43. HIGHLIGHT BOX */
.highlight-box { background: var(--yellow-pale); border-left: 4px solid var(--yellow); border-radius: var(--r); padding: var(--sp-md); margin-top: var(--sp-md); }
.highlight-box p { color: var(--gray-800); font-size: .92rem; line-height: 1.7; }

/* 44. CERTIFICATION LOGOS STRIP */
.cert-strip { display: flex; flex-wrap: wrap; gap: var(--sp-md); align-items: center; margin-top: var(--sp-lg); }
.cert-strip img { height: 40px; width: auto; opacity: .65; transition: opacity var(--t); }
.cert-strip img:hover { opacity: 1; }

/* 45. INNER HERO (utility pages: impressum, datenschutz) */
.inner-hero { background: var(--black); padding: calc(var(--nav-h) + var(--sp-2xl)) 0 var(--sp-2xl); border-bottom: 3px solid var(--yellow); }
.inner-hero .container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.inner-hero h1 { color: var(--white); font-size: clamp(2rem,1.6rem + 2vw,3rem); letter-spacing: -0.025em; margin: 0; }
.inner-hero__label { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--sp-xs); }

/* 46. LEGAL PAGES */
.legal-block { margin-bottom: var(--sp-xl); }
.legal-block h2 { font-size: clamp(1.15rem,1rem + .6vw,1.45rem); font-family: var(--font-display); letter-spacing: -0.02em; margin-bottom: var(--sp-sm); color: var(--black); border-bottom: 2px solid var(--yellow); padding-bottom: .4rem; display: inline-block; }
.legal-block h3 { font-size: 1rem; font-weight: 700; margin: var(--sp-md) 0 .4rem; color: var(--black); }
.legal-block p { color: var(--gray-700); line-height: 1.75; margin-bottom: .85rem; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { color: var(--gray-700); line-height: 1.75; padding-left: 1.4rem; margin-bottom: .85rem; }
.legal-block ul li { margin-bottom: .4rem; }
.legal-block a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.legal-block a:hover { color: var(--yellow-dark, #c9a800); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-sm); font-size: .93rem; }
.legal-table th, .legal-table td { padding: .65rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-100); }
.legal-table th { width: 38%; font-weight: 600; color: var(--gray-700); background: var(--gray-50, #f8f8f6); white-space: nowrap; }
.legal-table td { color: var(--gray-800); }
.legal-table td a { color: var(--black); text-underline-offset: 3px; }
@media (max-width: 480px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table th { background: none; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); padding-bottom: .1rem; border-bottom: none; }
  .legal-table td { padding-top: .1rem; padding-left: .75rem; border-bottom: 1px solid var(--gray-100); }
}
