/* SwissHash — Übergabeseite an Hashlabs
   Markenwerte aus swisshash.com: Primär #2e6bc6, Akzent #fbbc34,
   Titel #242424, Fließtext #767676, Radius 8px, Jost + Hanken Grotesk. */

:root{
  --blue:#2e6bc6;
  --blue-dark:#24559e;
  --blue-light:#5a8fdb;
  --blue-tint:#eef3fc;
  --gold:#fbbc34;
  --ink:#242424;
  --ink-soft:#333333;
  --body:#767676;
  --line:#e6e8ec;
  --line-soft:#f0f1f4;
  --bg:#ffffff;
  --bg-alt:#f7f8fa;
  --radius:8px;
  --wrap:1180px;
  --font-title:"Hanken Grotesk","hkgroteskpro",system-ui,-apple-system,"Segoe UI",Arial,Helvetica,sans-serif;
  --font-body:"Jost",system-ui,-apple-system,"Segoe UI",Arial,Helvetica,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--body);
  font-family:var(--font-body);font-size:16px;font-weight:400;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
h1,h2,h3{font-family:var(--font-title);color:var(--ink);margin:0;font-weight:700;letter-spacing:-.015em}
h1{font-size:clamp(2.1rem,4.6vw,3.5rem);line-height:1.08}
h2{font-size:clamp(1.6rem,2.9vw,2.3rem);line-height:1.2}
h3{font-size:1.05rem;font-weight:600;line-height:1.35}
p{margin:0}
ol,ul{margin:0;padding:0;list-style:none}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:24px}

.skip{position:absolute;left:-9999px;top:0;background:var(--blue);color:#fff;padding:.7rem 1rem;z-index:100;border-radius:0 0 var(--radius) 0}
.skip:focus{left:0}

:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-title);font-size:.82rem;font-weight:600;letter-spacing:.03em;
  padding:.85rem 1.5rem;border-radius:var(--radius);border:1px solid transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 18px rgba(46,107,198,.18)}
.btn-primary:hover{background:var(--blue-dark)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue)}
.btn-invert{background:#fff;color:var(--blue)}
.btn-invert:hover{background:var(--blue-tint)}
.btn-sm{padding:.6rem 1.1rem;font-size:.78rem}
.actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2rem}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:1.5rem;height:74px}
.brand img{height:34px;width:auto}
.site-nav{display:flex;gap:1.75rem;margin-left:auto}
.site-nav a{
  font-family:var(--font-title);font-size:.85rem;font-weight:600;color:var(--ink-soft);
  position:relative;padding-block:.25rem;
}
.site-nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--blue);
  transition:right .22s ease;
}
.site-nav a:hover::after{right:0}
.header-actions{display:flex;align-items:center;gap:.85rem;margin-left:auto}
.site-nav + .header-actions{margin-left:0}

.lang{display:inline-flex;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.lang button{
  appearance:none;border:0;background:transparent;cursor:pointer;
  font-family:var(--font-title);font-size:.74rem;font-weight:600;letter-spacing:.05em;
  color:var(--body);padding:.45rem .65rem;transition:background .15s,color .15s;
}
.lang button + button{border-left:1px solid var(--line)}
.lang button:hover{color:var(--ink)}
.lang button[aria-pressed="true"]{background:var(--blue-tint);color:var(--blue)}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  padding:clamp(3.5rem,7vw,6rem) 0 clamp(3.5rem,6vw,5.5rem);
  background:
    radial-gradient(760px 420px at 88% -12%,rgba(46,107,198,.10),transparent 62%),
    radial-gradient(520px 320px at 2% 108%,rgba(251,188,52,.10),transparent 60%),
    var(--bg);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(var(--line-soft) 1px,transparent 1px),linear-gradient(90deg,var(--line-soft) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(70% 60% at 50% 0%,#000 20%,transparent 78%);
}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,5vw,4rem);align-items:center}

.badge{
  display:inline-flex;align-items:center;gap:.6rem;
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:.4rem .9rem .4rem .75rem;margin-bottom:1.4rem;
  font-family:var(--font-title);font-size:.75rem;font-weight:600;color:var(--ink-soft);
  box-shadow:0 2px 10px rgba(36,36,36,.04);
}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none;box-shadow:0 0 0 3px rgba(251,188,52,.2)}
h1 .accent{color:var(--blue)}
.lead{font-size:1.06rem;line-height:1.75;max-width:36em;margin-top:1.1rem}
.hero-note{
  margin-top:1.75rem;padding-left:.9rem;border-left:2px solid var(--gold);
  font-size:.87rem;line-height:1.6;color:var(--body);max-width:34em;
}

