:root {
  --bg: #020617;
  --card: rgba(15,23,42,0.85);
  --card2: rgba(15,23,42,0.96);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --accent-2: #34d399;
  --ring: rgba(96,165,250,.35);
  --radius: 18px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.9);
  --shadow-card: 0 12px 35px rgba(15,23,42,0.75);
}

/* RESET & GLOBALS */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1200px 900px at 0% 0%, #0b1120, transparent),
    radial-gradient(1200px 900px at 100% 0%, #020617, transparent),
    linear-gradient(160deg, #020617 0%, #020617 40%, #020617 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* HEADER / BRANDING */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.35),
    0 18px 45px rgba(8, 47, 73, 0.85);
  background: radial-gradient(circle at 20% 0%, #22d3ee, #1d4ed8);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent);
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  position: relative;
  padding-bottom: 3px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.18s ease-out;
}

nav a:hover {
  color: #e5e7eb;
}

nav a:hover::after {
  width: 100%;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* HERO (Startseite) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
}

.badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #a5f3fc;
  backdrop-filter: blur(10px);
}

.badge.secondary {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.55);
  color: #bfdbfe;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

/* BUTTONS – Premium Look */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #020617;
  background: radial-gradient(circle at 0 0, #bfdbfe, #60a5fa);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 35px var(--ring);
  transition: transform 0.09s ease-out, box-shadow 0.15s ease-out,
    filter 0.15s ease-out;
  white-space: nowrap;
}

.btn span.icon {
  font-size: 17px;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.55);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.btn.outline {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn.outline:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.btn.secondary {
  background: linear-gradient(180deg, #6ee7b7, #34d399);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.3);
}

.btn.neutral {
  background: linear-gradient(180deg, #c7d2fe, #a78bfa);
  box-shadow: 0 10px 28px rgba(129, 140, 248, 0.35);
}

/* HERO CARD */
.hero-card {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(circle at 100% 0, rgba(52, 211, 153, 0.12), transparent),
    linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  backdrop-filter: blur(14px);
}

.hero-card h2 {
  font-size: 15px;
  margin: 0 0 10px;
}

.hero-card ul {
  padding-left: 18px;
  margin: 0 0 8px;
}

.hero-card li {
  margin-bottom: 4px;
}

.hero-card small {
  color: var(--muted);
  font-size: 11px;
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* SECTION / GRID-KARTEN */
.section-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}

.section-intro {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  max-width: 640px;
}

.section-subtitle {
  margin: 24px 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Karten – Glass + Hover */
.card {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.06), transparent),
    linear-gradient(145deg, var(--card), var(--card2));
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 15px 15px 13px;
  font-size: 13px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: transform 0.11s ease-out, box-shadow 0.13s ease-out,
    border-color 0.13s ease-out, background 0.13s ease-out;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
}

.tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}

.tagline a {
  color: var(--accent);
  text-decoration: none;
}

.tagline a:hover {
  text-decoration: underline;
}

/* FOOTER (global) */
footer {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0.75;
  letter-spacing: 0.2px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

footer:hover {
  opacity: 0.95;
}

/* TOOLS-SEITE – Karten oben */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

@media (max-width: 820px) {
  .tools-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.tool-card {
  grid-column: span 6;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.85),
    inset 0 0 12px rgba(255, 255, 255, 0.02);
  transition: transform 0.11s ease-out, box-shadow 0.14s ease-out,
    border-color 0.14s ease-out;
}

@media (max-width: 820px) {
  .tool-card {
    grid-column: span 12;
  }
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(52, 211, 153, 0.16), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.tool-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.tool-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.tool-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.85);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.98);
}

.chip {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 11px;
  color: #0b1117;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 800;
  z-index: 2;
}

/* Top-10-Bereich */
.it-top10-section {
  margin-top: 50px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent),
    linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.it-top10-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.it-top10-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
  text-align: center;
}

.it-top10-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 820px) {
  .it-top10-grid {
    grid-template-columns: 1fr;
  }
}

.it-top10-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.93));
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
  box-shadow: var(--shadow-card);
}

.it-top10-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.it-top10-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.it-top10-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.it-top10-list li {
  margin-bottom: 8px;
}

.it-top10-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.it-top10-list a:hover {
  text-decoration: underline;
}

.it-top10-tag {
  background: rgba(31, 41, 55, 0.9);
  padding: 2px 6px;
  font-size: 10px;
  border-radius: 999px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.it-top10-link-icon {
  display: inline-block;
  opacity: 0.55;
  margin-left: 4px;
  font-size: 11px;
  transition: opacity 0.2s;
}

.it-top10-list a:hover + .it-top10-link-icon {
  opacity: 0.9;
}

.it-top10-footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* LEGAL-SEITEN */
.page-header {
  margin-bottom: 20px;
}

.page-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 6px;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content {
  max-width: 800px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 20px 20px 18px;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.legal-content h1 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 12px;
}

.legal-content h2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 6px;
}

.legal-content p {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-content a {
  color: var(--accent);
}

.legal-backlink {
  margin-top: 16px;
  font-size: 13px;
}

/* MOBILE-FEINSCHLIFF */
@media (max-width: 480px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-card {
    padding: 16px;
  }
}
