@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-400.4ab51eb2cd73.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-600.6bb2b2645ba5.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-700.35c5efa0e5da.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-400.ac079950fd98.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #123f43;
  --deep: #0d3337;
  --paper: #f6f4ee;
  --pale: #dae6df;
  --lime: #eaf0a9;
  --rust: #98422c;
  --line: #97afa6;
  --white: #fff;
  --focus: #bc4e24;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1.0625rem/1.65 "DM Sans",
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
p a:not(.button),
.prose a,
.notice a,
.auth-panel > a {
  font-weight: 700;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background: #e1e6e2;
  color: #4d5f59;
  border-color: #73887f;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.site-footer :focus-visible,
.hero :focus-visible,
.cta :focus-visible {
  outline-color: var(--lime);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: 0.8rem 1rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: min(1240px, 86.5%);
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.65rem, 5.3vw, 4.6rem);
  letter-spacing: 0;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  letter-spacing: 0;
}
h3 {
  font-size: 1.75rem;
}
p {
  margin: 0 0 1.25rem;
}
.section {
  padding-block: 6rem;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}
.rust {
  color: var(--rust);
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 1rem 1.5rem;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.button:hover {
  background: #f3f6c5;
  text-decoration: none;
}
.button.small {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}
.button.secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--pale);
}
.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  min-height: 44px;
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 114px;
}
.brand {
  display: grid;
  place-items: center;
  flex: 0 0 124px;
  padding: 8px 12px;
  margin-block: 8px;
  background: transparent;
}
.site-header .brand:focus-visible {
  outline-color: var(--focus);
  outline-offset: 4px;
}
.brand img {
  width: 100px;
  height: 84px;
  object-fit: contain;
  background: transparent;
}
#hauptnavigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
#hauptnavigation > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9rem;
}
#hauptnavigation > a:not(.button) {
  position: relative;
}
#hauptnavigation > a:not(.button)::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
#hauptnavigation > a:not(.button):hover::after,
#hauptnavigation > a:not(.button):focus-visible::after,
#hauptnavigation > a[aria-current="page"]::after,
#hauptnavigation > a[aria-current="location"]::after {
  transform: scaleX(1);
}
#hauptnavigation form {
  margin: 0;
}
#hauptnavigation .secondary {
  color: var(--ink);
  border-color: var(--ink);
}
#hauptnavigation .secondary:hover {
  color: var(--ink);
}
#hauptnavigation > .button:not(.secondary) {
  background: var(--ink);
  color: var(--white);
}
#hauptnavigation > .button:not(.secondary):hover {
  background: var(--deep);
}
#hauptnavigation > .button:not(.secondary) .icon {
  filter: brightness(0) invert(1);
}
.shop-link {
  gap: 0.4rem;
}
.site-footer .icon {
  filter: brightness(0) invert(1);
}
.menu-toggle {
  display: none;
}
.hero {
  background: var(--ink);
  color: #fff;
  padding: 3rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero .eyebrow {
  color: var(--lime);
}
.hero-category {
  font-size: 1.1rem;
}
.hero h1 {
  margin-bottom: 2.3rem;
  font-size: clamp(2.6rem, 4.5vw, 4.35rem);
}
.hero-copy .text-link {
  margin: 1rem 0 0 1.2rem;
}
.hero-photo img {
  width: 100%;
  max-height: 610px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 3px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: white;
}
.feature-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.feature-card > div {
  padding: 1.75rem;
}
.feature-card h3 {
  font-size: 1.8rem;
}
.pale {
  background: var(--pale);
}
.pale h2 {
  max-width: 850px;
}
.prose {
  overflow-wrap: anywhere;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose ul {
  padding-left: 1.4rem;
}
.service-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem 4rem;
  margin-top: 3rem;
}
.service-copy p,
.service-copy ul {
  break-inside: avoid;
}
.team-teaser {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 5rem;
}
.team-pictures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.team-pictures img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.team-pictures img:first-child {
  object-position: 57% 50%;
}
.testimonials {
  background: #e8ecdf;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.quote-grid figure {
  margin: 0;
  padding: 2rem;
  border-top: 1px solid var(--line);
}
blockquote {
  margin: 0 0 1rem;
}
.quote-grid figcaption {
  font-weight: 700;
}
.rating {
  color: var(--ink);
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.cta {
  background: var(--ink);
  color: white;
  padding: 2.5rem 0;
}
.cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 3rem;
  align-items: center;
}
.cta p {
  max-width: 750px;
  grid-column: 1;
}
.cta .button {
  grid-column: 2;
  grid-row: 1 / 3;
}
.site-footer {
  background: var(--deep);
  color: white;
  padding: 1.5rem 0 1rem;
  font-size: 0.9rem;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 1rem;
  align-items: start;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-main nav a {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 44px;
}
.footer-bottom {
  border-top: 1px solid #4c6869;
  padding-top: 0.8rem;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  font-size: 0.72rem;
}
.footer-bottom a {
  color: var(--lime);
}
.page-hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.page-hero > :first-child {
  margin-top: 0;
}
.page-hero > :last-child {
  margin-bottom: 0;
}
.page-hero h1 {
  max-width: 1000px;
}
.lead {
  max-width: 850px;
  font-size: 1.2rem;
}
.biography {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.biography > img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.biography.reverse > img {
  order: 2;
}
.gallery-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.overview-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.overview-card > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.overview-card > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 1.5rem;
}
.overview-card .button {
  margin-top: auto;
}
.overview-card p {
  margin-bottom: 1.5rem;
}
.overview-card h2 {
  font-size: 2rem;
}
.overview-card:hover {
  text-decoration: none;
  box-shadow: 0 8px 24px #123f431c;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}
.gallery-section + .gallery-section {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding-top: 5rem;
}
.gallery-card {
  margin: 0;
  min-width: 0;
}
.gallery-card a {
  display: block;
  position: relative;
  background: #e6e5df;
}
.gallery-card img:not(.icon) {
  width: 100%;
  height: 360px;
  object-fit: contain;
}
.gallery-card figcaption {
  font-size: 0.9rem;
  padding-top: 0.75rem;
}
.zoom-mark {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border-radius: 50%;
}
.lightbox {
  width: min(1200px, 96vw);
  height: min(900px, 94dvh);
  max-height: 94dvh;
  border: 0;
  border-radius: 5px;
  padding: 1.5rem;
  background: var(--paper);
  color: var(--ink);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
}
.lightbox::backdrop {
  background: #051e23e8;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lightbox-toolbar h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.lightbox button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  background: transparent;
}
.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 5.5em;
  min-height: 0;
  min-width: 0;
  margin: 0;
  text-align: center;
}
.lightbox figure img {
  margin-inline: auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}
.lightbox figcaption {
  padding-top: 0.6rem;
  overflow: auto;
  overflow-wrap: anywhere;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.back-top {
  position: fixed;
  z-index: 15;
  bottom: 1.1rem;
  right: 1.1rem;
  width: 46px;
  height: 46px;
  padding: 0;
  line-height: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 15px #0002;
}
.back-top .icon {
  display: block;
  margin: 0;
}
.legal {
  max-width: 1000px;
}
.legal .prose {
  line-height: 1.8;
}
.legal a {
  color: #075da8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.field label {
  font-weight: 600;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
    [type="hidden"]
  ),
textarea,
select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #64847d;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  background: #fff;
}
textarea {
  min-height: 170px;
  resize: vertical;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid #a12c2c;
}
.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 44px;
  padding-block: 0.5rem;
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  flex: 0 0 24px;
  margin: 0.1rem 0 0;
  background: #fff;
  display: grid;
  place-content: center;
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 4px #fff;
}
.hint {
  font-size: 0.9rem;
}
.privacy-info {
  background: #e9f4fc;
  border: 1px solid #8bbadd;
  border-radius: 8px;
  padding: 1rem;
  text-wrap: balance;
}
.privacy-info a {
  color: #075b9d;
  font-weight: 700;
}
.notice {
  padding: 1rem 1.3rem;
  border: 1px solid #63847b;
  background: #e2eee5;
  border-radius: 5px;
  margin: 1.5rem 0;
  overflow-wrap: anywhere;
}
.notice.error {
  border-color: #a12c2c;
  background: #fff0ed;
  color: #812b22;
}
.admin-body h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.admin-body h2 {
  font-size: 1.9rem;
}
.admin-body h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.admin-section {
  overflow-wrap: anywhere;
  padding-top: 3rem;
}
.panel {
  border: 1px solid #bdc9c1;
  padding: 2rem;
  border-radius: 8px;
  background: white;
  margin-bottom: 2rem;
}
.auth-panel {
  max-width: 640px;
}
.admin-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.admin-heading,
.publish-bar,
.button-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-heading {
  justify-content: space-between;
}
.publish-bar {
  margin: 2rem 0;
}
.edit-image {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2rem;
}
.edit-thumb img:not(.icon) {
  width: 180px;
  max-height: 250px;
  object-fit: contain;
  background: var(--paper);
}
.edit-fields .button {
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
}
.dropzone {
  position: relative;
  border: 2px dashed #64847d;
  border-radius: 8px;
  background: #f0f5ef;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.dropzone.dragover {
  border-color: var(--ink);
  background: var(--lime);
}
.dropzone:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.dropzone input {
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  font: inherit;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  cursor: pointer;
}
.file-list {
  list-style: none;
  padding: 0;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  overflow-wrap: anywhere;
}
.file-list button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  min-height: 44px;
  padding: 0.5rem;
}
.select-control {
  position: relative;
}
.select-trigger {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  min-height: 48px;
  background: white;
  border: 1px solid #64847d;
  border-radius: 4px;
  color: var(--ink);
  text-align: left;
}
.select-options {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.35rem;
  list-style: none;
  margin: 0.25rem 0 0;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 6px 20px #123f4326;
}
.select-options [role="option"] {
  padding: 0.6rem 0.8rem;
  min-height: 44px;
  cursor: pointer;
}
.select-options [aria-selected="true"] {
  background: var(--pale);
  font-weight: 700;
}
.select-options [role="option"]:focus {
  background: var(--ink);
  color: white;
  outline-offset: -3px;
  outline-color: var(--lime);
}
.recovery-codes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.secret-key {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 1rem;
}
@media (max-width: 1150px) {
  #hauptnavigation {
    gap: 0.9rem;
  }
  .wrap {
    width: 90%;
  }
  .hero-grid {
    gap: 3rem;
  }
}
@media (max-width: 1000px) {
  .header-inner {
    min-height: 96px;
  }
  .brand {
    flex-basis: 112px;
  }
  .brand img {
    width: 80px;
    height: 70px;
  }
  .js-enabled .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--lime);
    color: var(--ink);
    border: 0;
    border-radius: 3px;
    padding: 0.7rem 1rem;
    min-height: 44px;
  }
  .js-enabled #hauptnavigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    border-bottom: 1px solid #75918e;
  }
  .js-enabled #hauptnavigation.open {
    display: flex;
  }
  #hauptnavigation > a {
    padding: 0.5rem 0;
  }
  #hauptnavigation > .button {
    padding: 0.8rem;
  }
  .intro-grid,
  .team-teaser,
  .biography {
    gap: 3rem;
  }
  .feature-grid,
  .gallery-overview {
    gap: 1rem;
  }
  .feature-card > div {
    padding: 1.2rem;
  }
  .gallery-card img:not(.icon) {
    height: 280px;
  }
}
@media (max-width: 760px) {
  .section {
    padding-block: 3.5rem;
  }
  .hero {
    padding-block: 2.5rem;
  }
  .hero-grid,
  .intro-grid,
  .team-teaser,
  .biography,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 8vw, 4rem);
  }
  .hero-photo img {
    max-height: 570px;
    aspect-ratio: 4/4.6;
  }
  .hero-copy .text-link {
    margin-left: 0;
    display: flex;
  }
  .feature-grid,
  .quote-grid,
  .gallery-overview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .feature-card > img {
    align-self: start;
  }
  .service-copy {
    grid-template-columns: 1fr;
  }
  .team-pictures img {
    height: 300px;
  }
  .biography.reverse > img {
    order: 0;
  }
  .cta .wrap {
    display: block;
  }
  .cta .button {
    margin-top: 1rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-card img:not(.icon) {
    height: 260px;
  }
  .overview-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .overview-card > img {
    height: 100%;
    aspect-ratio: auto;
  }
  .account-grid,
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .edit-image {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
  }
  .edit-thumb img:not(.icon) {
    width: 120px;
  }
  .panel {
    padding: 1.25rem;
  }
  .page-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .lightbox {
    padding: 0.8rem;
  }
  .lightbox-controls {
    flex-wrap: wrap;
  }
  .lightbox-controls button {
    font-size: 0.85rem;
  }
}
@media (max-width: 440px) {
  .feature-card,
  .overview-card,
  .edit-image {
    grid-template-columns: 1fr;
  }

  .overview-card > img {
    aspect-ratio: 4/3;
    object-position: center 35%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card img:not(.icon) {
    height: auto;
    max-height: 460px;
  }
  .team-pictures img {
    height: 220px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .button {
    max-width: 100%;
  }
  .recovery-codes {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  input[type="checkbox"]:checked,
  input[type="radio"]:checked {
    background: Highlight;
    border-color: Highlight;
  }
  .icon {
    forced-color-adjust: none;
  }
}

.new-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.new-badge[hidden] {
  display: none;
}
.thumbnail-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

@media (max-width: 1000px) {
  html:not(.js-enabled) .header-inner {
    flex-wrap: wrap;
  }
  html:not(.js-enabled) #hauptnavigation {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  html:not(.js-enabled) .site-header {
    position: relative;
  }
}

.confirm-dialog {
  width: min(520px, 92vw);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 2rem;
}
.confirm-dialog::backdrop {
  background: #051e23e8;
}
.confirm-dialog h2 {
  font-size: 2rem;
}

.cta h2 {
  margin-bottom: 0.5rem;
}
.cta p {
  margin-bottom: 0;
}
.footer-main nav {
  gap: 0;
}
.footer-main p {
  margin: 0.35rem 0 0;
}
.footer-main nav a {
  min-height: 28px;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}
.footer-main .social .icon {
  width: 20px;
  height: 20px;
}

/* Full-width pale introduction separates the cream header from each inner page. */
.page-hero.wrap {
  width: 100%;
  padding-inline: max(6.75%, calc((100% - 1240px) / 2));
  background: var(--pale);
}
@media (max-width: 1150px) {
  .page-hero.wrap {
    padding-inline: 5%;
  }
}

/* Compact administration rows with visible file metadata. */
.edit-image {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  margin-block: 1rem;
}
.edit-thumb img:not(.icon) {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  min-width: 0;
}
.edit-fields .field {
  margin: 0;
}
.edit-fields .media-info,
.edit-fields .check,
.edit-fields .button-row {
  grid-column: 1 / -1;
}
.media-info {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.media-info p {
  margin: 0.15rem 0;
}
.media-info summary {
  cursor: pointer;
  padding: 0.35rem 0;
  min-height: 28px;
}
.media-info ul {
  padding-left: 1.2rem;
}
.sort-handle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-bottom: 0.4rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.8rem;
  cursor: grab;
  touch-action: none;
}
.sort-handle[hidden] {
  display: none;
}
.is-sorting {
  outline: 3px solid var(--ink);
  background: var(--pale);
}
.is-sorting .sort-handle {
  cursor: grabbing;
}
.footer-main nav a {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .edit-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 440px) {
  .edit-image {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Allow enlarged text and long German words to reflow within narrow grids. */
body {
  overflow-wrap: anywhere;
}
main *,
.site-footer *,
.header-inner > * {
  min-width: 0;
}
@media (max-width: 600px) {
  .button {
    max-width: 100%;
    white-space: normal;
  }
}
h1,
h2,
h3,
.overview-card > div > * {
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* Final public and administration layouts agreed with the customer. */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
}
.contact-link .icon {
  flex: 0 0 1.2em;
}
.biography-contact {
  margin-top: 2rem;
}
.service-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  max-width: none;
}
.service-copy h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
}
.feature-card:first-child > img {
  object-position: center 35%;
}
.feature-card:nth-child(2) > img {
  object-position: 40% center;
}
.feature-card:last-child > img {
  object-position: center top;
}
.smtp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.edit-image {
  grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "thumb fields metadata";
  align-items: start;
}
.edit-thumb {
  grid-area: thumb;
}
.edit-fields {
  grid-area: fields;
  grid-template-columns: minmax(0, 1fr);
}
.edit-metadata {
  grid-area: metadata;
  padding-inline-start: 1.5rem;
}
.edit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.edit-actions .button,
.edit-actions .sort-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  margin: 0;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
}
.edit-actions .sort-handle {
  background: var(--lime);
  border: 2px dashed var(--ink);
}
.edit-thumb .lightbox-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.edit-zoom {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
}
.edit-actions .sort-handle[hidden] {
  display: none;
}
.edit-thumb img:not(.icon) {
  -webkit-user-drag: none;
}
.dropzone input::file-selector-button {
  margin-right: 1.25rem;
}
.file-list {
  margin-block: 1.25rem;
}
@media (max-width: 800px) {
  .edit-metadata {
    padding-inline-start: 0;
  }
  .service-copy,
  .smtp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .edit-image {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-areas: "thumb fields" "metadata metadata";
  }
}
@media (max-width: 480px) {
  .edit-image {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "thumb" "fields" "metadata";
  }
}

/* Visible feedback follows the pointer throughout a gallery move. */
.edit-image.is-sorting {
  opacity: 0.45;
  outline: 3px dashed var(--ink);
}
.edit-image.drop-before {
  box-shadow: 0 -6px 0 var(--ink);
}
.edit-image.drop-after {
  box-shadow: 0 6px 0 var(--ink);
}
.sort-preview {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 0.3rem 0.75rem;
  width: min(280px, calc(100vw - 16px));
  padding: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 28px #123f4340;
  font-size: 0.85rem;
}
.sort-preview img {
  grid-row: span 2;
  width: 56px;
  height: 72px;
  object-fit: contain;
  background: var(--paper);
}
.sort-preview strong {
  font-size: 0.8rem;
}

.gallery-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-section > h2[id] {
  scroll-margin-top: 1rem;
}
.lightbox-toolbar {
  flex-wrap: wrap;
}
.lightbox-close {
  flex-shrink: 0;
}
