/* ==============================
   Tabfix – Stylesheet
   ============================== */

/* Reset & Basics */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(1200px 500px at 10% -10%, rgba(14,165,233,.12), transparent),
              radial-gradient(1200px 500px at 90% -20%, rgba(47,107,255,.14), transparent),
              #0b1220;
  color: #e6ebff;
  font: 500 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Farben als Variablen */
:root {
  --bg: #0b1220;
  --card: #101827;
  --text: #e6ebff;
  --muted: #a7b0c4;
  --brand: #2f6bff;
  --brand-2: #0ea5e9;
  --ring: rgba(47,107,255,.4);
}

/* Container */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand span {
  font-weight: 800;
  letter-spacing: .4px;
}

.navlinks {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-weight: 600;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--brand-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.05rem;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 10px 30px -8px var(--ring);
  transition: transform .15s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px -10px var(--ring);
}

.btn.secondary {
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.btn.secondary:hover {
  background: rgba(255,255,255,.12);
}

.btn:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(64px, 12vw, 120px) 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.1;
  margin: .75rem 0 1rem;
  font-weight: 900;
  letter-spacing: .3px;
}

.lead {
  color: var(--muted);
  max-width: 880px;
  margin: 0 auto 1.25rem;
}

.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0 1.25rem;
}

.note {
  font-size: .92rem;
  color: #cfd6ee;
  opacity: .9;
}

/* Features */
.features {
  padding: 40px 0 84px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 40px -18px rgba(0,0,0,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px -14px rgba(0,0,0,.65);
}

.card h3 {
  margin: .2rem 0 .35rem;
  font-size: 1.05rem;
}

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

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 22px 0;
  color: var(--muted);
  font-size: .95rem;
  margin-top: auto;
}

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

/* Consent Banner */
.consent-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
}

.consent {
  margin: 0 auto 16px;
  width: min(980px, 92vw);
  background: var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 60px -18px rgba(2,8,23,.7);
}

.consent h4 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.consent p {
  margin: 0 0 .9rem;
  color: var(--muted);
}

.consent .actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.link {
  color: #93c5fd;
  text-decoration: underline;
}

.badge {
  font-size: .86rem;
  padding: .25rem .5rem;
  border-radius: 8px;
  background: rgba(148,163,184,.18);
  border: 1px solid rgba(255,255,255,.09);
}