/* DK Tattoo Horgen – Entwurf Seetalwebsites, 25.10.2026
   Idee: Pauspapier → Schablone → Haut. Tinte, Pauspapier-Gelb, Stencil-Violett. */

:root {
  --tinte: #1C1A17;
  --tinte-2: #25221E;
  --hell: #EEE7D7;
  --hell-2: rgba(238, 231, 215, 0.68);
  --hell-3: rgba(238, 231, 215, 0.48);
  --linie: rgba(238, 231, 215, 0.18);
  --papier: #E4D9A2;
  --papier-text: #26221B;
  --papier-text-2: rgba(38, 34, 27, 0.72);
  --violett: #5B45B5;
  --violett-hell: #8C78E0;
  --display: "Grenze Gotisch", "UnifrakturMaguntia", Georgia, serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --rand: 20px;
  --abschnitt: 72px;
  --r: 4px;
}
@media (min-width: 900px) {
  :root { --rand: 40px; --abschnitt: 128px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tinte);
  color: var(--hell);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violett-hell); outline-offset: 3px; }

.rand { max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.leise { color: var(--hell-2); }

h2 {
  font: 500 44px/1 var(--display);
  letter-spacing: -0.01em;
  margin: 0;
}
@media (min-width: 900px) { h2 { font-size: 76px; } }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--rand);
  transition: background-color 300ms ease-out;
}
.kopf.ist-gescrollt { background: rgba(28, 26, 23, 0.92); backdrop-filter: blur(8px); }
.kopf__zeichen { font: 600 28px/1 var(--display); text-decoration: none; padding: 8px 0; }
.kopf__nav { display: none; gap: 40px; font-size: 15px; }
.kopf__nav a { padding: 8px 0; text-decoration: none; color: var(--hell-2); transition: color 150ms ease-out; }
.kopf__nav a:hover { color: var(--hell); }
.kopf__tel {
  font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 8px 16px; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid var(--linie); border-radius: var(--r);
  transition: border-color 150ms ease-out;
}
.kopf__tel:hover { border-color: var(--hell-2); }
@media (min-width: 900px) { .kopf__nav { display: flex; } }

