/* ============================================================================
 *  Pirate Deals | Landing Page — Stylesheet
 *  Brand: PirateDeals · Piraten · PiratApp · DE364627123
 *  © Pirate Deals GmbH — https://pirate-deals.com
 * ========================================================================== */

:root {
  --bg:        #fdf1e0;
  --bg-glow:   #fbe6cc;
  --card:      #ffffff;
  --ink:       #1c2b3a;
  --ink-soft:  #6e7a88;
  --orange:    #f7941e;
  --orange-hi: #ffa733;
  --orange-dk: #d97d10;
  --gold:      #ffc24d;
  --navy:      #18293c;
  --navy-2:    #213750;
  --line:      #f1ddc2;
  --field:     #fff8ee;
  --ok:        #2e9e5b;
  --font:      "Trebuchet MS", "Segoe UI", system-ui, "Noto Color Emoji", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(60% 50% at 95% -5%, var(--bg-glow), transparent 60%),
    radial-gradient(60% 40% at 0% 95%, #ffd599, transparent 65%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ============================================================================
 *  Header / Navigation
 * ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 241, 224, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-link img { width: 40px; height: 40px; filter: drop-shadow(0 2px 4px rgba(180,90,20,0.22)); }
.brand-link .brand-name {
  font-size: 18px; font-weight: 900; letter-spacing: -0.4px; color: var(--ink);
}
.brand-link .brand-sub {
  font-size: 10.5px; font-weight: 700; color: var(--orange-dk);
  text-transform: uppercase; letter-spacing: 0.4px; line-height: 1;
}
.nav-spacer { flex: 1; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--orange-dk); }
.lang-toggle { display: flex; gap: 4px; align-items: center; font-size: 12px; }
.lang-toggle button {
  background: transparent; border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 6px; font-weight: 700; font-size: 11px;
  cursor: pointer; color: var(--ink-soft); font-family: inherit;
}
.lang-toggle button.active {
  background: var(--orange-dk); color: #fff; border-color: var(--orange-dk);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.2px;
  padding: 11px 20px; border: none; border-radius: 11px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 3px 0 var(--orange-dk), 0 6px 14px rgba(247,148,30,0.25);
  transition: filter .15s ease, transform .08s ease;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dk); }
.btn.big { font-size: 16px; padding: 14px 26px; border-radius: 13px; }
.btn.ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: rgba(247,148,30,0.08); }

/* ============================================================================
 *  Toast-Banner (Install / Uninstall)
 * ========================================================================== */
