@import url("https://use.typekit.net/fge6sux.css");
/* 
   Magic Moments – Wedding Events | Webformular Stylesheet
   CI: Hellrosa #F0C4CB | Dunkelrosa #C87D87 | Thymian #6B7556
   Biskuit #E5BCA9 | Beige #FBEAD6
   Fonts: Snell Roundhand (Haupttitel/Untertitel), Acumin Pro SemiCondensed
    */

/*  Variables */
:root {
  --hellrosa: #f0c4cb;
  --dunkelrosa: #c87d87;
  --thymian: #6b7556;
  --biskuit: #e5bca9;
  --beige: #fbead6;

  --text-dark: #2a2420;
  --text-mid: #5a524e;
  --text-light: #8c837e;
  --white: #ffffff;
  --off-white: #fdf9f5;

  --border: #e8ddd8;
  --border-focus: #c87d87;
  --font-display: "acumin-pro-semi-condensed", sans-serif;
  --font-body: "Acumin Pro SemiCondensed", "Gill Sans", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-soft: 0 2px 16px rgba(200, 125, 135, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--hellrosa);
  padding: 0.75rem 2rem 1rem;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-box {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  line-height: 1.3;
  border: 1px solid var(--text-dark);
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
}

.logo-m {
  color: var(--dunkelrosa);
}

.logo-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--dunkelrosa);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.site-logo {
  max-width: 120px;
  height: auto;
  display: block;
}

.header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--biskuit),
    var(--hellrosa),
    transparent
  );
  margin-bottom: 0.5rem;
}

/*Quelle 3 Start */

/* MAIN LAYOUT */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

/* PAGE INTRO */
.page-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.page-overtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dunkelrosa);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}

.ornament-line {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* SUCCESS BOX */
.success-box {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--hellrosa);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
}

.success-icon {
  color: var(--dunkelrosa);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-box h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.success-box p {
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto;
}

/* ERROR SUMMARY */

.error-summary {
  background: #fdf1f2;
  border: 1px solid var(--dunkelrosa);
  border-left: 4px solid var(--dunkelrosa);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #8a3a45;
}

.error-summary strong {
  display: block;
  margin-bottom: 0.5rem;
}
.error-summary ul {
  padding-left: 1.25rem;
}
.error-summary li {
  margin: 0.25rem 0;
}

/* FIELDSET / FORM GROUP */

fieldset.form-group {
  border: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
  padding: 0;
  overflow: hidden;
}

fieldset.form-group legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(135deg, var(--hellrosa) 100%);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--hellrosa);
}

.group-letter {
  width: 32px;
  height: 32px;
  background: var(--dunkelrosa);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.group-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
}

.field-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 0;
}

.field-row.two-col {
  grid-template-columns: 1fr 1fr;
}
.field-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Quelle 3 Ende */

@media (max-width: 600px) {
  .field-row.two-col,
  .field-row.three-col {
    grid-template-columns: 1fr;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* standalone field inside fieldset (no row wrapper) */
fieldset.form-group > .field {
  padding: 1.25rem 1.5rem 0;
}

fieldset.form-group > .field:last-of-type {
  padding-bottom: 1.5rem;
}

.field-row:last-child {
  padding-bottom: 1.5rem;
}

/* FIELDS */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label,
.label-block {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.char-hint {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.req {
  color: var(--dunkelrosa);
}

/* Inputs, selects, textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(200, 125, 135, 0.15);
  background: var(--white);
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: #d85a5a;
  background: #fff8f8;
}

.field-error {
  font-size: 0.8rem;
  color: #c0393a;
  margin-top: -0.1rem;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C87D87' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.char-counter {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: right;
  margin-top: -0.25rem;
}

/* CHECKBOXES */

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.25rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-dark);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition:
    border-color 0.15s,
    background 0.15s;
  user-select: none;
}

.check-label:hover {
  border-color: var(--hellrosa);
  background: var(--beige);
}

.check-label input[type="checkbox"] {
  display: none;
}

.check-custom {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--biskuit);
  border-radius: var(--radius-sm);
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.check-label input:checked ~ .check-custom {
  background: var(--dunkelrosa);
  border-color: var(--dunkelrosa);
}

.check-label input:checked ~ .check-custom::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check-label input:checked ~ .check-custom ~ * {
  color: var(--text-dark);
  font-weight: 400;
}
.check-label:has(input:checked) {
  border-color: var(--dunkelrosa);
  background: #fdf0f2;
}

/* RANGE SLIDER */

.field label:has(+ .range-wrapper),
.field > label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.budget-display {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dunkelrosa);
  letter-spacing: 0.02em;
}

.range-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.range-min,
.range-max {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--dunkelrosa) 0%,
    var(--hellrosa) 100%
  );
  border-radius: 2px;
  border: none;
  padding: 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--dunkelrosa);
  box-shadow: 0 1px 4px rgba(200, 125, 135, 0.3);
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type="range"]:focus {
  box-shadow: none;
}

