/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #1C1C1C; /* dark base */
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* GLOBAL GRADIENT (MAGENTA → CYAN) */
:root {
  --grad-start: #B700FF; /* Magenta */
  --grad-end: #00F2FF;   /* Cyan */
}

/****************************************************
 ********************* HEADER ***********************
 ****************************************************/
header {
  width: 100%;
  background-color: #2C2C2C; /* Gray background */
  position: relative;
}
/* Gradient line under header */
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.4rem; /* thickness of gradient line */
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo img {
  height: 40px;
  width: auto;
}
.site-title {
  font-size: 2.4rem;
  font-weight: 600;
}
nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
nav ul li a {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.3s;
}
nav ul li a:hover {
  opacity: 0.8;
}

/* THEME-TOGGLE BUTTON */
.theme-toggle {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  border: none;
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  cursor: pointer;
  transition: opacity 0.3s;
}
.theme-toggle:hover {
  opacity: 0.8;
}

/****************************************************
 ******************* HERO SECTION *******************
 ****************************************************/
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 40vh;
  padding: 4rem 2rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: url('background.png') center/cover no-repeat;
  filter: blur(5px) brightness(0.6);
  z-index: -1;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}
.hero p {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  color: #e0e0e0;
}

/****************************************************
 ***************** MAIN / SECTIONS ******************
 ****************************************************/
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
section {
  margin-bottom: 4rem;
}
section h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-weight: 600;
  border-left: 6px solid var(--grad-start);
  padding-left: 1rem;
}
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/* CARD STYLES */
.card {
  background-color: #2b2b2b;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}
.card .info {
  font-size: 1.3rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.card .heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.card .description {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #eee;
  margin-bottom: 1.5rem;
}
.links a {
  display: inline-block;
  text-decoration: none;
  color: var(--grad-end);
  font-weight: 600;
  font-size: 1.4rem;
  margin-right: 1rem;
  transition: color 0.2s ease;
}
.links a:hover {
  color: #fff;
}
.popup {
  background-color: #333;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 0 0 1rem 1rem;
  margin-top: 1rem;
  padding: 0 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}
.popup.show {
  opacity: 1;
  max-height: 1000px;
  padding: 1rem;
}
.links {
  position: relative;
}
.links .mehr {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  font-size: 1.2rem;
  margin-right: 0;
  color: #ff6fff;
}

/****************************************************
 ********************* FOOTER ***********************
 ****************************************************/
footer {
  background-color: #1a1a1a;
  padding: 2rem 1rem;
  color: #aaa;
  font-size: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-contact,
.footer-links,
.footer-socials {
  flex: 1;
  min-width: 280px;
}
.footer-contact h2,
.footer-links h2,
.footer-socials h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}
.footer-contact p,
.footer-socials p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #ccc;
}
.footer-contact a,
.footer-links a,
.footer-socials a {
  color: var(--grad-end);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover,
.footer-links a:hover,
.footer-socials a:hover {
  color: #fff;
}
.footer-links ul {
  list-style: none;
}
.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links ul li a {
  font-size: 1.4rem;
  transition: color 0.2s ease;
}
.footer-bottom {
  text-align: center;
  font-size: 1.2rem;
  color: #888;
}

/* Erhöhe die Schriftgrößen in den neuen Abschnitten */
#about h2,
#blog h2 {
  font-size: 3rem; /* Überschriften größer */
  margin-bottom: 1.5rem;
}

#about p,
#blog p {
  font-size: 1.8rem; /* Standardtext etwas größer */
  line-height: 1.6;
}

#blog article h3 {
  font-size: 2.2rem; /* Artikel-Überschriften */
  margin-bottom: 1rem;
}

#blog article p {
  font-size: 1.8rem;
  line-height: 1.6;
}


/****************************************************
 **************** LIGHT-MODE OVERRIDES **************
 ****************************************************/
body.light-mode {
  background-color: #fdfdfd;
  color: #222;
}
body.light-mode header {
  background-color: #f7f7f7;
}
body.light-mode nav ul li a {
  color: #222;
}
body.light-mode .site-title {
  color: #222;
}
body.light-mode .card {
  background-color: #fff;
  color: #333;
}
body.light-mode .card .description {
  color: #333;
}
body.light-mode footer {
  background-color: #eaeaea;
  color: #666;
}
body.light-mode .footer-contact a,
body.light-mode .footer-links a,
body.light-mode .footer-socials a {
  color: var(--grad-start);
}

/****************************************************
 **************** MEDIA QUERIES *********************
 ****************************************************/
@media (max-width: 768px) {
  html {
    font-size: 58%;
  }
  .nav-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .site-title {
    font-size: 2rem;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  nav ul li a {
    font-size: 1.4rem;
  }
  .hero {
    padding: 2.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1.6rem;
  }
  section h2 {
    font-size: 2rem;
  }
  .card {
    padding: 1.5rem;
  }
  .card .heading {
    font-size: 1.6rem;
  }
  .card .description {
    font-size: 1.3rem;
  }
  .links a {
    font-size: 1.3rem;
  }
  .footer-contact p,
  .footer-socials p {
    font-size: 1.3rem;
  }
  .footer-links ul li a {
    font-size: 1.3rem;
  }
  .footer-bottom {
    font-size: 1.2rem;
  }
}


/* ===== Umzug-Banner über Featured ===== */
.moved-banner{
  /* sitzt oberhalb der H2 im #featured-Block */
  margin: 0 0 20px 0;      /* etwas Abstand zur H2 darunter */
  text-align: center;
}

.moved-title{
  /* asashin-ähnlicher, moderner Sans-Serif-Look */
  font-family: "Inter", "Poppins", "Outfit", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.1;
  font-size: clamp(22px, 3.2vw, 40px);
  margin: 0 0 10px 0;
}

.moved-link{
  display: inline-block;
  max-width: min(1100px, 95vw); /* schön responsiv, nicht zu breit */
  width: 100%;
  border-radius: 16px;          /* runde Ecken, ggf. anpassen oder entfernen */
  overflow: hidden;
  /* box-shadow: 0 10px 24px rgba(0,0,0,.18); */
  transition: transform .2s ease, box-shadow .2s ease;
}

.moved-link:hover{ 
  transform: translateY(-2px);
  /* box-shadow: 0 16px 34px rgba(0,0,0,.22); */
  cursor: pointer;
}

.moved-link img{
  display: block;
  width: 100%;
  height: auto;
}
