/* ---------- Tokens ---------- */
:root {
    --bg: #F4ECDA;
    --bg-alt: #EBDFC2;
    --ink: #221A14;
    --ink-soft: #4F4335;
    --red: #AA3A29;
    --red-dark: #7D2A1D;
    --yellow: #CB9F42;
    --yellow-dark: #A67D2E;
    --cream: #F8F2E4;
    --line: rgba(34, 26, 20, 0.14);
    --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}
.eyebrow--light { color: var(--yellow); }

.btn {
    display: inline-block;
    padding: 0.9em 1.8em;
    background: var(--red);
    color: var(--cream);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--ink);
}
.btn--light {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--cream);
    box-shadow: 5px 5px 0 var(--cream);
}
.btn--light:hover { box-shadow: 3px 3px 0 var(--cream); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--ink);
    border-bottom: 2px solid var(--red);
    padding-bottom: 0.2em;
}
.link-arrow::after { content: '\2192'; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}
.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2, .intro__text h2, .contact-teaser__text h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header__logo {
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}
.site-header__nav { display: flex; gap: 2.25rem; }
.site-header__nav a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.site-header__nav a:hover { color: var(--red); }

.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.site-header__toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Homepage: header overlays the full-bleed hero photo instead of sitting above it */
body.page-home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
}
body.page-home .site-header__logo,
body.page-home .site-header__nav a {
    color: var(--cream);
}
body.page-home .site-header__nav a:hover { color: var(--yellow); }
body.page-home .site-header__toggle span { background: var(--cream); }

@media (max-width: 760px) {
    .site-header__toggle { display: flex; }
    .site-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-header__nav.is-open { max-height: 260px; }
    .site-header__nav a {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--line);
    }
    .site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Dropdown panel is always solid, so its links stay dark even on the homepage */
    body.page-home .site-header__nav a { color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
    min-height: 92svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
}
.hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__title {
    font-size: clamp(4.5rem, 17vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--ink);
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero__eyebrow.is-visible,
.hero__title.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .hero__eyebrow,
    .hero__title {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hero--photo {
    overflow: hidden;
    justify-content: flex-end;
    padding-bottom: 7rem;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.72) 0%, rgba(20, 16, 12, 0.5) 40%, rgba(20, 16, 12, 0.8) 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
}
.hero--photo .hero__eyebrow {
    color: #E0734F;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero--photo .hero__title {
    color: var(--cream);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* ---------- Intro / Über uns ---------- */
.intro {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.intro__media img,
.intro__media-placeholder {
    width: 100%;
    aspect-ratio: 9 / 11;
    object-fit: cover;
    border: 2px solid var(--ink);
    box-shadow: 14px 14px 0 var(--yellow);
    background: var(--bg-alt);
}
.intro__copy {
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
    max-width: 38em;
}
@media (max-width: 760px) {
    .intro { grid-template-columns: 1fr; }
    .intro__media { max-width: 20rem; margin: 0 auto; }
}

/* ---------- Artists ---------- */
.artists { background: var(--bg-alt); max-width: none; }
.artists > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.artists__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.artist-card { display: block; }
.artist-card__image,
.artist-card__placeholder {
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: var(--ink);
    border: 2px solid var(--ink);
}
.artist-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.25s ease, transform 0.4s ease;
}
.artist-card:hover .artist-card__image img {
    filter: grayscale(0);
    transform: scale(1.03);
}
.artist-card__name {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.artist-card__tag {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
}
.artists__empty { text-align: center; color: var(--ink-soft); }

/* ---------- Chessboard break ---------- */
.checker-break {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 1.5rem;
}
.checker-break__pattern {
    position: absolute;
    inset: 0;
    background-image: conic-gradient(
        #efe7d4 90deg, #1a1510 90deg 180deg,
        #efe7d4 180deg 270deg, #1a1510 270deg
    );
    background-size: 64px 64px;
}
@media (max-width: 600px) {
    .checker-break__pattern { background-size: 36px 36px; }
}
.checker-break__panel {
    position: relative;
    z-index: 1;
    background: var(--cream);
    border: 2px solid var(--ink);
    box-shadow: 10px 10px 0 var(--red);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    transform: rotate(-1deg);
    max-width: 30rem;
}
.checker-break__line {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.checker-break__line--accent {
    color: var(--red);
    margin-bottom: 1.75rem;
}

/* ---------- Kontakt teaser ---------- */
.contact-teaser {
    background: var(--ink);
    color: var(--cream);
    max-width: none;
    padding-top: clamp(4rem, 9vw, 7rem);
    padding-bottom: clamp(4rem, 9vw, 7rem);
}
.contact-teaser__text {
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
}
.contact-teaser__text h2 { color: var(--cream); }
.contact-teaser__list {
    margin: 1.75rem 0 2.25rem;
    display: grid;
    gap: 0.6rem;
    color: #CFC6B4;
}
.contact-teaser__list a:hover { color: var(--yellow); }

/* ---------- Values (Über uns) ---------- */
.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    max-width: var(--container);
    margin: 0 auto;
}
.value-card__index {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 0.75rem;
}
.value-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.value-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.intro--page .intro__copy--full {
    max-width: none;
}

/* ---------- Artists index ---------- */
.artists-page-head {
    text-align: center;
    padding-bottom: 0;
}
.artists-page-head h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

/* ---------- Artist detail ---------- */
.artist-hero {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}
.artist-hero__media img,
.artist-hero__placeholder {
    width: 100%;
    aspect-ratio: 9 / 11;
    object-fit: cover;
    border: 2px solid var(--ink);
    box-shadow: 14px 14px 0 var(--red);
    background: var(--bg-alt);
    filter: grayscale(1) contrast(1.05);
}
.link-arrow--back {
    border-bottom-color: var(--ink);
    margin-bottom: 1.5rem;
}
.artist-hero__text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    line-height: 1;
}
.artist-hero__tag {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}
.artist-hero__bio {
    margin-top: 1.5rem;
    color: var(--ink-soft);
    max-width: 38em;
}
.artist-hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
}
@media (max-width: 760px) {
    .artist-hero { grid-template-columns: 1fr; }
    .artist-hero__media { max-width: 22rem; margin: 0 auto; }
}

.portfolio { max-width: none; background: var(--bg-alt); }
.portfolio > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.portfolio__item {
    aspect-ratio: 7 / 8.5;
    overflow: hidden;
    border: 2px solid var(--ink);
}
.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio__item:hover img { transform: scale(1.04); }

/* ---------- Kontakt page ---------- */
.contact-page-head {
    text-align: center;
    padding-bottom: 0;
}
.contact-page-head h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.contact-page {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
@media (max-width: 760px) {
    .contact-page { grid-template-columns: 1fr; }
}

.contact-info { display: grid; gap: 1.75rem; }
.contact-info__row dt {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.3rem;
}
.contact-info__row dd {
    margin: 0;
    color: var(--ink-soft);
}
.contact-info__row dd a:hover { color: var(--red); }

.contact-page__form {
    background: var(--cream);
    border: 2px solid var(--ink);
    box-shadow: 12px 12px 0 var(--yellow);
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-errors,
.freeform-form-errors {
    background: #F4E3DE;
    border: 2px solid var(--red);
    color: var(--red-dark);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.form-errors ul,
.freeform-form-errors ul { margin-top: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.freeform-form-errors p { margin: 0; }

.freeform-form-success {
    background: var(--bg-alt);
    border: 2px solid var(--yellow-dark);
    color: var(--ink);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.freeform-form-success p { margin: 0; }

.form-field { margin-bottom: 1.5rem; }
.form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
    border: 2px solid var(--ink);
    padding: 0.75em 0.9em;
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--red);
}
.form-field__errors {
    margin-top: 0.5rem;
    padding: 0;
    list-style: none;
    color: var(--red);
    font-size: 0.8rem;
}

.btn--submit {
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.freeform_form_handle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Intro overlay ---------- */
/* Timeline: logo pops in → lowrider drives up (0.8s) → pushes logo off (1.75s) → overlay fades (2.65s) */
.site-intro {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #efe7d4;
    background-image: conic-gradient(
        #efe7d4 90deg, #1a1510 90deg 180deg,
        #efe7d4 180deg 270deg, #1a1510 270deg
    );
    background-size: 64px 64px;
    pointer-events: none;
    animation: intro-out 0.5s ease 2.65s forwards;
}
@media (max-width: 600px) {
    .site-intro { background-size: 36px 36px; }
}
.site-intro__push {
    position: relative;
    /* small enough that the 2em car fits in the space left of the centred logo */
    font-size: clamp(2.5rem, 12vw, 14rem);
    animation: intro-push 1s cubic-bezier(0.5, 0, 0.75, 0) 1.75s forwards;
}
.site-intro__logo {
    display: block;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--red);
    -webkit-text-stroke: 0.04em var(--ink);
    paint-order: stroke fill;
    text-shadow: 0.05em 0.05em 0 var(--ink);
    animation: intro-logo 0.6s cubic-bezier(0.2, 0.7, 0.2, 1.4) both, intro-bump 0.35s ease 1.6s;
}
/* The car sits right against the logo's left edge, so it moves with the logo once pushing starts */
.site-intro__car {
    position: absolute;
    right: 100%;
    bottom: 0.02em;
    width: 2em;
    height: auto;
    overflow: visible;
    transform: translateX(-100vw);
    animation: intro-drive 0.85s cubic-bezier(0.3, 0.6, 0.4, 1) 0.8s forwards;
}
/* Hydraulics: the front hops up on impact */
.site-intro__body {
    transform-box: view-box;
    transform-origin: 54px 66px;
    animation: intro-hop 0.5s ease-out 1.6s;
}
.site-intro__wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: intro-wheel 0.35s linear 0.8s 6;
}
@keyframes intro-logo {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes intro-drive {
    to { transform: translateX(0); }
}
@keyframes intro-bump {
    40% { transform: translateX(0.04em) rotate(-2deg); }
}
@keyframes intro-push {
    to { transform: translateX(calc(100vw + 100%)); }
}
@keyframes intro-hop {
    35% { transform: rotate(-7deg); }
    70% { transform: rotate(1.5deg); }
}
@keyframes intro-wheel {
    to { transform: rotate(360deg); }
}
@keyframes intro-out {
    to { opacity: 0; visibility: hidden; }
}
.intro-seen .site-intro { display: none; }
@media (prefers-reduced-motion: reduce) {
    .site-intro { display: none; }
}

/* ---------- Google Reviews ---------- */
.reviews .section__head { margin-bottom: 2.5rem; }
.reviews__summary { margin-top: 1rem; color: var(--ink-soft); }
.reviews__summary strong { color: var(--ink); }
.reviews__stars { color: var(--yellow); letter-spacing: 0.1em; }
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
}
.reviews__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--cream);
}
.reviews__text { margin: 0; flex: 1; line-height: 1.6; }
.reviews__author { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 0.9rem; }
.reviews__author img { width: 32px; height: 32px; border-radius: 50%; }
.reviews__author small { display: block; font-weight: 400; color: var(--ink-soft); }
.reviews__source { margin-top: 1.25rem; font-size: 0.75rem; color: var(--ink-soft); text-align: right; }
.reviews__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    margin-top: 2.5rem;
    font-weight: 700;
}
.reviews__actions a:hover { color: var(--red); }

/* ---------- Impressum ---------- */
.legal { max-width: 760px; display: grid; gap: 2.5rem; }
.legal__block h2 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.6rem;
}
.legal__block a { text-decoration: underline; text-underline-offset: 3px; }
.legal__block a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(248, 242, 228, 0.12); }
.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: #CFC6B4;
    font-size: 0.85rem;
}
.site-footer__nav { display: flex; gap: 1.5rem; }
.site-footer__nav a:hover { color: var(--yellow); }
.site-footer__nav { flex-wrap: wrap; }
.site-footer__credit { opacity: 0.6; transition: opacity 0.15s ease, color 0.15s ease; }
.site-footer__credit:hover { opacity: 1; color: var(--yellow); }
