/* =========================================================
   Küchen Knop – Landingpage
   ========================================================= */

:root {
  --brand: #7b1820;
  --brand-dark: #5a1219;
  --brand-light: #c8404a;
  --ink: #232323;
  --muted: #5e5e5e;
  --line: #e2ddd7;
  --paper: #ffffff;
  --sand: #f6f3ef;
  --night: #19191a;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--light { color: rgba(255, 255, 255, .92); }

h2 {
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.03em;
}
h3 {
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.015em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { padding: 11px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* =========================================================
   Logo (Bild wird zugeschnitten; „Knop“ und Rahmen werden
   für hellen Hintergrund dunkel nachgezeichnet)
   ========================================================= */
.logo { display: block; width: 100px; flex: none; }
.logo__art {
  position: relative;
  display: block;
  aspect-ratio: 1843 / 1375;
  overflow: hidden;
}
.logo__art > img {
  position: absolute;
  left: -1.46%;
  top: -15.6%;
  width: 108.5%;
  height: 142.5%;
  max-width: none;
}
.logo__art > .logo__script {
  filter: brightness(0);
  opacity: .88;
  clip-path: inset(58% 0 0 0);
}
.logo__frame {
  position: absolute;
  left: 30.5%;
  top: 0;
  width: 53.1%;
  height: 18.5%;
  border: 1.5px solid #8d8d8d;
}
.logo--footer { width: 96px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0, 0, 0, .05);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: var(--header-h);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  font-size: .85rem;
}
.nav a:not(.btn) {
  text-decoration: none;
  color: #333;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:not(.btn):hover { color: var(--brand); border-color: var(--brand); }
.nav__cta { margin-left: auto; }

.header__actions { display: none; align-items: center; gap: 6px; margin-left: auto; }
.header__mail, .burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--brand);
  cursor: pointer;
}
.header__mail .icon, .burger .icon { width: 26px; height: 26px; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--menu { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--night);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 13, .8) 0%, rgba(12, 12, 13, .52) 52%, rgba(12, 12, 13, .2) 100%),
    linear-gradient(0deg, rgba(12, 12, 13, .5) 0%, rgba(12, 12, 13, 0) 40%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  grid-template-rows: 1fr auto;
  grid-template-areas: "text form" "usps form";
  column-gap: clamp(32px, 6vw, 96px);
  padding-block: 56px 48px;
  min-height: 720px;
}
.hero__text { grid-area: text; align-self: center; max-width: 600px; padding-block: 24px; }
.hero__text .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(2.5rem, 4.9vw, 3.9rem);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.hero h1 strong { font-weight: 700; }
.hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 26px;
  background: var(--brand-light);
}
.hero__lead {
  margin: 28px 0 36px;
  max-width: 30em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
}

.usps {
  grid-area: usps;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  padding-top: 32px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .005em;
}
.usps li { display: flex; align-items: center; gap: 12px; }
.usps .icon { width: 30px; height: 30px; color: var(--brand-light); stroke-width: 1.5; }

/* ---------- Formular ---------- */
.form {
  grid-area: form;
  align-self: start;
  padding: 26px 28px 28px;
  background: #fbfaf8;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.form .eyebrow { font-size: .7rem; }
.form__title { margin: 8px 0 10px; font-size: 1.65rem; }
.form__intro { margin-bottom: 18px; font-size: .9rem; line-height: 1.6; color: var(--muted); }

.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .005em; color: #333; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d8d3cc;
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field ::placeholder { color: #a39e97; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(123, 24, 32, .15);
}
.field select {
  appearance: none;
  padding-right: 36px;
  background: #fff 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 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center;
}
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; }

.check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 20px; font-size: .8rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--brand); }
.check a { color: var(--brand); text-decoration: underline; }
.check.is-invalid span { color: #c0392b; }
.form__error { margin-top: 16px; padding: 12px 14px; border-left: 3px solid #c0392b; background: #f8ecea; font-size: .85rem; line-height: 1.55; color: #6b2018; }
.form__error a { font-weight: 600; text-decoration: underline; }

.form__done { padding: 24px 0 12px; text-align: center; }
.form__done:focus { outline: none; }
.form__done .icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--brand); stroke-width: 1.4; }
.form__done h3 { margin-bottom: 10px; font-size: 1.4rem; letter-spacing: -.02em; }
.form__done p { font-size: .95rem; color: var(--muted); }
.form.is-sent > :not(.form__done) { display: none; }

/* Spam-Falle unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Sektionen allgemein
   ========================================================= */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--light { background: var(--sand); }
.section__head { max-width: 760px; margin: 0 auto clamp(30px, 5vw, 48px); text-align: center; }
.section__head h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.3vw, 2.6rem); }
.section__head p:not(.eyebrow) { max-width: 40em; margin: 18px auto 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(40, 30, 20, .07);
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 26px 28px 30px; }
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { font-size: .95rem; line-height: 1.7; color: var(--muted); }

/* ---------- Ablauf ---------- */
.steps { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.steps__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.steps__shade { position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 21, .9); }
.steps .section__head p { color: rgba(255, 255, 255, .8); }

