/* FlixBau GmbH — Site Stylesheet */
/* Brand: Red #D42222 · Black #111111 · White #ffffff */

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

:root {
  --red: #D42222;
  --red-dark: #b01c1c;
  --black: #111111;
  --near-black: #1a1a1a;
  --white: #ffffff;
  --gray-50: #f6f6f6;
  --gray-100: #ebebeb;
  --gray-600: #555555;
  --max-w: 1180px;
  --gutter: 24px;
  --radius: 3px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ── TOP BAR ──────────────────────────────────────── */
.topbar {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 9px 0;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}
.topbar__item { display: flex; align-items: center; gap: 7px; }
.topbar__item a { color: inherit; transition: color 0.15s; }
.topbar__item a:hover { color: var(--white); }
.topbar__icon { width: 14px; height: 14px; opacity: 0.55; flex-shrink: 0; }

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.header__logo img { height: 52px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.header__nav a {
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.header__nav a:hover { color: var(--red); background: var(--gray-50); }
.header__nav .nav-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  margin-left: 8px;
  padding: 8px 18px;
}
.header__nav .nav-cta:hover { background: var(--red-dark); color: var(--white); }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
  transition: 0.25s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 8px 0 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px var(--gutter);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
  display: block;
  transition: color 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--red); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.18s;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/_assets/757c553d2d71e1d8.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.42;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 0;
}
.hero__tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  border-left: 5px solid var(--red);
  padding-left: 22px;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.65;
  padding-left: 27px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-left: 27px;
}

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 48px;
}
.section-heading--white { color: var(--white); }

/* ── SERVICES ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.22s, box-shadow 0.22s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.service-card__img { width: 100%; height: 210px; object-fit: cover; }
.service-card__body { padding: 24px 24px 28px; }
.service-card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card__text {
  font-size: 13.5px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.18s;
}
.service-card__link:hover { gap: 9px; }

/* ── WHY ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 28px 36px;
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.why-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--red);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}
.why-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-card__text { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }

/* ── BENEFITS ─────────────────────────────────────── */
.benefits-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}
.benefits-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14.5px;
  color: #333;
}
.check-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-dot svg { width: 11px; height: 11px; }

/* ── CLIENTS ──────────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.client-card {
  background: var(--white);
  border-radius: 4px;
  padding: 28px 28px 32px;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.client-card__title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.client-card__text { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }

/* ── CONTACT ──────────────────────────────────────── */
.contact-section { background: var(--red); padding: 80px 0; text-align: center; }
.contact-section .eyebrow { color: rgba(255,255,255,0.65); }
.contact-section .section-heading { margin-bottom: 12px; }
.contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 52px;
}
.contact-facts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.contact-fact { padding: 0 40px; border-right: 1px solid rgba(255,255,255,0.25); }
.contact-fact:last-child { border-right: none; }
.contact-fact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.contact-fact__value { font-size: 18px; font-weight: 600; color: var(--white); }
.contact-fact__value a { color: var(--white); }
.contact-fact__value a:hover { text-decoration: underline; }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.5);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: 12.5px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 12.5px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 920px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-cols { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: auto; }
  .hero__content { padding: 64px 0; }
  .topbar { display: none; }
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .contact-facts { flex-direction: column; gap: 0; }
  .contact-fact { padding: 14px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%; }
  .contact-fact:last-child { border-bottom: none; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
}
