/* ================= VARIABLES ================= */
:root {
  --blue: #1f4c5c;
  --blue-dark: #163944;

  --orange: #f29c2b;

  --yellow: #f6e9c3;

  --lavender: #f1effa;

  --bg: #ffffff;
  --bg-soft: #fafafa;

  --text: #1f4c5c;
  --text-light: #5f6b73;
}

/* ================= BASE ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: system-ui, -apple-system, sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  line-height:1.6;
}

/* ================= HEADER ================= */
/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  padding: 0.8rem 5%;

  backdrop-filter: blur(12px);

  background: rgba(246, 233, 195, 0.85);

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1400px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  font-weight: 600;

  text-decoration: none;

  color: var(--blue);
}

.logo img {
  height: 42px;

  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-4deg) scale(1.05);
}

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;

  color: var(--blue);

  font-weight: 500;

  transition: all 0.25s ease;

  position: relative;
}

/* ---------- botón Kontakt ---------- */
.nav a:last-child {
  border: 2px solid var(--blue);

  border-radius: 999px;

  padding: 0.6rem 1.4rem;

  transition: all 0.3s ease;
}

/* hover general */
.nav a:hover {
  color: var(--orange);

  transform: translateY(-1px);
}

/* hover Kontakt */
.nav a:last-child:hover {
  background: var(--blue);

  color: white;

  transform: translateY(-2px);
}

/* click */
.nav a:last-child:active {
  transform: scale(0.95);

  background: var(--orange);

  border-color: var(--orange);

  color: white;
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  z-index: 2001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;

  background: var(--blue);

  border-radius: 2px;

  transition: all 0.3s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;

    top: 0;
    right: -270px;

    width: 260px;
    height: 100vh;

    flex-direction: column;
    align-items: flex-start;

    padding: 5rem 2rem;

    gap: 1.5rem;

    background: white;

    box-shadow: -10px 0 30px rgba(0,0,0,0.15);

    transition: right 0.35s ease;

    z-index: 2000;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;

    width: 100%;
  }

  /* versión móvil simplificada */
  .nav a:last-child {
    border: none;

    padding: 0;

    background: none;

    color: var(--blue);
  }

  .nav a:last-child:hover {
    background: none;

    color: var(--orange);
  }

  .logo img {
    height: 36px;
  }

  .logo span {
    font-size: 0.9rem;
  }

}

/* ---------- EXTRA SMALL ---------- */

@media (max-width: 480px) {

  .logo span {
    font-size: 0.8rem;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle span {
    width: 24px;
  }

  .nav {
    width: 230px;

    padding: 4rem 1.5rem;
  }

}

/* ---------- HEADER ENDE ---------- */

/* ---------- HEADER ENDE ---------- */







/* ================= HERO ================= */
.hero{
  min-height:88vh;

  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:7rem 10%;

  background:
  linear-gradient(
    135deg,
    #fafafa 0%,
    #f1effa 100%
  );

  position:relative;

  overflow:hidden;
}

/* decoraciones */
.hero::before{
  content:"";

  position:absolute;

  width:500px;
  height:500px;

  background:rgba(242,156,43,0.12);

  border-radius:50%;

  top:-180px;
  right:-120px;
}

.hero::after{
  content:"";

  position:absolute;

  width:250px;
  height:250px;

  background:rgba(31,76,92,0.06);

  border-radius:50%;

  bottom:-100px;
  left:-80px;
}

.hero-subtitle{
  position:relative;
  z-index:2;

  color:var(--orange);

  font-size:0.9rem;

  text-transform:uppercase;

  letter-spacing:1px;

  font-weight:700;

  margin-bottom:1rem;
}

.hero h1{
  position:relative;
  z-index:2;

  font-size:clamp(3rem, 8vw, 6rem);

  line-height:0.92;

  max-width:850px;

  margin-bottom:2rem;
}

.hero-text{
  position:relative;
  z-index:2;

  max-width:650px;

  font-size:1.15rem;

  line-height:1.8;

  color:var(--text-light);

  margin-bottom:2.5rem;
}

.hero-btn{
  position:relative;
  z-index:2;

  display:inline-flex;

  align-items:center;
  justify-content:center;

  width:fit-content;

  padding:1rem 2rem;

  border-radius:999px;

  background:var(--blue);

  color:white;

  text-decoration:none;

  font-weight:600;

  transition:0.3s ease;
}

.hero-btn:hover{
  background:var(--orange);

  transform:translateY(-3px);
}

/* ================= GENERAL SECTION STYLE ================= */
main section{
  padding:7rem 10%;
}

/* textos superiores */
main section > p:first-child{
  color:var(--orange);

  font-size:0.9rem;

  text-transform:uppercase;

  letter-spacing:1px;

  font-weight:700;

  margin-bottom:1rem;
}

/* títulos */
main section h2{
  font-size:clamp(2rem, 5vw, 4rem);

  line-height:1.05;

  margin-bottom:4rem;

  max-width:800px;
}

/* ================= KLASSEN ================= */
#klassen{
  background:white;
}

/* grid moderno */
#klassen{
  display:grid;
  grid-template-columns:repeat(12,1fr);

  gap:1.5rem;
}

/* título ocupa ancho */
#klassen > p,
#klassen > h2{
  grid-column:1/-1;
}

/* cards */
#klassen article{
  background:var(--bg-soft);

  padding:2rem;

  border-radius:24px;

  transition:0.35s ease;

  position:relative;

  overflow:hidden;

  min-height:230px;
}

/* tamaños distintos */
#klassen article:nth-of-type(1){
  grid-column:span 6;
  background:var(--yellow);
}

