:root {
  --bg: #fbf8f4;
  --bg-alt: #f3ede4;
  --ink: #2a2622;
  --muted: #6d645a;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --card: #ffffff;
  --line: #e6ddd1;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(60, 40, 20, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h1 em { color: var(--accent); font-style: italic; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
a { color: inherit; }
img { max-width: 100%; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: .85em 1.5em;
  border-radius: 999px;
  font: 600 1rem Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .5rem; font: 700 1.3rem Fraunces, serif; text-decoration: none; }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#c2410c, #eab308, #16a34a, #2563eb, #c2410c); }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu a { text-decoration: none; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; color: var(--muted); font-weight: 500; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.swatch { position: absolute; border-radius: 24px; box-shadow: var(--shadow); }
.s1 { inset: 0 30% 30% 0; background: #c9a27e; transform: rotate(-6deg); }
.s2 { inset: 20% 5% 15% 25%; background: #6b8f71; transform: rotate(4deg); }
.s3 { inset: 50% 35% 0 10%; background: #e8c547; transform: rotate(-2deg); }
.roller { position: absolute; right: 2%; top: 4%; transform: rotate(18deg); animation: roll 4s ease-in-out infinite; }
.roller-head { width: 120px; height: 44px; background: #fff; border-radius: 12px; border: 4px solid var(--ink); }
.roller-handle { width: 10px; height: 110px; background: var(--ink); margin: 0 auto; border-radius: 0 0 6px 6px; }
@keyframes roll { 50% { transform: rotate(18deg) translateY(16px); } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 2rem; margin-bottom: 12px; }

/* Color picker */
#renk .split { align-items: start; }
.step-label { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 14px; }
.step-label span {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .9rem;
}
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 12px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.brand-card strong { font-size: 1.05rem; }
.brand-card small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.brand-strip { display: flex; height: 22px; border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.brand-strip i { flex: 1; }
.back-btn {
  background: none; border: 0; padding: 0; margin-bottom: 14px; cursor: pointer;
  color: var(--accent); font: 600 .95rem Inter, sans-serif;
}
.catalog { max-height: 420px; overflow-y: auto; padding-right: 4px; }
.group-name { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 8px; }
.group-name:first-child { margin-top: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.swatch-btn {
  display: flex; flex-direction: column; gap: 4px; padding: 6px; cursor: pointer; text-align: left;
  background: var(--card); border: 2px solid transparent; border-radius: 10px; font: inherit; color: var(--ink);
}
.swatch-btn:hover { border-color: var(--line); }
.swatch-btn[aria-checked="true"] { border-color: var(--ink); }
.swatch-btn .chip { display: block; aspect-ratio: 4 / 3; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw-name { font-size: .78rem; font-weight: 600; line-height: 1.2; }
.sw-code { font-size: .72rem; color: var(--muted); }
.catalog-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.catalog-note a { color: var(--accent); }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: -6px; }
.color-name { color: var(--muted); }
.room-wrap { position: sticky; top: 84px; background: var(--card); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.room { display: block; width: 100%; height: auto; border-radius: 10px; }
.room polygon[id^="wall"] { transition: fill .4s; }

/* Forms */
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
input, select, textarea {
  font: inherit; padding: .7em .9em; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; }

/* Before / After */
.ba { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); --pos: 50%; }
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-img::after {
  content: attr(data-label); position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; font-weight: 600; font-size: .85rem;
}
.ba-after { background-image: url("images/sonra.jpg"), linear-gradient(135deg, #6b8f71, #a3c4a8); }
.ba-after::after { right: 14px; }
.ba-before {
  background-image: url("images/once.jpg"), repeating-linear-gradient(45deg, #b8b2a7 0 18px, #aaa398 18px 36px);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-before::after { left: 14px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; background: #fff; transform: translateX(-2px); pointer-events: none; }
.ba-handle::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g1), var(--g2)); background-size: cover;
}
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

/* Districts */
.districts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.districts > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.districts ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.districts li { background: var(--bg-alt); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Contact */
.contact-list { list-style: none; padding: 0; font-size: 1.1rem; }
.contact-list li { margin-bottom: 10px; }
.contact-form { display: grid; gap: 14px; background: var(--card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }

.footer { background: var(--ink); color: #cfc7bd; padding: 28px 0; text-align: center; font-size: .9rem; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 60;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
  #renk .room-wrap { order: -1; top: 72px; z-index: 5; padding: 6px; }
  #renk .room { max-height: 32vh; object-fit: contain; }
  .catalog { max-height: none; overflow: visible; }
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .districts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); padding: 20px; border-bottom: 1px solid var(--line); gap: 1rem;
  }
  .menu.open { display: flex; }
}
@media (max-width: 560px) {
  .cards, .gallery, .steps { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3; }
}
