/* Almanya'da ev kiralama sayfası */

.ev-page {
  background: var(--bg-primary);
}

/* ─── Hero ─── */

.ev-hero {
  padding: 168px 0 40px;
}

.ev-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}

.ev-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ev-hero-actions .btn {
  padding: 14px 26px;
}

.ev-fee-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 560px;
  margin: 22px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: #fbf6f0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ev-fee-note i,
.ev-form-fee i {
  color: var(--gold);
  margin-top: 4px;
}

.ev-fee-note strong,
.ev-form-fee strong {
  color: var(--brand-navy);
}

.ev-fee {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: linear-gradient(160deg, #fff, #faf5ee);
  box-shadow: var(--shadow-sm);
}

.ev-fee > i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-top: 2px;
}

.ev-fee .ev-h3 {
  margin-bottom: 6px;
}

.ev-fee p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ev-form-fee {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: #fbf6f0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ev-calc {
  padding: 26px 26px 20px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, #faf5ee);
  box-shadow: var(--shadow-gold);
}

.ev-calc-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ev-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.ev-calc-row span {
  font-weight: 600;
  color: var(--text-primary);
}

.ev-calc-row em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ev-calc-row strong {
  font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
  font-size: 0.84rem;
}

.ev-calc-row--sum {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.ev-calc-row--sum span,
.ev-calc-row--sum strong {
  color: #fff;
}

.ev-calc-row--sum em {
  color: rgba(255, 255, 255, 0.7);
}

.ev-calc-op {
  text-align: center;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.6;
}

.ev-calc-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ev-calc-note i {
  color: var(--gold);
  margin-right: 4px;
}

/* ─── İlanlar ─── */

.ev-body {
  padding-bottom: 72px;
}

.ev-h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ev-h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ev-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: 0;
}

.ev-btn-wa:hover {
  background: #1ebe5b;
  color: #fff;
}

.ev-wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Bilgi bölümleri ─── */

.ev-section {
  padding: 72px 0;
}

.ev-section--soft {
  background: var(--bg-secondary);
}

.ev-section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.ev-section-head p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ev-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: none;
}

.ev-step {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-color);
}

.ev-step-no {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
}

.ev-step h3 {
  margin: 6px 0 8px;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.ev-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.ev-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ev-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ev-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ev-checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ev-checklist li::before {
  content: '\f00c';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbf6f0;
  color: var(--gold);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.66rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-checklist strong {
  color: var(--text-primary);
}

.ev-costs {
  margin: 0;
  display: grid;
  gap: 14px;
}

.ev-costs div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.ev-costs div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ev-costs dt {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.ev-costs dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ev-warn {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid #fde2c8;
  background: #fff8f1;
}

.ev-warn > i {
  font-size: 1.6rem;
  color: #c2410c;
  margin-top: 2px;
}

.ev-warn .ev-h3 {
  margin-bottom: 6px;
}

.ev-warn p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ev-faq-wrap {
  max-width: 860px;
}

.ev-faq {
  display: grid;
  gap: 10px;
}

.ev-faq-item {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-color);
}

.ev-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.ev-faq-item summary::-webkit-details-marker {
  display: none;
}

.ev-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.ev-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.ev-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.ev-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.ev-faq-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ev-faq-link i {
  font-size: 0.75rem;
}

/* ─── Deneyim, kimler için, ev arama çağrısı, SCHUFA'sız başvuru ─── */

.ev-exp {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ev-exp i {
  color: var(--gold);
  margin-top: 4px;
}

.ev-who {
  margin: 8px 0 32px;
  scroll-margin-top: 100px;
}

.ev-who-lead {
  margin: 8px 0 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ev-who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ev-who-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ev-who-list i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbf6f0;
  color: var(--gold);
}

.ev-who-list strong {
  color: var(--text-primary);
}

.ev-ask {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-soft));
  color: #fff;
  scroll-margin-top: 100px;
}

.ev-ask .section-label {
  color: var(--gold-light);
}

.ev-ask .ev-h2 {
  margin: 4px 0 10px;
  color: #fff;
}

.ev-ask-text > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.ev-ask-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.ev-ask-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.ev-ask-list i {
  width: 18px;
  margin-right: 6px;
  color: var(--gold-light);
}

.ev-ask-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ev-ask-actions .btn {
  justify-content: center;
  padding: 14px 22px;
}

.ev-ask-fee {
  margin: 2px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.ev-ask-fee i {
  margin-right: 4px;
  color: var(--gold-light);
}

.ev-checklist a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ev-schufa {
  margin-top: 56px;
  scroll-margin-top: 100px;
}

.ev-schufa-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ev-schufa-grid li {
  padding: 24px 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ev-schufa-grid li > i {
  font-size: 1.4rem;
  color: var(--gold);
}

.ev-schufa-grid h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.ev-schufa-grid em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ev-schufa-grid p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ev-schufa-note {
  margin: 16px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.ev-schufa-note i {
  margin-right: 6px;
  color: var(--gold);
}

/* ─── Pencereler ─── */

body.ev-modal-open {
  overflow: hidden;
}

.ev-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ev-modal[hidden] {
  display: none;
}

.ev-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 68, 0.55);
  backdrop-filter: blur(3px);
}

.ev-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: auto 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(15, 37, 68, 0.3);
  animation: ev-in 0.22s ease-out;
}

@keyframes ev-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ev-modal-dialog { animation: none; }
}

