/* ═══════════════════════════════════════════════
   TATTOO PIKASSO — style.css
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Bebas+Neue&family=Space+Mono:wght@400;700&display=swap');

/* ── TOKENS ── */
:root {
  --black:        #0D0D0D;
  --anthracite:   #1A1A1A;
  --olive:        #5C6B3A;
  --olive-light:  #7A8C4E;
  --olive-dark:   #3A4228;
  --ivory:        #EDEBE4;
  --grey:         #7A7A7A;
  --divider:      #252525;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-mono:    'Space Mono', monospace;

  --nav-h: 72px;
  --section-pad: clamp(60px, 8vw, 120px);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-mono);
  overflow-x: hidden;
   cursor: auto;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button {  cursor: auto; font-family: inherit; border: none; background: none; }


/* ── NOISE OVERLAY ── */
.noise {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
nav.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.14em;
  color: var(--ivory);
  flex: 1;
  transition: color 0.3s;
}
.nav-logo span { color: var(--olive-light); }
.nav-logo:hover { color: var(--olive-light); }
.nav-links {
  display: flex; gap: 36px; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--olive);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 36px;
  padding: 10px 20px;
  background: var(--olive);
  color: var(--ivory) !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  transition: background 0.3s !important;
  animation: navPulse 3s ease infinite;
}
.nav-cta:hover { background: var(--olive-light) !important; }
.nav-cta::after { display: none !important; }
@keyframes navPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(92,107,58,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(92,107,58,0); }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;  cursor: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 32px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--olive-light);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
  z-index: 0;
}
.btn:hover::before { transform: translateX(0); }
.btn span { position: relative; z-index: 1; }
.btn-primary {
  background: var(--olive);
  color: var(--ivory);
  animation: btnPulse 3s ease infinite;
}
@keyframes btnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(92,107,58,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(92,107,58,0); }
}
.btn-outline {
  background: transparent;
  color: var(--olive-light);
  border: 1px solid var(--olive);
}
.btn-outline::before { background: var(--olive); }
.btn-outline:hover { color: var(--ivory); }

/* ── SECTION LABEL ── */
.section-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 9px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--grey);
  margin-bottom: 32px;
}
.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--olive);
}

/* ── ORNAMENT DIVIDER ── */
.ornament {
  display: flex; align-items: center; gap: 20px;
  margin: var(--section-pad) 0;
}
.ornament-line { flex: 1; height: 1px; background: var(--divider); }
.ornament-diamond {
  width: 7px; height: 7px;
  background: var(--olive);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── PLACEHOLDER IMAGES ── */
.img-placeholder {
  background: var(--anthracite);
  border: 1px solid var(--divider);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--grey);
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative; overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  border: 1px solid var(--divider);
  transform: translate(-50%, -50%) rotate(45deg);
}
.img-placeholder svg { opacity: 0.2; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* stagger delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
footer {
  background: var(--anthracite);
  border-top: 1px solid var(--divider);
  padding: 48px var(--gutter) 32px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 32px;
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--olive-light); }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px; color: var(--grey);
  line-height: 1.6; margin-bottom: 20px;
}
.footer-col-title {
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-size: 11px; color: var(--grey);
  margin-bottom: 10px; letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer-col ul li:hover { color: var(--ivory); }
.footer-col ul li a { color: inherit; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 9px; color: var(--grey); letter-spacing: 0.15em; }
.footer-mark {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.3em;
  color: var(--divider);
}

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: 16px; margin-top: 8px; }
.social-link {
  color: var(--olive-light);
  width: 32px; height: 32px;
  border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--grey);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-link:hover {
  border-color: var(--olive);
  color: var(--ivory);
  background: var(--olive-dark);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-bottom: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: attr(data-title);
  position: absolute;
  right: var(--gutter);
  bottom: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
}
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 12px;
}
.page-header h1 span { color: var(--olive-light); }
.page-header .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px; color: var(--grey);
}

/* ── OLIVE ACCENT LINE ── */
.accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light), transparent);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(13,13,13,0.97);
    padding: 32px var(--gutter) 40px;
    gap: 24px; border-bottom: 1px solid var(--divider);
  }
  .nav-links.open .nav-cta { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Cursor — auf Touch deaktivieren */
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button {  cursor: auto; }
  a {  cursor: auto; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Buttons */
  .btn { width: 100%; justify-content: center; }

  /* Ornament */
  .ornament { margin: 40px 0; }

  /* Page header ghost text — zu groß auf Mobile */
  .page-header::after { display: none; }

  /* Section label */
  .section-label { font-size: 8px; }

  /* Scroll reveal — weniger Bewegung auf Mobile */
  .reveal        { transform: translateY(20px); }
  .reveal-left   { transform: translateX(0); }
  .reveal-right  { transform: translateX(0); }
}

/* ── Touch-Geräte: Cursor deaktivieren ── */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button, a {  cursor: auto; }
  /* Hover-States durch Touch-freundliche Active-States ersetzen */
  .gallery-item .gallery-overlay { opacity: 0; } /* kein Hover auf Touch */
  .master-card:hover { transform: none; }
  .master-card:active { transform: scale(0.98); }
  .btn:hover::before { transform: translateX(-101%); } /* Slide-Effekt deaktivieren */
  .btn:active { opacity: 0.85; }
  .why-item:active { border-color: var(--olive); }
}
