/* ============================================================
   raften.at – Action-Design CSS
   Primary: #E8380D | Secondary: #1A3C5E | Accent: #F5A623
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

:root {
  --primary:   #E8380D;
  --secondary: #1A3C5E;
  --accent:    #F5A623;
  --dark:      #0D1B2A;
  --light:     #F8F9FA;
  --gray:      #6C757D;
  --border:    #DEE2E6;
  --white:     #FFFFFF;
  --shadow:    0 4px 24px rgba(0,0,0,.12);
  --radius:    10px;
  --transition: .25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Navigation ── */
/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: var(--secondary);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  padding: .6rem 0;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  text-decoration: none;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav__links > a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color var(--transition);
}
.nav__links > a:hover,
.nav__links > a.active { color: var(--accent); }
.nav__cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav__cta:hover { background: #c72d09 !important; transform: translateY(-1px); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.nav__burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Regionen Dropdown ── */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger {
  /* Exakt wie .nav__links > a – inkl. font-family-Vererbung */
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: inherit;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.9);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__dropdown-trigger:hover,
.nav__dropdown-trigger.active { color: var(--accent); }
.nav__dropdown-trigger svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.nav__dropdown.open .nav__dropdown-trigger svg { transform: rotate(180deg); }

/* Dropdown-Panel: immer display:grid, Ein-/Ausblenden via opacity+visibility */
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + .9rem);
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 540px;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  padding: 1.4rem;
  z-index: 200;
  /* Versteckter Zustand */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav__dropdown-group {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nav__dropdown-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  font-weight: 700;
  padding: 0 0 .4rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: .35rem;
}
.nav__dropdown-menu a {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .83rem;
  font-weight: 500;
  padding: .32rem .55rem;
  border-radius: 7px;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav__dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
  text-decoration: none;
}


/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .55;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,27,42,.8) 0%, rgba(232,56,13,.3) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--white);
}
.hero__badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeDown .8s ease both;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp .8s ease .2s both;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: .9;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeUp .8s ease .4s both;
}
.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .6s both;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
  opacity: .7;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity:0; transform: translateY(-20px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.2); text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #c72d09; color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #122c48; color: var(--white); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #e0941a; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ── Container & Sections ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--gray { background: var(--light); }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__badge {
  display: inline-block;
  background: rgba(232,56,13,.12);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section--dark .section__badge { background: rgba(245,166,35,.15); color: var(--accent); }
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section__subtitle { color: rgba(255,255,255,.7); }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.card__img-wrap { position: relative; overflow: hidden; padding-top: 60%; }
.card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.05); }
.card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.card__body { padding: 1.5rem; }
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.card__text { color: var(--gray); font-size: .9rem; margin-bottom: 1.2rem; }
.card__meta {
  display: flex;
  gap: 1rem;
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.card__meta span { display: flex; align-items: center; gap: .3rem; }

/* ── Provider Card ── */
.provider-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.provider-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.provider-card__img { width: 100%; height: 200px; object-fit: cover; }
.provider-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.provider-card__name { font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem; }
.provider-card__meta { color: var(--gray); font-size: .875rem; margin-bottom: 1rem; }
.provider-card__rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
}
.stars { color: var(--accent); font-size: 1.1rem; }
.rating-val { font-weight: 700; font-size: 1rem; }
.provider-card__price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.provider-card__price small { font-size: .75rem; color: var(--gray); font-weight: 400; }
.provider-card__actions { margin-top: auto; }

/* ── Regions Grid ── */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.region-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.region-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.region-card:hover img { transform: scale(1.08); }
.region-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,27,42,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.region-card__name { font-size: 1.3rem; font-weight: 800; }
.region-card__sub { font-size: .85rem; opacity: .8; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--primary);
  padding: 2rem 0;
}
.stats-bar__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item__number { font-size: 2.5rem; font-weight: 900; display: block; }
.stat-item__label { font-size: .85rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }

