/* ===== N-developing – Kontakt & Anfrage ===== */

/* ── Hero ─────────────────────────────────────────────────── */
.contact-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
  padding: 64px 32px 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 55% at 90% -10%, rgba(88, 166, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 110%, rgba(63, 185, 80, 0.16) 0%, transparent 70%),
    linear-gradient(160deg, rgba(33, 38, 45, 0.95), rgba(13, 17, 23, 0.9));
  text-align: center;
}

/* subtle grid overlay */
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(48,54,61,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,54,61,0.22) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.contact-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.35);
}

.contact-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-hl {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.contact-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.hero-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hero-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Pricing Section ──────────────────────────────────────── */
.pricing-section {
  margin-bottom: 56px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pricing-header p {
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto;
  font-size: 0.97rem;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: rgba(88, 166, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.pricing-card-featured {
  border-color: rgba(63, 185, 80, 0.5);
  background: linear-gradient(160deg, rgba(33, 38, 45, 0.95), rgba(22, 27, 34, 0.95));
  box-shadow: 0 0 0 1px rgba(63, 185, 80, 0.25), 0 6px 24px rgba(63, 185, 80, 0.08);
}

.pricing-card-featured:hover {
  border-color: var(--accent);
}

.pricing-popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d1117;
  background: var(--accent);
  white-space: nowrap;
}

.pricing-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.pricing-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.pricing-price {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-price strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.pricing-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 600;
}

.pricing-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid rgba(88, 166, 255, 0.25);
  text-align: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.pricing-btn:hover {
  background: rgba(88, 166, 255, 0.18);
  border-color: rgba(88, 166, 255, 0.55);
  color: var(--text);
}

.pricing-card-featured .pricing-btn {
  color: var(--accent);
  background: rgba(63, 185, 80, 0.1);
  border-color: rgba(63, 185, 80, 0.3);
}

.pricing-card-featured .pricing-btn:hover {
  background: rgba(63, 185, 80, 0.22);
  border-color: var(--accent);
  color: var(--text);
}

.pricing-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.75;
}

/* ── Form + Sidebar Layout ────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-form-head {
  margin-bottom: 20px;
}

.contact-form-head h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-head p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(33, 38, 45, 0.92), rgba(22, 27, 34, 0.9));
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-grid-full { grid-column: 1 / -1; }

.field-wrap { display: flex; flex-direction: column; gap: 6px; }

.field-wrap label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.field-opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.97rem;
  font-family: var(--font-sans);
  background: rgba(13, 17, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.15);
  background: rgba(13, 17, 23, 0.9);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  font-size: 0.97rem;
  font-family: var(--font-sans);
  background: rgba(13, 17, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.15);
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

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

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  color: #0d1117;
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: fit-content;
}

.btn-send:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(63, 185, 80, 0.35);
}

.btn-send:active { transform: translateY(0); }

.btn-send[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-send-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.btn-send:hover .btn-send-arrow { transform: translateX(3px); }

.contact-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.5;
}

.contact-privacy a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error  { color: #f85149; font-weight: 600; margin-bottom: 14px; font-size: 0.93rem; }
.form-success{ color: #3fb950; font-weight: 600; margin-bottom: 14px; font-size: 0.93rem; }
#formFeedback a { color: var(--accent); text-decoration: underline; }
#formFeedback small { color: var(--text-muted); font-size: 0.88rem; display: block; margin-top: 4px; }

/* ── Sidebar ──────────────────────────────────────────────── */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

.side-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--bg-elevated);
}

.side-block-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  position: relative;
}

.process-item:last-child { padding-bottom: 0; }

.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(63,185,80,0.4) 0%, var(--border) 100%);
}

.process-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.4);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.process-body strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.process-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(63, 185, 80, 0.12);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-direct {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 22px;
  background: var(--bg-elevated);
  text-align: center;
}

.side-direct-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.side-direct-link {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--accent-blue);
  word-break: break-all;
  transition: color 0.2s;
}

.side-direct-link:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .side-direct { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 40px 20px 36px; }
  .hero-stat { padding: 0 18px; }
  .hero-stat-sep { height: 28px; }
  .contact-side { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact-form { padding: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .btn-send { width: 100%; justify-content: center; }
  .contact-hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-sep { display: none; }
  .hero-stat { padding: 0; }
}