.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(200, 64, 74, .4);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { font-size: .9375rem; line-height: 1.65; color: rgba(255, 255, 255, .76); }
.step__icon { display: none; }
.step__arrow { position: absolute; right: -40px; top: 13px; width: 26px; height: 26px; color: rgba(255, 255, 255, .85); }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(240px, 27%) minmax(0, 1.5fr) minmax(280px, 1fr);
  background: var(--sand);
}
.about__photo { position: relative; min-height: 400px; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 24%; }
.about__text { align-self: center; padding: 56px clamp(28px, 4vw, 56px); }
.about__text h2 { margin: 12px 0 20px; font-size: clamp(1.75rem, 2.9vw, 2.3rem); }
.about__text p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; color: var(--muted); max-width: 36em; }

.signature { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.signature p { font-size: .85rem; line-height: 1.4; color: var(--muted) !important; }
.signature strong { color: var(--ink); }
.signature__art { position: relative; flex: none; width: 124px; aspect-ratio: 1010 / 390; }
.signature__art .logo__art { position: absolute; inset: 0; aspect-ratio: auto; }
.signature__art .logo__art > img {
  left: -86.1%;
  top: -310%;
  width: 198%;
  height: 502%;
  opacity: .9;
}

.trust {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 48px clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line);
  margin-block: 48px;
}
.trust li { display: flex; align-items: center; gap: 18px; font-size: .9375rem; font-weight: 500; line-height: 1.45; }
.trust .icon { width: 30px; height: 30px; color: var(--brand); stroke-width: 1.5; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery__extra { display: none; }

/* ---------- Abschluss ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff; background: var(--night); }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(3px); transform: scale(1.04); }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: rgba(16, 16, 17, .86); }
.cta__inner { padding-block: clamp(64px, 9vw, 104px); }
.cta h2 { margin: 14px 0 14px; font-size: clamp(2rem, 3.8vw, 2.9rem); }
.cta p:not(.eyebrow) { margin-bottom: 34px; font-size: 1.0625rem; color: rgba(255, 255, 255, .82); }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-block: 28px; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { color: var(--brand); }
.footer__contact a, .footer__legal a { text-decoration: none; }
.footer__contact a:hover, .footer__legal a:hover { color: var(--brand); text-decoration: underline; }
.footer__legal { display: flex; gap: 24px; font-size: .85rem; color: var(--muted); }
.footer__copy { padding: 0 var(--gutter) 24px; text-align: center; font-size: .78rem; color: var(--muted); }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .step__arrow { right: -34px; }
  .steps__list { gap: 44px; }
  .about { grid-template-columns: minmax(200px, 30%) 1fr; }
  .trust {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 28px var(--gutter) 36px;
    border-left: 0;
    border-top: 1px solid var(--line);
    gap: 20px 48px;
  }
}

/* =========================================================
   Mobil
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .logo { width: 76px; }
  .hero__bg, .hero__shade { bottom: auto; height: 520px; }
  .hero__bg { object-position: 50% 62%; }
  .header__inner { gap: 0; }
  .header__actions { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
    font-size: 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 18px 0 0; padding: 14px 20px; font-size: .95rem; }

  /* Hero */
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "text" "form" "usps";
    min-height: 0;
    padding-block: 48px 0;
  }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(12, 12, 13, .55) 0%, rgba(12, 12, 13, .78) 100%);
  }
  .hero__text { padding-block: 0 36px; }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.9rem); }
  .hero__lead { margin: 22px 0 0; font-size: 1.0625rem; }
  .field input, .field select, .field textarea { font-size: 1rem; }
  .field textarea { min-height: 96px; }
  .hero__cta { display: none; }

  .form {
    margin-inline: calc(var(--gutter) * -1);
    padding: 26px var(--gutter) 28px;
    border-radius: 0;
    box-shadow: none;
  }

  .usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 22px var(--gutter);
    background: #fff;
    color: var(--ink);
    font-size: .72rem;
    text-align: center;
  }
  .usps li { flex-direction: column; gap: 8px; }
  .usps .icon { color: var(--brand); }

  /* Karten */
  .cards { grid-template-columns: 1fr; gap: 20px; }

  /* Ablauf */
  .steps__list { grid-template-columns: 1fr; gap: 38px; }
  .step { gap: 16px; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 58px;
    bottom: -32px;
    width: 2px;
    background: var(--brand-light);
    opacity: .7;
  }
  .step h3 { display: flex; align-items: center; gap: 10px; }
  .step__icon { display: block; width: 24px; height: 24px; color: var(--brand-light); }
  .step__arrow { display: none; }

  /* Über uns */
  .about { grid-template-columns: 1fr; }
  .about__photo { min-height: 0; height: clamp(260px, 62vw, 380px); }
  .about__photo img { object-position: 78% 20%; }
  .about__text { padding: 34px var(--gutter) 8px; }
  .trust {
    flex-direction: column;
    margin: 18px var(--gutter) 40px;
    padding: 22px 22px;
    gap: 20px;
    border: 0;
    border-radius: var(--radius);
    background: #ebe7e2;
  }

  /* Galerie */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery__extra { display: block; grid-column: 1 / -1; aspect-ratio: 2 / 1; }

  .footer__inner { align-items: flex-start; }
  .footer__legal { width: 100%; padding-top: 4px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__extra { display: block; grid-column: 1 / -1; aspect-ratio: 3 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
