/* ========================================
   BOHSE HAUSTECHNIK — GLOBAL STYLES
   Geteilte Styles für alle Seiten
   ======================================== */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --paper: #fafaf7;
  --paper-warm: #f4f1ea;
  --paper-card: #ffffff;
  --line: rgba(10,10,10,0.10);
  --line-strong: rgba(10,10,10,0.22);
  --muted: rgba(20,20,20,0.62);
  --muted-soft: rgba(20,20,20,0.42);
  --yellow: #ffc20e;
  --yellow-bright: #ffd84d;
  --yellow-deep: #e6ad00;
  --green: #16a34a;
  --red: #dc2626;

  --f-display: 'Anton', 'Impact', sans-serif;
  --f-body: 'Archivo', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--yellow); color: var(--black); }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4; pointer-events: none; z-index: 1; mix-blend-mode: multiply;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--black); color: var(--paper); font-family: var(--f-mono); font-size: 12px; padding: 8px 0; letter-spacing: 0.04em; }
.topbar-hide-sm { } /* hidden on xs via media query */
.topbar-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar a { color: var(--paper); }
.topbar a:hover { color: var(--yellow); }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-left .dot { color: var(--yellow); }
@media (max-width: 640px) { .topbar-right { display: none; } }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250,250,247,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container); margin: 0 auto; gap: 24px; }
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; display: block; }
/* Hamburger */
.nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; flex-shrink: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 980px) { .nav-burger { display: none; } }

/* Nav links */
.nav-links { display: none; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
@media (min-width: 980px) { .nav-links { display: flex; } }

/* Mobile dropdown */
@media (max-width: 979px) {
  .topbar { display: none; }  /* Mobile: Topbar versteckt */

  /* Nav: kompakt */
  .nav { position: relative; }
  .nav-inner { padding: 10px 16px; gap: 8px; }
  .nav-logo img { height: 32px; }
  .nav-social { display: none; }       /* FB/IG Icons weg auf Mobile */
  .nav-cta { display: none; }          /* Kontakt-Button weg → im Hamburger */
  .nav-wa { padding: 9px 12px; font-size: 12px; }
  .nav-wa span { display: none; }      /* "WhatsApp" Text weg */

  /* Hamburger-Dropdown */
  .nav-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-card);
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 8px 32px -8px rgba(0,0,0,0.2);
    padding: 0; z-index: 200;
  }
  .nav-open .nav-links a {
    padding: 16px 24px; font-size: 16px; font-weight: 600;
    border-bottom: 1px solid var(--line); display: block;
  }
  .nav-open .nav-links a:last-child { border-bottom: none; }
  .nav-open .nav-links a::after { display: none; }

  /* Mobile-Footer im Dropdown */
  .nav-mobile-footer {
    display: flex; flex-wrap: wrap; gap: 12px;
    padding: 16px 24px; border-top: 2px solid var(--yellow);
    background: var(--paper-warm);
  }
  .nav-mobile-footer a {
    font-size: 13px; font-weight: 700; color: var(--ink);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: var(--paper-card);
    border: 1px solid var(--line-strong); border-radius: 4px;
  }
  .nav-mobile-footer a:hover { background: var(--yellow); border-color: var(--yellow); }
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; background: var(--paper-warm); color: var(--ink); transition: all 0.2s ease; flex-shrink: 0; }
.nav-social:hover { background: var(--yellow); color: var(--black); transform: translateY(-1px); }
.nav-social svg { width: 18px; height: 18px; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: var(--paper); font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: 4px; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-cta:hover { background: var(--yellow); color: var(--black); }
.nav-cta svg { width: 16px; height: 16px; }
.nav-wa { display: inline-flex; align-items: center; gap: 7px; background: #25D366; color: var(--paper); font-weight: 700; font-size: 13.5px; padding: 11px 16px; border-radius: 4px; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-wa:hover { background: #1ebe57; transform: translateY(-1px); }
.nav-wa svg { width: 16px; height: 16px; }
.nav-wa span { display: none; }
@media (min-width: 640px) { .nav-wa span { display: inline; } }
.nav-jobs { display: inline-flex; align-items: center; gap: 6px; }
.jobs-dot { width: 7px; height: 7px; background: var(--yellow-deep); border-radius: 50%; box-shadow: 0 0 0 0 var(--yellow-deep); animation: jobsPulse 2s infinite; }
@keyframes jobsPulse {
  0% { box-shadow: 0 0 0 0 rgba(230,173,0,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(230,173,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,173,0,0); }
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb { padding: 20px 0; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--yellow-deep); margin: 0 8px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px; font-family: var(--f-body); font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 4px; border: 2px solid transparent; transition: all 0.2s ease; cursor: pointer; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--black); color: var(--paper); }
.btn-primary:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(0,0,0,0.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--black); background: var(--black); color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-bright); transform: translateY(-2px); }

