/* ═══════════════════════════════════════════════════════════════════════════
   GeschenkeBlitz – events.css  (Event-Unterseiten)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset + Base (identisch zu main.css) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; color: #1f1f1f;
  background: #fef3f2; min-height: 100vh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
.container        { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER (identisch zu main.css)
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 2px solid #ffe4e6;
  box-shadow: 0 2px 12px rgba(244,63,94,0.08);
  position: sticky; top: 0; z-index: 200;
}
.header-inner { display: flex; align-items: center; height: 64px; gap: 0; }
.header-logo { display:flex; align-items:center; gap:0.625rem; text-decoration:none; flex-shrink:0; margin-right:auto; }
.header-logo-icon { font-size:1.625rem; line-height:1; }
.header-logo-text { display:flex; flex-direction:column; }
.header-logo-name { font-size:1.25rem; font-weight:700; line-height:1.1; background:linear-gradient(135deg,#f43f5e,#fb7185); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.header-logo-sub { font-size:0.6rem; color:#999; letter-spacing:0.2px; line-height:1.2; }
.header-logo-sub .amz { color:#ff9900; font-weight:700; }
.header-nav { display:flex; align-items:center; gap:0.125rem; margin-right:1rem; }
.nav-plain { display:block; padding:0.4rem 0.75rem; font-size:0.875rem; font-weight:500; color:#444; border-radius:6px; white-space:nowrap; transition:background 0.15s,color 0.15s; }
.nav-plain:hover { background:#fff0f0; color:#f43f5e; }
.nav-drop { position:relative; }
.nav-drop-btn { display:flex; align-items:center; gap:0.3rem; padding:0.4rem 0.75rem; background:none; border:none; border-radius:6px; font-size:0.875rem; font-weight:600; color:#1f1f1f; cursor:pointer; white-space:nowrap; font-family:inherit; transition:background 0.15s,color 0.15s; }
.nav-drop-btn:hover, .nav-drop:hover .nav-drop-btn { background:#fff0f0; color:#f43f5e; }
.nav-drop-arrow { font-size:0.625rem; transition:transform 0.2s; }
.nav-drop:hover .nav-drop-arrow { transform:rotate(180deg); }
.nav-drop-menu { display:none; position:absolute; top:calc(100% + 6px); left:50%; transform:translateX(-50%); background:#fff; border:1px solid #ffe4e6; border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,0.1); padding:0.375rem; min-width:200px; z-index:300; }
.nav-drop:hover .nav-drop-menu { display:block; }
.nav-drop-link { display:flex; align-items:center; gap:0.5rem; padding:0.5rem 0.75rem; font-size:0.875rem; color:#1f1f1f; border-radius:8px; white-space:nowrap; transition:background 0.1s,color 0.1s; }
.nav-drop-link:hover { background:#fff5f5; color:#f43f5e; }
.header-cta { display:inline-flex; align-items:center; gap:0.3rem; padding:0.5rem 1.125rem; background:linear-gradient(135deg,#f43f5e,#fb7185); color:#fff; border:none; border-radius:999px; font-size:0.8125rem; font-weight:600; cursor:pointer; white-space:nowrap; font-family:inherit; text-decoration:none; flex-shrink:0; transition:opacity 0.2s,transform 0.2s; box-shadow:0 2px 8px rgba(244,63,94,0.25); }
.header-cta:hover { opacity:0.9; transform:translateY(-1px); }
.header-burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:36px; height:36px; padding:0; background:none; border:none; cursor:pointer; margin-left:0.5rem; flex-shrink:0; }
.header-burger span { display:block; width:22px; height:2px; background:#333; border-radius:2px; }
.mobile-drawer { display:none; background:#fff; border-top:1px solid #ffe4e6; padding:0.5rem 0 1rem; }
.mobile-drawer.is-open { display:block; }
.drawer-group { padding:0.5rem 1.25rem; }
.drawer-label { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#bbb; padding:0.625rem 0 0.375rem; }
.drawer-link { display:block; padding:0.625rem 0; font-size:0.9375rem; color:#1f1f1f; border-bottom:1px solid #fdf0f0; transition:color 0.15s; }
.drawer-link:last-child { border-bottom:none; }
.drawer-link:hover { color:#f43f5e; }
@media (max-width:960px) { .header-nav{display:none;} .header-cta{display:none;} .header-burger{display:flex;} }
@media (max-width:480px) { .header-logo-sub{display:none;} }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER (identisch zu main.css)
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer { background:linear-gradient(135deg,#1a1a2e 0%,#2d1b3d 100%); color:#ccc; padding:3rem 0 2rem; margin-top:auto; position:relative; }
.site-footer::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#f43f5e,#fb7185,#fbbf24,#10b981,#38bdf8); }
.footer-cols { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; margin-bottom:2rem; }
.footer-col h3 { color:#fff; font-size:0.9375rem; margin-bottom:0.875rem; }
.footer-col p  { font-size:0.875rem; color:#aaa; line-height:1.7; }
.footer-links  { list-style:none; }
.footer-links li { margin-bottom:0.5rem; }
.footer-links a { font-size:0.875rem; color:#aaa; transition:color 0.15s; }
.footer-links a:hover { color:#fb7185; }
.footer-line { height:1px; background:rgba(255,255,255,0.08); margin:1.5rem 0; }
.footer-bottom { text-align:center; font-size:0.875rem; color:#888; }
.footer-bottom a { color:#fff; }
.footer-credits { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:1rem; margin-bottom:0.75rem; }
.heart { color:#a855f7; animation:hb 2s ease-in-out infinite; display:inline-block; }
@keyframes hb { 0%,100%{transform:scale(1)} 15%{transform:scale(1.3)} 30%{transform:scale(1)} 45%{transform:scale(1.3)} 60%,100%{transform:scale(1)} }
@media (max-width:720px) { .footer-cols{grid-template-columns:1fr 1fr;} }
@media (max-width:480px) { .footer-cols{grid-template-columns:1fr;} }

/* ═══════════════════════════════════════════════════════════════════════════
   EVENT-SEITE SPEZIFISCH
   ═══════════════════════════════════════════════════════════════════════════ */
