/* Klecks — concept study 05 "Pop": social-first, playful, phone-first. Own design system, nothing shared with other
   concepts: one bold variable grotesque, saturated colour blocks, thick ink outlines, hard offset shadows, stickers,
   a feed of square tiles and a sticky action dock. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --milk: #fff6ef;
  --ink: #1f0e1c;
  --soft: #5a4656;
  --pink: #ff4f93;
  --lime: #d6f35a;
  --lilac: #b9a2ff;
  --orange: #ff8a3d;
  --white: #ffffff;
  --font: "Bricolage", "Arial Rounded MT Bold", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: 28px;
  --border: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* KI entry points stay invisible until the KI-Service shows them */
html { background: var(--milk); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: 96px; font: 400 17px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 30; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--milk); }
.skip:focus { left: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: var(--border); border-radius: 999px; background: var(--pink); color: var(--ink); box-shadow: var(--shadow);
  font: 750 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--milk); box-shadow: 5px 5px 0 var(--pink); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.ask {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: var(--border); border-radius: 999px;
  background: var(--lime); color: var(--ink); font: 700 14.5px/1 var(--font); cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
}
.ask::before { content: "?"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 12px; }
.ask[hidden] { display: none; }

/* header */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 30px/1 var(--font); letter-spacing: -0.05em; }
.logo svg { width: 44px; height: 38px; flex: none; transform: rotate(-8deg); transition: transform 0.4s var(--bounce); }
.logo:hover svg { transform: rotate(8deg) scale(1.08); }
.pills { display: flex; gap: 8px; }
.pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: var(--border); border-radius: 999px; background: var(--white); font-weight: 650; text-decoration: none; }
.pills a[aria-current="page"] { background: var(--ink); color: var(--milk); }
@media (max-width: 720px) { .pills { display: none; } .top .btn { min-height: 44px; padding: 0 16px; font-size: 15px; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(20px, 5vw, 64px) clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(64px, 12vw, 172px); line-height: 0.86; letter-spacing: -0.06em; }
.hero h1 span { display: inline-block; padding: 0 0.08em; border-radius: 0.18em; background: var(--lime); transform: rotate(-3deg); }
.hero .sub { margin-top: 24px; max-width: 30ch; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

/* the feed */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; border: var(--border); border-radius: 22px; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--pink { background: var(--pink); } .tile--lime { background: var(--lime); } .tile--lilac { background: var(--lilac); } .tile--orange { background: var(--orange); } .tile--ink { background: var(--ink); color: var(--milk); }
.tile-text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(10px, 1.4vw, 18px); }
.tile-text b { font-size: clamp(14px, 1.6vw, 22px); font-weight: 750; line-height: 1.05; }
.tile-text strong { font-size: clamp(30px, 4.4vw, 62px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.tile-text small { font-size: clamp(11px, 1vw, 14px); font-weight: 600; }
/* smallest phones: the price tiles are ~90 px wide — smaller type so name, price and note all stay inside */
@media (max-width: 359px) {
  .tile-text { padding: 8px; }
  .tile-text b { font-size: 12.5px; }
  .tile-text strong { font-size: 24px; }
  .tile-text small { line-height: 1.15; }
}
.sticker { position: absolute; z-index: 2; padding: 6px 12px; border: var(--border); border-radius: 999px; background: var(--white); font: 750 13px/1.2 var(--font); transform: rotate(6deg); box-shadow: 3px 3px 0 var(--ink); }
.sticker--tl { top: 10px; left: 10px; transform: rotate(-7deg); }
.sticker--br { right: 10px; bottom: 10px; }
@media (max-width: 520px) { .sticker { font-size: 11.5px; padding: 4px 9px; } }

/* sections */
.section-title { font-size: clamp(44px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.055em; }
.section-sub { margin-top: 14px; max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; }
.menu-block { padding-block: clamp(56px, 8vw, 110px); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: var(--border); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.card:nth-child(4n + 1) { background: var(--pink); } .card:nth-child(4n + 2) { background: var(--lime); } .card:nth-child(4n + 3) { background: var(--lilac); } .card:nth-child(4n + 4) { background: var(--orange); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.swatch { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border: var(--border); border-radius: 50%; background: var(--milk); font: 800 19px/1 var(--font); letter-spacing: -0.03em; text-align: center; transform: rotate(8deg); }
.card p { font-weight: 500; }
.card .meta { font-size: 14px; font-weight: 700; }
.card .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.more { margin-top: 32px; }

/* lashes */
.lashes { background: var(--lilac); border-block: var(--border); }
.lashes .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.lash-art { width: 100%; height: auto; }
.lash-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.lash-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border: var(--border); border-radius: 999px; background: var(--milk); }
.lash-list b { font-size: 19px; font-weight: 750; }
.lash-list span { display: flex; align-items: center; gap: 10px; }
.lash-list strong { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--milk); font-size: 16px; white-space: nowrap; }
@media (max-width: 860px) { .lashes .wrap { grid-template-columns: 1fr; } }

/* ask Klecks (only with the KI-Service) */
.askbox { background: var(--ink); color: var(--milk); }
.askbox .wrap { padding-block: clamp(56px, 8vw, 110px); }
.askbox .section-title span { color: var(--pink); }
.askbox .section-sub { color: #f1dfe9; }
.askbox .chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.askbox .ask { min-height: 52px; padding: 0 20px; font-size: 17px; box-shadow: 4px 4px 0 var(--pink); }
.askbox .ask:nth-child(2) { background: var(--lilac); }
.askbox .ask:nth-child(3) { background: var(--orange); }
.askbox .fine { margin-top: 26px; max-width: 60ch; color: #d9c4d3; font-size: 15px; }

/* studio */
.studio { padding-block: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.studio figure { position: relative; margin: 0; }
.studio figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--border); border-radius: var(--r); }
.studio .sticker { top: -14px; right: 16px; font-size: 15px; }
.addr { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-style: normal; }
.studio .addr { margin-top: 16px; }
.addr small { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--soft); }
.hours { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hours li { padding: 8px 14px; border: var(--border); border-radius: 999px; background: var(--white); font-weight: 650; font-variant-numeric: tabular-nums; }
.hours li b { font-weight: 800; }
.studio .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* sub pages */
.page-top { padding-block: clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-top h1 { font-size: clamp(72px, 14vw, 200px); line-height: 0.82; letter-spacing: -0.065em; }
.page-top h1 span { color: var(--pink); }
.page-top .section-sub { margin-top: 20px; }
.price-group { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 36px); border: var(--border); border-radius: var(--r); box-shadow: var(--shadow); }
.price-group:nth-of-type(4n + 1) { background: var(--pink); } .price-group:nth-of-type(4n + 2) { background: var(--lime); } .price-group:nth-of-type(4n + 3) { background: var(--lilac); } .price-group:nth-of-type(4n + 4) { background: var(--orange); }
.price-group h2 { font-size: clamp(38px, 5vw, 64px); }
.price-group .intro { margin-top: 6px; font-weight: 600; }
.rows { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 16px 18px; border: var(--border); border-radius: 20px; background: var(--milk); }
.row h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.row .desc { grid-column: 1 / -1; font-size: 15.5px; font-weight: 500; color: var(--soft); }
.row .price { justify-self: end; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--milk); font-size: 19px; font-weight: 800; white-space: nowrap; }
.row .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row .acts .time { margin-right: auto; font-size: 14px; font-weight: 700; }
.faq { padding-block: clamp(56px, 8vw, 100px); }
.faq details { margin-top: 12px; border: var(--border); border-radius: 22px; background: var(--white); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 14px 20px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 750; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); font-size: 22px; transition: transform 0.3s var(--bounce); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-weight: 500; }
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 90px); }
.visit .panel { padding: clamp(22px, 3vw, 36px); border: var(--border); border-radius: var(--r); background: var(--orange); box-shadow: var(--shadow); }
.visit .panel p + p { margin-top: 12px; }
.visit .panel .addr small { color: var(--ink); }
.visit figure { margin: 0; }
.visit img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--border); border-radius: var(--r); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.request { background: var(--pink); border-block: var(--border); }
.request .wrap { padding-block: clamp(48px, 7vw, 90px); }
.ways { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ways li { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: var(--border); border-radius: 22px; background: var(--milk); box-shadow: var(--shadow); }
.ways li[hidden] { display: none; }
.ways span { font-size: 14px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.ways a, .ways button { justify-self: start; font: 800 clamp(20px, 2vw, 26px)/1.1 var(--font); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.ways a:hover, .ways button:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.request .fine { margin-top: 22px; font-weight: 600; max-width: 60ch; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* footer */
.foot { padding: clamp(48px, 7vw, 90px) var(--gutter) 28px; border-top: var(--border); }
.foot-word { font: 800 clamp(88px, 24vw, 340px)/0.8 var(--font); letter-spacing: -0.035em; color: transparent; -webkit-text-stroke: 2.5px var(--ink); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; margin-top: 32px; font-size: 15px; font-weight: 500; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-grid nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: var(--border); border-radius: 999px; font-weight: 650; text-decoration: none; }
.foot-note { max-width: 56ch; color: var(--soft); }

/* the dock: always at hand on the phone, a floating pill on large screens */
.dock { position: fixed; z-index: 20; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border: var(--border); border-radius: 999px; background: var(--white); box-shadow: var(--shadow); max-width: calc(100vw - 24px); }
.dock a, .dock button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 750 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.dock .go { background: var(--pink); border: var(--border); }
.dock button { background: var(--lime); }
.dock button[hidden] { display: none; }
.ki-on .dock .call { display: none; }
@media (max-width: 380px) { .dock a, .dock button { padding: 0 12px; font-size: 14px; } }
@media (max-width: 340px) { .dock { gap: 2px; padding: 4px; } .dock a, .dock button { padding: 0 9px; font-size: 13.5px; } }

/* playful entrance — CSS only, where scroll-driven animations exist */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pop-in { animation: pop-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(0.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- the KI-Mitarbeiter, in the language of this site ---------- */
html.ki-open { overflow: hidden; }
.ki-panel {
  position: fixed; inset: auto 16px 16px auto; width: min(430px, calc(100vw - 32px)); height: min(700px, calc(100dvh - 32px)); max-width: none; max-height: none;
  margin: 0; padding: 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 30px; background: var(--milk); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); flex-direction: column;
}
.ki-panel[open] { display: flex; }
.ki-panel::backdrop { background: rgb(31 14 28 / 0.4); }
@media (max-width: 640px) { .ki-panel { inset: auto 0 0 0; width: 100%; height: min(90dvh, 760px); border-width: 3px 0 0; border-radius: 28px 28px 0 0; box-shadow: none; } }
.ki-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; background: var(--pink); border-bottom: 3px solid var(--ink); }
.ki-who { display: flex; align-items: center; gap: 12px; }
.ki-mark { width: 38px; height: 38px; flex: none; border: var(--border); border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%; background: var(--lime); transform: rotate(-10deg); }
.ki-name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.ki-badge { margin-top: 3px; font-size: 13px; font-weight: 650; }
.ki-close { width: 44px; height: 44px; border: var(--border); border-radius: 50%; background: var(--milk); font: 800 24px/1 var(--font); color: var(--ink); cursor: pointer; }
.ki-note { padding: 10px 18px; font-size: 13px; font-weight: 550; line-height: 1.4; background: var(--lime); border-bottom: var(--border); }
.ki-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ki-msg { max-width: 88%; padding: 12px 16px; border: var(--border); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.ki-msg p + p, .ki-msg ul + p { margin-top: 8px; }
.ki-msg ul { margin: 6px 0 2px; padding-left: 18px; }
.ki-msg--bot { align-self: flex-start; border-radius: 22px 22px 22px 6px; background: var(--white); }
.ki-msg--user { align-self: flex-end; border-radius: 22px 22px 6px 22px; background: var(--pink); font-weight: 700; }
.ki-typing { display: flex; gap: 5px; }
.ki-typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: ki-bounce 0.9s infinite var(--bounce); }
.ki-typing span:nth-child(2) { animation-delay: 0.12s; }
.ki-typing span:nth-child(3) { animation-delay: 0.24s; }
@keyframes ki-bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }
.ki-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 42%; overflow-y: auto; padding: 12px 18px 18px; border-top: var(--border); background: var(--white); }
.ki-chip { min-height: 44px; padding: 8px 16px; border: var(--border); border-radius: 999px; background: var(--lime); color: var(--ink); font: 700 14.5px/1.2 var(--font); text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.12s; }
.ki-chip:nth-child(3n + 2) { background: var(--lilac); }
.ki-chip:nth-child(3n + 3) { background: var(--orange); }
.ki-chip:hover { transform: translate(-1px, -2px); }
.ki-chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.ki-form { display: grid; gap: 10px; padding: 16px; border: var(--border); border-radius: 22px; background: var(--lilac); }
.ki-form-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.ki-form-sub, .ki-form-note { font-size: 14px; font-weight: 550; }
.ki-field { display: grid; gap: 4px; }
.ki-field label { font-size: 13px; font-weight: 750; }
.ki-field input, .ki-field select { width: 100%; min-height: 46px; padding: 0 14px; border: var(--border); border-radius: 14px; background: var(--milk); font: 600 16px/1 var(--font); color: var(--ink); }
.ki-submit { justify-self: start; min-height: 48px; padding: 0 22px; border: var(--border); border-radius: 999px; background: var(--pink); color: var(--ink); font: 800 16px/1 var(--font); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.ki-sent { align-self: flex-start; padding: 12px 16px; border: var(--border); border-radius: 18px; background: var(--lime); }
.ki-sent-title { font-size: 18px; font-weight: 800; }
.ki-sent-ref { margin-top: 2px; font-size: 14px; font-weight: 600; }
.ki-owner { padding: 14px 16px; border: var(--border); border-radius: 20px; background: var(--ink); color: var(--milk); }
.ki-owner-title { font-size: 12.5px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); }
.ki-owner-card p { margin-top: 4px; font-size: 15px; }
.ki-owner-card .ki-owner-via { font-size: 13px; color: #d9c4d3; }

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