/* Balu's Glasdesign · v4
   Ruhig, wie ein gedruckter Prospekt: Papier, Tinte, das alte Balu-Braun. */

:root {
  --paper: #f8f4ec;
  --paper-2: #efe7d9;
  --ink: #241d17;
  --ink-soft: #5a4d42;
  --rule: #d9ccb8;
  --brown: #966432;
  --brown-dark: #6f4620;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.6; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }
h1, h2 { font-weight: 400; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 700px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }
.eyebrow, .kicker { font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); margin-bottom: 1.2em; }
.section-title { margin-bottom: 1.1em; }
.small { font-size: .9rem; color: var(--ink-soft); }

.btn {
  display: inline-block; background: var(--brown); color: #fff; border: 0; border-radius: 2px;
  padding: .75em 1.4em; font-family: var(--sans); font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brown-dark); color: #fff; }
.btn-small { padding: .5em 1em; font-size: .88rem; }
.btn-ghost { background: none; color: var(--brown-dark); border: 1px solid var(--rule); }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.2rem; font-weight: 600; }
.brand-text small { font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 26px; font-family: var(--sans); font-size: .93rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brown); text-decoration: underline; }
.nav .nav-phone { font-weight: 700; color: var(--brown-dark); padding-left: 26px; border-left: 1px solid var(--rule); }
.nav-toggle { display: none; }

/* Einstieg */
.intro { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--rule); }
.intro-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.intro-lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 31em; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); }
.intro-actions a:not(.btn) { font-weight: 700; }
.intro-photo { margin: 0; }
.intro-photo img { width: 100%; mix-blend-mode: multiply; }
.intro-photo figcaption { font-style: italic; color: var(--ink-soft); font-size: 1rem; margin-top: 6px; transform: rotate(-1.5deg); }

/* Gedanke */
.thought { padding: clamp(56px, 8vw, 104px) 0; }
.thought .big { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; margin-bottom: 1.2em; }
.thought p:not(.big) { color: var(--ink-soft); }

