/*-- START --*/
/* --- LANDING PAGE GRID VIEW FOR BLOG POSTS --- */

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  /* background: var(--md-surface); */
  background: #fff; /* Weißer Hintergrund */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--md-shadow-z2);

  /* Border + Glow Transition */
  border: 2px solid transparent;
  transition:
    transform .2s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.blog-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--md-shadow-z3);
}

.blog-card-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.blog-card-content {
  padding: 1rem 1.2rem;
}

.blog-card-content h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.1rem;
}

.blog-card-content .date {
  font-size: .85rem;
  opacity: .7;
  margin-bottom: .6rem;
}

.blog-card-content .excerpt {
  font-size: .9rem;
  opacity: .9;
}

/* --- LANDING PAGE GRID VIEW FOR BLOG POSTS --- */
/*-- END --*/


/*-- START --*/
/* --- CATEGORY GRID--- */
/* --- CATEGORY GRID--- */
.category-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ICON */
.category-card .landingpage-activity-icon {
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: center;
  height: 44px;
}

/* TEXT – das ist der wichtige Teil */
.category-card span:last-child {
  font-size: 1.5rem; /* ← hier Schriftgröße einstellen */
}

/* Hover */
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
/* --- CATEGORY GRID--- */


/* --- CATEGORY GRID--- */
/*-- END --*/



/*-- START --*/
/* --- Apple Hero Layout--- */
.nextcloud-hero {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nextcloud-hero-text {
  padding: 2rem 1rem;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: #444;
  margin: 1.5rem 0 2rem;
}

.hero-button {
  margin-top: 1rem;
  display: inline-block;
}

/* Hero Image */
.nextcloud-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .nextcloud-hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    max-width: 90%;
  }
}

/* Apple Hero Section – unified layout */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 5rem 0;
}

/* Text */
.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #111;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

.hero-button {
  display: inline-block;
  margin-top: 1rem;
}

/* Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-img {
    max-width: 90%;
  }
}
/* --- Apple Hero Layout--- */
/*-- END --*/



/*-- START --*/
/* --- FOOTER--- */
/* Footer Layout */
.footer {
  padding: 4rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  color: #fff;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

/* Lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: 0.6rem 0;
}

.footer-list a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: opacity .2s ease;
}

.footer-list a:hover {
  opacity: 0.7;
}

/* Icons */
.footer-heart {
  width: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

.footer-icon {
  width: 28px;
  margin: 0 10px;
  vertical-align: middle;
  transition: opacity .2s ease;
}

.footer-icon:hover {
  opacity: 0.7;
}

/* License */
.cc-icon {
  height: 22px;
  margin-left: 4px;
  vertical-align: text-bottom;
}

.footer-license {
  margin-top: 1.5rem;
  font-size: 1rem;
}

/* Social */
.footer-social {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.footer-social span {
  margin-right: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-social span {
    display: block;
    margin-bottom: 1rem;
  }
}

footer.bg-dark {
  background: #0a0a0a !important;
}

/* --- FOOTER -- */
/*-- END --*/