/* ═══════════════════════════════════════════════════════════════════════════
   GeschenkeBlitz – main.css  (Startseite + Legal-Seiten)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;       /* Sticky Header (64px) + Puffer */
  -webkit-text-size-adjust: 100%; /* iOS Querformat: kein automatisches Schrift-Skaling */
}
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;             /* Sicherheitsschicht gegen versehentliche horizontale Scrollbar */
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── Layout ── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.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;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;          /* schiebt den Rest nach rechts */
}
.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; }

/* Desktop Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1rem;
}
.nav-plain {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-plain::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f43f5e, #fb7185);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-plain:hover { color: #f43f5e; }
.nav-plain:hover::after { width: calc(100% - 1.9rem); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.2s;
}
.nav-drop-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f43f5e, #fb7185);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-drop-btn:hover,
.nav-drop:hover .nav-drop-btn,
.nav-drop:focus-within .nav-drop-btn { color: #f43f5e; }
.nav-drop:hover .nav-drop-btn::after,
.nav-drop:focus-within .nav-drop-btn::after { width: calc(100% - 1.9rem); }
.nav-drop-arrow {
  font-size: 0.625rem;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-drop:hover .nav-drop-arrow,
.nav-drop:focus-within .nav-drop-arrow { transform: rotate(180deg); }

.nav-drop-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid #ffe4e6;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(244,63,94,0.12), 0 2px 8px rgba(0,0,0,0.05);
  padding: 0.5rem;
  min-width: 230px;
  z-index: 300;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #ffe4e6;
  border-left: 1px solid #ffe4e6;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.nav-drop-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f1f1f;
  border-radius: 9px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  text-decoration: none;
}
.nav-drop-link:hover {
  background: linear-gradient(135deg, #fff5f5, #ffe4e6);
  color: #f43f5e;
  padding-left: 1.05rem;
}

/* CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(244,63,94,0.3);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(244,63,94,0.45); }
.header-cta:active { transform: translateY(0); }

/* Hamburger */
.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;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile Nav Drawer */
.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; }

