/* ===== Styling nur für VisForms Formular #13 innerhalb von Helix Ultimate ===== */

#visform13,
#visform13 .visForm {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #D1D5DB;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Abschnittstitel (Fieldsep) */
#visform13 h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #004B78; /* Schulamt NL Dunkelblau */
  margin-bottom: 0.75rem;
}

#visform13 .visCSStop10 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #D1D5DB;
}

/* Labels */
#visform13 label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #374151;
}

/* Eingabefelder */
#visform13 input[type="text"],
#visform13 input[type="email"],
#visform13 select,
#visform13 textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background-color: #F5F5F5;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

/* Fokus-Effekt */
#visform13 input:focus,
#visform13 select:focus,
#visform13 textarea:focus {
  outline: none;
  border-color: #0065A3;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 101, 163, 0.25);
}

/* Buttons */
#visform13 button[type="submit"],
#visform13 input[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: #0065A3;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 101, 163, 0.35);
  transition: all 0.12s ease;
}

#visform13 button[type="submit"]:hover,
#visform13 input[type="submit"]:hover {
  background: #004B78;
  box-shadow: 0 12px 26px rgba(0, 75, 120, 0.35);
  transform: translateY(-1px);
}

/* Fehler */
#visform13 .error {
  color: #B91C1C;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  #visform13 {
    padding: 1.25rem;
    margin: 1rem;
  }
}
/* ===== Grundlayout der iBdB-Seite ===== */
.ibdb-page {
  background: #f3f4f6;
}

.ibdb-page main {
  max-width: 1200px;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Page Header ===== */
.ibdb-page .page-header {
  max-width: 1200px;
  margin: 1.5rem auto 1rem auto;
  padding: 1.5rem 1rem 0;
}

.ibdb-page .page-header-inner {
  border-radius: 18px;
  background: linear-gradient(135deg, #0065A3, #004B78);
  padding: 1.75rem 2rem;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 75, 120, 0.35);
}

.ibdb-page .page-header h1 {
  margin: 0 0 0.25rem 0;
  font-size: 2.1rem;
  font-weight: 700;
}

.ibdb-page .page-subtitle {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* ===== Sektionen ===== */
.ibdb-page .section {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-top: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.ibdb-page .section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #004B78;
  font-weight: 700;
}

.ibdb-page .section h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0065A3;
  font-weight: 600;
}

.ibdb-page .section h4 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  color: #004B78;
}

/* Fließtext */
.ibdb-page p {
  margin-bottom: 0.7rem;
  line-height: 1.6;
  color: #111827;
}

/* Listen */
.ibdb-page ul {
  margin: 0.4rem 0 0.8rem 1.3rem;
}

.ibdb-page ul li {
  margin-bottom: 0.3rem;
}

/* ===== Hero + Kontaktbox ===== */
.ibdb-page .hero .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.ibdb-page .hero-text h2 {
  margin-top: 0;
}

.ibdb-page .contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  border: 1px solid #dbeafe;
  position: relative;
  overflow: hidden;
}

.ibdb-page .contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0,101,163,0.15), transparent 50%);
  pointer-events: none;
}

.ibdb-page .contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #004B78;
}

.ibdb-page .contact-name {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.ibdb-page .contact-role {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.ibdb-page .contact-line {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.ibdb-page .contact-card a {
  color: #0065A3;
  font-weight: 500;
}

/* ===== Topics als Karten ===== */
.ibdb-page .topic-block {
  margin-top: 1.25rem;
  padding: 1.2rem 1.4rem 1.1rem;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.ibdb-page .topic-block h3 {
  margin-top: 0;
}

/* ===== dezente Linkgestaltung (ohne Buttons) ===== */

.ibdb-page a {
  color: #0065A3;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 101, 163, 0.3);
  transition: color 0.15s ease, border-bottom 0.15s ease;
}

.ibdb-page a:hover {
  color: #004B78;
  border-bottom-color: #004B78;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .ibdb-page .hero .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ibdb-page main {
    padding: 0 0.5rem;
  }

  .ibdb-page .section {
    padding: 1.4rem 1.25rem;
    border-radius: 14px;
  }

  .ibdb-page .page-header-inner {
    padding: 1.4rem 1.5rem;
  }
}
/* Grid: immer 3 Kacheln nebeneinander */
.beratung-kacheln {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* Einzelne Kachel */
.beratung-kacheln .kachel {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px;

    text-decoration: none;
    color: #555;

    transition: background 0.2s, transform 0.15s;
}

/* Hover-Effekt */
.beratung-kacheln .kachel:hover {
    background: #d9edf7;
    transform: translateY(-2px);
}

/* Icon links – Person + Monitor wie im Screenshot */
.beratung-kacheln .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.85;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20x%3D%2211%22%20y%3D%224%22%20width%3D%229%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Ccircle%20cx%3D%227%22%20cy%3D%229%22%20r%3D%222%22/%3E%3Cpath%20d%3D%22M4.5%2015c0-1.7%201.5-3%203-3s3%201.3%203%203v2H4.5z%22/%3E%3C/svg%3E");
}

/* Text rechts */
.beratung-kacheln .text {
    font-size: 16px;
    font-weight: 500;
}

/* Mobil: 1 Kachel pro Reihe */
@media (max-width: 600px) {
    .beratung-kacheln {
        grid-template-columns: 1fr;
    }
}
