/* Bold Ink Tattoo — Website Styles
   Editorial redesign: Fraunces (Display) + IBM Plex Sans (Text) */

:root {
  --bg-dark: #111013;
  --bg-darker: #0a0a0b;
  --bg-panel: #151217;
  --bg-wood-1: #1c1712;
  --bg-wood-2: #201a14;
  --purple: #8e5be0;
  --purple-light: #c4a4f0;
  --purple-deep: #5c3aa3;
  --text-main: #f3f1f6;
  --text-muted: #a19aad;
  --text-dim: #6f6a78;
  --border: #262229;
  --border-strong: #3c3742;
  --radius: 3px;
  --radius-lg: 4px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:is(a, button, input, textarea, .gallery-tile):focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .fade-in { animation: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header / Nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-darker);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity .2s ease;
}
.brand:hover { opacity: 0.8; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.main-nav { display: flex; gap: 30px; }

.main-nav a {
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  transition: color .2s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-main);
  border-bottom-color: var(--purple-light);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}

.nav-toggle svg { width: 16px; height: 16px; }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}
.nav-icons a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease;
}
.nav-icons a:hover { color: var(--purple-light); border-color: var(--purple-light); }
.nav-icons svg { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 16px 28px; border-top: 1px solid var(--border); border-bottom: none; }
  .main-nav > a[aria-current="page"] { border-bottom: none; color: var(--purple-light); }
  .nav-toggle { display: inline-flex; }
  .nav-icons {
    padding: 16px 28px;
    border-top: 1px solid var(--border);
    margin-left: 0;
    gap: 12px;
  }
  .nav-icons a { width: 34px; height: 34px; padding: 0; }
  .nav-icons svg { width: 16px; height: 16px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(100deg, rgba(10,9,11,0.88) 0%, rgba(10,9,11,0.72) 32%, rgba(10,9,11,0.48) 62%, rgba(10,9,11,0.38) 100%),
    linear-gradient(0deg, rgba(10,9,11,0.55) 0%, transparent 40%),
    url('../images/hero-studio.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: blur(3px);
  transform-origin: 65% 45%;
  animation: kenburns 16s ease-in-out infinite alternate;
  backface-visibility: hidden;
  will-change: transform;
}

/* Blur + animierter transform flackert auf vielen Mobil-Browsern (GPU-Kompositierungs-Bug).
   Auf kleinen Screens daher ruhiges, leicht gezoomtes Standbild statt Animation. */
@media (max-width: 760px) {
  .hero-bg {
    animation: none;
    transform: scale(1.06);
  }
}

.hero-watermark {
  position: absolute;
  right: -3vw;
  bottom: -6vh;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: min(34vw, 420px);
  line-height: 1;
  color: var(--text-main);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}

/* Slot: replace .hero-bg background with a real photo/video later.
   Recommended file: images/hero-bg.jpg or a <video> element, see index.html comment. */

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.14); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) 0;
  max-width: 620px;
}

.eyebrow {
  color: var(--purple-light);
  font-size: 11px;
  letter-spacing: 2.5px;
  margin: 0 0 18px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--purple-light);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 20px;
  font-family: var(--font-display);
  letter-spacing: -0.3px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--purple-light);
}

.hero p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 32px;
  max-width: 460px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.1s ease forwards;
}
.fade-in.d1 { animation-delay: .15s; }
.fade-in.d2 { animation-delay: .3s; }
.fade-in.d3 { animation-delay: .45s; }

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

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.2px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  transition: transform .2s ease, box-shadow .3s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--purple-deep);
  color: #fff;
  border: 1px solid var(--purple-deep);
}

.btn-primary:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 6px 22px rgba(140, 90, 220, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
}
.btn-secondary:hover { border-color: var(--purple-light); color: var(--purple-light); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: var(--space-xl) 0; }

.section-panel { background: var(--bg-panel); }

h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
}

.section-label {
  color: var(--purple-light);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--purple-light);
  display: inline-block;
}

