/* =======================================================================
   qoob8 Für Unternehmen — page-specific styles
   Loaded in addition to index.css + home.css + custom.css. Reuses shared
   classes (home-hero, check-list, showroom-section, ...) as-is; this file
   only adds the sections that don't exist yet: Einsatzbereiche, Vorteile
   and das Kontaktformular.
   ======================================================================= */

/* ---- Hero: slightly stronger shade so headline stays legible, and a
   vertical portrait crop centered on the face ---- */
#start.b2b-hero .home-hero-shade {
  background: linear-gradient(90deg, #000000cc 0%, #00000094 45%, #00000030 78%);
}
.b2b-hero .home-hero-media img {
  object-position: 62% 32%;
  transform: scaleX(-1);
}
@media (width <= 560px) {
  /* Portrait viewports show almost the full image height, which would
     reveal the (now mirrored, backwards) qoob8 logo near the bottom. */
  .b2b-hero .home-hero-media img {
    transform: scaleX(-1) scale(1.22);
  }
}
/* Four short lines need more room and a touch less scale than the
   three-line homepage headline, or the CTAs get pushed off the fold. */
.b2b-hero .home-hero-content {
  max-width: 720px;
  padding-top: clamp(120px, 15vw, 160px);
}
.b2b-hero .home-hero-content h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  margin: 18px 0 22px;
}

/* ---- Einsatzbereiche (Anwendungscases): beige Startseite-Hintergrund,
   dunkler Text, Karten mit unterstrichener Headline statt Pills, im
   Wechsel leicht versetzt angeordnet ---- */
.usecases-section {
  background: #eae6e0;
  padding: 110px 0;
}
.usecases-head {
  margin-bottom: 64px;
}
.usecases-head h2 {
  color: var(--ink);
  letter-spacing: -0.04em;
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
}
.usecases-head p:not(.eyebrow) {
  color: #55534c;
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  column-gap: 48px;
  row-gap: 60px;
}
.usecase-card {
  padding-top: 4px;
}
.usecase-index {
  color: #8a8579;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  display: block;
}
.usecase-card h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--ink);
  margin: 0 0 14px;
  padding-bottom: 9px;
  font-size: 19px;
  font-weight: 700;
  display: inline-block;
}
.usecase-card p {
  color: #55534c;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}
@media (width <= 900px) {
  .usecase-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}
@media (width <= 560px) {
  .usecase-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}

/* ---- Qoob8 Vorteile (Advantages) ---- */
.advantages-section {
  background: #fff;
  padding: 110px 0;
}
.advantages-head {
  margin-bottom: 52px;
}
.advantages-head h2 {
  color: var(--ink);
  letter-spacing: -0.04em;
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
}
.advantages-head p:not(.eyebrow) {
  color: var(--muted);
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
}
.advantages-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.advantage-item {
  border-left: 1px solid var(--line);
  padding: 32px 18px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.advantage-item:first-child {
  border-left: 0;
}
.advantage-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  flex: none;
}
.advantage-icon svg {
  width: 22px;
  height: 22px;
}
.advantage-item h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 750;
}
.advantage-item p {
  color: var(--muted);
  max-width: 175px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
@media (width <= 900px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 36px 0;
  }
  .advantage-item {
    border-left: 0;
    padding: 0 14px;
  }
}
@media (width <= 560px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }
}

/* ---- Kontaktformular ---- */
.contact-section {
  background: var(--paper);
  padding: 110px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 70px;
}
.contact-copy h2 {
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}
.contact-copy > p {
  color: var(--muted);
  max-width: 420px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
.contact-copy .check-list {
  max-width: 420px;
  margin-top: 34px;
  margin-bottom: 0;
}
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 12px 34px #332f280d;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  transition: border-color 0.16s, background 0.16s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-consent {
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  display: flex;
}
.form-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  margin-top: 2px;
  position: relative;
  flex: none;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.form-consent input[type="checkbox"]:checked:after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}
.form-consent label {
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}
.form-consent a {
  color: var(--ink);
  text-underline-offset: 2px;
}
.contact-form-card .button {
  width: 100%;
  margin-top: 24px;
}
.form-note {
  color: var(--muted);
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
}
@media (width <= 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .contact-copy h2,
  .contact-copy > p,
  .contact-copy .check-list {
    max-width: none;
  }
}
@media (width <= 560px) {
  .contact-form-card {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
