/* ==========================================================================
   Fonts — self-hosted (no Google Fonts request, GDPR-friendly)
   Source: Fontsource 5.3.0, SIL Open Font License (see assets/fonts/LICENSE-*)
   latin = basic alphabet incl. German umlauts, latin-ext = e.g. macrons (ā)
   ========================================================================== */

@font-face{
  font-family:"Bricolage Grotesque";
  font-style:normal;
  font-display:swap;
  font-weight:200 800;
  src:url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Bricolage Grotesque";
  font-style:normal;
  font-display:swap;
  font-weight:200 800;
  src:url("../assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Inter";
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Inter";
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ==========================================================================
   THE SAMOAN — Design tokens
   Void black / bone / tapa-sand / ember rust — carved, minimal, luxury
   ========================================================================== */

:root{
  --void:   #0b0b0a;
  --void-rgb: 11,11,10;
  --ink:    #16140f;
  --ink-2:  #1d1a13;
  --bone:   #f1ece0;
  --bone-dim: rgba(241,236,224,0.62);
  --sand:   #c9a876;
  --ember:  #8b4226;
  --line:   rgba(241,236,224,0.14);
  --line-strong: rgba(241,236,224,0.28);

  --display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --body: "Inter", "Helvetica Neue", sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);

  color-scheme: dark;
}

/* ---- Light theme override — same semantic tokens, inverted values ---- */
html[data-theme="light"]{
  --void:   #f1ece0;
  --void-rgb: 241,236,224;
  --ink:    #e8e0cf;
  --ink-2:  #ded2ba;
  --bone:   #18160f;
  --bone-dim: rgba(24,22,15,0.64);
  --sand:   #a9793c;
  --ember:  #7a3a1c;
  --line:   rgba(24,22,15,0.12);
  --line-strong: rgba(24,22,15,0.24);

  color-scheme: light;
}

body{ transition: background-color .4s var(--ease), color .4s var(--ease); }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  margin:0;
  background:var(--void);
  color:var(--bone);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

::selection{ background:var(--sand); color:var(--void); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--sand);
  outline-offset:3px;
}

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:-0.02em;
  margin:0;
  color:var(--bone);
}

p{ margin:0; }

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:var(--pad);
  padding-right:var(--pad);
}

