/* Ergaenzungen fuer die statische Version von meindatenschutz.de */

/* Schrift: wie bisher 'Open Sans', sans-serif ohne Webfont-Download.
   (Die alte @font-face-Einbindung war defekt, Besucher sahen die System-Schrift.) */

/* ---- Benutzerdefiniertes CSS aus den Template-Einstellungen ---- */
.sliderTextbox {
  background-color: rgba(255, 255, 255, 0.8);
  left: -200px;
  padding: 40px;
  position: absolute;
  top: -50px;
  width: 27.5em;
}
h1, h2, h3 {
  color: #36a9e6;
}
#sp-header.menu-fixed-out .sp-megamenu-parent > li > a {
  font-size: 16px;
  padding: 10px 15px;
  line-height: 20px;
}
#datenschutz {
  padding: 10px;
}
#datenschutz h2,
#datenschutz h3,
#datenschutz p {
  padding: 5px 0px !important;
}
#datenschutz li {
  list-style: disc;
  padding-left: 5px;
  margin-left: 20px;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}
#sp-bottom { background-color: #ffffff; padding: 30px 0px 0px 0px; }
#sp-footer { background-color: #ffffff; color: #666666; }

/* ---- Suche ---- */
.search-page-form { display: flex; gap: 10px; max-width: 600px; margin: 0 0 25px; }
.search-page-form input { flex: 1; min-width: 0; height: 42px; padding: 6px 12px; border: 1px solid #cccccc; }
ol.search-results { padding-left: 20px; }
ol.search-results li { margin-bottom: 18px; }
ol.search-results a { font-size: 18px; font-weight: 600; color: #36a9e6; }
ol.search-results p { margin: 4px 0 0; font-size: 14px; color: #666666; }

/* ---- Mobile und Tablet (das alte Layout war hier defekt) ---- */
@media (max-width: 991px) {
  /* Header: Logo links, Menue-Button rechts in einer Zeile */
  #sp-header { height: 70px; background-color: rgba(255, 255, 255, 0.95); }
  #sp-header > .container > .row { display: flex; align-items: center; flex-wrap: nowrap; }
  #sp-header #sp-logo { flex: 1 1 auto; width: auto; min-width: 0; }
  #sp-header #sp-menu { flex: 0 0 auto; width: auto; margin-top: 0 !important; }
  #sp-header .logo { width: auto; height: 70px; }
  #sp-header .logo h1 img { width: auto !important; max-width: 100%; max-height: 34px; }
  #sp-header .sp-megamenu-wrapper { margin: 0; padding: 0; }
  #offcanvas-toggler { line-height: 70px; }
  #offcanvas-toggler > i { font-size: 26px !important; padding: 6px 9px !important; }
  #sp-header .oneclip-top-search, #top-search-input-wrap { display: none !important; } /* Suche im Off-Canvas-Menue */
  .offcanvas-menu .offcanvas-inner { margin-top: 70px !important; }
  .offcanvas-menu .search input { width: 100%; }

  /* Startseite: Textbox unter dem Header statt ausserhalb des Bildschirms */
  body.home #sp-page-builder { padding-top: 70px; }
  body #introVideo { display: none !important; }
  body #sliderText {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 1 !important;
    background-color: #36a9e6 !important;
  }
  body .sliderTextbox {
    position: static !important;
    width: auto !important;
    padding: 25px 20px !important;
    background-color: #36a9e6 !important;
  }
  body #sliderText h2 { display: block; font-size: 28px !important; line-height: 1.2; color: #ffffff; margin: 0 0 15px; }
  body #sliderText p { color: #ffffff; line-height: 1.5; }
  body .sliderTextbox img { display: none; }

  /* Preise: negative Desktop-Abstaende aufheben, Bild unter dem Header beginnen */
  #sp-page-builder.page-15 { padding-top: 70px; }
  .sp-page-builder .page-content .prices { margin-top: 0 !important; }
  .prices [id^="sppb-addon-"] { margin-top: 0 !important; }
  .prices .sppb-pricing-price { font-size: 34px !important; }

  .telefon .sppb-addon-content { font-size: 34px; }
  .sp-page-title { padding: 120px 0 50px 0; }
}
@media (max-width: 480px) {
  .telefon .sppb-addon-content { font-size: 26px; }
  .sppb-addon-text-block img[style*="float"] { float: none !important; display: block; max-width: 100%; height: auto; margin: 10px 0 !important; }
}

/* ---- Hilfsklassen ---- */
[hidden] { display: none !important; }
.form-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.sppb-panel-heading:focus-visible { outline: 2px solid #68A8DE; outline-offset: -2px; }

/* ---- Formular-Raster (ersetzt Fox Contact) ---- */
.fox-form .fox-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.fox-form .fox-column { box-sizing: border-box; padding: 0 10px; width: 100%; }
@media (min-width: 768px) {
  .fox-form .fox-column3 { width: 25%; }
  .fox-form .fox-column6 { width: 50%; }
}
.fox-form .fox-item { margin-bottom: 12px; }
.fox-form .control-label { display: none; }
.fox-form .controls input,
.fox-form .controls textarea { display: block; width: 100%; box-sizing: border-box; padding: 6px 10px; font: inherit; }

/* Einwilligungs-Checkbox */
.fox-form .fox-item-checkbox label.checkbox {
  display: block;
  position: relative;
  margin: 0;
  padding-left: 28px !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}
.fox-form .fox-item-checkbox .controls input[type="checkbox"],
.kontaktformular .fox-form .fox-item-checkbox .controls input[type="checkbox"],
#sp-bottom .fox-row .fox-item-checkbox .controls input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}
#sp-bottom .fox-form .btn { padding: 6px 20px; }
.kontaktformular .fox-form .controls input:not([type="checkbox"]) { background-color: #ffffff !important; }
#sp-bottom1 a[href^="tel:"] { color: inherit; }
.kontaktformular .fox-item-submit .controls button { margin-top: 0; }

/* ---- Bestellformular (ersetzt RSForm) ---- */
.rsform .rsform-input-box {
  width: 100%;
  height: 42px;
  padding: 6px 10px;
  border: 1px solid #666666 !important;
  border-radius: 0;
  box-sizing: border-box;
  font: inherit;
}
.rsform .uk-form-row { margin-bottom: 12px; }
.rsform .rsform-block-agb label {
  display: block !important;
  position: relative;
  padding-left: 30px;
  font-weight: 400 !important;
  font-size: 14px;
}
.rsform .rsform-block-agb input#AGB0,
.rsform .rsform-block-agb input.rsform-checkbox {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  margin: 0;
}
.rsform .rsform-block-submit .formControls { text-align: right; }
.rsform .rsform-block-submit button {
  background-color: #ffffff;
  border: 1px solid #68A8DE;
  color: #68A8DE;
  height: 50px;
  min-width: 150px;
  font-size: 22px;
  padding: 10px;
  margin-left: 10px;
}
.rsform .rsform-block-submit button:hover,
.rsform .send button:hover { background-color: #68A8DE; color: #ffffff; }
.rsform .rsformProgress { margin-bottom: 20px; }
