/* jt-kasse.de – site styles (Bootstrap 5 on top) */
@font-face {
  font-family: "PingFang Web";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/PingFangSC.woff2") format("woff2");
}
:root {
  --brand: #e1000f;
  --brand-2: #ec2c2c;
  --brand-dark: #b8000c;
  --ink: #222;
  --ink-2: #444;
  --muted: #777;
  --grey: #f5f5f5;
  --line: #e4e4e4;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.06);
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--ink); background: #fff; padding-top: 72px; -webkit-font-smoothing: antialiased; line-height: 1.6; }
body[data-lang="zh"] { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", "PingFang Web", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.text-brand { color: var(--brand) !important; }
.narrow { max-width: 900px; }

/* buttons */
.btn { border-radius: 999px; padding: .55rem 1.35rem; font-weight: 600; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1.05rem; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-dark { border-color: #ccc; color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); }

/* header */
.site-header { box-shadow: 0 1px 0 var(--line); }
.site-header .navbar { min-height: 72px; padding: .4rem 0; }
.navbar-brand img { height: 40px; width: auto; }
.main-nav .nav-link { color: var(--ink); font-weight: 500; padding: .6rem .9rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand); }
.navbar-toggler { border: 0; }
.lang-switch .btn { border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.dropdown-menu { border: 0; box-shadow: 0 12px 40px rgba(0,0,0,.12); border-radius: 12px; padding: .6rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand); }
.dropdown-menu.mega { width: 760px; padding: 1rem; }
.dropdown-menu.mega-sm { width: 560px; }
.mega-group { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: .25rem .75rem .5rem; }
.mega-link { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-size: .95rem; white-space: normal; line-height: 1.3; }
.mega-link img { opacity: .8; }
.mega-link:hover { background: var(--grey); color: var(--brand); }
.mega-item { display: flex; gap: .8rem; align-items: center; white-space: normal; }
.mega-item img { border-radius: 10px; flex: 0 0 56px; object-fit: cover; }
.mega-item strong { display: block; color: var(--ink); }
.mega-item small { display: block; color: var(--muted); line-height: 1.35; }
.mega-item:hover strong { color: var(--brand); }
@media (min-width: 1200px) {
  .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .main-nav .dropdown > .dropdown-menu { margin-top: 0; }
}
@media (max-width: 1199.98px) {
  .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; padding: .5rem 0 1rem; }
  .dropdown-menu.mega, .dropdown-menu.mega-sm { width: auto; box-shadow: none; background: var(--grey); }
}

/* hero (home) */
.home-hero { position: relative; background: #111; }
.hero-swiper .swiper-slide { position: relative; min-height: 420px; }
.hero-swiper .swiper-slide picture img { width: 100%; height: 560px; object-fit: cover; display: block; filter: brightness(.55); }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; }
.hero-copy h1, .hero-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.9rem); font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-copy p { font-size: 1.1rem; color: rgba(255,255,255,.9); margin: 1rem 0 1.5rem; max-width: 620px; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; width: 10px; height: 10px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--brand); opacity: 1; }
@media (max-width: 767.98px) {
  .hero-swiper .swiper-slide picture img { height: 520px; }
  .hero-copy { align-items: flex-end; padding-bottom: 3.5rem; }
}

/* trust bar */
.trust-bar { background: var(--ink); color: #fff; padding: .8rem 0; }
.trust-bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; font-size: .9rem; }
.trust-bar li { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.9); }
.trust-bar svg { color: var(--brand-2); }

/* page hero */
.page-hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.page-hero-plain { padding-bottom: 2rem; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: .6rem; }
.lead-text { font-size: 1.1rem; color: var(--ink-2); }
.hero-img { max-height: 420px; border-radius: var(--radius); }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumb a { color: var(--muted); }
.crumb span { margin: 0 .2rem; }

/* sections */
.section { padding: 4rem 0; }
.section-grey { background: var(--grey); }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 720px; margin: -.3rem auto 2rem; }
.block-title { font-size: 1.6rem; margin-bottom: 1rem; }
.block-sub { font-size: 1.15rem; margin-top: 1.4rem; margin-bottom: .4rem; }
.block-text { color: var(--ink-2); margin-bottom: .6rem; }
.block-img { border-radius: var(--radius); max-height: 460px; }

