/* ═══════════════════════════════════════════════
   ORILIAN – Haupt-Stylesheet
   Farben: Lila #7C3AED, Mint #2DD4BF, Dunkelblau #0a0a0f
   Font: Raleway (lokal + Google Fonts Fallback)
════════════════════════════════════════════════ */

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ── CSS VARIABLEN ── */
:root {
  --bg:           #0a0a0f;
  --bg2:          #111118;
  --surface:      #16161f;
  --border:       rgba(124,58,237,0.18);
  --text:         #f0f0f8;
  --text-muted:   #8888aa;
  --text-subtle:  #555570;
  --purple:       #7C3AED;
  --purple-light: #9d6cf5;
  --mint:         #2DD4BF;
  --mint-light:   #5ee8d4;
  --card-bg:      rgba(22,22,31,0.85);
  --shadow:       0 4px 32px rgba(0,0,0,0.4);
  --radius:       16px;
  --radius-sm:    8px;
}
[data-theme="light"] {
  --bg:           #f8f8fc;
  --bg2:          #ffffff;
  --surface:      #ededf5;
  --border:       rgba(124,58,237,0.15);
  --text:         #0a0a14;
  --text-muted:   #555570;
  --text-subtle:  #9999bb;
  --purple:       #6d28d9;
  --purple-light: #7C3AED;
  --mint:         #0d9488;
  --mint-light:   #2DD4BF;
  --card-bg:      rgba(255,255,255,0.92);
  --shadow:       0 4px 24px rgba(124,58,237,0.10);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Raleway', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.35s, color 0.35s;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }

/* ── BACKGROUND ORBS ── */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.18; }
.orb-1 { width: 600px; height: 600px; background: var(--purple); top: -150px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: var(--mint); bottom: -100px; right: -100px; }
.orb-3 { width: 300px; height: 300px; background: #f97316; top: 40%; left: 60%; opacity: 0.08; }
[data-theme="light"] .orb { opacity: 0.10; }

/* ── HEADER ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10,10,15,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}
[data-theme="light"] #site-header { background: rgba(248,248,252,0.90); }

.logo-wrap { height: 48px; display: flex; align-items: center; }
.logo-light, .logo-dark { height: 48px; width: auto; }
[data-theme="dark"]  .logo-light { display: none; }
[data-theme="dark"]  .logo-dark  { display: block; }
[data-theme="light"] .logo-dark  { display: none; }
[data-theme="light"] .logo-light { display: block; }

.header-right { display: flex; align-items: center; gap: 1.5rem; }
nav a {
  color: var(--text-muted); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  transition: color 0.2s; text-decoration: none;
}
nav a:hover { color: var(--mint); text-decoration: none; }

.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  color: var(--text-muted);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 0.5rem;
}
.theme-toggle:hover { border-color: var(--purple); color: var(--purple-light); }
.theme-toggle svg { flex-shrink: 0; }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.30);
  border-radius: 50px; padding: 0.4rem 1.2rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 2.5rem;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  max-width: 900px; margin-bottom: 1.5rem;
}
.hl-purple { color: var(--purple-light); }
.hl-mint   { color: var(--mint); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300;
  color: var(--text-muted); max-width: 600px; line-height: 1.75;
  margin-bottom: 3.5rem; font-style: italic;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--mint));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 0.9rem 2.2rem;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; color: #fff; }
.btn-primary.btn-full { width: 100%; text-align: center; margin-top: 0.5rem; }
.btn-outline {
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.9rem 2.2rem;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); text-decoration: none; }

/* ── DIVIDER ── */
.divider {
  position: relative; z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--mint), transparent);
  margin: 0 3rem; opacity: 0.4;
}

