/*
Theme Name: Röhrbein – Fokus & Vernunft
Theme URI: https://roehrbein.de
Author: Jens Röhrbein
Description: Eigenständiges Theme für Fotografie, Buchprojekt und Werkstattnotizen.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: roehrbein
*/

:root {
  --rb-cream: #f5f0e7;
  --rb-cream-alt: #efe4d6;
  --rb-sand: #d6b990;
  --rb-taupe: #c8b8a5;
  --rb-brown: #2e261f;
  --rb-muted: #70645a;
  --rb-accent: #b98447;
  --rb-accent-dark: #8e602f;
  --rb-line: rgba(57,45,35,.16);
  --rb-line-strong: rgba(57,45,35,.3);
  --rb-max: 1220px;
  --rb-display: "Segoe UI Variable Display", "Aptos Display", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --rb-sans: "Segoe UI Variable Text", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--rb-cream);
  color: var(--rb-brown);
  font: 400 1rem/1.72 var(--rb-sans);
  text-rendering: optimizeLegibility;
}
body.admin-bar .rb-site-header { top: 32px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--rb-accent-dark); }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rb-skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99999; padding: .65rem 1rem; background: #fff; color: var(--rb-brown); }
.rb-skip-link:focus { top: 1rem; }
.rb-shell { width: min(calc(100% - 2rem), var(--rb-max)); margin-inline: auto; }

