/* KK Design – zentrale Gestaltung. Farben in :root ändern. */

:root {
  --ink: #252423;
  --muted: #68625e;
  --cream: #f5f1eb;
  --paper: #fffcf8;
  --forest: #8a5b47;
  --forest-dark: #523b32;
  --lime: #e7d2bd;
  --line: #e4dcd4;
  --shadow: 0 14px 44px rgba(44,29,23,.10);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,input,textarea,select {
  font: inherit;
}
button {
  cursor: pointer;
}
.wrap {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 90;
}
.skip:focus {
  top: 10px;
}
.topbar {
  background: #1d1c1d;
  color: #d5c8bb;
  font-size: .71rem;
  text-align: center;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(36,34,34,.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #51463f;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 93px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
}
.brand img {
  width: clamp(225px,26vw,335px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.links {
  display: flex;
  align-items: center;
  gap: 27px;
}
.links a {
  text-decoration: none;
  font-size: .91rem;
  font-weight: 650;
  color: #f3ede8;
  white-space: nowrap;
}
.links a:hover,.links a[aria-current="page"] {
  color: #e1b491;
}
.button,.links .nav-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #885b48;
  color: #fff !important;
  border-radius: 100px;
  padding: 13px 23px;
  font-weight: 750;
  text-decoration: none;
  font-size: .91rem;
  transition: transform .2s,background .2s;
}
.button:hover,.links .nav-btn:hover {
  transform: translateY(-2px);
  background: #a16d55;
}
.button.alt {
  background: #eae0d7;
  color: #5a3b2c !important;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #6d5b51;
  padding: 9px 13px;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.eyebrow {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .17em;
  color: #a16c50;
  font-weight: 800;
}
.hero {
  padding: 85px 0 96px;
}
.hero-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 66px;
  align-items: center;
}
.hero h1,h1,h2,h3 {
  line-height: 1.12;
  letter-spacing: -.045em;
}
h1 {
  font-size: clamp(2.7rem,5vw,5.05rem);
  margin: 20px 0 24px;
  font-weight: 840;
}
h2 {
  font-size: clamp(2.1rem,3.8vw,3.35rem);
  margin: 12px 0 18px;
}
h3 {
  font-size: 1.35rem;
  margin: 12px 0;
}
.hero h1 em {
  font-style: normal;
  color: #97664d;
}
.lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 550px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 730;
  color: #775441;
  font-size: .83rem;
  margin-top: 28px;
}
.detail:before {
  content: "";
  height: 8px;
  width: 8px;
  background: #b98769;
  border-radius: 50%;
}
.hero-images {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  grid-template-rows: 225px 225px;
  gap: 14px;
}
.hero-images .tile {
  overflow: hidden;
  border-radius: 20px;
  background: #e9e1d8;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-images .tile:first-child {
  grid-row: span 2;
}
.hero-images img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.tile-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255,252,248,.95);
  border-radius: 40px;
  padding: 7px 13px;
  font-size: .75rem;
  font-weight: 800;
}
.section {
  padding: 88px 0;
}
.section.white {
  background: var(--paper);
}
.section-head {
  max-width: 680px;
  margin-bottom: 35px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.three {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(45,31,20,.04);
}
.product>a {
  display: block;
  background: #ede8e1;
}
.product img {
  width: 100%;
  height: 275px;
  object-fit: contain;
}
.product .content {
  padding: 26px;
}
.product .content p {
  color: var(--muted);
  min-height: 72px;
}
.text-link {
  display: inline-block;
  color: #855640;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #b78769;
  padding-bottom: 3px;
}
.banner {
  border-radius: 23px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 25px;
  background: #312b2a;
  color: white;
  padding: 45px;
  align-items: center;
}
.banner .eyebrow {
  color: #e8b997 !important;
}
.banner p {
  color: #d7c8be;
}
.banner h2 {
  font-size: clamp(2rem,3vw,3rem);
}
.banner .button {
  background: #d9b697;
  color: #29201e !important;
  justify-self: end;
}
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-layout p {
  color: var(--muted);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 30px;
}
label {
  display: block;
  font-size: .86rem;
  font-weight: 750;
  margin: 0 0 7px;
}
.field {
  margin-bottom: 17px;
}
.field input,.field textarea,.field select {
  width: 100%;
  border: 1px solid #d6cbc2;
  border-radius: 11px;
  background: #fffcfa;
  padding: 13px 15px;
  color: var(--ink);
}
.field textarea {
  min-height: 145px;
  resize: vertical;
}
.field input:focus,.field textarea:focus,.field select:focus {
  outline: 2px solid #ab826a;
  outline-offset: 1px;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0;
}
.check label {
  font-size: .78rem;
  line-height: 1.5;
  font-weight: 500;
}
.check input {
  margin-top: 4px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
}
.hint,.small {
  font-size: .82rem;
  color: var(--muted);
}
.status {
  min-height: 22px;
  font-weight: 700;
  margin-top: 12px;
}
.footer {
  background: #242122;
  color: #f1eae3;
  padding: 48px 0 48px;
  border-top: 2px solid #9b6c54;
}
.footer .brand img {
  width: clamp(245px,30vw,365px);
}
.footer-desc {
  color: #cbbeb6;
  font-size: .85rem;
  max-width: 300px;
}
.footrow {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.footlinks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footlinks a {
  text-decoration: none;
  font-size: .85rem;
}
.footlinks a:hover {
  text-decoration: underline;
}
.pagehero {
  padding: 78px 0 53px;
}
.pagehero h1 {
  font-size: clamp(2.7rem,4.5vw,4.25rem);
  margin: 12px 0;
}
.pagehero p {
  color: var(--muted);
  max-width: 690px;
  font-size: 1.08rem;
}
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}
.filter {
  background: #fff;
  border: 1px solid #cdbdb0;
  border-radius: 100px;
  padding: 12px 19px;
  font-weight: 760;
  color: #855640;
}
.filter:hover,.filter.active {
  background: #80543e;
  color: white;
  border-color: #80543e;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
  align-items: start;
}
.gallery-card {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 9px 28px rgba(39,25,19,.05);
}
.gallery-card[hidden] {
  display: none !important;
}
.gallery-photo {
  background: #eae4de;
  border: 0;
  padding: 0;
  width: 100%;
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery-photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform .35s;
}
.gallery-photo:hover img {
  transform: scale(1.035);
}
.gallery-photo.portrait {
  aspect-ratio: 3/4;
}
.gallery-photo.landscape {
  aspect-ratio: 4/3;
}
.zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #4a3125;
  background: #fffdf8ed;
  border-radius: 40px;
  padding: 7px 11px;
  font-size: .74rem;
  font-weight: 800;
}
.gallery-caption {
  padding: 17px 20px 19px;
}
.gallery-caption .cat {
  font-size: .67rem;
  letter-spacing: .13em;
  font-weight: 800;
  color: #a06e52;
  text-transform: uppercase;
}
.gallery-caption h3 {
  font-size: 1.05rem;
  letter-spacing: -.02em;
  margin: 5px 0 0;
}
.count {
  color: var(--muted);
  font-weight: 700;
  font-size: .84rem;
  margin: 0 0 20px;
}
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw,1100px);
  max-height: 94vh;
  color: white;
}
.lightbox::backdrop {
  background: rgba(20,17,15,.93);
}
.lightbox-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.lightbox img {
  max-height: 78vh;
  max-width: 92vw;
  object-fit: contain;
}
.lightbox button {
  justify-self: end;
  background: white;
  color: #322922;
  border: 0;
  border-radius: 100px;
  padding: 9px 16px;
  font-weight: 800;
}
.lightbox p {
  margin: 0;
  text-align: center;
}
.legal {
  max-width: 850px;
  padding-top: 35px;
  padding-bottom: 95px;
}
.legal h2 {
  font-size: 1.55rem;
  margin-top: 34px;
}
.legal p {
  color: #5f5753;
}
.notice {
  padding: 18px 21px;
  border: 1px solid #d5bd78;
  background: #fff7df;
  border-radius: 13px;
  color: #4e442c;
  margin: 20px 0;
}
.legal a {
  color: #855640;
}
.empty-note {
  margin-top: 30px;
  color: var(--muted);
}
@media (max-width:980px) {
  .navbar {
    gap: 14px;
  }
  .brand img {
    width: 260px;
  }
  .links {
    gap: 15px;
  }
  .links a {
    font-size: .84rem;
  }
  .hero-layout,.contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero {
    padding: 55px 0 65px;
  }
  .hero-images {
    max-width: 680px;
  }
  .three,.gallery-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .product:last-child {
    grid-column: span 2;
  }
  .product:last-child img {
    height: 340px;
  }
  .banner {
    grid-template-columns: 1fr;
  }
  .banner .button {
    justify-self: start;
  }
}
@media (max-width:690px) {
  .wrap {
    width: min(100% - 30px,1180px);
  }
  .navbar {
    min-height: 78px;
  }
  .brand img {
    width: min(64vw,285px);
  }
  .menu-toggle {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #292525;
    padding: 19px 20px 24px;
    border-bottom: 1px solid #55473d;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .links.open {
    display: flex;
  }
  .links a {
    padding: 6px 0;
  }
  .hero-images {
    grid-template-rows: 165px 165px;
    gap: 9px;
  }
  .hero-images .tile {
    border-radius: 14px;
  }
  .tile-tag {
    font-size: .63rem;
    padding: 5px 9px;
    left: 7px;
    bottom: 7px;
  }
  .section {
    padding: 65px 0;
  }
  .three,.gallery-grid,.row2 {
    grid-template-columns: 1fr;
  }
  .product:last-child {
    grid-column: auto;
  }
  .product img,.product:last-child img {
    height: 265px;
  }
  .product .content p {
    min-height: 0;
  }
  .banner {
    padding: 30px;
  }
  .contact-card {
    padding: 21px;
  }
  .pagehero {
    padding: 55px 0 40px;
  }
  .gallery-grid {
    gap: 17px;
  }
  .footrow {
    align-items: start;
    flex-direction: column;
  }
  .footlinks {
    gap: 13px;
  }
  .filter {
    padding: 9px 13px;
    font-size: .83rem;
  }
  .footer .brand img {
    width: min(78vw,340px);
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/*Galerie: einheitlich quadratische Vorschauen, keine Beschnitte*/
.gallery-photo,.gallery-photo.portrait,.gallery-photo.landscape {
  aspect-ratio: 1/1 !important;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*Großansicht: getrennte feste Seitenverhältnisse auf einer responsiven Bühne*/
.lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f5f1eb;
  width: min(100vw,1280px);
  height: min(100dvh,1000px);
  max-width: 100vw;
  max-height: 100dvh;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(14,12,12,.94);
}
.lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 54px 53px 44px;
  box-sizing: border-box;
}
.lightbox .close {
  position: absolute;
  z-index: 3;
  right: clamp(15px,3vw,38px);
  top: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.27);
  background: #322b29;
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.lightbox-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  flex: 1;
  width: 100%;
}
.lightbox-image {
  display: block;
  object-fit: contain;
  background: #eae4de;
  max-height: min(76dvh,790px);
  max-width: calc(100% - 112px);
  box-shadow: 0 12px 45px rgba(0,0,0,.25);
}
.lightbox-image.portrait {
  aspect-ratio: 3/4;
  width: auto;
  height: min(76dvh,790px);
}
.lightbox-image.landscape {
  aspect-ratio: 4/3;
  width: min(75vw,1053px);
  height: auto;
}
.lightbox .lightbox-arrow {
  flex: 0 0 47px;
  width: 47px;
  height: 55px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: #322b29;
  color: white;
  display: grid;
  place-items: center;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  padding: 0;
  cursor: pointer;
}
.lightbox .lightbox-arrow:disabled {
  opacity: .18;
  cursor: not-allowed;
}
.lightbox .lightbox-arrow:not(:disabled):hover,.lightbox .close:hover {
  background: #885b48;
}
.lightbox .lightbox-caption {
  font-size: .9rem;
  text-align: center;
  margin: 0;
  max-width: 100%;
  color: #efe6dc;
}
@media (max-width:690px) {
  .lightbox-inner {
    padding: 65px 8px 38px;
  }
  .lightbox-viewer {
    gap: 5px;
  }
  .lightbox .lightbox-arrow {
    flex-basis: 35px;
    width: 35px;
    height: 53px;
    font-size: 34px;
  }
  .lightbox-image {
    max-width: calc(100% - 80px);
    max-height: 72dvh;
  }
  .lightbox-image.portrait {
    height: min(69dvh,680px);
    width: auto;
  }
  .lightbox-image.landscape {
    width: calc(100% - 80px);
    height: auto;
  }
  .lightbox .close {
    top: 10px;
    right: 14px;
  }
}
/*Stabile Navigation in der Galerie: Pfeile sind an der Bühne befestigt,
   nicht an der wechselnden Bildbreite von Hoch- und Querformaten.*/
