/* Copy these licensed files from the original public/fonts directory; none are bundled here. */
@font-face {
  font-family: "Google Sans Flex";
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/GoogleSansFlex-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Poppins-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Poppins-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Poppins-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Cutive Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/CutiveMono-Regular.ttf") format("truetype");
}
/* Default brand colors sampled from the supplied PNGs; see design/reconciliation/palette-samples.json. */
:root {
  color-scheme: light;
  --public-paper: #fffbf0;
  --public-wine: #4c0606;
  --public-sand: #eae5d7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid #824428;
  outline-offset: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  z-index: 100;
  background: white;
}
.skip-link:focus {
  top: 16px;
}
.public-home {
  container-type: inline-size;
  width: min(100%, 1608px);
  margin: 0 auto;
  color: var(--page-ink, #251b17);
  background: var(--page-paper, var(--public-paper));
  font-family: var(--page-body, Arial), Arial, sans-serif;
}
.public-header {
  min-height: 4.91cqw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 10px 6.7cqw;
  background: white;
}
.public-brand {
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(18px, 2.239cqw, 36px);
  font-weight: 900;
}
.public-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.68cqw, 44px);
  font-size: clamp(14px, 1.25cqw, 20px);
}
.public-brand,
.public-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.public-hero {
  position: relative;
  background: var(--public-paper);
}
.hero-frames {
  position: relative;
  height: 58.93cqw;
}
.hero-frame {
  position: absolute;
  left: var(--frame-left);
  top: var(--frame-top);
  width: var(--frame-width);
  height: var(--frame-height);
  z-index: var(--frame-order);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frames-grid {
  display: grid;
  height: auto;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px;
}
.hero-frames-grid .hero-frame {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  aspect-ratio: 3 / 4;
}
.tagline-select {
  position: absolute;
  left: 64%;
  bottom: 4.4cqw;
  width: 30%;
  z-index: 6;
}
.public-tagline {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-family: "Cutive Mono", "Courier New", monospace;
  font-size: clamp(16px, 2.488cqw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.public-hero-grid .tagline-select {
  position: static;
  width: auto;
  padding: 20px;
}
.public-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21.14cqw;
  /* Figma: copy and portrait share a top edge 106px into the 634px section. */
  align-items: start;
  gap: 12.127cqw;
  min-height: 39.428cqw;
  padding: 6.592cqw 15.547cqw 5.78cqw 10.448cqw;
  background: var(--public-sand);
}
.public-story-copy h2 {
  margin: 0 0 clamp(14px, 2.239cqw, 36px);
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.public-story-copy p {
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 0 0 clamp(16px, 2.114cqw, 34px);
}
.public-cta {
  display: inline-flex;
  max-width: 100%;
  min-height: clamp(44px, 2.923cqw, 47px);
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 8px 1.5em;
  border-radius: 999px;
  color: var(--public-sand);
  background: var(--page-accent, var(--public-wine));
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: clamp(16px, 1.244cqw, 20px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-align: center;
  cursor: pointer;
}
.public-story-image {
  aspect-ratio: 21.14 / 27.8;
}
.public-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4.46cqw;
  padding: 7.59cqw 4.46cqw;
  background: white;
}
.public-category-card {
  position: relative;
  display: block;
  min-width: 0;
  text-decoration: none;
}
.public-category-image {
  aspect-ratio: 60 / 91;
}
.public-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.public-category-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.24);
  color: white;
  font-size: clamp(16px, 2.488cqw, 40px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.public-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.232cqw;
  padding: 7.14cqw 3.125cqw 10.26cqw;
  background: var(--public-paper);
}
.public-gallery-image {
  min-width: 0;
  aspect-ratio: 2 / 3;
}
.public-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 7.14cqw;
  min-height: 51.79cqw;
  padding: 6.7cqw 12cqw;
  background: white;
}
.public-contact-image {
  aspect-ratio: 61 / 84;
}
.public-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-contact-copy {
  min-width: 0;
}
.public-contact h1,
.public-contact h2 {
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.public-contact p {
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.public-contact-form {
  /* Figma: 555px-wide fields in the 1608px frame; never narrower than 360px. */
  max-width: max(34.515cqw, 360px);
}
.public-contact-form fieldset {
  display: grid;
  gap: clamp(8px, 0.622cqw, 10px);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.public-contact-form label {
  display: grid;
  min-width: 0;
}
/* The design shows placeholders only; labels remain for screen readers and autofill. */
.public-contact-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.public-contact-form input,
.public-contact-form select,
.public-contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: clamp(44px, 2.923cqw, 47px);
  padding: 6px 1.2cqw;
  border: 1px solid #000;
  border-radius: 3px;
  background: white;
  color: #000;
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.public-contact-form ::placeholder {
  color: #8c8282;
  opacity: 1;
}
.public-contact-form select:has(option[value=""]:checked) {
  color: #8c8282;
}
.public-contact-form textarea {
  min-height: clamp(96px, 7.09cqw, 114px);
  resize: vertical;
}
.public-contact-form .public-cta {
  width: fit-content;
  margin-top: clamp(16px, 2.799cqw, 45px);
}
.public-contact-form fieldset:disabled {
  opacity: 0.7;
}
.public-contact-form button:disabled {
  cursor: not-allowed;
}
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.public-email {
  display: inline-block;
  padding-block: 12px;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.public-preview-note {
  padding-top: 12px;
  font-size: 0.875rem;
  color: #72675e;
}
.contact-feedback {
  padding: 16px;
  border-left: 3px solid var(--public-wine);
  background: #f3e9dd;
}
.public-social {
  min-height: 69.196cqw;
  padding: 6.25cqw 8.9cqw 15.6cqw;
  background: var(--public-wine);
  color: var(--public-sand);
}
.public-social-copy {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}
.public-social-copy h2 {
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.public-social-copy p {
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.public-cta-light {
  background: var(--public-sand);
  color: var(--public-wine);
}
.public-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.125cqw;
  margin-top: 5cqw;
}
.public-social-image {
  min-width: 0;
  aspect-ratio: 39 / 51;
}
.public-social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-portfolio-hero {
  /* Figma Hochzeiten: a 1608 × 899 photo under the header. */
  aspect-ratio: 1608 / 899;
}
.public-portfolio-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Category and About pages reuse the homepage's story band. */
.public-story-copy h1 {
  margin: 0 0 clamp(14px, 2.239cqw, 36px);
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-accent, var(--public-wine));
  overflow-wrap: anywhere;
}
.public-about {
  grid-template-columns: minmax(0, 1fr) 26.46cqw;
  gap: 8cqw;
  padding-right: 13.26cqw;
}
.public-about .public-story-image {
  aspect-ratio: 2 / 3;
}
/* Category pages, from Juliane's Hochzeiten page in Figma (1608 wide). */
.public-page-intro {
  display: grid;
  justify-items: start;
  padding: 5.78cqw 7.77cqw 3.54cqw;
  background: white;
}
.public-page-copy h1 {
  margin: 0 0 2.18cqw;
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(26px, 2.488cqw, 40px);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: 0.04em;
  color: #000;
  overflow-wrap: anywhere;
}
.public-page-copy p {
  max-width: 83.9cqw;
  margin: 0;
  font-size: clamp(17px, 1.586cqw, 25.5px);
  font-weight: 300;
  line-height: 1.52;
  letter-spacing: 0.04em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.public-page-intro > .public-cta {
  margin-top: 3.48cqw;
}
.public-cta-dark {
  min-width: min(15.42cqw, 100%);
  min-height: clamp(48px, 3.73cqw, 60px);
  background: #2d0909;
  color: #e3dabe;
  font-size: clamp(17px, 1.586cqw, 25.5px);
}
.public-portfolio-gallery {
  gap: 1.8cqw 1.99cqw;
  padding: 0.44cqw 2.736cqw 6cqw;
  background: white;
}
.public-portfolio-gallery .public-gallery-image {
  aspect-ratio: 485 / 727;
}
/* The end of a category page: the other categories, one tap away. */
.public-more {
  padding: 0 2.736cqw 6cqw;
  background: white;
}
.public-more h2 {
  margin: 0 0 1.99cqw;
  padding-top: 3.5cqw;
  border-top: 1px solid #e3dccb;
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(22px, 1.99cqw, 32px);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.public-categories-more {
  gap: 1.99cqw;
  padding: 0;
  background: none;
}
.public-categories-more .public-category-image {
  aspect-ratio: 4 / 3;
}
.public-categories-more .public-category-label {
  font-size: clamp(18px, 1.99cqw, 32px);
}
.public-directory-intro {
  padding-bottom: 3.7cqw;
}
.public-directory-intro .public-page-copy h1 {
  margin: 0;
}
.public-directory-intro > .public-cta {
  margin-top: 24px;
}
.public-categories-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.49cqw;
  padding: 0 2.736cqw 6.7cqw;
}
.public-categories-directory .public-category-image {
  aspect-ratio: 4 / 5;
}
/* About: the categories as a list beside the homepage portrait. */
.public-topics {
  display: grid;
  grid-template-columns: 27.8cqw minmax(0, 1fr);
  align-items: start;
  gap: 8.33cqw;
  padding: 7.5cqw 10.42cqw;
  background: white;
}
.public-topics-image {
  aspect-ratio: 5 / 7;
}
.public-topics-copy h2 {
  margin: 0 0 clamp(20px, 2.5cqw, 40px);
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
}
.public-topics-copy nav {
  display: grid;
  border-bottom: 1px solid #d9d1bf;
}
.public-topic-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 1.37cqw 0;
  border-top: 1px solid #d9d1bf;
  font-size: clamp(20px, 1.94cqw, 31px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.public-topic-link::after {
  content: "\2192";
  font-weight: 300;
}
/* Kontakt: for anyone who would rather write directly. */
.public-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 5cqw 10.42cqw;
  background: var(--public-sand);
}
.public-direct h2 {
  margin: 0 0 12px;
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(22px, 1.94cqw, 31px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
}
.public-direct p {
  margin: 0;
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.public-direct-links {
  display: grid;
  justify-items: end;
  gap: 10px;
  font-size: clamp(16px, 1.368cqw, 22px);
}
.public-direct-links a,
.public-direct-links span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
/* Phones only: the burger menu and the headings above the photo sliders. */
.public-menu,
.public-slider-heading {
  display: none;
}
/* Phones only: a way on to the portfolio under the homepage gallery. */
.public-gallery-more {
  display: none;
}
.public-nav-link[aria-current="page"] {
  color: var(--page-accent, var(--public-wine));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.public-footer {
  display: grid;
  gap: 3cqw;
  padding: 4.44cqw 6.67cqw 2.5cqw;
  background: var(--page-paper, var(--public-paper));
  font-size: clamp(15px, 1.111cqw, 18px);
}
.public-footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 3cqw;
}
.public-footer-brand {
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(20px, 1.667cqw, 27px);
  font-weight: 900;
  text-decoration: none;
}
.public-footer nav,
.public-footer-contact {
  display: grid;
  justify-items: start;
}
.public-footer nav .public-nav-link {
  min-height: 36px;
}
.public-footer-contact a,
.public-footer-contact span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  overflow-wrap: anywhere;
}
.public-footer-legal {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e3dccb;
  font-size: 14px;
  color: #5e5450;
}
/* Customer page (/kunden/<token>): the homepage's bands, nothing new. */
.customer-intro {
  display: grid;
  justify-items: start;
  gap: clamp(16px, 1.667cqw, 27px);
  padding: 6.67cqw 10.486cqw 4.44cqw;
  background: var(--page-paper, var(--public-paper));
}
.customer-intro h1,
.customer-block h2 {
  margin: 0;
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-accent, var(--public-wine));
  overflow-wrap: anywhere;
}
.customer-intro p,
.customer-block p {
  margin: 0;
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.customer-intro strong {
  font-weight: 600;
}
.customer-band .public-story-copy h2 {
  text-transform: uppercase;
}
.customer-band .public-story-copy .customer-amount {
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--page-accent, var(--public-wine));
}
.customer-lines {
  margin: 0 0 clamp(16px, 2.114cqw, 34px);
}
.customer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.customer-block .customer-line {
  margin-bottom: 16px;
}
.customer-band .public-story-copy .customer-line {
  margin: 0;
}
.customer-portal code {
  font-family: inherit;
  font-size: inherit;
}
.customer-copy {
  display: none;
}
.customer-copy[hidden] {
  display: none;
}
.customer-qr {
  margin: 0;
  display: grid;
  gap: 12px;
}
.customer-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: white;
}
.customer-qr figcaption {
  font-size: clamp(14px, 1.111cqw, 18px);
  line-height: 1.5;
}
.customer-qr-narrow {
  display: none;
}
.customer-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 5.56cqw;
  padding: 6.67cqw 10.486cqw;
  background: white;
}
.customer-block {
  display: grid;
  justify-items: start;
  gap: clamp(16px, 1.667cqw, 27px);
  min-width: 0;
}
.customer-note {
  color: #6b6262;
}

@container (max-width: 700px) {
  .customer-intro {
    gap: 16px;
    padding: 30px 24px;
  }
  .customer-intro h1,
  .customer-block h2 {
    font-size: 1.75rem;
  }
  .customer-band .public-story-copy .customer-amount {
    font-size: 1.75rem;
  }
  .customer-band .public-story-copy .customer-line {
    margin-bottom: 8px;
  }
  .customer-copy:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--page-accent, var(--public-wine));
    color: var(--public-paper);
    font-size: 14px;
    cursor: pointer;
  }
  .customer-qr {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
  }
  .customer-qr figcaption {
    font-size: 14px;
  }
  .customer-qr-wide {
    display: none;
  }
  .customer-qr-narrow {
    display: inline;
  }
  .customer-more {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 30px 24px;
  }
  .public-contact-form {
    max-width: none;
  }
  .public-header {
    position: relative;
    flex-wrap: nowrap;
    padding: 12px 12px 12px 24px;
  }
  .public-brand {
    font-size: 1.25rem;
  }
  .public-header > .public-nav {
    display: none;
  }
  .public-menu {
    display: block;
  }
  .public-menu-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    list-style: none;
    cursor: pointer;
  }
  .public-menu-button::-webkit-details-marker {
    display: none;
  }
  /* Three lines; the middle one is the span, the others its shadows. */
  .public-menu-button span {
    width: 24px;
    height: 2px;
    background: currentColor;
    box-shadow:
      0 -7px 0 currentColor,
      0 7px 0 currentColor;
  }
  .public-menu[open] .public-menu-button span {
    height: 2px;
    box-shadow: none;
    transform: rotate(45deg);
  }
  .public-menu[open] .public-menu-button span::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transform: rotate(-90deg);
  }
  .public-menu:not([open]) nav {
    display: none;
  }
  .public-menu nav {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    padding: 8px 24px 20px;
    background: white;
    box-shadow: 0 12px 16px -12px rgb(0 0 0 / 0.25);
  }
  .public-menu .public-nav-link {
    min-height: 52px;
    font-size: 22px;
    border-top: 1px solid #eee7da;
  }
  .public-menu-categories {
    display: grid;
    padding: 0 0 8px 20px;
  }
  .public-menu .public-menu-category {
    min-height: 44px;
    border-top: 0;
    font-size: 18px;
    font-weight: 300;
  }
  .public-hero {
    display: grid;
  }
  /* Phones: one large photo that slowly fades through the collage photos. */
  .hero-frames:not(.hero-frames-grid) {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: public-hero-fade 25s infinite;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame-1 {
    animation-delay: -1s;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame-2 {
    animation-delay: 4s;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame-3 {
    animation-delay: 9s;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame-4 {
    animation-delay: 14s;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame-5 {
    animation-delay: 19s;
  }
  .tagline-select {
    position: static;
    width: auto;
    padding: 8px 24px 24px;
  }
  .public-tagline {
    font-size: 22px;
    line-height: 1.1;
  }
  .public-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 24px;
  }
  .public-story-copy h2,
  .public-contact h1,
  .public-contact h2,
  .public-social h2 {
    font-size: 1.75rem;
  }
  .public-story-copy p,
  .public-social p,
  .public-contact p {
    font-size: 1rem;
  }
  .public-story-image,
  .public-contact-image {
    width: 78%;
    max-width: none;
    justify-self: end;
    margin-right: -24px;
    aspect-ratio: 2 / 3;
  }
  .public-categories {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 0 24px 40px;
  }
  .public-category-image {
    aspect-ratio: 4 / 5;
  }
  .public-category-label {
    font-size: 1.5rem;
  }
  .public-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0 24px 32px;
  }
  .public-gallery-image {
    aspect-ratio: 2 / 3;
  }
  /* Photo rows swipe sideways on a phone; the next photo peeks in at the edge. */
  .public-categories:not(.public-categories-directory),
  .public-gallery:not(.public-portfolio-gallery),
  .public-social-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
  }
  .public-categories:not(.public-categories-directory)::-webkit-scrollbar,
  .public-gallery:not(.public-portfolio-gallery)::-webkit-scrollbar,
  .public-social-grid::-webkit-scrollbar {
    display: none;
  }
  .public-categories:not(.public-categories-directory) > *,
  .public-gallery:not(.public-portfolio-gallery) > *,
  .public-social-grid > * {
    scroll-snap-align: start;
  }
  .public-slider-heading {
    display: block;
    margin: 0;
    padding: 36px 24px 16px;
    background: white;
    font-family: var(--page-display, Arial), Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .public-slider-heading-paper {
    background: var(--page-paper, var(--public-paper));
  }
  .public-gallery-more {
    display: flex;
    justify-content: center;
    padding: 0 24px 44px;
    background: var(--public-paper);
  }
  .public-gallery-more .public-cta {
    min-height: 48px;
  }
  .public-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 24px;
  }
  /* The contact page leads with the form on a phone. */
  .public-contact-page .public-contact-image {
    display: none;
  }
  .public-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 24px;
  }
  .public-story-copy h1 {
    font-size: 1.75rem;
  }
  .public-page-intro {
    padding: 30px 24px 36px;
  }
  .public-page-copy h1 {
    margin-bottom: 18px;
    font-size: 26px;
  }
  .public-page-copy p {
    max-width: none;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0.03em;
  }
  .public-page-intro > .public-cta {
    margin-top: 24px;
  }
  .public-cta-dark {
    min-width: 0;
    min-height: 48px;
    font-size: 17px;
  }
  .public-portfolio-gallery {
    gap: 16px;
    padding: 0 24px 48px;
  }
  .public-directory-intro {
    padding-bottom: 24px;
  }
  .public-more {
    padding: 0 24px 48px;
  }
  .public-more h2 {
    margin-bottom: 16px;
    padding-top: 32px;
    font-size: 22px;
  }
  .public-categories-more {
    gap: 12px;
    padding: 0;
  }
  .public-categories-more .public-category-image {
    aspect-ratio: 342 / 180;
  }
  .public-categories-more .public-category-label {
    font-size: 22px;
  }
  .public-categories-directory {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0 24px 48px;
  }
  .public-categories-directory .public-category-image {
    aspect-ratio: 342 / 420;
  }
  .public-topics {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 24px 48px;
  }
  /* The About page already opens with a portrait. */
  .public-topics-image {
    display: none;
  }
  .public-topics-copy h2 {
    font-size: 24px;
  }
  .public-topic-link {
    padding: 0;
    font-size: 20px;
  }
  .public-direct {
    display: grid;
    gap: 12px;
    padding: 36px 24px 40px;
  }
  .public-direct p,
  .public-direct-links {
    font-size: 17px;
  }
  .public-direct-links {
    justify-items: start;
    gap: 0;
  }
  .public-footer {
    gap: 24px;
    padding: 40px 24px 28px;
  }
  .public-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .public-footer nav .public-nav-link,
  .public-footer-contact a,
  .public-footer-contact span {
    min-height: 44px;
  }
  .public-footer-legal {
    padding-top: 16px;
    font-size: 13px;
  }
  .public-contact-form label {
    font-size: 1rem;
  }
  .public-social {
    padding: 40px 24px 56px;
    min-height: 0;
  }
  .public-social-grid {
    margin-top: 32px;
  }
  .public-social-image {
    aspect-ratio: 3 / 4;
  }
  .public-portfolio-hero {
    aspect-ratio: 13 / 10;
  }
}
@keyframes public-hero-fade {
  0% {
    opacity: 0;
  }
  4%,
  20% {
    opacity: 1;
  }
  24%,
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* Without motion the first photo simply stays. */
  .hero-frame {
    animation: none !important;
  }
  .hero-frame-1 {
    opacity: 1 !important;
  }
}

/* ---------------------------------------------------------------------------------------
   Service pages, December 2026 (docs/work/service-pages). Later rules win on purpose:
   they reshape the existing sections into the approved designs without new styles.
   --------------------------------------------------------------------------------------- */

/* Photos taking turns: wide screens show the landscape set, phones the portrait set. */
.public-slides {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1608 / 899;
  background: #000;
}
.public-slide-set {
  position: absolute;
  inset: 0;
}
.public-slide-set-phone {
  display: none;
}
.public-slide-set-both {
  display: block;
}
.public-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.public-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Without the script the first photo shows; with it, the active one sits on top. */
.public-slide:first-child,
.public-slide.is-active {
  opacity: 1;
}
[data-slides-running] .public-slide:first-child:not(.is-active):not(.is-leaving) {
  opacity: 0;
}
/* A short cut through black: the old photo goes dark, then the new one comes up. */
.public-slide.is-active {
  z-index: 2;
  transition: opacity 0.14s ease-out 0.12s;
}
.public-slide.is-leaving {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.12s ease-in;
}

/* The typewriter line above a service page's heading. */
.public-page-tagline {
  margin-bottom: clamp(18px, 2.2cqw, 36px);
}
.public-page-tagline .public-tagline {
  font-size: clamp(16px, 2.488cqw, 40px);
}

/* Homepage story band: the old heading becomes a kicker, the real H1 names the services. */
.public-story-copy:has(> .public-story-headline) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.public-story-copy:has(> .public-story-headline) > * {
  order: 2;
}
.public-story-copy > .public-story-kicker {
  order: 0;
}
.public-story-copy > .public-story-headline {
  order: 1;
}
.public-story-copy .public-story-kicker {
  margin: 0 0 clamp(14px, 2.239cqw, 36px);
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
  white-space: pre-line;
}
.public-story-headline h1 {
  margin: 0 0 clamp(10px, 1.2cqw, 20px);
  font-family: var(--page-body, Arial), Arial, sans-serif;
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--page-ink, #000);
}

/* Cards: every public service in one row; narrow enough to stay tall photos, not posters. */
.public-categories:not(.public-categories-directory) {
  grid-template-columns: repeat(var(--cards, 3), minmax(0, 22cqw));
  justify-content: center;
  gap: 2.7cqw;
}
.public-category-label {
  font-size: clamp(16px, calc(7.4cqw / var(--cards, 3)), 40px);
}
.public-categories-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 4.46cqw;
  padding: 7.59cqw 4.46cqw;
}
.public-categories-more .public-category-image {
  aspect-ratio: 60 / 91;
}
.public-categories-more .public-category-label {
  font-size: clamp(16px, 2.488cqw, 40px);
}

