/* ============================================================
   Bäckerei Benter – Backmanufaktur seit 1948
   Design-Umsetzung nach Benter_Webdesign.pdf
   ============================================================ */

/* Schriften lokal (assets/fonts) – keine Verbindung zu Google Fonts */
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #EEE9DE;      /* helle Sektionen, Logo-Ton      */
  --beige: #DED6C6;      /* dunklere Beige-Sektionen        */
  --dark: #0E0C09;       /* Hero, dunkle Sektion, Footer    */
  --ink: #1B1812;        /* Text auf hellen Flächen         */
  --brown: #45291E;      /* Marken-Braun                    */
  --tan: #A9855C;        /* Marken-Gold                     */
  --muted: rgba(27, 24, 18, 0.62);
  --line: rgba(27, 24, 18, 0.18);
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --pad-x: clamp(20px, 4vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Scrollen übernimmt Lenis (js/lenis.min.js); ohne JS springen Anker direkt */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ============ Header ============ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(14, 12, 9, 0.88);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.brand { margin-right: auto; }

.brand-logo { height: clamp(64px, 7vw, 92px); width: auto; }

.main-nav {
  display: flex;
  gap: clamp(20px, 3.5vw, 56px);
}

.main-nav a {
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ============ Overlay-Menü ============ */

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.menu-open .overlay-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.6vh, 16px);
}

.overlay-nav a {
  color: var(--cream);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: fit-content;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.overlay-nav a:hover { opacity: 1; transform: translateX(8px); }

.overlay-nav .mono { color: var(--tan); }

.overlay-footer {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: var(--pad-x);
  color: rgba(238, 233, 222, 0.55);
}

.overlay-legal {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.overlay-legal a:hover { color: var(--cream); }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  /* Standbild, bis das Video läuft (und bei reduzierter Bewegung) */
  background: var(--dark) url("../assets/img/hero_poster.jpg") 38% center / cover no-repeat;
  overflow: hidden;
}

/* Handy hochkant: eigener 9:16-Drohnenflug (hero-mobile.mp4), mittig */
@media (max-width: 900px) and (orientation: portrait) {
  .hero {
    background-image: url("../assets/img/hero_poster_mobile.jpg");
    background-position: center;
  }
  .hero .hero-bg { object-position: center; }
}

/* gilt für <img> wie für <video> */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  border: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Video ist stellenweise sehr hell (Croissants, weiße Kleidung) – der Claim braucht Kontrast */
  background: linear-gradient(100deg, rgba(14,12,9,0) 35%, rgba(14,12,9,0.62) 78%),
              linear-gradient(to top, rgba(14,12,9,0.55), rgba(14,12,9,0) 55%),
              linear-gradient(rgba(14,12,9,0.35), rgba(14,12,9,0) 25%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(56px, 12vh, 130px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-claim,
.hero-sub {
  width: min(560px, 100%);
  color: var(--cream);
  text-shadow: 0 1px 20px rgba(14, 12, 9, 0.45);
}

.hero-claim {
  font-size: clamp(1.45rem, 2.45vw, 2.1rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: 0.005em;
}

.hero-sub {
  margin-top: 1.6em;
  font-size: clamp(1.45rem, 2.45vw, 2.1rem);
  font-weight: 300;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}

/* Bildunterkante = Schriftgrundlinie (SVG ist exakt auf den Schriftzug
   beschnitten, Grundlinie liegt bei 98% der Bildhöhe) */
.hero-logo {
  height: 1.15em;
  width: auto;
  transform: translateY(1.7%);
}

/* ============ Sektionen ============ */

.section { padding-block: clamp(72px, 10vw, 140px); }

.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }
.section--dark { background: var(--dark); color: var(--cream); }

.section-label {
  font-size: 0.92rem;
  font-weight: 400;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section--dark .section-label { color: rgba(238, 233, 222, 0.7); }

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.7em;
}

/* ============ Statement ============ */

.statement-section { padding-block: clamp(64px, 8vw, 110px); }

.statement {
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.statement-brand { color: var(--brown); }

.statement-body {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 46ch;
  color: var(--muted);
}

/* ============ Galerie (Backmanufaktur) ============ */

.gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr 1.2fr;
  gap: clamp(14px, 1.5vw, 24px);
  align-items: start;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============ Zitat ============ */

.quote { max-width: 780px; }

.quote p {
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.005em;
}

.quote p + p { margin-top: 1.1em; }

.quote-author {
  margin-top: clamp(36px, 5vw, 64px);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ Split-Layouts (Backstube / Produkte) ============ */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.split--reverse { grid-template-columns: 1fr 1fr; }

.split-text > p {
  max-width: 52ch;
  color: var(--muted);
}

.split-text > p + p { margin-top: 1em; }

.section--dark .split-text > p { color: rgba(238, 233, 222, 0.68); }

.split-media img { width: 100%; height: auto; }

/* Backstube: Text + Hochkant-Video */
.split--portrait {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.split-media--video { max-width: 420px; width: 100%; }

.split-media--video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--dark);
}

.principles {
  list-style: none;
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 48px);
}

.principles li {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.principles .mono { color: var(--tan); }

.principles-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(27, 24, 18, 0.5);
}

.principles strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

/* ============ Produktliste ============ */

.product-list { list-style: none; }

.product-list li {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid rgba(238, 233, 222, 0.18);
}

.product-list li:last-child { border-bottom: 1px solid rgba(238, 233, 222, 0.18); }

.product-index { color: var(--tan); }

.product-list div { flex: 1; }

.product-list strong {
  display: block;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
}

.product-list em {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(238, 233, 222, 0.6);
}

.product-count {
  color: rgba(238, 233, 222, 0.6);
  white-space: nowrap;
}


/* ============ Benter Card ============ */

.card-intro { max-width: 620px; margin-bottom: clamp(36px, 5vw, 64px); }

.card-intro p { color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
}

.card-tile {
  border: 1px solid rgba(27, 24, 18, 0.22);
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 56px);
}

.card-number {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--brown);
}

.card-tile p { font-size: 0.92rem; color: var(--muted); }

.card-details {
  list-style: none;
  columns: 2;
  column-gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 4vw, 56px);
}