.lightbox-viewer {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  gap: 0;
}
.lightbox .lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex: none;
  margin: 0;
  justify-self: auto;
}
.lightbox .lightbox-prev {
  left: 0;
  right: auto;
}
.lightbox .lightbox-next {
  right: 0;
  left: auto;
}
.lightbox-image {
  grid-area: 1/1;
  min-width: 0;
}
@media (max-width:690px) {
  .lightbox .lightbox-prev {
    left: 0;
  }
  .lightbox .lightbox-next {
    right: 0;
  }
}
/*Kompakter Footer – alle Inhalte bleiben erhalten*/
.footer {
  padding: 20px 0 22px;
}
.footer .brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.footer-desc {
  margin: 5px 0 0;
  line-height: 1.4;
  font-size: .8rem;
}
.footrow {
  gap: 16px;
}
.footlinks {
  gap: 10px 20px;
  align-items: center;
}
.footlinks a {
  font-size: .81rem;
  line-height: 1.35;
}
@media (max-width:690px) {
  .footer {
    padding: 20px 0 22px;
  }
  .footer .brand img {
    width: 200px;
  }
  .footrow {
    gap: 14px;
  }
  .footlinks {
    gap: 9px 16px;
  }
}
/*Kontaktbereich: kompakter, ohne Änderungen an Formularlogik oder anderen Seiten*/
#kontakt.section {
  padding-top: 62px;
  padding-bottom: 62px;
}
#kontakt .contact-layout {
  gap: clamp(24px,4vw,46px);
}
#kontakt .contact-card {
  padding: 23px 25px;
  border-radius: 18px;
}
#kontakt .field {
  margin-bottom: 11px;
}
#kontakt .field label {
  font-size: .84rem;
  margin-bottom: 4px;
}
#kontakt .field input,#kontakt .field select,#kontakt .field textarea {
  padding: 9px 12px;
  border-radius: 9px;
  line-height: 1.45;
}
#kontakt .field input,#kontakt .field select {
  min-height: 43px;
}
#kontakt .field textarea {
  min-height: 100px;
  height: 108px;
}
#kontakt .row2 {
  gap: 12px;
}
#kontakt .check {
  margin: 10px 0 8px;
  gap: 8px;
}
#kontakt .check label {
  line-height: 1.4;
}
#kontakt .hint {
  margin: 7px 0 12px;
  font-size: .77rem;
  line-height: 1.4;
}
#kontakt .button[type="submit"] {
  padding: 10px 20px;
}
#kontakt .status {
  margin-top: 8px;
  min-height: 18px;
}
@media (max-width:690px) {
  #kontakt.section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
  #kontakt .contact-card {
    padding: 18px;
  }
  #kontakt .row2 {
    gap: 0;
  }
  #kontakt .contact-layout {
    gap: 20px;
  }
}
/*Farbtrennung: Kontaktfläche wie der obere Hero-Bereich „Deine Idee. Unser Projekt.“*/
#produkte.section {
  background: #fdfbf8;
}
#kontakt.section {
  border-top: 1px solid #e4dcd4;
  color: var(--ink);
}
#kontakt .eyebrow {
  color: #a16c50;
}
#kontakt h2 {
  color: var(--ink);
}
#kontakt .contact-layout p {
  color: var(--muted);
}
#kontakt .contact-card {
  background: #fffcf8;
  border-color: #e4dcd4;
  box-shadow: var(--shadow);
}
#kontakt .field input,#kontakt .field textarea,#kontakt .field select {
  background: #fffcfa;
  color: var(--ink);
  border-color: #d6cbc2;
}
#kontakt .check a {
  color: #855640;
}
#kontakt .button[type="submit"] {
  background: #885b48;
  color: #fff;
}
#kontakt .button[type="submit"]:hover {
  background: #a16d55;
}


/* Gemeinsamer, dezenter Hintergrund für Startseite, Impressum und Datenschutz. */
.hero,
.pagehero {
  background-color: #f5f1eb;
  background-image: radial-gradient(circle at 86% 3%, #e7d8c7 0%, transparent 40%);
  background-repeat: no-repeat;
}

/* Rechteseiten: dieselben zwei Hintergrundbereiche wie auf der Startseite.
   Überschrift = .hero; Textbereich = #produkte.section.white. */
body.legal-page {
  background-color: #fdfbf8;
}
body.legal-page .pagehero {
  background-color: #f5f1eb;
  background-image: radial-gradient(circle at 86% 3%, #e7d8c7 0%, transparent 40%);
  background-repeat: no-repeat;
}
body.legal-page .legal {
  background: transparent;
}