.handover{display:flex;align-items:center;justify-content:center;gap:.9rem}
.handover-card{
  flex:1 1 0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem 1.25rem;text-align:center;box-shadow:0 12px 34px rgba(36,36,36,.06);
}
.handover-card.is-target{border-color:rgba(46,107,198,.28);box-shadow:0 14px 40px rgba(46,107,198,.14)}
.handover-label{
  display:block;font-family:var(--font-title);font-size:.62rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--body);margin-bottom:1.1rem;
}
.handover-card.is-target .handover-label{color:var(--blue)}
.handover-logo{height:30px;width:auto;margin-inline:auto;object-fit:contain}
.handover-logo--hl{height:20px}
.handover-arrow{color:var(--blue);flex:none;opacity:.8}

/* ---------- Stats ---------- */
.stats-band{background:var(--bg-alt);border-block:1px solid var(--line)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.stat{padding:1.9rem 0;text-align:left}
.stat + .stat{border-left:1px solid var(--line);padding-left:2rem}
.stat strong{
  display:block;font-family:var(--font-title);font-size:2rem;font-weight:700;
  color:var(--blue);line-height:1;margin-bottom:.35rem;letter-spacing:-.02em;
}
.stat span{font-size:.82rem;line-height:1.45;display:block}

/* ---------- Sections ---------- */
.section{padding:clamp(3.5rem,7vw,6rem) 0}
.section-alt{background:var(--bg-alt);border-block:1px solid var(--line)}
.eyebrow{
  display:flex;align-items:center;gap:.7rem;margin-bottom:1rem;
  font-family:var(--font-title);font-size:.7rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--blue);
}
.eyebrow::after{content:"";display:block;width:2.2rem;height:2px;background:var(--gold)}
.section-lead{font-size:1rem;line-height:1.75;max-width:44em;margin-top:.9rem}

/* ---------- Service cards ---------- */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2.75rem}
.card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.75rem 1.5rem;color:var(--body);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.card:hover{border-color:rgba(46,107,198,.35);box-shadow:0 14px 32px rgba(36,36,36,.07);transform:translateY(-2px)}
.card-icon{
  display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius);
  background:var(--blue-tint);color:var(--blue);margin-bottom:1.25rem;
}
.card-icon svg{width:22px;height:22px}
.card h3{margin-bottom:.6rem}
.card p{font-size:.9rem;line-height:1.65;flex:1}
.card-link{
  display:inline-block;margin-top:1.25rem;font-family:var(--font-title);
  font-size:.8rem;font-weight:600;color:var(--blue);
}
.tag{
  display:inline-block;vertical-align:middle;margin-left:.4rem;
  background:var(--blue-tint);color:var(--blue);border-radius:4px;
  padding:.15rem .45rem;font-family:var(--font-body);font-size:.62rem;
  font-weight:500;letter-spacing:.04em;text-transform:uppercase;
}

/* ---------- Changes ---------- */
.changes{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-top:2.75rem}
.changes li{
  display:flex;gap:1.1rem;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.6rem 1.5rem;
}
.changes .num{
  font-family:var(--font-title);font-size:.8rem;font-weight:700;color:var(--blue);
  background:var(--blue-tint);border-radius:6px;padding:.3rem .5rem;height:fit-content;flex:none;
}
.changes h3{margin-bottom:.45rem}
.changes p{font-size:.9rem;line-height:1.65}
.inline-link{
  display:inline-block;margin-top:.75rem;font-family:var(--font-title);
  font-size:.8rem;font-weight:600;color:var(--blue);
}
.inline-link:hover{color:var(--blue-dark)}

/* ---------- About ---------- */
.about{display:grid;grid-template-columns:1.4fr .6fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.about .section-lead + .section-lead{margin-top:1rem}
.press{background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.5rem}
.press-label{
  font-family:var(--font-title);font-size:.66rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--body);margin-bottom:1rem;
}
.press ul{display:grid;gap:.1rem}
.press li a{
  display:block;padding:.62rem 0;font-family:var(--font-title);font-size:.92rem;
  font-weight:600;color:var(--ink);border-bottom:1px solid var(--line);
}
.press li:last-child a{border-bottom:0}
.press li a:hover{color:var(--blue)}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(115deg,var(--blue-dark),var(--blue) 55%,var(--blue-light));
  color:#fff;
}
.cta-inner{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;
  padding-block:clamp(2.5rem,5vw,3.5rem);
}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.85);margin-top:.5rem;font-size:.98rem}

