/* MailCheck full static prototype – dark tech blue */
:root {
  --bg-page: #050814;
  --bg-surface: #0c1020;
  --bg-surface-alt: #11162a;
  --border-soft: #1c2440;
  --accent-primary: #4f8dff;
  --accent-secondary: #2fd2c7;
  --accent-warn: #ffb74d;
  --accent-bad: #ef5350;
  --accent-good: #2fd2c7;
  --text-main: #f4f6ff;
  --text-muted: #9aa3c6;
  --text-soft: #6b7391;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #101735, #050814 60%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding: 2rem 0 3rem;
}

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid #080b16;
}

/* Header & Nav */
.site-header {
  border-bottom: 1px solid #111527;
  background: rgba(3, 6, 18, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.16s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
}

.hero-lead {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-aside {
  background: radial-gradient(circle at top right, #293566, #101528);
  border-radius: 0.9rem;
  border: 1px solid #27335e;
  padding: 1.3rem 1.4rem;
  font-size: 0.92rem;
}

.hero-aside h2 {
  font-size: 1rem;
  margin: 0 0 0.7rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

/* Form */
.domain-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.domain-input {
  flex: 1;
  min-width: 220px;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid #27335e;
  background: #070b18;
  color: var(--text-main);
}

.domain-input::placeholder {
  color: var(--text-soft);
}

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-surface);
  border-radius: 0.9rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
}

/* Score block */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.score-badge.good {
  background: rgba(47, 210, 199, 0.14);
  color: var(--accent-good);
}

.score-badge.medium {
  background: rgba(255, 183, 77, 0.14);
  color: var(--accent-warn);
}

.score-badge.bad {
  background: rgba(239, 83, 80, 0.14);
  color: var(--accent-bad);
}

.score-number {
  font-size: 2.4rem;
  font-weight: 700;
}

/* Result tables */
.table-wrapper {
  overflow-x: auto;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.result-table th,
.result-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid #1b223b;
}

.result-table th {
  text-align: left;
  font-weight: 600;
  background: #111528;
}

.result-table tr:nth-child(even) td {
  background: #0c1120;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

.result-pill.ok {
  background: rgba(47, 210, 199, 0.14);
  color: var(--accent-good);
}

.result-pill.warn {
  background: rgba(255, 183, 77, 0.14);
  color: var(--accent-warn);
}

.result-pill.fail {
  background: rgba(239, 83, 80, 0.14);
  color: var(--accent-bad);
}

/* Text styles */
h1, h2 {
  margin-top: 0;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid #111527;
  background: #050814;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Simple content layout */
.prose p {
  margin: 0 0 0.75rem;
}

.prose ul {
  margin: 0.2rem 0 0.9rem 1.3rem;
  padding: 0;
}

.prose li {
  margin-bottom: 0.35rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   MailCheck Header – neue Struktur (Logo + Topmenü + Hauptmenü + Ribbon)
   ========================================================================== */

.mc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 12, 30, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #111527;
}

.mc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* für das Ribbon */
}

/* Logo links: soll die Höhe von Topmenü + Hauptmenü abdecken */
.mc-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mc-logo-title {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.25rem;
}

.mc-logo-sub {
  font-size: 0.88rem;
  color: #8f9ac4;
  margin-top: 0.18rem;
}

/* Rechts: Stack aus kleinem Topmenü + Hauptnavigation */
.mc-nav-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

/* Topmenü (Impressum, Datenschutz, Cookies, Kontakt, FAQ) */
.mc-topnav {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #8f9ac4;
}

.mc-topnav a {
  color: #8f9ac4;
  text-decoration: none;
}

.mc-topnav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Hauptnavigation */
.mc-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
}

.mc-nav a {
  position: relative;
  color: #b7c0e0;
  padding-bottom: 0.16rem;
  text-decoration: none;
}

.mc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #22d3ee;
  transition: width 0.16s ease-out;
}

.mc-nav a:hover {
  color: #ffffff;
}

.mc-nav a:hover::after,
.mc-nav a.is-active::after {
  width: 100%;
}

.mc-nav a.is-active {
  color: #ffffff;
}

/* Orangener Preview-Banner: links, leicht transparent */
.mc-ribbon {
  position: absolute;
  top: 1.4rem;
  left: -3.4rem;
  right: auto;
  background: rgba(255, 122, 61, 0.9); /* Signal-Orange, leicht transparent */
  color: #ffffff;
  padding: 0.32rem 2.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Responsive-Anpassungen für schmalere Breiten */
@media (max-width: 960px) {
  .mc-header-inner {
    padding-inline: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .mc-nav-stack {
    align-items: flex-start;
  }

  .mc-ribbon {
    left: -3.1rem;
  }
}


/* ==== HEADER SIZE ADJUSTMENTS ==== */

/* Logo größer */
.mc-logo-title {
  font-size: 1.25rem;          /* vorher 1.0rem */
  letter-spacing: 0.14em;
}

.mc-logo-sub {
  font-size: 0.88rem;          /* vorher 0.75rem */
  margin-top: 0.22rem;
}

/* Hauptnavigation größer */
.mc-nav {
  gap: 2rem;                   /* etwas mehr Abstand */
  font-size: 1.05rem;          /* vorher 0.95rem */
}

.mc-nav a {
  padding-bottom: 0.25rem;     /* dezente optische Basislinie */
}

/* Topmenü leicht vergrößern */
.mc-topnav {
  font-size: 0.85rem;          /* vorher 0.78rem */
}

.mc-header-inner {
  padding: 1.2rem 1.8rem;      /* vorher 0.9rem */
}

.mc-ribbon {
  top: 1.6rem;
  left: -3.8rem;               /* minimal weiter außen */
}


/* ========================================================================
   VARIANTE B – Hauptnavigation kräftiger, ruhiger, technischer
   ======================================================================== */

.mc-nav {
  gap: 2.2rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.mc-nav a {
  position: relative;
  color: #b7c0e0;
  padding-bottom: 0.3rem;
  text-decoration: none;
}

.mc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #22d3ee; /* Cyan */
  border-radius: 2px;
  transition: width 0.22s ease-out;
}

.mc-nav a:hover {
  color: #ffffff;
}

.mc-nav a:hover::after,
.mc-nav a.is-active::after {
  width: 100%;
}

.mc-nav a.is-active {
  color: #ffffff;
  font-weight: 700;
}


.mc-nav-stack {
  gap: 0.2rem !important;   /* enger zusammenziehen */
}

.mc-logo-title {
  font-size: 1.35rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mc-logo-sub {
  font-size: 0.9rem !important;
  margin-top: 0.25rem;
}

.mc-header-inner {
  padding-top: 1.4rem !important;
  padding-bottom: 1.4rem !important;
}

/* ==========================================================================
   MailCheck Footer – Drei-Spalten-Layout + Socket
   ========================================================================== */

.mc-footer {
  border-top: 1px solid #111527;
  background: #050814;
  padding-top: 2.2rem;
  padding-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Hauptbereich mit drei Spalten */
.mc-footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}

.mc-footer-col p {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mc-footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  color: var(--text-soft);
}

.mc-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mc-footer-list li + li {
  margin-top: 0.35rem;
}

.mc-footer a {
  color: var(--text-soft);
  text-decoration: none;
}

.mc-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Socket unten */
.mc-socket {
  border-top: 1px solid #111527;
  padding-top: 0.9rem;
  font-size: 0.8rem;
}

.mc-socket-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Responsive-Anpassungen */
@media (max-width: 860px) {
  .mc-footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .mc-socket-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===================================================================
   Beispielergebnisse – Übersichtskarten (wie im Screenshot)
   =================================================================== */

.mc-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.mc-example-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.mc-example-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
}

.mc-example-text {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.mc-example-link {
  margin-top: auto;
  font-size: 0.9rem;
  color: #22d3ee;
  text-decoration: none;
}

.mc-example-link:hover {
  text-decoration: underline;
}


/* ===================================================================
   Ergebnis-Seiten: Score, Teilbereiche, Tabellen
   =================================================================== */

.mc-result-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.mc-scorebox {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.4rem 1.8rem;
  max-width: 300px;
}

.mc-grade {
  background: #4ade80;
  color: #000;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mc-score-value {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.mc-score-text {
  color: var(--text-muted);
  line-height: 1.55;
}

.mc-subscorebox {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mc-subscore {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.mc-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mc-bar-fill {
  height: 8px;
}

.mc-bar-green {
  background: #4ade80;
}

.mc-bar-blue {
  background: #3b82f6;
}

.mc-bar-orange {
  background: #fb923c;
}

.mc-subscore-value {
  min-width: 32px;
  text-align: right;
  color: var(--text-soft);
  font-weight: 600;
}

/* Tabelle */
.mc-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mc-table th {
  text-align: left;
  padding: 0.6rem;
  color: var(--text-soft);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-table td {
  padding: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Listen */
.mc-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Feinschliff Teilbewertungen */
.mc-subscore {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 3fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.mc-subscore-label {
  font-size: 0.9rem;
}

.mc-subscore-meter {
  display: flex;
  align-items: center;
}

.mc-subscore-value {
  min-width: 2.3rem;
  text-align: right;
  color: var(--text-soft);
  font-weight: 600;
}

/* Allgemeine Badges (Status) */
.mc-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}

.mc-badge-ok {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.mc-badge-warn {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}

.mc-badge-fail {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
}

/* Praxis-Box / Callout */
.mc-callout {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.3rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: radial-gradient(circle at top left,
              rgba(56, 189, 248, 0.15),
              rgba(15, 23, 42, 0.9));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.mc-callout p {
  margin: 0 0 0.7rem;
}

.mc-callout p:last-child {
  margin-bottom: 0;
}

/* Kleine Zwischenüberschrift + kompakte Liste */
.mc-h3 {
  font-size: 1rem;
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mc-list-compact li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.mc-score-expl {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Praxis-Box / Callout */
.mc-callout {
  margin-top: 1rem;
  margin-bottom: 1.8rem;
  padding: 1.3rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: radial-gradient(circle at top left,
              rgba(56, 189, 248, 0.14),
              rgba(15, 23, 42, 0.96));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.mc-callout p {
  margin: 0 0 0.7rem;
}

.mc-callout p:last-child {
  margin-bottom: 0;
}

.mc-score-callout {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

/* Mehr Abstand über dem Praxis-Block */
.mc-h2 + .mc-callout,
.mc-table + .mc-h2 {
  margin-top: 2.2rem !important;
}

/* -------------------------------------------------- */
/* Security / Abuse Notice Highlight                  */
/* -------------------------------------------------- */

/* -------------------------------------------------- */
/* Security Notice - Dark Integrated Version          */
/* -------------------------------------------------- */

.mc-security {
  max-width: 920px;
  margin: 2rem auto;
  padding: 1.6rem 2rem;

  background: rgba(255, 200, 0, 0.08); /* dezentes warmes Gelb auf Dunkel */
  border-left: 4px solid #e6b450;
  border-radius: 8px;

  color: rgba(255, 255, 255, 0.9);
}

.mc-security h2 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffe7a3;
}

.mc-security p {
  margin: 0.6rem 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-color-scheme: light) {
  .mc-security {
    background: #fff9d9;
    border-left: 4px solid #e0a300;
    color: #4a3a00;
  }
  .mc-security h2 {
    color: #8a6e00;
  }
  .mc-security p {
    color: #5a4a00;
  }
}

/* -------------------------------------------------- */
/* Security Notice (Dark integrated)                  */
/* -------------------------------------------------- */

.mc-security {
  max-width: 880px;
  margin: 2.8rem auto;
  padding: 1.6rem 2rem;

  background: rgba(140, 160, 200, 0.08); /* dezentes blau-grau */
  border-left: 4px solid rgba(150, 180, 255, 0.35);
  border-radius: 10px;

  color: rgba(255, 255, 255, 0.92);
}

.mc-security h2 {
  margin: 0 0 0.6rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #d8e4ff;
}

.mc-security p {
  margin: 0.5rem 0;
  line-height: 1.55;
  font-size: 1rem;
  color: rgba(235, 240, 255, 0.88);
}

@media (max-width: 720px) {
  .mc-security {
    padding: 1.3rem 1.2rem;
  }
  .mc-security h2 {
    font-size: 1.15rem;
  }
}
