/* wolfleinweber.com – Stylesheet */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #1e1b2e;
  --muted: #5d5870;
  --line: #ece4d8;
  --pink: #ff2e88;
  --orange: #ff8a1f;
  --yellow: #ffc928;
  --green: #18b88a;
  --blue: #3d63ff;
  --violet: #8b3dff;
  --rainbow: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet));
  --radius: 20px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::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: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--pink); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* ---------- Header ---------- */
.topline { height: 6px; background: var(--rainbow); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -.01em;
}
.logo:hover { color: var(--ink); }
.logo-dots { display: inline-grid; grid-template-columns: repeat(2, 10px); gap: 3px; }
.logo-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.logo-dots i:nth-child(1) { background: var(--pink); }
.logo-dots i:nth-child(2) { background: var(--yellow); }
.logo-dots i:nth-child(3) { background: var(--green); }
.logo-dots i:nth-child(4) { background: var(--blue); }

.nav-toggle { display: none; }
.nav-button {
  display: none; cursor: pointer; padding: .55rem .9rem;
  border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .95rem;
  user-select: none;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.main-nav a:hover { background: #fff; color: var(--pink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }

@media (max-width: 860px) {
  .nav-button { display: inline-block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none; padding: .5rem 16px 1rem;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: -1;
}
.hero::before {
  width: 420px; height: 420px; right: -120px; top: -80px;
  background: radial-gradient(circle at 35% 35%, var(--yellow), var(--orange) 55%, transparent 70%);
}
.hero::after {
  width: 360px; height: 360px; left: -140px; bottom: -160px;
  background: radial-gradient(circle at 60% 40%, var(--blue), var(--violet) 55%, transparent 70%);
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em;
  margin: 0 0 1.2rem; font-weight: 900;
}
.bunt {
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.45; max-width: 34ch; margin: 0 0 1rem; font-weight: 600; }
.hero p { max-width: 58ch; color: var(--muted); }

.page-hero { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; font-weight: 900;
}
.page-hero .bar { width: 96px; height: 8px; border-radius: 8px; background: var(--rainbow); margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 4px 4px 0 var(--pink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--ink); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
section { padding: 3rem 0; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 1.5rem; line-height: 1.15; }

.work {
  display: grid; gap: 2rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  padding: 1.25rem; box-shadow: 0 20px 50px -30px rgba(30, 27, 46, .35);
}
@media (min-width: 800px) { .work { grid-template-columns: 1.25fr 1fr; padding: 1.75rem; } }
.work-img {
  border-radius: var(--radius); overflow: hidden; background: var(--rainbow); padding: 6px;
}
.work-img img { border-radius: calc(var(--radius) - 5px); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f1ece4; }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px;
  background: #fff1f7; color: var(--pink); margin-bottom: .75rem;
}
.work h3 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.01em; }
.work p { color: var(--muted); margin: 0 0 1rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--pink)); }
.card h3 { margin: 0 0 .4rem; padding-right: 1.6rem; font-size: 1.2rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.c1 { --c: var(--pink); } .c2 { --c: var(--orange); } .c3 { --c: var(--yellow); }
.c4 { --c: var(--green); } .c5 { --c: var(--blue); } .c6 { --c: var(--violet); }

a.card { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(30, 27, 46, .5); color: var(--ink); }
a.card .domain { display: block; color: var(--muted); font-size: .9rem; margin-top: .3rem; }
a.card .arrow { position: absolute; right: 1.2rem; top: 1.3rem; font-size: 1.2rem; color: var(--c); transition: transform .15s ease; }
a.card:hover .arrow { transform: translateX(4px); }
.new {
  display: inline-block; margin-left: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: .1rem .5rem;
  vertical-align: middle;
}

/* ---------- Text pages ---------- */
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1.2rem; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.quote {
  font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
  margin: 0 0 2rem; padding-left: 1.2rem; border-left: 6px solid var(--pink); max-width: 30ch;
}

.cta {
  background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 8px);
  padding: 2.2rem 1.5rem; position: relative; overflow: hidden;
}
@media (min-width: 700px) { .cta { padding: 2.8rem 3rem; } }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--rainbow); }
.cta h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.02em; line-height: 1.2; }
.cta p { margin: 0; color: #d7d3e4; max-width: 60ch; }
.cta .btn { border-color: #fff; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { color: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.cta .btn-ghost { color: #fff; }
.cta .btn-ghost:hover { color: #fff; box-shadow: 4px 4px 0 var(--pink); }

.address {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; display: inline-block; font-style: normal; line-height: 1.8;
}
.address strong { font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, a.card .arrow { transition: none; }
}

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.g-item {
  margin: 0; cursor: zoom-in; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.g-item[hidden] { display: none; }
.g-item:hover, .g-item:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(30, 27, 46, .5); outline: none; }
.g-item:focus-visible { box-shadow: 0 0 0 3px var(--blue); }
.g-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f1ece4; }
.g-item figcaption { padding: .7rem .9rem .8rem; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.gallery-empty { color: var(--muted); margin: 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 32, .92);
  display: flex; align-items: center; justify-content: center; padding: 3.5rem 16px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-weight: 600; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--pink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }
