/* ==========================================================
   main.css — Sandra Hotupan Portfolio
   ProcessWire + TailwindCSS (utility-augmented)
   ========================================================== */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --fuchsia:  #e040fb;
  --violet:   #7c3aed;
  --rose:     #f472b6;
  --dark:     #07050f;
  --card:     #110d1e;
  --card2:    #160e28;
  --border:   rgba(228,64,251,.18);
  --text:     #e8dff7;
  --muted:    #9b8ab8;
  --radius:   1.25rem;
  --radius-sm:.75rem;
  --trans:    .3s ease;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html  { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .3;
}

main { position: relative; z-index: 1; }

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── GRADIENT UTILITIES ──────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, var(--fuchsia) 0%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--fuchsia) 55%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fw-500 { font-weight: 500; }
.text-center { text-align: center; }
.mt-3 { margin-top: .75rem; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container        { max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }
.container-narrow { max-width: 56rem; margin-inline: auto; padding-inline: 1.5rem; }

.section-padded    { padding-block: 7rem;  position: relative; overflow: hidden; }
.section-padded-sm { padding-block: 4rem;  position: relative; overflow: hidden; }
.section-stats     { padding-block: 4rem;  position: relative; }

.section-header    { margin-bottom: 4rem; }
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-top: .75rem;
}
.section-sub {
  color: var(--muted);
  margin-top: .75rem;
  line-height: 1.7;
}
.sec-label-center { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sec-label-center::before,
.sec-label-center::after  { content: ''; display: block; width: 24px; height: 1px; background: var(--fuchsia); }

/* ── DIVIDER ────────────────────────────────────────────── */
.grad-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228,64,251,.3), transparent);
}

/* ── BLOBS ───────────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.blob-fuchsia { background: var(--fuchsia); }
.blob-violet  { background: var(--violet); }

/* ── RING ────────────────────────────────────────────────── */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(228,64,251,.18);
  pointer-events: none;
}

/* ── SEC LABEL ───────────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fuchsia);
}
.sec-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--fuchsia);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fuchsia), var(--violet));
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--trans);
  box-shadow: 0 8px 32px rgba(224,64,251,.35);
  border: none;
}
.btn-glow:hover { box-shadow: 0 12px 48px rgba(224,64,251,.55); transform: translateY(-2px); }
.btn-glow svg   { flex-shrink: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(228,64,251,.4);
  color: #d8b4fe;
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-outline:hover { border-color: var(--fuchsia); color: #fff; background: rgba(228,64,251,.08); }
.btn-sm   { padding: 8px 18px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; margin-top: .5rem; }

/* ── PILL ────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  background: rgba(228,64,251,.08);
  border: 1px solid rgba(228,64,251,.2);
  color: #d8b4fe;
  transition: all .2s;
  white-space: nowrap;
}
.pill:hover { background: rgba(228,64,251,.18); border-color: rgba(228,64,251,.45); color: #fff; transform: translateY(-2px); }

/* ── 3D CARD ─────────────────────────────────────────────── */
.card-3d {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
}
.card-3d:hover {
  box-shadow: 0 24px 60px rgba(224,64,251,.14), 0 0 0 1px rgba(224,64,251,.22);
}
.card-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: linear-gradient(135deg,rgba(228,64,251,.18),rgba(124,58,237,.18));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .6rem;
}
.card-desc { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7,5,15,.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: #fff;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--fuchsia), var(--violet));
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.nav-cta { margin-left: 1.5rem; padding: 9px 20px; font-size: .82rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(7,5,15,.95);
}
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.section-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-sub  { font-size: 1.05rem; color: var(--muted); max-width: 30rem; line-height: 1.7; margin-bottom: .75rem; }
.hero-location { font-size: .875rem; color: var(--muted); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Avatar */
.hero-visual   { position: relative; display: flex; justify-content: center; }
.avatar-ring {
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fuchsia), var(--violet));
  padding: 3px;
  box-shadow: 0 0 48px rgba(224,64,251,.4), 0 0 96px rgba(124,58,237,.22);
  animation: pulseRing 4s ease-in-out infinite;
}
@keyframes pulseRing {
  0%,100% { box-shadow: 0 0 48px rgba(224,64,251,.4), 0 0 96px rgba(124,58,237,.22); }
  50%      { box-shadow: 0 0 72px rgba(224,64,251,.65), 0 0 120px rgba(124,58,237,.4); }
}
.avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.avatar-initials {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}
.avatar-role { font-size: .75rem; color: var(--muted); }

