/* ============ Schlosserei Bast – Design System ============ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
}

:root {
  --ink: #1b2026;
  --ink-soft: #59636e;
  --steel: #14181d;
  --steel-2: #1d232a;
  --accent: #e07a1f;
  --accent-dark: #c4691a;
  --bg: #ffffff;
  --bg-gray: #f4f5f7;
  --line: #e5e8eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 20, 26, .10);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .7em; }
h3 { font-size: 1.15rem; }
p + p { margin-top: 1em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; transition: all .2s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: var(--steel-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { border-color: var(--steel); color: var(--steel); }
.btn-outline-dark:hover { background: var(--steel); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark { font-size: 1.5rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.brand-mark::after { content: '.'; color: var(--accent); }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a, .dd-toggle {
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 6px 0; position: relative; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .dd-toggle:hover, .main-nav > a.active, .dd-toggle.active { color: var(--ink); }
.main-nav > a.active::after, .dd-toggle.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: 6px; color: #fff !important; }
.nav-cta::after { display: none !important; }

.nav-dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.dd-menu a:hover { background: var(--bg-gray); color: var(--ink); }

.burger { display: none; background: none; border: none; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.hero-small { min-height: 48vh; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,14,18,.86) 0%, rgba(11,14,18,.55) 55%, rgba(11,14,18,.25) 100%);
}
.hero-content { position: relative; max-width: 720px; margin-left: 0; padding-top: 60px; padding-bottom: 60px; }
.hero .kicker { color: #f0a45f; }
.hero .kicker::before { background: var(--accent); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--ink-soft); }
.note { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.mt { margin-top: 1.4em; }
.mt-lg { margin-top: 2.5em; margin-bottom: 1em; }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.split-media { grid-template-columns: 1fr 1fr; align-items: center; }
.split .btn { margin-top: 1.4em; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.stat-label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Jobs-Band ---------- */
.jobs-band { background: linear-gradient(115deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; padding: 72px 0; }
.jobs-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.jobs-band h2 { color: #fff; }
.jobs-band p { color: rgba(255,255,255,.88); }
.jobs-band .kicker { color: #fff; }
.jobs-band .kicker::before { background: #fff; }
.jobs-band .cta-actions { display: flex; justify-content: flex-end; }
.jobs-band .btn-accent { background: var(--steel); }
.jobs-band .btn-accent:hover { background: var(--steel-2); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.pill-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.12); }
.stat-link { text-decoration: none; }
.stat-link .stat-num, .stat-link .stat-label { color: var(--accent); }
.stat-link:hover .stat-num, .stat-link:hover .stat-label { color: var(--accent-dark); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-link { font-size: .9rem; font-weight: 700; color: var(--accent); }

/* ---------- Checklist / Features ---------- */
.checklist { margin: 1.2em 0; display: grid; gap: 10px; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.checklist li { padding-left: 30px; position: relative; font-weight: 600; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; font-weight: 700; display: flex; align-items: center; gap: 12px;
}
.feature-check {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: rgba(224,122,31,.12); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.team-card h3 { font-size: 1rem; }
.team-card p { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.g-item { border-radius: 10px; overflow: hidden; display: block; aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.g-item:hover img { transform: scale(1.07); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 15, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: 8px; }
.lightbox button {
  position: absolute; background: none; border: none; color: rgba(255,255,255,.8);
  font-size: 2.6rem; cursor: pointer; padding: 10px 18px; line-height: 1;
}
.lightbox button:hover { color: #fff; }
.lb-close { top: 18px; right: 22px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }

/* ---------- Pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill {
  padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 700; color: var(--ink-soft); transition: all .2s ease;
}
a.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill-static { background: var(--bg-gray); border-color: transparent; }

/* ---------- Jobs ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.job-card h3 { margin-bottom: 6px; }
.job-card p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 18px; }
.job-tag { color: var(--ink-soft); font-weight: 600; font-size: .85rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: var(--bg-gray); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.contact-card h3 { color: var(--ink); }
.contact-card a { font-weight: 600; }
.contact-card a:hover { color: var(--accent); }
.contact-banner {
  background: var(--steel); color: #fff; border-radius: var(--radius);
  padding: 52px; text-align: center;
}
.contact-banner p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto; }
.contact-banner .cta-actions { justify-content: center; margin-top: 26px; }
.contact-banner .btn-outline-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.contact-banner .btn-outline-dark:hover { background: #fff; color: var(--steel); }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--steel); color: #fff; padding: 76px 0; }
.cta-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-outline-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-outline-dark:hover { background: #fff; color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1317; color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 68px 24px; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-claim { margin-top: 14px; }
.footer-badges { margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer h4.mt { margin-top: 22px; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: grid; gap: 8px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px; font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-bar a:hover { color: #fff; }

/* ---------- Legal ---------- */
.section-legal h1 { margin-bottom: .6em; }
.section-legal h2 { font-size: 1.25rem; margin-top: 1.8em; margin-bottom: .5em; }
.section-legal a { color: var(--accent); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .job-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .split-media, .cta-inner, .jobs-inner { grid-template-columns: 1fr; gap: 30px; }
  .jobs-band .cta-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 49;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 28px 24px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a, .dd-toggle { font-size: 1.15rem; padding: 12px 0; width: 100%; }
  .nav-dd { width: 100%; }
  .dd-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 0 16px; display: none;
  }
  .nav-dd.open-mobile .dd-menu { display: block; }
  .nav-cta { margin: 18px 0 0; text-align: center; width: 100%; }
  .main-nav > a.active::after, .dd-toggle.active::after { display: none; }
  .main-nav > a.active, .dd-toggle.active { color: var(--accent); }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .card-grid, .job-grid, .feature-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 24px; }
}