.visually-hidden{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:var(--body);
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--sand);
  font-weight:600;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  padding:20px 0;
  background:linear-gradient(to bottom, rgba(var(--void-rgb),.92), rgba(var(--void-rgb),0));
  transition:padding .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled{
  padding:14px 0;
  background:rgba(var(--void-rgb),.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.brand{
  font-family:var(--display);
  font-weight:700;
  font-size:19px;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.brand span{ color:var(--sand); }

.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line-strong);
  border-radius:100px;
  width:42px; height:42px;
  color:var(--bone);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.site-nav a{
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--bone-dim);
  position:relative;
  padding-bottom:4px;
  transition:color .25s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"]{ color:var(--bone); }
.site-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:var(--sand);
}

.lang-toggle{
  display:flex;
  border:1px solid var(--line-strong);
  border-radius:100px;
  overflow:hidden;
  font-size:11px;
  letter-spacing:.08em;
  margin-left:8px;
}
.lang-toggle button{
  background:none;
  border:none;
  color:var(--bone-dim);
  padding:7px 12px;
  cursor:pointer;
  font-family:var(--body);
  font-weight:600;
}
.lang-toggle button.is-active{
  background:var(--sand);
  color:var(--void);
}

.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  flex:none;
  border:1px solid var(--line-strong);
  border-radius:50%;
  background:none;
  color:var(--bone);
  cursor:pointer;
  transition:border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover{ border-color:var(--sand); color:var(--sand); transform:translateY(-1px); }
.theme-toggle svg{ width:18px; height:18px; }
.theme-toggle .icon-sun{ display:none; }
.theme-toggle .icon-moon{ display:block; }
html[data-theme="light"] .theme-toggle .icon-sun{ display:block; }
html[data-theme="light"] .theme-toggle .icon-moon{ display:none; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  border-radius:100px;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  transition:transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
}
.btn-primary{
  background:var(--bone);
  color:var(--void);
}
.btn-primary:hover{ background:var(--sand); transform:translateY(-2px); }
.btn-ghost{
  border-color:var(--line-strong);
  color:var(--bone);
}
.btn-ghost:hover{ border-color:var(--sand); color:var(--sand); transform:translateY(-2px); }
.btn svg{ width:14px; height:14px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  padding-top:120px;
  padding-bottom:80px;
  overflow:hidden;
}

.hero-motif{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.55;
  pointer-events:none;
}
.hero-motif svg{ width:100%; height:100%; }

.hero-content{
  position:relative;
  z-index:1;
  max-width:900px;
}

.hero h1{
  font-size:clamp(2.6rem, 7vw, 5.6rem);
  line-height:.98;
  margin-top:22px;
}
.hero h1 em{
  font-style:italic;
  color:var(--sand);
  font-weight:400;
}

.hero-sub{
  margin-top:28px;
  max-width:560px;
  font-size:clamp(1.05rem,1.6vw,1.25rem);
  color:var(--bone-dim);
}

.hero-actions{
  margin-top:44px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.scroll-cue{
  position:absolute;
  bottom:36px;
  left:var(--pad);
  z-index:1;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--bone-dim);
}
.scroll-cue .line{
  width:1px;
  height:34px;
  background:linear-gradient(to bottom, var(--sand), transparent);
  animation:scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse{
  0%,100%{ transform:scaleY(1); opacity:.6; }
  50%{ transform:scaleY(1.4); opacity:1; }
}

/* ==========================================================================
   Ink divider (signature element) — hand-drawn tribal linework
   that draws itself in on scroll, like a needle tracing skin.
   ========================================================================== */

.ink-divider{
  padding:10px 0;
  overflow:hidden;
}
.ink-divider svg{
  width:100%;
  height:auto;
  display:block;
}
.ink-divider path{
  fill:none;
  stroke:var(--sand);
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-dasharray:2400;
  stroke-dashoffset:2400;
  transition:stroke-dashoffset 2.4s var(--ease);
}
.ink-divider.is-inked path{ stroke-dashoffset:0; }

/* ==========================================================================
   Section rhythm
   ========================================================================== */

section{ padding:120px 0; position:relative; }
.section-tight{ padding:80px 0; }

.section-head{
  max-width:640px;
  margin-bottom:64px;
}
.section-head h2{
  font-size:clamp(2rem, 4vw, 3.1rem);
  margin-top:18px;
  line-height:1.05;
}
.section-head p{
  margin-top:20px;
  color:var(--bone-dim);
  font-size:1.05rem;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }

.text-link{ color:var(--bone); border-bottom:1px solid var(--line-strong); transition:color .3s var(--ease), border-color .3s var(--ease); }
.text-link:hover{ color:var(--sand); border-color:var(--sand); }

.section-flush-top{ padding-top:0; }
.section-actions{ margin-top:28px; }
.section-actions.center{ text-align:center; margin-top:36px; }

/* ==========================================================================
   Page hero (shared by all sub-pages)
   ========================================================================== */

.page-hero{
  padding-top:160px;
  padding-bottom:70px;
}
.page-hero h1{
  margin-top:18px;
  font-size:clamp(2.2rem, 5vw, 3.4rem);
  line-height:1.05;
}
.page-hero h1.about-lede{
  font-size:clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight:500;
  line-height:1.25;
  letter-spacing:-.01em;
}
.page-hero .hero-sub{
  margin-top:22px;
  max-width:600px;
}

/* Hand-drawn motifs follow the accent color in both themes */
.hero-motif, .tile-mark, .motif-frame{ color:var(--sand); }

/* ==========================================================================
   Manifesto / statement block
   ========================================================================== */

.statement{
  max-width:920px;
}
.statement p{
  font-family:var(--display);
  font-weight:500;
  font-size:clamp(1.5rem, 3.4vw, 2.6rem);
  line-height:1.28;
  letter-spacing:-.01em;
  color:var(--bone);
}
.statement .accent{ color:var(--sand); font-style:italic; font-weight:400; }

/* ==========================================================================
   Category / product grid
   ========================================================================== */

.grid{
  display:grid;
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
}
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }

.tile{
  background:var(--ink);
  padding:44px 36px;
  min-height:340px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:relative;
  transition:background-color .4s var(--ease);
}
.tile:hover{ background:var(--ink-2); }
.tile .tile-index{
  position:absolute;
  top:32px; left:36px;
  font-size:12px;
  letter-spacing:.14em;
  color:var(--bone-dim);
}
.tile .tile-mark{
  position:absolute;
  top:28px; right:30px;
  width:46px; height:46px;
  opacity:.5;
}
.tile h3{
  font-size:1.5rem;
  margin-bottom:10px;
}
.tile p{
  color:var(--bone-dim);
  font-size:.95rem;
  margin-bottom:22px;
}
.tile .tile-link{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--sand);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.tile .tile-link svg{ width:12px; height:12px; transition:transform .3s var(--ease); }
.tile:hover .tile-link svg{ transform:translateX(4px); }

/* ==========================================================================
   Values / feature strip
   ========================================================================== */

.values{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:56px;
}
.value-item{ border-top:1px solid var(--line-strong); padding-top:26px; }
.value-item .num{
  font-family:var(--display);
  color:var(--sand);
  font-size:.85rem;
  letter-spacing:.1em;
}
.value-item h4{ font-size:1.15rem; margin:16px 0 10px; }
.value-item p{ color:var(--bone-dim); font-size:.95rem; }

/* ==========================================================================
   Quote / review carousel-ish strip
   ========================================================================== */

.reviews{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
}
.review{
  background:var(--void);
  padding:38px 32px;
}
.review .stars{ color:var(--sand); letter-spacing:3px; font-size:14px; }
.review p{ margin-top:18px; font-size:1rem; color:var(--bone); line-height:1.65; }
.review .who{ margin-top:22px; font-size:.85rem; color:var(--bone-dim); letter-spacing:.04em; }

/* ==========================================================================
   Newsletter band
   .newsletter is also used for the CTA band on faq.html.
   The .nl-* form styles are currently unused — HTML is in archive/newsletter.md
   ========================================================================== */

.newsletter{
  background:var(--ink);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:90px 0;
}
.newsletter .container{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.newsletter h2{ font-size:clamp(1.7rem,3vw,2.4rem); max-width:480px; }
.nl-form{
  display:flex;
  gap:0;
  border-bottom:1px solid var(--line-strong);
  min-width:340px;
  flex:1;
  max-width:460px;
}
.nl-form input{
  flex:1;
  background:none;
  border:none;
  color:var(--bone);
  font-family:var(--body);
  font-size:1rem;
  padding:12px 4px;
}
.nl-form input::placeholder{ color:var(--bone-dim); }
.nl-form button{
  background:none;
  border:none;
  color:var(--sand);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  padding:12px 8px;
  font-weight:600;
}
.nl-note{
  margin-top:14px;
  font-size:.8rem;
  color:var(--bone-dim);
}
.nl-success{
  margin-top:14px;
  font-size:.85rem;
  color:var(--sand);
  display:none;
}
.nl-success.is-visible{ display:block; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-group{ margin:64px 0 28px; }
.faq-group:first-child{ margin-top:0; }
.faq-list{ border-top:1px solid var(--line-strong); max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line-strong); }
.faq-q{
  width:100%;
  background:none;
  border:none;
  color:var(--bone);
  text-align:left;
  padding:28px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  cursor:pointer;
  font-family:var(--display);
  font-size:1.15rem;
  font-weight:600;
}
.faq-q .plus{
  flex:none;
  width:26px; height:26px;
  position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:"";
  position:absolute;
  background:var(--sand);
  transition:transform .35s var(--ease);
}
.faq-q .plus::before{ top:50%; left:0; width:100%; height:1px; transform:translateY(-50%); }
.faq-q .plus::after{ left:50%; top:0; height:100%; width:1px; transform:translateX(-50%); }
.faq-item.is-open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }

.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s var(--ease);
}
.faq-a-inner{
  padding-bottom:28px;
  color:var(--bone-dim);
  font-size:1rem;
  max-width:640px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:80px;
}
.contact-form{ display:flex; flex-direction:column; gap:26px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--bone-dim);
}
.field input, .field textarea, .field select{
  background:none;
  border:none;
  border-bottom:1px solid var(--line-strong);
  color:var(--bone);
  font-family:var(--body);
  font-size:1.05rem;
  padding:10px 2px;
  transition:border-color .3s var(--ease);
}
.field select option{ background:var(--ink); color:var(--bone); }
.field input:focus, .field textarea:focus, .field select:focus{
  border-color:var(--sand);
}
.field textarea{ resize:vertical; min-height:120px; }

