:root {
  --primary: #cfdbd5;
  --bg: #242423;
  --bg-light: #e8eddf;
  --card-bg: #333533;
  --accent: #f5cb5c;
  --white: #fff;
  --text-main: #e8eddf;
  --text-light: #cfdbd5;
  --nav-height: 96px;
  --logo-size: 50px;
  --nav-gap: 36px;
  --body-font-size: 1.15rem;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  font-size: var(--body-font-size);
}

/* === PROJEKT-KARTEN, HERO, ETC (Dein Restliches Design) === */
.projects-list-section {
  background: transparent;
  padding: 56px 0 52px 0;
  min-height: 30vh;
}
.projects-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 54px 44px;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
}
.modern-project-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 6px 34px rgba(0,0,0,0.13);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: box-shadow 0.18s, transform 0.14s;
  min-height: 340px;
  max-width: 100%;
}
.modern-project-card:hover {
  box-shadow: 0 16px 42px rgba(0,0,0,0.22);
  transform: translateY(-6px) scale(1.033);
}
.modern-card-img-wrap {
  width: 100%;
  height: 220px;
  background: #e8eddf;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modern-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.modern-placeholder-img {
  width: 100%;
  height: 100%;
  background: #cfdbd5;
  color: #232323;
  font-size: 1.22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;
  opacity: 0.77;
}
.modern-card-meta {
  padding: 26px 26px 18px 26px;
  background: var(--card-bg);
  text-align: left;
}
.modern-card-meta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0 0 7px 0;
  color: var(--accent);
}
.modern-card-type {
  font-size: 1.02rem;
  color: #cfdbd5;
  opacity: 0.75;
}

footer {
  padding: 36px 0 12px 0;
  background: #20211e;
  margin-top: 0;
  color: var(--text-light);
}
.footer-inner {
  max-width: 650px;
  margin: 0 auto;
}
.footer-socials {
  margin-bottom: 13px;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.footer-socials a {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
  text-align: center;
}
.footer-socials a:hover {
  color: var(--white);
  opacity: 1;
}
.footer-credit {
  font-size: 1.06rem;
  opacity: 0.96;
  margin-top: 7px;
  letter-spacing: 0.16px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .navbar { padding: 0 10px; height: 76px; }
  .nav-logo { width: 34px; height: 34px; }
  .site-title { font-size: 1.35rem; }
  .nav-links { gap: 18px; }
  .nav-right a { font-size: 1.13rem; gap: 14px; }
  .projects-grid-modern { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 700px) {
  .projects-grid-modern { gap: 12px; padding: 0 2px; }
  .nav-logo { width: 22px; height: 22px; }
  .site-title { font-size: 1.03rem; }
  .nav-links { gap: 10px; }
}
@media (max-width: 520px) {
  .projects-grid-modern { max-width: 99vw; }
  .nav-logo { width: 18px; height: 18px; }
  .navbar { padding-left: 0; padding-right: 0; }
  .nav-center-absolute { left: 50vw; }
}

body {
  background: #181818;
  color: #fafafa;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  font-size: var(--body-font-size);
}

.project-about h2,
.project-details h2 {
  font-size: 1.3rem;
}

.project-arrow {
  position: absolute;
  right: 18px;        /* Abstand zum rechten Rand */
  top: 50%;
  transform: translateY(-50%);
  background: #fff;   /* oder deine Kartenfarbe */
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  font-size: 1.2em;
  color: #3a334c;     /* oder dein Akzentton */
  transition: background 0.2s, color 0.2s;
  pointer-events: none; /* Klick geht weiterhin auf die Karte */
}

.project-card:hover .project-arrow {
  background: #3a334c;  /* Akzentfarbe beim Hover */
  color: #fff;
}
