/* Heaven's Tattoo- & Piercing-Studio Braunschweig
   Eigenes Stylesheet, keine Frameworks, kein JavaScript noetig fuer Inhalte. */

:root {
  --bg:        #0e0e10;
  --bg-2:      #16161a;
  --bg-3:      #1e1e24;
  --line:      #2c2c34;
  --text:      #e8e6e1;
  --text-dim:  #a5a29b;
  --accent:    #c8963e;
  --accent-hi: #e0b25c;
  --max:       1180px;
  --radius:    3px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-hi); text-decoration: none; }
a:hover, a:focus { color: var(--accent); text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Sprungmarke fuer Tastatur / Screenreader ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #000; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Kopf ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(14,14,16,.96);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 20px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand a { color: var(--text); text-decoration: none; }
.brand strong {
  font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
}
.brand span { font-size: .74rem; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; }

.head-kontakt { text-align: right; font-size: .86rem; color: var(--text-dim); }
.head-kontakt a { color: var(--accent-hi); font-weight: 600; white-space: nowrap; }

/* ---------- Navigation ---------- */
.site-nav { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.site-nav ul {
  list-style: none; margin: 0 auto; padding: 0 12px; max-width: var(--max);
  display: flex; flex-wrap: wrap; gap: 2px;
}
.site-nav a {
  display: block; padding: 11px 14px; color: var(--text-dim);
  font-size: .84rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent-hi); border-bottom-color: var(--accent); }

/* ---------- Brotkrumen ---------- */
.krumen { font-size: .8rem; color: var(--text-dim); padding: 14px 0 0; }
.krumen a { color: var(--text-dim); }
.krumen a:hover { color: var(--accent-hi); }

/* ---------- Textbereiche ---------- */
main { display: block; }
.abschnitt { padding: 40px 0; }
.abschnitt.eng { max-width: 760px; }

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  line-height: 1.18; margin: 22px 0 14px; font-weight: 700; letter-spacing: -.015em;
}
h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin: 40px 0 14px; font-weight: 700; letter-spacing: -.01em;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
h3 { font-size: 1.1rem; margin: 26px 0 8px; font-weight: 700; color: var(--accent-hi); }

p { margin: 0 0 16px; }
.lead { font-size: 1.12rem; color: var(--text-dim); max-width: 70ch; }

ul.liste, ol.liste { padding-left: 22px; margin: 0 0 18px; }
ul.liste li, ol.liste li { margin-bottom: 8px; }

/* ---------- Buttons ---------- */
.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: .92rem; text-decoration: none;
  border: 1px solid var(--accent); color: var(--accent-hi); background: transparent;
}
.btn:hover { background: var(--accent); color: #12100c; text-decoration: none; }
.btn.voll { background: var(--accent); color: #12100c; }
.btn.voll:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

/* ---------- Startseiten-Kopf ---------- */
.hero { padding: 52px 0 34px; border-bottom: 1px solid var(--line); }
.hero h1 { margin-top: 0; }
.hero .lead { font-size: 1.18rem; }
.hero-fakten {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0;
  font-size: .88rem; color: var(--text-dim); list-style: none; padding: 0;
}
.hero-fakten li::before { content: "▪"; color: var(--accent); margin-right: 8px; }

/* ---------- Bildergitter ---------- */
.galerie {
  display: grid; gap: 12px; margin: 26px 0 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.galerie figure {
  margin: 0; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.galerie img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}
.galerie a:hover img, .galerie a:focus img { transform: scale(1.035); }
.galerie figcaption {
  font-size: .76rem; color: var(--text-dim); padding: 9px 11px 11px;
  line-height: 1.45; border-top: 1px solid var(--line);
}

/* ---------- Kartenraster (Stiluebersicht) ---------- */
.karten {
  display: grid; gap: 16px; margin: 26px 0;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.karte {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.karte img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.karte-text { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.karte h3 { margin: 0 0 7px; font-size: 1.04rem; color: var(--text); }
.karte p { font-size: .89rem; color: var(--text-dim); margin: 0 0 14px; flex: 1; }
.karte .mehr { font-size: .84rem; font-weight: 600; color: var(--accent-hi); }
.karte:hover { border-color: var(--accent); }
.karte a { text-decoration: none; color: inherit; display: contents; }

/* ---------- Infokasten ---------- */
.kasten {
  background: var(--bg-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 20px 22px; margin: 26px 0;
}
.kasten h3 { margin-top: 0; }
.kasten p:last-child, .kasten ul:last-child { margin-bottom: 0; }

/* ---------- Tabellen ---------- */
table.tab { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .93rem; }
table.tab th, table.tab td {
  text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.tab th { color: var(--accent-hi); font-weight: 600; white-space: nowrap; }
table.tab tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq { margin: 22px 0; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; background: var(--bg-2);
}
.faq summary {
  cursor: pointer; padding: 15px 18px; font-weight: 600; font-size: .98rem;
  list-style: none; position: relative; padding-right: 46px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.35rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .antwort { padding: 15px 18px 4px; color: var(--text-dim); font-size: .95rem; }

/* ---------- Fuss ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-2);
  margin-top: 56px; padding: 40px 0 28px; font-size: .88rem;
}
.foot-gitter {
  display: grid; gap: 30px; margin-bottom: 30px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.foot-gitter h4 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-hi); margin: 0 0 12px;
}
.foot-gitter ul { list-style: none; margin: 0; padding: 0; }
.foot-gitter li { margin-bottom: 7px; }
.foot-gitter a { color: var(--text-dim); }
.foot-gitter a:hover { color: var(--accent-hi); }
.foot-gitter address { font-style: normal; color: var(--text-dim); line-height: 1.85; }
.foot-unten {
  border-top: 1px solid var(--line); padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  color: var(--text-dim); font-size: .82rem;
}

/* ---------- Titelbild (Header-Banner, wie das Facebook-Cover) ---------- */
.titelbild {
  position: relative;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  line-height: 0;
}
.titelbild img {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  object-fit: cover;
  object-position: center 40%;   /* haelt die drei Gesichter im Bild */
  display: block;
}
/* weicher Uebergang in den dunklen Seitenhintergrund */
.titelbild::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(14,14,16,0), rgba(14,14,16,.92));
  pointer-events: none;
}
.hero.mit-titelbild { padding-top: 30px; }

@media (max-width: 900px) {
  .titelbild img { aspect-ratio: 2 / 1; }
}
@media (max-width: 600px) {
  .titelbild img { aspect-ratio: 3 / 2; }
  .titelbild::after { height: 34%; }
}

/* ---------- Bewusst reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .head-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .head-kontakt { text-align: left; }
  .site-nav ul { gap: 0; }
  .site-nav a { padding: 10px 11px; font-size: .78rem; }
  .galerie { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
  .abschnitt { padding: 30px 0; }
  .hero { padding: 34px 0 26px; }
}

/* ---------- Druck ---------- */
@media print {
  .site-nav, .btn-reihe, .site-head { display: none; }
  body { background: #fff; color: #000; }
}
