/* =========================
   Modern MLZ / Poster Style
   ========================= */

:root{
  --bg: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.72);

  --brandA: #c0c0c0;
  --brandB: #4b4b4b;

  --card: #ffffff;
  --shadow: 0 14px 40px rgba(0,0,0,.12);
  --shadowSoft: 0 10px 30px rgba(0,0,0,.10);

  --radius: 22px;
  --radiusSm: 14px;

  --container: 1120px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Overlay Transition */
.overlay{
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  animation: overlayFade 1.1s ease forwards;
}
@keyframes overlayFade{
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

main{ padding-top: 86px; } /* header offset */

/* Header (Banner + Reiter) */
.site-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 14px 22px;

  background: linear-gradient(90deg, var(--brandA), var(--brandB));
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img{
  height: 60px; /* größer wie gewünscht */
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.18));
}

/* Nav tabs */
.site-nav{ display: flex; align-items: center; }
.nav-tabs{
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}
.nav-tabs a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  font-weight: 650;
  letter-spacing: .2px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  outline: none;
}
.nav-tabs a:hover{ background: rgba(0,0,0,.14); transform: translateY(-1px); }
.nav-tabs a.active{
  background: rgba(255,255,255,.92);
  color: #0b1220;
}

/* Hamburger */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
}

/* Hero */
.hero--modern{
  position: relative;
  padding: 72px 0 26px;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.18), transparent 55%),
              linear-gradient(90deg, var(--brandA), var(--brandB));
}
.hero--modern::after{
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  filter: blur(2px);
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-copy h1{
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 12px;
}
.hero-copy p{
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 18px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; }

/* Decorative hero card */
.hero-card{
  width: min(340px, 100%);
  margin-left: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
}
.hero-card-top{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0,0,0,.10);
}
.hero-card-top img{ height: 34px; width: auto; }
.hero-card-top span{ font-weight: 800; letter-spacing: .8px; }
.hero-card-body{
  padding: 18px 16px;
}
.hero-card-line{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  margin: 10px 0;
}
.hero-card-line.short{ width: 64%; }
.hero-card-bottom{
  padding: 12px 16px;
  background: rgba(0,0,0,.18);
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0b1220;
  text-decoration: none;
  font-weight: 750;
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(0.98); }
.btn:active{ transform: translateY(0); }

.btn.btn-secondary{
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.28);
}
.btn.btn-secondary:hover{ filter: none; background: rgba(0,0,0,.14); }

/* Sections */
.section{
  padding: 56px 0;
}
.section-alt{
  background: linear-gradient(180deg, rgba(44,95,179,.06), rgba(10,163,194,.05));
}
.section-head{
  margin-bottom: 20px;
}
.section-head h2, .section-head h1{
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  letter-spacing: -.2px;
  margin-bottom: 6px;
}
.section-head p{ color: var(--muted); max-width: 80ch; }

/* Tabs (Reiter) */
.tabs{
  margin-top: 18px;
}
.tablist{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tab{
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .4px;
  color: rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.11));
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: transform .15s ease, filter .2s ease;
}
.tab:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.tab.active{
  color: #0b1220;
  background: rgba(255,255,255,.92);
}
.panels{ margin-top: 8px; }
.tab-panel{ display: none; }
.tab-panel.active{ display: block; }

/* Poster Card */
.promo-card{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.promo-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--brandA), var(--brandB));
}
.promo-logo{
  height: 44px;
  width: auto;
}
.promo-tag{
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  text-align: right;
}
.promo-image{
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
}
.promo-bottom{
  padding: 20px 18px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.18));
  color: #000000;
}
.promo-bottom h3{
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.promo-meta{
  font-size: .85rem;
  line-height: 1.35;
  opacity: .92;
  text-transform: uppercase;
  letter-spacing: .35px;
  margin-bottom: 12px;
}
.promo-time{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .4px;
  margin-bottom: 10px;
}
.dot{ opacity: .85; padding: 0 8px; }
.promo-school{
  font-weight: 950;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.promo-address{
  margin-top: 2px;
  opacity: .92;
  text-transform: uppercase;
  letter-spacing: .35px;
  font-size: .85rem;
}

/* Split sections */
.scroll-block{
  padding: 56px 0;
}
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.split.reverse{ grid-template-columns: 1fr 1fr; }
.split.reverse .split-media{ order: 2; }
.split-media img{
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  transform: translateZ(0);
  transition: transform .25s ease;
}
.split-media img:hover{ transform: scale(1.02); }
.split-text h2{
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.split-text p{ color: var(--muted); margin-bottom: 10px; }

.text-link{
  display: inline-flex;
  margin-top: 4px;
  text-decoration: none;
  font-weight: 800;
  color: rgb(0, 0, 0);
}
.text-link:hover{ text-decoration: underline; }
.text-link.danger{ color: #b00020; border: 0; background: transparent; cursor: pointer; padding: 0; }

/* Team */
.page{ padding: 22px 0 0; }
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.team-card{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  padding: 18px;
  transition: transform .18s ease;
  border: 1px solid rgba(0,0,0,.06);
}
.team-card:hover{ transform: translateY(-3px); }
.avatar{
  width: 100%;
  height: 220px;
  border-radius: calc(var(--radius) - 4px);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  margin-bottom: 12px;
}
.team-card h3{ margin-bottom: 4px; }
.team-card p{ color: var(--muted); }

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.info-card, .contact-card{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px;
}
.info-card h2, .contact-card h2{ font-size: 1.2rem; margin-bottom: 8px; }
.muted{ color: var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.info-lines{ display: grid; gap: 10px; margin-top: 12px; }
.info-actions{ margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

.field{ display: grid; gap: 8px; margin-bottom: 14px; }
label{ font-weight: 750; }
input, textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  font-size: 1rem;
}
input:focus, textarea:focus{
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px rgba(44,95,179,.12);
}
.form-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form-message{
  margin-top: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.18);
  opacity: 0;
  transition: opacity .25s ease;
}
.form-message.show{ opacity: 1; }

.saved-messages{ margin-top: 18px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 16px; }
.message-list{ display: grid; gap: 10px; margin-top: 10px; }
.message-item{
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(44,95,179,.06);
  border: 1px solid rgba(44,95,179,.10);
}
.message-item .top{
  display: flex; justify-content: space-between; gap: 10px;
  font-weight: 850;
}
.message-item .meta{ color: rgba(11,18,32,.65); font-size: .9rem; margin-top: 4px; }
.message-item .text{ margin-top: 8px; color: rgba(11,18,32,.85); white-space: pre-wrap; }

/* Footer */
.site-footer{
  padding: 34px 0 44px;
  text-align: center;
  color: rgba(11,18,32,.72);
}

/* Fade-in Animation */
.fade-in{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.show{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-card{ margin-left: 0; }
  .split{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order: 0; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 740px){
  main{ padding-top: 84px; }
  .nav-toggle{ display: inline-block; }
  .site-nav{ position: relative; }
  .nav-tabs{
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(240px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 18, 34, .92);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-tabs{ display: flex; }
  .nav-tabs a{ width: 100%; }
  .promo-image{ height: 300px; }
}
