/* 
// Pfad: css/
// Datei: style.css
*/

/* === Theme: Carbon + Neon (Mobile First) === */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Nunito:wght@300;400;700;900&display=swap');

:root {
  /* Farben */
  --bg-dark-1: #0e1013;
  --bg-dark-2: #151821;
  --carbon-highlight: rgba(255, 255, 255, 0.045);

  --neon-green: #28ff91;
  --neon-blue: #21a0ff;

  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.14);
  --card-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);

  /* Typo */
  --font-title: "Black Ops One", system-ui, sans-serif;
  --font-blog: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;

  /* Layout */
  --radius: 14px;
  --pad: 16px;
  --maxw: 1080px;

  /* Effekte */
  --blur: 7px;
  --glow-strength: 1.15;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* Hintergrund: Carbon + Verlauf */
body {
  color: #e9eef5;
  font: 400 15px/1.6 var(--font-blog);
  background:
    linear-gradient(135deg, var(--carbon-highlight) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, var(--carbon-highlight) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(315deg, var(--carbon-highlight) 25%, transparent 25%) 0 0/20px 20px,
    linear-gradient(45deg,  var(--carbon-highlight) 25%, transparent 25%) 0 0/20px 20px,
    linear-gradient(160deg, var(--bg-dark-1), var(--bg-dark-2));
  background-blend-mode: overlay, overlay, overlay, overlay, normal;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px;
}

/* Header */
.site-header {
  padding: 12px 0 18px;
  background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.3));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6));
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Titel Standard */
.title {
  position: relative;
  margin: 0 0 .4em;
  font-family: var(--font-title);
  font-size: 2.2rem;
  letter-spacing: .5px;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.title.title--neon::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(var(--blur)) saturate(var(--glow-strength));
  transform: translate(2px, 4px) scale(1.02);
  opacity: .95;
}

/* Titel mittig mit Glow (für AlgosOne.AI Box) */
.title--glow {
  font-family: var(--font-title);
  font-size: 2.4rem;
  text-align: center;
  color: #fff;
  position: relative;
  margin: 0 0 1rem;
  line-height: 1.05;
}
.title--glow::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(8px) saturate(1.2);
  transform: scale(1.035);
  opacity: .85;
}

/* Info-Card */
.info-card {
  margin: 0 auto var(--pad);
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Label */
.info-card__label {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  padding: .4em .75em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 6px 14px rgba(0,0,0,.35);
}

/* Variablen-Chip */
.var {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .28em .6em;
  border-radius: 9px;
  font: 600 12px/1.2 var(--font-blog);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  white-space: nowrap;
}

/* Blog-Text */
.blog {
  font-family: var(--font-blog);
  font-weight: 400;
  font-size: 16px;
  color: #e6edf6;
  margin: .6em 0 0;
}

/* Button: sehr dunkel mit Neon-Randverlauf */
.btn {
  display: inline-block;
  margin-top: 14px;
  padding: .9em 1.2em;
  border-radius: 12px;
  background: #0c0f12;
  color: #fff;
  font: 700 14px/1 var(--font-blog);
  text-decoration: none;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(40,255,145,.4), 0 0 18px rgba(33,160,255,.4);
}
.btn:active { transform: translateY(0); opacity: .9; }

/* Feinheiten */
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  margin: 18px 0;
}
a { color: var(--neon-blue); text-underline-offset: .2em }

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none }
  .title.title--neon::after { transform: none }
}

/* Gradient-Text im Button */
.btn--gradient-text {
  font-family: var(--font-title); /* gleiche Schrift wie AlgosOne.AI */
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  display: inline-block;
}

/* CTA-Wrapper mittig */
.cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Kleiner Hinweis unter dem Button */
.aff-link-note {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 6px;
  opacity: 0.85;
  word-break: break-all;
}
/* Zentrierte Label-Navigation unter dem großen Titel */
.label-nav{
  display:flex;
  gap:.5em;
  justify-content:center;
  flex-wrap:wrap;
  margin:.2rem 0 1rem;
}

/* Klickbare Labels wie Badges */
.label-nav .info-card__label{
  text-decoration:none; /* Links wie Chips */
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.label-nav .info-card__label:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

/* Aktiver Tab leuchtet leicht (Blau → Grün) */
.label-nav .info-card__label.is-active{
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.5);
  position: relative;
}
.label-nav .info-card__label.is-active::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
  z-index:-1;
  filter:saturate(1.1) blur(9px);
  opacity:.35;
}

/* Glow-Titel (falls noch nicht vorhanden) */
.title--glow{
  font-family: var(--font-title);
  font-size: 2.4rem;
  text-align: center;
  color: #fff;
  position: relative;
  margin: 0 0 1rem;
  line-height: 1.05;
}
.title--glow::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(8px) saturate(1.2);
  transform: scale(1.035);
  opacity: .85;
}

/* Button-Gradient-Text (falls noch nicht vorhanden) */
.btn--gradient-text{
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .2px;
  line-height: 1.1;
  display: inline-block;
}
