/* ==========================================================================
   Jürgens Hotelausstatter – tools.css
   Zimmerausstattungs-Rechner + Matratzen-Hygiene-Funnel
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared Tool Wrapper
   -------------------------------------------------------------------------- */
.juergens-tool {
  background: var(--bg-card);
  border: 1px solid rgba(200,169,106,.18);
  border-radius: 6px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.tool-header {
  background: linear-gradient(135deg, var(--bg-layer) 0%, rgba(200,169,106,.06) 100%);
  border-bottom: 1px solid rgba(200,169,106,.15);
  padding: 36px 48px;
  text-align: center;
}

.tool-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.tool-header p {
  color: var(--text-sec);
  font-size: .92rem;
}

/* Progress Bar */
.tool-progress {
  background: var(--bg-layer);
  padding: 20px 48px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 0;
}

.progress-step {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step:last-child { flex: 0; }

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-meta);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all .3s ease;
}

.step-dot.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,106,.1);
  box-shadow: 0 0 0 4px rgba(200,169,106,.12);
}

.step-dot.done {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-main);
}

.step-dot.done::before {
  content: '✓';
  font-size: .8rem;
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.08);
  margin: 0 4px;
  transition: background .4s ease;
}

.step-line.done { background: var(--gold); }

.step-label {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-meta);
  white-space: nowrap;
}

.step-dot.active + .step-label,
.step-dot.active ~ .step-label { color: var(--gold); }

/* Tool Body */
.tool-body {
  padding: 48px;
}

/* Steps */
.tool-step { display: none; }
.tool-step.active { display: block; }

.step-question {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-hint {
  font-size: .88rem;
  color: var(--text-meta);
  margin-bottom: 32px;
}

/* Number Input with Slider */
.number-input-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.number-input-large {
  width: 120px;
  height: 64px;
  background: var(--bg-layer);
  border: 2px solid rgba(200,169,106,.3);
  border-radius: 4px;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color .25s;
}

.number-input-large:focus { border-color: var(--gold); }

.slider-wrap {
  flex: 1;
  min-width: 200px;
}

.tool-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gold) 0%, var(--bg-layer) 0%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.tool-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(200,169,106,.4);
  transition: transform .2s;
}

.tool-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.tool-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .72rem;
  color: var(--text-meta);
}

/* Option Cards (Stars, Categories) */
.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.option-card {
  background: var(--bg-layer);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
}

.option-card:hover {
  border-color: rgba(200,169,106,.4);
  background: rgba(200,169,106,.05);
}

.option-card.selected {
  border-color: var(--gold);
  background: rgba(200,169,106,.08);
  box-shadow: 0 0 0 3px rgba(200,169,106,.12);
}

.option-card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.option-card .card-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.option-card .card-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: .06em;
}

.option-card .card-sub {
  font-size: .72rem;
  color: var(--text-meta);
  margin-top: 4px;
}

/* Checkbox Options */
.checkbox-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.checkbox-option {
  background: var(--bg-layer);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkbox-option:hover {
  border-color: rgba(200,169,106,.35);
}

.checkbox-option.selected {
  border-color: var(--gold);
  background: rgba(200,169,106,.07);
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.checkbox-option.selected .checkbox-box {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-option.selected .checkbox-box::after {
  content: '✓';
  font-size: .72rem;
  color: var(--bg-main);
  font-weight: 700;
}

.checkbox-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-white);
}

.checkbox-sub {
  font-size: .78rem;
  color: var(--text-meta);
  display: block;
  margin-top: 2px;
}

/* Navigation Buttons */
.tool-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.tool-nav .btn-back {
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text-sec);
  padding: 12px 24px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}

.tool-nav .btn-back:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tool-nav .btn-next {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-main);
  padding: 14px 36px;
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}

.tool-nav .btn-next:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,106,.35);
}

.tool-nav .btn-next:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   RESULTS PANEL
   ========================================================================== */
.tool-result {
  display: none;
}

.tool-result.active {
  display: block;
}

.result-header {
  text-align: center;
  margin-bottom: 40px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,106,.12);
  border: 1px solid rgba(200,169,106,.3);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.result-subtitle {
  color: var(--text-sec);
  font-size: .95rem;
}

/* Budget Summary Cards */
.result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.summary-card {
  background: var(--bg-layer);
  border: 1px solid rgba(200,169,106,.15);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
}

.summary-card .summary-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.summary-card .summary-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-sec);
}

/* ROI Cards */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.roi-card {
  background: var(--bg-layer);
  border-radius: 4px;
  padding: 24px;
}

