/* ============================================================
   AngeboteHub – Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --blue:        #1a56db;
  --blue-hover:  #1648c8;
  --blue-light:  #e8f0fe;
  --blue-mid:    #3b82f6;
  --text:        #111827;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --bg:          #ffffff;
  --bg-soft:     #f9fafb;
  --bg-card:     #ffffff;
  --border:      #e5e7eb;
  --border-light:#f3f4f6;
  --green:       #059669;
  --green-light: #d1fae5;
  --orange:      #d97706;
  --orange-light:#fef3c7;
  --red:         #dc2626;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 22px; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
  text-decoration: none !important;
}
.nav-logo span { color: var(--blue); }
.nav-logo i { font-size: 20px; color: var(--blue); }

.nav-links {
  display: flex; gap: 2rem;
  list-style: none; align-items: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
  display: flex; align-items: center; gap: 5px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); text-decoration: none; }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--blue-hover) !important; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem; z-index: 99;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500;
  transition: background 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.mobile-menu a:hover { background: var(--bg-soft); text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 2rem 1.5rem;
  margin-top: 5rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Lora', serif;
  font-size: 20px; color: white; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}
.footer-brand h3 i { color: #60a5fa; font-size: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-brand .social-row {
  display: flex; gap: 8px; margin-top: 1.25rem;
}
.footer-brand .social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: #1e293b; color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.15s;
}
.footer-brand .social-btn:hover { background: var(--blue); color: white; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: white; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 14px; color: #94a3b8;
  transition: color 0.15s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: white; text-decoration: none; }
.footer-col ul a i { font-size: 13px; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #94a3b8; }
.footer-bottom-links a:hover { color: white; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none !important;
}
.btn i { font-size: 15px; }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-hover); color: white !important; }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-light { background: white; color: var(--blue); }
.btn-light:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge i { font-size: 11px; }
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-red    { background: #fee2e2; color: var(--red); }
.badge-gray   { background: #f1f5f9; color: #475569; }

/* ── OFFER CARDS ── */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.offer-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.2s; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.offer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.offer-top {
  padding: 1.25rem 1.25rem 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.offer-body { padding: 1rem 1.25rem; flex: 1; }
.offer-body h3 {
  font-size: 15px; font-family: 'DM Sans'; font-weight: 600;
  margin-bottom: 6px; line-height: 1.4;
}
.offer-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.offer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
}
.offer-provider { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.offer-provider i { font-size: 12px; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.page-header h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 0.5rem; }
.page-header p { font-size: 16px; color: var(--text-muted); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 0.75rem;
}
.breadcrumb i { font-size: 12px; }

/* ── DISCLAIMER ── */
.disclaimer-box {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.disclaimer-box .icon { color: var(--blue); font-size: 20px; flex-shrink: 0; padding-top: 1px; }
.disclaimer-box p { font-size: 14px; color: #374151; line-height: 1.65; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 7px 16px; border-radius: 50px;
  border: 1px solid var(--border);
  background: white; font-size: 13px; font-weight: 500;
  cursor: pointer; color: var(--text-muted);
  transition: all 0.15s; font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; gap: 5px;
}
.filter-btn i { font-size: 13px; }
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; margin-bottom: 6px;
}
.form-group label i { font-size: 15px; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: 'DM Sans', sans-serif;
  color: var(--text); background: white;
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── LEGAL PAGES ── */
.legal-page { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal-page h1 { font-size: 32px; margin-bottom: 0.5rem; }
.legal-page .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.legal-page h2 { font-size: 20px; margin: 2.5rem 0 0.75rem; font-weight: 600; font-family: 'DM Sans'; }
.legal-page h3 { font-size: 16px; font-weight: 600; margin: 1.5rem 0 0.5rem; font-family: 'DM Sans'; }
.legal-page p { margin-bottom: 1rem; line-height: 1.8; color: #374151; font-size: 15px; }
.legal-page ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-page ul li { font-size: 15px; line-height: 1.75; color: #374151; margin-bottom: 5px; }

/* ── MISC ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.text-center { text-align: center; }
.success-msg {
  background: var(--green-light); color: #065f46;
  padding: 12px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  display: none; align-items: center; gap: 8px;
}
.success-msg.show { display: flex; }
.success-msg i { font-size: 16px; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #0f172a; color: #e2e8f0;
  padding: 1rem 2rem; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: 14px;
  border-top: 1px solid #1e293b;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
#cookie-banner p { max-width: 650px; line-height: 1.55; }
#cookie-banner p a { color: #93c5fd; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 18px; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 500; border: none;
  font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; gap: 5px;
}
.cookie-accept { background: var(--blue); color: white; }
.cookie-decline { background: #1e293b; color: #94a3b8; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .offers-grid { grid-template-columns: 1fr; }
  footer { padding: 2.5rem 1rem 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}
