/* site.css — additional layout for the rebuilt oculus-guide.com shell.
   The archived DVFGI theme (style.css) carries the base typography and the
   tx-contentpackage-* chrome; this file adds the layout for the rebuild's own
   components (hero banner, Themengebiete grid, teasers, sidebar column,
   article figures, tables and the Übersicht box). Kept free of host-absolute
   url() references. */

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

body.oculus-page {
  margin: 0;
  background: #ffffff;
  color: #22262b;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* ---------------------------------------------------------- container ---- */
.tx-contentpackage-gridWrap,
.tx-contentpackage-gridWrap-small {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.tx-contentpackage-gridWrap-small { max-width: 1140px; }

#primary.content-area { padding-bottom: 40px; }

/* ------------------------------------------------------------ header ----- */
.site-header { background: #ffffff; border-bottom: 1px solid #e6e9ee; }
.tx-contentpackage-header--bottomheader { padding: 8px 0; }
.tx-contentpackage-header--bottomheader .tx-contentpackage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.tx-contentpackage-header--bottomheader--logo { order: -1; }
.tx-contentpackage-header--bottomheader--logo img { max-height: 64px; width: auto; }

#mega-menu-top {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#mega-menu-top > li > a {
  display: block;
  padding: 10px 14px;
  color: #1f3a5f;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}
#mega-menu-top > li > a:hover,
#mega-menu-top > li.current-menu-item > a { background: #eef3f9; color: #0d5aa7; }
.mega-menu-toggle { display: none; }

.tx-contentpackage-berater--button--wrap { text-align: right; padding: 6px 18px 0; }
.tx-contentpackage-berater--button {
  display: inline-block;
  background: #0d5aa7;
  color: #fff;
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.tx-contentpackage-berater--button:hover { background: #0a4784; color: #fff; }

/* ------------------------------------------------------------ banner ----- */
.tx-contentpackage-banner {
  position: relative;
  max-height: 420px;
  overflow: hidden;
  background: #0d5aa7;
}
.tx-contentpackage-banner .banner-img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: .55;
}
.banner-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.banner-title {
  font-size: clamp(22px, 3.4vw, 40px);
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  max-width: 900px;
}
.banner-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 20px;
  max-width: 760px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.banner-search { display: flex; gap: 8px; }
.banner-search input[type="text"] {
  padding: 11px 14px;
  min-width: 240px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
}
.banner-search button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2b230;
  color: #1f3a5f;
  border: 0;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* --------------------------------------------------------- home grids ---- */
.home-section { padding: 34px 0; }
.tx-contentpackage-bigheadline {
  font-size: 26px;
  margin: 0 0 20px;
  color: #1f3a5f;
  border-bottom: 2px solid #eef3f9;
  padding-bottom: 8px;
}
.themen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tx-contentpackage-themengebiete--item {
  display: block;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.tx-contentpackage-themengebiete--item:hover {
  box-shadow: 0 6px 18px rgba(13, 90, 167, .12);
  transform: translateY(-2px);
}
.tx-contentpackage-smallheadline { margin: 0 0 8px; color: #0d5aa7; font-size: 19px; }
.tx-contentpackage-themengebiete--item p { margin: 0; color: #4a5158; font-size: 15px; }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.home-teaser {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.home-teaser img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.home-teaser-body { padding: 14px 16px 18px; }
.home-teaser-cat {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0d5aa7;
  margin-bottom: 6px;
}
.home-teaser-body h3 { margin: 0 0 8px; font-size: 16px; color: #1f3a5f; }
.home-teaser-body p { margin: 0; font-size: 14px; color: #5a6169; }
.home-about p { max-width: 900px; }

/* ----------------------------------------------------------- article ----- */
.vc_row.wpb_row { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.vc_col-sm-8 { flex: 1 1 62%; min-width: 0; }
.vc_col-sm-4 { flex: 1 1 300px; max-width: 340px; }

.tx-contentpackage-breadcrumb { font-size: 13px; color: #7a828a; margin: 18px 0 6px; }
.tx-contentpackage-breadcrumb a { color: #0d5aa7; text-decoration: none; }

.h1_page { font-size: 30px; color: #1f3a5f; margin: 6px 0 14px; }
.page-lead { font-size: 18px; color: #3c434a; font-weight: 400; }
.entry-content p { margin: 0 0 16px; }
.entry-content h2 { font-size: 23px; color: #1f3a5f; margin: 30px 0 12px; }
.entry-content h3 { font-size: 19px; color: #24435f; margin: 22px 0 10px; }
.entry-content h4 { font-size: 17px; color: #24435f; margin: 18px 0 8px; }
.entry-content ul.list_standard { padding-left: 22px; margin: 0 0 18px; }
.entry-content ul.list_standard li { margin-bottom: 6px; }

.article-figure { margin: 20px 0; }
.article-figure img {
  width: 100%;
  border-radius: 6px;
  display: block;
  background: #eef3f9;
}

.med-note {
  background: #fff8e6;
  border-left: 4px solid #f2b230;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
}

.table-wrap { overflow-x: auto; margin: 20px 0; }
table.table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.table th, table.table td { border: 1px solid #e2e6eb; padding: 9px 12px; text-align: left; vertical-align: top; }
table.table thead th { background: #eef3f9; color: #1f3a5f; }
table.table-meta th { width: 34%; background: #f7f9fc; color: #24435f; }

/* Übersicht / TOC box */
.bal_container {
  background: #f7f9fc;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
}
.bal_title { font-weight: 700; color: #1f3a5f; margin-bottom: 8px; }
.bal_list { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.bal_list a { color: #0d5aa7; text-decoration: none; }
.bal_list a:hover { text-decoration: underline; }

/* child cards on hubs */
.child-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.child-cards a {
  display: block;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.child-cards a:hover { box-shadow: 0 4px 14px rgba(13, 90, 167, .12); }
.child-cards h3 { margin: 0 0 6px; font-size: 17px; color: #0d5aa7; }
.child-cards p { margin: 0; font-size: 14px; color: #5a6169; }

/* ----------------------------------------------------------- sidebar ----- */
.sidebar-head { font-size: 16px; color: #1f3a5f; margin: 0 0 8px; }
.nobullets { list-style: none; margin: 0; padding: 0; }
.nobullets li { margin-bottom: 6px; }
.nobullets a { color: #0d5aa7; text-decoration: none; }
.nobullets a:hover { text-decoration: underline; }
.lineheight_x_1_5 li { line-height: 1.5; }
.marginTop20px { margin-top: 20px; }
.tx-contentpackage-bluebutton .vc_btn3 {
  display: inline-block;
  background: #0d5aa7;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.tx-contentpackage-bluebutton .vc_btn3:hover { background: #0a4784; color: #fff; }

/* ------------------------------------------------------------ footer ----- */
.tx-contentpackage-footer {
  background: #1f3a5f;
  color: #cfd8e3;
  margin-top: 30px;
  padding: 24px 0;
}
.tx-contentpackage-footer--nav ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tx-contentpackage-footer--nav a { color: #cfd8e3; text-decoration: none; }
.tx-contentpackage-footer--nav a:hover { color: #fff; text-decoration: underline; }
.tx-contentpackage-footer--copy { font-size: 13px; color: #9fb0c4; }

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 980px) {
  .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mega-menu-toggle { display: block; }
  #mega-menu-top { flex-direction: column; width: 100%; }
  .themen-grid, .teaser-grid, .child-cards { grid-template-columns: 1fr; }
  .bal_list { columns: 1; }
  .vc_col-sm-8, .vc_col-sm-4 { flex: 1 1 100%; max-width: 100%; }
  .tx-contentpackage-banner .banner-img { height: 300px; }
  .banner-search { flex-direction: column; width: 100%; max-width: 320px; }
  .banner-search input[type="text"] { min-width: 0; width: 100%; }
}
