/* === GROOVEDAN PREISRECHNER STYLE v3.9.6 === */

/* === STEP-STEUERUNG === */
.preisrechner-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.preisrechner-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* === FORM LABELS === */
.uk-form-label {
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
  color: #222;
}

/* === GRID / KACHELN === */
.uk-grid-medium > * {
  margin-bottom: 20px;
}

.option-tile {
  background: #fff;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  padding: 24px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  margin: 10px;
  min-height: 120px;
}

.option-tile span[uk-icon] {
  display: block;
  margin-bottom: 6px;
  color: #f6a548;
  font-size: 2rem; /* vorher 1.4rem */
  transition: transform 0.25s ease;
}

.option-tile:hover span[uk-icon] {
  transform: scale(1.15);
}

.option-tile:hover {
  border-color: #f6a548;
  box-shadow: 0 0 8px rgba(246,165,72,0.4);
  transform: translateY(-2px);
}

.option-tile.selected {
  background: #f6a548;
  color: #fff;
  border-color: #f6a548;
  box-shadow: 0 0 12px rgba(246,165,72,0.6);
}

.option-tile.selected span[uk-icon] {
  color: #fff;
}

/* === BUTTON STYLE: SLIM & WIDE === */
.uk-button {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 36px; /* flach, aber breit */
  border-radius: 6px;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  text-transform: none;
  min-height: 38px;
}

.uk-button-primary {
  background-color: #f6a548;
  border: none;
  color: #fff;
}

.uk-button-primary:hover,
.uk-button-primary:focus {
  background-color: #e6992f;
  box-shadow: 0 3px 10px rgba(246, 165, 72, 0.25);
  color: #fff;
}

.uk-button-default {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.uk-button-default:hover,
.uk-button-default:focus {
  border-color: #f6a548;
  color: #111;
}

.uk-flex-between {
  gap: 16px;
  flex-wrap: wrap;
}

.uk-flex-between button {
  flex: 1;
  min-width: 160px;
}

@media (max-width: 640px) {
  .uk-flex-between {
    flex-direction: column;
    gap: 10px;
  }

  .uk-button {
    width: 100%;
    padding: 8px 20px;
  }
}

/* === STICKY PREISBOX === */
.sticky-preisbox {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 2px solid #f6a548;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  padding: 10px 16px;
  cursor: pointer;
  z-index: 999;
}

.sticky-preisbox strong {
  font-size: 1.1rem;
  color: #f6a548;
  margin-left: 6px;
}

/* === PREIS-OVERLAY (kompakt, clean) === */
#preis-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

#preis-overlay .content {
  background: #fff;
  border-radius: 12px;
  padding: 24px 30px;
  max-width: 360px;
  width: 90%;
  text-align: left;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

#preis-overlay h3 {
  font-size: 1.2rem;
  color: #f6a548;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#preis-overlay .divider {
  border-top: 1px solid #eee;
  margin: 12px 0;
}

#overlay-details {
  margin: 0;
  padding: 0;
}

#overlay-details li {
  list-style: none;
  margin: 6px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

#overlayPrice {
  font-size: 1.4rem;
  color: #f6a548;
  font-weight: 700;
  margin-top: 10px;
  display: block;
  text-align: right;
}

#closeOverlay {
  margin-top: 14px;
  width: 100%;
}

/* === FORTSCHRITTSBALKEN MODERN === */
.uk-progress {
  position: relative;
  height: 10px;
  background: #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.uk-progress-bar {
  background: linear-gradient(90deg, #f6a548 0%, #ffbc6b 100%);
  height: 100%;
  transition: width 0.4s ease, background 0.4s ease;
  border-radius: 8px;
}

.progress-label {
  position: absolute;
  top: -28px;
  right: 0;
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* === DANKESMELDUNG === */
.thankyou {
  text-align: center;
  background: #fffaf3;
  border: 2px solid #f6a548;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.thankyou h3 {
  color: #f6a548;
  margin-bottom: 8px;
}

.thankyou p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0;
}

/* === KACHEL-LAYOUT 3 PRO ZEILE === */
@media (min-width: 960px) {
  .uk-child-width-1-3\@m > * {
    width: calc(33.333% - 20px) !important;
  }
}

/* === ICON-GRÖSSE GLOBAL ANPASSEN === */
.option-tile svg {
  width: 36px !important;   /* oder 40px für noch größer */
  height: 36px !important;
  stroke-width: 1.8;        /* kräftigere Linien */
  margin-bottom: 6px;
  color: #f6a548;
  transition: transform 0.25s ease;
}

.option-tile:hover svg {
  transform: scale(1.15);
}

.option-tile.selected svg {
  color: #fff;
}

/* === ZUSAMMENFASSUNG-STYLING === */
#zusammenfassung-box {
  background: #fff;
  border: 2px solid #f6a548;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 24px;
  color: #333;
}

#zusammenfassung-box h4 {
  color: #f6a548;
  font-weight: 600;
  margin-bottom: 8px;
}

#zusammenfassung-liste {
  margin: 0;
  padding: 0;
}

#zusammenfassung-liste li {
  list-style: none;
  padding: 4px 0;
  border-bottom: 1px solid #f2f2f2;
  font-size: 0.95rem;
}

#zusammenfassung-preis {
  display: block;
  text-align: right;
  font-size: 1.4rem;
  color: #f6a548;
  font-weight: 700;
  margin-top: 12px;
}

/* === TOOLTIP ICON STYLE === */
.tooltip-icon {
  color: #f6a548;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tooltip-icon:hover {
  transform: scale(1.2);
  color: #e6992f;
}

/* === LABEL & TOOLTIP INLINE DARSTELLUNG === */
.uk-form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.uk-form-label .tooltip-icon {
  margin-left: 4px;
  flex-shrink: 0;
  line-height: 1;
  color: #f6a548;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.uk-form-label .tooltip-icon:hover {
  transform: scale(1.2);
  color: #e6992f;
}

/* Optional – Tooltip-Styling verfeinern */
.uk-tooltip {
  background: #fffaf3;
  color: #333;
  border: 1px solid #f6a548;
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 8px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  /* Grid-Container korrekt einrichten */
  .uk-grid[uk-grid] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0 !important; /* UIkit entfernt Standardspacing */
  }

  /* Einzelne Grid-Items sauber zentrieren */
  .uk-grid[uk-grid] > * {
    width: 100%;
    max-width: 300px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}