/* ── SECTION ── */
.section {
  position: relative; z-index: 1;
  padding: 6rem 3rem; max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1rem; line-height: 1.15;
}
.section-desc {
  color: var(--text-muted); font-size: 1rem; line-height: 1.7;
  max-width: 600px; margin-bottom: 3.5rem;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
}
.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.icon-purple { background: rgba(124,58,237,0.15); }
.icon-mint   { background: rgba(45,212,191,0.12); }
.icon-orange { background: rgba(249,115,22,0.12); }
.icon-green  { background: rgba(34,197,94,0.12); }
.icon-blue   { background: rgba(59,130,246,0.12); }
.icon-pink   { background: rgba(236,72,153,0.12); }
.service-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-desc  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.service-tag {
  display: inline-block; margin-top: 1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 4px;
}
.tag-purple { background: rgba(124,58,237,0.15); color: var(--purple-light); }
.tag-mint   { background: rgba(45,212,191,0.12); color: var(--mint); }
.tag-orange { background: rgba(249,115,22,0.12); color: #fb923c; }

/* ── NOTIFY SECTION ── */
.notify-section {
  position: relative; z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem; text-align: center;
}
.notify-inner { max-width: 560px; margin: 0 auto; }
.notify-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.8rem; }
.notify-desc  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 2rem; }
.notify-form  { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.notify-input {
  flex: 1; min-width: 220px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.85rem 1.2rem;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.notify-input:focus { border-color: var(--purple); }
.notify-input::placeholder { color: var(--text-subtle); }
.notify-btn {
  background: linear-gradient(135deg, var(--purple), var(--mint));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 0.85rem 1.8rem; font-family: inherit;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; transition: opacity 0.2s;
}
.notify-btn:hover { opacity: 0.88; }
.notify-note { margin-top: 1rem; font-size: 0.75rem; color: var(--text-subtle); }

/* ── LEGAL SECTIONS ── */
.legal-section {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  padding: 5rem 3rem;
}
.legal-title {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 0.4rem; color: var(--purple-light);
}
.legal-subtitle {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-subtle); margin-bottom: 2rem;
}
.legal-block {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem 1.8rem; margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.legal-block h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.legal-block p, .legal-block li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
.legal-block ul { padding-left: 1.4rem; margin: 0.5rem 0; }
.legal-block a { color: var(--mint); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo-light, .footer-logo-dark { height: 36px; width: auto; }
[data-theme="dark"]  .footer-logo-light { display: none; }
[data-theme="dark"]  .footer-logo-dark  { display: block; }
[data-theme="light"] .footer-logo-dark  { display: none; }
[data-theme="light"] .footer-logo-light { display: block; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a, .footer-cookie-btn {
  color: var(--text-subtle); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; text-decoration: none;
  background: none; border: none; padding: 0;
}
.footer-links a:hover, .footer-cookie-btn:hover { color: var(--mint); text-decoration: none; }
.footer-copy { font-size: 0.75rem; color: var(--text-subtle); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  width: 100%; max-width: 640px; max-height: 90vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: none; border: none;
  color: var(--text-muted); padding: 0.3rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-header { margin-bottom: 1.5rem; }
.modal-logo-light, .modal-logo-dark { height: 36px; }
[data-theme="dark"]  .modal-logo-light { display: none; }
[data-theme="dark"]  .modal-logo-dark  { display: block; }
[data-theme="light"] .modal-logo-dark  { display: none; }
[data-theme="light"] .modal-logo-light { display: block; }
.modal-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.modal-desc  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

/* ── FORM ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; }
.req { color: var(--purple-light); }
.opt { color: var(--text-subtle); font-weight: 400; font-size: 0.75rem; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--purple); margin-top: 2px;
  cursor: pointer;
}
.form-check label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form-check a { color: var(--mint); }
.form-alert {
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
  display: none;
}
.form-alert.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #f87171; display: block; }
.form-alert.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; display: block; }
.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #site-header { padding: 1rem 1.5rem; }
  nav { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .section { padding: 4rem 1.5rem; }
  .legal-section { padding: 3rem 1.5rem; }
  .notify-section { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .divider { margin: 0 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { text-align: center; }
}