.roi-card.danger { border-left: 3px solid #E05A5A; }
.roi-card.success { border-left: 3px solid #5AE08A; }
.roi-card.gold { border-left: 3px solid var(--gold); }

.roi-card .roi-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.roi-card .roi-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 6px;
}

.roi-card .roi-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.roi-card.danger .roi-value { color: #E05A5A; }
.roi-card.success .roi-value { color: #5AE08A; }
.roi-card.gold .roi-value { color: var(--gold); }

.roi-card .roi-desc {
  font-size: .82rem;
  color: var(--text-meta);
  line-height: 1.5;
}

/* Hygiene Score */
.hygiene-score-wrap {
  background: var(--bg-layer);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.hygiene-score-bar {
  height: 10px;
  background: var(--bg-main);
  border-radius: 5px;
  overflow: hidden;
  margin: 16px 0 8px;
}

.hygiene-score-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}

.score-low { background: linear-gradient(90deg, #E05A5A, #E07A3A); }
.score-mid { background: linear-gradient(90deg, #E0A83A, var(--gold)); }
.score-high { background: linear-gradient(90deg, var(--gold), #5AE08A); }

/* CF7 Form in Result */
.result-cta-wrap {
  background: linear-gradient(135deg, rgba(200,169,106,.06) 0%, transparent 100%);
  border: 1px solid rgba(200,169,106,.2);
  border-radius: 4px;
  padding: 36px;
  margin-top: 32px;
}

.result-cta-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.result-cta-sub {
  font-size: .88rem;
  color: var(--text-sec);
  margin-bottom: 28px;
}

/* CF7 overrides inside tool */
.juergens-tool .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.juergens-tool .wpcf7-form .field-full {
  grid-column: 1 / -1;
}

.juergens-tool .wpcf7-form input[type="text"],
.juergens-tool .wpcf7-form input[type="email"],
.juergens-tool .wpcf7-form input[type="tel"],
.juergens-tool .wpcf7-form textarea,
.juergens-tool .wpcf7-form select {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid rgba(200,169,106,.25);
  border-radius: 3px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}

.juergens-tool .wpcf7-form input:focus,
.juergens-tool .wpcf7-form textarea:focus,
.juergens-tool .wpcf7-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,106,.1);
}

.juergens-tool .wpcf7-form input::placeholder,
.juergens-tool .wpcf7-form textarea::placeholder {
  color: var(--text-meta);
}

.juergens-tool .wpcf7-form .wpcf7-submit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-main);
  border: none;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s ease;
  width: 100%;
}

.juergens-tool .wpcf7-form .wpcf7-submit:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 8px 24px rgba(200,169,106,.35);
  transform: translateY(-2px);
}

.juergens-tool .wpcf7-response-output {
  font-size: .85rem;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 3px;
}

/* ==========================================================================
   Page-Level SEO Text Sections
   ========================================================================== */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(200,169,106,.1);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,169,106,.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content { max-width: 700px; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p.lead {
  font-size: 1.1rem;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 32px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .78rem;
  color: var(--text-meta);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-meta); }

.content-section {
  padding: 80px 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(255,255,255,.06);
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.content-section h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-section p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: .97rem;
}

.content-section ul {
  margin-bottom: 18px;
  padding-left: 0;
}

.content-section ul li {
  color: var(--text-body);
  font-size: .97rem;
  line-height: 1.7;
  padding: 6px 0 6px 26px;
  position: relative;
}

.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* Two-Col Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.two-col-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(200,169,106,.15);
}

/* Feature List */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid rgba(200,169,106,.12);
  border-radius: 4px;
  padding: 24px;
  transition: border-color .25s;
}

.feature-box:hover { border-color: rgba(200,169,106,.3); }

.feature-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: .85rem;
  color: var(--text-meta);
  margin: 0;
  line-height: 1.6;
}

.feature-box-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--bg-layer) 0%, rgba(200,169,106,.06) 100%);
  border: 1px solid rgba(200,169,106,.15);
  border-radius: 6px;
  padding: 48px;
  text-align: center;
  margin: 60px 0;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--text-sec);
  margin-bottom: 28px;
  font-size: .97rem;
}

.cta-strip .cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Kontakt Form Page */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.kontakt-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.kontakt-detail .detail-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 4px;
}

.kontakt-detail .detail-value {
  font-size: .95rem;
  color: var(--text-body);
}

.kontakt-detail .detail-value a { color: var(--gold); }

/* CF7 Full-Page Override */
.cf7-styled .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf7-styled .field-full { grid-column: 1 / -1; }

.cf7-styled .wpcf7-form label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 6px;
}

.cf7-styled .wpcf7-form input[type="text"],
.cf7-styled .wpcf7-form input[type="email"],
.cf7-styled .wpcf7-form input[type="tel"],
.cf7-styled .wpcf7-form textarea,
.cf7-styled .wpcf7-form select {
  width: 100%;
  background: var(--bg-layer);
  border: 1px solid rgba(200,169,106,.2);
  border-radius: 3px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}

.cf7-styled .wpcf7-form input:focus,
.cf7-styled .wpcf7-form textarea:focus,
.cf7-styled .wpcf7-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,106,.1);
}

.cf7-styled .wpcf7-form input::placeholder,
.cf7-styled .wpcf7-form textarea::placeholder { color: var(--text-meta); }

.cf7-styled .wpcf7-form .wpcf7-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-main);
  border: none;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s ease;
  grid-column: 1 / -1;
}

.cf7-styled .wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,106,.35);
}

/* Responsive */
@media (max-width: 768px) {
  .tool-header, .tool-body { padding: 28px 24px; }
  .tool-progress { padding: 16px 24px; }
  .two-col { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .cf7-styled .wpcf7-form { grid-template-columns: 1fr; }
  .juergens-tool .wpcf7-form { grid-template-columns: 1fr; }
  .cta-strip { padding: 32px 24px; }
  .step-label { display: none; }
}

@media (max-width: 480px) {
  .result-summary { grid-template-columns: 1fr; }
  .option-cards { grid-template-columns: 1fr 1fr; }
}
