/* ==================================================
   Onlinebewertung – Danke-/Ergebnisseite
   Keine .btn-Regel hier, damit die Navigation aus style.css unverändert bleibt.
================================================== */

.owb-thanks-section {
  padding: 40px 16px;
  background: #f4f1ec;
}

.owb-thanks-section .box {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 28px;
}

.owb-thanks-section h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.owb-thanks-section p {
  font-size: 16px;
  line-height: 1.55;
}

.owb-thanks-section .result-box {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #ead7a8;
  border-left: 5px solid #E67E22;
  border-radius: 12px;
  background: #fffdf7;
}
/* Honeypot-Spamschutz: für echte Nutzer unsichtbar */
.owb-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.owb-thanks-section .result-box h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.owb-thanks-section .result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.owb-thanks-section .result-item {
  padding: 12px;
  border: 1px solid #ead7a8;
  border-radius: 10px;
  background: #fff;
}

.owb-thanks-section .result-item span {
  display: block;
  margin-bottom: 4px;
  color: #6f665d;
  font-size: 12px;
}

.owb-thanks-section .result-item strong {
  display: block;
  color: #111;
  font-size: 20px;
}

.owb-thanks-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 15px;
}

.owb-thanks-section th,
.owb-thanks-section td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  text-align: left;
}

.owb-thanks-section th {
  width: 280px;
  background: #faf7f2;
}

.owb-thanks-section .hint {
  margin-top: 20px;
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.owb-thanks-section .mail-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.owb-thanks-section .mail-status.ok {
  border: 1px solid #cfe8d1;
  background: #f4fbf4;
  color: #245b2a;
}

.owb-thanks-section .mail-status.error {
  border: 1px solid #f0c7bd;
  background: #fff6f3;
  color: #7a2d1f;
}

.onlinebewertung-progress {
            margin: 22px 0;
            padding: 14px 18px;
            background: #fff;
            border: 1px solid #e3ddd5;
            border-radius: 12px;
        }

        .onlinebewertung-progress__top {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .onlinebewertung-progress__bar {
            height: 8px;
            background: #eee7df;
            border-radius: 999px;
            overflow: hidden;
        }

        .onlinebewertung-progress__fill {
            height: 100%;
            width: 0;
            background: #E67E22;
            transition: width 0.25s ease;
        }

        .onlinebewertung-progress .onlinebewertung-progress__hint {
            display: block;
            margin: 8px 0 0;
            color: #5f5a54;
            font-size: 12px;
            line-height: 1.3;
            font-style: italic;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #onlinebewertungForm {
            position: relative;
        }

        #onlinebewertungForm .form-step {
            min-height: 560px;
        }

        .onlinebewertung-result-preview {
            margin: 0 0 22px;
            padding: 18px 20px;
            border: 1px solid #ead7a8;
            border-left: 5px solid #E67E22;
            border-radius: 12px;
            background: #fffdf7;
        }

        .onlinebewertung-result-preview__label {
            margin-bottom: 8px;
            color: #222;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .onlinebewertung-result-preview__body {
            color: #292522;
            font-size: 15px;
            line-height: 1.55;
        }

        .onlinebewertung-result-preview__metrics {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin: 14px 0;
        }

        .onlinebewertung-result-preview__metric {
            padding: 12px;
            border: 1px solid #ead7a8;
            border-radius: 10px;
            background: #ffffff;
        }

        .onlinebewertung-result-preview__metric span {
            display: block;
            margin-bottom: 4px;
            color: #6f665d;
            font-size: 12px;
        }

        .onlinebewertung-result-preview__metric strong {
            display: block;
            color: #111;
            font-size: 20px;
        }

        .onlinebewertung-result-preview__note {
            margin-top: 12px;
            color: #5f5a54;
            font-size: 12px;
            line-height: 1.45;
            font-style: italic;
        }

        .onlinebewertung-result-preview__sections {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-top: 16px;
        }

        .onlinebewertung-result-preview__section {
            padding: 12px;
            border: 1px solid #e7dfd4;
            border-radius: 10px;
            background: #fff;
        }

        .onlinebewertung-result-preview__section strong {
            display: block;
            margin-bottom: 6px;
            color: #111;
            font-size: 14px;
        }

        .onlinebewertung-result-preview__section p {
            margin: 0;
            color: #4f4842;
            font-size: 13px;
            line-height: 1.45;
        }

        @media (max-width: 768px) {
            .onlinebewertung-result-preview__sections {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            #onlinebewertungForm .form-step {
                min-height: auto;
            }

            .onlinebewertung-progress__top {
                flex-direction: column;
                gap: 4px;
            }

            .onlinebewertung-result-preview__metrics {
                grid-template-columns: 1fr;
            }
            .owb-hp-field {
                position: absolute;
                left: -9999px;
                width: 1px;
                height: 1px;
                overflow: hidden;
            }
        }

@media (max-width: 768px) {
  .owb-thanks-section .box {
    padding: 22px;
  }

  .owb-thanks-section .result-grid {
    grid-template-columns: 1fr;
  }

  .owb-thanks-section th,
  .owb-thanks-section td {
    display: block;
    width: auto;
  }

  .owb-thanks-section th {
    border-bottom: 0;
  }
}