/* Gemeinsames Design für alle Unterseiten (Shop, Login, Chat, AGB, ...):
   wird NACH style.css geladen und gleicht sie an die neue Startseite (home.css) an.
   Die Zeiterfassungs-App (timetrack.html) lädt diese Datei bewusst nicht. */
:root {
  --bg: #0a0812;
  --bg-panel: #120f1d;
  --bg-elevated: #181428;
  --border: rgba(167, 139, 250, .22);
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --text: #f5f3ff;
  --text-muted: #b4aecb;
  --text-faint: #7d7796;
  --grad: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  --wrap: min(89vw, 1720px);
}
/* Kein Farbverlauf-Hintergrund mehr (verursachte die senkrechten "Balken") */
html { background-image: none !important; background-color: var(--bg) !important; scroll-behavior: smooth; }
body { background: transparent; -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; }

/* -------------------------------------------------- Kopfzeile / Navigation */
.sn { position: sticky; top: 0; z-index: 30; background: rgba(10, 8, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(167, 139, 250, .16); }
.sn-inner { width: var(--wrap); margin: 0 auto; padding: 12px 0; display: flex; align-items: center; gap: 28px; }
.sn-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.sn-mark { display: block; width: 40px; height: 40px; border-radius: 10px; }
.sn-text { display: flex; flex-direction: column; line-height: 1.15; }
.sn-name { font-weight: 700; font-size: 17px; }
.sn-tag { font-size: 10.5px; color: var(--text-faint); }
.sn-links { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.sn-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .15s; }
.sn-links a:hover, .sn-links a.active { color: #fff; }
.sn-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 12px 22px; border-radius: 9px; text-decoration: none; box-shadow: 0 6px 22px rgba(124, 58, 237, .35); transition: transform .15s, box-shadow .15s;
}
.sn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124, 58, 237, .5); }
.sn-cta-mobile { display: none; }
.sn-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; margin-left: auto; }

/* ------------------------------------------------------------------ Footer */
.sf { width: var(--wrap); margin: 72px auto 0; padding: 0 0 32px; }
.sf-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid rgba(167, 139, 250, .16); }
.sf-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.sf a { text-decoration: none; }
.sf-nav a, .sf-legal a { font-size: 13px; color: var(--text-muted); }
.sf-nav a:hover, .sf-legal a:hover { color: #fff; }
.sf-social { color: var(--text-muted); }
.sf-social:hover { color: var(--accent-hover); }
.sf-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-faint); }
.sf-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ------------------------------------------- Bestehende Bausteine angleichen */
.btn-primary { background: var(--grad); border-radius: 9px; box-shadow: 0 6px 22px rgba(124, 58, 237, .35); }
.btn-primary:hover { background: var(--grad); box-shadow: 0 10px 30px rgba(124, 58, 237, .5); }
.btn-secondary { border-color: rgba(167, 139, 250, .38); border-radius: 9px; }
.contact-card, .shop-card, .modal-card, .service-card { background: linear-gradient(180deg, #181428, #120f1d); border: 1px solid rgba(167, 139, 250, .16); border-radius: 14px; box-shadow: none; }
.shop-card:hover { border-color: rgba(167, 139, 250, .38); transform: translateY(-3px); box-shadow: none; }
.shop-products, .shop-placeholder { padding-top: 64px; }
.shop-products h1, .legal h1 { letter-spacing: -.02em; }
input, textarea, select { background: rgba(255, 255, 255, .05); border: 1px solid rgba(167, 139, 250, .2); border-radius: 8px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.legal a { color: var(--accent-hover); }
.modal-overlay { background: rgba(8, 5, 14, .78); }

@media (max-width: 1020px) {
  .sn-toggle { display: block; }
  .sn-cta-desktop { display: none; }
  .sn-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: rgba(10, 8, 18, .97); border-bottom: 1px solid rgba(167, 139, 250, .16); padding: 8px 5.5vw 16px;
  }
  .sn-links.open { display: flex; }
  .sn-links a { padding: 10px 0; width: 100%; font-size: 15px; }
  .sn-cta-mobile { display: block; background: none; box-shadow: none; padding: 10px 0; color: var(--accent-hover) !important; font-weight: 600; border-radius: 0; }
}
main > section, main > section:nth-of-type(even) { background: none; }
