/* docurex /en/ Ads pages – additions to the CSS taken over from WordPress.
   Colours as on the German landing page: navy #0e2240, gold #a07840. */

/* Form messages and privacy note */
.dcx-en-form .dcx-meldung { margin: 14px 0 0; padding: 10px 13px; border-radius: 7px;
  font-size: 13.5px; line-height: 1.5; }
.dcx-en-form .dcx-meldung-fehler { background: #fbeceb; color: #a5281b; border: 1px solid #f0c8c3; }
.dcx-en-form .dcx-datenschutz { margin: 13px 0 0; font-size: 11.5px; line-height: 1.6; color: #6b6860; }
.dcx-en-form .dcx-datenschutz a { color: #7a5628; }
.dcx-en-form button[disabled] { opacity: .7; cursor: wait; }

/* Header: French/Italian/Spanish menu labels are longer than German ones.
   Keep every item on one line and tighten spacing so the header stays one row. */
#masthead .navbar-nav > li > a, #masthead .navbar-nav > li > a span,
#masthead .btn, #masthead .btn span { white-space: nowrap !important; }
html:not([lang="en"]) #masthead .navbar-nav > li > a { padding-left: 6px !important; padding-right: 6px !important; font-size: 15px; }
html:not([lang="en"]) #masthead .btn { padding-left: 12px !important; padding-right: 12px !important; }
@media (max-width: 1279px) {
  html:not([lang="en"]) #masthead .navbar-nav > li > a { font-size: 13.5px; padding-left: 4px !important; padding-right: 4px !important; }
  html:not([lang="en"]) #masthead .btn { padding-left: 10px !important; padding-right: 10px !important; font-size: 13px; }
}

/* Language switcher (header, top right) – same height and radius as the header buttons */
.dcx-sprache { position: relative; display: inline-flex; align-items: center; }
.dcx-sprache summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  box-sizing: border-box; height: 43px; padding: 0 14px; border: 1px solid #d6dbe3; border-radius: 10px; background: #fff;
  color: #0e2240; font-size: 14px; font-weight: 600; line-height: 1; user-select: none;
  transition: border-color .15s, box-shadow .15s; }
.dcx-sprache summary:hover, .dcx-sprache summary:focus-visible { border-color: #0e2240; outline: none;
  box-shadow: 0 0 0 3px rgba(14, 34, 64, .08); }
.dcx-sprache summary::-webkit-details-marker { display: none; }
.dcx-sprache summary::marker { content: ""; }
.dcx-sprache summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.dcx-sprache[open] summary { border-color: #0e2240; }
.dcx-sprache[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.dcx-flagge { display: inline-block; flex: none; width: 20px; height: 14px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(14, 34, 64, .14); vertical-align: middle; }
.dcx-sprache ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1000; min-width: 180px;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e4e1db; border-radius: 10px;
  box-shadow: 0 16px 38px rgba(5, 16, 32, .16); }
.dcx-sprache li a, .dcx-sprache li span { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 7px; color: #0e2240; font-size: 14px; text-decoration: none; white-space: nowrap; }
.dcx-sprache li a:hover, .dcx-sprache li a:focus { background: #f2f0ec; }
.dcx-sprache li span { font-weight: 600; background: #faf9f7; }
.dcx-sprache li span::after { content: "✓"; margin-left: auto; color: #a07840; }

/* Language line in the footer (also reachable on mobile, where the header is hidden) */
.dcx-sprachzeile { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 14px 16px;
  font-size: 12.5px; letter-spacing: .04em; background: #0e2240; }
.dcx-sprachzeile a, .dcx-sprachzeile span { display: inline-flex; align-items: center; gap: 7px; padding: 4px 2px;
  color: #fff; text-decoration: none; }
.dcx-sprachzeile a { opacity: .8; }
.dcx-sprachzeile a:hover { opacity: 1; text-decoration: underline; }
.dcx-sprachzeile span { color: #c9a673; font-weight: 600; }
.dcx-sprachzeile .dcx-flagge { width: 18px; height: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* Cookie consent */
.dcx-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999;
  max-width: 560px; margin-left: auto; background: #fff; color: #3f3c37;
  border-top: 3px solid #a07840; border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(5, 16, 32, .28); font-size: 13.5px; line-height: 1.55; }
.dcx-consent strong { display: block; color: #0e2240; font-size: 15px; margin-bottom: 4px; }
.dcx-consent a { color: #7a5628; }
.dcx-consent-knoepfe { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.dcx-consent button { font: inherit; font-weight: 600; border-radius: 7px; padding: 10px 16px; cursor: pointer; }
.dcx-consent-nein { background: #fff; color: #0e2240; border: 1px solid #e4e1db; }
.dcx-consent-ja { background: #a07840; color: #fff; border: 1px solid #a07840; }