/* Wofür */
.uses { padding: clamp(56px, 8vw, 100px) 0; background: var(--paper-2); }
.use-list { margin: 0; border-top: 1px solid var(--rule); }
.use-list > div { display: grid; grid-template-columns: 320px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.use-list dt { font-size: 1.25rem; }
.use-list dd { margin: 0; color: var(--ink-soft); }
.materials { margin: 34px 0 0; max-width: 46em; font-style: italic; color: var(--ink-soft); }

/* Hand */
.hand { padding: clamp(56px, 8vw, 104px) 0; }
.hand-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hand-grid img { background: #fff; padding: 10px 10px 34px; transform: rotate(-2deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.hand-grid p { color: var(--ink-soft); max-width: 34em; }

/* Film */
.film { padding: clamp(56px, 8vw, 100px) 0; background: #e6d8c2; }
.film-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(28px, 5vw, 60px); align-items: end; }
.film-player video { width: 100%; aspect-ratio: 480 / 272; background: #000; }
.film-text p { color: var(--ink-soft); }
.film-player { background: #fff; padding: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }

/* Arbeiten */
.works { padding: clamp(56px, 8vw, 104px) 0; }
.album { columns: 3 280px; column-gap: 28px; }
.album figure { margin: 0 0 28px; break-inside: avoid; }
.album a { display: block; }
.album img { width: 100%; }
.album figcaption { font-size: .95rem; font-style: italic; color: var(--ink-soft); margin-top: 8px; }

/* Post von Kunden */
.post { padding: clamp(56px, 8vw, 100px) 0; background: var(--paper-2); }
.letters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.letter { margin: 0; }
.letter img { width: 150px; background: #fff; padding: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); margin-bottom: 20px; }
.letter:nth-child(1) img { transform: rotate(-3deg); }
.letter:nth-child(2) img { transform: rotate(2deg); }
.letter:nth-child(3) img { transform: rotate(-1deg); }
.letter blockquote { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.45; }
.letter figcaption { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); }
.clients { margin: 40px 0 0; color: var(--ink-soft); }

/* Über mich */
.me { padding: clamp(56px, 8vw, 104px) 0; }
.me p { color: var(--ink-soft); }
.sign { display: flex; align-items: center; gap: 16px; font-style: italic; font-size: 1.3rem; color: var(--ink) !important; margin-top: 1.6em; }
.sign img { width: 64px; mix-blend-mode: multiply; }

/* Kontakt */
.contact { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info p { color: var(--ink-soft); }
.contact-info .phone { font-size: 2rem; margin: 1em 0 .2em; }
.contact-info .phone a { color: var(--ink); text-decoration: none; }
.contact-info .address { margin-top: 1.4em; color: var(--ink); }
.contact-form { display: grid; gap: 16px; font-family: var(--sans); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fffdf9;
  border: 1px solid var(--rule); border-radius: 2px; padding: .6em .7em; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brown); }
.contact-form .invalid { border-color: #a4231b; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; }
.contact-form .check input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--brown); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #2f6b2f; }
.form-status.err { color: #a4231b; }

/* Fuß */
.site-footer { border-top: 1px solid var(--rule); padding: 26px 0 30px; font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-soft); }

.mobile-cta { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(36, 29, 23, .94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: min(1000px, 100%); width: auto; }
.lightbox-close { position: absolute; top: 12px; right: 16px; width: 46px; height: 46px; border: 0; background: none; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Nur dezentes Einblenden */
.reveal { opacity: 0; transition: opacity .8s ease; }
.reveal.in { opacity: 1; }

/* Impressum */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page h3 { font-size: 1.15rem; font-weight: 600; margin: 1.6em 0 .4em; }
.page p { color: var(--ink-soft); }

/* Kleinere Bildschirme */
@media (max-width: 900px) {
  .nav-toggle { display: block; background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 8px 14px; font-family: var(--sans); font-size: .9rem; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 6px 24px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav .nav-phone { border-left: 0; padding-left: 0; border-bottom: 0; }
  .intro-grid, .hand-grid, .film-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-photo { max-width: 280px; }
  .hand-grid img { max-width: 320px; }
  .use-list > div { grid-template-columns: 1fr; gap: 6px; }
  .letters { grid-template-columns: 1fr; gap: 44px; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; text-align: center;
    padding: 14px; background: var(--brown); color: #fff; font-family: var(--sans); font-weight: 700; text-decoration: none;
  }
  .mobile-cta.hide { display: none; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .brand-text small { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .album { columns: 1; }
}

/* v6 · Balu als blasses Wasserzeichen im Hintergrund (nur an drei Stellen) */
.thought, .uses, .contact { position: relative; overflow: hidden; isolation: isolate; }
.thought::before, .uses::before, .contact::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; aspect-ratio: 432 / 478;
  background: url("../img/balu-baer.jpg") center / contain no-repeat;
  mix-blend-mode: multiply; filter: grayscale(1) sepia(.5); opacity: .07;
}
.thought::before { right: -120px; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.uses::before { left: -160px; bottom: -120px; transform: scaleX(-1) rotate(-6deg); width: 460px; }
.contact::before { right: -90px; bottom: -150px; transform: rotate(6deg); width: 440px; }
@media (max-width: 900px) {
  .thought::before, .uses::before, .contact::before { width: 300px; opacity: .06; }
  .thought::before { right: -90px; }
}

/* Version ohne Formular: Kontaktkarte */
.contact-card { background: #fffdf9; border: 1px solid var(--rule); padding: clamp(22px, 4vw, 34px); }
.contact-card-title { font-size: 1.15rem; margin-bottom: .6em; }
.contact-card ul { margin: 0 0 1.4em; padding-left: 1.2em; color: var(--ink-soft); }
.contact-card li { margin-bottom: .35em; }
.contact-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* v7 · Mobile Ansicht: Bilder zentriert und passend groß */
@media (max-width: 900px) {
  .intro-photo { max-width: 300px; margin: 8px auto 0; text-align: center; }
  .intro-photo figcaption { transform: none; }
  .hand-grid { justify-items: center; }
  .hand-grid img:not(.bear) { width: 100%; max-width: 320px; margin: 0 auto; transform: rotate(-1.5deg); }
  .hand-grid > div { width: 100%; }
  .film-grid { gap: 22px; }
  .film-player { max-width: 560px; width: 100%; margin: 0 auto; }
  .letter { text-align: center; max-width: 440px; margin: 0 auto; }
  .letter img { margin: 0 auto 18px; width: 170px; }
  .letter blockquote { text-align: left; }
  .letter figcaption { text-align: left; }
  .sign { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .album { columns: 1; }
  .album figure { max-width: 400px; margin: 0 auto 24px; }
  .album img { width: 100%; }
  .album figcaption { font-size: .9rem; margin-top: 6px; }
  .intro-photo { max-width: 240px; }
  .hand-grid img:not(.bear) { max-width: 270px; }
  .letter img { width: 150px; }
}