.card-details li {
  break-inside: avoid;
  display: flex;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.card-details li::before {
  content: "—";
  flex-shrink: 0;
  color: var(--tan);
}

/* ============ Filialen ============ */

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 36px);
  margin-top: clamp(24px, 3vw, 44px);
}

.store-card { display: flex; flex-direction: column; }

.store-photo { overflow: hidden; background: var(--beige); }

.store-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-card:hover .store-photo img { transform: scale(1.04); }

.store-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.store-card h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
}

.store-address {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.store-hint { white-space: nowrap; }

.store-hours {
  margin-top: 18px;
  display: grid;
  gap: 5px;
  color: var(--muted);
}

.store-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 5px;
}

.store-hours dd { text-align: right; white-space: nowrap; }

.store-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.store-route {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}

.store-route:hover { color: var(--brown); }

.store-tel { color: var(--muted); white-space: nowrap; }

.store-tel:hover { color: var(--ink); }

/* ============ Foto-Buttons (öffnen die Galerie) ============ */

.photo-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.photo-trigger:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  color: var(--cream);
  background: rgba(14, 12, 9, 0.6);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Produkte: 2×2-Raster */
.product-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1vw, 14px);
}

.mosaic-tile { overflow: hidden; background: #000; }

.mosaic-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic-tile:hover img { transform: scale(1.04); }

.mosaic-label {
  position: absolute;
  left: 12px;
  bottom: 9px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--cream);
  font-size: 0.98rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.mosaic-label .mono { color: var(--tan); }

/* ============ Galerie-Fenster ============ */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop { background: rgba(14, 12, 9, 0.94); }

.lightbox-inner {
  position: relative;
  width: min(88vw, 1300px);
}

.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78dvh;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin: 0 auto;
  background: rgba(238, 233, 222, 0.04);
  transition: opacity 0.25s ease;
  touch-action: pan-y;
}

.lightbox.is-loading .lightbox-img { opacity: 0.35; }

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(238, 233, 222, 0.8);
}

.lightbox-counter { color: rgba(238, 233, 222, 0.55); }

.lightbox-nav,
.lightbox-close {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(238, 233, 222, 0.45);
  border-radius: 50%;
  background: rgba(14, 12, 9, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-nav:hover,
.lightbox-close:hover { background: rgba(14, 12, 9, 0.8); border-color: var(--cream); }

.lightbox-nav:focus-visible,
.lightbox-close:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

.lightbox-nav { top: calc(50% - 20px); transform: translateY(-50%); }

.lightbox-prev { left: -76px; }
.lightbox-next { right: -76px; }

/* Pfeile aus zwei Rahmenlinien */
.lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid var(--cream);
  border-right: 1.5px solid var(--cream);
}

.lightbox-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lightbox-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }

.lightbox.is-single .lightbox-nav { display: none; }

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  border-color: transparent;
  background: transparent;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
}

.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============ Jobs ============ */

.jobs-intro { max-width: 620px; }

.jobs-intro p { color: var(--muted); }

.job-list {
  list-style: none;
  margin-block: clamp(32px, 4vw, 56px);
}

.job {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--line);
}

.job:last-child { border-bottom: 1px solid var(--line); }

.job-title strong {
  display: block;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
}

.job-title span { font-size: 0.85rem; color: var(--muted); }

.job-type { color: var(--muted); white-space: nowrap; }


/* ============ Buttons ============ */

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.btn:hover { background: transparent; color: var(--ink); }