/* ---------- Kontakt ---------- */
.contact-box{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;
  margin-top:2.5rem;padding:2rem 2.25rem;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 12px 32px rgba(36,36,36,.05);
}
.contact-box h3{font-size:1.15rem;margin-bottom:.4rem}
.contact-box p{font-size:.92rem;line-height:1.65;max-width:42em}
.contact-box .btn{flex:none}
.socials{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.75rem}
.socials a{
  border:1px solid var(--line);border-radius:999px;padding:.42rem 1rem;
  font-family:var(--font-title);font-size:.78rem;font-weight:600;color:var(--ink-soft);
  transition:border-color .18s,color .18s;
}
.socials a:hover{border-color:var(--blue);color:var(--blue)}

/* ---------- Legal ---------- */
.legal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(2rem,5vw,3.5rem)}
.legal h2{font-size:1.35rem}
.legal-body{margin-top:1.1rem;display:grid;gap:1rem;font-size:.9rem;line-height:1.7}
.legal-body strong{color:var(--ink);font-weight:600}
.legal-note{padding-top:1rem;border-top:1px solid var(--line);font-size:.84rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:rgba(255,255,255,.62);padding-block:3rem 1.75rem;font-size:.85rem}
.footer-inner{display:flex;justify-content:space-between;gap:2.5rem;flex-wrap:wrap}
.footer-brand{max-width:34em}
.footer-brand img{height:32px;width:auto;filter:invert(1) brightness(2);margin-bottom:1rem}
.footer-brand p{line-height:1.65}
.footer-links{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:flex-start}
.footer-links a{color:rgba(255,255,255,.8);font-family:var(--font-title);font-weight:500;font-size:.85rem}
.footer-links a:hover{color:#fff}
.footer-link-button{
  appearance:none;border:0;background:transparent;padding:0;cursor:pointer;
  color:rgba(255,255,255,.8);font-family:var(--font-title);font-weight:500;
  font-size:.85rem;line-height:inherit;
}
.footer-link-button:hover{color:#fff}
.footer-bottom{
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.12);
  font-size:.78rem;color:rgba(255,255,255,.45);
}

/* ---------- Einwilligung ---------- */
.consent{
  position:fixed;inset:0;z-index:80;
  display:flex;align-items:flex-end;justify-content:center;padding:1.25rem;
}
.consent[hidden]{display:none}
.consent::before{
  content:"";position:absolute;inset:0;
  background:rgba(36,36,36,.45);backdrop-filter:blur(2px);
}
.consent-sheet{
  position:relative;width:100%;max-width:var(--wrap);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.75rem 2rem;box-shadow:0 24px 60px rgba(36,36,36,.22);
}
.consent-copy{flex:1 1 28rem;min-width:0}
.consent-sheet h2{font-size:1.05rem;margin-bottom:.4rem}
.consent-sheet p{font-size:.86rem;line-height:1.6}
.consent-link{
  display:inline-block;margin-top:.6rem;font-family:var(--font-title);
  font-size:.78rem;font-weight:600;color:var(--blue);
}
.consent-actions{display:flex;gap:.75rem;flex:none}
.consent-actions .btn{min-width:9rem}

/* ---------- Responsive ---------- */
@media (max-width:1020px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .hero-inner{grid-template-columns:1fr}
  .handover{max-width:560px}
  .about{grid-template-columns:1fr}
}
@media (max-width:860px){
  .site-nav{display:none}
  .stats{grid-template-columns:repeat(2,1fr);gap:0 2rem}
  .stat:nth-child(odd){border-left:0;padding-left:0}
  .changes{grid-template-columns:1fr}
  .contact-box{padding:1.75rem}
  .legal-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
  .wrap{padding-inline:18px}
  .consent{padding:.75rem}
  .consent-sheet{padding:1.25rem;gap:1.1rem}
  .consent-actions{width:100%}
  .consent-actions .btn{flex:1 1 0;min-width:0}
  .header-inner{height:64px;gap:.75rem}
  .brand img{height:28px}
  .cards{grid-template-columns:1fr}
  .handover{flex-direction:column;gap:.6rem}
  .handover-card{width:100%}
  .handover-arrow{transform:rotate(90deg)}
  .actions .btn{width:100%}
  .cta-inner .btn{width:100%}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