/* Gallery */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 11.5px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--purple-deep);
  color: #fff;
  border-color: var(--purple-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-tile {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, #322a38 0%, #221c26 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 10px;
  color: var(--text-dim);
  transition: transform .3s ease, border-color .3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.gallery-tile:hover,
.gallery-tile:active { border-color: var(--purple-light); }
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.16,.8,.24,1);
}
.gallery-tile:hover img,
.gallery-tile:active img { transform: scale(1.09); }
@media (prefers-reduced-motion: reduce) {
  .gallery-tile img { transition: none; }
  .gallery-tile:hover img,
  .gallery-tile:active img { transform: none; }
}
.gallery-tile:nth-child(4n+2) { background: linear-gradient(155deg, #2a2528 0%, #201b1e 100%); }
.gallery-tile:nth-child(4n+3) { background: linear-gradient(155deg, #2e2734 0%, #1f1a22 100%); }
.gallery-tile:nth-child(4n+4) { background: linear-gradient(155deg, #26221f 0%, #1c1917 100%); }

/* Ablauf steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step { border-top: 1px solid var(--border-strong); padding-top: var(--space-sm); }

.step-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(155deg, #2e2734 0%, #1f1a22 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 11px;
  margin-bottom: 18px;
  overflow: hidden;
}
.step-media img { width: 100%; height: 100%; object-fit: cover; }

.healing-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 760px) { .healing-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .healing-timeline { grid-template-columns: 1fr; } }

.healing-day {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--purple-light);
  font-size: 15px;
  margin: 0 0 8px;
}

.healing-text { font-size: 13px; color: var(--text-muted); margin: 0; }

.step-icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--purple-light);
  margin: 0 0 14px;
  line-height: 1;
}

.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* Story block (Kurse / Partner-Tattoos) */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 700px) { .story { grid-template-columns: 1fr; } }

.story-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(155deg, #2e2734 0%, #1f1a22 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 11px; text-align: center; padding: 14px;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story p { color: var(--text-muted); font-size: 14.5px; }

/* Materials strip (Marken/Equipment) — durchlaufende Logo-Leiste */
.materials-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  margin-top: var(--space-lg);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.materials-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: materials-scroll 34s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* -webkit-mask-image auf dem Strip verhindert auf manchen Mobil-Browsern (iOS Safari-Bug),
   dass die Animation des Kind-Elements überhaupt läuft. Auf kleinen Screens daher ohne Maske,
   dafür läuft die Leiste zuverlässig durch. */
@media (max-width: 700px) {
  .materials-strip {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.materials-track img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
}
.materials-track img.logo-lg { height: 50px; }

.materials-track .logo-chip {
  height: 34px;
  padding: 6px 10px;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.materials-track .logo-chip img { height: 100%; opacity: 1; }

@keyframes materials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .materials-track { animation: none; }
}

/* Offer cards (Kurse / Partner-Tattoos) */
.offer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 700px) { .offer-cards { grid-template-columns: 1fr; } }

.offer-cards-single {
  grid-template-columns: minmax(0, 420px);
}

/* Instagram-Reels-Brücke */
.insta-strip { margin-top: var(--space-lg); }
.insta-strip-label {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 14px;
  grid-column: 1 / -1;
}
.insta-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: var(--space-md);
}
@media (max-width: 640px) { .insta-strip { grid-template-columns: 1fr; } }

.insta-strip-single { grid-template-columns: minmax(0, 280px); }

.insta-strip-row {
  grid-template-columns: repeat(4, minmax(0, 160px));
}
.insta-strip-row .insta-slot { max-height: 300px; }
@media (max-width: 760px) { .insta-strip-row { grid-template-columns: repeat(2, minmax(0, 160px)); } }
@media (max-width: 420px) { .insta-strip-row { grid-template-columns: 1fr; } .insta-strip-row .insta-slot { max-width: 220px; margin: 0 auto; } }

.insta-slot {
  aspect-ratio: 9/16;
  max-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  position: relative;
}
.insta-slot iframe {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: calc(100% + 340px);
  display: block;
  border: 0;
}

.offer-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}

.offer-card summary {
  cursor: pointer;
  list-style: none;
}
.offer-card summary::-webkit-details-marker { display: none; }

.offer-card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, #2e2734 0%, #1f1a22 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 11px;
  overflow: hidden;
}
.offer-card-media img { width: 100%; height: 100%; object-fit: cover; }

.offer-card-body { padding: 16px 20px 18px; position: relative; }

.offer-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
  padding-right: 26px;
}

.offer-card-body h3::after {
  content: '+';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--purple-light);
  transition: transform .25s ease;
}
.offer-card[open] .offer-card-body h3::after { content: '−'; }

.offer-card-teaser { font-size: 13px; color: var(--text-muted); margin: 0; }

.offer-card-detail { padding: 0 20px 22px; }
.offer-card-detail p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* Forms */
label { display: block; font-size: 12px; color: var(--text-muted); margin: 18px 0 7px; letter-spacing: 0.2px; }

input, textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
}

