/* Tsanex — company site.
   Indigo #453ca3 is the logo's colour, so it is the site's colour. The three
   channel badges carry their own hue because recognising WhatsApp at a glance
   is the point of them. */

/* ── Fonts ────────────────────────────────────────────────────────── */

/* Served from our own origin: a Google Fonts stylesheet sends the visitor's IP
   to a US provider, which is not something a page can ask consent for.
   Variable files, so one per subset covers every weight. Licences alongside. */

@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Jost";
  src: url("fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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";
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --brand:      #453ca3;
  --brand-dark: #3b3392;
  --brand-deep: #2c2670;
  --brand-50:   #f0effa;
  --brand-100:  #e0deF4;
  --brand-200:  #cfcbec;

  --ink:    #1b1a2e;
  --body:   #55536e;
  --muted:  #6d6b86;
  --line:   #e4e4ef;
  --line-2: #f1f0f8;
  --white:  #ffffff;
  --soft:   #f8f8fc;

  --wa:  #0f7a3f;
  --rcs: #0b5fa5;
  --sms: #0f766e;

  --display: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --text:    "Inter", "Segoe UI", system-ui, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --sh-sm: 0 1px 2px rgba(27, 26, 46, .05), 0 1px 3px rgba(27, 26, 46, .05);
  --sh:    0 4px 6px -2px rgba(27, 26, 46, .05), 0 12px 24px -6px rgba(27, 26, 46, .09);
  --sh-lg: 0 12px 20px -8px rgba(27, 26, 46, .1), 0 32px 64px -20px rgba(27, 26, 46, .18);

  --shell: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.3rem + 3.1vw, 3.35rem); font-weight: 700; letter-spacing: -.028em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; letter-spacing: -.024em; }
h3 { font-size: 1.16rem; font-weight: 600; }
p  { margin: 0; }
svg { max-width: 100%; }

a { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: .75rem; z-index: 60;
  background: var(--brand); color: #fff; padding: .75rem 1.15rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { left: .75rem; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.kicker {
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  color: var(--brand-dark); margin-bottom: .7rem; letter-spacing: 0;
}