/* How a session goes: the homepage's sand band, with the photo beside the text. */
.public-steps .public-story-copy p {
  margin-bottom: clamp(12px, 1.2cqw, 20px);
}

/* Questions and answers: a cream band laid out on the contact section's grid, so the
   heading sits over the photo column and the answers line up with the form below. */
.public-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 7.14cqw;
  padding: 6.7cqw 12cqw;
  background: #fffbf0;
}
.public-faq h2 {
  margin: 0;
  font-family: var(--page-display, Arial), Arial, sans-serif;
  font-size: clamp(24px, 2.488cqw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
}
.public-faq-list {
  display: grid;
  border-top: 1px solid #e3dccb;
}
.public-faq-entry {
  padding: clamp(16px, 1.6cqw, 26px) 0;
  border-bottom: 1px solid #e3dccb;
}
.public-faq-entry h3 {
  margin: 0 0 6px;
  font-family: var(--page-body, Arial), Arial, sans-serif;
  font-size: clamp(16px, 1.368cqw, 22px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
}
.public-faq-entry p {
  margin: 0;
  font-size: clamp(16px, 1.25cqw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.public-faq-entry p + p {
  margin-top: 0.6em;
}

/* Form spacing as designed: 14px between fields, the button 12px below the last one. */
.public-contact-form fieldset {
  gap: 14px;
}
.public-contact-form .public-cta {
  margin-top: 12px;
}
.public-contact-form label > span {
  margin-bottom: 4px;
}
.public-contact {
  min-height: 0;
}

/* Service page intro: paragraphs with a small gap, no blank lines, as designed. */
.public-portfolio-intro .public-page-copy p,
.public-page-intro .public-page-copy p {
  max-width: 74cqw;
  white-space: normal;
}
.public-page-copy p + p {
  margin-top: 1.4cqw;
}

/* The other services under a service page: three cards over the full width, as designed. */
.public-categories.public-categories-more {
  /* A third of the row each, centred, so fewer than three cards keep the same size. */
  grid-template-columns: repeat(var(--cards, 3), minmax(0, calc((100% - 2 * 4.46cqw) / 3)));
  justify-content: center;
}

/* The form: visible labels, as designed; the service page's own lead line. */
.public-contact-form label > span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  margin-bottom: 4px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--page-accent, var(--public-wine));
}
/* Visible only: the alt text "" keeps it out of the field's accessible name. */
.public-contact-form label > .is-required::after {
  content: "*" / "";
}
.public-contact .public-privacy-note {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 300;
  color: #4a4641;
}
.public-privacy-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Impressum and Datenschutz: the page intro, with room for long text. */
.public-legal .public-page-copy p {
  max-width: 74cqw;
  margin: 0 0 1em;
}

/* Footer: the legal links next to the copyright line. */
.public-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
}
.public-footer-legal .public-nav-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* A gallery photo, enlarged. */
[data-public-gallery] [data-enlargeable] {
  cursor: zoom-in;
}
[data-public-gallery] [data-enlargeable]:focus-visible {
  outline: 2px solid var(--page-accent, var(--public-wine));
  outline-offset: 3px;
}
.public-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 0.92);
}
.public-lightbox::backdrop {
  background: rgb(0 0 0 / 0.92);
}
.public-lightbox img {
  position: absolute;
  inset: 56px 16px 16px;
  width: calc(100% - 32px);
  height: calc(100% - 72px);
  object-fit: contain;
}
.public-lightbox button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #000;
  font: inherit;
  cursor: pointer;
}