/* ---------- PAGE HERO (Unterseiten) ---------- */
.page-hero { padding: 40px 0 80px; position: relative; }
@media (min-width: 980px) { .page-hero { padding: 60px 0 120px; } }
.ph-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: end; }
@media (min-width: 980px) { .ph-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.ph-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 28px; background: var(--paper-card); border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: 999px; }
.ph-eyebrow .yellow { color: var(--yellow-deep); font-weight: 700; }
.ph-eyebrow .pulse { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 0 var(--green); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
h1.ph-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8.5vw, 132px); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 28px; }
h1.ph-title .accent { color: var(--yellow-deep); font-style: italic; }
h1.ph-title .underline { position: relative; display: inline-block; }
h1.ph-title .underline::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: 5%; height: 14px; background: var(--yellow); z-index: -1; transform: skewX(-6deg); }
h1.ph-title .line { display: block; }
.ph-sub { font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-soft); max-width: 580px; line-height: 1.55; margin-bottom: 32px; }
.ph-sub strong { color: var(--ink); }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.ph-visual { position: relative; aspect-ratio: 4/5; background: var(--ink); border-radius: 6px; overflow: hidden; }
.ph-visual img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(0.95); }
.ph-visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%), linear-gradient(45deg, rgba(255,194,14,0.08), transparent 60%); pointer-events: none; }
.ph-badge { position: absolute; top: 20px; right: 20px; background: var(--yellow); color: var(--black); padding: 8px 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px; transform: rotate(3deg); box-shadow: 0 6px 18px -4px rgba(0,0,0,0.25); }
.ph-tag { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(10,10,10,0.78); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12); color: var(--paper); padding: 16px 20px; border-radius: 4px; }
.ph-tag-label { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 6px; }
.ph-tag-text { font-family: var(--f-display); font-size: 22px; line-height: 1.1; text-transform: uppercase; }

/* Page-hero rechts: Info-Karte */
.ph-numbers { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 32px; background: var(--paper-card); border: 1px solid var(--line-strong); border-radius: 6px; }
.ph-num-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.ph-num-row:last-child { border-bottom: none; padding-bottom: 0; }
.ph-num-label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ph-num-value { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--ink); letter-spacing: 0.005em; }
.ph-num-value .yellow { color: var(--yellow-deep); font-style: italic; }
.ph-num-value sup { font-size: 0.5em; color: var(--muted-soft); vertical-align: super; }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 70px 0; } }
.section.dark { background: var(--black); color: var(--paper); }
.section.warm { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 22px; }
.section.dark .section-label { color: rgba(255,255,255,0.5); }
.section-label-num { background: var(--ink); color: var(--paper); padding: 4px 9px; font-weight: 700; border-radius: 3px; letter-spacing: 0.06em; }
.section.dark .section-label-num { background: var(--yellow); color: var(--black); }

h2.section-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 24px; max-width: 900px; }
h2.section-title .accent { color: var(--yellow-deep); font-style: italic; }
.section.dark h2.section-title .accent { color: var(--yellow); }
.section-intro { font-size: 18px; color: var(--muted); max-width: 720px; margin-bottom: 56px; line-height: 1.6; }
.section.dark .section-intro { color: rgba(255,255,255,0.7); }

