/* ======================================================
   Hotel Alter Posthof - Anfrage-Seite (Form + Aside)
   ====================================================== */

/* Form row variants */
.form-row--3-1 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 1.25rem; }
.form-row--1-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem; }

/* Multi-room selector */
.form-group--rooms { min-width: 0; }
.room-list { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.room-row { display: flex; align-items: center; gap: .6rem; min-width: 0; flex-wrap: wrap; }
.room-row .room-type-select {
  flex: 1 1 140px;
  min-width: 0;
  appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: .65em 1em;
  color: var(--white);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s;
}
.room-row .room-type-select:focus { outline: none; border-color: var(--gold); }
.room-row .room-type-select option { background: var(--dark-2); color: var(--white); }
.room-qty-wrap { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.room-qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.room-qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.room-qty-val { min-width: 1.4rem; text-align: center; font-size: .95rem; font-weight: 600; color: var(--white); }
.room-remove-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.35);
  font-size: .85rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.room-remove-btn:hover { border-color: #cc3333; color: #cc3333; }
.add-room-btn { align-self: flex-start; margin-top: .25rem; }
.form-group--rooms > label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .55rem;
  display: block;
}

/* Section */
.anfrage-section {
  background: var(--dark);
  padding-block: 4.5rem 5.5rem;
}

.anfrage-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--white);
}

.anfrage-section-header .section-eyebrow { color: var(--gold-light); }
.anfrage-section-header .section-title   { color: var(--white); }

.anfrage-section-desc {
  margin-inline: auto;
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  margin-top: .75rem;
  max-width: 640px;
}

/* Layout */
.anfrage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* Form card */
.anfrage-form {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(184,150,90,.15);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  gap: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Fieldset groups */
.anfrage-fieldset {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-width: 0;
}

.anfrage-fieldset--last {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.anfrage-fieldset-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .1rem;
}

.anfrage-fieldset-title svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
}

/* Form footer */
.anfrage-form-footer {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 2rem;
}

.anfrage-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1em 2em;
  font-size: 1rem;
  letter-spacing: .05em;
  align-self: flex-start;
}

.anfrage-submit-btn svg { width: 16px; height: 16px; }
.anfrage-submit-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Aside */
.anfrage-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.anfrage-aside-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,150,90,.14);
  border-top: 2px solid rgba(184,150,90,.45);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.anfrage-aside-card-icon {
  width: 38px; height: 38px;
  background: rgba(184,150,90,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.anfrage-aside-card-icon svg {
  width: 18px; height: 18px;
  color: var(--gold);
}

.anfrage-aside-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .9rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Opening hours list (variant) */
.opening-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.opening-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  font-variant-numeric: tabular-nums;
}
.opening-hours-list li span:first-child { color: rgba(255,255,255,.5); }
.opening-hours-list li span:last-child  { white-space: nowrap; }

/* Hint card special style */
.anfrage-aside-card--hint {
  background: linear-gradient(140deg, rgba(184,150,90,.1) 0%, rgba(184,150,90,.03) 100%);
  border-color: rgba(184,150,90,.3);
  border-top-color: var(--gold);
}

.anfrage-aside-hint-text {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.anfrage-aside-book-btn {
  width: 100%;
  text-align: center;
  padding: .7em 1.4em;
}

/* Responsive */
@media (max-width: 960px) {
  .anfrage-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .anfrage-form        { padding: 1.25rem; }
  .form-row--3-1,
  .form-row--1-2       { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 360px) {
  .anfrage-form        { padding: .875rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: .95rem; }
}
