@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700;800&display=swap');

:root {
    --page: #080808;
    --panel: #101010;
    --panel-soft: #181818;
    --ink: #f2f2f2;
    --muted: #b9b9b9;
    --line: rgba(255,255,255,.12);
    --line-strong: rgba(255,255,255,.2);
    --accent: #efefef;
    --accent-muted: #8b8b8b;
    --shadow: 0 22px 70px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.08), transparent 28rem),
        linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px),
        #080808;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 18%, transparent 82%, rgba(255,255,255,.04));
    opacity: .55;
}

a {
    color: #f2f2f2;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

table,
td.table,
td.content,
td.welkom {
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

td.footer {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

#tattootop,
#tattoohead,
#tattoonavi,
#tattoocontent,
#tattoofoot {
    position: relative;
    width: 100%;
    clear: both;
}

#tattootop {
    z-index: 30;
    min-height: 36px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: rgba(8,8,8,.92);
    font-size: 13px;
}

#tattootop .tattoocontainer {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 8px 0;
}

#tattootop a {
    color: var(--muted);
    text-decoration: none;
}

#tattootop a:hover {
    color: #fff;
}

#tattoohead {
    z-index: 29;
    border-bottom: 1px solid var(--line);
    background: rgba(8,8,8,.88);
    backdrop-filter: blur(18px);
}

#tattoohead .tattoocontainer {
    padding: 14px 0;
}

#tattoonavi {
    position: sticky;
    top: 0;
    z-index: 28;
    border-bottom: 1px solid var(--line);
    background: rgba(8,8,8,.92);
    backdrop-filter: blur(18px);
}

#tattoonavi .tattoocontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
}

.tattoocontainer {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    margin: 0 auto;
    clear: both;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img,
#tattoohead img {
    width: min(300px, 100%);
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
    border: 0;
}

.menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #141414;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-button span,
.menu-button span:before,
.menu-button span:after {
    display: block;
    width: 22px;
    height: 2px;
    background: #f5f5f5;
    content: "";
    transition: transform .2s ease, opacity .2s ease;
}

.menu-button span:before {
    transform: translateY(-7px);
}

.menu-button span:after {
    transform: translateY(5px);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

a.tatnavi,
a.navigatie,
a.navigatie2,
.main-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 6px;
    color: var(--muted);
    background: transparent;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

a.tatnavi:hover,
a.navigatie:hover,
a.navigatie2:hover,
.main-nav a:hover {
    color: #080808;
    background: var(--accent);
    text-decoration: none;
}

#tattoocontent {
    padding: 58px 0 78px;
}

.tekstblok {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    margin: 0;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: rgba(10,10,10,.92) !important;
    background-size: min(470px, 80vw) auto;
    background-position: right 24px top 24px !important;
    background-repeat: no-repeat !important;
    box-shadow: var(--shadow);
}

.tekstblok:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 28%, rgba(255,255,255,.025));
}

.tekstblok > * {
    position: relative;
}

p {
    max-width: 850px;
    margin: 18px 0;
    color: #d8d8d8;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.7;
}

p[align="center"] {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

p[align="right"] {
    max-width: none;
    text-align: right;
}

p[style*="background-color"] {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #181818 !important;
}

h1,
h2,
h3 {
    margin: 0 0 20px;
    color: #fff;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: .98;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(44px, 6vw, 78px);
}

h3 {
    margin-left: 0;
    font-size: clamp(38px, 5vw, 64px);
}

strong,
b {
    color: #fff;
}

hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: var(--line);
}

li,
LI {
    color: #d8d8d8;
}

ul,
ol {
    padding-left: 24px;
}

input,
textarea,
select,
button {
    max-width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    color: #fff;
    background: #111;
    font: inherit;
}

input,
textarea,
select {
    width: min(100%, 520px);
    padding: 12px 14px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="submit"],
button {
    width: auto;
    min-height: 48px;
    padding: 12px 18px;
    color: #080808;
    background: #efefef;
    border-color: #efefef;
    font-weight: 800;
    cursor: pointer;
}

iframe {
    max-width: 100% !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 8px;
    filter: grayscale(1) contrast(1.05);
}

iframe[align="right"] {
    float: right;
    width: min(425px, 100%) !important;
    margin: 0 0 24px 32px;
}

.Gallerij {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    border: 1px solid var(--line) !important;
    border-radius: 6px;
    background-size: cover !important;
    background-position: center !important;
    filter: grayscale(1) contrast(1.08);
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

a:hover .Gallerij {
    transform: translateY(-2px);
    filter: grayscale(.2) contrast(1.06);
    border-color: rgba(255,255,255,.35) !important;
}

.tekstblok > a:has(.Gallerij) {
    display: block;
}

.tekstblok:has(.Gallerij) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.tekstblok:has(.Gallerij) h3,
.tekstblok:has(.Gallerij) script,
.tekstblok:has(.Gallerij) p {
    grid-column: 1 / -1;
}

a.grotelink {
    display: block;
    color: #fff !important;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(20px, 3vw, 30px) !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none !important;
    text-transform: uppercase;
}

a.grotelink:hover {
    color: #080808 !important;
}

p:has(a.grotelink) {
    max-width: 620px;
    margin: 16px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0;
}

p:has(a.grotelink) a {
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #151515;
}

p:has(a.grotelink) a:hover {
    background: #efefef;
}

#tattoofoot {
    color: var(--muted);
    background: #050505;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.6;
}