/* icon features */
.icon-feature { text-align: center; padding: 1rem 1.2rem; }
.icon-feature img { margin-bottom: 1rem; }
.icon-feature h3 { font-size: 1.1rem; }
.icon-feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.icon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; height: 100%; }
.section-grey .icon-card { border-color: transparent; box-shadow: var(--shadow); }
.icon-card h3 { font-size: 1.1rem; margin: .6rem 0 .4rem; }
.icon-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.icon-circle { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.icon-circle img { width: 34px; height: 34px; }

/* cards */
.img-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.img-card > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.img-card h3 { font-size: 1.1rem; }
.img-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.section-grey .product-card { border-color: transparent; box-shadow: var(--shadow); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.1); color: var(--ink); }
.product-card img { height: 96px; width: auto; object-fit: contain; align-self: flex-start; margin-bottom: .8rem; }
.product-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.product-card p { color: var(--muted); font-size: .88rem; flex: 1; margin-bottom: .6rem; }
.product-card .more { color: var(--brand); font-weight: 600; font-size: .9rem; }
.industry-tile { display: block; position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; aspect-ratio: 4/3; background: #222; }
.industry-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.industry-tile:hover img { transform: scale(1.05); }
.industry-tile-body { position: absolute; inset: auto 0 0 0; padding: 1rem 1.1rem; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 100%); }
.industry-tile h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .2rem; }
.industry-tile p { color: rgba(255,255,255,.85); font-size: .82rem; margin: 0; line-height: 1.35; }
.industry-tabs .nav-link { color: var(--ink); font-weight: 600; border-radius: 999px; padding: .5rem 1.4rem; }
.industry-tabs .nav-link.active { background: var(--brand); }

/* tax band */
.country-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem 1rem; font-size: .95rem; }
.country-list li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: .5rem; }
.country-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; height: 100%; }
.country-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.country-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.check-list .check-item { display: flex; gap: .8rem; margin-bottom: 1.1rem; }
.check-item svg { color: var(--brand); flex: 0 0 22px; margin-top: .2rem; }
.check-item h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.check-item p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* partners */
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; }
.partner-logos img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.partner-card { text-align: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.partner-card img { height: 48px; width: auto; margin-bottom: 1rem; }
.partner-card h3 { font-size: 1.05rem; }
.partner-card p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.brand-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; gap: 2rem; width: max-content; animation: marquee 40s linear infinite; }
.brand-track img { height: 64px; width: auto; filter: grayscale(1); opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* benefits */
.benefits-band { background: var(--ink); color: #fff; }
.benefit { position: relative; padding: 1.5rem 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.06); height: 100%; }
.benefit .num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.benefit h3 { color: #fff; font-size: 1.1rem; }
.benefit p { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; }
.benefit-light { background: var(--grey); }
.benefit-light h3 { color: var(--ink); }
.benefit-light p { color: var(--ink-2); }

/* faq */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .6rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 600; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); }
.faq .accordion-body { color: var(--ink-2); }

/* contact */
.contact-cards { display: grid; gap: .8rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 12px; padding: 1rem 1.1rem; color: var(--ink); box-shadow: var(--shadow); }
.contact-card strong { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-card b { display: block; font-size: 1.05rem; }
.contact-card small { color: var(--muted); }
.contact-card .icon-circle { flex: 0 0 52px; }
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; }
.form-control { border-radius: 10px; padding: .65rem .9rem; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(225,0,15,.12); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* legal */
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal p { color: var(--ink-2); margin-bottom: .4rem; }
.thanks { padding: 6rem 0; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #b3000b 100%); color: #fff; padding: 3.5rem 0; }
.cta-band h2 { color: #fff; font-size: 1.7rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 640px; }
.cta-band .btn-light { color: var(--brand); }

/* footer */
.site-footer { background: #1b1b1b; color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: .8rem; }
.footer-tagline { color: rgba(255,255,255,.65); }
.site-footer ul li { margin-bottom: .35rem; }
.footer-2col { columns: 2; column-gap: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-legal a { margin-left: 1rem; }

/* whatsapp floating button */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 1030; }
.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }

@media (max-width: 575.98px) {
  .industry-tile p { display: none; }
  .industry-tile h3 { font-size: .95rem; }
  .industry-tile-body { padding: .7rem .8rem; }
}
@media (max-width: 767.98px) {
  body { padding-top: 64px; }
  .site-header .navbar { min-height: 64px; }
  .navbar-brand img { height: 34px; }
  .section { padding: 2.75rem 0; }
  .page-hero { padding: 2rem 0; }
  .hero-img { max-height: 280px; }
  .footer-legal a { margin-left: 0; margin-right: 1rem; }
  .country-list { grid-template-columns: 1fr; }
}

/* CTA card inside product grid */
.cta-card { display: flex; flex-direction: column; justify-content: center; height: 100%; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.cta-card h3 { color: #fff; font-size: 1.1rem; }
.cta-card p { color: rgba(255,255,255,.75); font-size: .9rem; }
.btn-brand:disabled, .btn-brand.disabled { background: #d9d9d9; border-color: #d9d9d9; color: #fff; opacity: 1; cursor: not-allowed; }
