/* ============================================================
   VergabeKompass Theme – Inner Pages CSS
   Für alle Unterseiten: Impressum, Datenschutz, Blog, 404
   ============================================================ */

/* ===== RESET & VARIABLEN ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #4A5568;
  background: #F7F9FC;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

:root {
  --primary:      #1B3F7A;
  --primary-l:    #2E5FAA;
  --accent:       #F0A500;
  --accent-d:     #C98800;
  --bg:           #F7F9FC;
  --white:        #FFFFFF;
  --text-dark:    #0F1C2E;
  --text-mid:     #4A5568;
  --text-light:   #718096;
  --border:       #E2E8F0;
  --section-alt:  #EEF2F8;
}

/* ===== LAYOUT ===== */
.vk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SITE HEADER ===== */
.vk-site-header {
  background: var(--primary);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.vk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vk-site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}
.vk-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.vk-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.vk-nav-list li a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.vk-nav-list li a:hover { color: var(--accent); }

/* ===== BUTTONS ===== */
.vk-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.vk-btn-accent {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(240,165,0,0.35);
}
.vk-btn-accent:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,0.45);
}
.vk-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.vk-btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== PAGE HERO ===== */
.vk-page-main { min-height: 70vh; padding: 64px 0 96px; }
.vk-page-hero {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.vk-page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

/* ===== PAGE CONTENT (Impressum/Datenschutz) ===== */
.vk-page-content {
  max-width: 780px;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.vk-page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.vk-page-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.vk-page-content h3 { font-size: 18px; font-weight: 600; color: var(--text-dark); margin: 20px 0 8px; }
.vk-page-content p  { font-size: 16px; color: var(--text-mid); margin-bottom: 16px; line-height: 1.75; }
.vk-page-content ul { margin: 12px 0 16px 20px; list-style: disc; }
.vk-page-content ul li { font-size: 15px; color: var(--text-mid); margin-bottom: 6px; line-height: 1.6; }
.vk-page-content a { color: var(--primary); font-weight: 500; transition: color 0.2s; }
.vk-page-content a:hover { color: var(--accent); text-decoration: underline; }
.vk-page-content strong { color: var(--text-dark); font-weight: 600; }
.vk-page-content address { font-style: normal; line-height: 1.8; color: var(--text-mid); }

/* ===== BLOG / POSTS GRID ===== */
.vk-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vk-post-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.vk-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}
.vk-post-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.vk-post-body { padding: 28px 24px; }
.vk-post-date { font-size: 13px; color: var(--text-light); display: block; margin-bottom: 8px; }
.vk-post-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.3; }
.vk-post-title a { color: inherit; transition: color 0.2s; }
.vk-post-title a:hover { color: var(--primary); }
.vk-post-excerpt { font-size: 14px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }
.vk-no-posts { font-size: 18px; color: var(--text-light); text-align: center; padding: 64px 0; }
.vk-pagination { grid-column: 1 / -1; text-align: center; margin-top: 16px; }
.vk-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin: 0 4px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.vk-pagination .page-numbers.current,
.vk-pagination .page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== 404 ===== */
.vk-404 { display: flex; align-items: center; }
.vk-404-content { text-align: center; padding: 80px 0; }
.vk-404-number {
  font-size: clamp(96px, 15vw, 160px);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -20px;
}
.vk-404-content h1 { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.vk-404-content p  { font-size: 18px; color: var(--text-mid); margin-bottom: 32px; }

/* ===== SITE FOOTER ===== */
.vk-site-footer {
  background: #0F1C2E;
  padding: 56px 0 0;
  margin-top: 64px;
}
.vk-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vk-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.vk-footer-claim { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 280px; }
.vk-footer-nav h4,
.vk-footer-contact h4 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.vk-footer-nav-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.vk-footer-nav-list li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.vk-footer-nav-list li a:hover { color: var(--accent); }
.vk-footer-contact-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.vk-footer-contact-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.65); }
.vk-linkedin { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65) !important; transition: color 0.2s; }
.vk-linkedin:hover { color: var(--accent) !important; }
.vk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.vk-footer-bottom-left { font-size: 13px; color: rgba(255,255,255,0.4); }
.vk-footer-bottom-left a { color: rgba(255,255,255,0.55); transition: color 0.2s; margin: 0 4px; }
.vk-footer-bottom-left a:hover { color: var(--accent); }
.vk-footer-bottom-right { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .vk-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .vk-footer-inner { grid-template-columns: 1fr 1fr; }
  .vk-footer-inner > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .vk-nav-list,
  .vk-btn-accent { display: none; }
  .vk-posts-grid { grid-template-columns: 1fr; }
  .vk-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .vk-footer-inner > *:first-child { grid-column: auto; }
  .vk-footer-bottom { flex-direction: column; text-align: center; }
  .vk-page-content { padding: 32px 24px; }
}