.rb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--rb-line);
  background: rgba(245,240,231,.94);
  box-shadow: 0 10px 35px rgba(48,37,28,.05);
  backdrop-filter: blur(18px);
}
.rb-nav-shell { width: min(calc(100% - 2rem), var(--rb-max)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.rb-brand { display: inline-flex; align-items: baseline; gap: .7rem; color: var(--rb-brown); font-family: var(--rb-display); font-size: 1.02rem; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.rb-brand small { color: var(--rb-accent-dark); font-size: .68rem; font-weight: 650; letter-spacing: .12em; }
.rb-nav-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--rb-line-strong); background: transparent; color: var(--rb-brown); cursor: pointer; }
.rb-site-nav { display: flex; align-items: center; gap: 1.6rem; }
.rb-site-nav a { color: var(--rb-muted); font-size: .82rem; font-weight: 650; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.rb-site-nav a:hover, .rb-site-nav .current-menu-item > a, .rb-site-nav a[aria-current="page"] { color: var(--rb-brown); }
.rb-site-nav ul { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }

.rb-eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; color: var(--rb-accent-dark); font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rb-eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: var(--rb-accent); }
.rb-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem 1.15rem; border: 1px solid var(--rb-accent); color: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: background 180ms ease, color 180ms ease; }
.rb-button:hover { background: var(--rb-accent); color: var(--rb-brown); }
.rb-button.rb-ghost { border-color: var(--rb-line-strong); }
.rb-button.rb-ghost:hover { border-color: var(--rb-brown); background: var(--rb-brown); color: #fffaf2; }
.rb-text-link { display: inline-flex; margin-top: 1.2rem; color: var(--rb-accent-dark); font-weight: 650; text-decoration: none; }
.rb-text-link::after { content: "↗"; margin-left: .6rem; }

.rb-personal-hero { position: relative; min-height: calc(100svh - 76px); overflow: hidden; background: linear-gradient(90deg, rgba(31,24,18,.76) 0%, rgba(31,24,18,.55) 39%, rgba(31,24,18,.12) 72%, rgba(31,24,18,.04) 100%), url('assets/images/jens-roehrbein-hero.webp') center/cover no-repeat; }
.rb-hero-photo-mobile { display: none; }
.rb-hero-copy { position: relative; z-index: 1; display: flex; width: min(62rem, 67vw); min-height: calc(100svh - 76px); flex-direction: column; justify-content: center; padding: clamp(5rem,11vw,10rem) 2rem clamp(5rem,8vw,7rem) max(1rem,calc((100vw - var(--rb-max))/2)); }
.rb-personal-hero h1, .rb-page-hero h1, .rb-section h2, .rb-feature-card h3, .rb-book-spine strong, .rb-prose h2, .rb-prose h3, .rb-note h2, .rb-footer-brand {
  max-width: 100%;
  margin-top: 0;
  font-family: var(--rb-display);
  font-style: normal;
  font-weight: 520;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.rb-personal-hero h1 { max-width: 11.5ch; margin-bottom: 0; color: #fffaf2; font-size: clamp(2.7rem,4.7vw,4.7rem); line-height: 1.04; text-shadow: 0 3px 25px rgba(0,0,0,.22); }
.rb-personal-hero h1 span { display: block; }
.rb-personal-hero h1 em { color: #f0c68f; font-style: normal; }
.rb-personal-hero .rb-eyebrow { color: #f0c68f; }
.rb-personal-hero .rb-eyebrow::before { background: #d7a669; }
.rb-hero-lead { max-width: 34rem; margin: clamp(2rem,5vw,3.5rem) 0 0; color: rgba(255,250,242,.88); font-size: clamp(1.08rem,1.5vw,1.3rem); line-height: 1.55; }
.rb-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.rb-personal-hero .rb-button { color: #fffaf2; border-color: #d7a669; background: rgba(31,24,18,.22); backdrop-filter: blur(8px); }
.rb-personal-hero .rb-button:hover { color: var(--rb-brown); background: #e2b678; }
.rb-personal-hero .rb-button.rb-ghost { border-color: rgba(255,250,242,.55); }
.rb-personal-hero .rb-button.rb-ghost:hover { color: var(--rb-brown); background: #fffaf2; }

.rb-page-hero { padding: clamp(6rem,12vw,11rem) 0 clamp(4rem,8vw,7rem); background: var(--rb-sand); }
.rb-page-hero h1 { max-width: 18ch; margin-bottom: 0; font-size: clamp(2.7rem,4.4vw,4.25rem); }
.rb-page-hero h1 em { color: var(--rb-accent-dark); font-style: normal; }
.rb-page-hero p { max-width: 42rem; margin: 2.5rem 0 0; color: #55483c; font-size: clamp(1.1rem,1.8vw,1.4rem); }
.rb-page-hero .rb-eyebrow { color: #604b37; }
.rb-page-hero .rb-eyebrow::before { background: #7b5e42; }
.rb-book-actions { margin-top: 2rem; }
.rb-nowrap { white-space: nowrap; }
#leseprobe, #werkstatt { scroll-margin-top: 96px; }
.rb-book-actions .rb-button { color: #fffaf2; border-color: var(--rb-brown); background: var(--rb-brown); }
.rb-book-actions .rb-button:hover { color: var(--rb-brown); border-color: #fffaf2; background: #fffaf2; }
.rb-book-actions .rb-button.rb-ghost { color: var(--rb-brown); border-color: rgba(46,38,31,.55); background: transparent; }
.rb-book-actions .rb-button.rb-ghost:hover { color: #fffaf2; background: var(--rb-brown); }

.rb-section { padding-block: clamp(5rem,10vw,9rem); border-bottom: 1px solid var(--rb-line); background: var(--rb-cream); }
.rb-section-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem,8vw,8rem); }
.rb-section-index { color: var(--rb-muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.rb-section h2 { max-width: 19ch; margin-bottom: 0; font-size: clamp(2.05rem,3.1vw,3rem); }
.rb-section-copy { max-width: 43rem; line-height: 1.72; }
.rb-section-copy > p:first-child { margin-top: 0; color: var(--rb-brown); font-size: clamp(1.15rem,1.8vw,1.45rem); }
.rb-section-copy p, .rb-prose p, .rb-prose li { color: var(--rb-muted); }
.rb-personal-intro { background: #e9ddcc; }
.rb-book-band { background: #f7f2ea; }
.rb-photo-band { background: var(--rb-sand); }
.rb-notes-band { background: var(--rb-cream-alt); }
.rb-person-band { background: var(--rb-taupe); }
.rb-photo-band .rb-section-index, .rb-person-band .rb-section-index { color: #625140; }
.rb-photo-band .rb-section-copy p, .rb-person-band .rb-section-copy p { color: #57493d; }

.rb-feature-card { position: relative; display: grid; min-height: 470px; grid-template-columns: 1.05fr .95fr; border: 0; background: rgba(255,255,255,.34); box-shadow: 0 24px 70px rgba(73,52,34,.08); }
.rb-feature-card-content { align-self: center; padding: clamp(2rem,5vw,5rem); }
.rb-feature-card h3 { margin-bottom: 1.3rem; font-size: clamp(2.1rem,3vw,3rem); }
.rb-feature-card p { max-width: 32rem; color: var(--rb-muted); }
.rb-book-spine { display: flex; flex-direction: column; justify-content: space-between; padding: 2.2rem; border-left: 1px solid rgba(255,255,255,.16); color: #f7f1e8; background: linear-gradient(145deg,rgba(185,132,71,.42),transparent 54%), var(--rb-brown); }
.rb-book-spine strong { font-size: clamp(1.9rem,2.7vw,2.7rem); }
.rb-book-spine small { color: #e8c79f; letter-spacing: .16em; text-transform: uppercase; }

.rb-gallery-preview { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 1rem; margin-top: 3rem; }
.rb-photo-card { position: relative; min-height: 380px; margin: 0; overflow: hidden; background: #2d2822; box-shadow: 0 18px 48px rgba(73,52,34,.14); }
.rb-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.rb-photo-card:hover img { transform: scale(1.025); }
.rb-photo-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3.5rem 1.2rem 1rem; color: #fffaf2; background: linear-gradient(transparent,rgba(25,20,16,.72)); font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }

.rb-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,7vw,7rem); }
.rb-prose { max-width: 47rem; line-height: 1.72; }
.rb-prose h2 { max-width: none; font-size: clamp(1.9rem,2.7vw,2.7rem); }
.rb-prose h2:not(:first-child) { margin-top: 3.5rem; }
.rb-prose h3 { margin: 2.5rem 0 .5rem; font-size: 1.6rem; line-height: 1.2; }
.rb-prose blockquote { margin: 2.8rem 0; padding-left: 1.5rem; border-left: 2px solid var(--rb-accent); font-size: clamp(1.3rem,2.5vw,2rem); }
.rb-fact-list { margin: 0; padding: 0; border-top: 1px solid var(--rb-line); list-style: none; }
.rb-fact-list li { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rb-line); }
.rb-fact-list span:first-child { color: var(--rb-muted); }

.rb-reading-band { background: var(--rb-brown); color: #f7f2ea; }
.rb-reading-sample { display: grid; grid-template-columns: minmax(12rem,.65fr) minmax(0,1.35fr); gap: clamp(3rem,8vw,8rem); }
.rb-reading-heading { align-self: start; }
.rb-reading-heading h2 { margin-top: .55rem; color: #f7f2ea; }
.rb-reading-band .rb-section-index { color: var(--rb-sand); }
.rb-reading-meta { max-width: 16rem; margin: 1.2rem 0 0; color: #c9bbaa; font-size: .82rem; line-height: 1.55; }
.rb-reading-text { max-width: 47rem; color: #f7f2ea; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.08rem,1.45vw,1.24rem); line-height: 1.78; }
.rb-reading-text p:first-child { margin-top: 0; }
.rb-reading-note { grid-column: 2; margin: -.7rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(247,242,234,.2); color: #c9bbaa; font-size: .75rem; letter-spacing: .08em; }
.rb-book-intent { background: var(--rb-cream-alt); }
.rb-social-band { background: var(--rb-sand); }
.rb-social-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.rb-social-link { color: #fffaf2; border-color: var(--rb-brown); background: var(--rb-brown); }
.rb-social-link.rb-ghost { color: var(--rb-brown); border-color: rgba(46,38,31,.5); background: transparent; }

.rb-note-list { display: grid; border-top: 1px solid var(--rb-line); }
.rb-note { display: grid; grid-template-columns: 7rem 1fr auto; gap: 2rem; align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--rb-line); }
.rb-note small { color: var(--rb-accent-dark); letter-spacing: .12em; text-transform: uppercase; }
.rb-note h2 { margin: 0; font-size: clamp(1.45rem,2vw,2rem); }
.rb-note h2 a { color: inherit; text-decoration: none; }
.rb-note p { margin: .4rem 0 0; color: var(--rb-muted); }
.rb-note time { color: var(--rb-muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.rb-note-cover { display: block; width: min(100%,680px); max-height: 320px; margin: 0 0 1.3rem; object-fit: cover; box-shadow: 0 14px 38px rgba(73,52,34,.1); }
.rb-empty { max-width: 48rem; padding: clamp(2rem,5vw,4rem); border: 1px solid var(--rb-line-strong); background: rgba(255,255,255,.28); }
.rb-empty h2, .rb-empty h3 { max-width: 20ch; margin: 0; font-family: var(--rb-display); font-size: clamp(1.8rem,3vw,2.7rem); font-weight: 520; line-height: 1.12; text-wrap: balance; }
.rb-empty p { color: var(--rb-muted); }

.rb-photo-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(2.5rem,7vw,7rem); }
.rb-photo-hero-grid img { width: 100%; height: clamp(340px,42vw,540px); object-fit: cover; box-shadow: 0 24px 65px rgba(73,52,34,.18); }
.rb-gallery-tools { margin-top: clamp(2.2rem,5vw,4rem); padding: clamp(1rem,2.5vw,1.6rem); border: 1px solid var(--rb-line); background: rgba(255,255,255,.34); }
.rb-gallery-filter { display: grid; grid-template-columns: minmax(220px,1.6fr) minmax(170px,.8fr) minmax(170px,.8fr) auto; gap: .9rem; align-items: end; }
.rb-gallery-filter label { display: grid; gap: .38rem; }
.rb-gallery-filter label > span { color: var(--rb-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rb-gallery-filter input, .rb-gallery-filter select { width: 100%; min-height: 48px; padding: .72rem .82rem; border: 1px solid rgba(57,45,35,.28); border-radius: 0; background: #fffaf2; color: var(--rb-brown); }
.rb-gallery-filter .rb-button { min-height: 48px; cursor: pointer; }
.rb-gallery-reset { grid-column: 1/-1; width: fit-content; color: var(--rb-muted); font-size: .82rem; }
.rb-gallery-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1rem; color: var(--rb-muted); font-size: .82rem; }
.rb-gallery-summary p { margin: 0; }
.rb-gallery-summary span { color: var(--rb-accent-dark); }
.rb-photo-grid { margin-top: clamp(2rem,5vw,4rem); columns: 3 290px; column-gap: 1rem; }
.rb-gallery-item { display: inline-block; width: 100%; margin: 0 0 1rem; break-inside: avoid; background: #f7f2ea; box-shadow: 0 12px 34px rgba(73,52,34,.1); }
.rb-gallery-open { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #2d2822; cursor: zoom-in; }
.rb-gallery-item img { width: 100%; height: auto; transition: transform 350ms ease; }
.rb-gallery-open:hover img { transform: scale(1.018); }
.rb-gallery-item figcaption { display: grid; gap: .45rem; padding: .75rem .85rem .85rem; color: #685b4e; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.rb-gallery-item figcaption strong { font-weight: 650; }
.rb-photo-terms { display: flex; flex-wrap: wrap; gap: .35rem .65rem; letter-spacing: .04em; text-transform: none; }
.rb-photo-terms a { color: var(--rb-muted); text-decoration: none; }
.rb-photo-terms a:hover { color: var(--rb-accent-dark); text-decoration: underline; }
.rb-gallery-empty { display: block; width: 100%; column-span: all; padding: clamp(1.5rem,4vw,3rem); border: 1px solid var(--rb-line); background: rgba(255,255,255,.25); }
.rb-gallery-empty h3 { margin-top: 0; }
.rb-gallery-pagination { margin-top: 2.5rem; }
.rb-gallery-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.rb-gallery-pagination a, .rb-gallery-pagination span { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: .45rem .7rem; border: 1px solid var(--rb-line-strong); text-decoration: none; }
.rb-gallery-pagination .current { border-color: var(--rb-brown); background: var(--rb-brown); color: #fffaf2; }
.rb-lightbox { position: fixed; inset: 0; z-index: 100000; display: none; place-items: center; padding: 1rem; background: rgba(10,9,8,.94); }
.rb-lightbox[aria-hidden="false"] { display: grid; }
.rb-lightbox-stage { display: grid; width: min(96vw,1500px); height: min(94svh,1000px); grid-template-rows: minmax(0,1fr) auto; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #0b0b0c; color: #fffaf2; }
.rb-lightbox-image-wrap { display: grid; min-height: 0; place-items: center; padding: 3.25rem 4.5rem 1rem; }
.rb-lightbox-image { max-width: 100%; max-height: calc(94svh - 8rem); object-fit: contain; }
.rb-lightbox-close, .rb-lightbox-arrow { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(11,11,12,.72); color: #fffaf2; cursor: pointer; }
.rb-lightbox-close { top: 2rem; right: 2rem; width: 44px; height: 44px; font-size: 1.6rem; }
.rb-lightbox-arrow { top: 50%; width: 48px; height: 60px; transform: translateY(-50%); font-size: 1.7rem; }
.rb-lightbox-prev { left: 2rem; }
.rb-lightbox-next { right: 2rem; }
.rb-lightbox-caption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.35rem; border-top: 1px solid rgba(255,255,255,.14); }
.rb-lightbox-caption > div { min-width: 0; }
.rb-lightbox-title { display: block; }
.rb-lightbox-description, .rb-lightbox-tags { margin: .25rem 0 0; color: #c9bbaa; font-size: .78rem; line-height: 1.45; }
.rb-lightbox-tags { color: var(--rb-sand); }
.rb-lightbox-count { flex: 0 0 auto; color: #c9bbaa; font-size: .78rem; letter-spacing: .1em; }
body.rb-lightbox-open { overflow: hidden; }

.rb-about-layout { display: grid; gap: clamp(3rem,7vw,6rem); }
.rb-about-photo { height: clamp(340px,55vw,650px); margin: 0; overflow: hidden; box-shadow: 0 28px 80px rgba(73,52,34,.16); }
.rb-about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.rb-narrow { width: min(calc(100% - 2rem),760px); margin-inline: auto; }
.rb-workshop-hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,1.1fr); align-items: center; gap: clamp(2.5rem,7vw,7rem); }
.rb-workshop-title-image { width: 100%; height: clamp(340px,40vw,540px); object-fit: cover; box-shadow: 0 24px 65px rgba(73,52,34,.18); }
.rb-workshop-copy { color: var(--rb-muted); font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.08rem,1.4vw,1.2rem); line-height: 1.82; }
.rb-workshop-copy p { margin: 0 0 1.5rem; }

.rb-contact-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: clamp(1.5rem,5vw,4rem); align-items: start; }
.rb-contact-panel { padding: clamp(2rem,6vw,5rem); border: 1px solid var(--rb-line-strong); background: rgba(255,255,255,.34); box-shadow: 0 24px 70px rgba(73,52,34,.08); }
.rb-contact-panel h2, .rb-contact-aside h2 { font-family: var(--rb-display); font-size: clamp(1.75rem,3vw,2.6rem); font-weight: 520; line-height: 1.12; text-wrap: balance; }
.rb-contact-panel p, .rb-contact-aside > p { color: var(--rb-muted); }
.rb-contact-aside { padding: clamp(1.5rem,4vw,3rem) 0; }
.rb-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.rb-contact-field { display: grid; gap: .4rem; }
.rb-contact-field.rb-full, .rb-contact-consent.rb-full { grid-column: 1/-1; }
.rb-contact-field label { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.rb-contact-field input, .rb-contact-field textarea { width: 100%; border: 1px solid rgba(57,45,35,.3); border-radius: 0; background: #fffaf2; color: var(--rb-brown); padding: .85rem .9rem; }
.rb-contact-field textarea { min-height: 190px; resize: vertical; }
.rb-contact-consent { margin: 0; color: var(--rb-muted); font-size: .88rem; line-height: 1.55; }
.rb-contact-submit { width: fit-content; background: var(--rb-brown); color: #fffaf2; cursor: pointer; }
.rb-contact-notice { margin: 1.3rem 0 0; padding: .8rem 1rem; border-left: 3px solid #55764f; background: #edf3e9; color: #315030 !important; }
.rb-contact-notice.rb-error { border-left-color: #8f3128; background: #f5e3df; color: #76261f !important; }
.rb-contact-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.rb-status-note { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 2px solid var(--rb-accent); background: rgba(199,141,88,.08); color: var(--rb-muted); }

.rb-site-footer { padding: 3rem 0; background: var(--rb-brown); color: var(--rb-cream); }
.rb-footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.rb-footer-brand { margin: 0; font-size: clamp(1.9rem,3vw,3rem); }
.rb-footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.5rem; color: #c9bbaa; font-size: .78rem; }
.rb-footer-meta a { text-decoration: none; }

@media (max-width: 900px) {
  body.admin-bar .rb-site-header { top: 46px; }
  .rb-section-grid, .rb-two-col, .rb-reading-sample, .rb-photo-hero-grid, .rb-workshop-hero-grid { grid-template-columns: 1fr; }
  .rb-feature-card { grid-template-columns: 1fr; }
  .rb-book-spine { min-height: 330px; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .rb-gallery-preview { grid-template-columns: 1fr 1fr; }
  .rb-gallery-preview .rb-photo-card:first-child { grid-column: 1/-1; }
  .rb-reading-note { grid-column: 1; }
  .rb-photo-hero-grid img { height: min(62vw,470px); }
  .rb-gallery-filter { grid-template-columns: 1fr 1fr; }
  .rb-gallery-search { grid-column: 1/-1; }
}

@media (max-width: 720px) {
  body.admin-bar .rb-site-header { top: 0; }
  .rb-nav-shell { min-height: 68px; }
  .rb-brand small { display: none; }
  .rb-nav-toggle { display: inline-grid; place-items: center; }
  .rb-site-nav { position: absolute; left: 0; right: 0; top: 68px; display: none; padding: .7rem 1rem 1rem; border-bottom: 1px solid var(--rb-line); background: var(--rb-cream); }
  .rb-site-nav.rb-open { display: block; }
  .rb-site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .rb-site-nav a { display: block; padding: .85rem 0; }
  .rb-personal-hero { min-height: 0; display: flex; flex-direction: column; background: #30271f; }
  .rb-hero-photo-mobile { display: block; min-height: 310px; aspect-ratio: 4/3; background: url('assets/images/jens-roehrbein-hero.webp') 76% center/cover no-repeat; }
  .rb-hero-copy { width: 100%; min-height: 0; justify-content: flex-start; padding: 2.4rem 1rem 3rem; }
  .rb-personal-hero h1 { width: 100%; max-width: none; font-size: clamp(1.55rem,6.5vw,1.9rem); line-height: 1.08; }
  .rb-personal-hero h1 span { white-space: nowrap; }
  .rb-page-hero { padding: 4.5rem 0 3.5rem; }
  .rb-page-hero h1 { max-width: none; font-size: clamp(1.9rem,8.5vw,2.35rem); }
  .rb-page-hero p { margin-top: 1.5rem; font-size: 1.05rem; }
  #leseprobe, #werkstatt { scroll-margin-top: 78px; }
  .rb-section { padding-block: 4.5rem; }
  .rb-section h2 { max-width: none; font-size: clamp(1.65rem,7.4vw,2rem); }
  .rb-gallery-preview { grid-template-columns: 1fr; }
  .rb-gallery-preview .rb-photo-card:first-child { grid-column: auto; }
  .rb-photo-card { min-height: 290px; }
  .rb-note { grid-template-columns: 1fr; gap: .5rem; }
  .rb-photo-grid { columns: 1; }
  .rb-photo-hero-grid img { height: 70vw; max-height: 420px; }
  .rb-gallery-filter { grid-template-columns: 1fr; }
  .rb-gallery-search { grid-column: auto; }
  .rb-gallery-filter .rb-button { width: 100%; }
  .rb-lightbox { padding: 0; }
  .rb-lightbox-stage { width: 100vw; height: 100svh; border: 0; }
  .rb-lightbox-image-wrap { padding: 4rem .75rem 1rem; }
  .rb-lightbox-image { max-height: calc(100svh - 9rem); }
  .rb-lightbox-close { top: 1rem; right: 1rem; }
  .rb-lightbox-prev { left: .5rem; }
  .rb-lightbox-next { right: .5rem; }
  .rb-lightbox-caption { padding: .8rem 1rem; }
  .rb-contact-layout, .rb-contact-form { grid-template-columns: 1fr; }
  .rb-contact-field.rb-full, .rb-contact-consent.rb-full { grid-column: auto; }
  .rb-footer-grid { grid-template-columns: 1fr; }
  .rb-footer-meta { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .rb-personal-hero h1 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
