/* domainssaubillig – Seite "Domain kaufen und günstig registrieren"
   Rein optisch, ohne Eingriff ins HTML. Alle Regeln sind auf
   #blog-artikel begrenzt und wirken nicht auf andere Seiten.
   Einbau: nach dem bestehenden Seiten-CSS laden. */

#blog-artikel {
  --dsb-orange: #F07800;
  --dsb-orange-dark: #C25E00;
  --dsb-ink: #1A1A1A;
  --dsb-ink-soft: #4A443D;
  --dsb-line: #E2DCD4;
  --dsb-surface: #F7F5F2;

  max-width: 860px;
  color: var(--dsb-ink);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- Typografie ---------- */

#blog-artikel h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dsb-ink);
}

#blog-artikel h2 {
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dsb-line);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--dsb-ink);
}

#blog-artikel h3 {
  margin: 26px 0 6px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--dsb-ink);
}

#blog-artikel p {
  margin: 0 0 14px;
  color: var(--dsb-ink-soft);
}

/* Einleitung direkt unter der Überschrift */
#blog-artikel h1 + p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dsb-ink);
}

#blog-artikel a {
  color: var(--dsb-orange-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#blog-artikel a:hover {
  color: var(--dsb-orange);
}

/* Preis-Fußnote */
#blog-artikel > table + p {
  font-size: 13px;
  color: #6C665F;
}

/* ---------- Domainsuche ---------- */

/* Alt-Regeln der Seite (Floats, feste Breiten, absolute Position,
   Hintergrundbilder) gezielt zurücksetzen – sonst läuft der Button
   aus der Box und das Label wird verdeckt. */
#blog-artikel .startdomainsuche,
#blog-artikel #startsearchtext,
#blog-artikel #startform,
#blog-artikel #startsearch,
#blog-artikel #startsearch table,
#blog-artikel #startsearch tbody,
#blog-artikel #startsearch tr,
#blog-artikel #startsearch td {
  float: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  background-image: none !important;
  box-sizing: border-box !important;
}

#blog-artikel .startdomainsuche {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin: 8px 0 8px !important;
  padding: 30px 32px;
  overflow: hidden;
  background: var(--dsb-ink);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.18);
}

#blog-artikel #startsearchtext {
  flex: 0 1 auto;
  min-width: 0;
}

#blog-artikel #startsearchtext h2,
#blog-artikel #startsearchtext h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

#blog-artikel #startsearchtext h2 {
  font-size: 26px;
  line-height: 1.2;
  white-space: nowrap;
}

#blog-artikel #startsearchtext h3 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  color: var(--dsb-orange);
}

#blog-artikel #startform {
  flex: 3 1 420px;
  min-width: 0;
}

/* Layout-Tabelle des Formulars neutralisieren */
#blog-artikel #startsearch table,
#blog-artikel #startsearch tbody,
#blog-artikel #startsearch tr {
  display: block;
  width: 100%;
  border: 0;
  background: none;
}

#blog-artikel #startsearch tr {
  display: flex !important;
  gap: 10px;
  align-items: center;
}

#blog-artikel #startsearch td {
  padding: 0;
  border: 0;
  background: none;
}

#blog-artikel #startsearch td:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

/* Label liegt im Fluss und bestimmt die Buttonbreite;
   der <input> wird darüber gelegt (kann selbst kein ::after rendern). */
#blog-artikel #startsearch td:last-child {
  position: relative !important;
  flex: 0 0 auto;
  display: inline-flex;
}

#blog-artikel #startsearch td:last-child::after {
  content: "Verfügbarkeit prüfen";
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dsb-ink);
  white-space: nowrap;
  pointer-events: none;
}

#blog-artikel #domain {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  height: 54px !important;
  padding: 0 16px;
  background: #FFFFFF none !important;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--dsb-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#blog-artikel #domain::placeholder {
  color: #9A938C;
  font-weight: 500;
}

