/* ============================================================
   Nachbau-Stylesheet (WP-Seiten → Astro)
   Palette: Marken-Blau (kein Türkis)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --blue: #0067ff;
  --blue-d: #0052cc;
  --blue-deep: #003d99;
  --blue-tint: #e8f1ff;
  --blue-tint-2: #eef4ff;
  --blue-soft: #c3dcff;
  --orange: #ff8f02;
  --green: #61ce70;
  --ink: #333;
  --muted: #7a7a7a;
  --wrap: 1140px;
}
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; color: var(--ink); background: #fff; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; color: var(--blue); }
p { margin: 0 0 1em; }
ul { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.wph { position: sticky; top: 0; z-index: 50; background: var(--blue); border-bottom: 1px solid var(--blue-d); }
/* Höhe wie im Original (Hostinger): Zeile 54px + 20px Rand oben/unten = ~94px */
.wph .wrap { display: flex; align-items: center; gap: 24px; min-height: 94px; }
.wph-logo img { width: 200px; }
.wph-nav { margin-left: auto; }
.wph-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.wph-nav a, .wph-nav summary { display: block; color: #fff; text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: 4px; cursor: pointer; }
.wph-nav a:hover, .wph-nav summary:hover { background: rgba(255,255,255,.14); }
.wph-dd { position: relative; }
.wph-dd > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.wph-dd > summary::-webkit-details-marker { display: none; }
.wph-dd .panel { position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--blue-d); border-radius: 0 6px 6px 6px; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 8px; display: none; z-index: 60; }
.wph-dd .panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }  /* unsichtbare Brücke */
.wph-dd:hover .panel, .wph-dd:focus-within .panel { display: block; }   /* Hover stabil, kein Zuklappen */
.wph-dd .panel a { display: block; padding: 9px 12px; border-radius: 4px; font-size: 15px; }
.wph-cta { background: var(--orange); color: #fff !important; font-weight: 700; padding: 12px 20px !important; border-radius: 6px; }

/* ---------- Seitenkopf ---------- */
.nb-hero { background: linear-gradient(132deg, var(--blue) 0%, #01071f 100%); color: #fff; padding: 70px 0; }
.nb-hero h1 { color: #fff; font-size: 44px; line-height: 56px; max-width: 900px; }
.nb-hero p { color: rgba(255,255,255,.85); font-size: 19px; line-height: 30px; max-width: 820px; margin-top: 16px; }
.nb-breadcrumb { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 14px; }

/* ---------- Sektionen ---------- */
.nb section.nb-sec { padding: 64px 0; }
.nb-sec.bg-tint { background: var(--blue-tint); }
.nb-sec.bg-tint2 { background: var(--blue-tint-2); }
.nb-sec.bg-soft { background: var(--blue-soft); }
.nb-sec.bg-dark { background: linear-gradient(132deg, var(--blue) 0%, #01071f 100%); color: #fff; }
.nb-sec.bg-dark h1, .nb-sec.bg-dark h2, .nb-sec.bg-dark h3, .nb-sec.bg-dark h4 { color: #fff; }
.nb-sec.bg-dark p, .nb-sec.bg-dark li { color: rgba(255,255,255,.88); }

/* ---------- Bausteine ---------- */
.nb h2 { font-size: 40px; line-height: 52px; margin-bottom: 18px; }
.nb h3 { font-size: 26px; line-height: 36px; margin-bottom: 12px; }
.nb h4 { font-size: 21px; line-height: 30px; margin-bottom: 10px; font-weight: 500; }
.nb .txt { font-size: 17px; line-height: 28px; color: var(--muted); margin-bottom: 18px; max-width: 900px; }
.nb .txt strong { color: #444; }
.nb .txt ul, .nb .txt ol { padding-left: 22px; margin: 0 0 1em; }
.nb .txt li { font-size: 17px; line-height: 28px; margin-bottom: 6px; }
.nb .txt a { color: var(--blue); }
.nb .btn { display: inline-block; text-decoration: none; color: #fff; font-family: Lato, sans-serif; font-size: 16px; padding: 12px 24px; border-radius: 6px; background: var(--blue); margin: 0 10px 10px 0; }
.nb .btn-green { background: var(--blue); }   /* Buttons im Marken-Blau wie auf der Startseite */
.nb .btn-orange { background: var(--orange); }
.nb .btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.nb .list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 0 0 20px; }
.nb .list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 26px; }
.nb .list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }

/* Kachel-Raster */
.nb .tiles { display: grid; gap: 28px; margin: 0 0 28px; }
.nb .tiles.cols-1 { grid-template-columns: 1fr; }
.nb .tiles.cols-2 { grid-template-columns: repeat(2, 1fr); }
.nb .tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.nb .tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
.nb .tile { background: var(--blue-tint); border-radius: 15px; padding: 26px 22px; display: flex; flex-direction: column; }
.nb .tile h3, .nb .tile h4 { color: var(--blue); }
.nb .tile-img { width: 100%; border-radius: 10px; margin-bottom: 16px; overflow: hidden; background: #dfe8f5; }
.nb .tile-img img { width: 100%; height: auto; }
.nb .tile .btn { margin-top: auto; align-self: flex-start; }

/* Bilder + Platzhalter (Bilder folgen später) */
.nb .fig { margin: 0 0 24px; }
.nb .fig img { border-radius: 12px; }
.nb .ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, #eef4ff, #eef4ff 12px, #e3ecfb 12px, #e3ecfb 24px); border: 1px dashed #9db8dd; border-radius: 12px; color: #5b7290; font-size: 13px; font-weight: 600; padding: 14px; gap: 4px; }
.nb .ph span { font-weight: 400; opacity: .8; }

/* Accordion */
.nb details.nb-acc { border-bottom: 1px solid #e5e7eb; padding: 18px 0; }
.nb details.nb-acc summary { list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.nb details.nb-acc summary::-webkit-details-marker { display: none; }
.nb details.nb-acc summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.nb details.nb-acc[open] summary::after { content: "–"; }
.nb details.nb-acc p { margin-top: 12px; font-size: 16px; line-height: 27px; color: var(--muted); }
.nb .acc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* ---------- Footer ---------- */
.wpf { background: var(--blue); padding: 54px 0 34px; }
/* dreispaltig wie im Original: Markenspalte (Logo über Slogan) + zwei Linkspalten */
.wpf .grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 34px; align-items: start; }
.wpf .lead { font-size: 17px; line-height: 27px; color: #ffffff; margin: 0; max-width: 290px; }
.wpf .logo img { width: 208px; margin: 0 0 18px; }
.wpf h4 { font-family: Lato, sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.wpf ul { list-style: none; margin: 0 0 18px; padding: 0; }
.wpf li a { color: #ffffff; text-decoration: none; font-size: 15px; line-height: 30px; }
.wpf li a:hover { text-decoration: underline; }
.wpf .legal { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wpf .legal a { color: #ffffff; font-size: 14px; text-decoration: none; }
.wpf-bar { background: linear-gradient(#003d99 0%, rgba(1,7,31,.92) 100%); color: #fff; font-size: 13px; padding: 18px 0; text-align: center; }

/* Mobile Burger-Menue */
.wph-burger { display: none; margin-left: auto; position: relative; }
.wph-burger > summary { list-style: none; color: #fff; font-size: 15px; font-weight: 600; padding: 10px 14px; cursor: pointer; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; }
.wph-burger > summary::-webkit-details-marker { display: none; }
.wph-burger .panel { position: absolute; right: -20px; top: calc(100% + 8px); width: min(88vw, 340px); background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(3,10,30,.28); padding: 10px 18px 20px; max-height: 76vh; overflow-y: auto; }
.wph-burger .panel a { display: block; padding: 12px 2px; border-bottom: 1px solid #eef2f7; color: #1b2a3d; text-decoration: none; font-size: 16px; }
.wph-burger .panel a:last-child { border-bottom: none; }
/* Gruppen im Mobilmenue: auf-/zuklappbar */
.wph-burger .panel .grp-acc { border-bottom: 1px solid #eef2f7; }
.wph-burger .panel .grp-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: #5b7290; font-weight: 700; cursor: pointer; }
.wph-burger .panel .grp-acc > summary::-webkit-details-marker { display: none; }
.wph-burger .panel .grp-acc > summary::after { content: "+"; font-size: 20px; line-height: 1; color: #9db8dd; }
.wph-burger .panel .grp-acc[open] > summary { color: var(--blue); }
.wph-burger .panel .grp-acc[open] > summary::after { content: "–"; }
.wph-burger .panel .grp-links { border-top: 1px solid #f2f6fc; }
.wph-burger .panel .grp-links a { padding-left: 14px; color: #26374d; }
.wph-burger .panel .wph-cta { margin-top: 18px; text-align: center; color: #fff !important; border-radius: 6px; }
@media (max-width: 1024px) {
  .wph-burger { display: block; }
  .wph .wrap { min-height: 84px; }
  .wph-nav { display: none; }
  .nb .tiles.cols-3, .nb .tiles.cols-4 { grid-template-columns: 1fr 1fr; }
  .nb .acc-2col, .nb .list { grid-template-columns: 1fr; }
  .nb h2 { font-size: 30px; line-height: 40px; }
  .nb-hero h1 { font-size: 32px; line-height: 42px; }
  .wpf .grid { grid-template-columns: 1fr; gap: 28px; }
  .wpf .lead { max-width: none; }
}

/* Gruppen-Titel verlinkt + Aufklapp-Pfeil */
.wph-dd-link { display: inline-flex; align-items: center; gap: 7px; }
.wph-dd-caret { font-size: 11px; opacity: .95; }
.wph-dd:hover > .wph-dd-link, .wph-dd:focus-within > .wph-dd-link { background: rgba(255,255,255,.16); border-radius: 4px 4px 0 0; }
.grp-links .grp-over { font-weight: 700; color: var(--blue) !important; }
.wph-dd .panel .dd-over { font-weight: 700; background: rgba(255,255,255,.12); }

/* Produktcover (Silent Subliminals): mobil deutlich kleiner, damit sie nicht dominieren */
@media (max-width: 640px) {
  .nb .nb-bild.cover { max-width: 47% !important; margin: 0 auto; }
  .nb .fig:has(.nb-bild.cover), .nb .tile-img:has(.nb-bild.cover) { text-align: center; }
}

/* Silent-Subliminals: Produktkacheln als Raster (wie im Original), mobil untereinander */
.nb .se-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; margin: 26px 0 10px; }
.nb .se-item { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--blue-tint, #eef4ff); border: 1px solid #dfe9fb; border-radius: 15px; padding: 24px 20px 22px; transition: box-shadow .2s ease, transform .2s ease; }
.nb .se-item:hover { box-shadow: 0 10px 26px rgba(1,7,31,.10); transform: translateY(-2px); }
.nb .se-item .fig { margin: 0 0 14px; width: 100%; aspect-ratio: 1 / 1; }
.nb .se-item .fig img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.nb .se-item .fig img { max-width: 100% !important; width: 100%; height: auto; border-radius: 12px; }
.nb .se-item h2 { margin: 0 0 12px; font-size: 18px; }
.nb .se-titel { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nb .se-serie { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b83a3; font-weight: 700; line-height: 1.5; }
.nb .se-thema { font-size: 23px; line-height: 1.25; font-style: italic; color: var(--blue, #0067ff); font-weight: 700; }
.nb .se-thema::after { content: ""; display: block; width: 34px; height: 3px; background: var(--blue, #0067ff); opacity: .35; margin: 7px auto 0; border-radius: 2px; }
.nb .se-item p:last-child { margin: 0; }
/* gleiche Titelhöhe -> Buttons stehen in jeder Zeile auf einer Linie */
@media (min-width: 561px) {
  .nb .se-item h2 { min-height: 104px; display: flex; align-items: center; justify-content: center; }
  .nb .se-item h2 .se-titel { width: 100%; }
}
@media (max-width: 1200px) { .nb .se-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .nb .se-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  {
  .nb .se-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nb .se-item .fig img { max-width: 54% !important; margin: 0 auto; }
}

h2.txt { font-family: Archivo, sans-serif; font-size: 26px; line-height: 36px; color: #0d1b3e; margin: 38px 0 12px; }
@media (max-width:640px) { h2.txt { font-size: 22px; line-height: 31px; margin: 30px 0 10px; } }