.form-success{ display:none; color:var(--sand); font-size:.9rem; }
.form-error{ display:none; color:var(--bone); font-size:.9rem; border-left:2px solid var(--ember); padding-left:14px; }
.form-success.is-visible, .form-error.is-visible{ display:block; }
.form-privacy{ font-size:.82rem; color:var(--bone-dim); }
.hp-field{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-form{ position:relative; }
.contact-form button[disabled]{ opacity:.55; cursor:wait; transform:none; }

.contact-info{ display:flex; flex-direction:column; gap:36px; }
.info-block .eyebrow{ margin-bottom:12px; }
.info-block p, .info-block a{ font-size:1.05rem; color:var(--bone); }
.info-block > p:not(.muted), .info-block .social-row{ margin-top:14px; }
.info-block a:hover{ color:var(--sand); }
.info-block .muted{ color:var(--bone-dim); font-size:.95rem; margin-top:6px; }

.social-row{ display:flex; gap:18px; margin-top:6px; }
.social-row a{
  width:42px; height:42px;
  border:1px solid var(--line-strong);
  border-radius:100px;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.social-row a:hover{ border-color:var(--sand); color:var(--sand); }
.social-row svg{ width:18px; height:18px; }

/* "Coming soon" popup for social profiles that don't exist yet (contact.html) */
.soon-dialog{
  width:min(420px, calc(100vw - 32px));
  padding:40px 32px 32px;
  border:1px solid var(--line-strong);
  border-radius:20px;
  background:var(--ink);
  color:var(--bone);
  text-align:center;
}
.soon-dialog::backdrop{
  background:rgba(var(--void-rgb),.72);
  backdrop-filter:blur(4px);
}
.soon-dialog[open]{ animation:soon-in .35s var(--ease); }
@keyframes soon-in{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
.soon-dialog h3{ font-size:clamp(1.6rem,4vw,2rem); margin:14px 0 12px; }
.soon-dialog p{ color:var(--bone-dim); font-size:.98rem; }
.soon-dialog p a{ color:var(--bone); border-bottom:1px solid var(--line-strong); }
.soon-dialog p a:hover{ color:var(--sand); border-color:var(--sand); }
.soon-dialog .btn{ margin-top:28px; background:transparent; font-family:var(--body); }

/* ==========================================================================
   About page specifics
   ========================================================================== */

.about-lede{
  max-width:760px;
  font-family:var(--display);
  font-size:clamp(1.4rem,2.6vw,2rem);
  line-height:1.35;
  color:var(--bone);
}
.about-split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
}
.about-split .motif-frame{
  border:1px solid var(--line-strong);
  padding:30px;
  aspect-ratio:4/5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.about-split .motif-frame svg{ width:100%; height:100%; }
.about-copy h2{ margin-top:16px; font-size:clamp(1.8rem,3vw,2.4rem); line-height:1.05; }
.about-copy .copy-body{ margin-top:24px; }
.about-copy.narrow{ max-width:760px; }
.about-copy p{ color:var(--bone-dim); font-size:1.05rem; margin-bottom:20px; }
.about-copy p:last-child{ margin-bottom:0; }

.timeline{ max-width:760px; }
.timeline-item{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:30px;
  padding:30px 0;
  border-top:1px solid var(--line-strong);
}
.timeline-item .year{ font-family:var(--display); color:var(--sand); font-size:1.1rem; }
.timeline-item h4{ font-size:1.15rem; margin-bottom:8px; }
.timeline-item p{ color:var(--bone-dim); font-size:.95rem; }

/* ==========================================================================
   Products page specifics
   ========================================================================== */

.redirect-page{
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:140px var(--pad) 80px;
}
.redirect-content{ max-width:600px; }
.redirect-content h1{ font-size:clamp(2rem, 5vw, 3rem); margin:18px 0 24px; }
.redirect-content p{ color:var(--bone-dim); font-size:1.1rem; margin-bottom:40px; }
.redirect-spinner{
  width:40px; height:40px;
  border:2px solid var(--line-strong);
  border-top-color:var(--sand);
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin:0 auto 30px;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */

.legal{
  max-width:640px;
  font-size:.98rem;
  color:var(--bone-dim);
  line-height:1.8;
}
.legal h2{
  font-family:var(--body);
  font-size:1rem;
  font-weight:600;
  letter-spacing:0;
  color:var(--bone);
  margin:32px 0 10px;
}
.legal p + p{ margin-top:14px; }
.legal a{ color:var(--bone); border-bottom:1px solid var(--line-strong); }
.legal a:hover{ color:var(--sand); border-color:var(--sand); }
.legal-note{
  color:var(--sand);
  font-size:.85rem;
  letter-spacing:.02em;
  padding:16px 20px;
  border:1px solid var(--line-strong);
  margin-bottom:12px;
}

.filter-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:50px;
}
.filter-pill{
  border:1px solid var(--line-strong);
  border-radius:100px;
  padding:9px 20px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bone-dim);
  cursor:pointer;
  background:none;
  transition:all .3s var(--ease);
}
.filter-pill.is-active, .filter-pill:hover{
  border-color:var(--sand);
  color:var(--sand);
}

.product-card{
  background:var(--ink);
  display:flex;
  flex-direction:column;
}
.product-media{
  aspect-ratio:4/5;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  position:relative;
  overflow:hidden;
}
.product-media svg{ width:60%; height:60%; opacity:.85; transition:transform .5s var(--ease); }
.product-card:hover .product-media svg{ transform:scale(1.08) rotate(1deg); }
.product-tag{
  position:absolute;
  top:18px; left:18px;
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--sand);
  border:1px solid var(--sand);
  padding:4px 9px;
  border-radius:100px;
}
.product-body{ padding:26px 28px 30px; }
.product-body h3{ font-size:1.2rem; margin-bottom:6px; }
.product-body .price{ color:var(--sand); font-size:1rem; margin-bottom:14px; display:block; }
.product-body p{ color:var(--bone-dim); font-size:.9rem; margin-bottom:20px; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer{
  border-top:1px solid var(--line);
  padding:70px 0 34px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr repeat(3, 1fr);
  gap:40px;
  padding-bottom:56px;
}
.footer-brand .brand{ display:block; margin-bottom:16px; }
.footer-brand p{ color:var(--bone-dim); font-size:.9rem; max-width:280px; }
.footer-col h5{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--bone-dim);
  margin-bottom:20px;
  font-weight:600;
}
.footer-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:.92rem; color:var(--bone); transition:color .3s var(--ease); }
.footer-col a:hover, .footer-col a[aria-current="page"]{ color:var(--sand); }
.footer-bottom{
  border-top:1px solid var(--line);
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:.8rem;
  color:var(--bone-dim);
}

