/* Ergänzungen zu Design A für die gebauten Seiten (Unterseiten, Textblöcke, unbearbeitete Fotos). */

/* Fotos unbearbeitet zeigen (User 02.10.2026): keine CSS-Filter aus dem Prototyp */
.tile img, .ba-img, .ba-img img, .hero-media img, .pic img { filter: none !important; }
.tile-btn:hover img, .tile-btn:focus-visible img { filter: none !important; }
picture { display: block; }
.tile picture, .tile-btn picture { width: 100%; height: 100%; }
.ba-img picture, .ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { position: absolute; inset: 0; }
.hero-media picture { height: 100%; display: flex; justify-content: flex-end; }
.ba { aspect-ratio: 4 / 5; }

/* Unterseiten-Hero: kürzer, Text oben */
.hero-seite { min-height: min(88dvh, 860px); align-items: flex-end; }
.hero-seite .hero-title { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: 0.9; max-width: 15ch; }
.hero-seite .hero-media { width: min(48vw, 760px); }
.hero-seite .hero-media img { height: 112%; }
.hero-sub p { margin: 0 0 0.8em; }
.hero-sub p:last-child { margin-bottom: 0; }
.hero .hero-sub { max-width: 46ch; }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Textblöcke */
.block { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.block-alt { background: var(--bg-2); }
.block-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.block-title { position: sticky; top: calc(var(--header-h) + 32px); }
.prose { max-width: 70ch; color: #d6d3cc; }
.prose > * + * { margin-top: 1.05em; }
.prose h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; color: var(--text); margin-top: 1.8em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 0.5em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 16px; height: 1px; background: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
.prose td:last-child { color: var(--text); white-space: nowrap; }
.prose .cta-row { margin-top: 1.6em; }
.prose .link-arrow { text-decoration: none; }
.pic { margin: 1.8em 0; }
.pic img { width: 100%; height: auto; }
.pic figcaption { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
.quote-inline { margin: 2em 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.quote-inline blockquote { font-size: 1.12rem; color: var(--text); }
.byline { color: var(--muted); font-size: 0.9rem; }
.notice { border: 1px solid var(--accent); padding: 14px 18px; color: var(--text); }
.intro-rest { margin-top: 2rem; max-width: 60ch; }
.intro .eyebrow { font-family: var(--f-body); font-size: 0.8rem; margin-bottom: 1.2rem; }
.coverup-copy .prose, .coverup-copy > p { max-width: 52ch; }
.faq-list details > p, .faq-list details > ul { color: #d6d3cc; padding: 0 48px 24px 0; margin: 0; max-width: 62ch; }
.faq-list details > *:not(summary) { color: #d6d3cc; padding-right: 48px; }
.faq-list details > p:last-child { padding-bottom: 24px; }

/* Fuß */
.fuss-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.fuss-spalte { display: grid; gap: 8px; align-content: start; }
.fuss-spalte a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.fuss-spalte a:hover { color: var(--text); }
.fuss-titel { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; margin: 0 0 6px; }
.nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 900px) {
  .block-grid { grid-template-columns: 1fr; }
  .block-title { position: static; }
  .fuss-grid { grid-template-columns: 1fr 1fr; }
  .prose td:last-child { white-space: normal; }
  .prose table { display: block; overflow-x: auto; }
}
@media (max-width: 767px) {
  .hero-seite { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero-seite .hero-media { position: relative; width: 100%; right: 0; top: 0; height: 52vh; margin-bottom: -18vh; }
  .hero-seite .hero-media picture { justify-content: center; }
  .hero-seite .hero-media img { height: 100%; width: auto; }
  .hero-seite { flex-direction: column; align-items: stretch; }
}

/* Startseite: zweite Titelzeile kleiner, damit sie nicht ins Foto läuft */
.hero:not(.hero-seite) .hero-title .line + .line { font-size: 0.48em; line-height: 1; margin-top: 0.1em; }
.hero:not(.hero-seite) .hero-title { font-size: clamp(3.6rem, 10vw, 9.5rem); }
.hero:not(.hero-seite) .hero-sub { font-size: 1.05rem; }

.prose, .prose li, .faq-list details { overflow-wrap: anywhere; }

.h2 { overflow-wrap: anywhere; hyphens: auto; }
.block-grid > * { min-width: 0; }

/* Faktenreihe im Hero (statt „A · B · C“) */
.hero-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; max-width: 680px; border-top: 1px solid var(--line-strong); }
.hero-facts li { flex: 1 1 0; min-width: 150px; padding: 16px 20px 4px 0; display: grid; gap: 4px; align-content: start; }
.hero-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.fact-k { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.22rem; line-height: 1.05; letter-spacing: 0.01em; color: var(--text); }
.fact-k::before { content: ""; display: block; width: 18px; height: 2px; background: var(--accent); margin-bottom: 10px; }
.fact-v { font-size: 0.9rem; line-height: 1.4; color: var(--muted); }
.fact-link { color: var(--text); text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; }
.fact-link::after { content: "\2192"; color: var(--accent); transition: transform .25s var(--ease); }
.fact-link:hover { color: var(--accent); }
.fact-link:hover::after { transform: translateX(3px); }
@media (max-width: 767px) {
  .hero-facts li { flex-basis: 100%; padding: 14px 0 10px; border-left: 0 !important; padding-left: 0 !important; display: flex; gap: 14px; align-items: baseline; }
  .hero-facts li + li { border-top: 1px solid var(--line); }
  .fact-k::before { display: none; }
  .fact-k { font-size: 1.05rem; min-width: 46%; }
}

/* HERO-ARM „Von der Schablone zur Haut“: 1 Schablone zeichnet sich (lila Stencil), 2 Foto füllt sich ein, 3 Röntgenblick: Schablone unter der Maus */
@property --st { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --ink { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.hero-media.arm { will-change: transform; transition: transform .6s var(--ease); }
.arm-float { height: 100%; display: flex; justify-content: flex-end; }
.arm-inner { position: relative; height: 128%; margin-top: calc(var(--header-h) - 20px); --x: -999px; --y: -999px; }
.hero-media.arm img { height: 100%; width: auto; margin: 0; display: block; }
.hero-media.arm .arm-stencil { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(168,140,255,.8)) drop-shadow(0 0 14px rgba(140,110,255,.35)); }
.js .arm .arm-photo { -webkit-mask-image: linear-gradient(to left, #000 var(--ink), transparent calc(var(--ink) + 14%)); mask-image: linear-gradient(to left, #000 var(--ink), transparent calc(var(--ink) + 14%)); }
.js .arm .arm-stencil { -webkit-mask-image: linear-gradient(to left, #000 var(--st), transparent calc(var(--st) + 5%)); mask-image: linear-gradient(to left, #000 var(--st), transparent calc(var(--st) + 5%)); transition: opacity 1.2s ease; }
.js .arm.is-go .arm-stencil { animation: armSt 1.9s cubic-bezier(.45,.05,.25,1) both; }
.js .arm.is-ink .arm-photo { animation: armInk 1.9s cubic-bezier(.5,0,.2,1) both; }
.js .arm.is-ink:not(.is-xray) .arm-stencil { opacity: .25; }
.js .arm.is-xray .arm-photo { -webkit-mask-image: none; mask-image: none; }
.js .arm.is-xray .arm-stencil { animation: none; opacity: 1;
  -webkit-mask-image: radial-gradient(circle var(--rad, 170px) at var(--x) var(--y), #000 35%, rgba(0,0,0,.4) 65%, transparent 100%);
          mask-image: radial-gradient(circle var(--rad, 170px) at var(--x) var(--y), #000 35%, rgba(0,0,0,.4) 65%, transparent 100%); }
.js .arm.is-xray .arm-float { animation: armSchweben 9s ease-in-out infinite; }
@keyframes armSt { from { --st: 0%; } to { --st: 112%; } }
@keyframes armInk { from { --ink: 0%; } to { --ink: 116%; } }
@keyframes armSchweben { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(-6px,-10px,0) rotate(-0.7deg); } }
.arm.is-ruhig .arm-photo, .arm.is-ruhig .arm-stencil { -webkit-mask-image: none !important; mask-image: none !important; animation: none !important; }
.arm.is-ruhig .arm-stencil { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-media.arm .arm-stencil { display: none; } .arm-photo { -webkit-mask-image: none !important; mask-image: none !important; } }
@media (max-width: 767px) { .arm-inner { height: auto; width: 100%; margin: 0; } .hero-media.arm img { width: 100%; height: auto; } .arm-float { height: auto; } }
/* Arm ohne Abdunkel-Filter (User 02.10.): kein Verlauf über dem Foto, keine harte Kante; Lesbarkeit über weichen Textschatten */
.hero-media.arm::after { display: none; }
.hero:not(.hero-seite) .hero-inner > *:not(.hero-ctas) { text-shadow: 0 2px 18px rgba(14,15,15,.85), 0 0 2px rgba(14,15,15,.6); }
/* Hand nicht hinter den Text: Arm bei schmaleren Fenstern nach rechts schieben */
@media (max-width: 1440px) { .hero-media.arm { right: -8vw; } }
@media (max-width: 1280px) { .hero-media.arm { right: -16vw; } }
@media (max-width: 1100px) { .hero-media.arm { right: -24vw; } }

/* Google-Vertrauen im Hero: Schnitt + Sterne + Anzahl (live per Places API beim Bauen) */
.fact-google .fact-k { display: flex; align-items: center; gap: 10px; }
.g-zahl { font-size: 1.9rem; line-height: .9; }
.sterne { display: inline-flex; gap: 2px; }
.stern { width: 17px; height: 17px; fill: #f5b301; filter: drop-shadow(0 0 6px rgba(245,179,1,.25)); }
.stern.leer { fill: rgba(235,232,225,.2); }
.stern.halb { fill: url(#halb); }
.fact-google .fact-link { font-weight: 500; }
.fact-google .fact-k { flex-wrap: wrap; column-gap: 10px; row-gap: 0; }
.fact-google .fact-k::before { flex: 0 0 100%; max-width: 18px; }
.stern.halb { fill: #f5b301; opacity: .55; }
@media (max-width: 767px) { .fact-google .fact-k::before { display: none; } }
.fact-google .fact-k::before { flex: 0 0 18px; max-width: none; margin-right: calc(100% - 18px); }

/* Startseite-Arm: ruhig, groß im Bild wie Entwurf A (keine Animation, User 02.10.). Foto blendet per Maske weich aus
   (keine Verlauf-Ebene → keine harte Kante, auch wenn das Foto bei schmalen Fenstern aus dem Kasten ragt). */
.hero-arm::after { display: none; }
.hero-arm .arm-box { position: relative; height: 128%; aspect-ratio: 933 / 1400; margin-top: calc(var(--header-h) - 20px); flex: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 34%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 34%, #000 90%, transparent 100%); mask-composite: intersect; }
.hero-arm .arm-box img { width: 100%; height: 100%; margin: 0; object-fit: contain; }
@media (max-width: 767px) {
  .hero-arm .arm-box { height: auto; width: 100%; margin: 0; -webkit-mask-image: linear-gradient(0deg, transparent 8%, #000 55%); mask-image: linear-gradient(0deg, transparent 8%, #000 55%); }
}
/* Sterne in einer Zeile neben der Zahl (User 02.10.) */
.fact-google .fact-k { column-gap: 8px; }
.fact-google .g-zahl { font-size: 1.75rem; }
.fact-google .sterne { gap: 1px; transform: translateY(-1px); }
.fact-google .stern { width: 14px; height: 14px; }
.fact-google .fact-k > .sterne, .fact-google .fact-k > .g-zahl { flex: none; }

/* Startseite, erste Sektion „Studio-Wand“ (komplett neu, User 02.10.) */
.wand { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.wand .wrap { position: relative; z-index: 1; }
.wand-titel { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; margin: 0 0 clamp(48px, 6vw, 88px); }
.wand-z1 { display: block; font-size: clamp(3.4rem, 10.5vw, 10.5rem); }
.wand-z2 { display: block; font-size: clamp(3.4rem, 10.5vw, 10.5rem); padding-left: clamp(0px, 14vw, 220px); }
.wand-statt { font-size: .42em; font-weight: 800; color: var(--accent); vertical-align: .72em; letter-spacing: .04em; margin-right: .15em; }
.durch { position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1.6px var(--text); }
.durch::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: .075em; background: var(--accent);
  transform: scaleX(0) rotate(-7deg); transform-origin: left center; box-shadow: 0 0 18px rgba(226,88,58,.5); border-radius: 3px; }
.wand-titel.is-visible .durch::after { transition: transform .7s cubic-bezier(.7,0,.2,1) .5s; transform: scaleX(1) rotate(-7deg); }
html:not(.js) .durch::after { transform: scaleX(1) rotate(-7deg); }

.wand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.wand-fotos { position: relative; height: clamp(420px, 44vw, 640px); }
.abzug { position: absolute; margin: 0; background: #ebe8e1; padding: 10px 10px 34px; box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4);
  transition: transform .5s var(--ease), z-index 0s; }
.abzug::before { content: ""; position: absolute; top: -12px; left: 50%; width: 86px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(235,232,225,.55); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.abzug picture, .abzug img { display: block; width: 100%; height: 100%; object-fit: cover; }
.abzug img { aspect-ratio: 3 / 4; }
.abzug.f1 { width: 46%; left: 0; top: 6%; transform: rotate(-5deg); z-index: 1; }
.abzug.f2 { width: 44%; left: 30%; top: 0; transform: rotate(3deg); z-index: 2; }
.abzug.f3 { width: 40%; left: 56%; top: 34%; transform: rotate(-2deg); z-index: 3; }
.abzug:hover { transform: rotate(0deg) scale(1.04); z-index: 5; }
.wand-stempel.crest { position: absolute; left: 6%; bottom: 0; width: clamp(110px, 12vw, 170px); z-index: 4; transform: rotate(-8deg);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.6)); }

.wand-zitat { margin: 0 0 2rem; }
.wand-zitat p { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.02; margin: 0; max-width: 20ch; }
.wand-zitat footer { display: flex; align-items: center; gap: 12px; margin-top: 1.1rem; color: var(--text); font-size: .95rem; }
.wand-zitat footer span:last-child { color: var(--muted); }
.sig-strich { width: 34px; height: 2px; background: var(--accent); flex: none; }
.wand-prose { font-size: 1.06rem; max-width: 58ch; }
.wand-prose p { margin: 0 0 1em; }
.werte { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.werte li { padding: 18px 18px 0 0; display: grid; gap: 4px; align-content: start; }
.werte li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.wert-nr { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.werte strong { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; color: var(--text); margin-top: 6px; }
.werte span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.45; }

@media (max-width: 900px) {
  .wand-grid { grid-template-columns: 1fr; }
  .wand-z2 { padding-left: 0; }
  .wand-fotos { height: 108vw; max-height: 560px; }
  .werte { grid-template-columns: 1fr; }
  .werte li, .werte li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: auto 1fr; column-gap: 14px; }
  .werte li .wert-nr { grid-row: span 2; font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) { .durch::after { transform: scaleX(1) rotate(-7deg) !important; transition: none !important; } .abzug { transition: none; } }
.wand-stempel.crest { left: auto; right: 4%; top: -7%; bottom: auto; width: clamp(96px, 10vw, 140px); transform: rotate(9deg); z-index: 6; }
@media (max-width: 900px) { .wand-stempel.crest { right: 2%; top: -4%; width: 92px; } }
@media (max-width: 900px) { .wand-fotos { height: 96vw; } }

/* Wappen im Anfrageband der Startseite (aus der Studio-Wand verschoben, User 02.10.) */
.cta-gross { padding: clamp(72px, 9vw, 130px) 0; }
.cta-gross .cta-inner { grid-template-columns: auto 1fr auto; gap: clamp(28px, 5vw, 80px); }
.cta-wappen.crest { width: clamp(150px, 15vw, 230px); justify-self: start; }
.cta-gross .cta-title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
@media (max-width: 900px) { .cta-gross .cta-inner { grid-template-columns: 1fr; } .cta-wappen.crest { width: 150px; } }

/* Studio-Wand, rechter Teil neu (User 02.10.): Zitat als angepinnter Zettel, Einleitungssatz, Werte als eigene Reihe */
.wand-grid { align-items: center; }
.notiz { position: relative; background: #ebe8e1; color: #151716; padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(22px, 2.6vw, 32px);
  transform: rotate(1.6deg); box-shadow: 0 26px 50px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.35); margin: 0 0 clamp(36px, 4vw, 56px); max-width: 520px; }
.notiz::before { content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(2deg);
  background: rgba(235,232,225,.55); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.notiz p { color: #151716; font-size: clamp(1.8rem, 2.9vw, 2.6rem); max-width: none; }
.notiz footer { color: #151716; }
.notiz footer span:last-child { color: #5d5a55; }
.wand-prose p:first-child { font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.45; color: var(--text); }
.wand-prose p + p { color: #b9b5ad; }
.werte-breit { margin-top: clamp(56px, 7vw, 100px); grid-template-columns: repeat(3, 1fr); }
.werte-breit li { grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; padding: 26px 26px 0 0; }
.werte-breit li + li { padding-left: 26px; }
.werte-breit .wert-nr { font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: .85; }
.werte-breit li div { display: grid; gap: 6px; }
.werte-breit strong { margin-top: 2px; font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
@media (max-width: 900px) {
  .notiz { transform: rotate(1deg); }
  .werte-breit { grid-template-columns: 1fr; }
  .werte-breit li, .werte-breit li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .werte-breit .wert-nr { grid-row: auto; }
}

/* Silbentrennung nur auf dem Handy (sonst „TAT-TOO“ in Überschriften) */
.h2 { hyphens: manual; }
@media (max-width: 600px) { .block-title { hyphens: auto; } }

/* Studio-Wand-Titel auf dem Handy: bewusst drei Zeilen (Tattoos / mit Zeit / statt 08/15), jede füllt die Breite, kein Überlappen */
.wz-a, .wz-b { display: inline; }
@media (max-width: 700px) {
  .wand-titel { line-height: .9; }
  .wand-z1 .wz-a, .wand-z1 .wz-b { display: block; }
  .wand-z1, .wand-z2 { font-size: 23vw; }
  .wand-z2 { margin-top: .14em; line-height: 1; white-space: nowrap; }
  .wand-statt { font-size: .34em; vertical-align: .9em; }
  .durch { -webkit-text-stroke-width: 1.3px; }
}

.wand-z2 { margin-top: .1em; }
@media (max-width: 700px) { .wand-z2 { margin-top: .14em; } }
