/* ============================================================
   Version 1 — "Eco Clean"
   Swiss minimal · airy · editorial · light
   ============================================================ */
.v1 {
  --bg: var(--brand-sand);
  --surface: #ffffff;
  --text: #16201d;
  --muted: #5d6b66;
  --line: #e3e0d8;
  --accent: var(--brand-mint);
  --accent-deep: var(--brand-mint-600);

  --pr-stroke: #16201d;
  --pr-object: var(--brand-mint);
  --pr-accent: var(--brand-solar);

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.v1 h1, .v1 h2, .v1 h3, .v1 .brand { font-family: "Space Grotesk", "Inter", sans-serif; }
.brand__q { color: var(--accent-deep); }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 1rem;
}
.eyebrow--solar { color: #b6812a; }
.eyebrow--light { color: rgba(255,255,255,.8); }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn--solid { background: var(--text); color: #fff; }
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22,32,29,.25); }
.btn--ghost { border: 1.5px solid var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { background: rgba(246,244,239,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.3rem; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav__cta { padding: .6rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--text) !important; font-weight: 600; }
.nav__cta:hover { background: var(--accent-deep); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; line-height: .98; }
.hero__brand { color: var(--accent-deep); }
.hero__lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2.2rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; color: var(--text); }

.hero__art { position: relative; }
.hero__art-card {
  background: linear-gradient(160deg, #fff, #eef6f4);
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 30px 60px -30px rgba(22,32,29,.3);
}
.hero__printer { max-width: 360px; margin-inline: auto; }
.hero__art-note { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 1rem 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 26s linear infinite; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text); }
.marquee__track span { margin-right: 2rem; }
.marquee__track span:nth-child(even) { color: var(--accent-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Generic section spacing ---------- */
.why, .how, .impact, .process, .products, .team, .contact { padding-block: var(--section-y); }

/* ---------- Why ---------- */
.why {
  position: relative;
  background: url("../img/heiss-wird.jpg") center 58% / cover no-repeat;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246,244,239,.94), rgba(246,244,239,.74));
}
.why .container { position: relative; }
.why__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.why__body { font-size: clamp(1.2rem, 2.4vw, 1.9rem); line-height: 1.4; font-weight: 500; font-family: "Space Grotesk", sans-serif; }

/* ---------- How / cards ---------- */
.how { background: var(--surface); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(22,32,29,.35); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--accent); font-size: 1.6rem; margin-bottom: 1.3rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.card p { color: var(--muted); }

/* ---------- Impact ---------- */
.impact { background: var(--text); color: #fff; border-radius: clamp(24px, 4vw, 48px); margin-inline: clamp(0px, 2vw, 1.5rem); }
.impact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.impact__copy p { margin-top: 1.2rem; color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 36rem; }
.impact .section-title { color: #fff; }
.stats { display: grid; gap: 1rem; }
.stats li { display: flex; align-items: baseline; gap: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.stats strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent); line-height: 1; }
.stats span:last-child { color: rgba(255,255,255,.8); font-weight: 500; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--text); }
.step__num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; color: var(--accent-deep); }
.step h3 { font-size: 1.25rem; margin: .6rem 0 .5rem; }
.step p { color: var(--muted); }