/* ==========================================================================
   Reveal on scroll (generic)
   ========================================================================== */

[data-reveal]{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ==========================================================================
   Language visibility
   ========================================================================== */

[data-de]{ display:none; }
html[lang="de"] [data-en]{ display:none; }
html[lang="de"] [data-de]{ display:revert; }
html[lang="de"] [data-de-inline]{ display:inline; }
html[lang="en"] [data-de-inline]{ display:none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px){
  .about-split{ grid-template-columns:1fr; }
  .about-split .motif-frame{ order:-1; max-width:360px; margin:0 auto; }
  .contact-grid{ grid-template-columns:1fr; gap:56px; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .reviews{ grid-template-columns:1fr; }
  .values{ grid-template-columns:1fr; gap:36px; }
}

@media (max-width: 720px){
  .site-nav{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(320px, 82vw);
    background:var(--ink);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:28px;
    padding:40px var(--pad);
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .4s var(--ease), visibility 0s linear .4s;
    border-left:1px solid var(--line);
    z-index:1;
  }
  .site-nav.is-open{ transform:translateX(0); visibility:visible; transition:transform .4s var(--ease); }
  .site-nav a{ font-size:15px; }
  .lang-toggle{ margin-left:0; }
  /* keep the burger above the open panel so it can close it again */
  .nav-toggle{ display:flex; position:relative; z-index:2; }
  .page-hero{ padding-top:130px; padding-bottom:50px; }
  section{ padding:80px 0; }
  .section-tight{ padding:60px 0; }
  .section-flush-top{ padding-top:0; }
  .section-head{ margin-bottom:44px; }
  .nl-form{ min-width:0; }
  .timeline-item{ grid-template-columns:56px 1fr; gap:18px; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:36px; }
  .newsletter .container{ flex-direction:column; align-items:stretch; }
  .nl-form{ max-width:none; }
}
