/* ==========================================================================
   bytes in motion — Onepager
   Basis: Bootstrap 5.3 · Eigene Styles
   ========================================================================== */

:root {
  --bim-orange: #FF8700;
  --bim-orange-dark: #E67A00;
  --bim-ink: #241D18;
  --bim-muted: #6E645C;
  --bim-bg: #FBF8F4;
  --bim-border: rgba(36, 29, 24, 0.08);
  --bim-border-strong: rgba(36, 29, 24, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Karla', system-ui, sans-serif;
  background: var(--bim-bg);
  color: var(--bim-ink);
}

h1, h2, h3, .font-display {
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.02em;
}

/* Anker-Ziele unter der fixen Navbar freihalten */
section[id] {
  scroll-margin-top: 84px;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar-bim {
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bim-border);
}

.navbar-bim .nav-link {
  font-weight: 600;
  color: var(--bim-ink);
}

.navbar-bim .nav-link:hover,
.navbar-bim .nav-link:focus {
  color: var(--bim-orange-dark);
}

.brand-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-dots span {
  display: block;
  border-radius: 50%;
  background: var(--bim-orange);
}

.brand-dots span:nth-child(1) { width: 20px; height: 20px; }
.brand-dots span:nth-child(2) { width: 12px; height: 12px; opacity: 0.55; }
.brand-dots span:nth-child(3) { width: 6px;  height: 6px;  opacity: 0.3; }

.brand-word {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bim-ink);
}

.brand-word em {
  font-style: normal;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-bim {
  background: var(--bim-orange);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.8rem;
  box-shadow: 0 6px 18px rgba(255, 135, 0, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-bim:hover,
.btn-bim:focus {
  background: var(--bim-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-bim-sm {
  padding: 0.55rem 1.25rem;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bim-orange);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--bim-orange);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.hero .lead-bim {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--bim-muted);
  max-width: 40em;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Tech-Leiste
   -------------------------------------------------------------------------- */
.tech-strip {
  background: #fff;
  border-top: 1px solid var(--bim-border);
  border-bottom: 1px solid var(--bim-border);
  padding: 1.25rem 0;
}

.tech-badge {
  display: inline-block;
  border: 1.5px solid var(--bim-border-strong);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--bim-bg);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section-pad {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
}

/* Leistungen */
.card-bim {
  background: #fff;
  border: 1px solid var(--bim-border);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(36, 29, 24, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-bim:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(36, 29, 24, 0.09);
}

.card-bim .icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 135, 0, 0.12);
  display: grid;
  place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bim-orange);
}

.card-bim h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1rem 0 0.6rem;
}

.card-bim p {
  color: var(--bim-muted);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* Referenzen */
#referenzen {
  background: #fff;
  border-top: 1px solid var(--bim-border);
}

.ref-item .ref-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(36, 29, 24, 0.1);
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ref-item a:hover .ref-shot {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(36, 29, 24, 0.12);
}

.ref-item .ref-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.8rem;
}

.ref-item .ref-url {
  font-size: 0.95rem;
  color: var(--bim-muted);
}

.ref-note {
  font-size: 0.95rem;
  color: var(--bim-muted);
}

/* Kontakt */
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bim-ink);
  text-decoration: none;
}

.contact-mail:hover {
  color: var(--bim-orange-dark);
}

.contact-mail .mail-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 135, 0, 0.12);
  display: grid;
  place-items: center;
  color: var(--bim-orange);
  flex: none;
}

.form-card {
  background: #fff;
  border: 1px solid var(--bim-border);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 12px 34px rgba(36, 29, 24, 0.07);
}

.form-card .form-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.form-card .form-control {
  border: 1.5px solid var(--bim-border-strong);
  border-radius: 9px;
  padding: 0.8rem 0.95rem;
  background: var(--bim-bg);
  color: var(--bim-ink);
}

.form-card .form-control:focus {
  border-color: var(--bim-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 135, 0, 0.15);
  background: #fff;
}

/* Honeypot: fürs Auge und Screenreader unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.footer-bim {
  background: var(--bim-ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-bim a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-bim a:hover {
  color: #fff;
}

.footer-bim .brand-word {
  color: #fff;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Scroll-Übergänge (Fade-in)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gestaffelte Verzögerung für Raster-Kinder */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
