﻿#contact_section .container {
  width: 100%;
}

#contact_section p {
  font-size: 0.75rem;
}

.background-primary {
  background-color: #8a8a8a !important;
  border-radius: 0 !important;
}

#contact_section .background-primary h2 {
  font-weight: 400;
}

#contact_section .tablet-break {
  display: none;
}

#contact_section h2 {
  font-weight: 400;
  font-size: clamp(1.618rem, 2.618vw, 2.2rem);
  line-height: 1.2;
}

@media (min-width: 992px) {
  #contact_section .background-primary h2 {
    white-space: nowrap;
  }
}

#contact_section .form-control {
  height: 36px;
  background: #fff;
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.875rem;
  border-radius: 0;
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.375rem 0.75rem;
}

#contact_section .contactForm .form-control {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 0;
  padding-right: 0;
}

#contact_section .form-control:focus,
#contact_section .form-control:active {
  border-color: var(--main-brand-color) !important;
}

#contact_section .form-label {
  color: #000;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;
  letter-spacing: 0.03em;
}

#contact_section .btn.btn-primary {
  background: var(--main-brand-color) !important;
  border-color: var(--main-brand-color) !important;
  color: #fff;
  min-width: 130px;
  border-radius: 0 !important;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: background 0.2s ease !important;
}

#contact_section .btn.btn-primary:hover {
  background-color: var(--main-brand-hover) !important;
  border-color: var(--main-brand-hover) !important;
  box-shadow: none !important;
  transform: none !important;
}

#contact_section .btn.btn-primary:focus,
#contact_section .btn.btn-primary:active {
  background-color: var(--main-brand-hover) !important;
  border-color: var(--main-brand-hover) !important;
  box-shadow: none !important;
  transform: none !important;
}

#contact_section .btn.btn-primary:disabled,
#contact_section .btn.btn-primary.is-loading {
  opacity: 0.85;
  cursor: not-allowed;
}

#contact_section .is-invalid {
  border-bottom-color: #b12222 !important;
}

#contact_section .field-error {
  color: #b12222;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.35;
}


/* Media Query für Handys */

@media only screen and (max-width: 768px) {
  #contact_section .container {
    width: 100% !important;
  }
  #contact_section .background-primary h2 {
    white-space: normal;
    text-align: left;
    margin-bottom: 0.5rem;
  }
  #contact_section .contact-space {
    height: 1rem;
    margin: 0;
  }
  .contact-space-footer {
    display: none;
  }
}

/* Media Query für Tablets */

@media only screen and (min-width: 768px) and (max-width: 1199.98px) {
  #contact_section .container {
    width: 100% !important;
  }
  #contact_section .background-primary h2 {
    white-space: normal;
  }
  #contact_section .tablet-break {
    display: inline;
  }
  .contact-space {
    height: 0.4rem;
    margin: 0;
  }
}


/* =====================================================
   DESIGN-VORSCHLÄGE – Links/Rechts Kacheln
   ===================================================== */

/* --- Wrapper & Labels --- */
.proposals-wrapper {
  background: #fff;
  padding: 5rem 0 3rem;
}
.proposal-block { margin-bottom: 4rem; }
.proposal-label-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.proposal-tag {
  display: inline-block; background: var(--main-brand-color); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.3rem 0.9rem; border-radius: 100px; white-space: nowrap;
}
.proposal-name { font-size: 0.8rem; color: var(--secondary-text-color); font-style: italic; }

