/* ===== Tigonic Labs â€“ Aurora Design v8 (Modernisiert) ===== */
:root {
  /* Farben */
  --bg-900: #0b1020;
  --bg-800: #11172b;
  --surface: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .08);
  --text-100: #f5f7fb;
  --text-300: #d6dae6;
  --text-500: #acb2c3;
  --muted: #9aa1b6;

  /* Brand */
  --gold: #d4af37;
  --gold-600: #b8911f;
  --gold-grad: linear-gradient(90deg, #e7c864, #d4af37 40%, #b8911f);

  /* Akzente (Aurora) */
  --indigo: #4256ff;
  --indigo-20: rgba(66, 86, 255, .20);
  --magenta-20: rgba(208, 66, 172, .20);
  --cyan-20: rgba(50, 219, 219, .20);

  /* App-akzent Lumely */
  --lumely: #2b2e5f;
  --lumely-10: rgba(43, 46, 95, .10);
  --lumely-25: rgba(43, 46, 95, .25);
  --lumely-40: rgba(43, 46, 95, .40);

  /* Layout */
  --radius: 18px;
  --radius-lg: 26px;
  --max-w: 1200px;
  --shadow: 0 22px 80px rgba(0, 0, 0, .45);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(212, 175, 55, .08), transparent 45%),
    linear-gradient(180deg, #0b1020, #0a0f1e 30%, #0b1020);
  color: var(--text-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-600);
}

/* ===== Header ===== */
.site-header.compact {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-100);
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 10px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 18px;
}

/* ===== Hero mit Fade-In Animation ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 80px) 20px 34px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  text-align: center;
  gap: 14px;
}

.hero-wordmark {
  width: min(100%, 900px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 22px 54px rgba(212, 175, 55, .22));
  /* Fade-In Animation */
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== OPTIMIERTER SUBTITEL mit Animation ===== */
.hero-subtitle {
  display: grid;
  gap: 8px;
  margin: 18px auto 12px;
  max-width: 900px;
  /* Fade-In mit VerzÃ¶gerung */
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.lead-gradient {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg,
      var(--gold) 0%,
      #e7c864 30%,
      var(--gold) 60%,
      var(--gold-600) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
  letter-spacing: -.5px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, .25));
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.lead-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-300);
  margin: 0;
  font-weight: 500;
  opacity: .95;
}

/* Aurora Hintergrund */
.bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0/ 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0/ 40px 40px;
  mask-image: radial-gradient(120% 70% at 50% 0%, black 50%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  left: 50%;
  top: -12%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .12), transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}

.hero-aura {
  position: absolute;
  inset: -20% 0 auto;
  height: 380px;
  pointer-events: none;
  background:
    radial-gradient(800px 180px at 20% 40%, var(--indigo-20), transparent 60%),
    radial-gradient(800px 180px at 80% 30%, var(--magenta-20), transparent 60%),
    radial-gradient(800px 180px at 50% 60%, var(--cyan-20), transparent 60%);
  filter: blur(48px);
}

/* Store badges mit Animation */
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  /* Fade-In mit VerzÃ¶gerung */
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.store img {
  height: 46px;
  width: auto;
  display: block;
  filter: saturate(.9) contrast(1.05);
  transition: transform .15s ease, filter .15s ease;
}

.store:hover img {
  transform: translateY(-1px);
  filter: none;
}

/* Abschnittstitel */
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .2px;
}

.section-head {
  max-width: var(--max-w);
  margin: 0 auto 14px;
  padding: 0 20px;
  text-align: center;
}

/* ===== OPTIMIERTER ÃœBER MICH BEREICH ===== */
.about {
  padding: 48px 20px 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .06), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-intro {
  color: var(--text-300);
  margin: 0 auto 40px;
  max-width: 780px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
}

/* Feature Cards Grid */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto 32px;
  max-width: 1100px;
}

.feature-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: grid;
  gap: 12px;
  text-align: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(212, 175, 55, .08), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(212, 175, 55, .3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(closest-side, rgba(212, 175, 55, .15), transparent 70%);
  filter: blur(20px);
}

.feature-icon svg {
  position: relative;
  z-index: 1;
}

.feature-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: .2px;
}

.feature-text {
  margin: 0;
  color: var(--text-300);
  font-size: 15px;
  line-height: 1.6;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.bullets li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-100);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}

.bullets li:hover {
  background: rgba(212, 175, 55, .1);
  border-color: rgba(212, 175, 55, .3);
}

/* ===== App Showcase mit Hover-Effekten ===== */
.apps {
  padding: 8px 0 56px;
}

.apps-show {
  max-width: var(--max-w);
  margin: 16px auto 0;
  padding: 0 20px;
  display: grid;
  gap: 20px;
}

.app-panel {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  /* Hover-Animation */
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.app-panel:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55);
  border-color: rgba(212, 175, 55, .35);
}

