:root {
  --card-bg: #020617;
  --card-border: rgba(148, 163, 184, 0.35);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --accent-fake: #f97373;
  --accent-real: #4ade80;
  --accent-extra: #fbbf24;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-strong: #f9fafb;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

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

/* ===== Blob Background ===== */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #0b0f1a;
  overflow-x: hidden;
}

/* Container für die Blobs */
.background-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Gemeinsame Blob-Eigenschaften */
.blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.6;
  animation: blobFloat 30s ease-in-out infinite;
}

/* Einzelne Blobs */
.blob.blob-1 {
  background: #6a5cff;
  top: -120px;
  left: -120px;
}

.blob.blob-2 {
  background: #ff5c8a;
  bottom: -160px;
  right: -120px;
  animation-delay: -10s;
}

.blob.blob-3 {
  background: #2fdcff;
  top: 40%;
  left: 60%;
  animation-delay: -20s;
}

/* Animation */
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.1); }
  66%  { transform: translate(-40px, 60px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}


html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #020617 0%, #020617 40%, #000 100%);
  color: var(--text-main);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* Layout-Rahmen */
.info,
.page-main,
.page-footer {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

.header {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 153, 255, 0.2);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 153, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.header-content {
  flex: 1;
  min-width: 250px;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #00ccff, #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  padding: 0.7rem 1.5rem;
  background: rgba(0, 153, 255, 0.2);
  color: #00ccff;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(0, 153, 255, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover {
  background: rgba(0, 153, 255, 0.4);
  border-color: #00ccff;
  box-shadow: 0 4px 12px rgba(0, 204, 255, 0.3);
}


.footer {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 153, 255, 0.2);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
}
/* Header */

.info {
  padding-top: 28px;
  padding-bottom: 10px;
}

.info h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
}

.page-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Main */

.page-main {
  flex: 1;
  padding-bottom: 24px;
}

/* Sektionen */

.section {
  padding: 18px 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Eingabe */

.field-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

textarea {
  width: 100%;
  min-height: 230px;
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.35);
  padding: 10px 12px;
  resize: vertical;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-size: 0.94rem;
  line-height: 1.5;
}

textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.helper-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.primary-button {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  cursor: pointer;
  background: #020617;
  color: var(--text-strong);
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.88rem;
  gap: 8px;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    border-color 0.12s ease-out, background 0.12s ease-out;
}

.primary-button:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.7);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Ergebnisbereich */

.no-result-hint {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hidden {
  display: none;
}

.result-content {
  margin-top: 10px;
}

/* Zwei-Spalten-Layout im Ergebnis */

.result-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.result-col {
  flex: 1 1 320px;
  min-width: 0;
}

.result-col--analysis {
  max-width: 420px;
}

.result-col--preview {
  flex: 1 1 0;
}

/* Zusammenfassung */

.summary-block {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.summary-line {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.summary-fake {
  color: var(--accent-fake);
  font-weight: 600;
}

.summary-real {
  color: var(--accent-real);
  font-weight: 600;
}

.score-bar {
  position: relative;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
  margin-bottom: 6px;
  display: flex;
}

.score-bar-segment {
  height: 100%;
  transition: width 0.25s ease-out;
}

.score-bar-segment.fake {
  background: linear-gradient(90deg, #f97373, #fb923c);
}

.score-bar-segment.real {
  background: linear-gradient(90deg, #4ade80, #22c55e);
}

.confidence-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Flags / Hinweise */

.flags-section {
  margin-bottom: 16px;
}

.flags-section h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.flags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flags-list li {
  font-size: 0.82rem;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.95);
}

.flags-list li.fake-flag {
  border-color: rgba(248, 113, 113, 0.7);
}

.flags-list li.real-flag {
  border-color: rgba(74, 222, 128, 0.7);
}

.flag-pill-label {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.9;
  margin-right: 6px;
}

/* Erklärung */

.explanation-section h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 500;
}

.explanation-section p {
  margin: 4px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Artikel-Vorschau mit Markern */

.article-preview-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.article-preview {
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.96);
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.6;
  max-height: 420px;
  overflow: auto;
  white-space: pre-wrap;
}

/* Textmarker */

.article-preview mark {
  padding: 1px 2px;
  border-radius: 4px;
  font-weight: 500;
}

mark.hl-fake {
  background: rgba(248, 113, 113, 0.25);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.45);
}

mark.hl-real {
  background: rgba(74, 222, 128, 0.18);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35);
}

mark.hl-extra {
  background: rgba(251, 191, 36, 0.26);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.5);
}

/* Tipps / Carousel minimaler */

.section-tips {
  border-bottom: none;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 6px;
}

.carousel {
  display: flex;
  width: max-content;
  animation: scroll 24s linear infinite;
}

.carousel-item {
  flex: none;
  padding: 8px 24px;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.95);
  margin-right: 12px;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

/* Footer */

.page-footer {
  padding-top: 8px;
  padding-bottom: 18px;
  display: flex;
  justify-content: flex-end;
}

.foooter {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 153, 255, 0.2);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
}

.source {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}

.source:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Animation */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */

@media (max-width: 900px) {
  .result-layout {
    flex-direction: column;
  }

  .result-col--analysis {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .info{
    padding-top: 20px;
    padding-bottom: 6px;
  }

  .page-main {
    padding-bottom: 20px;
  }

  textarea {
    min-height: 190px;
  }

  .info h1 {
    font-size: 1.7rem;
  }
}




.version {
  padding-top: -5px;
  padding-bottom: 18px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.75rem;
  margin-left: auto;
}

.fl {
  text-decoration: none;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.content {
  position: relative;
  z-index: 5;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 2rem;
}

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

.tip-card {
  background: rgba(0, 51, 102, 0.4);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 204, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.tip-card:hover {
  transform: translateY(-8px);
  background: rgba(0, 102, 153, 0.5);
  border-color: rgba(0, 204, 255, 0.5);
  box-shadow: 0 12px 24px rgba(0, 153, 255, 0.2);
  cursor: grab;
}

.tip-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #00ccff;
}

.tip-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0099ff, #00ccff);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 153, 255, 0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 204, 255, 0.5);
  background: linear-gradient(135deg, #00ccff, #0099ff);
}

.podcast {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 153, 255, 0.15);
}

.podcast h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #00ccff;
  text-align: center;
}

.player {
  width: 100%;
  outline: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.2);
}

.podcast p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.intro-section, .tips-section, .cta-section, .podcast { 
  margin-bottom: 3rem;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 153, 255, 0.15);
}

.intro-section h2, .tips-section h2, .cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #00ccff;
}

.intro-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.content {
  position: relative;
  z-index: 5;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 2rem;
  text-align: center;
}

.fl {
  text-decoration: none;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
}

.mussleider {
  margin-left: 1rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
}

.howitworks {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 153, 255, 0.15);
}

.link {
  color: var(--text-strong);
  text-decoration: none;
}

.link:hover {
  color: var(--text-strong);
  text-decoration: underline
}