/* Responsive — Burger ab 960px wegen 2 Dropdown-Buttons */
@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; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero { text-align: center; padding: 3rem 0 1.5rem; }
.hero h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-bottom: 0.875rem; }
.hero-hl { color: #f43f5e; }
.word-rotator { display: inline-block; animation: fadeInUp 0.5s ease both; }
.hero p { color: #666; margin-bottom: 0.875rem; }

@keyframes fadeInUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* Countdown Badge */
.countdown-badge {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.375rem;
  background: #fff;
  border: 2px solid #fecaca;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(244,63,94,0.12);
  font-size: 0.9375rem;
  margin: 0 auto 1.25rem;
  width: fit-content;
  animation: fadeInUp 0.5s ease both;
}
.countdown-badge.show { display: inline-flex; }
.countdown-badge.urgent { border-color: #fca5a5; background: #fff5f5; }
.cb-icon { font-size: 1.625rem; }
.cb-label { font-size: 0.7rem; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.cb-row { display: flex; align-items: baseline; gap: 0.4rem; }
.cb-name { font-weight: 700; font-size: 0.9375rem; }
.cb-time { font-weight: 700; color: #f43f5e; font-size: 1rem; }

/* Affiliate Notice */
.aff-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #666;
  margin-top: 1rem;
}
.aff-notice a { color: #f43f5e; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════
   FORMULAR
   ═══════════════════════════════════════════════════════════════════════════ */
.gift-form {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 1.5rem 0;
}
.form-step-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-badge {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.form-row { display: grid; gap: 0.875rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: #555; }
.form-field select,
.form-field input {
  padding: 0.625rem 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;                /* MIND. 16px — sonst zoomt iOS Safari beim Fokus */
  font-family: inherit;
  background: #fff;
  color: #1f1f1f;
  width: 100%;
  min-height: 44px;               /* Apple HIG: Touch-Target ≥44px */
  transition: border-color 0.15s;
}
.form-field select:focus,
.form-field input:focus { outline: none; border-color: #f43f5e; }
.form-divider { height: 1px; background: #f0f0f0; margin: 1.25rem 0; }
.btn-submit {
  display: block;
  width: 100%;
  padding: 0.875rem;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(244,63,94,0.3); }
.aff-star::after { content: ' *'; color: #f59e0b; font-weight: 700; }

@media (max-width: 640px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   KACHELN
   ═══════════════════════════════════════════════════════════════════════════ */
.section-heading { text-align: center; font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: #666; font-size: 0.9375rem; margin-bottom: 1.75rem; }

.cat-grid {
  display: grid;
  /* min(230px, 100%) verhindert Überlauf: bei schmalen Screens fällt die 
     Mindestbreite automatisch auf die Containerbreite zurück. */
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 1.125rem;
}

/* Normale Kachel (direkter Amazon-Link) */
.cat-tile {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 1.375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-decoration: none;
  color: #1f1f1f;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.cat-tile::after {
  content: '*';
  position: absolute;
  top: 0.75rem; right: 0.875rem;
  color: #f59e0b;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.6;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.cat-tile:hover::after { opacity: 1; }

/* Event-Kachel (zwei Buttons) */
.cat-tile-event {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  padding: 1.375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.cat-tile-event:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.1); }

.tile-emoji { font-size: 2.25rem; display: block; margin-bottom: 0.5rem; }
.tile-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.tile-desc  { font-size: 0.8125rem; color: #666; line-height: 1.45; }
.tile-cd    { display: inline-block; margin-top: 0.5rem; padding: 0.2rem 0.6rem; background: linear-gradient(135deg,#f43f5e,#fb7185); color:#fff; border-radius:999px; font-size:0.7rem; font-weight:700; }
.tile-cd-urgent { background: linear-gradient(135deg,#ef4444,#dc2626); }
.tile-hint  { font-size: 0.75rem; color: #f43f5e; font-weight: 600; margin-top: 0.625rem; }

/* Zwei-Button-Gruppe — nebeneinander, platzsparend */
.tile-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.875rem;
}
.tile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s;
  line-height: 1.2;
  min-height: 38px;
}
.tile-btn-icon { font-size: 0.95em; line-height: 1; }
.tile-btn-label { /* darf bei Bedarf umbrechen */ }
.tile-btn-info {
  background: #fff;
  border: 2px solid #f43f5e;
  color: #f43f5e;
}
.tile-btn-info:hover { background: #fff5f5; transform: translateY(-1px); }
.tile-btn-amz {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 6px rgba(244,63,94,0.25);
}
.tile-btn-amz::after { content: '*'; color: rgba(255,255,255,0.8); font-size: 0.8em; margin-left: 0.15rem; }
.tile-btn-amz:hover { opacity: 0.95; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(244,63,94,0.35); }

/* ═══════════════════════════════════════════════════════════════════════════
   AFFILIATE DISCLAIMER
   ═══════════════════════════════════════════════════════════════════════════ */
.aff-box {
  background: linear-gradient(135deg, #fff5f5, #fef3f2);
  border: 2px solid #fecaca;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
}
.aff-box-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.125rem; }
.aff-box-icon { font-size: 1.625rem; }
.aff-box-title { font-size: 1.125rem; font-weight: 700; }
.aff-box-body { color: #525252; line-height: 1.8; font-size: 0.9375rem; }
.aff-box-body p { margin-bottom: 0.875rem; }
.aff-box-body p:last-child { margin-bottom: 0; }
.aff-box-body strong { color: #f43f5e; }
.aff-highlight { background: #fff; border-left: 4px solid #f43f5e; padding: 0.875rem 1.125rem; border-radius: 8px; margin: 1rem 0; }
.aff-list { list-style: none; margin: 0.75rem 0; }
.aff-list li { padding-left: 1.625rem; margin-bottom: 0.5rem; position: relative; font-size: 0.9375rem; color: #525252; }
.aff-list li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL / INNER PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #fff5f5, #fef3f2);
  border-bottom: 2px solid #ffe4e6;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 0.375rem; }
.page-hero p  { color: #666; }
.legal-body { padding: 3rem 0 5rem; }
.legal-sec { margin-bottom: 2.25rem; }
.legal-sec h2 { font-size: 1.0625rem; font-weight: 700; color: #1f1f1f; margin-bottom: 0.625rem; padding-bottom: 0.5rem; border-bottom: 2px solid #ffe4e6; }
.legal-sec p, .legal-sec li { font-size: 0.9375rem; color: #555; line-height: 1.8; }
.legal-sec ul { padding-left: 1.375rem; margin-top: 0.375rem; }
.legal-sec li { margin-bottom: 0.375rem; }
.legal-sec a { color: #f43f5e; }
.legal-sec a:hover { text-decoration: underline; }
.contact-card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.07); margin-bottom: 1.5rem; }
.contact-card h2 { font-size: 1.0625rem; margin-bottom: 0.875rem; }
.contact-row { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.625rem; font-size: 0.9375rem; color: #555; }
.contact-row a { color: #f43f5e; font-weight: 600; }
.back-btn { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.625rem 1.125rem; background: linear-gradient(135deg,#f43f5e,#fb7185); color: #fff; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: transform 0.15s; }
.back-btn:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.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; } }

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONEN
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.75} }
@keyframes shake { 0%,100%{transform:rotate(0)} 15%{transform:rotate(-8deg)} 30%{transform:rotate(8deg)} 45%{transform:rotate(-8deg)} 60%,100%{transform:rotate(0)} }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

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

/* Tablet & kleine Notebooks: ab hier wird's eng für Desktop-Nav */
@media (max-width: 820px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .hero { padding: 2.25rem 0 1rem; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-heading { font-size: 1.5rem; }
  .gift-form { padding: 1.5rem; }
  .aff-box { padding: 1.5rem 1.75rem; margin: 2rem 0; }
}

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

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

  /* Hero */
  .hero { padding: 1.75rem 0 0.5rem; }
  .hero h1 { font-size: clamp(1.4rem, 6.5vw, 1.85rem); margin-bottom: 0.625rem; }
  .hero p  { font-size: 0.9375rem; }

  /* Countdown-Badge kompakter, nicht überbreit */
  .countdown-badge { padding: 0.6rem 1rem; gap: 0.5rem; font-size: 0.875rem; max-width: calc(100vw - 2rem); }
  .cb-icon { font-size: 1.375rem; }

  /* Affiliate-Notice unter dem Hero: align-items oben, damit langer Text sauber umbricht */
  .aff-notice { align-items: flex-start; gap: 0.4rem; padding: 0.5rem 0.875rem; font-size: 0.75rem; text-align: left; }

  /* Formular */
  .gift-form { padding: 1.25rem; border-radius: 14px; }
  .form-step-title { font-size: 0.875rem; }
  .btn-submit { padding: 1rem; font-size: 1rem; min-height: 48px; }

  /* Kacheln — auf Mobile bewusst 2 Spalten, kompakteres Padding */
  .section-heading { font-size: 1.375rem; }
  .section-sub { font-size: 0.875rem; margin-bottom: 1.25rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
  .cat-tile, .cat-tile-event { padding: 0.875rem; }
  .tile-emoji { font-size: 1.75rem; margin-bottom: 0.3rem; }
  .tile-title { font-size: 0.875rem; }
  .tile-desc  { font-size: 0.7rem; line-height: 1.4; }
  .tile-cd    { font-size: 0.65rem; padding: 0.15rem 0.5rem; margin-top: 0.4rem; }
  .tile-btns  { gap: 0.3rem; padding-top: 0.625rem; }
  .tile-btn   { padding: 0.4rem 0.3rem; font-size: 0.7rem; min-height: 34px; gap: 0.2rem; }

  /* Affiliate-Box */
  .aff-box { padding: 1.25rem; border-radius: 12px; margin: 1.75rem 0; }
  .aff-box-title { font-size: 1rem; }
  .aff-box-body  { font-size: 0.875rem; line-height: 1.7; }

  /* Legal/Inner Pages */
  .page-hero { padding: 1.75rem 0 1.5rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .legal-body { padding: 2rem 0 3rem; }
  .contact-card { padding: 1.25rem; }
}

/* Mobile schmal (iPhone SE, alte Android, Hochkant 360px) */
@media (max-width: 400px) {
  .container, .container-narrow { padding: 0 0.875rem; }
  .header-inner { height: 54px; gap: 0; }
  .header-logo-icon { font-size: 1.375rem; }
  .header-logo-name { font-size: 1rem; }
  .gift-form { padding: 1rem; }
  .step-badge { width: 22px; height: 22px; font-size: 0.7rem; }
  .form-step-title { gap: 0.5rem; }
  .cat-grid { grid-template-columns: 1fr; }     /* Eine Spalte bei <400px */
  .tile-emoji { font-size: 2.25rem; }
}

/* Ganz schmal (≤340px, ältere kleine Geräte) */
@media (max-width: 340px) {
  .countdown-badge { font-size: 0.8125rem; padding: 0.5rem 0.75rem; gap: 0.4rem; }
  .cb-icon { font-size: 1.125rem; }
  .header-logo-sub { display: none; }
}

/* Landscape (Querformat) Smartphones: weniger vertikales Padding sparen */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 1.25rem 0 0.5rem; }
  .page-hero { padding: 1.25rem 0 1rem; }
}

/* Touch-Optimierung: alle interaktiven Elemente min. 44×44px */
@media (hover: none) and (pointer: coarse) {
  .nav-drop-link, .drawer-link { min-height: 44px; display: flex; align-items: center; }
  .footer-links a { display: inline-block; padding: 0.25rem 0; }
}
