@font-face {
  font-family: "Anybody Display";
  src: url("assets/anybody-display.woff2") format("woff2");
  font-weight: 535 700;
  font-display: swap;
}

@font-face {
  font-family: Commissioner;
  src: url("assets/commissioner.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("assets/baskervville-italic.woff2") format("woff2");
  font-weight: 430;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1e2422;
  --paper: #f4f1e8;
  --muted: #4e5148;
  --line: #9d9989;
  --leaf: #e4edae;
  --leaf-ink: #273520;
  --crimson: #8e2435;
  --plum: #412634;
  --plum-ink: #fcf2e8;
  --amber: #f2cc95;
  --entry: #273b35;
  --entry-ink: #f7f5e8;
  --gutter: clamp(1.125rem, 4.45vw, 6rem);
  --space: clamp(3.45rem, 8vw, 9rem);
  --measure: 43ch;
  --body: Commissioner, Arial, sans-serif;
  --display: "Anybody Display", Arial, sans-serif;
  --accent-serif: Baskervville, Georgia, serif;
  --grain: url("assets/papierkorn.webp");
  --ease: cubic-bezier(.21, .58, .24, 1);
  --control-radius: .09rem;
  font: 440 1rem/1.55 var(--body);
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, ol, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, p, dt, dd, figcaption, button, a) { overflow-wrap: anywhere; }
p:not(.eyebrow), figcaption { text-wrap: pretty; }
h1 span { max-width: 100%; }
[hidden] { display: none !important; }
@supports selector(:has(*)) {
  [data-perspectives]:not([data-enhanced]):not(:has(> [data-view-panel]:target)) > [data-view-panel]:not([data-view-initial]),
  [data-perspectives]:not([data-enhanced]):has(> [data-view-panel]:target) > [data-view-panel]:not(:target) { display: none; }
  [data-perspectives]:not([data-enhanced]) > [data-view-panel]:target { margin-top: 0; }
}
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:where(section, article)[tabindex="-1"]:focus-visible { outline-offset: -4px; }
main:focus { outline: 0; }
address { font-style: normal; }
.wrap { width: min(100% - 2 * var(--gutter), 108rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; white-space: nowrap; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: absolute; z-index: 5; top: .65rem; left: .65rem; padding: .55rem .85rem; color: var(--paper); background: var(--ink); }

h1, h2, h3 { font: 620 1em/1 var(--display); letter-spacing: -.037em; }
h1 { font-size: clamp(3.75rem, 7.2vw, 8.75rem); }
h2 { font-size: clamp(2.65rem, 5.25vw, 6.15rem); }
h3 { font-size: clamp(1.54rem, 2.48vw, 2.75rem); line-height: 1.045; letter-spacing: -.028em; }
.eyebrow { font-size: clamp(.94rem, 1.08vw, 1.03rem); line-height: 1.27; font-weight: 640; }
.eyebrow + :is(h1,h2) { margin-top: .13em; }
:is(h1, h2, h3) + p { margin-top: .62em; }
figcaption { padding-top: .46rem; font-size: .91rem; line-height: 1.38; }
.photo-window { overflow: clip; isolation: isolate; min-width: 0; background: #464236; }
.photo-window :is(picture, img) { width: 100%; height: 100%; }
.photo-window img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
    [data-shooting-reveal]:not(:focus-within) > picture {
      animation: move-into-frame linear both;
      animation-timeline: view(block);
      animation-range: entry 0% cover 39%;
      transform-origin: 51% 54%;
    }
    @keyframes move-into-frame {
      from { transform: scale(1.13); }
      to { transform: scale(1); }
    }
  }
}
.photo-hearing img { object-position: 52% 61%; }
.photo-exam img { object-position: 47% 51%; }
.photo-red img { object-position: 52% 63%; }
.photo-shelves img { object-position: 50% 66%; }
.photo-door img { object-position: 50% 5%; }
:is(.photo-window,[data-photo-cell])[data-image-unavailable] :is(img,.material-marker),
.material-zoom[data-image-unavailable] img { visibility: hidden; }
:is(.photo-window,.material-zoom,[data-photo-cell])[data-image-unavailable]::before {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: .92rem;
  color: var(--paper);
  font-size: .94rem;
  text-align: center;
  content: "Foto nicht verfügbar" / "";
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  width: fit-content;
  max-width: 100%;
  font-weight: 650;
  line-height: 1.25;
  text-underline-offset: .24em;
}
.button {
  gap: .72em;
  justify-content: space-between;
  padding: .62rem .88rem;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--control-radius);
  text-decoration: none;
  text-align: start;
}
a.button { position: relative; padding-inline-end: 2.62rem; }
a.button::before {
  content: "";
  position: absolute;
  inset: .42rem 2.11rem .42rem auto;
  border-inline-start: 1px solid currentColor;
  opacity: .28;
  pointer-events: none;
}
a.button::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: .74rem;
  width: .79rem;
  height: .62rem;
  translate: 0 -50%;
  background: currentColor;
  clip-path: polygon(0 44%, 77% 44%, 51% 10%, 60% 0, 100% 50%, 60% 100%, 51% 90%, 77% 57%, 0 57%);
}
a.button[href^="#"]::after { transform: rotate(90deg); }
a.button[href^="https://"]::after { transform: rotate(-42deg); }
:where(.button):hover { text-decoration: underline; text-underline-offset: .23em; }
.button:active { text-decoration: underline; text-decoration-thickness: 1px; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .26em; }
.text-link:hover { text-decoration-thickness: 2px; }
.button-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-dark:hover { background: var(--leaf); color: var(--ink); }
.button:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.action-group { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.1rem; }
.chapter-nav { position: relative; border-block: 1px solid var(--line); background: var(--paper); }
.chapter-links { display: flex; justify-content: space-between; align-items: stretch; flex-wrap: wrap; gap: 0 clamp(.35rem,2.5vw,2.6rem); }
.chapter-links a {
  display: inline-flex;
  align-items: center;
  gap: .56em;
  min-height: max(2.75rem,3.25vw);
  padding-block: .38rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
  font-size: clamp(.895rem,1.1vw,1.03rem);
  font-weight: 650;
  line-height: 1.25;
}
.chapter-links a::before {
  content: "";
  flex: 0 0 .55em;
  width: .55em;
  height: .55em;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.chapter-links a:is(:hover,[aria-current="location"]) { color: var(--crimson); text-decoration-thickness: 2px; }
.chapter-links a[aria-current="location"]::before { background: currentColor; }
.chapter-links a:focus-visible { outline-offset: 2px; }
@media (width > 980px) and (min-height: 650px) {
  .chapter-nav[data-chapter-nav] { position: sticky; top: 0; z-index: 2; }
  main:has(> .chapter-nav[data-chapter-nav]) [id][tabindex="-1"] { scroll-margin-top: 3.75rem; }
}

.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header:focus-visible { outline-offset: -3px; }
.header-inner { display: flex; min-height: 5.3rem; flex-wrap: wrap; align-items: center; gap: .55rem clamp(1.15rem, 2.55vw, 3.5rem); padding-block: .58rem; }
.brand { display: inline-flex; align-items: center; width: clamp(7.1rem, 10.6vw, 10rem); flex-shrink: 0; }
.header-inner > .brand { margin-inline-end: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem clamp(.86rem, 2.2vw, 2.6rem); }
.nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .96rem; font-weight: 620; text-decoration: none; text-underline-offset: .29em; }
.nav a:is(:hover, [aria-current]) { text-decoration: underline; }
.header-cta { white-space: nowrap; }
.mobile-menu { display: none; }
@media (min-width: 981px) and (max-width: 1209px) {
  .header-inner { column-gap: .59rem; }
  .header-inner > .brand { width: clamp(6.16rem,10.38vw,8.2rem); }
  .desktop-nav { column-gap: clamp(.52rem,.94vw,.78rem); }
  a.header-cta { padding-inline-start: .78rem; padding-inline-end: 2.45rem; }
}
.crumb-nav { margin-block: 1.1rem .1rem; font-size: .88rem; color: var(--muted); }
.crumb-nav ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .58rem; }
.crumb-nav li + li { display: inline-flex; align-items: center; gap: .58rem; }
.crumb-nav li + li::before { content: ""; display: inline-block; width: .35rem; height: .35rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.crumb-nav [aria-current] { color: var(--ink); }
.crumb-nav a { display: inline-flex; align-items: center; min-height: 1.7rem; text-underline-offset: .2em; }

.contact-step {
  --step-background: var(--entry);
  --step-foreground: var(--entry-ink);
  --step-action: var(--leaf);
  --step-action-ink: var(--leaf-ink);
  padding-block: clamp(2.5rem, 5.45vw, 6rem);
  color: var(--step-foreground);
  background: var(--step-background);
}
.contact-step--optik {
  --step-background: var(--crimson);
  --step-action: #eed7d2;
  --step-action-ink: #592637;
}
.contact-step--hoeren {
  --step-background: var(--plum);
  --step-action: #ecdce8;
  --step-action-ink: #39243c;
}
.contact-step--linsen, .contact-step--angebote {
  --step-background: #dfe9d5;
  --step-foreground: var(--entry);
  --step-action: var(--entry);
  --step-action-ink: var(--entry-ink);
}
.contact-step--angebote { --step-background: #e8e4d2; }
.contact-step-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 1.27rem clamp(2rem, 6vw, 7rem);
}
.contact-step h2 {
  max-width: 18ch;
  font-size: clamp(2.6rem, 5.25vw, 6.6rem);
  text-wrap: balance;
}
.contact-step p { max-width: 48ch; margin-top: .75rem; }
.contact-step-actions { border-top: 1px solid currentColor; padding-top: .88rem; }
.contact-step-button {
  background: var(--step-action);
  color: var(--step-action-ink);
  border-color: var(--step-action);
}
.contact-step-button:hover { background: var(--step-background); color: var(--step-foreground); border-color: currentColor; }
.contact-step-button:focus-visible { outline-color: var(--step-foreground); box-shadow: none; }
.contact-step-links { display: flex; align-items: center; flex-wrap: wrap; gap: .03rem clamp(.9rem, 2.35vw, 2rem); margin-top: .16rem; }

.site-footer { border-top: 1px solid #ae8c72; background: #eee4d0 var(--grain); background-blend-mode: soft-light; }
.footer-inner { padding-block: clamp(2rem,4.6vw,4.7rem); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.16fr) minmax(0,.66fr); gap: 1.6rem clamp(1rem,4vw,4.2rem); }
.footer-address address { margin-top: .7rem; }
.footer-place {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: end;
  gap: .16rem .48rem;
  width: fit-content;
  max-width: 100%;
  min-height: 2.75rem;
  border-block: 1px solid #ae8c72;
  padding-block: .38rem;
  font-size: .94rem;
  font-weight: 580;
  line-height: 1.3;
  text-decoration: none;
}
.footer-place span:first-child { grid-column: 1/-1; }
.footer-place strong { color: var(--crimson); font: 625 clamp(1.5rem,2.1vw,2.7rem)/.88 var(--display); letter-spacing: -.045em; }
.footer-place:hover span:first-child { text-decoration: underline; text-underline-offset: .21em; }
.footer-nav ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,auto); grid-auto-flow: column; gap: .22rem 1rem; }
.footer-nav a { min-height: 2.72rem; display: inline-flex; align-items: center; text-underline-offset: .22em; font-size: .94rem; }
.footer-nav a:hover { color: var(--crimson); text-decoration-thickness: 2px; }
.footer-contact { display: flex; flex-direction: column; justify-self: end; }
.footer-phone { color: var(--entry); font-weight: 690; font-variant-numeric: tabular-nums; }
.footer-up { gap: .66rem; margin-top: .37rem; padding-block-start: .28rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-up::after { content: "↑" / ""; margin-inline-start: auto; }
@media (max-width: 385px) {
  .footer-place { grid-template-columns: minmax(0,1fr); }
}
@media (forced-colors: active) {
  .site-footer { background-image: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .button, .chapter-links a { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
  a.button::after { transition: translate .22s var(--ease); }
  a.button:is(:hover,:focus-visible)::after { translate: .12rem -50%; }
  a.button[href^="#"]:is(:hover,:focus-visible)::after { translate: 0 calc(-50% + .12rem); }
  .footer-up::after { transition: translate .2s var(--ease); }
  .footer-up:is(:hover,:focus-visible)::after { translate: 0 -.13rem; }
  [data-perspectives] .is-changing .photo-window > :is(img, picture) { animation: change-view .54s var(--ease) both; }
  @keyframes change-view {
    from { clip-path: inset(0 6% 0 0); opacity: .79; transform: scale(1.018); }
    to { clip-path: inset(0); opacity: 1; transform: scale(1); }
  }

  @supports (animation-timeline: view()) and (animation-range: entry) {
    .photo-reveal {
      animation: open-photograph linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 65%;
    }
    @keyframes open-photograph {
      from { clip-path: inset(var(--photo-inset, 12% 0 0 0 round 0 1.8rem 0 0)); }
      to { clip-path: inset(0); }
    }
  }
}

@media (max-width: 980px) {
  .header-inner { min-height: 0; gap: .4rem .55rem; padding-block: .5rem; }
  a.header-cta { white-space: normal; padding-inline: .85rem; }
  a.header-cta::before, a.header-cta::after { display: none; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; max-width: 100%; }
  .menu-toggle {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .5rem .72rem;
    gap: .48rem;
    border: 1px solid var(--line);
    border-radius: var(--control-radius);
    background: transparent;
    font-size: .9rem;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
  }
  .menu-toggle::-webkit-details-marker { display: none; }
  .menu-toggle :is(.menu-label-open, .menu-label-close) { grid-area: 1/1; text-align: center; }
  .mobile-menu[open] .menu-label-open, .mobile-menu:not([open]) .menu-label-close { visibility: hidden; }
  .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 .8rem;
    padding: .78rem var(--gutter) .48rem;
    max-height: calc(100vh - 4.6rem);
    max-height: max(7.5rem, calc(100dvh - 4.6rem));
    overflow: auto;
    background: var(--entry);
    color: var(--entry-ink);
    border-block: 1px solid #9aac9f;
  }
  .mobile-nav-group { display: grid; align-content: start; min-width: 0; }
  .mobile-nav-group + .mobile-nav-group { padding-inline-start: .8rem; border-inline-start: 1px solid #9aac9f; }
  .mobile-nav-label { padding-block: .3rem; font-size: .8rem; line-height: 1.3; font-weight: 640; }
  .mobile-nav .mobile-nav-group a { width: fit-content; max-width: 100%; font-size: clamp(.91rem,2.8vw,1.2rem); line-height: 1.23; }
  .mobile-nav .mobile-nav-group a[aria-current] { color: var(--leaf); }
  .mobile-visit-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; border-top: 1px solid #9aac9f; margin-top: .38rem; padding-top: .25rem; }
  .mobile-visit-links a { text-decoration: underline; }
  .mobile-menu:not([open]) .mobile-nav { display: none; }
  .menu-icon { display: grid; place-items: center; height: .72em; width: .85em; }
  .menu-icon::before, .menu-icon::after { content: ""; grid-area: 1/1; width: 100%; height: 1px; background: currentColor; }
  .menu-icon::before { transform: translateY(-.22em); }
  .menu-icon::after { transform: translateY(.22em); }
  .mobile-menu[open] .menu-icon::before { transform: rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: rotate(-45deg); }
}

@supports selector(details::details-content) {
  @media (max-width: 980px) {
    .mobile-menu[open], .mobile-menu[open]::details-content { display: contents; }
    .mobile-menu[open] .mobile-nav {
      position: static;
      flex: 1 0 calc(100% + 2 * var(--gutter));
      order: 1;
      margin: .1rem calc(-1 * var(--gutter)) -.5rem;
      max-height: none;
      overflow: visible;
    }
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .menu-icon::before, .menu-icon::after { transition: transform .21s var(--ease); }
  .mobile-menu[open] .mobile-nav { animation: menu-arrival .22s var(--ease) both; }
  @keyframes menu-arrival { from { opacity: 0; transform: translateY(-.26rem); } }
}

@media (max-width: 740px) {
  a.header-cta { font-size: .82rem; padding-inline: .57rem; }
  .menu-toggle { padding-inline: .53rem; gap: .37rem; font-size: .83rem; }
  .nav a { font-size: .91rem; }
  .brand { width: min(100%,clamp(6.15rem,25vw,8.2rem)); }
  .crumb-nav { margin-top: .63rem; }
  .contact-step-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-nav { grid-column: 1/-1; grid-row: 2; border-top: 1px solid var(--line); padding-top: .65rem; }
  .footer-contact { justify-self: start; }
}

@media (max-width: 370px) {
  .header-inner { column-gap: .35rem; }
  .header-inner > .brand { width: clamp(5.15rem,26vw,6.15rem); }
  a.header-cta { font-size: .79rem; padding-inline: .39rem; }
  .menu-toggle { grid-template-columns: 1fr; padding-inline: .36rem; }
  .menu-icon { display: none; }
}

@media (forced-colors: active) {
  .button, .menu-toggle { border-color: ButtonText; }
  .button:focus-visible { outline-color: Highlight; box-shadow: none; }
  a.button::after, .menu-icon::before, .menu-icon::after { forced-color-adjust: none; background: LinkText; }
  [data-view-controls] [aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; }
  [data-view-controls] [aria-pressed="true"]:focus-visible { outline: 2px solid Highlight; }
}
