/* ============================================================
   FreeSize website — page styles (shared across all languages)
   Loaded after brand.css (which defines the design tokens).
   ============================================================ */
/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 60; height: 68px; display: flex; align-items: center;
  background: color-mix(in oklch, var(--bg) 84%, transparent); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-head.scrolled { border-bottom-color: var(--border); }
.site-head .container { display: flex; align-items: center; gap: 20px; width: 100%; }
.site-head .fz-name { font-size: 19px; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-head nav a.lnk { font-size: 14px; font-weight: 600; color: var(--muted); padding: 9px 13px; border-radius: 9px; }
.site-head nav a.lnk:hover { color: var(--text); background: var(--surface-3); }
.ttoggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); cursor: pointer; display: grid; place-items: center; margin: 0 4px; }
.ttoggle:hover { background: var(--surface-3); }
@media (max-width: 860px){ .site-head nav .lnk { display: none; } }

/* ---------- animated logo (playful treemap that reflows) ---------- */
.fz-mark-anim { display: inline-flex; border-radius: 26%; overflow: hidden; }
.fz-mark-anim svg { display: block; }
.fz-mark-anim rect.o  { animation: fzReO  7s ease-in-out infinite; }
.fz-mark-anim rect.g  { animation: fzReG  7s ease-in-out infinite; }
.fz-mark-anim rect.q1 { animation: fzReQ1 7s ease-in-out infinite; }
.fz-mark-anim rect.q2 { animation: fzReQ2 7s ease-in-out infinite; }
@keyframes fzReO  { 0%,100%{ width:46.48px } 42%,58%{ width:38px } }
@keyframes fzReG  { 0%,100%{ x:59.98px; width:31.52px; height:51.46px } 42%,58%{ x:51.5px; width:40px; height:62px } }
@keyframes fzReQ1 { 0%,100%{ x:59.98px; y:64.96px; width:13.26px; height:26.54px } 42%,58%{ x:51.5px; y:75.5px; width:17.5px; height:16px } }
@keyframes fzReQ2 { 0%,100%{ x:78.24px; y:64.96px; width:13.26px; height:26.54px } 42%,58%{ x:74px; y:75.5px; width:17.5px; height:16px } }
.fz-logo:hover .fz-mark-anim { animation: fzWiggle .6s ease; }
@keyframes fzWiggle { 30%{ transform: rotate(-6deg) scale(1.06) } 60%{ transform: rotate(5deg) scale(1.04) } 100%{ transform: none } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% 30% auto -10%; height: 60%;
  background: radial-gradient(60% 80% at 30% 20%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 70%);
  filter: blur(20px); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 960px){ .hero .container { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 .accent { background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 22px; max-width: 540px; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .os-note { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero .os-note .ic { display: inline-flex; gap: 9px; color: var(--text-2); }

/* app window mock */
.mock { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-bar .mt { margin-left: auto; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; }
.mock-list { padding: 14px 12px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 11px; }
.ml-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.ml-row .nm { font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ml-row .nm svg { color: var(--accent); }
.ml-bar { height: 7px; border-radius: 5px; background: var(--surface-3); overflow: hidden; grid-column: 1 / -1; margin-top: -3px; }
.ml-bar i { display: block; height: 100%; border-radius: 5px; transform-origin: left; animation: barGrow 1s cubic-bezier(.2,.7,.3,1) both; }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ml-row .sz { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); }
.mock-tm { padding: 12px; }
.tm { position: relative; width: 100%; aspect-ratio: 1 / 1.06; border-radius: 9px; overflow: hidden; background: var(--surface-3); }
.tm .t { position: absolute; border-radius: 5px; border: 1.5px solid var(--surface); overflow: hidden; animation: tilePulse 6s ease-in-out infinite; }
.tm .t:nth-child(2){ animation-delay: .6s } .tm .t:nth-child(3){ animation-delay: 1.2s }
.tm .t:nth-child(4){ animation-delay: 1.8s } .tm .t:nth-child(5){ animation-delay: 2.4s }
@keyframes tilePulse { 0%,100%{ filter: none } 50%{ filter: brightness(1.07) saturate(1.06) } }
.tm .t .l { position: absolute; left: 7px; top: 5px; right: 6px; font-size: 10.5px; font-weight: 700; color: #1d2433; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm .t .s { position: absolute; left: 7px; top: 19px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; color: #1d2433cc; }
@media (max-width: 520px){ .mock-body { grid-template-columns: 1fr; } .mock-list { border-right: none; border-bottom: 1px solid var(--border); } }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface-2); }
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-block: 18px; align-items: center; justify-content: center; }
.trust .ti { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.trust .ti svg, .trust .ti .swiss { color: var(--accent); }

/* ---------- sections ---------- */
section.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-eyebrow { text-align: center; margin-bottom: 14px; }
.sec-title { text-align: center; font-size: var(--fs-h1); max-width: 720px; margin: 0 auto; }
.sec-sub { text-align: center; color: var(--muted); font-size: var(--fs-lead); max-width: 600px; margin: 18px auto 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px){ .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px){ .features { grid-template-columns: 1fr; } }
.feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feat-card .fi { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feat-card h3 { font-size: 18px; margin-bottom: 9px; }
.feat-card p { color: var(--muted); font-size: 14.5px; }

/* showcase */
.showcase { background: var(--surface-2); border-block: 1px solid var(--border); }
.showcase .row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px){ .showcase .row { grid-template-columns: 1fr; } }
.showcase h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.showcase p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.showcase .biglist { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.showcase .biglist .li { display: flex; gap: 12px; align-items: flex-start; }
.showcase .biglist .k { width: 26px; height: 26px; border-radius: 8px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.showcase .biglist .k svg { stroke: #fff; }
.showcase .biglist .li b { font-weight: 700; }
.showcase .biglist .li > div span { color: var(--muted); }   /* description text only — NOT the checkmark */

/* cross-fading visual: treemap <-> sunburst */
.vizdemo { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.vizdemo > * { position: absolute; inset: 0; }
.tm-big { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.tm-big .t { position: absolute; border-radius: 7px; border: 2px solid var(--surface); overflow: hidden; }
.tm-big .t .l { position: absolute; left: 11px; top: 9px; right: 9px; font-size: 13px; font-weight: 700; color: #1d2433; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-big .t .s { position: absolute; left: 11px; top: 28px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #1d2433cc; }
.sb-big { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface-3); box-shadow: var(--shadow-md);
  display: grid; place-items: center; }
.sb-big svg { width: 84%; height: 84%; }
.vizdemo .tm-big { animation: xfadeA 13s ease-in-out infinite; }
.vizdemo .sb-big { animation: xfadeB 13s ease-in-out infinite; }
@keyframes xfadeA { 0%,40%{ opacity:1 } 50%,90%{ opacity:0 } 100%{ opacity:1 } }
@keyframes xfadeB { 0%,40%{ opacity:0 } 50%,90%{ opacity:1 } 100%{ opacity:0 } }
.viz-cap { position: absolute; left: 14px; bottom: 12px; z-index: 3; font-size: 12px; font-weight: 700;
  background: color-mix(in oklch, var(--surface) 80%, transparent); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 30px; border: 1px solid var(--border); color: var(--text-2); }

/* swiss block */
.swissblock .row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
@media (max-width: 860px){ .swissblock .row { grid-template-columns: 1fr; } }
.swissblock h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.swissblock p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.swiss-art { aspect-ratio: 1 / 1; max-width: 360px; margin: 0 auto; border-radius: var(--r-2xl); display: grid; place-items: center;
  background: linear-gradient(155deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-lg); position: relative; }
.swiss-art .bigcross { width: 42%; height: 42%; background: #fff; border-radius: 18px; position: relative; }
.swiss-art .bigcross::before, .swiss-art .bigcross::after { content:""; position:absolute; background: #d52b1e; border-radius: 3px; }
.swiss-art .bigcross::before { width: 56%; height: 16%; left: 22%; top: 42%; }
.swiss-art .bigcross::after { width: 16%; height: 56%; left: 42%; top: 22%; }
.minifacts { display: flex; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
.minifacts .mf b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.minifacts .mf span { font-size: 13px; color: var(--muted); }

/* live demo */
.demo-frame { margin: 48px auto 0; max-width: 1080px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); aspect-ratio: 16 / 10; }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px){ .demo-frame { aspect-ratio: 3 / 4; } }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; align-items: stretch; max-width: 760px; margin-inline: auto; }
@media (max-width: 720px){ .pricing { grid-template-columns: 1fr; max-width: 440px; } }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.price-card .tag { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.price-card.feat .tag { color: var(--accent); }
.price-card .amt { font-size: 42px; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 2px; }
.price-card .amt small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card .pdesc { color: var(--muted); font-size: 14px; min-height: 40px; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); align-items: flex-start; }
.price-card li .k { color: var(--success); flex: none; margin-top: 1px; }
.price-card .b-btn { width: 100%; margin-top: auto; }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--accent); color: var(--teal-ink); font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 30px; letter-spacing: .03em; }

/* download */
.download { text-align: center; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; max-width: 760px; margin-inline: auto; }
@media (max-width: 700px){ .dl-grid { grid-template-columns: 1fr; } }
.dl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 20px; box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s; }
.dl-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.dl-card .os { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--text); }
.dl-card { text-align: center; }
.dl-card .osn { font-weight: 700; font-size: 16px; }
.dl-card .osm { font-size: 13px; color: var(--muted); margin-top: 5px; }
.dl-card .dl-file { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); font-size: 12.5px; color: var(--text-2); }
.dl-card .dl-file .dl-dot { color: var(--faint); }
.dl-card .b-btn { margin-top: 16px; display: inline-flex; }

/* footer */
footer.site-foot { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--surface-2); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 26px; }
@media (max-width: 1000px){ .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 760px){ .foot-top { grid-template-columns: 1fr 1fr; } }
.dl-size { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot-col a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .fz-mark-anim rect, .tm .t, .ml-bar i, .vizdemo .tm-big, .vizdemo .sb-big { animation: none !important; }
  .vizdemo .sb-big { opacity: 0; }
}

/* ---------- language switcher (matches the .ttoggle button height) ---------- */
.langsw { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; margin: 0 6px; background: var(--surface); }
.langsw a { display: flex; align-items: center; font-size: 13px; font-weight: 700; padding: 0 11px; color: var(--muted); line-height: 1; }
.langsw a.on { background: var(--accent); color: var(--teal-ink); }
.langsw a:hover:not(.on) { background: var(--surface-3); color: var(--text); }
.foot-lang { display: inline-flex; gap: 8px; align-items: center; }
.foot-lang a { color: var(--text-2); font-weight: 600; }
.foot-lang a.on { color: var(--accent); }

/* discreet company attribution in the footer */
.foot-company { font-size: 12px; color: var(--faint); }
.foot-company:hover { color: var(--muted); }

/* ---------- legal pages (Impressum / Datenschutz / AGB) ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0 clamp(48px, 8vw, 96px); }
.legal .container { max-width: 760px; }
.legal-back { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent); margin-bottom: 22px; }
.legal-back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; margin: 0 0 10px; }
.legal-intro { color: var(--muted); font-size: 16px; margin: 0 0 8px; }
.legal-sec { margin-top: 30px; }
.legal-sec h2 { font-size: 18px; margin: 0 0 8px; }
.legal-sec p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 0 0 10px; }
.legal-sec a { color: var(--accent); }
.legal-sec a:hover { text-decoration: underline; }
.legal-meta { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; }

/* FAQ accordion (native <details>, no JS) */
.faq-list { max-width: 760px; margin: 38px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color .18s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; }
.faq-item .faq-a p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* Comparison / alternative pages */
.cmp-eyebrow { display: inline-block; margin-top: 6px; }
.cmp-h2 { font-size: 20px; margin: 34px 0 14px; }
.cmp-wrap { overflow-x: auto; margin: 0 -2px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp-table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--border-strong); }
.cmp-table tbody th { font-weight: 600; color: var(--text); width: 32%; }
.cmp-table td { color: var(--text-2); }
.cmp-table .cmp-a { color: var(--text); font-weight: 600; }
.cmp-table thead th.cmp-a { color: var(--accent); }
.cmp-why { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cmp-why li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.cmp-why li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.cmp-fair { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.cmp-cta { margin-top: 42px; padding: 30px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); text-align: center; }
.cmp-cta h2 { font-size: 22px; margin: 0 0 8px; }
.cmp-cta p { color: var(--muted); margin: 0 0 18px; }

/* How-to guide steps */
.guide-steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.guide-step { display: flex; gap: 16px; align-items: flex-start; }
.guide-step .gs-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.guide-step .gs-b h3 { font-size: 17px; margin: 4px 0 6px; }
.guide-step .gs-b p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 0; }