.banner {
  margin: 24px auto 0; max-width: 1072px;
  background: #fff; border-radius: 16px;
  padding: 22px 26px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(180,120,40,0.10);
  border: 2px solid var(--orange);
  animation: bannerIn 500ms ease both;
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.banner.bye { border-color: var(--navy); }
.banner-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  display: grid; place-items: center; font-size: 30px;
  box-shadow: 0 3px 0 var(--orange-dk);
}
.banner.bye .banner-icon { background: linear-gradient(180deg, #2a435f, var(--navy)); }
.banner-text { flex: 1 1 320px; }
.banner-title { font-size: 19px; font-weight: 900; letter-spacing: -0.3px; }
.banner-msg   { font-size: 14px; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }
.banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.banner-close {
  background: transparent; border: none; padding: 4px 8px;
  font-size: 16px; color: var(--ink-soft); cursor: pointer; border-radius: 6px;
  margin-left: auto;
}
.banner-close:hover { background: rgba(0,0,0,0.05); }

/* ============================================================================
 *  Hero
 * ========================================================================== */
.hero { padding: 60px 0 50px; }
.hero-row { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; }
.hero-eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800;
  color: var(--orange-dk); text-transform: uppercase; letter-spacing: 0.6px;
  background: rgba(247,148,30,0.12); padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.05; color: var(--ink);
  margin-bottom: 18px;
}
.hero h1 b { color: var(--orange-dk); font-weight: 900; }
.hero p.lead {
  font-size: 18px; color: var(--ink-soft); line-height: 1.55;
  margin-bottom: 28px; max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.hero-trust span {
  font-size: 12px; color: var(--ink-soft); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.hero-popup { flex: 0 0 auto; }
.hero-popup img {
  width: 380px; max-width: 100%;
  filter: drop-shadow(0 25px 50px rgba(40,20,5,0.18));
  transform: rotate(-2deg);
  border-radius: 22px;
}

/* ============================================================================
 *  Sections
 * ========================================================================== */
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900;
  letter-spacing: -0.8px; line-height: 1.1;
}
.section-title h2 b { color: var(--orange-dk); }
.section-title p {
  font-size: 17px; color: var(--ink-soft); margin-top: 12px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Feature Cards */
.features-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 22px 24px;
  box-shadow: 0 4px 14px rgba(180,120,40,0.07);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(180,120,40,0.12);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #fff; display: grid; place-items: center;
  font-size: 22px; font-weight: 900; margin-bottom: 14px;
  box-shadow: 0 3px 0 var(--orange-dk);
}
.feature-card h3 {
  font-size: 17px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.2px;
}
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* Steps */
.steps { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px;
  flex: 1 1 270px; max-width: 320px;
  box-shadow: 0 4px 14px rgba(180,120,40,0.07);
  text-align: center;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #fff; font-weight: 900; font-size: 22px;
  box-shadow: 0 3px 0 var(--orange-dk);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* Languages */
.languages-grid {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 800px; margin: 0 auto;
}
.lang-chip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(180,120,40,0.07);
}
.lang-chip.primary {
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #fff; border-color: transparent;
}

/* Privacy section */
.privacy-card {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #fff; border-radius: 20px; padding: 40px 38px;
  box-shadow: 0 20px 40px rgba(24,41,60,0.25);
}
.privacy-card h2 { color: #fff; margin-bottom: 8px; font-size: 28px; font-weight: 900; }
.privacy-card > p { color: #b9c8d8; margin-bottom: 26px; }
.privacy-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.privacy-list li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.5;
}
.privacy-list li .check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px;
  background: var(--ok); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
}
.privacy-list li .cross {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px;
  background: rgba(255,255,255,0.10); color: #ff9e9e; display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
}
.privacy-list li b { color: #fff; font-weight: 800; }
.privacy-list li span { color: #b9c8d8; display: block; margin-top: 2px; font-size: 13px; }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(80% 100% at 100% 0%, var(--bg-glow), transparent 60%),
    var(--card);
  border: 1px solid var(--line); border-radius: 22px;
  padding: 50px 46px; text-align: center;
  box-shadow: 0 12px 32px rgba(180,120,40,0.12);
}
.cta-banner h2 {
  font-size: clamp(26px, 4vw, 36px); font-weight: 900;
  letter-spacing: -0.6px; margin-bottom: 14px;
}
.cta-banner p {
  font-size: 16px; color: var(--ink-soft); margin-bottom: 26px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ============================================================================
 *  Footer
 * ========================================================================== */
.site-footer {
  background: var(--navy); color: #b9c8d8;
  padding: 50px 0 30px; margin-top: 80px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13.5px; }
.footer-col a { color: #b9c8d8; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { font-size: 17px; color: #fff; font-weight: 800; letter-spacing: -0.3px; }
.footer-tagline { font-size: 13.5px; line-height: 1.6; max-width: 320px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px;
}

/* ============================================================================
 *  Standalone Pages (Impressum / Datenschutz)
 * ========================================================================== */
.legal-page { padding: 50px 0 80px; }
.legal-page h1 {
  font-size: 36px; font-weight: 900; letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.legal-page .lead {
  font-size: 14.5px; color: var(--ink-soft); margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 22px; font-weight: 800; margin-top: 36px; margin-bottom: 12px;
  color: var(--ink); letter-spacing: -0.3px;
}
.legal-page h3 {
  font-size: 16px; font-weight: 800; margin-top: 24px; margin-bottom: 8px;
}
.legal-page p, .legal-page li { font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.legal-page p { margin-bottom: 14px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page li { margin-bottom: 6px; }
.legal-page .addr-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin: 14px 0;
  font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; line-height: 1.7;
}
.legal-page strong { font-weight: 800; }
.legal-page a { color: var(--orange-dk); }

/* ============================================================================
 *  Stats Strip
 * ========================================================================== */
.stats-strip {
  padding: 14px 0 50px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border-radius: 22px;
  padding: 30px 34px;
  box-shadow: 0 20px 40px rgba(24,41,60,0.20);
}
.stat { text-align: center; color: #fff; }
.stat-num {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900;
  letter-spacing: -0.8px;
  background: linear-gradient(180deg, #ffd58a, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange);  /* fallback */
  line-height: 1.05;
  margin-bottom: 6px;
}
.stat-lbl { font-size: 12.5px; color: #b9c8d8; font-weight: 600; letter-spacing: 0.2px; }
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 24px 18px; }
}

/* ============================================================================
 *  Showcase Slider
 * ========================================================================== */
.slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 40px rgba(180,120,40,0.12);
  border: 1px solid var(--line);
}
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 480ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.slide { flex: 0 0 100%; }
.slide img { width: 100%; height: auto; display: block; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer; color: var(--ink);
  box-shadow: 0 4px 12px rgba(40,20,5,0.18);
  transition: background .15s ease, transform .15s ease;
}
.slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.slider-arrow:active { transform: translateY(-50%) scale(0.97); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 12px; border-radius: 999px;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(28,43,58,0.30);
  border: none; padding: 0; cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.slider-dot.active {
  background: var(--orange-dk);
  width: 24px; border-radius: 999px;
}
@media (max-width: 640px) {
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
}

/* ============================================================================
 *  Reveal-On-Scroll Animation
 * ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--rd, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
 *  Floating CTA (taucht beim Scrollen auf)
 * ========================================================================== */
.float-cta {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.float-cta.show {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.float-cta .btn { box-shadow: 0 4px 0 var(--orange-dk), 0 10px 24px rgba(247,148,30,0.40); }
@media (max-width: 480px) {
  .float-cta { bottom: 14px; right: 14px; }
  .float-cta .btn { padding: 10px 16px; font-size: 13px; }
}

/* ============================================================================
 *  Scroll-Progress (oben, dünner Streifen)
 * ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange-hi), var(--orange-dk));
  width: 0%; z-index: 300; transition: width 120ms linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================================
 *  Language-Toggle (symmetrische Hide-Regeln, keine revert-Fallstricke)
 * ========================================================================== */
html[lang="de"] [data-show="en"] { display: none !important; }
html[lang="en"] [data-show="de"] { display: none !important; }

/* ============================================================================
 *  Mobile
 * ========================================================================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-row { flex-direction: column-reverse; text-align: center; }
  .hero p.lead, .hero-cta { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 50px 0; }
  .privacy-card, .cta-banner { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .banner { padding: 18px 18px; flex-direction: column; text-align: center; }
  .banner-actions { width: 100%; justify-content: center; }
}

/* Watermark: PirateDeals · Piraten · PiratApp · DE364627123 */
