/* ═══════════════════════════════════════════════════════════════
   AVIDIS Branchen — Ergänzung zum Live-CI (styles.css + subpage.css)
   Nur Branchen-spezifische Komponenten: FAQ-Akkordeon + Hub-Karten
   ═══════════════════════════════════════════════════════════════ */

/* ── FAQ-Akkordeon (Live-CI: weiß, weiche Schatten, blau) ── */
.branche-faq { display: grid; gap: 12px; }
.branche-faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.branche-faq-item[open] { border-color: rgba(47, 124, 246, 0.35); }
.branche-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 750; font-size: 16.5px; color: var(--ink);
  cursor: pointer; list-style: none;
}
.branche-faq-item summary::-webkit-details-marker { display: none; }
.branche-faq-item summary::after {
  content: "+"; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 400; line-height: 1;
  color: var(--blue);
  background: var(--blue-soft);
  transition: transform 0.3s ease;
}
.branche-faq-item[open] summary::after { transform: rotate(45deg); }
.branche-faq-body { padding: 0 24px 22px; }
.branche-faq-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ── Branchen-Übersicht (Hub) ── */
.branchen-hero {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px);
}
.branchen-group { margin-bottom: clamp(36px, 5vw, 56px); }
.branchen-group-title {
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--ink);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.branchen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.branche-hub-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.branche-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 124, 246, 0.35);
}
.branche-hub-emoji {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--blue-soft);
}
.branche-hub-body { flex: 1 1 auto; min-width: 0; }
.branche-hub-body strong { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }
.branche-hub-body small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.branche-hub-arrow { flex: 0 0 auto; color: var(--blue); font-weight: 800; transition: transform 0.3s ease; }
.branche-hub-card:hover .branche-hub-arrow { transform: translateX(4px); }

.branchen-missing {
  margin-top: 24px; padding: 32px; text-align: center;
  background: var(--blue-soft);
  border-radius: 16px;
}
.branchen-missing p { color: var(--ink); font-size: 16px; margin: 0 0 16px; }

@media (max-width: 900px) { .branchen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .branchen-grid { grid-template-columns: 1fr; } }
