/* COCONYTE – the site footer, one file for every page: the start page (/, with the contact form
   from contact.css), /impressum/, /datenschutz/ and /404.html (the compact footer). Loaded after
   base.css; the page sets the tokens (--dark, --line-d, --muted-d; --blue comes from base.css).
   Every page ends the footer with the same credit line (.credit) under the legal links.
   Not part of base.css: the shop loads base.css too and has its own footer.
   It also carries the site's small type (eyebrow, caps, button), for the same reason: every page
   of the site shares it, the shop keeps base.css's own. */

/* ---------- small type: nothing to read below 13px, 14px on phones; spacing that still reads
   as small caps without pulling the letters apart ---------- */
.eyebrow { font-size: 13px; letter-spacing: .14em; }
.caps { font-size: 13px; letter-spacing: .12em; }
.btn { min-height: 48px; font-size: 13px; letter-spacing: .12em; text-align: center; }
@media (max-width: 760px) {
  .eyebrow { font-size: 14px; letter-spacing: .12em; }
  .caps { font-size: 14px; letter-spacing: .1em; }
  .btn { font-size: 14px; letter-spacing: .08em; }
}
/* touch screens wider than a phone (tablets, phones on their side) keep the 14px floor */
@media (hover: none) and (pointer: coarse) and (min-width: 761px) { .eyebrow, .caps, .btn { font-size: 14px; } }

footer { background: var(--dark); color: #eef0f2; padding: 72px 0 36px; border-top: 1px solid var(--line-d); }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-d); }
.foot__brand { font-size: 22px; letter-spacing: .38em; margin-bottom: 14px; }
.foot .caps { color: var(--muted-d); line-height: 1.85; }
.foot .caps span { color: var(--blue); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* the reach card: the direct way to us (mail on the start page, the form everywhere else) */
.reach { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line-d); background: linear-gradient(100deg, rgba(91, 142, 230, .16), transparent 70%); transition: border-color .3s, background-color .3s; }
.reach__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.reach__icon .ico { width: 24px; height: 24px; }
.reach__text { display: flex; flex-direction: column; min-width: 0; }
.reach__title { font-size: clamp(18px, 2vw, 24px); font-weight: 300; line-height: 1.25; }
.reach__handle { font-size: 14px; letter-spacing: .06em; color: var(--muted-d); margin-top: 4px; overflow-wrap: anywhere; }
.reach__arrow { width: 22px; height: 22px; margin-left: auto; color: var(--blue); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.reach:hover { border-color: var(--blue); background-color: rgba(91, 142, 230, .08); }
.reach:hover .reach__arrow { transform: translateX(5px); }
.reach:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* legal links */
.legal { display: flex; flex-wrap: wrap; gap: 0 28px; padding-top: 14px; font-size: 13px; letter-spacing: .12em; color: var(--muted-d); }
.legal a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.legal a:hover, .legal a[aria-current="page"] { color: #fff; }
.legal a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* the credit line, centred under the legal links: copyright, a coconut between two fading
   hairlines, and the wordmark of startvisor.AI as text (Jost 500, the heaviest cut we ship)
   instead of their PNG, so ".AI" can glow; the glow breathes slowly and stays a soft halo when
   motion is reduced. One shared baseline in a row, stacked on narrow screens. */
.credit { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 18px; padding-top: 32px; color: var(--muted-d); }
.credit__copy { font-size: 13px; letter-spacing: .08em; }
.credit__sep { display: inline-flex; align-items: center; gap: 10px; align-self: center; color: rgba(238, 240, 242, .5); }
.credit__sep::before, .credit__sep::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22)); }
.credit__sep::after { background: linear-gradient(90deg, rgba(255, 255, 255, .22), transparent); }
.credit__sep .ico { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 560px) { .credit { flex-direction: column; align-items: center; } }
.credit a { display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 4px; margin: -12px 0; color: var(--muted-d); transition: color .2s; }
.credit__by { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.credit__mark { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: rgba(238, 240, 242, .82); transition: color .2s; }
.credit__ai { color: #e8a92b; text-shadow: 0 0 8px rgba(232, 169, 43, .35); }
.credit a:hover, .credit a:focus-visible { color: #eef0f2; }
.credit a:hover .credit__mark, .credit a:focus-visible .credit__mark { color: #fff; }
.credit a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) { .legal, .credit__copy, .credit__by { font-size: 14px; } .legal, .credit__by { letter-spacing: .1em; } }
@media (prefers-reduced-motion: no-preference) {
  .credit__ai { animation: credit-glow 3.6s ease-in-out infinite alternate; }
}
@keyframes credit-glow {
  from { text-shadow: 0 0 3px rgba(232, 169, 43, .18); }
  to { text-shadow: 0 0 10px rgba(232, 169, 43, .62), 0 0 24px rgba(232, 169, 43, .24); }
}

@media print { footer { display: none; } }