/* --- Shared --- */
.cpl-row { min-height: 500px; }
.cpl-eyebrow {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--main-brand-color); margin-bottom: 0.5rem;
}
.cpl-left-title {
  font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700;
  color: var(--text-color); line-height: 1.2; margin-bottom: 1.5rem;
}
.cpl-right-title {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700;
  color: var(--text-color); margin-bottom: 1.5rem;
}
.cpl-field-label {
  display: block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--secondary-text-color); margin-bottom: 0.35rem;
}
.cpl-input {
  width: 100%; height: 40px; background: #fff;
  border: 1.5px solid rgba(0,0,0,0.1); border-radius: 0.4rem;
  padding: 0 0.75rem; font-size: 0.875rem; font-family: "Poppins", sans-serif;
  color: var(--text-color); outline: none; appearance: auto;
  transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.cpl-input:focus {
  border-color: var(--main-brand-color);
  box-shadow: 0 0 0 3px rgba(177,34,34,0.1);
}
.cpl-textarea { height: auto; padding: 0.55rem 0.75rem; resize: none; }
.cpl-btn {
  background: var(--main-brand-color); color: #fff; border: none;
  border-radius: 0.5rem; padding: 0.7rem 2rem; font-weight: 600;
  font-size: 0.875rem; font-family: "Poppins", sans-serif;
  cursor: pointer; min-width: 150px; transition: background 0.2s, transform 0.15s;
}
.cpl-btn:hover { background: var(--main-brand-hover); transform: translateY(-1px); }

/* Field-grid: jedes Feld eine Kachel */
.cpl-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.cpl-full { grid-column: 1 / -1; }
.cpl-field-tile {
  background: #fff; border-radius: 0.5rem; padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06); border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cpl-field-tile:focus-within {
  border-color: var(--main-brand-color);
  box-shadow: 0 4px 14px rgba(177,34,34,0.12);
}
.cpl-field-tile .cpl-input { border: none; border-bottom: 1.5px solid rgba(0,0,0,0.08); border-radius: 0; padding-left: 0; padding-right: 0; box-shadow: none !important; }
.cpl-field-tile .cpl-input:focus { border-bottom-color: var(--main-brand-color); }
.cpl-wa-icon { background: #25d366 !important; }

/* ── VORSCHLAG A – Hell & Strukturiert ── */
.cpl-a-left { background: #f5f6f8; }

.cpl-a-info-tiles { display: flex; flex-direction: column; gap: 0.75rem; }
.cpl-a-info-tile {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border-radius: 0.6rem; padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
  border: 1.5px solid transparent; transition: border-color 0.2s, transform 0.15s;
  color: var(--text-color);
}
.cpl-a-info-tile-link:hover { border-color: var(--main-brand-color); transform: translateX(3px); }
.cpl-a-tile-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--main-brand-color);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #fff; font-size: 0.9rem;
}
.cpl-a-tile-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-text-color); margin: 0; }
.cpl-a-tile-val { font-size: 0.82rem; font-weight: 600; color: var(--text-color); margin: 0; line-height: 1.4; }
.cpl-a-right { background: #fff; }

/* ── VORSCHLAG B – Rot & Kacheln ── */
.cpl-b-left { background: var(--main-brand-color); }
.cpl-b-tiles { display: flex; flex-direction: column; gap: 0.65rem; }
.cpl-b-tile {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.15); border-radius: 0.5rem;
  padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.2);
  color: #fff; transition: background 0.2s;
}
.cpl-b-tile:hover { background: rgba(255,255,255,0.25); color: #fff; }
.cpl-b-tile-icon { font-size: 1.1rem; color: rgba(255,255,255,0.85); flex-shrink: 0; }
.cpl-b-tile-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.65); margin: 0; }
.cpl-b-tile-val { font-size: 0.8rem; font-weight: 600; color: #fff; margin: 0; line-height: 1.4; }
.cpl-b-right { background: #fafafa; }
.cpl-b-tile-field {
  background: #fff; border-radius: 0.5rem; padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
  border-left: 3px solid transparent; border-top: 1.5px solid rgba(0,0,0,0.06);
  border-right: 1.5px solid rgba(0,0,0,0.06); border-bottom: 1.5px solid rgba(0,0,0,0.06);
  transition: border-left-color 0.2s, box-shadow 0.2s;
}
.cpl-b-tile-field:focus-within { border-left-color: var(--main-brand-color); box-shadow: 0 4px 14px rgba(177,34,34,0.1); }
.cpl-b-tile-field .cpl-input { border: none; border-bottom: 1.5px solid rgba(0,0,0,0.08); border-radius: 0; padding-left: 0; padding-right: 0; box-shadow: none !important; }
.cpl-b-tile-field .cpl-input:focus { border-bottom-color: var(--main-brand-color); }

/* ── VORSCHLAG C – Dunkel & Premium ── */
.cpl-c-left { background: var(--text-color); }
.cpl-c-tiles { display: flex; flex-direction: column; gap: 0.65rem; }
.cpl-c-tile {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.05); border-radius: 0.6rem;
  padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85); transition: background 0.2s, border-color 0.2s;
}
.cpl-c-tile:hover { background: rgba(255,255,255,0.1); border-color: rgba(177,34,34,0.5); color: #fff; }
.cpl-c-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--main-brand-color);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff; font-size: 0.9rem;
}
.cpl-c-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin: 0; }
.cpl-c-val { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.4; }
.cpl-c-right { background: #fff; }
.cpl-c-field {
  background: #f8f9fa; border-radius: 0.5rem; padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.07); transition: border-color 0.2s, background 0.2s;
}
.cpl-c-field:focus-within { border-color: var(--main-brand-color); background: #fff; }
.cpl-c-input { background: transparent !important; border: none !important; border-bottom: 1.5px solid rgba(0,0,0,0.1) !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; }
.cpl-c-input:focus { border-bottom-color: var(--main-brand-color) !important; }

/* ── VORSCHLAG D – Warm & Offen ── */
.cpl-d-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); padding: 0 !important; }
.cpl-d-left { background: #fff8f5; border-right: 1px solid rgba(177,34,34,0.08); }
.cpl-d-sub { font-size: 0.85rem; color: var(--secondary-text-color); margin-bottom: 1.5rem; line-height: 1.6; margin-top: -0.75rem; }
.cpl-d-tiles { display: flex; flex-direction: column; gap: 0.75rem; }
.cpl-d-tile {
  display: flex; align-items: center; gap: 0.85rem;
  background: #fff; border-radius: 0.6rem; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(177,34,34,0.08); transition: border-color 0.2s, transform 0.15s;
  color: var(--text-color);
}
.cpl-d-tile:hover { border-color: var(--main-brand-color); transform: translateX(2px); color: var(--text-color); }
.cpl-d-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--main-brand-color);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff; font-size: 0.85rem;
}
.cpl-d-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-text-color); margin: 0; }
.cpl-d-val { font-size: 0.8rem; font-weight: 600; color: var(--text-color); margin: 0; line-height: 1.4; }
.cpl-d-right { background: #fff; }
.cpl-d-field {
  background: #fff; border-radius: 0.5rem; padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.07); border-top: 3px solid transparent;
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.cpl-d-field:focus-within { border-top-color: var(--main-brand-color); box-shadow: 0 4px 14px rgba(177,34,34,0.08); }
.cpl-d-input { border: none !important; border-bottom: 1.5px solid rgba(0,0,0,0.08) !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; background: transparent !important; box-shadow: none !important; }
.cpl-d-input:focus { border-bottom-color: var(--main-brand-color) !important; }

/* ── VORSCHLAG E – Symmetrisch & Großzügig ── */
.cpl-e-container { padding: 0 !important; }
.cpl-e-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 2.5rem; height: 100%; }
.cpl-e-left-panel { }
.cpl-e-right-panel { }
.cpl-e-intro { font-size: 0.875rem; color: var(--secondary-text-color); line-height: 1.618; margin-bottom: 1.5rem; margin-top: -0.75rem; }
.cpl-e-tiles { display: flex; flex-direction: column; gap: 0.65rem; }
.cpl-e-tile {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.85rem; border-radius: 0.5rem;
  border: 1.5px solid rgba(0,0,0,0.07); transition: border-color 0.2s, background 0.2s;
  color: var(--text-color);
}
.cpl-e-tile:hover { border-color: var(--main-brand-color); background: rgba(177,34,34,0.03); color: var(--text-color); }
.cpl-e-icon {
  width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: var(--main-brand-color);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  flex-shrink: 0; color: #fff; font-size: 1rem;
}
.cpl-e-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-text-color); margin: 0; }
.cpl-e-val { font-size: 0.8rem; font-weight: 600; color: var(--text-color); margin: 0; line-height: 1.4; }
.cpl-e-field {
  background: #f8f9fa; border-radius: 0.5rem; padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.07); transition: border-color 0.2s, background 0.2s;
}
.cpl-e-field:focus-within { border-color: var(--main-brand-color); background: #fff; }
.cpl-e-input { border: none !important; border-bottom: 1.5px solid rgba(0,0,0,0.1) !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; background: transparent !important; box-shadow: none !important; }
.cpl-e-input:focus { border-bottom-color: var(--main-brand-color) !important; }

/* --- Responsive --- */
@media (max-width: 991px) {
  .cpl-field-grid { grid-template-columns: 1fr; }
  .cpl-d-left { border-right: none; border-bottom: 1px solid rgba(177,34,34,0.08); }
  .cpl-e-panel { height: auto; }
}
@media (max-width: 576px) {
  .proposal-label-wrap { flex-direction: column; align-items: flex-start; }
}
