/* =========================================================
   ORDENS­SPANGEN KONFIGURATOR – STYLE.CSS (STABIL / FINAL)
========================================================= */

/* =========================
   BASIS
========================= */
* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #5E81A1;
}

/* =========================
   KONFIGURATOR (WIE VORHER)
========================= */
.ordens-configurator {
  position: relative;
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px;
  background: #F6F6F6;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* LOGO IM KONFIGURATOR */
.konfigurator-logo {
  position: absolute;
  top: 20px;
  right: 20px;
}

.konfigurator-logo img {
  max-width: 140px;
  height: auto;
}

/* =========================
   ÜBERSCHRIFTEN
========================= */
h2 {
  text-align: center;
  font-size: 34px;
  margin: 0 0 30px;
}

h3 {
  margin-top: 45px;
  margin-bottom: 15px;
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #dcdcdc;
}

/* =========================
   EINLEITUNGSTEXT
========================= */
.intro-text {
  text-align: center;
  max-width: 720px;
  margin: 40px auto 45px; /* ⬅ 2 Zeilen Abstand */
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* =========================
   FORMULAR
========================= */
label {
  display: block;
  margin-top: 22px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}

.hinweis {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #cfcfcf;
  font-size: 15px;
  background: #ffffff;
}

textarea {
  min-height: 120px;
  resize: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #000;
}

/* =========================
   UNTERMENÜ-BOXEN
========================= */
.box {
  margin-top: 15px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dddddd;
}

/* =========================
   BILDER / THUMBNAILS
========================= */
.bild-vorschau {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.bild-vorschau .thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
  background: #fafafa;
}

.bild-vorschau .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bild-vorschau .thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #c30000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  line-height: 22px;
  padding: 0;
}

/* =========================
   ZUSAMMENFASSUNG
========================= */
#zusammenfassung {
  margin-top: 25px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dddddd;
}

/* =========================
   CHECKBOX
========================= */
.checkbox {
  margin-top: 25px;
  font-size: 15px;
}

.checkbox input {
  margin-right: 6px;
}

/* =========================
   BUTTON
========================= */
button[type="submit"] {
  margin-top: 35px;
  width: 100%;
  padding: 18px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
}

/* =========================
   DANKE-SEITE
========================= */
.danke-wrapper {
  min-height: 100vh;
  background-color: #5E81A1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.danke-box {
  position: relative;
  background: #ffffff;
  padding: 50px 55px;
  max-width: 560px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* LOGO IN DER DANKBOX */
.danke-logo {
  position: absolute;
  top: 18px;
  right: 18px;
}

.danke-logo img {
  max-width: 90px;
  height: auto;
}

.danke-box h2 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 30px;
}

.danke-box p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.danke-button {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
}
/* Link exakt wie Button stylen */
/* Shop-Link exakt wie Submit-Button */
.form-button {
  margin-top: 35px;
  width: 100%;

  padding: 18px;
  background: #000;
  color: #fff;

  border: none;
  border-radius: 12px;

  font-size: 18px;
  font-family: inherit;

  cursor: pointer;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .ordens-configurator {
    margin: 15px;
    padding: 25px;
  }

  .konfigurator-logo {
    position: static;
    text-align: center;
    margin-bottom: 20px;
  }

  .konfigurator-logo img {
    max-width: 110px;
  }

  .bild-vorschau .thumb {
    width: 75px;
    height: 75px;
  }

  .danke-box {
    padding: 40px 25px;
  }

  .danke-logo {
    position: static;
    text-align: center;
    margin-bottom: 15px;
  }

  .danke-logo img {
    max-width: 80px;
  }
}