/* ---------- USP CARDS (universell) ---------- */
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .usp-grid { grid-template-columns: repeat(4, 1fr); } }
.usp-grid.three { grid-template-columns: 1fr; }
@media (min-width: 700px) { .usp-grid.three { grid-template-columns: repeat(3, 1fr); } }
.usp { background: var(--paper-card); padding: 36px 28px; transition: background 0.25s ease; position: relative; }
.section.dark .usp { background: rgba(255,255,255,0.04); }
.usp:hover { background: var(--paper-warm); }
.section.dark .usp:hover { background: rgba(255,194,14,0.06); }
.usp-num { position: absolute; top: 18px; right: 22px; font-family: var(--f-mono); font-size: 11px; color: var(--muted-soft); letter-spacing: 0.1em; }
.section.dark .usp-num { color: rgba(255,255,255,0.4); }
.usp-icon { font-size: 38px; margin-bottom: 22px; display: inline-block; transition: transform 0.3s ease; line-height: 1; }
.usp:hover .usp-icon { transform: rotate(6deg) scale(1.05); }
.usp-title { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; letter-spacing: 0.005em; }
.usp-text { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.section.dark .usp-text { color: rgba(255,255,255,0.6); }

/* ---------- ABLAUF / STEPS ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--paper-card); padding: 36px 30px; }
.section.dark .step { background: rgba(255,255,255,0.04); }
.step-num { font-family: var(--f-display); font-size: 72px; color: var(--yellow-deep); line-height: 0.85; margin-bottom: 16px; }
.section.dark .step-num { color: var(--yellow); }
.step-title { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; margin-bottom: 12px; line-height: 1.05; }
.step-text { font-size: 15px; color: var(--muted); line-height: 1.55; }
.section.dark .step-text { color: rgba(255,255,255,0.6); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.section.dark .faq-item { border-color: rgba(255,255,255,0.12); }
.faq-q { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; line-height: 1.1; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; letter-spacing: 0.005em; transition: color 0.2s ease; }
.faq-q:hover { color: var(--yellow-deep); }
.faq-q::after { content: '+'; font-family: var(--f-body); font-weight: 300; font-size: 32px; color: var(--yellow-deep); transition: transform 0.3s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 16px; color: var(--muted); line-height: 1.65; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.section.dark .faq-a { color: rgba(255,255,255,0.7); }
.faq-item.open .faq-a { max-height: 500px; padding-top: 16px; }

/* ---------- INLINE CTA BANNER ---------- */
.inline-cta { background: var(--paper-card); border: 1px solid var(--line); border-left: 4px solid var(--yellow); padding: 28px 32px; border-radius: 4px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 40px 0; }
.section.dark .inline-cta { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); border-left-color: var(--yellow); }
.inline-cta-content { flex: 1; min-width: 240px; }
.inline-cta-title { font-family: var(--f-display); font-size: 24px; text-transform: uppercase; margin-bottom: 6px; line-height: 1.05; }
.inline-cta-text { font-size: 15px; color: var(--muted); line-height: 1.5; }
.section.dark .inline-cta-text { color: rgba(255,255,255,0.6); }

/* ---------- LOCATION ---------- */
.location-bg { position: relative; padding: 0; border-top: 1px solid var(--line); }
.location-img { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--black); }
@media (max-width: 768px) { .location-img { aspect-ratio: 4/3; } }
.location-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) contrast(1.05); }
.location-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.25) 60%, transparent 100%); display: flex; align-items: center; color: var(--paper); }
.location-content { max-width: var(--container); margin: 0 auto; width: 100%; padding: 0 24px; }
.location-content .section-label { color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.location-content .section-label-num { background: var(--yellow); color: var(--black); }
.location-content h2 { font-family: var(--f-display); font-size: clamp(38px, 6vw, 80px); text-transform: uppercase; line-height: 0.95; margin-bottom: 18px; }
.location-content .yellow { color: var(--yellow); }
.location-content p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 28px; }

/* ---------- FOOTER ---------- */
footer { background: var(--black); color: var(--paper); padding: 70px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { height: 56px; display: block; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; max-width: 280px; }
.footer-head { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 16px; }
.footer-list { list-style: none; }
.footer-list li { padding: 4px 0; font-size: 14.5px; color: rgba(255,255,255,0.6); }
.footer-list a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
