/* pebe.ch – Startseite 2026 */
@font-face {
  font-family: "Nunito Sans";
  src: url("/neu/assets/fonts/nunito-sans-var-latin.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #193d6f;
  --navy-dark: #112c51;
  --navy-mid: #2c5486;
  --orange: #d47428;
  --orange-text: #a85600;   /* Orange für kleine Schrift auf Weiss (AA) */
  --orange-light: #f2a160;  /* Orange für Schrift auf Navy (AA) */
  --red: #ec1f26;
  --ink: #14233a;
  --muted: #44556a;
  --subtle: #5a6b7f;
  --line: #e4e9ef;
  --bg-soft: #f3f6f9;
  --on-navy: #d6e2ee;
  --on-navy-muted: #b9cbe0;
  --radius: 14px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--orange-text); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: #fff; padding: .75rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.4rem; border-radius: 8px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf0f6; color: var(--navy); }
.btn-outline-light { border-color: #6788ad; color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: #c9d4e0; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

.eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }

/* Utility bar */
.utility { background: var(--navy-dark); color: var(--on-navy-muted); font-size: .8125rem; }
.utility .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--orange-light); }
.utility-contact { display: flex; gap: 1.5rem; align-items: center; }
.utility-links { display: flex; gap: 1.25rem; align-items: center; margin-left: auto; }
.utility-links a { display: inline-flex; align-items: center; gap: .4rem; }
.utility-links svg { width: 15px; height: 15px; }
.lang { display: flex; gap: .4rem; color: #6788ad; }
.lang [aria-current] { font-weight: 800; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { height: 84px; display: flex; align-items: center; gap: 2.5rem; }
.logo img { height: 52px; width: auto; }
.main-nav > ul { display: flex; gap: .25rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-weight: 700; font-size: .9375rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li:focus-within > a { color: var(--navy); background: var(--bg-soft); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(17, 44, 81, .14); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }
.header-actions { margin-left: auto; display: flex; gap: .75rem; align-items: center; }
.header-actions .btn { min-height: 44px; font-size: .9375rem; padding: 0 1rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid #c9d4e0; border-radius: 8px; background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { padding-top: 5rem; padding-bottom: 5.5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.6rem; }
.hero .eyebrow { color: var(--orange-light); display: flex; align-items: center; gap: .6rem; }
.hero .eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); line-height: 1.06; letter-spacing: -0.025em; hyphens: manual; }
.hero-lead { font-size: 1.1875rem; color: var(--on-navy); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: .4rem; }
.hero-ctas .btn { min-height: 52px; padding: 0 1.6rem; }
.trust { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: .8rem; padding-top: 1.6rem; border-top: 1px solid #2f5687; font-size: .875rem; color: var(--on-navy); }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--orange-light); }

/* Quick access card */
.quick { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.75rem; box-shadow: 0 30px 60px rgba(5, 20, 45, .35); }
.quick h2 { font-size: 1.25rem; color: var(--navy); letter-spacing: -0.01em; }
.quick > p { color: var(--subtle); font-size: .9375rem; margin-top: .25rem; }
.quick ul { margin-top: 1.25rem; display: grid; gap: .625rem; }
.quick a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.quick a:hover { border-color: var(--navy); background: var(--bg-soft); color: var(--ink); }
.quick-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #e8eff6; color: var(--navy); }
.quick-icon svg { width: 22px; height: 22px; }
.quick-icon.is-accent { background: #fcefe3; color: var(--orange-text); }
.quick-text { display: flex; flex-direction: column; line-height: 1.35; }
.quick-text strong { font-weight: 800; }
.quick-text span { font-size: .875rem; color: var(--subtle); }
.quick-arrow { margin-left: auto; width: 18px; height: 18px; color: #8597ab; flex: none; }
.quick-phone { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--subtle); }
.quick-phone a { display: inline; padding: 0; border: 0; color: var(--navy); font-weight: 800; }
.quick-phone a:hover { background: none; color: var(--orange-text); }

/* Sections */
.section { padding: 6rem 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head > div { display: flex; flex-direction: column; gap: .875rem; max-width: 42rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--navy); }
.section-head p { max-width: 26rem; font-size: 1.0625rem; color: var(--muted); }
.section-head.compact { margin-bottom: 2.25rem; }
.section-head.compact h2 { font-size: 1.875rem; }
.text-link { font-weight: 800; text-decoration: none; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.product { display: flex; flex-direction: column; gap: 1.1rem; padding: 2.25rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--bg-soft); transition: transform .15s, box-shadow .15s; }
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17, 44, 81, .12); color: var(--ink); }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.tag { font-size: .8125rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: #dde6ef; color: var(--navy); }
.platform { font-size: .8125rem; color: var(--subtle); }
.product h3 { font-size: 1.875rem; color: var(--navy); margin-top: .4rem; }
.product p { color: var(--muted); }
.product ul { display: grid; gap: .5rem; font-size: .9375rem; }
.product li { display: flex; gap: .55rem; align-items: baseline; }
.product li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); flex: none; transform: translateY(-2px); }
.product-more { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--navy); }
.product-more svg { width: 18px; height: 18px; }
.product.is-featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.product.is-featured:hover { color: #fff; }
.product.is-featured h3 { color: #fff; }
.product.is-featured p { color: var(--on-navy); }
.product.is-featured .tag { background: var(--navy-mid); color: #fff; }
.product.is-featured .platform { color: var(--on-navy-muted); }
.product.is-featured .product-more { color: var(--orange-light); }
.product.is-featured ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product.is-live { background: #fdf4ea; border-color: #f3dcc2; }
.product.is-live .tag { background: #f8e2c8; color: #874500; }
.product.is-live .product-more { color: #874500; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.module { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; min-height: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 800; line-height: 1.3; hyphens: manual; transition: border-color .15s; }
.module:hover { border-color: var(--navy); color: var(--navy); }
.module-icon { width: 44px; height: 44px; border-radius: 10px; background: #e8eff6; color: var(--navy); display: flex; align-items: center; justify-content: center; }
.module-icon svg { width: 22px; height: 22px; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.why-media { border-radius: 16px; overflow: hidden; background: #e8eff6; }
.why-media img { width: 100%; height: auto; }
.why-copy { display: flex; flex-direction: column; gap: 1.6rem; }
.why-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--navy); }
.why-copy > p { font-size: 1.0625rem; color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: .4rem; }
.why-grid strong { display: block; color: var(--navy); font-weight: 800; margin-bottom: .25rem; }
.why-grid span { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.why-badges { display: flex; gap: 1.5rem; align-items: center; margin-top: .4rem; }
.why-badges img { height: 56px; width: auto; }

/* News */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.news a { display: flex; flex-direction: column; gap: .875rem; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.news a:hover { border-color: var(--navy); color: var(--ink); }
.news-meta { font-size: .8125rem; font-weight: 700; color: var(--subtle); }
.news h3 { font-size: 1.375rem; line-height: 1.3; color: var(--navy); letter-spacing: -0.01em; }
.news p { font-size: .9375rem; color: var(--muted); }
.news .more { margin-top: auto; font-weight: 800; color: var(--navy); }

/* Contact CTA */
.cta { background: var(--navy); border-radius: 20px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; color: #fff; }
.cta h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; }
.cta p { margin-top: 1rem; font-size: 1.0625rem; color: var(--on-navy); }
.cta p a { color: var(--orange-light); font-weight: 700; }
.cta-actions { display: grid; gap: 1rem; }
.cta-tile { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; border-radius: 12px; background: var(--navy-mid); color: #fff; text-decoration: none; transition: background .15s; }
.cta-tile:hover { background: #36639a; color: #fff; }
.cta-tile svg { width: 22px; height: 22px; color: var(--orange-light); flex: none; }
.cta-tile span { display: flex; flex-direction: column; line-height: 1.35; }
.cta-tile small { font-size: .8125rem; color: var(--on-navy-muted); }
.cta-tile strong { font-size: 1.125rem; }
.cta-actions .btn { min-height: 52px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--on-navy-muted); padding: 4.5rem 0 2rem; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) 1.3fr; gap: 2.5rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: .25rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { height: 48px; width: auto; margin-bottom: .5rem; align-self: flex-start; }
.footer-address { font-style: normal; line-height: 1.7; }
.footer-address a { color: #fff; }
.newsletter p { font-size: .875rem; line-height: 1.5; }
.newsletter input[type="email"] { min-height: 44px; width: 100%; padding: 0 .875rem; border-radius: 8px; border: 1px solid #3b6591; background: var(--navy); color: #fff; font: inherit; }
.newsletter input::placeholder { color: #9fb5cd; }
.newsletter .btn { width: 100%; min-height: 44px; }
/* Swissnewsletter-Formular (render=container) kompakt im Footer-Stil */
.newsletter-embed { font-size: .875rem; color: var(--on-navy-muted); }
.newsletter-embed iframe { display: block; width: 100% !important; border: 0; border-radius: 10px; background: #fff; }
.newsletter-embed h1, .newsletter-embed h2, .newsletter-embed h3, .newsletter-embed legend { display: none !important; }
.newsletter-embed form, .newsletter-embed fieldset, .newsletter-embed div { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.newsletter-embed form { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-embed label { display: block; margin: .35rem 0 .2rem !important; font-size: .8125rem !important; color: var(--on-navy-muted) !important; font-family: inherit !important; }
.newsletter-embed input[type="text"], .newsletter-embed input[type="email"], .newsletter-embed select {
  width: 100% !important; min-height: 40px; padding: 0 .75rem !important; border-radius: 8px !important;
  border: 1px solid #3b6591 !important; background: var(--navy) !important; color: #fff !important; font: inherit !important; box-sizing: border-box; }
.newsletter-embed select option { color: var(--ink); background: #fff; }
.newsletter-embed button, .newsletter-embed input[type="submit"] {
  width: 100%; min-height: 44px; margin-top: .5rem !important; border-radius: 8px !important; border: 0 !important;
  background: #fff !important; color: var(--navy) !important; font: inherit !important; font-weight: 800 !important; cursor: pointer; }
.newsletter-embed button:hover, .newsletter-embed input[type="submit"]:hover { background: #eaf0f6 !important; }
.newsletter-embed p { margin: .25rem 0 !important; color: var(--on-navy) !important; font-family: inherit !important; }
.newsletter-msg { font-size: .875rem; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #23456f; font-size: .8125rem; }
.footer-bottom nav ul, .footer-social { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.footer-badges { display: flex; gap: 1.5rem; align-items: center; }
.footer-badges img { height: 34px; width: auto; }

/* Cookie notice – schmale Leiste */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(17, 44, 81, .97); color: var(--on-navy); font-size: .8125rem; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie .wrap { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.cookie a { color: #fff; }
.cookie a:hover { color: var(--orange-light); }
.cookie button { flex: none; min-height: 32px; padding: 0 .9rem; border-radius: 6px; border: 1px solid #6788ad; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cookie button:hover { border-color: #fff; }

/* Responsive */
@media (max-width: 1180px) {
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .site-header .wrap { gap: 1rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17, 44, 81, .12); max-height: calc(100vh - 84px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: .75rem 1.5rem 1.25rem; }
  .main-nav > ul > li > a { padding: 0 .5rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; min-width: 0; }
  .header-actions .btn-primary { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 3.5rem; padding-bottom: 4rem; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .utility-contact { display: none; }
  .utility-links { margin-left: 0; width: 100%; justify-content: space-between; }
  .site-header .wrap { height: 72px; }
  .main-nav { max-height: calc(100vh - 72px); }
  .logo img { height: 42px; }
  .header-actions .btn-outline span { display: none; }
  .section { padding: 4.5rem 0; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .product { padding: 1.6rem; }
  .product.is-featured ul { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cookie .wrap { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
