/* ============================================================
   MonteLoop — Alpine Editorial
   Papier · Tinte · Vermillon · Gletscherblau
   ============================================================ */

:root {
  --paper:      #F5F1E6;
  --paper-deep: #EDE7D6;
  --ink:        #1C1A15;
  --ink-soft:   #4A463C;
  --vermilion:  #E8501F;
  --glacier:    #B7CEDE;
  --glacier-deep: #9DBACD;
  --hairline:   rgba(28, 26, 21, 0.22);
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Archivo", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Papier-Korn über allem */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--vermilion); color: var(--paper); }

a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand svg { display: block; }

.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--vermilion);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}

.nav a.navlink {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}

.nav a.navlink::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--vermilion);
  transition: right 0.3s var(--ease-out);
}

.nav a.navlink:hover { color: var(--ink); }
.nav a.navlink:hover::after { right: 0; }

/* Sprach-Toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-toggle a {
  padding: 5px 13px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: all 0.25s;
}

.lang-toggle a.active {
  background: var(--ink);
  color: var(--paper);
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn:hover { background: var(--vermilion); border-color: var(--vermilion); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--vermilion); color: var(--paper); border-color: var(--vermilion); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

/* grosse Loop-Linie im Hintergrund */
.hero-loop {
  position: absolute;
  right: -180px;
  top: -60px;
  width: 720px;
  height: 720px;
  opacity: 0.85;
  pointer-events: none;
  animation: floaty 9s ease-in-out infinite alternate;
}

@keyframes floaty {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(18px) rotate(1.5deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.eyebrow .star { color: var(--vermilion); font-size: 1.1rem; }

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero h1 .line-bold {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 .line-italic {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.hero h1 .line-italic mark {
  background: linear-gradient(transparent 62%, var(--glacier) 62%);
  color: inherit;
}

.hero-sub {
  margin-top: 34px;
  max-width: 47ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Lade-Choreografie */
.reveal-load { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease-out) forwards; }
.reveal-load.d1 { animation-delay: 0.08s; }
.reveal-load.d2 { animation-delay: 0.2s; }
.reveal-load.d3 { animation-delay: 0.34s; }
.reveal-load.d4 { animation-delay: 0.5s; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-deep);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.ticker-track {
  display: inline-block;
  padding: 13px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
}

.ticker-track .star { color: var(--vermilion); margin: 0 22px; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Methode (Gletscher-Panel) ---------- */
.method {
  background: var(--glacier);
  border-bottom: 1px solid var(--ink);
  padding: 96px 0;
  position: relative;
}

.method h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.method-sub { margin-top: 18px; max-width: 52ch; color: var(--ink-soft); }

.method-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.method-cell {
  padding: 36px 32px 42px;
  border-right: 1px solid var(--ink);
  position: relative;
  transition: background 0.3s;
}

.method-cell:last-child { border-right: 0; }
.method-cell:hover { background: var(--paper-deep); }

.method-cell .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--vermilion);
}

.method-cell h3 {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
}

.method-cell p { color: var(--ink-soft); font-size: 0.98rem; }

.method-cell .arrow {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.4rem;
  color: var(--vermilion);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Produkte ---------- */
.products { padding: 100px 0 60px; }

.section-head { margin-bottom: 56px; }

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 22ch;
}

.section-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--vermilion);
}

.product-list { display: flex; flex-direction: column; }

.product-card {
  display: grid;
  grid-template-columns: 90px 1.15fr 1fr 0.55fr;
  gap: 36px;
  padding: 44px 8px;
  border-top: 1px solid var(--hairline);
  align-items: start;
  transition: background 0.3s;
  position: relative;
}

.product-card:last-child { border-bottom: 1px solid var(--hairline); }
.product-card:hover { background: rgba(255,255,255,0.45); }

.product-card::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px;
  width: 0;
  background: var(--vermilion);
  transition: width 0.5s var(--ease-out);
}

.product-card:hover::before { width: 100%; }

.product-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--ink-soft);
  line-height: 1;
  padding-top: 6px;
}

.product-main h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.product-symptom {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--glacier-deep);
  padding-left: 14px;
}

.product-symptom .q-label {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin-bottom: 5px;
}

.product-solution { font-size: 0.98rem; color: var(--ink-soft); }

.product-solution .s-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.benefits {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.benefits li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--ink);
}

.benefits li::before {
  content: "✱";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--vermilion);
  font-size: 0.85rem;
}

.product-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.price-chip {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--paper);
}

.product-proof {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
}

.product-cta {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.product-cta .arr { transition: transform 0.3s var(--ease-out); color: var(--vermilion); }
.product-cta:hover .arr { transform: translateX(6px); }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "✱";
  position: absolute;
  font-size: 30rem;
  line-height: 1;
  color: var(--vermilion);
  opacity: 0.14;
  right: -80px;
  bottom: -110px;
  font-family: var(--font-display);
}

.contact .eyebrow { color: var(--glacier); }

.contact h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.contact-sub { margin-top: 16px; color: rgba(245, 241, 230, 0.72); max-width: 50ch; }

.lead-form {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glacier);
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 230, 0.4);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 10px 2px;
  transition: border-color 0.25s;
  border-radius: 0;
  appearance: none;
}

.field select { cursor: pointer; }
.field select option { color: var(--ink); }

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--vermilion);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: rgba(245, 241, 230, 0.55);
}

.flash {
  grid-column: 1 / -1;
  border: 1px solid var(--glacier);
  padding: 14px 18px;
  font-weight: 600;
  border-radius: 4px;
}

.flash--ok { border-color: #8FD6A0; color: #8FD6A0; }
.flash--err { border-color: var(--vermilion); color: var(--vermilion); }

/* honeypot unsichtbar */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-foot {
  padding: 44px 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.foot-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.foot-brand em { font-style: italic; color: var(--vermilion); font-weight: 400; }

/* ---------- Scroll-Reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-card { grid-template-columns: 60px 1fr; }
  .product-solution { grid-column: 2; }
  .product-side { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-loop { width: 480px; height: 480px; right: -200px; opacity: 0.45; }
}

@media (max-width: 720px) {
  .nav .navlink { display: none; }
  .method-grid { grid-template-columns: 1fr; }
  .method-cell { border-right: 0; border-bottom: 1px solid var(--ink); }
  .method-cell:last-child { border-bottom: 0; }
  .method-cell .arrow { display: none; }
  .lead-form { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; gap: 20px; }
  .product-solution, .product-side { grid-column: 1; }
  .product-num { display: none; }
}

/* ---------- Kategorie-Köpfe (Produkte) ---------- */
.cat-head { margin: 70px 0 8px; }
.cat-head:first-of-type { margin-top: 0; }

.cat-head h3 {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  display: flex;
  gap: 10px;
  align-items: center;
}

.cat-head h3 .star { color: var(--vermilion); }

.cat-head p {
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 6px 0 18px;
  font-size: 0.97rem;
}

/* ---------- Kontakt-E-Mail ---------- */
.contact-email { margin-top: 16px; color: rgba(245, 241, 230, 0.85); }

.contact-email a {
  color: var(--glacier);
  font-weight: 700;
  text-underline-offset: 3px;
  text-decoration-color: var(--vermilion);
}

.contact-email a:hover { color: var(--paper); }

/* ---------- Mobile-Feinschliff ---------- */
@media (max-width: 720px) {
  .site-foot { padding: 36px 0; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-email { word-break: break-word; }
  .hero { padding: 70px 0 64px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .cat-head { margin-top: 48px; }
}