.ev-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 3;
  box-shadow: var(--shadow-sm);
}

.ev-modal-x:hover {
  background: #fff;
}

/* ─── Talep formu ─── */

.ev-form {
  padding: 34px 36px 30px;
}

.ev-form-head {
  margin-bottom: 20px;
  padding-right: 44px;
}

.ev-form-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.ev-form-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ev-form-note {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ev-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.ev-field {
  min-width: 0;
}

.ev-field--full {
  grid-column: 1 / -1;
}

.ev-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ev-field input,
.ev-field select,
.ev-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dfe3ea;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ev-field input,
.ev-field select {
  height: 48px;
}

.ev-field textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.6;
}

.ev-field input:focus,
.ev-field select:focus,
.ev-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.15);
}

.ev-field.is-invalid input,
.ev-field.is-invalid select,
.ev-field.is-invalid textarea {
  border-color: #dc2626;
}

.ev-money {
  position: relative;
}

.ev-money input {
  padding-right: 40px;
}

.ev-money span {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.ev-err {
  min-height: 18px;
  margin: 4px 0 6px;
  font-size: 0.78rem;
  color: #dc2626;
}

.ev-err:empty {
  min-height: 0;
  margin: 0;
}

.ev-field .ev-err:empty {
  min-height: 18px;
  margin: 4px 0 6px;
}

.ev-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
  cursor: pointer;
}

.ev-check input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.ev-check--fee {
  border: 1px solid var(--border-gold);
  background: #fbf6f0;
  color: var(--text-primary);
  font-weight: 500;
}

.ev-check a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ev-turnstile {
  margin-top: 14px;
  min-height: 65px;
}

.ev-form-msg {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.88rem;
}

.ev-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.ev-form-actions .btn {
  padding: 13px 26px;
  font-size: 0.92rem;
}

#evSubmit.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

#evSubmit.is-busy i {
  display: none;
}

#evSubmit.is-busy::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ev-spin 0.8s linear infinite;
}

@keyframes ev-spin {
  to { transform: rotate(360deg); }
}

.ev-done {
  padding: 56px 36px 44px;
  text-align: center;
}

.ev-done[hidden],
.ev-form[hidden] {
  display: none;
}

.ev-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  font-size: 2rem;
}

.ev-done h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-primary);
}

.ev-done p {
  max-width: 460px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Duyarlı ─── */

@media (max-width: 1100px) {
  .ev-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ev-hero-grid,
  .ev-two {
    grid-template-columns: 1fr;
  }

  .ev-ask {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }

  .ev-who-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ev-hero {
    padding: 132px 0 28px;
  }

  .ev-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ev-ask {
    padding: 26px 20px;
  }

  .ev-ask-list,
  .ev-schufa-grid {
    grid-template-columns: 1fr;
  }

  .ev-steps {
    grid-template-columns: 1fr;
  }

  .ev-section {
    padding: 52px 0;
  }

  .ev-panel {
    padding: 22px;
  }

  .ev-modal {
    padding: 0;
  }

  .ev-modal-dialog {
    min-height: 100%;
    border-radius: 0;
  }

  .ev-form {
    padding: 26px 18px 24px;
  }

  .ev-form-grid {
    grid-template-columns: 1fr;
  }

  .ev-form-actions {
    flex-direction: column-reverse;
  }

  .ev-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