/* RADIO CARDS (Stil) */

.radio-grid {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.radio-card {
  flex: 1 1 130px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.75rem;
  text-align: center;
  background: var(--off-white);
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.1s;
  user-select: none;
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card:hover {
  border-color: var(--hellrosa);
  background: var(--beige);
  transform: translateY(-1px);
}

.radio-card.checked,
.radio-card:has(input:checked) {
  border-color: var(--dunkelrosa);
  background: linear-gradient(135deg, #fdf0f2, var(--beige));
  box-shadow: 0 2px 8px rgba(200, 125, 135, 0.15);
}

.radio-style-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
}

.radio-card.checked .radio-style-name,
.radio-card:has(input:checked) .radio-style-name {
  color: var(--dunkelrosa);
  font-weight: 500;
}

/* 
   RADIO PILLS (Ja/Nein)
    */
.radio-inline {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.radio-pill {
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.45rem 1.4rem;
  font-size: 0.92rem;
  background: var(--off-white);
  transition:
    border-color 0.15s,
    background 0.15s;
  user-select: none;
}

.radio-pill input[type="radio"] {
  display: none;
}

.radio-pill:hover {
  border-color: var(--hellrosa);
  background: var(--beige);
}

.radio-pill.checked,
.radio-pill:has(input:checked) {
  border-color: var(--dunkelrosa);
  background: var(--dunkelrosa);
  color: var(--white);
}

/*FILE UPLOAD*/

.file-upload-wrapper {
  position: relative;
}
.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  border: 2px dashed var(--biskuit);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  background: var(--beige);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.file-upload-wrapper:hover .file-upload-label {
  border-color: var(--dunkelrosa);
  background: #fdf0f2;
}

.file-icon {
  font-size: 1.4rem;
  color: var(--dunkelrosa);
}
.file-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  font-weight: 400;
}
.file-hint {
  font-size: 0.78rem;
  color: var(--text-light);
}
.file-name {
  font-size: 0.82rem;
  color: var(--dunkelrosa);
  margin-top: 0.4rem;
  display: block;
}

/* FORM FOOTER & SUBMIT*/
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.required-note {
  font-size: 0.82rem;
  color: var(--text-light);
}

.submit-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dunkelrosa);
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition:
    background 0.2s,
    transform 0.1s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(200, 125, 135, 0.3);
}

.submit-btn:hover {
  background: #b86d78;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 125, 135, 0.4);
}

.submit-btn:active {
  transform: scale(0.98);
}

.btn-ornament {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/*FOOTER*/
.site-footer {
  background: var(--thymian);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  margin-top: 4rem;
}

.footer-logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-logo .logo-m {
  color: var(--hellrosa);
}

.footer-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

.site-footer a {
  color: var(--hellrosa);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Gestaltungselement */

.ornament-divider {
  text-align: center;
  color: var(--biskuit);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  margin: 0.5rem 0;
  user-select: none;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .page-title {
    font-size: 1.9rem;
  }
  main {
    padding: 2rem 1rem 3rem;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .submit-btn {
    justify-content: center;
  }
  .radio-grid {
    flex-direction: column;
  }
  .radio-card {
    flex: 1 1 auto;
  }
}

/* Buttons weiter und zurück*/
.step-buttons {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.step-buttons button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  border: 1.5px solid var(--dunkelrosa);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  background: transparent;
  color: var(--dunkelrosa);
}

.step-buttons button:last-child {
  background: var(--dunkelrosa);
  color: white;
}

.step-buttons button:hover {
  opacity: 0.85;
}
