/*
Theme Name: inaswiss
Theme URI: https://inaswiss.ch
Author: inaswiss Technology GmbH
Author URI: https://inaswiss.ch
Description: Custom standalone theme reproducing the inaswiss / Pay Solution static site design (site-v2) pixel-for-pixel. Ships 27 hardcoded page templates (Home, Unternehmen, Zahlungsloesungen, Event & Venue, Referenzen, Kontakt, Impressum, Datenschutz, 9 simply-X product pages, 8 PayTec terminal pages).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: inaswiss
License: Proprietary
*/

/* Theme CSS is loaded from assets/css/site.css via wp_enqueue_style() in functions.php
   (kept as a separate file for maintainability; this header comment block is required
   by WordPress and must remain the first thing in style.css). */
:root { --navy:#0a1f38; --navy2:#123a5e; --red:#e01b24; --red2:#ff4d4d; --grey:#f4f6f8; --text:#1c2b3a; --muted:#5b6b7a; --orange:#e8912b; --shadow:0 14px 34px rgba(10,31,56,.16); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; color:var(--text); background:#fff; }
a { text-decoration:none; color:inherit; }
header.topbar { position:sticky; top:0; z-index:200; background:rgba(10,31,56,.97); backdrop-filter:blur(8px); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:13px 32px; box-shadow:0 2px 18px rgba(0,0,0,.18); border-bottom:2px solid var(--red); }
.brand img { height:36px; display:block; }
nav.mainnav { display:flex; gap:24px; }
nav.mainnav a.navlink { font-size:.93rem; font-weight:700; opacity:.88; padding:8px 2px; border-bottom:2px solid transparent; transition:all .2s; letter-spacing:.2px; }
nav.mainnav a.navlink:hover, nav.mainnav a.navlink.current { opacity:1; border-color:var(--red); }
.header-right { display:flex; align-items:center; gap:14px; }
.lang-switch button { background:transparent; border:1px solid rgba(255,255,255,.35); color:#fff; padding:5px 12px; margin-left:4px; border-radius:20px; cursor:pointer; font-size:.8rem; font-weight:700; transition:all .2s; }
.lang-switch button.active, .lang-switch button:hover { background:var(--red); border-color:var(--red); }

.hero { position:relative; min-height:94vh; display:flex; align-items:center; background-size:cover; background-position:center; background-repeat:no-repeat; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(125deg, rgba(10,31,56,.96) 26%, rgba(10,31,56,.62) 78%); }
.hero-overlay::after { content:""; position:absolute; right:0; top:0; bottom:0; width:6px; background:linear-gradient(180deg, var(--red), var(--orange)); }
.hero-content { position:relative; z-index:2; color:#fff; max-width:700px; padding:0 48px; }
.eyebrow { display:block; color:var(--red2); font-weight:800; font-size:.85rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:14px; }
.kicker { display:inline-block; background:var(--red); padding:6px 16px; border-radius:20px; font-size:.82rem; font-weight:700; letter-spacing:.5px; margin-bottom:22px; box-shadow:0 6px 18px rgba(224,27,36,.4); }
.hero h1 { font-size:clamp(2.6rem, 4.6vw, 4rem); line-height:1.08; margin:0 0 20px; font-weight:900; letter-spacing:-.5px; text-shadow:0 4px 24px rgba(0,0,0,.25); }
.hero h1 .accent { color:var(--red2); }
.hero-sub { font-size:1.2rem; opacity:.95; margin-bottom:34px; line-height:1.6; max-width:600px; }
.hero-ctas { display:flex; gap:16px; flex-wrap:wrap; }
.hero-proof { display:flex; gap:28px; margin-top:44px; flex-wrap:wrap; }
.hero-proof-item { }
.hero-proof-num { font-size:1.8rem; font-weight:900; color:#fff; }
.hero-proof-label { font-size:.78rem; opacity:.75; text-transform:uppercase; letter-spacing:.5px; }

.page-hero { background:linear-gradient(125deg, var(--navy), var(--navy2) 60%, #1a4a73); color:#fff; padding:76px 48px 64px; text-align:center; position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, var(--red), var(--orange)); height:5px; top:0; }
.page-hero .crumb { font-size:.82rem; opacity:.7; margin-bottom:16px; }
.page-hero .crumb a:hover { text-decoration:underline; }
.page-hero h1 { font-size:clamp(2rem, 3.6vw, 2.7rem); font-weight:900; margin:0 0 14px; letter-spacing:-.3px; }
.page-hero p { opacity:.9; max-width:680px; margin:0 auto; font-size:1.08rem; }

.btn { display:inline-block; padding:15px 30px; border-radius:8px; font-weight:700; font-size:.97rem; transition:all .25s; letter-spacing:.2px; }
.btn-primary { background:var(--red); color:#fff; box-shadow:0 10px 26px rgba(224,27,36,.38); }
.btn-primary:hover { background:#b91922; transform:translateY(-3px); box-shadow:0 14px 32px rgba(224,27,36,.48); }
.btn-outline { border:2px solid rgba(255,255,255,.75); color:#fff; }
.btn-outline:hover { background:#fff; color:var(--navy); transform:translateY(-3px); }

.trust-banner { line-height:0; }
.trust-banner img { width:100%; display:block; }

.stats-bar { display:flex; justify-content:center; gap:0; flex-wrap:wrap; background:linear-gradient(120deg, var(--navy) 0%, #143355 100%); color:#fff; padding:52px 20px; position:relative; }
.stats-bar::before { content:""; position:absolute; inset:0; top:0; height:4px; background:linear-gradient(90deg, var(--red), var(--orange)); }
.stat { text-align:center; min-width:150px; padding:0 34px; border-right:1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right:none; }
.stat-num { font-size:clamp(2.4rem,3.4vw,3.1rem); font-weight:900; color:var(--red2); letter-spacing:-1px; }
.stat-label { font-size:.86rem; opacity:.85; margin-top:6px; font-weight:600; text-transform:uppercase; letter-spacing:.4px; }

.section { padding:84px 48px; max-width:1200px; margin:0 auto; }
.section.narrow { max-width: 860px; }
.section.alt { background:var(--grey); max-width:none; }
.section.alt > * { max-width:1200px; margin-left:auto; margin-right:auto; }
.section-eyebrow { display:block; text-align:center; color:var(--red); font-weight:800; font-size:.82rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:12px; }
.section-title { font-size:clamp(1.9rem,2.6vw,2.5rem); font-weight:900; color:var(--navy); margin-bottom:16px; text-align:center; position:relative; letter-spacing:-.5px; }
.section-title::after { content:""; display:block; width:64px; height:5px; background:linear-gradient(90deg, var(--red), var(--orange)); margin:16px auto 0; border-radius:3px; }
.section-title.left { text-align:left; }
.section-title.left::after { margin:16px 0 0; }
.section-sub { text-align:center; color:var(--muted); margin:0 0 34px; max-width:740px; margin-left:auto; margin-right:auto; font-size:1.05rem; line-height:1.6; }

.area-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.area-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); transition:transform .3s, box-shadow .3s; border-top:4px solid var(--red); position:relative; }
.area-card:hover { transform:translateY(-8px) scale(1.015); box-shadow:0 20px 42px rgba(10,31,56,.22); }
.area-card-img { height:190px; background-size:contain; background-repeat:no-repeat; background-position:center; background-color:#eef1f4; }
.area-card-body { padding:24px 24px 28px; }
.area-card-body h3 { font-size:1.16rem; color:var(--navy); margin:0 0 10px; font-weight:800; }
.area-card-body p { font-size:.92rem; color:var(--muted); line-height:1.55; margin:0 0 16px; }
.text-link { color:var(--red); font-weight:700; font-size:.9rem; }

.connect-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.connect-item { background:#fff; border-radius:12px; padding:22px 16px; text-align:center; box-shadow:0 2px 10px rgba(11,37,64,.06); }
.connect-icon { font-size:1.6rem; margin-bottom:8px; }
.connect-item h4 { font-size:.9rem; color:var(--navy); margin:0 0 6px; }
.connect-item p { font-size:.78rem; color:var(--muted); line-height:1.4; margin:0; }

.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:40px; }
.product-card { text-align:center; }
.product-img-wrap { border-radius:12px; overflow:hidden; height:190px; margin-bottom:14px; background:#fff; border:1px solid #e7eaee; display:flex; align-items:center; justify-content:center; padding:14px; box-sizing:border-box; }
.product-img-wrap img { width:100%; height:100%; object-fit:contain; transition:transform .35s; }
.product-card:hover .product-img-wrap img { transform:scale(1.08); }
.product-card h4 { font-size:1rem; color:var(--navy); margin:0 0 8px; }
.product-card p { font-size:.86rem; color:var(--muted); line-height:1.5; }

.chips-title { text-align:center; color:var(--navy); font-size:1.05rem; margin-bottom:16px; }
.chips-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.chip { background:#fff; border:1px solid #d9e0e7; color:var(--navy); font-size:.82rem; font-weight:600; padding:8px 16px; border-radius:20px; }

.module-row { display:flex; align-items:center; gap:50px; margin-bottom:68px; }
.module-row:last-child { margin-bottom:0; }
.module-row.reverse { flex-direction:row-reverse; }
.module-media { flex:0 0 42%; position:relative; }
.module-media img { width:100%; border-radius:16px; box-shadow:0 18px 40px rgba(10,31,56,.24); display:block; }
.module-inset { position:absolute; bottom:-22px; right:-22px; width:46% !important; border-radius:10px !important; box-shadow:0 8px 22px rgba(0,0,0,.35) !important; border:3px solid #fff; }
.module-copy { flex:1; }
.module-name { display:inline-block; color:var(--orange); font-weight:900; letter-spacing:.3px; font-size:.97rem; margin-bottom:9px; text-transform:lowercase; }
.module-tag { display:inline-block; margin-left:10px; background:#fff3e6; color:var(--orange); border:1px solid #f3d3a8; font-size:.75rem; font-weight:800; padding:4px 11px; border-radius:12px; }
.module-copy h3 { font-size:1.55rem; color:var(--navy); margin:7px 0 11px; font-weight:900; letter-spacing:-.3px; }
.module-desc { color:var(--muted); font-size:.98rem; margin-bottom:18px; line-height:1.6; }
.module-facts { margin:0; padding-left:20px; color:var(--text); font-size:.92rem; line-height:1.95; }
.module-facts li::marker { color:var(--red); font-weight:800; }

.mini-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:10px; }
.mini-card { background:#fff; border:1px solid #e7eaee; border-radius:14px; padding:22px; text-align:center; transition:all .25s; box-shadow:0 2px 10px rgba(11,37,64,.05); }
.mini-card:hover { transform:translateY(-5px); box-shadow:0 14px 26px rgba(11,37,64,.14); border-color:var(--red); }
.mini-card .mini-icon { font-size:1.7rem; margin-bottom:10px; }
.mini-card h5 { margin:0 0 7px; color:var(--navy); font-size:.95rem; font-weight:800; }
.mini-card p { margin:0; font-size:.82rem; color:var(--muted); line-height:1.5; }

.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:26px; counter-reset:step; }
.process-step { background:#fff; border-radius:16px; padding:30px 24px; box-shadow:var(--shadow); position:relative; border-bottom:4px solid var(--red); }
.process-num { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg, var(--red), var(--orange)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:1.2rem; margin-bottom:18px; box-shadow:0 8px 18px rgba(224,27,36,.32); }
.process-step h4 { color:var(--navy); font-size:1.05rem; margin:0 0 10px; font-weight:800; }
.process-step p { color:var(--muted); font-size:.88rem; line-height:1.55; margin:0; }
.process-arrow { display:none; }

.gallery-band { padding:60px 0 70px; text-align:center; max-width:1200px; margin:0 auto; }
.gallery-band h3 { color:var(--navy); font-size:1.3rem; margin-bottom:22px; }
.gallery-img { width:100%; max-width:1200px; border-radius:10px; box-shadow:0 6px 22px rgba(11,37,64,.12); }

.promo-banner { max-width:1200px; margin:0 auto; padding:0 48px; }
.promo-banner img { width:100%; border-radius:16px; box-shadow:0 20px 44px rgba(10,31,56,.28); display:block; }
.mkt-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.mkt-gallery img { width:100%; border-radius:14px; box-shadow:0 12px 28px rgba(10,31,56,.2); display:block; transition:transform .3s; }
.mkt-gallery img:hover { transform:scale(1.02); }
.mkt-gallery .span2 { grid-column:span 2; }
@media (max-width:900px) {
  .mkt-gallery { grid-template-columns:1fr; }
  .mkt-gallery .span2 { grid-column:span 1; }
  .promo-banner { padding:0 22px; }
}

.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.why-item { background:#fff; padding:28px 22px; border-radius:14px; text-align:center; box-shadow:0 3px 14px rgba(11,37,64,.07); transition:all .25s; border:1px solid #eef1f4; border-top:3px solid transparent; }
.why-item:hover { transform:translateY(-6px); border-top-color:var(--red); box-shadow:0 16px 30px rgba(11,37,64,.14); }
.why-icon { font-size:2rem; margin-bottom:12px; }
.why-item h4 { font-size:1rem; color:var(--navy); margin:0 0 9px; font-weight:800; }
.why-item p { font-size:.86rem; color:var(--muted); line-height:1.55; }

.logo-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:18px; align-items:center; }
.logo-item { background:#fff; border:1px solid #e7eaee; border-radius:10px; padding:16px; display:flex; align-items:center; justify-content:center; height:80px; filter:grayscale(100%); opacity:.75; transition:all .25s; }
.logo-item:hover { filter:grayscale(0%); opacity:1; transform:translateY(-4px) scale(1.04); box-shadow:0 12px 22px rgba(11,37,64,.14); border-color:var(--red); }
.logo-item img { max-width:100%; max-height:100%; object-fit:contain; }

.badge-row { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin:22px 0 6px; }
.badge-pill { background:#fff3e6; color:var(--orange); border:1px solid #f3d3a8; font-size:.82rem; font-weight:800; padding:8px 18px; border-radius:20px; }

.accordion { max-width:760px; margin:0 auto; }
.acc-item { border-bottom:1px solid #e3e8ee; }
.acc-q { width:100%; background:none; border:none; text-align:left; padding:18px 4px; font-size:1rem; font-weight:600; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.acc-caret { transition:transform .25s; color:var(--red); }
.acc-item.open .acc-caret { transform:rotate(180deg); }
.acc-a { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.acc-item.open .acc-a { max-height:220px; }
.acc-a p { padding:0 4px 18px; color:var(--muted); font-size:.92rem; line-height:1.6; margin:0; }

.cta-band { position:relative; padding:100px 40px; text-align:center; color:#fff; overflow:hidden; }
.cta-band-img { position:absolute; inset:0; background-size:cover; background-position:center; }
.cta-band-overlay { position:absolute; inset:0; background:linear-gradient(120deg, rgba(10,31,56,.9), rgba(224,27,36,.55)); }
.cta-band-content { position:relative; z-index:2; }
.cta-band-content h2 { font-size:clamp(1.9rem,3vw,2.5rem); margin-bottom:30px; font-weight:900; letter-spacing:-.3px; max-width:760px; margin-left:auto; margin-right:auto; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

.lang-page { display:none; }
body.show-de .lang-page[data-lang="de"] { display:block; }
body.show-en .lang-page[data-lang="en"] { display:block; }
body.show-it .lang-page[data-lang="it"] { display:block; }
nav.mainnav[data-lang] { display:none; }
body.show-de nav.mainnav[data-lang="de"] { display:flex; }
body.show-en nav.mainnav[data-lang="en"] { display:flex; }
body.show-it nav.mainnav[data-lang="it"] { display:flex; }
.page-hero[data-lang] { display:none; }
body.show-de .page-hero[data-lang="de"] { display:block; }
body.show-en .page-hero[data-lang="en"] { display:block; }
body.show-it .page-hero[data-lang="it"] { display:block; }
footer .lang-foot[data-lang] { display:none; }
body.show-de footer .lang-foot[data-lang="de"] { display:flex; }
body.show-en footer .lang-foot[data-lang="en"] { display:flex; }
body.show-it footer .lang-foot[data-lang="it"] { display:flex; }

article.legal { max-width:760px; margin:0 auto; line-height:1.7; }
article.legal h2 { color:var(--navy); font-size:1.2rem; margin-top:32px; }
article.legal h3 { color:var(--navy); font-size:1.05rem; margin-top:26px; }
article.legal p, article.legal li { color:var(--text); font-size:.95rem; }

.timeline { max-width:760px; margin:0 auto; }
.timeline-item { border-left:3px solid var(--red); padding:4px 0 26px 24px; position:relative; }
.timeline-item::before { content:""; position:absolute; left:-7px; top:6px; width:11px; height:11px; border-radius:50%; background:var(--red); }
.timeline-item h4 { color:var(--navy); margin:0 0 8px; font-size:1.05rem; }
.timeline-item p { color:var(--muted); margin:0; font-size:.92rem; line-height:1.6; }

.brand-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.brand-card { background:#fff; border:1px solid #e7eaee; border-radius:12px; padding:24px; }
.brand-card h4 { color:var(--navy); margin:0 0 10px; }
.brand-card p { color:var(--muted); font-size:.9rem; margin:0; line-height:1.55; }

.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-card { background:#fff; border:1px solid #e7eaee; border-radius:14px; padding:30px; }
.contact-card h3 { color:var(--navy); margin-top:0; }
.contact-card a { color:var(--red); font-weight:600; }
.map-placeholder { border-radius:14px; overflow:hidden; height:100%; min-height:280px; background-size:cover; background-position:center; box-shadow:0 8px 22px rgba(11,37,64,.12); }
.form-note { background:#fff3e6; border:1px solid #f3d3a8; color:#7a4b12; border-radius:10px; padding:16px 18px; font-size:.85rem; margin-top:18px; }

footer { background:var(--navy); color:#cdd6e0; padding:50px 48px 26px; }
.footer-grid { display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; max-width:1200px; margin:0 auto 30px; }
.footer-grid img { height:30px; margin-bottom:10px; }
footer .legal-links { display:flex; gap:16px; justify-content:center; margin-bottom:14px; font-size:.82rem; }
footer .legal-links a:hover { text-decoration:underline; }
footer .fine { text-align:center; font-size:.78rem; opacity:.6; border-top:1px solid rgba(255,255,255,.12); padding-top:18px; }

.note-badge { position:fixed; bottom:18px; right:18px; z-index:300; background:#fff; color:var(--navy); border:1px solid #e3e8ee; padding:10px 16px; border-radius:30px; font-size:.78rem; box-shadow:0 4px 14px rgba(0,0,0,.12); }

@media (max-width:900px) {
  nav.mainnav { display:none !important; }
  .area-grid, .product-grid, .why-grid, .mini-grid, .brand-grid, .process-grid { grid-template-columns:repeat(2,1fr); }
  .connect-grid { grid-template-columns:repeat(2,1fr); }
  .logo-grid { grid-template-columns:repeat(3,1fr); }
  .hero h1 { font-size:1.9rem; }
  .module-row, .module-row.reverse { flex-direction:column; }
  .module-media { flex:none; width:100%; }
  .contact-grid { grid-template-columns:1fr; }
  .stat { border-right:none; padding:0 18px; }
}
@media (max-width:560px) {
  .area-grid, .product-grid, .why-grid, .logo-grid, .mini-grid, .brand-grid, .process-grid { grid-template-columns:1fr 1fr; }
  .section { padding:56px 22px; }
}

.breadcrumb { font-size:.8rem; color:rgba(255,255,255,.75); margin-bottom:10px; }
.breadcrumb a:hover { text-decoration:underline; }
.product-hero { display:flex; gap:50px; align-items:center; padding:60px 48px; max-width:1200px; margin:0 auto; }
.product-hero-img { flex:0 0 40%; background:#f4f6f8; border-radius:16px; padding:30px; text-align:center; }
.product-hero-img img { max-width:100%; max-height:380px; object-fit:contain; }
.product-hero-copy { flex:1; }
.product-hero-copy h1 { font-size:2rem; color:var(--navy); margin:0 0 14px; }
.product-hero-copy .tagline { color:var(--muted); font-size:1.05rem; margin-bottom:24px; line-height:1.55; }
.product-hero-copy ul.features { margin:0 0 26px; padding-left:20px; color:var(--text); line-height:1.9; }
.spec-table { width:100%; border-collapse:collapse; }
.spec-table td { padding:12px 16px; border-bottom:1px solid #e7eaee; font-size:.88rem; }
.spec-table td.spec-label { color:var(--muted); width:42%; }
.spec-table td.spec-val { color:var(--navy); font-weight:600; }
.gal-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:20px; }
.gal-item { background:#f4f6f8; border-radius:10px; padding:12px; height:160px; display:flex; align-items:center; justify-content:center; }
.gal-item img { max-width:100%; max-height:100%; object-fit:contain; }
.back-link { display:inline-block; margin-bottom:16px; font-size:.85rem; color:var(--red); font-weight:600; }
@media (max-width:900px) { .product-hero { flex-direction:column; padding:40px 22px; } .product-hero-img { width:100%; } }