.btn[disabled] { opacity: 0.5; cursor: progress; }

.btn[disabled]:hover { background: var(--ink); color: var(--cream); }

/* ============ Formulare ============ */

.form-block {
  max-width: 780px;
  margin-top: clamp(32px, 4vw, 56px);
}

.form-block--wide { max-width: 860px; margin-top: 0; }

.form-title,
.feedback-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.form-intro {
  margin-top: 0.6em;
  max-width: 48ch;
  color: var(--muted);
}

.form {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  gap: clamp(20px, 2.4vw, 30px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 30px);
}

.field { display: grid; gap: 8px; }

.field > label,
.field legend {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.req { color: var(--brown); }

.optional { color: rgba(27, 24, 18, 0.45); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(27, 24, 18, 0.28);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.25s ease;
}

.form textarea { resize: vertical; line-height: 1.6; }

.form select {
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B1812' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  cursor: pointer;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form input::placeholder,
.form textarea::placeholder { color: rgba(27, 24, 18, 0.35); }

.form :user-invalid { border-bottom-color: #9B3B22; }

/* Beschäftigungsart */

.field--choice { border: none; }

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(27, 24, 18, 0.25);
  padding: 11px 20px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice input { accent-color: var(--brown); margin: 0; }

.choice:hover { border-color: rgba(27, 24, 18, 0.5); }

.choice:has(input:checked) {
  border-color: var(--ink);
  background: rgba(27, 24, 18, 0.06);
}

.choice:has(input:focus-visible) { outline: 2px solid var(--brown); outline-offset: 2px; }

/* Datei-Upload */

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px dashed rgba(27, 24, 18, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* das echte Input liegt unsichtbar über der ganzen Fläche – Klick und Drag & Drop funktionieren nativ */
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-btn {
  flex-shrink: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 7px 12px;
}

.file-name {
  min-width: 0;
  flex: 1;
  font-size: 0.85rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-drop:hover,
.file-drop.is-dragover { border-color: var(--ink); background: rgba(27, 24, 18, 0.04); }

.file-drop:has(input:focus-visible) { outline: 2px solid var(--brown); outline-offset: 2px; }

.file-drop.has-file { border-style: solid; border-color: var(--ink); }

.file-drop.has-file .file-name { color: var(--ink); }

.file-drop.is-invalid { border-color: #9B3B22; }

.file-clear {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.file-clear:hover { color: var(--ink); }

.form-hint {
  margin-top: calc(clamp(20px, 2.4vw, 30px) * -0.6);
  font-size: 0.78rem;
  color: rgba(27, 24, 18, 0.5);
}

/* Einwilligung */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.consent input { accent-color: var(--brown); margin-top: 4px; flex-shrink: 0; }

.consent a { text-decoration: underline; text-underline-offset: 3px; }

/* Honeypot – für Menschen unsichtbar, für Bots ein Köder */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-status.is-error { color: #9B3B22; }

.form-status.is-success { color: var(--brown); }

.form-status a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ Kontakt ============ */

.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.contact-info p { max-width: 40ch; color: var(--muted); }

.contact-address {
  margin-top: clamp(28px, 3vw, 40px);
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

.contact-address strong { color: var(--ink); font-weight: 500; }

.contact-address a:hover { color: var(--ink); }

/* ============ Footer ============ */

.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 100px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-brand img { height: 108px; width: auto; }

.footer-heading {
  color: rgba(238, 233, 222, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-col nav { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: 0.92rem;
  color: rgba(238, 233, 222, 0.85);
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-col a:hover { color: var(--cream); }

.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(238, 233, 222, 0.85);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid rgba(238, 233, 222, 0.14);
  color: rgba(238, 233, 222, 0.5);
}

.footer-bottom nav { display: flex; gap: 24px; }

.footer-bottom a:hover { color: var(--cream); }

/* ============ Reveal-Animationen ============ */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .store-photo img,
  .mosaic-tile img,
  .lightbox-img { transition: none; }
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .split,
  .split--reverse,
  .split--portrait { grid-template-columns: 1fr; }

  .split--reverse .split-media { order: -1; }

  .store-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-split { grid-template-columns: 1fr; }

  /* Galerie: Pfeile ins Bild statt daneben */
  .lightbox-inner { width: 94vw; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 44px; height: 44px; }

  .form-block { max-width: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }

  .brand-logo { height: 48px; }

  .hero-content { align-items: flex-start; }

  .gallery { grid-template-columns: 1fr 1fr; }

  .gallery-item:last-child { grid-column: 1 / -1; }

  .principles { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; }

  .job { flex-direction: column; gap: 8px; }

  .form-row { grid-template-columns: 1fr; }

  .card-details { columns: 1; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }

  .gallery-item:last-child { grid-column: auto; }

  .store-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .choice { flex: 1 1 100%; justify-content: flex-start; }
}