/* Breadcrumb */
.breadcrumb { padding: 1rem 0 0; font-size: 0.8125rem; color: #999; }
.breadcrumb a { color: #f43f5e; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero */
.event-hero { text-align: center; padding: 2rem 0 1.75rem; border-bottom: 2px solid #ffe4e6; }
.event-hero-emoji { font-size: 3.5rem; display: block; margin-bottom: 0.75rem; }
.event-hero h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 700; margin-bottom: 0.75rem; }
.event-hero p  { color: #666; max-width: 520px; margin: 0 auto; }

/* Such-Box */
.search-box {
  background: #fff;
  border-radius: 14px;
  padding: 1.625rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 1.75rem 0;
}
.search-box h2 { font-size: 1.0625rem; margin-bottom: 1rem; }
.search-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.search-row input[type="text"] { flex: 1; min-width: 150px; padding: 0.625rem 0.875rem; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 16px; min-height: 44px; font-family: inherit; transition: border-color 0.15s; }
.search-row input:focus { outline: none; border-color: #f43f5e; }
.search-row select { padding: 0.625rem 0.875rem; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 16px; min-height: 44px; font-family: inherit; background: #fff; transition: border-color 0.15s; }
.search-row select:focus { outline: none; border-color: #f43f5e; }
.search-btn { padding: 0.625rem 1.375rem; min-height: 44px; background: linear-gradient(135deg,#f43f5e,#fb7185); color: #fff; border: none; border-radius: 8px; font-size: 0.9375rem; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; transition: opacity 0.15s; }
.search-btn:hover { opacity: 0.9; }
.aff-star::after { content: ' *'; color: #f59e0b; }

/* Produkt-Grid */
.products-heading { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.375rem; }
.products-sub { color: #666; font-size: 0.875rem; margin-bottom: 1.125rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filter-pill { padding: 0.325rem 0.875rem; border: 2px solid #e5e7eb; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: #555; background: #fff; cursor: pointer; transition: all 0.15s; }
.filter-pill.active, .filter-pill:hover { border-color: #f43f5e; color: #f43f5e; background: #fff5f5; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.product-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.product-card-img { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 3.25rem; background: #fafafa; }
.product-card-body { padding: 0.875rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.product-cat  { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #f43f5e; }
.product-name { font-weight: 700; font-size: 0.875rem; color: #1f1f1f; line-height: 1.3; flex: 1; }
.product-desc { font-size: 0.775rem; color: #777; line-height: 1.45; }
.product-cta  { display: block; margin-top: 0.625rem; padding: 0.625rem 0.75rem; min-height: 40px; background: linear-gradient(135deg,#f43f5e,#fb7185); color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.8125rem; text-align: center; transition: opacity 0.15s; }
.product-cta:hover { opacity: 0.9; }
.product-cta::after { content: ' *'; color: rgba(255,255,255,0.65); }

/* Nice to Know */
.ntk-box { background: linear-gradient(135deg,#fff5f5,#fef3f2); border: 2px solid #fecaca; border-radius: 14px; padding: 1.625rem; margin: 2rem 0; }
.ntk-head { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.ntk-icon { font-size: 1.5rem; }
.ntk-title { font-size: 1.0625rem; font-weight: 700; }
.ntk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.75rem; margin-bottom: 0.875rem; }
.ntk-fact { background: #fff; border-radius: 10px; padding: 0.875rem 1rem; border-left: 4px solid #f43f5e; }
.ntk-fact-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #f43f5e; margin-bottom: 0.25rem; }
.ntk-fact-value { font-size: 0.875rem; color: #1f1f1f; line-height: 1.5; }
.ntk-source { font-size: 0.75rem; color: #aaa; }
.ntk-source a { color: #f43f5e; }
.ntk-source a:hover { text-decoration: underline; }

/* Info-Cards (Budget + Tipps) */
.info-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.info-card { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.info-card h3 { font-size: 1.0625rem; margin-bottom: 1rem; }
.budget-row { display: flex; align-items: baseline; gap: 0.625rem; margin-bottom: 0.625rem; font-size: 0.9rem; }
.budget-key { font-weight: 700; color: #f43f5e; white-space: nowrap; min-width: 72px; flex-shrink: 0; }
.budget-val { color: #555; }
.tip-row { display: flex; gap: 0.625rem; margin-bottom: 0.75rem; align-items: flex-start; }
.tip-num { width: 22px; height: 22px; flex-shrink: 0; background: linear-gradient(135deg,#f43f5e,#fb7185); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; margin-top: 2px; }
.tip-text { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* Budget Quicklinks */
.budget-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.budget-link { display: inline-block; padding: 0.3rem 0.875rem; background: #fff; border: 2px solid #fecaca; border-radius: 999px; color: #f43f5e; font-size: 0.8125rem; font-weight: 600; transition: all 0.15s; }
.budget-link:hover { background: #f43f5e; color: #fff; border-color: #f43f5e; }

/* Empfänger Quicklinks */
.recipient-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.recipient-link { display: inline-block; padding: 0.3rem 0.875rem; background: #fff; border: 2px solid #fecaca; border-radius: 999px; color: #f43f5e; font-size: 0.8125rem; font-weight: 600; transition: all 0.15s; }
.recipient-link:hover { background: #f43f5e; color: #fff; border-color: #f43f5e; }

/* Andere Events */
.other-events-wrap { margin: 1.5rem 0 2.5rem; }
.other-events-wrap h3 { font-size: 1.0625rem; margin-bottom: 0.75rem; }
.event-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.event-tag { display: inline-block; padding: 0.375rem 0.875rem; background: #fff; border: 2px solid #fecaca; border-radius: 8px; font-size: 0.875rem; transition: all 0.15s; }
.event-tag:hover { background: #fff5f5; border-color: #f43f5e; }

/* Affiliate Note */
.aff-note { background: #fff9f9; border: 1px solid #fecaca; border-radius: 8px; padding: 0.875rem 1.25rem; font-size: 0.8125rem; color: #777; line-height: 1.6; margin: 1.5rem 0 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — gestufte Breakpoints für Tablets & Smartphones
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet / kleines Notebook */
@media (max-width: 820px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .event-hero { padding: 1.5rem 0 1.25rem; }
  .event-hero-emoji { font-size: 3rem; }
  .search-box { padding: 1.25rem; }
}

/* Standard-Smartphone */
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 1rem; }

  /* Header */
  .header-inner { height: 58px; }
  .header-logo-name { font-size: 1.1rem; }
  .header-logo-sub  { font-size: 0.55rem; }
  .header-burger { margin-left: 0.25rem; }

  /* Event-Hero */
  .event-hero { padding: 1.25rem 0 1rem; }
  .event-hero-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
  .event-hero h1 { font-size: clamp(1.4rem, 6vw, 1.85rem); margin-bottom: 0.5rem; }
  .event-hero p  { font-size: 0.875rem; }
  .breadcrumb { padding: 0.75rem 0 0; font-size: 0.75rem; }

  /* Such-Box: Inputs werden volle Breite, Button-Reihe auch */
  .search-box { padding: 1.125rem; border-radius: 12px; margin: 1.25rem 0; }
  .search-row { gap: 0.5rem; }
  .search-row input[type="text"],
  .search-row select,
  .search-btn { width: 100%; flex: 1 1 100%; min-width: 0; }

  /* Filter-Pills: scrollbar machen statt Mehrzeilen-Chaos */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin: 0 -1rem 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: thin;
  }
  .filter-pill { flex-shrink: 0; padding: 0.4rem 0.9rem; font-size: 0.8rem; }

  /* Product Grid */
  .products-heading { font-size: 1.125rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product-card-img { font-size: 2.5rem; }
  .product-card-body { padding: 0.75rem; }
  .product-name { font-size: 0.8125rem; }
  .product-desc { font-size: 0.7rem; }

  /* Nice-to-Know */
  .ntk-box { padding: 1.125rem; margin: 1.5rem 0; }
  .ntk-grid { grid-template-columns: 1fr; }
  .ntk-title { font-size: 1rem; }

  /* Info-Cards (Budget + Tipps) */
  .info-2col { grid-template-columns: 1fr; gap: 1rem; }
  .info-card { padding: 1.125rem; }
  .info-card h3 { font-size: 1rem; }
  .budget-key { min-width: 64px; }

  /* Other Events */
  .other-events-wrap { margin: 1.25rem 0 2rem; }
  .event-tag { padding: 0.45rem 0.875rem; }

  /* Aff Note */
  .aff-note { padding: 0.75rem 1rem; font-size: 0.75rem; margin: 1.25rem 0 2rem; }
}

/* Mobile schmal (≤400px) */
@media (max-width: 400px) {
  .container, .container-narrow { padding: 0 0.875rem; }
  .header-inner { height: 54px; }
  .product-grid { grid-template-columns: 1fr; }    /* eine Spalte */
  .product-card-img { aspect-ratio: 16/9; font-size: 3rem; }   /* breiter, nicht zu hoch */
  .budget-row { flex-direction: column; gap: 0.125rem; margin-bottom: 0.875rem; }
  .budget-key { min-width: 0; }
}

/* Ganz schmal (≤340px) */
@media (max-width: 340px) {
  .header-logo-sub { display: none; }
  .event-hero-emoji { font-size: 2.25rem; }
}

/* Landscape Smartphone */
@media (max-height: 480px) and (orientation: landscape) {
  .event-hero { padding: 1rem 0 0.75rem; }
}

/* Touch-Optimierung */
@media (hover: none) and (pointer: coarse) {
  .nav-drop-link, .drawer-link, .event-tag, .budget-link, .recipient-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Animationen */
@keyframes fadeInUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse    { 0%,100%{opacity:1} 50%{opacity:0.75} }