/* Einstieg */
.einstieg { padding: 88px 0 var(--abschnitt); }
.einstieg__titel { margin: 0; font-weight: 400; }
.maske { display: block; overflow: hidden; padding-bottom: 0.06em; }
.maske > span { display: block; }
.name {
  font: 500 clamp(80px, 25vw, 316px)/0.95 var(--display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.einstieg__zeile {
  display: block;
  margin-top: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  font: 500 17px/1.4 var(--text);
  color: var(--hell);
}
.einstieg__unten { display: grid; gap: 40px; margin-top: 24px; }
.einstieg__satz { margin: 0 0 24px; max-width: 34em; color: var(--hell-2); }
@media (min-width: 900px) {
  .einstieg { padding-top: 104px; }
  .einstieg__zeile { margin-top: 24px; font-size: 18px; }
  .einstieg__unten { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; margin-top: 40px; }
  .einstieg__text { position: sticky; top: 104px; }
}

.knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  background: var(--violett); color: #F3F0FF;
  border: 1px solid var(--violett); border-radius: var(--r);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: #6B55C8; border-color: #6B55C8; }
.knopf:active { transform: scale(0.98); }
.knopf--leise { background: transparent; color: var(--hell); border-color: var(--linie); }
.knopf--leise:hover { background: transparent; border-color: var(--hell-2); }

/* Schablone → Foto */
.schablone { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: #f2efe9; isolation: isolate; }
.schablone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.schablone__stencil { position: absolute; inset: 0; background: #F4F1EC; clip-path: inset(0 0 0 0); }
.schablone__stencil img { filter: grayscale(1) contrast(3.4) brightness(1.35); mix-blend-mode: multiply; }
.schablone__stencil::after { content: ""; position: absolute; inset: 0; background: var(--violett); mix-blend-mode: screen; }
.schablone__nadel { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--violett-hell); box-shadow: 0 0 12px var(--violett-hell); opacity: 0; }
.schablone figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 13px; color: var(--hell); background: rgba(28, 26, 23, 0.7);
  padding: 4px 8px; border-radius: var(--r);
}
.js .schablone.laeuft .schablone__stencil { animation: stechen 2600ms var(--expo) 900ms forwards; }
.js .schablone.laeuft .schablone__nadel { animation: nadel 2600ms var(--expo) 900ms forwards; }
@keyframes stechen { to { clip-path: inset(100% 0 0 0); } }
@keyframes nadel { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.js:not(.bewegung) .schablone__stencil, .js:not(.bewegung) .schablone__nadel { display: none; }

/* Titel aus Maske */
.js.bewegung .maske > span { transform: translateY(105%); }
.js.bewegung.geladen .maske > span { transform: none; transition: transform 1000ms var(--expo); }
.js.bewegung.geladen .einstieg__zeile .maske > span { transition-delay: 90ms; }

/* Arbeiten */
.arbeiten { padding: var(--abschnitt) 0; border-top: 1px solid var(--linie); }
.kopfzeile { display: grid; gap: 16px; margin-bottom: 40px; }
.kopfzeile p { margin: 0; max-width: 38em; }
@media (min-width: 900px) { .kopfzeile { grid-template-columns: 5fr 6fr; align-items: end; gap: 64px; margin-bottom: 64px; } }

.filter, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button, .chips button, .figur__seite button {
  min-height: 40px; padding: 8px 16px;
  background: transparent; border: 1px solid var(--linie); border-radius: 999px;
  font-size: 15px; cursor: pointer; color: var(--hell-2);
  transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
}
.filter button:hover, .chips button:hover, .figur__seite button:hover { border-color: var(--hell-2); color: var(--hell); }
.filter button[aria-pressed="true"], .chips button[aria-pressed="true"], .figur__seite button[aria-pressed="true"] {
  background: var(--hell); border-color: var(--hell); color: var(--tinte);
}

.raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .raster { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.raster li { position: relative; }
.raster li[hidden] { display: none; }
.raster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--tinte-2); }
.raster span { display: block; padding-top: 8px; font-size: 14px; color: var(--hell-3); }

/* Pauspapier */
.papier { background: var(--papier); color: var(--papier-text); padding: var(--abschnitt) 0; overflow: hidden; }
.papier .kopfzeile p { color: var(--papier-text-2); }
.blaetter {
  list-style: none; margin: 0; padding: 16px var(--rand) 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.blaetter::-webkit-scrollbar { display: none; }
.blaetter li { scroll-snap-align: center; }
.blaetter li:nth-child(odd) { transform: rotate(-1.5deg); }
.blaetter li:nth-child(even) { transform: rotate(1.2deg) translateY(8px); }
.blaetter img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px;
  filter: drop-shadow(0 8px 16px rgba(38, 34, 27, 0.18));
}
@media (min-width: 900px) {
  .blaetter {
    max-width: 1200px; margin: 0 auto; padding: 16px var(--rand) 24px;
    grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto;
    gap: 24px; overflow: visible;
  }
}

/* Anfrage */
.anfrage { padding: var(--abschnitt) 0; }
.formular { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .formular {
    grid-template-columns: 1fr 1fr; gap: 40px 64px;
    grid-template-areas: "motiv stelle" "groesse stelle" "stil stelle" "name stelle" "nachricht nachricht";
  }
  .feld--motiv { grid-area: motiv; } .feld--stelle { grid-area: stelle; } .feld--groesse { grid-area: groesse; }
  .feld--stil { grid-area: stil; } .feld--name { grid-area: name; } .nachricht { grid-area: nachricht; }
}
.feld label:not(.klein), .feld__titel { display: block; margin: 0 0 8px; font-weight: 600; }
.feld .klein { display: block; margin: 16px 0 8px; font-size: 15px; color: var(--hell-2); }
.feld input[type="text"], .feld textarea {
  width: 100%; padding: 12px 16px;
  background: var(--tinte-2); border: 1px solid var(--linie); border-radius: var(--r);
  font-size: 17px; resize: vertical;
  transition: border-color 150ms ease-out;
}
.feld input[type="text"]:focus, .feld textarea:focus { outline: none; border-color: var(--violett-hell); }
.hinweis { margin: 8px 0 0; font-size: 15px; color: var(--hell-3); }
.feld .chips { margin-bottom: 0; }

.figur { position: relative; background: var(--tinte-2); border: 1px solid var(--linie); border-radius: var(--r); padding: 16px; }
.figur__seite { display: flex; gap: 8px; }
.figur__svg { display: block; width: 100%; max-width: 240px; height: auto; margin: 16px auto 8px; overflow: visible; }
.figur__kopf { fill: rgba(238, 231, 215, 0.08); stroke: rgba(238, 231, 215, 0.3); stroke-width: 1; }
.zone {
  fill: rgba(238, 231, 215, 0.08); stroke: rgba(238, 231, 215, 0.36); stroke-width: 1;
  cursor: pointer; transition: fill 150ms ease-out, stroke 150ms ease-out;
}
.zone:hover { fill: rgba(140, 120, 224, 0.28); stroke: var(--violett-hell); }
.zone:focus-visible { outline: none; stroke: var(--violett-hell); stroke-width: 2.5; }
.zone.ist-gewaehlt { fill: var(--violett); stroke: var(--violett-hell); }
.figur__wahl { margin: 0; text-align: center; font-weight: 500; }

.groesse { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.groesse output { font: 500 40px/1 var(--display); }
.groesse__vergleich { color: var(--hell-2); font-size: 15px; }
input[type="range"] { width: 100%; accent-color: var(--violett-hell); height: 32px; }
.lineal {
  display: flex; justify-content: space-between; padding-top: 16px;
  font-size: 13px; color: var(--hell-3);
  background: repeating-linear-gradient(90deg, var(--linie) 0 1px, transparent 1px calc(100% / 38)) top / 100% 8px no-repeat;
}

.nachricht { border-top: 1px solid var(--linie); padding-top: 40px; }
.nachricht__text {
  margin: 0 0 24px; padding: 24px;
  background: var(--papier); color: var(--papier-text);
  border-radius: var(--r);
  font: 400 16px/1.6 var(--text); white-space: pre-wrap; max-width: 40em;
}

/* Studio */
.studio { padding: var(--abschnitt) 0; border-top: 1px solid var(--linie); }
.studio__raster { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .studio__raster { grid-template-columns: 5fr 6fr; gap: 64px; margin-top: 64px; } }
.studio__gross { font: 500 40px/1.05 var(--display); margin: 0 0 16px; }
@media (min-width: 900px) { .studio__gross { font-size: 64px; } }
.unterstrichen, .studio__liste dd a, .entwurf a { display: inline-block; padding: 8px 0; }
.unterstrichen { color: var(--hell-2); text-underline-offset: 4px; transition: color 150ms ease-out; }
.unterstrichen:hover { color: var(--hell); }
.studio__liste { margin: 0; }
.studio__liste div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.studio__liste div:first-child { border-top: 1px solid var(--linie); }
.studio__liste dt { color: var(--hell-3); }
.studio__liste dd { margin: 0; }
.studio__liste dd a { text-decoration: none; }
.platzhalter { color: var(--hell-3); font-style: italic; }
.platzhalter::before { content: "Platzhalter: "; font-style: normal; }

/* Fuss */
.fuss { padding: 64px 0 40px; border-top: 1px solid var(--linie); }
.fuss__name { font: 500 clamp(64px, 20vw, 200px)/0.95 var(--display); margin: 0 0 24px; letter-spacing: -0.02em; }
.fuss__zeile { margin: 0 0 40px; color: var(--hell-2); }
.entwurf { margin: 0; font-size: 14px; color: var(--hell-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