/* 3D Cube */
.cube-wrap { perspective: 500px; width: 80px; height: 80px; }
.cube {
  width: 80px; height: 80px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 8s linear infinite;
}
.cube-face {
  position: absolute;
  width: 80px; height: 80px;
  border: 1px solid rgba(228,64,251,.35);
  background: rgba(228,64,251,.05);
  backdrop-filter: blur(4px);
}
.cube-face.front  { transform: translateZ(40px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(40px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(40px); }
.cube-face.right  { transform: rotateY(90deg)  translateZ(40px); }
.cube-face.top    { transform: rotateX(90deg)  translateZ(40px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }
@keyframes rotateCube {
  from { transform: rotateX(15deg) rotateY(0deg); }
  to   { transform: rotateX(15deg) rotateY(360deg); }
}

/* Float tags */
.float-tag   { position: absolute; z-index: 10; }
.float-el    { animation: floatEl 6s ease-in-out infinite; }
.float-delay-2 { animation-delay: -2s; }
.float-delay-4 { animation-delay: -4s; }
@keyframes floatEl {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-14px) rotate(4deg); }
  66%     { transform: translateY(-7px) rotate(-3deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%     { transform: translateX(-50%) translateY(8px); opacity: .4; }
}

/* ═══════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--fuchsia), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: .85rem; margin-top: .25rem; }

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.proj-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.proj-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(228,64,251,.06),rgba(124,58,237,.06));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.proj-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(224,64,251,.18); }
.proj-card:hover::before { opacity: 1; }

.proj-thumb {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.proj-thumb-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.proj-body    { padding: 1.5rem; }
.proj-header  { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.proj-title   { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.proj-desc    { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-bottom: 1rem; }
.proj-tags    { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }

/* ═══════════════════════════════════════════════════════════
   STACK
═══════════════════════════════════════════════════════════ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 768px) { .stack-grid { grid-template-columns: 1fr; gap: 2rem; } }

.stack-category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 1.25rem;
}
.stack-pills { display: flex; flex-wrap: wrap; gap: .5rem; }

.cms-highlight        { margin-top: 4rem; }
.cms-highlight-title  { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 1.25rem; }
.cms-cards            { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .cms-cards { grid-template-columns: 1fr; } }

.cms-badge {
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: all var(--trans);
}
.cms-badge:hover { background: rgba(124,58,237,.18); border-color: rgba(228,64,251,.4); }
.cms-icon { font-size: 1.5rem; flex-shrink: 0; }
.cms-name { font-weight: 600; color: #fff; font-size: .95rem; }
.cms-desc { color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE TIMELINE
═══════════════════════════════════════════════════════════ */
.timeline    { display: flex; flex-direction: column; gap: 2.5rem; }
.tl-item     { display: flex; gap: 1.5rem; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fuchsia), var(--violet));
  flex-shrink: 0;
  margin-top: 1.5rem;
  box-shadow: 0 0 0 4px rgba(224,64,251,.15);
}
.tl-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.tl-role    { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; }
.tl-company { font-size: .9rem; margin-top: .2rem; }
.tl-period  {
  font-size: .75rem;
  background: rgba(228,64,251,.1);
  border: 1px solid rgba(228,64,251,.25);
  border-radius: 999px;
  padding: 3px 12px;
  color: #d8b4fe;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGES
═══════════════════════════════════════════════════════════ */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 560px) { .languages-grid { grid-template-columns: 1fr; } }

.lang-flag { font-size: 2.5rem; margin-bottom: .75rem; }
.lang-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .3rem; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info  { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item  { padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.contact-icon  {
  width: 2.75rem; height: 2.75rem;
  border-radius: .75rem;
  background: linear-gradient(135deg,rgba(228,64,251,.2),rgba(124,58,237,.2));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-value { color: #fff; font-weight: 500; font-size: .95rem; }
a.contact-value:hover { color: var(--fuchsia); }

/* Form */
.form-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row-2   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-group   { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; color: var(--muted); }
.required     { color: var(--fuchsia); }

input, textarea {
  background: rgba(228,64,251,.04);
  border: 1px solid rgba(228,64,251,.18);
  border-radius: var(--radius-sm);
  padding: 11px 15px!important;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
input:focus, textarea:focus  {
  border-color: var(--fuchsia);
  background: rgba(228,64,251,.08);
}
input::placeholder, textarea::placeholder { color: var(--muted); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
  color: var(--text);
}
.form-success strong { font-size: 1.2rem; }

.form-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: .5rem;
  padding: .75rem 1rem;
  color: #fca5a5;
  font-size: .875rem;
  margin-bottom: .5rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3.5rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-tagline   { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-top: .75rem; max-width: 22rem; }
.footer-nav       { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fuchsia); margin-bottom: .5rem; }
.footer-link      { color: var(--muted); font-size: .875rem; transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-contact   { display: flex; flex-direction: column; gap: .6rem; }

.footer-bottom {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  color: var(--muted);
  font-size: .8rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal .footer-link:hover {
    color: var(--fuchsia);
}


.legal-card {
    padding: 3.5rem 4rem;
}

@media (max-width: 640px) {
    .legal-card {
        padding: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE MANAGEMENT BANNER
═══════════════════════════════════════════════════════════ */
#cookie-manager {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 3rem) !important;
    max-width: 56rem !important;
    z-index: 9999 !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    top: auto !important;
    /* Verstecken wenn leer */
    pointer-events: none;
}

#cookie-manager.js-show {
    pointer-events: all;
}

.pwcmb-widget {
    position: relative !important;
    background: rgba(17, 13, 30, 0.97) !important;
    background-color: rgba(17, 13, 30, 0.97) !important;
    border: 1px solid rgba(228, 64, 251, .18) !important;
    border-radius: 1.25rem !important;
    width: 100% !important;
}

/* Verstecke das manage-widget solange es nicht aktiv ist */
.pwcmb-widget--manage {
    display: none !important;
}

.pwcmb-widget--manage.js-show {
    display: block !important;
}

.pwcmb-widget__inner {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 1.25rem 1.5rem !important;
    flex-wrap: wrap !important;
}

.pwcmb-widget__copy,
.pwcmb-widget__text,
.pwcmb-widget__text * {
    background: transparent !important;
    color: var(--muted) !important;
    font-size: .875rem !important;
    line-height: 1.6 !important;
}

.pwcmb-widget__text a {
    color: var(--fuchsia) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.pwcmb-widget__actions {
    display: flex !important;
    gap: .75rem !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    justify-content: flex-end !important;
	
	@media (max-width: 400px) {
		padding-top: 0!important;
        flex-direction: column;
	}
	
}

.pwcmb-widget__button {
    border-radius: 999px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: .875rem !important;
    cursor: pointer !important;
    transition: all .3s ease !important;
    padding: 10px 22px !important;
}

.js-pwcmb-allow-cookies {
    background: linear-gradient(135deg, var(--fuchsia), var(--violet)) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(224, 64, 251, .35) !important;
}

.js-pwcmb-allow-cookies:hover {
    box-shadow: 0 12px 48px rgba(224, 64, 251, .55) !important;
    transform: translateY(-2px) !important;
}

.js-pwcmb-manage-cookies {
    background: transparent !important;
    border: 1px solid rgba(228, 64, 251, .4) !important;
    color: #d8b4fe !important;
}

.js-pwcmb-manage-cookies:hover {
    border-color: var(--fuchsia) !important;
    color: #fff !important;
    background: rgba(228, 64, 251, .08) !important;
}

.pwcmb-widget__close {
    background: transparent !important;
    border: none !important;
    color: var(--muted) !important;
    cursor: pointer !important;
    transition: color .3s ease !important;
}

.pwcmb-widget__close:hover {
    color: var(--fuchsia) !important;
}

	  
#cookie-manager .pwcmb-widget__close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  bottom: auto !important;
}

#cookie-manager .pwcmb-widget__inner {
  position: relative !important;
}
	  
@media (max-width: 600px) {
    #cookie-manager {
        bottom: 1rem !important;
        left: 1rem !important;
        right: 1rem !important;
        transform: none !important;
        width: auto !important;
    }

    .pwcmb-widget__inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

.pwcmb {
    position: static !important;
    background: transparent !important;
    width: auto !important;
    left: auto !important;
    z-index: auto !important;
}

.pwcmb--bottom_overlay {
    bottom: auto !important;
}