/* FairCargo – öffentliches Stylesheet
   Seriöse Logistik-Optik: Navy + warmes Gold, viel Weißraum, Systemschriften. */

:root {
    --navy: #123c63;
    --navy-dark: #0c2a47;
    --navy-deep: #081e33;
    --gold: #e8a33d;
    --gold-dark: #c9862a;
    --bg: #f7f9fb;
    --card: #ffffff;
    --text: #22303e;
    --muted: #5c6b7a;
    --border: #e3e9ef;
    --danger: #c0392b;
    --ok: #1d7a4b;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(12, 42, 71, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16.5px;
}

img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.25; color: var(--navy-dark); font-weight: 700; }
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 1.3rem; color: var(--navy-dark); letter-spacing: -.02em; }
.logo-text strong { color: var(--gold-dark); }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a {
    color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500;
    padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 8px; padding: 2px; }
.lang-switch a {
    color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 600;
    padding: 4px 9px; border-radius: 6px;
}
.lang-switch a.active { background: var(--navy); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; background: var(--navy); color: #fff; border: none; cursor: pointer;
    padding: 13px 26px; border-radius: 8px; font: inherit; font-weight: 600; font-size: .98rem;
    text-decoration: none; text-align: center; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-header { padding: 9px 18px; font-size: .9rem; }
.btn-outline-light {
    background: transparent; border: 1.5px solid rgba(255,255,255,.65); color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; padding: 0; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(100deg, rgba(8, 30, 51, .92) 22%, rgba(12, 42, 71, .72) 55%, rgba(12, 42, 71, .38)),
                      url("/assets/img/hero.jpg");
    background-size: cover; background-position: center 60%;
}
.hero-inner { padding: 96px 0 110px; max-width: 660px; }
.hero-badge {
    display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--gold);
    border: 1px solid rgba(232, 163, 61, .5); border-radius: 20px; padding: 5px 14px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.9rem); margin-bottom: 16px; letter-spacing: -.015em; }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.88); margin-bottom: 30px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Tracking-Leiste im Hero */
.hero-track {
    margin-top: 44px; background: #fff; border-radius: var(--radius);
    padding: 10px; display: flex; gap: 10px; max-width: 560px; box-shadow: var(--shadow);
}
.hero-track input {
    flex: 1; border: none; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
    min-width: 0;
}
.hero-track input:focus { outline: 2px solid var(--gold); border-radius: 6px; }
.hero-track .btn { white-space: nowrap; }

/* ---------- USP-Leiste ---------- */
.usps { padding: 0; margin-top: -46px; position: relative; z-index: 2; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.usp {
    background: var(--card); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.usp .usp-icon { font-size: 1.6rem; margin-bottom: 10px; }
.usp h3 { font-size: 1.02rem; margin-bottom: 6px; }
.usp p { color: var(--muted); font-size: .92rem; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; }
.step-num {
    position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--navy); color: var(--gold); font-weight: 700; font-size: .95rem;
    display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg);
}
.step h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Preise ---------- */
.prices { background: var(--navy-deep); color: #fff; }
.prices .section-head h2, .prices h3 { color: #fff; }
.prices .section-head p { color: rgba(255,255,255,.75); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.price-facts { display: grid; gap: 14px; }
.price-fact {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); padding: 18px 22px;
}
.price-fact .label { color: rgba(255,255,255,.85); }
.price-fact .value { font-size: 1.5rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.price-note { margin-top: 14px; color: rgba(255,255,255,.65); font-size: .88rem; }

.calc-card { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--text); box-shadow: var(--shadow); }
.calc-card h3 { color: var(--navy-dark); margin-bottom: 14px; }
.calc-card label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.calc-card input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 1.05rem;
}
.calc-card input:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.calc-card .btn { width: 100%; margin-top: 14px; }
.calc-result { margin-top: 16px; font-size: 1.7rem; font-weight: 700; color: var(--navy); text-align: center; min-height: 1.4em; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 20px; font-size: 1.03rem; }
.about-points { list-style: none; display: grid; gap: 12px; }
.about-points li { padding-left: 30px; position: relative; font-weight: 500; }
.about-points li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
    background: #e9f5ee; color: var(--ok); font-size: .8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow); }
.about-media img:first-child { grid-row: span 2; min-height: 340px; }
.about-media img:last-child { min-height: 160px; }

/* ---------- Verbotene Waren ---------- */
.prohibited { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.prohibited-list { columns: 2; column-gap: 48px; max-width: 760px; list-style: none; }
.prohibited-list li {
    break-inside: avoid; padding: 9px 0 9px 30px; position: relative;
    border-bottom: 1px dashed var(--border); font-size: .97rem;
}
.prohibited-list li::before { content: "✕"; position: absolute; left: 4px; color: var(--danger); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.contact-card p { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.contact-card a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card.telegram { background: var(--navy); border-color: var(--navy); color: #fff; }
.contact-card.telegram h3 { color: #fff; }
.contact-card.telegram p { color: rgba(255,255,255,.8); }

/* ---------- Tracking-Seite ---------- */
.track-page { padding: 56px 0 72px; min-height: 55vh; }
.track-card { max-width: 720px; margin: 0 auto; background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.track-card h1 { font-size: 1.45rem; margin-bottom: 18px; }
.track-form { display: flex; gap: 10px; }
.track-form input {
    flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 1rem; min-width: 0;
}
.track-form input:focus { outline: 2px solid var(--navy); border-color: var(--navy); }

.status-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: #e8f0f9; color: var(--navy); font-weight: 600;
}
.status-badge.problem { background: #fdecea; color: var(--danger); }
.status-badge.delivered { background: #e9f5ee; color: var(--ok); }

.detail-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.detail-table td { padding: 10px 4px; border-bottom: 1px solid var(--border); }
.detail-table td:first-child { color: var(--muted); width: 42%; font-size: .93rem; }

.timeline { list-style: none; margin-top: 18px; }
.timeline li { position: relative; padding: 0 0 20px 28px; border-left: 2px solid var(--border); margin-left: 8px; }
.timeline li::before {
    content: ""; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.timeline li:first-child::before { background: var(--navy); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline .time { display: block; font-size: .82rem; color: var(--muted); }

.error-box { background: #fdecea; color: var(--danger); padding: 14px 16px; border-radius: 8px; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a7b7c6; font-size: .93rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 52px 20px 36px;
}
.footer-logo { font-size: 1.25rem; color: #fff; margin-bottom: 12px; }
.footer-logo strong { color: var(--gold); }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #cdd9e4; text-decoration: none; display: inline-block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.site-footer nav a { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; font-size: .85rem; color: #7e91a3; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .price-grid, .about-grid { grid-template-columns: 1fr; }
    .about-media img:first-child { min-height: 240px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    section { padding: 52px 0; }
    .hero-inner { padding: 64px 0 92px; }
    .hero-track { flex-direction: column; }
    .prohibited-list { columns: 1; }
    .header-inner { gap: 12px; }
    .btn-header { display: none; }
    .track-form { flex-direction: column; }
}