#tattoofoot .tattoocontainer {
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 34px;
    padding: 42px 0;
}

.footer-logo {
    width: 260px;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 18px;
}

.footer-grid h3 {
    margin-bottom: 12px;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
    max-width: none;
    margin: 8px 0;
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    color: #777;
    font-size: 13px;
    padding: 16px 0;
    text-align: center;
}

@supports not selector(:has(*)) {
    .tekstblok {
        display: block;
    }

    .Gallerij {
        display: inline-block;
        width: calc(33.333% - 14px) !important;
        margin: 7px !important;
        vertical-align: top;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 16px;
    }

    .tattoocontainer {
        width: min(100% - 28px, 680px);
    }

    #tattootop .tattoocontainer {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
        text-align: center;
    }

    #tattoohead .tattoocontainer {
        padding: 12px 0;
    }

    #tattoohead img,
    .brand img {
        width: 230px;
        max-height: 62px;
    }

    #tattoonavi .tattoocontainer {
        justify-content: flex-end;
        min-height: 62px;
    }

    .menu-button {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0 14px 14px;
        border-bottom: 1px solid var(--line);
        background: rgba(8,8,8,.98);
    }

    .main-nav a,
    a.navigatie {
        width: min(100%, 680px);
        min-height: 48px;
        margin: 0 auto;
        border-top: 1px solid var(--line);
        border-radius: 0;
    }

    .menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .menu-toggle:checked + .menu-button span {
        background: transparent;
    }

    .menu-toggle:checked + .menu-button span:before {
        transform: translateY(0) rotate(45deg);
    }

    .menu-toggle:checked + .menu-button span:after {
        transform: translateY(-2px) rotate(-45deg);
    }

    #tattoocontent {
        padding: 34px 0 56px;
    }

    .tekstblok {
        min-height: 0;
        padding: 26px;
        background-image: none !important;
    }

    p {
        font-size: 16px;
    }

    iframe[align="right"] {
        float: none;
        display: block;
        width: 100% !important;
        margin: 0 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 560px) {
    .tattoocontainer {
        width: calc(100% - 24px);
    }

    #tattoohead img,
    .brand img {
        width: 194px;
    }

    .tekstblok {
        padding: 22px 18px;
    }

    h2 {
        font-size: 44px;
    }

    h3 {
        font-size: 38px;
    }

    p[align="right"] {
        text-align: left;
    }

    input[type="submit"],
    button {
        width: 100%;
    }

    .Gallerij {
        min-height: 0;
    }

    @supports not selector(:has(*)) {
        .Gallerij {
            width: 100% !important;
            margin: 7px 0 !important;
        }
    }
}

/* Lightbox berekent popup-afmetingen zelf; globale img-regels mogen dit niet beperken. */
.lightbox .lb-image {
    max-width: none !important;
}

/* Open Lightbox in het midden van de zichtbare viewport, ongeacht scrollpositie. */
.lightbox {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%);
}

/* Subpagina's: mobiel menu naast het logo, zoals op de homepage. */
.mobile-header-menu {
    display: none;
}

@media (max-width: 900px) {
    #tattoohead .tattoocontainer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .mobile-header-menu {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    #tattoonavi {
        display: none;
    }

    .mobile-header-menu .main-nav {
        top: 100%;
        z-index: 40;
    }

    .mobile-header-menu .menu-toggle:checked ~ .main-nav {
        display: flex;
    }
}

/* Correctie: op subpagina's is alleen de header-hamburger actief op mobiel. */
#tattoohead .tattoocontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mobile-header-menu {
    margin-left: auto;
}

.mobile-header-menu .menu-button {
    margin-left: 0;
}

@media (min-width: 901px) {
    .mobile-header-menu {
        display: none !important;
    }
}

@media (max-width: 900px) {
    #tattoonavi {
        display: none !important;
    }

    .mobile-header-menu {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    .mobile-header-menu .menu-button {
        display: inline-flex !important;
    }

    .mobile-header-menu .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0 14px 14px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: rgba(8,8,8,.98);
    }

    .mobile-header-menu .menu-toggle:checked ~ .main-nav {
        display: flex !important;
    }
}

/* Mobiele subpagina-header: logo links, hamburger vast rechts op dezelfde rij. */
@media (max-width: 900px) {
    #tattoohead .tattoocontainer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 46px;
        align-items: center;
        column-gap: 14px;
    }

    #tattoohead .brand {
        min-width: 0;
        max-width: 100%;
    }

    #tattoohead .brand img {
        display: block;
        width: min(194px, 100%) !important;
        max-height: 62px;
    }

    #tattoohead .mobile-header-menu {
        width: 46px;
        min-width: 46px;
        margin-left: 0 !important;
        justify-self: end;
    }

    #tattoohead .mobile-header-menu .menu-button {
        width: 46px;
        min-width: 46px;
        margin: 0 !important;
    }

    #tattoohead .mobile-header-menu .main-nav {
        top: 100%;
    }
}

/* Desktop subpagina-header gelijk aan homepage: logo links, menu rechts. */
#tattoohead .tattoocontainer {
    display: grid !important;
    grid-template-columns: minmax(190px, 300px) 1fr;
    align-items: center;
    gap: 28px;
}

.header-desktop-nav {
    justify-content: flex-end;
}

#tattoonavi {
    display: none !important;
}

@media (min-width: 901px) {
    .header-desktop-nav {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    #tattoohead .tattoocontainer {
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 14px;
    }

    .header-desktop-nav {
        display: none !important;
    }
}