/* SVG text, styled here so it inherits the page's families */
.dash-k  { font-family: var(--text); font-size: 12px; fill: #6d6b86; }
.dash-v  { font-family: var(--display); font-size: 25px; font-weight: 700; }

/* ── Buttons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: .97rem;
  padding: .7rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 14px -4px rgba(69, 60, 163, .45); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-200); background: var(--brand-50); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-50); }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ── Header ───────────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.75rem; }

.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--brand); }
.kicker-product { display: inline-flex; align-items: center; gap: .45rem; }
.product-mark { width: 1.35rem; height: 1.35rem; color: var(--brand); }

.logo-word {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--brand); letter-spacing: -.02em; line-height: 1;
}

.head-right { margin-left: auto; display: flex; align-items: center; gap: .75rem; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.lang button {
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  padding: .42rem .68rem; border: 0; background: transparent;
  color: var(--muted); cursor: pointer; line-height: 1;
}
.lang button:hover { color: var(--brand-dark); }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; order: 3; }
.site-nav > a:not(.btn) { font-weight: 500; font-size: .96rem; color: var(--body); text-decoration: none; }
.site-nav > a:not(.btn):hover { color: var(--brand-dark); }
.site-nav .btn { font-size: .89rem; padding: .58rem 1.1rem; }

.burger {
  display: none; width: 2.6rem; height: 2.6rem;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer;
}
.burger-bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (min-width: 64rem) { .head-right { order: 4; } }
@media (max-width: 63.99rem) {
  .burger { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: .3rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh); padding: 1rem var(--pad) 1.5rem;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line-2); }
  .site-nav .btn { margin-top: .6rem; padding: .8rem 1.1rem; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(68rem 38rem at 84% -12%, var(--brand-50) 0%, rgba(240,239,250,0) 64%),
    linear-gradient(180deg, #fcfcff 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.25rem);
}
@media (min-width: 62rem) { .hero-inner { grid-template-columns: 1.08fr .92fr; } }

.hero-copy { max-width: 36rem; }
.hero-lede {
  margin-top: 1.15rem; max-width: 33em;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); line-height: 1.62;
}
.hero-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero-points li { position: relative; padding-left: 1.85rem; font-weight: 500; color: var(--ink); font-size: .99rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23453ca3'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / .78rem no-repeat;
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 32rem); }
.hero-figure { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 52px rgba(27, 26, 46, .2)); }


/* ── Sections ─────────────────────────────────────────────────────── */

.section { padding-block: clamp(3.5rem, 8vw, 5.75rem); }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-lede { margin-top: .9rem; font-size: 1.07rem; }
.section-cta { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* ── Zwei Türen ───────────────────────────────────────────────────── */

.doors { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .doors { grid-template-columns: repeat(2, 1fr); } }

.door {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 2.25rem);
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.door:hover { box-shadow: var(--sh); transform: translateY(-3px); border-color: var(--brand-200); }
.door-accent { background: linear-gradient(160deg, var(--brand-50) 0%, var(--white) 70%); border-color: var(--brand-200); }
.door-tag {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: .8rem;
  color: var(--brand-dark); background: var(--brand-50);
  border-radius: 999px; padding: .3rem .75rem; margin-bottom: .9rem;
}
.door-accent .door-tag { background: var(--white); }
.door p { margin-top: .7rem; }
.door-link { display: inline-block; margin-top: 1.1rem; font-family: var(--display); font-weight: 600; color: var(--brand-dark); }
.door:hover .door-link { text-decoration: underline; }

/* ── Split ────────────────────────────────────────────────────────── */

.split { display: grid; gap: clamp(2.5rem, 6vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 64rem) { .split { grid-template-columns: 1fr 1fr; } }
.split-top { align-items: start; margin-top: clamp(2.5rem, 6vw, 4rem); }

.split-art { margin: 0; }
.split-art svg { width: 100%; height: auto; display: block; border-radius: var(--r-lg); filter: drop-shadow(0 18px 40px rgba(27, 26, 46, .12)); }

.split-copy { display: grid; gap: 1.5rem; align-content: start; }
.split-copy .btn { justify-self: start; }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--sh-sm); }
.card p { margin-top: .4rem; font-size: .95rem; }

.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-icon {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; flex: none;
  background: var(--brand-50); color: var(--brand); border-radius: var(--r-sm);
}
.feature-icon svg { width: 1.35rem; height: 1.35rem; }
.feature p { margin-top: .3rem; font-size: .96rem; }

.ways { margin-top: clamp(2.5rem, 6vw, 3.5rem); display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { border-top: 2px solid var(--brand-200); padding-top: 1.1rem; }
.way p { margin-top: .55rem; font-size: .96rem; }

/* ── Kanäle ───────────────────────────────────────────────────────── */

.channels { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .channels { grid-template-columns: repeat(3, 1fr); } }

.channel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 1.9rem);
  box-shadow: var(--sh-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.channel:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.channel-lead { border-color: var(--brand-200); box-shadow: var(--sh); }
.channel h3 { margin-top: 1.05rem; }
.channel > p { margin-top: .65rem; font-size: .97rem; }

.channel-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .89rem;
  padding: .4rem .85rem; border-radius: 999px;
}
.channel-tag svg { width: 1.05rem; height: 1.05rem; flex: none; }
.tag-wa  { color: var(--wa);  background: #e8f6ee; }
.tag-rcs { color: var(--rcs); background: #e7f1fa; }
.tag-sms { color: var(--sms); background: #e6f5f3; }

.ticks { list-style: none; margin: 1.15rem 0 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: .48rem; height: .48rem; border-radius: 50%; background: var(--brand); opacity: .45;
}

/* ── Über uns ─────────────────────────────────────────────────────── */

.about { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 64rem) { .about { grid-template-columns: 1.55fr 1fr; } }
.about-copy h2 { margin-bottom: 1.15rem; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { max-width: 40em; }

.about-stats { display: grid; gap: 1rem; }
.about-stats > div {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.15rem 1.35rem;
  display: flex; align-items: baseline; gap: 1rem;
}
.about-stats strong { font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--brand); line-height: 1; }
.about-stats span { font-size: .94rem; color: var(--muted); }

/* ── Kontakt ──────────────────────────────────────────────────────── */

.contact { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 60rem) { .contact { grid-template-columns: 1fr 1.15fr; } }

.contact-copy h2 { margin-bottom: .9rem; }
.contact-direct { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-direct li { display: flex; align-items: center; gap: .85rem; }
.contact-direct a { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.contact-direct a:hover { color: var(--brand-dark); }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm);
  background: var(--brand-50); color: var(--brand);
}
.contact-icon svg { width: 1.2rem; height: 1.2rem; }

.contact-form {
  display: grid; gap: .95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.field-pair { display: grid; gap: .95rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) { .field-pair { grid-template-columns: 1fr 1fr; } }

.field { margin: 0; display: grid; gap: .35rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: .86rem; color: var(--ink); }
.field-hint { font-weight: 500; color: var(--muted); margin-left: .35rem; }

.field input, .field textarea {
  font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .7rem .85rem; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--brand); }

.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; margin-top: .2rem; }
.field-check input { width: 1.1rem; height: 1.1rem; margin-top: .24rem; accent-color: var(--brand); }
.field-check label { font-family: var(--text); font-weight: 400; font-size: .93rem; color: var(--body); }

.contact-form .btn { justify-self: start; margin-top: .4rem; }
.form-note { min-height: 1.4em; font-size: .92rem; }
.form-note-ok   { color: #0f7a3f; }
.form-note-bad  { color: #b4231a; }
.form-note-busy { color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────── */

.site-foot { background: var(--ink); color: #a09eb8; }

.foot-top {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  padding-block: clamp(3rem, 6vw, 4rem) 2.5rem;
}
@media (min-width: 46rem) { .foot-top { grid-template-columns: 1.6fr auto; gap: 4rem; } }

.foot-brand { display: block; }
.foot-top .logo-word { color: #fff; }
.foot-tagline { margin-top: .9rem; max-width: 26em; font-size: .97rem; color: #b6b3cc; }

.foot-contact { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.foot-contact a {
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: #fff; text-decoration: none;
}
.foot-contact a:hover { color: #cfcbec; text-decoration: underline; }

.foot-nav { display: grid; gap: .7rem; align-content: start; }
.foot-nav a { font-size: .96rem; color: #a09eb8; text-decoration: none; }
.foot-nav a:hover { color: #fff; }

.foot-base {
  border-top: 1px solid #2f2d47;
  padding-block: 1.4rem 2.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; font-size: .88rem;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-legal a { color: #a09eb8; text-decoration: none; }
.foot-legal a:hover { color: #fff; text-decoration: underline; }

.split-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Product band ─────────────────────────────────────────────────── */

.prod-band {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: center;
  background: linear-gradient(150deg, var(--brand-deep) 0%, var(--brand) 78%);
  border-radius: var(--r-lg);
  padding: clamp(1.9rem, 4.5vw, 3rem);
  color: #d8d5f2;
}
@media (min-width: 58rem) { .prod-band { grid-template-columns: 1.15fr .85fr; } }

.prod-band h2 { color: #fff; }
.prod-band .kicker { color: #bdb8ea; }
.prod-band p { margin-top: 1rem; max-width: 34em; }
.prod-band .split-actions { margin-top: 1.75rem; }

.band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.band-list li {
  position: relative; padding-left: 1.75rem;
  color: #efeefb; font-size: .97rem;
}
.band-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.band-list b { color: #fff; font-weight: 600; }

/* ── Storage notice ───────────────────────────────────────────────── */

/* Information, not consent: the site stores only the language choice, so there
   is nothing to reject and no second button. */
.storage-note {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  max-height: 60vh; overflow: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--sh-lg);
}
.storage-note[hidden] { display: none; }

.storage-note .shell {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem 1.75rem;
  padding-block: 1rem;
}
.storage-note-copy { flex: 1 1 22rem; min-width: 0; }
.storage-note h2 {
  font-size: 1rem; font-weight: 600; letter-spacing: 0;
  color: var(--ink); margin-bottom: .25rem;
}
.storage-note p { font-size: .92rem; }
.storage-note a { white-space: nowrap; }
.storage-note .btn { flex: none; }
