/*
Theme Name: Cargo Pulse
Theme URI: https://example.com/cargo-pulse
Author: Cargo Pulse GmbH
Description: Moderne Onepage-WordPress-Theme für Cargo Pulse GmbH – Marketing, Werbung, Softwareauswahl und kommerzielle Vermittlung.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cargo-pulse
*/

:root {
  --navy: #153b35;
  --blue: #1f6b55;
  --blue-dark: #124b3b;
  --cyan: #3aa37b;
  --ink: #18302c;
  --muted: #637871;
  --line: #dbe8e3;
  --cloud: #f2f8f5;
  --white: #fff;
  --shadow: 0 18px 50px rgba(21, 59, 53, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 9999; padding: 10px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(223,232,241,.9);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(21,59,53,.08); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.03em; color: var(--navy); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 260px; height: 48px; object-fit: contain; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 24px rgba(31,107,85,.22); }
.brand-mark svg { width: 23px; }
.brand-name { font-size: 20px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #3c5065; font-size: 14px; font-weight: 700; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus { color: var(--blue); }
.main-nav .nav-cta { padding: 11px 18px; color: #fff; background: var(--blue); border-radius: 999px; }
.main-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: var(--cloud); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 3px; }

.hero { position: relative; min-height: 760px; padding: 170px 0 100px; overflow: hidden; background: linear-gradient(145deg, #f6fbf8 0%, #eaf5ef 58%, #f7fcf9 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(3px); }
.hero::before { width: 520px; height: 520px; right: -210px; top: -170px; background: rgba(58,163,123,.10); }
.hero::after { width: 420px; height: 420px; left: -220px; bottom: -180px; background: rgba(31,107,85,.09); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(44px, 6.2vw, 76px); }
h1 span { color: var(--blue); }
.hero-copy { max-width: 640px; margin: 28px 0 34px; color: var(--muted); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(31,107,85,.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: #476079; font-size: 14px; font-weight: 650; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; color: var(--cyan); }

.hero-visual { position: relative; min-height: 460px; }
.visual-panel { position: absolute; inset: 12px 0 28px 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 34px; background: linear-gradient(150deg, var(--navy), #1e5a4b 65%, #2c7b63); box-shadow: 0 30px 80px rgba(21,59,53,.23); }
.visual-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 44px 44px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.orbit.one { width: 320px; height: 320px; top: 76px; left: 86px; }
.orbit.two { width: 220px; height: 220px; top: 126px; left: 136px; }
.pulse-core { position: absolute; left: 50%; top: 50%; width: 116px; height: 116px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--cyan), #23795f); box-shadow: 0 0 0 20px rgba(58,163,123,.12), 0 18px 45px rgba(0,0,0,.2); }
.pulse-core svg { width: 54px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px; color: var(--navy); background: rgba(255,255,255,.96); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.16); font-size: 13px; font-weight: 800; }
.float-card svg { width: 22px; color: var(--blue); }
.float-card.a { left: 6px; top: 76px; }
.float-card.b { right: -8px; top: 196px; }
.float-card.c { left: 38px; bottom: 20px; }
.hero-badge { position: absolute; right: 22px; bottom: 0; width: 150px; padding: 18px; color: #fff; border-radius: 18px; background: var(--blue); box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-size: 25px; line-height: 1; }
.hero-badge span { display: block; margin-top: 6px; font-size: 12px; opacity: .8; }

.section { padding: 104px 0; }
.section-soft { background: var(--cloud); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 52px); }
.section-head p { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 282px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #b8d7ca; box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: var(--blue); background: #e8f4ef; }
.service-icon.software { color: #216a55; background: #e6f5ef; }
.service-icon svg { width: 27px; }
.service-card h3 { font-size: 21px; }
.service-card p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

.software-focus { color: #d8e9e2; background: linear-gradient(145deg, #102f2a, #185343); }
.software-intro { max-width: 820px; margin-bottom: 48px; }
.software-intro .eyebrow { color: #9ee0c4; }
.software-intro h2 { color: #fff; font-size: clamp(34px, 4.5vw, 52px); }
.software-intro > p:last-child { margin: 20px 0 0; color: #bfd7cd; font-size: 18px; }
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.software-card { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.software-card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: #fff; background: rgba(102,198,157,.18); }
.software-card-icon svg { width: 28px; }
.software-card h3 { color: #fff; font-size: 22px; }
.software-card p { margin: 15px 0 0; color: #bed4cb; font-size: 15px; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.about-art { position: relative; min-height: 490px; border-radius: 30px; background: linear-gradient(145deg, #e8f4ef, #eef9f4); }
.about-art::before { content: ""; position: absolute; inset: 48px; border: 2px dashed #b7d5c9; border-radius: 50%; }
.about-card { position: absolute; width: 240px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.about-card strong { display: block; color: var(--navy); font-size: 18px; }
.about-card span { color: var(--muted); font-size: 13px; }
.about-card.one { left: 30px; top: 72px; }
.about-card.two { right: 28px; top: 190px; }
.about-card.three { left: 68px; bottom: 38px; }
.about-dot { width: 12px; height: 12px; margin-bottom: 18px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(58,163,123,.12); }
.about-copy h2 { font-size: clamp(34px, 4.5vw, 52px); }
.about-copy > p { color: var(--muted); font-size: 18px; }
.checks { display: grid; gap: 14px; margin: 30px 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checks svg { width: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--cyan); }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-item { padding: 30px; border-top: 3px solid var(--blue); background: #fff; box-shadow: 0 12px 36px rgba(21,59,53,.07); }
.process-item span { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.process-item h3 { margin-top: 15px; font-size: 23px; }
.process-item p { margin-bottom: 0; color: var(--muted); }

.contact-wrap { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border-radius: 30px; background: var(--navy); box-shadow: 0 24px 70px rgba(21,59,53,.18); }
.contact-copy { padding: 58px; color: #d3e0ec; }
.contact-copy h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); }
.contact-copy > p { margin: 20px 0 34px; }
.contact-detail { display: flex; gap: 14px; margin: 18px 0; align-items: flex-start; }
.contact-detail svg { width: 22px; flex: 0 0 auto; color: var(--cyan); }
.contact-detail strong, .contact-detail span { display: block; }
.contact-detail span { color: #9fb3c6; font-size: 13px; }
.contact-form { padding: 56px; background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfdae5; border-radius: 10px; outline: none; background: #fbfdff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,85,.10); }
.field textarea { min-height: 126px; resize: vertical; }
.form-note { margin: 14px 0 0; color: #7b8c9d; font-size: 12px; }
.notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.notice.success { color: #075e54; background: #e5faf6; }
.notice.error { color: #922b2b; background: #fff0f0; }

.site-footer { padding: 30px 0; color: #8ca59c; background: #0d2b25; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-visual { width: min(580px, 100%); margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .software-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 50px; }
  .about-art { order: 2; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 68px; }
  .brand-name { font-size: 17px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); display: none; padding: 18px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .main-nav .nav-cta { margin-top: 7px; text-align: center; }
  .hero { min-height: auto; padding: 132px 0 76px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-copy { font-size: 17px; }
  .hero-visual { min-height: 390px; }
  .visual-panel { inset: 8px 4px 28px; }
  .float-card.b { right: 0; }
  .section { padding: 78px 0; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .about-art { min-height: 440px; }
  .contact-copy, .contact-form { padding: 38px 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero-visual { min-height: 350px; }
  .orbit.one { width: 260px; height: 260px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
  .orbit.two { width: 170px; height: 170px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
  .float-card { padding: 10px 12px; font-size: 11px; }
  .float-card.a { left: 0; top: 54px; }
  .float-card.b { top: 176px; }
  .float-card.c { left: 10px; bottom: 18px; }
  .hero-badge { right: 8px; width: 126px; padding: 14px; }
  .service-card { min-height: auto; }
  .about-art { min-height: 480px; }
  .about-card { width: 210px; padding: 20px; }
  .about-card.one { left: 16px; }
  .about-card.two { right: 14px; }
  .about-card.three { left: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