/* ── Forms ── */
.form-section {
  background: var(--light);
  padding: 5rem 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  max-width: 750px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group--full { grid-column: 1/-1; }
label { font-weight: 600; font-size: .9rem; }
input, select, textarea {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,56,13,.15);
}
textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; gap: .7rem; align-items: flex-start; }
.form-check input[type=checkbox] { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-check label { font-weight: 400; font-size: .9rem; }
.form-error { border-color: #dc3545 !important; }
.form-msg { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; }
.form-msg--success { background: #d1e7dd; color: #0a3622; }
.form-msg--error { background: #f8d7da; color: #58151c; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card__img { transform: scale(1.04); overflow: hidden; }
.blog-card__body { padding: 1.5rem; }
.blog-card__date { font-size: .8rem; color: var(--gray); margin-bottom: .5rem; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; color: var(--dark); }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--primary); text-decoration: none; }
.blog-card__excerpt { font-size: .9rem; color: var(--gray); }

/* ── Blog Post ── */
.post-header { background: var(--secondary); padding: 8rem 0 4rem; color: var(--white); text-align: center; }
.post-header__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; }
.post-header__meta { margin-top: 1rem; opacity: .7; font-size: .9rem; }
.post-content { max-width: 800px; margin: 3rem auto; padding: 0 1.5rem; }
.post-content h2 { font-size: 1.7rem; font-weight: 800; margin: 2rem 0 1rem; color: var(--secondary); }
.post-content h3 { font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0 .7rem; }
.post-content p { margin-bottom: 1.2rem; color: #444; }
.post-content ul { margin: 1rem 0 1.2rem 1.5rem; }
.post-content ul li { margin-bottom: .4rem; list-style: disc; }
.post-img { width: 100%; border-radius: var(--radius); margin-bottom: 2.5rem; }

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  animation: slideUp .4s ease;
}
.cookie-banner.hidden { display: none; }
@keyframes slideUp {
  from { transform: translateY(40px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner__text { flex: 1; font-size: .9rem; opacity: .9; }
.cookie-banner__text a { color: var(--accent); }
.cookie-banner__buttons { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__logo { font-size: 1.5rem; font-weight: 900; color: var(--white); margin-bottom: .7rem; }
.footer__logo span { color: var(--accent); }
.footer__desc { font-size: .875rem; line-height: 1.7; }
.footer__heading { color: var(--white); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .07em; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); text-decoration: none; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8rem;
  opacity: .6;
}
.footer__affiliate {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  margin-top: -.5rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  opacity: .6;
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #0a1f33 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .25;
}
.page-header__inner { position: relative; z-index: 1; }
.page-header__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: .75rem; }
.page-header__sub { font-size: 1.1rem; opacity: .85; max-width: 600px; }

/* ── Legal pages ── */
.legal { max-width: 850px; margin: 4rem auto; padding: 0 1.5rem 4rem; }
.legal h1 { font-size: 2rem; font-weight: 900; margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 .7rem; color: var(--secondary); }
.legal p, .legal li { color: #444; line-height: 1.8; margin-bottom: .8rem; }
.legal ul { margin-left: 1.5rem; }
.legal ul li { list-style: disc; }

/* ── Admin ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--secondary);
  color: var(--white);
  padding: 1.5rem 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar__logo { padding: 0 1.5rem 1.5rem; font-size: 1.2rem; font-weight: 800; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.admin-sidebar__logo span { color: var(--accent); }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
  text-decoration: none;
}
.admin-main { flex: 1; background: var(--light); overflow-y: auto; }
.admin-topbar {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.admin-topbar__title { font-weight: 800; font-size: 1.2rem; }
.admin-content { padding: 2rem; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card__title { font-weight: 700; font-size: 1rem; margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.admin-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.admin-stat__val { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.admin-stat__label { font-size: .8rem; color: var(--gray); text-transform: uppercase; letter-spacing: .07em; }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th { background: var(--light); padding: .75rem 1rem; text-align: left; font-weight: 700; border-bottom: 2px solid var(--border); white-space: nowrap; }
td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
tr:hover td { background: rgba(0,0,0,.02); }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-success { background: #d1e7dd; color: #0a3622; }
.badge-danger  { background: #f8d7da; color: #58151c; }
.badge-warning { background: #fff3cd; color: #664d03; }

/* ── Pagination ── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span {
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .875rem;
  color: var(--dark);
  font-weight: 600;
}
.pagination a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); text-decoration: none; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { opacity: .5; }

/* ── 404 ── */
.error-page { text-align: center; padding: 8rem 1.5rem; }
.error-page__code { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.error-page__msg { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }

/* ── Alert ── */
.alert { padding: 1rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; font-weight: 600; }
.alert-success { background: #d1e7dd; color: #0a3622; border: 1px solid #a3cfbb; }
.alert-danger  { background: #f8d7da; color: #58151c; border: 1px solid #f1aeb5; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 200px; }
}
@media (max-width: 768px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--secondary); flex-direction: column; padding: 1rem 1.5rem; gap: .5rem; }
  .nav__dropdown { width: 100%; }
  .nav__dropdown-menu { display: none; position: static; width: auto; opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; box-shadow: none; border: none; background: rgba(255,255,255,.06); border-radius: 8px; padding: .75rem; margin-top: .4rem; grid-template-columns: 1fr; }
  .nav__dropdown.open .nav__dropdown-menu { display: grid; }

  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 1rem; }
  .admin-sidebar__logo { width: 100%; }
  .admin-nav { display: flex; flex-wrap: wrap; }
  .admin-nav a { padding: .5rem 1rem; }
}

/* ── Fade-in animation (JS-triggered) ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