input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 1px;
  border-color: var(--purple-light);
}

textarea { min-height: 100px; resize: vertical; }

.form-hint { font-size: 12px; color: var(--text-dim); margin: 6px 0 0; }

/* Contact links */
.contact-links { display: flex; gap: 14px; margin-top: 24px; }
.contact-links a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.3px; color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease;
}
.contact-links a:hover { color: var(--purple-light); border-color: var(--purple-light); }
.contact-links svg { width: 17px; height: 17px; }

.calendar-embed {
  width: 100%;
  min-height: 500px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 13px; text-align: center; padding: 24px;
}

.reviews-placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  max-width: 480px;
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { font-family: var(--font-display); font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.faq-a { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Legal pages */
.legal h2 { margin-top: 32px; font-size: 20px; }
.legal p, .legal li { font-size: 14px; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg-darker);
}
.footer-links { display: flex; gap: 18px; }

/* Full footer (index.html) */
.site-footer-full {
  border-top: 1px solid var(--border);
  background: var(--bg-darker);
  padding-top: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-lg) var(--space-md);
  padding-bottom: var(--space-lg);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { flex-shrink: 0; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 15px; font-weight: 500; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 12.5px; color: var(--text-dim); margin: 2px 0; }
.footer-brand p a { color: var(--text-muted); }
.footer-brand p a:hover { color: var(--purple-light); }

.footer-col-title {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Kompakterer Footer auf dem Handy: weniger Abstand, kleinere Schrift, Marke spannt volle Breite */
@media (max-width: 700px) {
  .site-footer-full { padding-top: 32px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
  }
  .footer-brand .brand-mark { width: 32px; height: 32px; }
  .footer-brand .brand-name { font-size: 13.5px; }
  .footer-brand p { font-size: 12px; }

  .footer-col-title { font-size: 10px; margin-bottom: 9px; }
  .footer-col { gap: 7px; }
  .footer-col a { font-size: 12.5px; }

  .footer-bottom { padding: 12px 28px; font-size: 10.5px; }

  /* Das fixierte Maskottchen unten rechts kann auf schmalen Screens über den Footer-Links
     (z.B. Impressum/Datenschutz) liegen und Taps blockieren. Zusätzlicher Puffer unten sorgt
     dafür, dass alle echten Links deutlich oberhalb der Maskottchen-Zone enden. */
  .site-footer-full { padding-bottom: 130px; }
}

/* Mascot assistant widget */
.mascot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mascot-bubble {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-main);
  max-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  margin-bottom: 4px;
}

.mascot-bubble a { color: var(--purple-light); border-bottom: 1px solid var(--purple-light); }

.mascot-widget.open .mascot-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mascot-avatar {
  width: 128px;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}
.mascot-avatar:hover { transform: translateY(-2px); }

@media (max-width: 700px) {
  .mascot-widget { right: 14px; bottom: 14px; }
  .mascot-avatar { width: 92px; }
}
.mascot-avatar img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 88%, transparent 105%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 88%, transparent 105%);
}

@media (prefers-reduced-motion: reduce) {
  .mascot-bubble, .mascot-avatar { transition: none; }
}

/* Cookie banner (Klaro styling hook) */
.klaro .cookie-notice {
  background: var(--bg-panel) !important;
  color: var(--text-main) !important;
  border-top: 1px solid var(--border) !important;
  font-family: var(--font-body) !important;
}
