/* ============================================
   Fonts lokal (kein CDN)
   ============================================ */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}

/* ============================================
   Custom Properties – Stahlbau / Industrial Theme
   ============================================ */
:root {
  --dark:        #1c1f23;
  --dark-80:     #14161a;
  --dark-60:     #3a3f46;
  --mid:         #5d6470;
  --steel:       #4a5562;
  --steel-l:     #6b7785;
  --warm-white:  #f5f6f7;
  --off-white:   #eceef0;
  --border:      #dde1e5;

  --accent:      #e6007e;
  --accent-d:    #b8005f;
  --accent-l:    #ff4ba0;
  --accent-pale: #fde6f0;

  --white:       #ffffff;
  --text:        #2b2e33;

  --radius:      6px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --shadow-sm:   0 1px 4px rgba(20,22,26,.10), 0 1px 2px rgba(20,22,26,.06);
  --shadow:      0 4px 16px rgba(20,22,26,.14), 0 2px 6px rgba(20,22,26,.08);
  --shadow-lg:   0 12px 40px rgba(20,22,26,.18), 0 4px 12px rgba(20,22,26,.10);
  --transition:  200ms cubic-bezier(.4,0,.2,1);

  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Segoe UI Condensed', sans-serif;

  --header-top:  38px;
  --header-main: 76px;
  --header-h:    114px;
  --section-gap: 5.5rem;

  --bs-primary: var(--accent);
  --bs-primary-rgb: 230, 0, 126;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-link-color: var(--accent);
  --bs-link-hover-color: var(--accent-d);
}

/* ============================================
   Basis / Reset-Ergänzungen
   ============================================ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-d); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
address { font-style: normal; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); text-transform: none; }
h4 { font-size: 1.05rem; text-transform: none; }

p { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .5rem;
}

.section-lead {
  color: var(--mid);
  font-size: 1.0625rem;
  margin-top: .75rem;
  max-width: 640px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--dark); color: var(--white);
  padding: .5rem 1rem; z-index: 10000;
}
.skip-link:focus { left: 0; }

.section { padding: var(--section-gap) 0; }
.section--warm { background: var(--warm-white); }
.section--dark { background: var(--dark); color: var(--off-white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { margin-bottom: 2.5rem; }

/* ============================================
   Buttons (Bootstrap-Overrides)
   ============================================ */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  border-radius: var(--radius);
  padding: .65rem 1.5rem;
}
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-d);
  border-color: var(--accent-d);
}
.btn-outline-light {
  border-color: rgba(255,255,255,.85);
  color: var(--white);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover {
  background-color: var(--dark);
  color: var(--white);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-topbar {
  background: var(--dark);
  color: var(--off-white);
  font-size: .8rem;
  height: var(--header-top);
}
.header-topbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.75rem;
}
.header-topbar a { color: var(--off-white); display: inline-flex; align-items: center; gap: .4rem; }
.header-topbar a:hover { color: var(--accent-l); }
.topbar-info { display: none; align-items: center; gap: .4rem; }
@media (min-width: 768px) {
  .topbar-info { display: inline-flex; }
}

.header-main { padding: 0; min-height: var(--header-main); }
.header-main__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-main); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { max-height: 62px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--dark);
}

.main-nav-list .nav-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .03em;
  font-size: .92rem;
  color: var(--dark);
  padding: .5rem .9rem;
}
.main-nav-list .nav-link:hover,
.main-nav-list .nav-link.active { color: var(--accent); }
.nav-cta { margin-left: .5rem; }
.dropdown-menu { font-family: var(--font-body); }
.dropdown-item:active, .dropdown-item:focus { background-color: var(--accent-pale); color: var(--accent-d); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero--sub { min-height: 46vh; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,26,.55) 0%, rgba(20,22,26,.75) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-text { display: none; }
.hero-text.is-active { display: block; }
.hero-content .eyebrow { color: var(--accent-l); }
.hero-content h1, .hero-content h2 { color: var(--white); }
.hero-lead { color: var(--off-white); max-width: 560px; margin-top: 1rem; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 2;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--white); background: transparent;
  cursor: pointer; padding: 0;
}
.hero-dot.is-active { background: var(--accent); border-color: var(--accent); }

/* ============================================
   USP / Process
   ============================================ */
.usp-list { display: flex; flex-direction: column; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.usp-item { display: flex; gap: 1rem; align-items: flex-start; }
.usp-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-pale); color: var(--accent);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
}
.usp-item h4 { margin-bottom: .25rem; }
.usp-item p { color: var(--mid); font-size: .95rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem;
}
.process-step p { color: var(--mid); margin-top: .4rem; font-size: .95rem; }

/* ============================================
   Leistungen / Cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--off-white); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card__body p { color: var(--mid); font-size: .92rem; flex-grow: 1; margin-top: .4rem; }
.service-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: .85rem; letter-spacing: .03em; margin-top: 1rem;
}

/* ============================================
   Gallery (Leistungen-Unterseiten)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}
.gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================
   FAQ
   ============================================ */
.faq-grid { display: flex; flex-direction: column; gap: .75rem; max-width: 760px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--white);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; cursor: pointer;
  font-weight: 600; color: var(--dark);
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { transition: transform var(--transition); flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--mid); }

/* ============================================
   CTA Band
   ============================================ */
.cta-band { background: var(--dark); color: var(--white); padding: 4rem 0; }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner .eyebrow { color: var(--accent-l); }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: var(--off-white); margin-top: 1rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--dark-80); color: var(--off-white); }
.footer-main { padding: 4rem 0 2.5rem; }
.footer-col h3 {
  color: var(--white); font-size: 1rem; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 1rem;
}
.footer-col a { color: var(--off-white); }
.footer-col a:hover { color: var(--accent-l); }
.footer-col ul li { margin-bottom: .5rem; }
.footer-logo { opacity: .96; }
.footer-col--brand p { color: var(--steel-l); font-size: .92rem; margin-top: .5rem; }
.footer-social-share { display: flex; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .82rem; color: var(--steel-l); }
.footer-bottom__inner { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-bottom a { color: var(--steel-l); }

/* ============================================
   Floating Quick Contact
   ============================================ */
.float-sm {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999;
  display: flex; flex-direction: column; gap: .6rem;
}
.fl-fl a {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform var(--transition);
}
.fl-fl a:hover { transform: scale(1.08); }
.fl-fl img { filter: brightness(0) invert(1); }

/* ============================================
   Legal pages
   ============================================ */
.legal-content h3 { margin-top: 1.75rem; }
.legal-content h4 { margin-top: 1.25rem; }
.legal-content p, .legal-content li { color: var(--mid); margin-top: .75rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.25rem; }

/* ============================================
   Misc
   ============================================ */
.product-info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .product-info-grid { grid-template-columns: 1fr; } }
.product-info-box {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.75rem;
}
.product-info-box h3 { margin-bottom: .75rem; }
.product-info-box ul { padding-left: 1.1rem; color: var(--mid); }
.product-info-box li { margin-bottom: .5rem; }

.contact-icon-box {
  width: 44px; height: 44px; background: var(--accent-pale); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent);
}
.contact-label {
  display: block; color: var(--dark); font-size: .85rem; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .2rem;
}
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
