@charset "UTF-8";
/* CSS Grabwert */

body {
      font-family: 'Alegreya Sans';
      margin: 0; padding-top: 100px; /* Platz fĆ¼r die fixe Navibar */
      background-color: #e0e0e0;
    }
h1, h2, h3, h4, h5 {
    font-family: 'Alegreya Sans'; font-weight: 700; 
}
h1 {font-size: 2.4rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.7rem;}
h4 {font-size: 1.4rem;}
h5 {font-size: 1.2rem;}

/* Navigation */   
.top-nav {
      background-color: #fff;
      position: fixed;
      top: 0;
      width: 100%;
      height: 100px;
      z-index: 1000;
      color: #000;
      padding-top: 15px; padding-bottom: 15px;
      border-bottom: 2px solid #524596;
    }
.toplinks {
    text-align: right;
}
.toplinks a { color: #000; }
.toplinks a:hover {color:#dab3f9; }
.submenu a {color: #524596;}
.submenu a:hover {color: #000; }
.navilogo {
  height: 70px;
  width: auto;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  border-color: #524596 transparent transparent;
}
    
/* Content */
    .content {
      background-color: #ffffff;
      padding-top: 1.5rem;
    }
    .topdiv {padding: 2rem 0;}
    .homebg {background-size: cover; background-position: center; background-repeat: no-repeat;}

/* Texteditor Anfrageformular */  
.text-preview {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-height: 3rem;
  white-space: normal;
}

.editor-toolbar button {
  background-color: #524596;
  color: #ffffff;
  border: none;
  padding: 0.3rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
}

.editor-toolbar button svg {
  width: 20px;
  height: 20px;
}

.editor-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 0.5rem;
}

.select-disabled {
  pointer-events: none;
  background-color: #eee;
  color: #555;
}

.schriftgroesse-gruppe {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.schriftgroesse-gruppe .groesse-label {
  display: inline-block;
  min-width: 2.4rem;
  text-align: center;
  font-weight: bold;
  padding: 0.2rem 0.4rem;
  background: #eee;
  border-radius: 4px;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 1em;
}

#schriftart-anzeige {
  display: flex;
  align-items: center;
}
#schriftart-anzeige img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin-right: 1rem;
}
#schriftart-trigger.disabled {
  opacity: 0.4;
  pointer-events: none;
}
#schriftart-options.disabled {
  display: none !important;
}

.grafik-anzeige {
  border: 1px dashed #ccc;
  padding: 1rem;
  text-align: center;
  min-height: 120px;
}

.droparea-wrapper {
  margin-top: 0.5rem;
}

.droparea {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
}

.droparea.dragover {
  border-color: #0070c9;
  background: #eef6ff;
}

.grafik-preis {
  font-weight: bold;
  margin-top: 0.5rem;
}

.reset-button {
  margin-top: 0.5rem;
  border: none;
  background: transparent;
  color: #c00;
  font-size: 1.2rem;
  cursor: pointer;
}

.reset-button {
  display: none;              /* Standardm¸«£¸©Īig ausgeblendet */
  margin-top: 0.5em;
  background: #eee;
  border: none;
  color: #333;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0.25em 0.5em;
  border-radius: 4px;
}

.reset-button:hover {
  background: #ccc;
}
.has-image .reset-button {
  display: inline-block;
}


.droparea-wrapper.has-image .reset-button {
  display: inline-block; /* Wenn Bild vorhanden: einblenden */
}

.menge-steuerung {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menge-anzeige {
  min-width: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.align-middle {
  vertical-align: middle;
}

/* Auswahlbuttons Bildauswahl Grabsteine und Grabplatten */

.grabstein-button {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #514697;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 0;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.grabstein-button:hover {
  background-color: #766cb7;
  color: #fff;
}

/* Live Auswahlbar */
    #live-auswahlbar {
      position: fixed;
      left: 0; right: 0; bottom: 0;
      z-index: 999;
      background: #fff;
      border-top: 1px solid #000;
      padding: 0.6rem 0;
    }
    #live-auswahlbar .grid-container { max-width: 1200px; }
    #live-auswahlbar .summary-text { font-size: 0.95rem; }
    #live-auswahlbar .summary-price { font-weight: 700; text-align: right; }
    body { padding-bottom: 72px; } /* Platz, damit Inhalt nicht von der Bar ¸«äberdeckt wird */
    
      /* Live-Bar soll sich nie wie ein Link anf¸«ählen */
  #live-auswahlbar, #live-auswahlbar * {
    cursor: default !important;
    text-decoration: none !important;
    color: #000 !important;
  }
  /* Falls doch mal ein <a> hinein ger¸«£t: klicks deaktivieren */
  #live-auswahlbar a {
    pointer-events: none !important;
    color: inherit !important;
  }
  /* Sicherstellen, dass die Live-Bar Klicks NICHT durchl¸«£sst */
  #live-auswahlbar { pointer-events: auto; }


    
/* Footer */