#klassen article:nth-of-type(2){
  grid-column:span 6;
}

#klassen article:nth-of-type(3){
  grid-column:span 4;
}

#klassen article:nth-of-type(4){
  grid-column:span 8;
  background:var(--lavender);
}

#klassen article:nth-of-type(5){
  grid-column:span 5;
}

#klassen article:nth-of-type(6){
  grid-column:span 7;
  background:#faf6f1;
}

#klassen article:hover{
  transform:translateY(-8px);
}

#klassen h3{
  font-size:1.5rem;

  margin-bottom:1rem;
}

/* ================= FÖRDERUNG ================= */
#foerderung{
  background:var(--blue);

  color:white;
}

#foerderung h2{
  color:white;
}

#foerderung ul{
  display:grid;

  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

  gap:1rem;

  list-style:none;
}

#foerderung li{
  background:rgba(255,255,255,0.08);

  padding:1.5rem;

  border-radius:18px;

  backdrop-filter:blur(10px);

  transition:0.3s ease;
}

#foerderung li:hover{
  background:rgba(255,255,255,0.15);

  transform:translateY(-5px);
}

/* ================= UNTERRICHT ================= */
#unterricht{
  background:white;
}

#unterricht article{
  display:grid;

  grid-template-columns:0.8fr 1.2fr;

  gap:3rem;

  padding:3rem 0;

  border-bottom:1px solid rgba(0,0,0,0.08);
}

#unterricht article:last-child{
  border-bottom:none;
}

#unterricht h3{
  font-size:2rem;
}

#unterricht ul{
  list-style:none;
}

#unterricht li{
  margin-bottom:1rem;

  font-size:1.05rem;
}

/* ================= SCHWERPUNKTE ================= */
#schwerpunkte{
  background:linear-gradient(
    180deg,
    #fafafa 0%,
    #f1effa 100%
  );
}

#schwerpunkte ul{
  display:flex;

  flex-wrap:wrap;

  gap:1rem;

  list-style:none;
}

#schwerpunkte li{
  background:white;

  padding:1rem 1.4rem;

  border-radius:999px;

  font-weight:500;

  transition:0.3s ease;
}

#schwerpunkte li:hover{
  background:var(--orange);

  color:white;

  transform:translateY(-3px);
}

/* ================= HORT ================= */
#hort{
  background:var(--yellow);

  border-radius:40px;

  margin:4rem 5%;

  position:relative;

  overflow:hidden;
}

#hort::before{
  content:"";

  position:absolute;

  width:350px;
  height:350px;

  background:rgba(255,255,255,0.25);

  border-radius:50%;

  right:-120px;
  top:-120px;
}

#hort p:last-child{
  max-width:700px;

  font-size:1.2rem;

  position:relative;
  z-index:2;
}

/* ================= PROJEKTE ================= */
#projekte{
  background:white;
}

#projekte{
  display:grid;

  grid-template-columns:1fr 1fr;

  gap:3rem;
}

#projekte > p,
#projekte > h2{
  grid-column:1/-1;
}

#projekte article{
  background:var(--bg-soft);

  padding:3rem;

  border-radius:30px;

  transition:0.3s ease;
}

#projekte article:hover{
  transform:translateY(-8px);

  background:var(--lavender);
}

#projekte h3{
  margin-bottom:2rem;

  font-size:1.7rem;
}

#projekte ul{
  list-style:none;
}

#projekte li{
  margin-bottom:1rem;
}

/* ================= FOOTER ================= */
.footer{
  background:
  linear-gradient(
    135deg,
    #1f4c5c,
    #163944
  );

  padding:5rem 10%;

  position:relative;

  overflow:hidden;
}

.footer::before{
  content:"";

  position:absolute;

  width:400px;
  height:400px;

  background:rgba(255,255,255,0.05);

  border-radius:50%;

  top:-180px;
  left:-120px;
}

.footer-nav{
  position:relative;
  z-index:2;

  display:flex;
  justify-content:center;
  flex-wrap:wrap;

  gap:1rem;
}

.footer-nav a{
  text-decoration:none;

  color:white;

  padding:1rem 1.5rem;

  border-radius:999px;

  background:rgba(255,255,255,0.08);

  transition:0.3s ease;
}

.footer-nav a:hover{
  background:var(--orange);

  color:var(--blue);

  transform:translateY(-3px);
}

.footer:last-of-type{
  padding:1.5rem;

  text-align:center;

  background:#163944;

  color:white;
}

/* ================= RESPONSIVE ================= */
@media (max-width:1100px){

  .menu-toggle{
    display:flex;
  }

  .nav{
    position:fixed;

    top:0;
    right:-280px;

    width:260px;
    height:100vh;

    background:white;

    flex-direction:column;
    align-items:flex-start;

    padding:5rem 2rem;

    transition:0.35s ease;

    box-shadow:-10px 0 30px rgba(0,0,0,0.15);
  }

  .nav.active{
    right:0;
  }

  #klassen article,
  #projekte article{
    grid-column:1/-1 !important;
  }

  #unterricht article{
    grid-template-columns:1fr;
    gap:1rem;
  }

  #projekte{
    grid-template-columns:1fr;
  }

}

@media (max-width:700px){

  .hero{
    padding:5rem 7%;
  }

  .hero h1{
    font-size:clamp(2.8rem,12vw,4rem);
  }

  main section{
    padding:5rem 7%;
  }

  #hort{
    margin:3rem 4%;
    border-radius:25px;
  }

  .footer-nav{
    flex-direction:column;
    align-items:center;
  }

  .footer-nav a{
    width:100%;
    text-align:center;
  }

}




.logo{
  text-decoration:none;
  color:var(--blue);
}