.panel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at -10% 120%, rgba(212, 175, 55, .09), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
  mask-image: radial-gradient(160% 80% at 50% 0%, #000 60%, transparent 90%);
}

.panel-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
}

.app-logo {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent 70%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  /* Logo-Animation bei Panel-Hover */
  transition: transform .3s ease;
}

.app-panel:hover .app-logo {
  transform: scale(1.05) rotate(2deg);
}

.app-logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
  transition: filter .3s ease;
}

.app-panel:hover .app-logo img {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .45));
}

.aura::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 40px;
  filter: blur(26px);
  background: radial-gradient(closest-side, rgba(212, 175, 55, .25), transparent 65%);
  opacity: .7;
  pointer-events: none;
  transition: opacity .3s ease;
}

.app-panel:hover .aura::after {
  opacity: 1;
}

.panel-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.panel-head {
  display: grid;
  gap: 8px;
}

.app-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: .2px;
  transition: color .3s ease;
}

.app-panel:hover .app-title {
  color: var(--gold);
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  transition: all .2s ease;
}

.app-panel:hover .chip {
  background: rgba(212, 175, 55, .15);
  border-color: rgba(212, 175, 55, .3);
}

.app-text {
  margin: 0;
  color: var(--text-300);
  max-width: 70ch;
}

.feature-list {
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--text-300);
  display: grid;
  gap: 6px;
}

.feature-list li {
  list-style: disc;
}

.panel-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.legal a {
  color: var(--text-100);
  opacity: .95;
}

.legal a:hover {
  color: var(--gold);
}

.dot {
  opacity: .5;
}

@media (max-width: 960px) {
  .app-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .panel-body {
    text-align: center;
  }

  .app-text {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Legal Pages ===== */
.legal-shell {
  padding: clamp(24px, 5vw, 48px) 16px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(900px 240px at -10% 0%, rgba(212, 175, 55, .10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.legal-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.legal-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.legal-title {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
}

.legal-body {
  padding: 20px 18px 24px;
  color: var(--text-300);
}

.legal-body h2 {
  color: var(--text-100);
  margin: 18px 0 6px;
  font-size: 20px;
}

.legal-body h3 {
  color: var(--text-100);
  margin: 14px 0 6px;
  font-size: 17px;
}

.legal-body p {
  margin: 8px 0;
}

.legal-body ul {
  margin: 8px 0 8px 18px;
  display: grid;
  gap: 6px;
}

.legal-body li {
  list-style: disc;
}

/* ===== Support â€“ Kompakteres schÃ¶neres Formular ===== */
.support {
  padding: 10px 20px 90px;
}

.support-inner {
  max-width: 680px;
  margin: 0 auto;
}

.support-inner .section-head {
  text-align: center;
}

.support-inner .support-lead {
  color: var(--text-300);
  text-align: center;
  margin: 0 0 24px;
  font-size: 16px;
}

.support-form {
  display: grid;
  gap: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-100);
  letter-spacing: .2px;
}

.input-modern,
.select-modern,
textarea.input-modern {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(17, 23, 43, .8);
  border: 1.5px solid rgba(255, 255, 255, .15);
  color: var(--text-100);
  outline: none;
  font-size: 15px;
  transition: all .2s ease;
}

.select-modern {
  padding-right: 42px;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="%23d4af37"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  cursor: pointer;
}

select:required:invalid {
  color: var(--muted);
}

select option {
  color: var(--text-100);
  background: var(--bg-800);
}

.input-modern:focus,
.select-modern:focus,
textarea.input-modern:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .15);
  background: rgba(17, 23, 43, .95);
}

textarea.input-modern {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.consent input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--gold);
}

.consent label {
  font-size: 14px;
  color: var(--text-300);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--gold-grad);
  color: #0d0d0d;
  box-shadow: 0 12px 32px rgba(212, 175, 55, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, .4);
  filter: brightness(1.08);
}

/* ===== Footer ===== */
.site-footer.v6 {
  padding: 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .38);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: .95;
}

.footer-name {
  font-weight: 800;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-100);
  opacity: .9;
  padding-left: 22px;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  opacity: .95;
}

.footer-links a[data-icon="privacy"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="%23d4af37" fill="none" viewBox="0 0 24 24" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>');
}

.footer-links a[data-icon="imprint"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="%23d4af37" fill="none" viewBox="0 0 24 24" stroke-width="2"><path d="M6 2h12v20H6z"/><path d="M8 6h8M8 10h8M8 14h6"/></svg>');
}

.footer-meta {
  text-align: right;
  color: var(--text-300);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-meta {
    text-align: center;
  }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(212, 175, 55, .3);
  color: #0d0d0d;
}

/* Form Messages */
.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 300px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 4.7s;
  opacity: 0;
  transform: translateX(400px);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.toast.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }
}