/* ============================================================
   desatec systems — site additions (multi-page nav, sub-pages,
   prose, split sections, forms). Layers on top of styles.css.
   ============================================================ */

/* ---------- Navigation dropdowns ---------- */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item > a { }
.dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.dropdown a:hover { background: var(--blue-soft); color: var(--blue); }

/* ---------- Hero real product shot (replaces placeholder) ---------- */
.hero__shot {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 82%;
  filter: drop-shadow(0 20px 42px rgba(30, 55, 95, .34));
}

/* ---------- Sub-page hero ---------- */
.subhero { background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line-2); }
.subhero .container { padding-top: 62px; padding-bottom: 62px; }
.subhero__inner { max-width: 780px; }
.subhero h1 { font-size: 46px; line-height: 1.07; font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.subhero p { font-size: 18px; color: var(--muted); max-width: 640px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--line); }

/* ---------- Generic content section ---------- */
.section .container { padding-top: 74px; padding-bottom: 74px; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ---------- Prose (text pages: Impressum, Datenschutz, articles) ---------- */
.prose { max-width: 780px; color: var(--ink-2); font-size: 16.5px; line-height: 1.72; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 25px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); margin: 38px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--blue-700); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- Split (text + media) ---------- */
.split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.split__media--plain img { border-radius: 0; filter: drop-shadow(0 16px 34px rgba(30, 55, 95, .22)); }
.split__body h2 { font-size: 32px; line-height: 1.14; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
.split__body > p { font-size: 17px; color: var(--muted); margin-bottom: 22px; }

/* ---------- Feature list (checklist reused, larger) ---------- */
.lead-text { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }

/* ---------- Contact form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(75, 142, 240, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #c0392b; font-size: 13px; margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: 10px; font-size: 15px; margin-bottom: 22px; }
.alert--success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #bfe3cc; }
.alert--error { background: #fdecea; color: #b23025; border: 1px solid #f4c7c1; }
.contact-facts { display: grid; gap: 18px; }
.contact-fact { display: flex; gap: 14px; align-items: flex-start; }
.contact-fact svg { width: 22px; height: 22px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.contact-fact b { display: block; color: var(--ink); font-size: 15px; }
.contact-fact span, .contact-fact a { color: var(--muted); font-size: 15px; }
.contact-fact a:hover { color: var(--blue); }

/* ---------- Simple two/three column info grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.info-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.info-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav__cta { display: none; }
  body.nav-open .nav__item { display: block; width: 100%; }
  body.nav-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0;
  }
  body.nav-open .dropdown::before { display: none; }
  body.nav-open .dropdown a { padding: 9px 0; }
  .split .container { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; padding-bottom: 52px; }
  .split--rev .split__media { order: 0; }
  .form-wrap { grid-template-columns: 1fr; gap: 34px; }
  .info-grid, .info-grid--2 { grid-template-columns: 1fr; }
  .subhero h1 { font-size: 36px; }
  .section-head h2 { font-size: 28px; }
}

/* ---------- Linkable cards (video / article) ---------- */
a.info-card { text-decoration: none; display: block; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky); }
.info-card__play { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 13px; margin-top: 14px; }
.info-card__play svg { width: 18px; height: 18px; }
.yt-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); margin-top: 18px; }
.yt-note svg { width: 16px; height: 16px; }

/* ---------- CTA logo: white rounded box on the blue band ---------- */
.cta__logo { background: #fff; border-radius: var(--radius-lg); padding: 20px 26px; box-shadow: 0 12px 30px rgba(8, 30, 70, .25); justify-self: center; }
.cta__logo img { display: block; width: 118px; height: auto; }

/* ---------- Browser-frame product montage ---------- */
.browser-mock { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 34px 64px -14px rgba(16,40,90,.38), 0 10px 24px rgba(16,40,90,.12); }
.browser-mock__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px;
  background: linear-gradient(#f8fafc,#eef2f8); border-bottom: 1px solid var(--line-2); }
.browser-mock__dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.browser-mock__dot--r { background: #ff5f57; } .browser-mock__dot--y { background: #febc2e; } .browser-mock__dot--g { background: #28c840; }
.browser-mock__url { flex: 1; margin: 0 6px 0 10px; height: 24px; max-width: 360px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.browser-mock__url svg { width: 12px; height: 12px; color: var(--sky); }
.browser-mock img { display: block; width: 100%; height: auto; }

/* Hero figure: montage sits in the right column — straight, floating on its own soft shadow */
.hero__figure { position: relative; }
.hero__figure .browser-mock { position: relative; }
