/* ======================================
   Modern Ritualistic Tattoo — Global Styles
   ====================================== */

/* Fonts (Head + Body) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* Design-Variablen */
:root{
  --bg: #000;
  --text: #f2f2f2;
  --muted: #dcdcdc;
  --gold: #d9b26d;
  --gold-strong: #c9a253;
  --gold-hover: #ffda8a;
  --border: rgba(255,255,255,.08);
  --shadow: 0 14px 32px rgba(0,0,0,.55);
}

/* Reset / Basis */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height:100%; margin:0; padding:0; }
img { max-width:100%; height:auto; display:block; }
a { color: var(--gold); text-decoration:none; }
a:hover { color: var(--gold-hover); }

/* Hintergrund (alle Seiten identisch) */
body {
  background: #000 url("assets/img/background_main.PNG") top center / cover no-repeat fixed;
  color: var(--text);
  overflow-x: hidden;
  font-family: "Cormorant Garamond", serif;  /* Body-Text */
  line-height: 1.6;
}
/* Bronze-Glow (aktiv, wenn page-bg gesetzt) */
body.page-bg::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(212,175,55,.08), transparent 60%);
  opacity: .28;
}

/* ===========================
   Header / Logo / Navigation
   =========================== */
.site-header{
  position: relative;
  z-index: 20;
  padding: 10px 12px 0;
  text-align: center;
  background: transparent;
}
.site-logo{
  display:block;
  width: min(80vw, 520px);
  height: auto;
  margin: .5rem auto .25rem;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}

/* Desktop-Navigation (>=900px) */
.site-nav{
  text-align: center;
  margin: 6px auto 10px;
  font-family: "Cinzel", serif;        /* Headline-Font */
  font-weight: 600;
  letter-spacing: .3px;
  font-size: 1.05rem;
}
.site-nav a{
  color: var(--gold);
  text-decoration: none;
  margin: 0 6px;
}
.site-nav a:visited{ color: var(--gold); }
.site-nav a[aria-current="page"]{
  border-bottom: 2px solid var(--gold);
}

/* Burger-Button (mobiles Menü) */
.burger{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: none;
  padding: 0;
  cursor: pointer;
  z-index: 30;
}
.burger img{ width:100%; height:100%; object-fit: contain; }

/* Mobiles Overlay-Menü */
@media (max-width: 900px){
  .burger{ display:block !important; }

  .site-nav{
    position: fixed;
    left: 0; right: 0; top: 72px;
    background: rgba(0,0,0,.92);
    padding: 14px 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 25;

    /* Pipes in HTML unsichtbar, Links setzen Größe erneut */
    font-size: 0;
    -webkit-tap-highlight-color: transparent;
  }
  body.nav-open .site-nav{ transform: translateY(0); opacity: 1; }

  .site-nav a,
  .site-nav a:link,
  .site-nav a:visited{
    display: block;
    font-size: 18px;         /* reaktiviert Textgröße */
    line-height: 1.35;
    padding: 12px 6px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: var(--gold) !important;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .2px;
    font-family: "Cinzel", serif;
  }
  .site-nav a:last-child{ border-bottom: 0; }
  .site-nav a:hover,
  .site-nav a:focus{
    color: var(--gold-hover) !important;
    outline: none;
  }
}

/* ===========================
   Main-Layout (zentriert)
   =========================== */
main{
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}
main h1, main h2, main h3{
  font-family: "Cinzel", serif;
  color: var(--gold);
  letter-spacing: .4px;
  margin: .4rem 0 1rem;
}
main p{ margin: 0 auto 1.1rem; max-width: 900px; }

/* ===========================
   Hero-Video (nur index nutzt es)
   =========================== */
.hero{ padding: 0 0 1rem; background: transparent; }
.hero-inner{ max-width: 1200px; margin: 0 auto; }
.hero-video{
  position: relative;
  width: min(1000px, 92vw);
  aspect-ratio: 16 / 9;
  margin: 0 auto 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(.5px);
}
.hero-video video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ===========================
   Buttons
   =========================== */
.btn img.termin-button{
  display: block;
  margin: 18px auto 0;
  width: 260px;
  height: auto;
  transition: transform .2s ease, filter .2s ease;
}
.btn img.termin-button:hover{
  transform: scale(1.05);
  filter: brightness(1.12);
}

/* ===========================
   Galerie (alternierend links/rechts)
   =========================== */
.gallery-alt{
  display: block;
  margin: 1.6rem auto 2.2rem;
  max-width: 1100px;
}
.gallery-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 2.6rem;
}
.gallery-item.left{ flex-direction: row; }
.gallery-item.right{ flex-direction: row-reverse; }

.gallery-item img{
  width: min(560px, 86vw);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.55);
  transition: transform .25s ease;
}
.gallery-item img:hover{ transform: scale(1.03); }

@media (max-width: 780px){
  .gallery-item{ flex-direction: column !important; gap: 1.2rem; }
  .gallery-item img{ width: 94vw; }
}

/* ===========================
   Footer
   =========================== */
footer{
  text-align: center;
  padding: 20px 10px 30px;
  color: var(--muted);
  font-size: .95rem;
}
/* --- Einheitliche Textdarstellung für alle Seiten --- */

main, .page-content, .intro-description {
  position: relative;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 20px 24px;
  text-align: center;
  font-size: 1.15rem; /* etwas größer für Lesbarkeit */
  line-height: 1.6;
  color: #f2e5c4; /* hell-goldene Textfarbe passend zum Theme */
  font-family: "Cinzel", "Times New Roman", serif;
  z-index: 2;
}

/* halbtransparenter Block hinter Text */
main::before, .page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 40% schwarz transparent */
  border-radius: 12px;
  z-index: -1;
}
/* =========================
   TEXTBLOCKS: mittige Säule,
   Text abwechselnd links/rechts bündig
   ========================= */

html, body{
  overflow-x: hidden;
}

.intro{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Textblöcke: IMMER zentriert */
.text-block{
  max-width: 720px;
  width: 100%;
  margin: 44px auto;          /* links & rechts IMMER gleich */
  line-height: 1.65;
  font-size: clamp(16px, 4.2vw, 22px);
}

/* Textausrichtung alternierend */
.intro .text-block:nth-of-type(odd){
  text-align: left;
}

.intro .text-block:nth-of-type(even){
  text-align: right;
}

/* =========================
   SCROLL REVEAL – sehr langsam
   ========================= */
.reveal{
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 2.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Dezente Staffelung */
.intro .text-block:nth-of-type(odd){ transition-delay: 0.12s; }
.intro .text-block:nth-of-type(even){ transition-delay: 0.28s; }

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

img, video, canvas, svg{
  max-width: 100%;
  height: auto;
}
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Dezente Staffelung */
.intro .text-block:nth-of-type(odd){ transition-delay: 0.12s; }
.intro .text-block:nth-of-type(even){ transition-delay: 0.28s; }

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

img, video, canvas, svg{
  max-width: 100%;
  height: auto;
}
/* Zitate / Rezensionen – sichtbar kursiv */
.text-block.italic{
  font-style: italic;
  opacity: 0.9;                 /* verstärkt Wahrnehmung */
}

/* Falls die Schrift keine echte Italic hat */
@supports not (font-synthesis: none){
  .text-block.italic{
    transform: skewX(-6deg);
  }
}
/* Rezensionen / Zitate – leicht andere Schrift */
.text-block.italic{
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
