:root {
  --volt-purple: #502379;
  --volt-purple-dark: #2b0f44;
  --volt-yellow: #FDC220;
  --volt-blue: #82D0F4;
  --volt-green: #1BBE6F;
  --volt-red: #E63E12;
  --partei-red: #B91023;
}

/* Layout Grundstruktur */
.rg-start {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 1rem;
}

/* Hero */
.rg-hero {
  padding: 2.2rem 1.6rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--volt-purple), var(--partei-red)); /* Verlauf zwischen Volt Lila und Die PARTEI Rot */
  color: #ffffff;
  text-align: center;
}

/* Logo Bühne */
.rg-hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  margin-bottom: 1.2rem;
}

.rg-hero-logo {
  display: block;
  max-width: min(420px, 85vw);
  height: auto;
}

/* Hero Text */
.rg-hero h1 {
  margin: 0 0 0.6rem 0;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #ffffff;
}

.rg-hero p {
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* Sections */
.rg-section {
  margin-top: 3rem;
}

.rg-section h2 {
  margin-bottom: 0.8rem;
  color: var(--volt-purple);
}

/* Buttons */
.rg-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
}

.rg-button.volt {
  background: var(--volt-purple);
}

.rg-button.blue {
  background: var(--volt-blue);
  color: #002b3d;
}

/* Tiles */
/* Links Logo Grid: nebeneinander, responsiv */
.rg-tile-grid.rg-tile-grid-logos{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 980px){
  .rg-tile-grid.rg-tile-grid-logos{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .rg-tile-grid.rg-tile-grid-logos{
    grid-template-columns: 1fr;
  }
}

/* Kachel Layout bleibt wie gehabt */
.rg-tile-logo{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 190px;
  height: 100%;
  padding: 1.25rem 1rem 1rem;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Logo Slot gleiche Höhe */
.rg-tile-logo .rg-tile-img{
  height: 92px;
  width: 100%;
  object-fit: contain;
  display: block;
}

/* Icon Slot fürs RIS */
.rg-tile-logo .rg-tile-icon{
  height: 92px;
  width: 100%;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

/* Label unten bündig */
.rg-tile-logo .rg-tile-label{
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

/* 1. Kachel: Verlauf wie Hero */
.rg-tile-voltdp{
  background: linear-gradient(135deg, var(--volt-purple), var(--partei-red));
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.16);
}

.rg-tile-voltdp .rg-tile-img{
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  height: auto;
  max-height: 96px;
}

/* Volt Essen */
.rg-tile-volt{
  background: var(--volt-purple);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.14);
}

/* Die PARTEI Essen */
.rg-tile-partei{
  background: #ffffff;
  color: #111111;
  border: 2px solid #111111;
}

/* RIS */
.rg-tile-ris{
  background: #002a46;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.rg-tile-ris .rg-tile-label{
  color: #ffffff;
  transition: color 0.15s ease;
}

.rg-ris-icon-img{
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

.rg-tile-ris .rg-tile-icon{
  background: transparent;
  border-radius: 0;
}

/* Hover Effekt explizit */
.rg-tile-ris:hover{
  opacity: 0.94;
  transform: translateY(-2px);
  background: #003a60;
}

/* Schrift beim Hover leicht heller absetzen */
.rg-tile-ris:hover .rg-tile-label{
  color: #e6f2ff;
}


/* Presse Grid */
.rg-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rg-post-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.rg-post-image img {
  width: 100%;
  height: auto;
  display: block;
}

.rg-post-content {
  padding: 1rem 1.1rem 1.2rem 1.1rem;
}

.rg-post-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.05rem;
}

.rg-post-content time {
  font-size: 0.85rem;
  opacity: 0.7;
}

.rg-post-content p {
  margin-top: 0.5rem;
}

/* Footer */
#footer.rg-footer {
  padding: 1.25rem 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

#footer .rg-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer .rg-footer-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

#footer .rg-footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

#footer .rg-footer-nav a:hover,
#footer .rg-footer-nav a:focus {
  text-decoration: underline;
}

#footer .rg-footer-meta {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .rg-hero {
    padding: 1.8rem 1.2rem;
  }

  .rg-hero-logo-wrap {
    padding: 14px 16px;
  }

  .rg-hero h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 700px) {
  #footer .rg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

