/* Google-Update-Check – Seiten rund um den Report.

   Gestaltung nach seoholics.de (gemessen am 22.09.2026): schwarzer Grund, Karten
   #1A1A1A mit hellem Rahmen und 20px Rundung, Markenfarben Orange #EC6337 und Blau
   #1E4CDA, Knoepfe als Verlauf Blau -> Orange, Ueberschriften Poppins, Fliesstext
   Roboto #C4C4C4. Die Website kennt nur Dunkel; das helle Theme ist unsere Ableitung
   fuer den Umschalter (theme.js), wie in den anderen Projekten.
   Der Report (report.py) nutzt dieselben Werte.
   Schriften liegen auf dem eigenen Server (OFL, siehe fonts/), nicht bei Google. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/poppins-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/roboto-latin-wght-normal.woff2") format("woff2"); }

/* Hell (per Umschalter) */
:root {
  --seite: #ffffff;
  --karte: #f4f4f2;
  --karte-2: #eaeae7;
  --rahmen: rgba(0, 0, 0, 0.14);
  --ink: #111111;
  --ink-mid: #444444;
  --ink-soft: #7a7a7a;
  --orange: #ec6337;
  --orange-hover: #d9542a;
  --blau: #1e4cda;
  --orange-wash: rgba(236, 99, 55, 0.09);
  --err: #d23f3a;
  --verlauf: linear-gradient(90deg, #1e4cda 0%, #ec6337 100%);
  --titel: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* Dunkel, Standard wie seoholics.de */
:root[data-theme="dark"] {
  --seite: #000000;
  --karte: #1a1a1a;
  --karte-2: #252525;
  --rahmen: rgba(192, 192, 192, 0.32);
  --ink: #ffffff;
  --ink-mid: #c4c4c4;
  --ink-soft: #8a8a8a;
  --orange-hover: #f07a55;
  --orange-wash: rgba(236, 99, 55, 0.12);
  --err: #ef5757;
  /* Browser-eigene Elemente (Vorschlagslisten, Scrollbalken) ebenfalls dunkel */
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--seite);
  color: var(--ink-mid);
  font: 16px/1.6 var(--text);
}

/* dezentes Leuchten wie unter der Kennzahlen-Leiste auf seoholics.de */
:root[data-theme="dark"] body {
  background:
    radial-gradient(60% 40% at 30% 0%, rgba(30, 76, 218, 0.16), transparent 70%),
    radial-gradient(50% 35% at 75% 5%, rgba(236, 99, 55, 0.14), transparent 70%),
    var(--seite);
  background-attachment: fixed;
}

.kopf {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo { display: block; height: 44px; width: auto; }
.logo-hell { display: none; }
:root:not([data-theme="dark"]) .logo-dunkel { display: none; }
:root:not([data-theme="dark"]) .logo-hell { display: block; }

.marke-zusatz {
  font: 600 15px/1 var(--titel);
  color: var(--ink);
  padding-left: 16px;
  border-left: 1px solid var(--rahmen);
}

main {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.karte {
  background: var(--karte);
  border: 1px solid var(--rahmen);
  border-radius: 20px;
  padding: 36px 32px;
}

h1 {
  font: 900 34px/1.15 var(--titel);
  color: var(--ink);
  margin: 0 0 16px;
}

/* Verlaufsschrift wie "Google Platz 1 erreichen" auf der Startseite */
h1.verlauf {
  background: linear-gradient(180deg, #ec6337 0%, #8a4f9e 55%, #1e4cda 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 14px; }

.leise { color: var(--ink-mid); }

form { margin-top: 28px; }

label {
  display: block;
  font: 600 15px/1.4 var(--titel);
  color: var(--ink);
  margin-bottom: 8px;
}

.eingabe-zeile { display: flex; gap: 10px; flex-wrap: wrap; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  flex: 1 1 240px;
  font: 16px/1.4 var(--text);
  padding: 13px 16px;
  border: 1px solid var(--rahmen);
  border-radius: 10px;
  background: var(--seite);
  color: var(--ink);
}

input::placeholder,
textarea::placeholder { color: var(--ink-soft); }

/* Autovervollstaendigung: Browser faerben ausgefuellte Felder sonst hell ein. Der
   innere Schatten ueberdeckt deren Hintergrund, die Transition haelt ihn fern. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--seite) inset;
  box-shadow: 0 0 0 1000px var(--seite) inset;
  caret-color: var(--ink);
  transition: background-color 100000s ease-in-out 0s;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}

.knopf {
  display: inline-block;
  font: 500 16px/1.2 var(--text);
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--verlauf);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.knopf:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Anfrageformular: Felder untereinander */
.anfrage input,
.anfrage textarea { display: block; width: 100%; margin-bottom: 18px; }
.anfrage textarea { resize: vertical; min-height: 92px; }
.anfrage label { margin-bottom: 6px; }
.optional { font: 400 14px var(--text); color: var(--ink-soft); }
.klein { font-size: 13.5px; }
.klein a, .leise a { color: inherit; }

/* zweiter Knopf wie "Jetzt unser SEO-System entdecken" auf seoholics.de */
.knopf-zweit {
  display: inline-block;
  font: 500 16px/1.2 var(--text);
  padding: 13px 24px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.knopf-zweit:hover { background: var(--orange-wash); }

.hinweis {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--orange-wash);
  border: 1px solid var(--orange);
  color: var(--ink);
  font-size: 15px;
}

.fehler {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--err);
  color: var(--err);
  font-size: 15px;
}

.testmodus {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--karte-2);
  font-size: 14px;
  color: var(--ink-mid);
}

.testmodus code { font-size: 13.5px; color: var(--ink); }

.warten { text-align: center; }

.kreisel {
  width: 42px;
  height: 42px;
  margin: 6px auto 22px;
  border-radius: 50%;
  border: 4px solid var(--karte-2);
  border-top-color: var(--orange);
  border-right-color: var(--blau);
  animation: drehen 0.9s linear infinite;
}

@keyframes drehen { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .kreisel { animation-duration: 3s; }
  .knopf:hover { transform: none; }
}

.theme-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--rahmen);
  background: var(--karte);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.theme-btn:hover { border-color: var(--orange); }

.fuss {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.fuss a { color: inherit; }
.fuss span { margin: 0 8px; }

@media (max-width: 560px) {
  .karte { padding: 28px 20px; }
  h1 { font-size: 27px; }
  .logo { height: 36px; }
  .marke-zusatz { font-size: 13px; padding-left: 12px; }
}
