/* Gemeinsamer Markenauftritt: RoadStock als Plattform, drei Betriebsmarken darunter. */
.topbar {
  height: auto;
  display: block;
  padding: 0;
  background: var(--ink);
}

.platform-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(22px, 5vw, 74px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.platform-title {
  color: var(--fg-3);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.roadstock-brand { display: block; line-height: 0; }
.roadstock-brand img { display: block; width: auto; height: 64px; }
.platform-row .top-actions { justify-self: end; }

.brand-family {
  max-width: 860px;
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 24px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 34px;
}

.family-brand {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 24px;
  border-left: 1px solid rgba(255, 255, 255, .08);
  line-height: 0;
  color: var(--fg-2);
  text-decoration: none;
}

.family-brand:first-child { border-left: 0; }
.family-brand img { display: block; max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.family-brand.ottomobile img { max-height: 38px; }
.family-brand.notdienst img { max-height: 46px; }
.family-brand.panne img { max-height: 39px; }

.group-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px 10px;
  color: var(--fg-3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.group-label span { width: 52px; height: 1px; background: var(--edge); }
.page-shell { min-height: calc(100vh - 254px); }

@media (max-width: 1150px) {
  .platform-title { visibility: hidden; }
  .platform-row .secure,
  .platform-row .quiet { display: none; }
}

@media (max-width: 760px) {
  .topbar { height: auto; padding: 0; }
  .platform-row { min-height: 76px; grid-template-columns: 1fr auto 1fr; padding: 8px 17px; }
  .platform-title { display: block; visibility: hidden; }
  .roadstock-brand img { height: 48px; }
  .platform-row .top-actions { display: flex; justify-self: end; }
  .platform-row .header-phone { font-size: 13px; }
  .brand-family { min-height: 64px; padding: 7px 12px 5px; gap: 4px; }
  .family-brand { height: 44px; padding: 5px 10px; }
  .family-brand img { max-height: 31px; }
  .family-brand.ottomobile img { max-height: 27px; }
  .family-brand.notdienst img { max-height: 33px; }
  .family-brand.panne img { max-height: 29px; }
  .group-label { font-size: 7px; padding-bottom: 8px; }
  .group-label span { width: 24px; }
}

@media (max-width: 430px) {
  .roadstock-brand img { height: 42px; }
  .platform-row .header-phone { display: none; }
  .family-brand { padding: 4px; }
  .group-label { letter-spacing: .08em; }
}

.service-details {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 18px;
}

.conditional-detail {
  padding: 18px;
  border: 1px solid #ffc09e;
  border-radius: 14px;
  background: #fff5ef;
}

.conditional-detail[hidden] { display: none; }

.field textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid #c9d0d9;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink-2);
  font: 500 14px/1.5 Archivo, system-ui, sans-serif;
  outline: none;
}

.field textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(253, 89, 0, .12);
}

.field.invalid textarea { border-color: var(--danger); }

.capacity-card {
  max-width: 760px;
  margin-top: 22px;
  padding: 4px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.capacity-card .subhead { margin-top: 18px; }

@media (max-width: 760px) {
  .capacity-card { padding: 2px 15px 16px; }
}