/* The other services: a white band, as designed, not the footer's cream. */
.public-categories-more {
  background: white;
}
/* Instagram band: no empty space below the photos. */
.public-social {
  min-height: 0;
  padding-bottom: 6.25cqw;
}

@container (max-width: 700px) {
  .public-slides {
    aspect-ratio: 4 / 5;
  }
  .public-slide-set-desktop {
    display: none;
  }
  .public-slide-set-phone {
    display: block;
  }
  .public-page-tagline .public-tagline {
    font-size: 22px;
  }
  .public-story-copy:has(> .public-story-headline) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .public-story-copy:has(> .public-story-headline) > * {
    order: 2;
  }
  .public-story-copy > .public-story-kicker {
    order: 0;
  }
  .public-story-copy > .public-story-headline {
    order: 1;
  }
  .public-story-copy .public-story-kicker {
    font-size: 1.75rem;
  }
  .public-story-headline h1 {
    font-size: 17px;
  }
  /* Homepage on phones: the collage photos take turns over black, quickly. */
  .hero-frames:not(.hero-frames-grid) {
    background: #000;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame {
    animation: none;
    opacity: 0;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame:first-child,
  .hero-frames:not(.hero-frames-grid) .hero-frame.is-active {
    opacity: 1;
  }
  .hero-frames[data-slides-running] .hero-frame:first-child:not(.is-active):not(.is-leaving) {
    opacity: 0;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame.is-active {
    z-index: 2;
    transition: opacity 0.14s ease-out 0.12s;
  }
  .hero-frames:not(.hero-frames-grid) .hero-frame.is-leaving {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.12s ease-in;
  }
  /* Galleries and cards: even rows of two, no sideways swiping. */
  .public-categories:not(.public-categories-directory),
  .public-gallery:not(.public-portfolio-gallery),
  .public-gallery.public-portfolio-gallery {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .public-gallery:not(.public-portfolio-gallery) > *,
  .public-gallery.public-portfolio-gallery > * {
    display: block;
  }
  .public-gallery:not(.public-portfolio-gallery) {
    padding: 32px 24px 40px;
  }
  .public-gallery.public-portfolio-gallery {
    padding: 0 24px 40px;
  }
  .public-categories:not(.public-categories-directory) {
    padding: 40px 24px;
  }
  .public-category-image,
  .public-categories-more .public-category-image {
    aspect-ratio: 165 / 215;
  }
  .public-category-label,
  .public-categories-more .public-category-label {
    /* Small enough that the longest label, NEUGEBORENE, stays on one line at 320 px. */
    font-size: clamp(12px, 3.8cqw, 17px);
    letter-spacing: 0.01em;
    padding: 8px;
  }
  .public-categories-more > :first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
  }
  .public-categories-more > :first-child:nth-last-child(odd) .public-category-image {
    aspect-ratio: 342 / 240;
  }
  /* The photo in a sand band fills the text width instead of hugging the edge. */
  .public-story-image,
  .public-steps-image {
    width: 100%;
    justify-self: stretch;
    margin-right: 0;
    aspect-ratio: 4 / 5;
  }
  .public-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 40px 24px;
  }
  .public-faq h2 {
    font-size: 28px;
  }
  .public-legal .public-page-copy p,
  .public-page-intro .public-page-copy p {
    max-width: none;
  }
  .public-page-copy p + p {
    margin-top: 16px;
  }
  .public-faq-entry h3 {
    font-size: 17px;
  }
  .public-faq-entry p {
    font-size: 16px;
  }
  .public-categories.public-categories-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* As designed: on phones the form stands alone, without the photo beside it. */
  .public-contact-image {
    display: none;
  }
}