#blog-artikel #domain:focus {
  outline: none;
  border-color: var(--dsb-orange);
  box-shadow: 0 0 0 4px rgba(240, 120, 0, 0.28);
}

#blog-artikel .startbutton {
  box-sizing: border-box;
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100% !important;
  min-width: 0;
  height: 100% !important;
  padding: 0;
  background: var(--dsb-orange) none !important;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-indent: 0 !important;
  color: transparent !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease;
}

#blog-artikel #startsearch td:last-child:hover .startbutton {
  background: #FF8A14 none !important;
}

#blog-artikel .startbutton:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

/* Leerer Absatz zwischen Einleitung und Suchbox */
#blog-artikel h1 + p + p {
  margin: 0;
  height: 8px;
}

/* ---------- Preistabelle ---------- */

#blog-artikel > table {
  width: 100%;
  margin: 0 0 12px;
  border-collapse: collapse;
  font-size: 15px;
}

#blog-artikel > table th {
  padding: 10px 14px;
  border-bottom: 2px solid var(--dsb-ink);
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dsb-ink-soft);
}

#blog-artikel > table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--dsb-line);
  color: var(--dsb-ink);
}

#blog-artikel > table tbody tr:hover td {
  background: var(--dsb-surface);
}

/* Endung */
#blog-artikel > table td:first-child {
  width: 55%;
  font-weight: 700;
}

/* Preis */
#blog-artikel > table td:last-child,
#blog-artikel > table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#blog-artikel > table td:last-child {
  font-weight: 800;
}

/* .de hervorheben */
#blog-artikel > table tbody tr:first-child td {
  background: rgba(240, 120, 0, 0.09);
}

#blog-artikel > table tbody tr:first-child td:last-child {
  color: var(--dsb-orange-dark);
}

/* ---------- Drei Schritte ---------- */

#blog-artikel ol {
  counter-reset: dsb-step;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

#blog-artikel ol > li {
  counter-increment: dsb-step;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 62px;
  background: var(--dsb-surface);
  border: 1px solid var(--dsb-line);
  border-radius: 8px;
  color: var(--dsb-ink-soft);
}

#blog-artikel ol > li::before {
  content: counter(dsb-step);
  position: absolute;
  top: 13px;
  left: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dsb-orange);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: var(--dsb-ink);
}

#blog-artikel ol > li strong {
  color: var(--dsb-ink);
}

/* ---------- Vorteile ---------- */

#blog-artikel ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 24px;
}

#blog-artikel ul > li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 30px;
  color: var(--dsb-ink);
}

#blog-artikel ul > li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--dsb-orange);
  border-bottom: 2.5px solid var(--dsb-orange);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */

#blog-artikel h3 + p {
  margin: 0 0 4px;
  padding: 0 0 16px 14px;
  border-left: 3px solid var(--dsb-line);
}

#blog-artikel h3 {
  padding-left: 14px;
  border-left: 3px solid var(--dsb-orange);
}

/* ---------- Abschluss-Button ---------- */

#blog-artikel .button {
  display: inline-block;
  max-width: 620px;
  padding: 18px 34px;
  background: var(--dsb-orange);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--dsb-ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.2);
  transition: background 0.15s ease;
}

#blog-artikel .button:hover {
  background: #FF8A14;
  color: var(--dsb-ink);
  text-decoration: none;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 620px) {
  #blog-artikel h1 { font-size: 27px; }
  #blog-artikel h2 { font-size: 20px; margin-top: 34px; }
  #blog-artikel .startdomainsuche { padding: 22px; gap: 18px; }
  #blog-artikel #startsearch tr { flex-wrap: wrap; }
  #blog-artikel #startsearch td:last-child { flex: 1 1 100%; }
  #blog-artikel #startsearch td:last-child::after { width: 100%; }
  #blog-artikel #startsearchtext h2,
  #blog-artikel #startsearchtext h3 { white-space: normal; }
  #blog-artikel .button { display: block; padding: 16px 20px; text-align: center; }
}
