/* ============================================================
   Ranking Check – Styles für das Child-Theme (v4)
   ------------------------------------------------------------
   Schrift:  Host Grotesk (wird vom Theme geladen)
   Texte:    18px  |  Platzhalter: 16px
   Liste:    Headlines 700, Fließtext 300
   Breite:   1100px auf dem Desktop
   ============================================================ */

.rc-tool {
	--rc-brand:      #86E01E;   /* WOW-Limettengrün */
	--rc-brand-dark: #6FC110;   /* Hover */
	--rc-on-brand:   #141414;   /* Text auf grünen Flächen */

	--rc-bg-card:    #1B1F24;   /* Formular-Karte */
	--rc-bg-row:     #191C21;   /* Ergebnis-Zeilen */
	--rc-line:       rgba(255,255,255,0.15);   /* Ränder, Trennlinien */

	--rc-text:       #FFFFFF;
	--rc-muted:      #AEB4B0;

	--rc-fail:       #E25549;
	--rc-fail-soft:  #EE8484;   /* Banner "GAR NICHT WOW" */

	--rc-width:      1100px;    /* Gesamtbreite auf dem Desktop */

	font-family: "host-grotesk", sans-serif;
	font-size: 18px;
	color: var(--rc-text);
	line-height: 1.55;
	max-width: var(--rc-width);
	margin: 0 auto;
}
.rc-tool * { box-sizing: border-box; }

/* --- Formular: dunkle Karte in voller Breite, einspaltig --- */
.rc-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: var(--rc-bg-card);
	border: 1px solid var(--rc-line);
	border-radius: 14px;
	padding: 40px;
	width: 100%;
}
.rc-field { display: flex; flex-direction: column; gap: 15px; margin-bottom:18px;}
.rc-field label { font-size: 18px; font-weight: 700; color: var(--rc-text); }
.rc-field input,
.rc-field select {
	padding: 13px 22px;
	border: 0;
	border-radius: 8px;
	background: #ffffff;
	color: #141414;
	font-family: inherit;
	font-size: 18px;
	width: 100%;
}
.rc-field input::placeholder { color: #9aa0a3; font-size: 16px; }
.rc-field input:focus,
.rc-field select:focus { outline: 3px solid var(--rc-brand); outline-offset: 2px; }

/* --- Button: grün, zentriert --- */
.rc-submit {
	align-self: center;
	padding: 13px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--rc-brand);
	color: var(--rc-on-brand);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
	margin-top: 2px;
}
.rc-submit:hover { background: var(--rc-brand-dark); transform: translateY(-1px); }
.rc-submit:focus-visible { outline: 3px solid var(--rc-text); outline-offset: 2px; }
.rc-submit[disabled] { opacity: .6; cursor: wait; transform: none; }

/* --- Status / Fehler --- */
.rc-status {
	margin-top: 16px;
	padding: 13px 22px;
	border-radius: 10px;
	background: var(--rc-bg-row);
	border: 1px solid var(--rc-line);
	color: var(--rc-muted);
	text-align: center;
	font-size: 18px;
	font-weight: 300;
}
.rc-status.rc-error { border-color: var(--rc-fail); color: var(--rc-fail-soft); }

/* --- Urteil-Banner --- */
.rc-result { margin-top: 24px; }
.rc-verdict {
	padding: 14px 22px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}
.rc-verdict--found { background: var(--rc-brand); color: var(--rc-on-brand); }
.rc-verdict--fail  { background: var(--rc-fail-soft); color: #141414; }

/* --- Ergebnisliste --- */
.rc-serp {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: serp;
	display: flex;
	flex-direction: column;
	font-size: 18px;
}
.rc-serp li {
	counter-increment: serp;
	display: flex;
	gap: 18px;
	padding: 14px 22px;
	background: var(--rc-bg-row);
	border-bottom: 1px solid var(--rc-line);
}
.rc-serp li::before {
	content: counter(serp);
	min-width: 1.8em;
	font-weight: 700;
	color: var(--rc-text);
}
.rc-serp li.rc-hit {
	border-color: var(--rc-brand);
	background: rgba(134, 224, 30, .12);
}
.rc-serp li.rc-hit::before { color: var(--rc-brand); }
.rc-serp .rc-item a {
	font-weight: 700;
	text-decoration: none;
	color: var(--rc-brand);
	overflow-wrap: anywhere;
}
.rc-serp .rc-item a:hover { text-decoration: underline; }
.rc-serp .rc-item .rc-url {
	display: block;
	font-size: 18px;
	font-weight: 300;
	color: var(--rc-muted);
	overflow-wrap: anywhere;
}
@media (max-width: 560px) {
	.rc-tool	{ width:96%; margin-left: 2%;}
}