/* Gratis Website Check (js/website-check.js), Webdesign-Seite vor dem Kontakt.
   Gleiche Sprache wie das Kontaktformular (css/formular.css): weiße Karte mit zartem Ice-Verlauf,
   Ingo als Akzent, Fraunces-Kursiv für die Antworten. Eine Seite: Domain, Name, E-Mail, danach der Dank. */

.wc-sektion { padding: clamp(80px, 14vh, 160px) 0; }
.wc-sektion .us-zwei { align-items: start; }

.wc {
  --wc-text: #1d1b22; --wc-leise: #6b6873; --wc-linie: #d6eeee;
  --wc-akzent: var(--ingo); --wc-akzent-dunkel: #c8125f; --wc-ice: var(--ice);
  position: relative; color: var(--wc-text);
  background: linear-gradient(170deg, #ecfefe 0%, #fff 46%);
  border: 1.5px solid var(--wc-linie); border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 2px 0 #fff inset, 0 24px 60px rgba(30, 60, 70, .10), 0 2px 8px rgba(30, 60, 70, .05);
}

.wc-schritt { display: none; }
.wc-schritt.an { display: block; animation: wc-rein .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes wc-rein { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

.wc-frage {
  display: inline-block; max-width: 22em; padding: 14px 22px; margin: 0 0 6px; border-radius: 24px 24px 6px 24px;
  background: var(--wc-ice); color: var(--wc-text);
  font: 400 clamp(22px, 2.4vw, 32px)/1.15 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(80, 200, 200, .25);
}
.wc-hinweis { margin: 12px 0 0; min-height: 1.4em; font: 500 13px/1.4 var(--mono); color: var(--wc-leise); }
.wc-hinweis[data-fehler] { color: var(--wc-akzent-dunkel); }

/* Felder: Domain über die volle Breite, darunter Name und E-Mail */
.wc-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.wc-feld--breit { grid-column: 1 / -1; }
.wc-feld { display: grid; gap: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wc-leise); }
.wc-feld input { width: 100%; font: 400 18px/1.45 var(--text); color: var(--wc-text); letter-spacing: 0; text-transform: none;
  background: #fff; border: 1.5px solid var(--wc-linie); border-radius: 16px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
.wc-feld input::placeholder { color: #a3a0aa; }
.wc-feld input:focus { outline: none; border-color: var(--wc-akzent); box-shadow: 0 0 0 4px rgba(237, 30, 121, .12); }
.wc-feld input[aria-invalid="true"] { border-color: var(--wc-akzent-dunkel); }
/* Domain-Feld als Adresszeile (steht in .wc-feld, deshalb die Feld-Regeln oben hier zurücksetzen) */
.wc-adresse { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 16px; background: #fff;
  border: 1.5px solid var(--wc-linie); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.wc-adresse:focus-within { border-color: var(--wc-akzent); box-shadow: 0 0 0 4px rgba(237, 30, 121, .12); }
.wc-adresse[data-fehler] { border-color: var(--wc-akzent-dunkel); }
.wc-adresse .wc-vorsatz { flex: none; font: 500 14px/1 var(--mono); letter-spacing: 0; text-transform: none; color: var(--wc-leise); }
.wc-feld .wc-adresse input, .wc-feld .wc-adresse input:focus { flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 9px 4px; outline: none; }

.wc-haken { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--wc-leise); cursor: pointer; }
.wc-haken input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ingo); flex: none; }
.wc-haken a { color: inherit; text-underline-offset: 3px; }
.wc-klein { margin: 0; max-width: 30em; font-size: 14px; line-height: 1.45; color: var(--wc-leise); }
.wc-klein a { color: inherit; text-underline-offset: 3px; }
.wc-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Leiste */
.wc-leiste { display: flex; align-items: center; gap: 16px 24px; margin-top: clamp(18px, 3vh, 28px); }
.wc-leiste .knopf { flex: none; }
.wc .knopf { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wc-akzent); color: #fff; box-shadow: 0 10px 22px rgba(237, 30, 121, .28); }
.wc .knopf:hover { background: var(--wc-akzent-dunkel); color: #fff; }
.wc .knopf:disabled { opacity: .55; cursor: progress; }
.wc-leiste .knopf { margin-left: auto; }

/* Danke */
.wc-danke p { max-width: 34em; font-size: 18px; line-height: 1.55; }
.wc-danke p + p { margin-top: .8em; }
.wc-danke .wc-danke-titel { font: 400 italic clamp(40px, 5vw, 72px)/1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.03em; color: var(--wc-akzent); margin-bottom: 18px; }

@media (max-width: 640px) {
  .wc { border-radius: 24px; }
  .wc-felder { grid-template-columns: 1fr; }
  .wc-leiste { flex-direction: column-reverse; align-items: stretch; }
  .wc-leiste .knopf { justify-content: center; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-schritt.an { animation: none; }
}

/* Im Editor: alle Schritte untereinander */
html.cms-an .wc-schritt { display: block; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px dashed var(--wc-linie); }