/* ---------- Products ---------- */
.products { background: var(--surface); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(22,32,29,.35); }
.product__media { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3.5rem; overflow: hidden; }
.product__media--ash { background: linear-gradient(150deg, #d9ece9, #b9ddd7); }
.product__media--games { background: linear-gradient(150deg, #f3e6c4, #ffe39c); }
.product__media--custom { background: linear-gradient(150deg, #e7e3f5, #cfc6ef); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
/* "Individuelle Produkte": live printer animation instead of a photo */
.product__media--custom { padding: 1.25rem; }
.product__printer { width: 100%; max-width: 210px; }
.product__body { padding: 1.5rem; }
.product__body h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.product__body p { color: var(--muted); margin-bottom: 1rem; }
.product__tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: var(--accent); color: var(--text); }
.products__cta { margin-top: 2.5rem; text-align: center; }

a.product { display: block; color: inherit; }

/* ---------- Model pages (Sortiment) ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.page-head .section-intro { margin-bottom: 0; }
.models { padding-block: clamp(2.5rem, 5vw, 4rem); }
.models + .models { padding-top: 0; }
.models__group-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.6rem; }
.models__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.model:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(22,32,29,.35); }
.model__main { aspect-ratio: 1; overflow: hidden; background: #fff; }
.model__main img { width: 100%; height: 100%; object-fit: cover; }
.model__thumbs { display: flex; gap: .5rem; padding: .8rem .8rem 0; }
.model__thumbs button { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; padding: 0; background: #fff; transition: border-color .2s; }
.model__thumbs button:hover { border-color: var(--accent); }
.model__thumbs button.is-active { border-color: var(--accent-deep); }
.model__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model__body { padding: 1.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.model__body h3 { font-size: 1.3rem; }
.model__body p { color: var(--muted); flex: 1; }
.model__body .product__tag { align-self: flex-start; }
.models-cta { background: var(--surface); padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }
.models-cta p { color: var(--muted); margin: .9rem auto 1.8rem; max-width: 34rem; }
.models__group-intro { color: var(--muted); max-width: 42rem; margin: -1rem 0 1.8rem; }
.model[data-modal] { cursor: pointer; }
.model[data-modal]:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.model__more { color: var(--accent-deep); font-weight: 600; font-size: .92rem; }

/* ---------- Model detail dialog ---------- */
.model-modal { border: 0; border-radius: 24px; padding: 0; width: min(880px, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); overflow: auto; box-shadow: 0 40px 80px -30px rgba(22,32,29,.5); }
.model-modal::backdrop { background: rgba(22,32,29,.55); }
.model-modal__grid { display: grid; grid-template-columns: 1fr 1.05fr; }
.model-gallery { background: #fff; }
.model-gallery__main { aspect-ratio: 1; overflow: hidden; }
.model-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.model-gallery .model__thumbs { padding: .8rem; }
.model-modal__info { padding: clamp(1.6rem, 4vw, 2.4rem); display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; background: var(--brand-sand); }
.model-modal__info .eyebrow { margin-bottom: 0; }
.model-modal__info h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.model-modal__info > p { color: var(--muted); }
.specs { display: grid; gap: .55rem; margin: .8rem 0 1.4rem; width: 100%; }
.specs > div { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; font-size: .9rem; }
.specs dd { color: var(--muted); font-size: .95rem; }
.model-modal__close { position: absolute; top: .9rem; right: .9rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--line); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: transform .2s var(--ease); }
.model-modal__close:hover { transform: scale(1.08); }
.model-modal__inspo { align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--accent-deep); padding-bottom: 2px; border-bottom: 1px dashed var(--accent-deep); transition: color .2s var(--ease), border-color .2s var(--ease); }
.model-modal__inspo:hover { color: var(--text); border-color: var(--text); }

/* Hervorheben des Ziel-Posts, wenn man aus einer Produktseite kommt */
.post.is-target { animation: post-target 2.4s var(--ease); }
@keyframes post-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111,185,177,0); }
  12%, 60% { box-shadow: 0 0 0 4px var(--accent); }
}
@media (max-width: 900px) { .models__grid { grid-template-columns: 1fr; } .model-modal__grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member { text-align: center; padding: 2.2rem 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.member__avatar {
  width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 1.4rem; color: var(--text);
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
}
.member h3 { font-size: 1.25rem; }
.member__role { color: var(--accent-deep); font-weight: 600; font-size: .9rem; margin: .25rem 0 .9rem; text-transform: uppercase; letter-spacing: .06em; }
.member__bio { color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.contact__facts { margin-top: 2rem; display: grid; gap: .9rem; }
.contact__facts li { padding-bottom: .9rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact__facts strong { color: var(--text); margin-right: .5rem; }
.contact__tool { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .98rem; }
.contact__tool strong { color: var(--accent-deep); }
.contact__tool a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.contact__tool a:hover { color: var(--text); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label span { color: #cf5b4e; }
.field input, .field textarea { padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(111,185,177,.2); }
.form .btn--block { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; align-items: start; }
.brand--light { color: #fff; }
.site-footer__brand p { margin-top: 1rem; max-width: 26rem; }
.site-footer__nav { display: grid; gap: .7rem; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__meta { font-size: .9rem; line-height: 1.8; }

/* ---------- Inspiration / Posts ---------- */
.inspiration { padding-block: var(--section-y); }
.inspiration__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.inspiration__cta { margin-top: 2.5rem; text-align: center; }

.feed { max-width: 560px; margin-inline: auto; display: grid; gap: 1.75rem; }
.feed-status { text-align: center; color: var(--muted); padding: 2.5rem 1.5rem; border: 1.5px dashed var(--line); border-radius: 22px; display: grid; gap: .8rem; }
.feed-status__hint { font-size: .88rem; }

.post { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; scroll-margin-top: 92px; }
.post__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; }
.post__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; object-fit: cover;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .95rem; color: var(--text);
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
}
.post__meta { min-width: 0; }
.post__name { font-weight: 600; color: var(--text); }
a.post__name:hover { color: var(--accent-deep); }
.post__ext { color: var(--accent-deep); font-size: .85em; }
.post__project { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

.post__media { position: relative; }
.post__track {
  display: flex; aspect-ratio: 1; overflow-x: auto;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.post__track::-webkit-scrollbar { display: none; }
.post__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }

.post__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.35rem; line-height: 1;
  transition: transform .2s var(--ease), opacity .2s;
}
.post__nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.1); }
.post__nav:disabled { opacity: .35; cursor: default; }
.post__nav--prev { left: .7rem; }
.post__nav--next { right: .7rem; }
.post__dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: .7rem; display: flex; gap: .35rem; }
.post__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); border: 1px solid rgba(22,32,29,.3); transition: background .2s; }
.post__dots i.is-active { background: var(--accent-deep); }
.post__count { position: absolute; top: .7rem; right: .7rem; background: rgba(22,32,29,.65); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; }

.post__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .9rem; }
.post__caption { font-size: .97rem; }
.post__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.post__tags .product__tag:hover { background: var(--accent-deep); color: #fff; }

@media (max-width: 900px) { .inspiration__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 1rem; }
  .nav-toggle { display: flex; }
  .hero__grid, .why__grid, .impact__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards-3, .products__grid, .team__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__art { order: -1; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
