@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #f3f4eb;
  --muted: #aeb9ad;
  --green: #c2e6a2;
  --green-deep: #203a2b;
  --panel: #151f19;
  --line: rgba(224, 239, 220, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: #101713;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 8vw, 124px) 110px;
  background: #18271d;
}
.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: -7% 0;
  background-image: url("../images/backgroundImage.png");
  background-size: cover;
  background-position: center 54%;
  will-change: transform, opacity;
  transform: translate3d(0,0,0) scale(1.015);
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 12, .78) 0%, rgba(8, 17, 12, .45) 52%, rgba(8, 17, 12, .18) 100%),
    linear-gradient(0deg, #101713 0%, rgba(16, 23, 19, .15) 27%, rgba(8, 15, 10, .38) 100%);
}
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px clamp(24px, 5.5vw, 82px);
}
.schul-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 15px 8px 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(10, 17, 12, .38);
  backdrop-filter: blur(14px);
  transition: background .25s ease, border-color .25s ease;
}
.schul-logo:hover { background: rgba(10,17,12,.7); border-color: rgba(255,255,255,.4); }
.schul-logo img {
  width: 47px; height: 42px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}
.schul-logo span { display: grid; gap: 2px; }
.schul-logo strong { font: 800 12px 'Manrope', sans-serif; letter-spacing: .14em; }
.schul-logo small { color: #d1d9d0; font-size: 11px; }
.header-link {
  display: flex; align-items: center; gap: 15px;
  font-size: 12px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase;
  color: #eef3e9;
}
.header-link span { color: var(--green); font-size: 18px; transition: transform .2s ease; }
.header-link:hover span { transform: translate(3px, 3px); }
.hero-content { width: min(780px, 100%); will-change: transform, opacity; }

.status-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 8px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 15px rgba(194,230,162,.7);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Manrope', sans-serif; letter-spacing: -.055em; }
h1 {
  max-width: 850px; margin-bottom: 23px;
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 600; line-height: 1.04;
}
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-description {
  max-width: 550px; margin-bottom: 34px;
  color: rgba(244,247,239,.82); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.8;
}
.server-card {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  width: min(480px, 100%); padding: 17px 17px 17px 21px;
  border: 1px solid rgba(235,246,231,.24); border-radius: 15px;
  background: rgba(13, 22, 16, .62); backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
}
.server-copy { display: grid; gap: 7px; min-width: 0; }
.server-label { color: #aab9a8; font-size: 9px; letter-spacing: .18em; font-weight: 700; }
.server-copy code { font: 500 clamp(12px, 1.3vw, 15px) ui-monospace, SFMono-Regular, Consolas, monospace; color: #f7f8f2; overflow-wrap: anywhere; }
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 0 0 auto; padding: 11px 13px; border: 1px solid rgba(194,230,162,.45);
  border-radius: 10px; background: rgba(194,230,162,.12); color: #e9f6dd;
  cursor: pointer; font-size: 12px; font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.copy-btn:hover { background: rgba(194,230,162,.23); transform: translateY(-1px); }
.copy-btn img { width: 14px; height: 16px; object-fit: contain; filter: invert(1); }
.copy-btn.copied { background: rgba(194,230,162,.25); }
.copy-feedback { min-height: 17px; margin: 12px 0 0 2px; color: rgba(234,241,230,.66); font-size: 11px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 33px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  color: rgba(241,246,236,.76); font-size: 9px; font-weight: 700; letter-spacing: .19em;
  white-space: nowrap;
}

.statusleiste {
  margin: 0 0 23px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.6;
}

/* Anleitung und Impressum – bewusst schlicht gehalten */
.join-section {
  position: relative;
  padding: clamp(70px, 9vw, 118px) 24px clamp(72px, 8vw, 105px);
  background: linear-gradient(180deg, #121a15 0%, #111813 100%);
  border-top: 1px solid rgba(224, 239, 220, .08);
}
.join-inner { width: min(850px, 100%); margin: 0 auto; }
.section-kicker {
  margin-bottom: 16px; color: var(--green); font-size: 10px; font-weight: 700;
  letter-spacing: .2em;
}
.join-section h2 {
  margin-bottom: 12px; font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 600; line-height: 1.1;
}
.join-intro { margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.version-note {
  display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding: 15px 18px;
  border: 1px solid rgba(194,230,162,.22); border-radius: 12px;
  background: rgba(194,230,162,.055);
}
.version-icon {
  display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px;
  border-radius: 50%; background: rgba(194,230,162,.14); color: var(--green); font-size: 13px; font-weight: 800;
}
.version-note p { margin: 0; color: #dce5d8; font-size: 13px; line-height: 1.65; }
.join-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.join-step {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.step-number { padding-top: 2px; color: var(--green); font: 700 13px 'Manrope', sans-serif; letter-spacing: .08em; }
.join-step h3 { margin: 0 0 7px; font: 700 17px 'Manrope', sans-serif; letter-spacing: -.02em; }
.join-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.join-step strong { color: #e9eee5; font-weight: 600; }
.join-step code { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.035); color: #e9f6dd; font-size: .95em; overflow-wrap: anywhere; }
.join-note { margin: 24px 0 0; color: #d0dccb; font-size: 13px; }
.site-footer { padding: 34px clamp(24px, 8vw, 124px) 20px; background: #0c120e; border-top: 1px solid rgba(224,239,220,.1); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; width: min(1100px, 100%); margin: 0 auto; }
.footer-project { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.footer-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(194,230,162,.3); border-radius: 10px; color: var(--green); font: 800 15px 'Manrope', sans-serif; }
.footer-project div { display: grid; gap: 4px; }
.footer-project strong { font: 700 11px 'Manrope', sans-serif; }
.footer-project small { color: #839184; font-size: 10px; }
.imprint { max-width: 500px; }
.imprint h2 { margin: 0 0 10px; color: #e7eee2; font: 700 12px 'Manrope', sans-serif; letter-spacing: .02em; }
.imprint p { margin: 0 0 8px; color: #94a194; font-size: 11px; line-height: 1.75; }
.imprint strong { color: #dbe4d7; font-weight: 600; }
.imprint a, .footer-bottom a { color: #c2e6a2; text-decoration: none; }
.imprint a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; width: min(1100px, 100%); margin: 25px auto 0; padding-top: 15px; border-top: 1px solid rgba(224,239,220,.08); color: #647166; font-size: 10px; }
.footer-bottom a { color: #a9b9a5; }
@media (max-width: 620px) {
  .join-section { padding-left: 22px; padding-right: 22px; }
  .join-step { grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 21px 0; }
  .join-step h3 { font-size: 15px; }
  .join-step p { font-size: 12px; }
  .footer-inner { flex-direction: column; gap: 27px; }
  .site-footer { padding-left: 22px; padding-right: 22px; }
  .footer-bottom { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Sprachwahl – dezent in die bestehende Navigation integriert */
.header-actions { display:flex; align-items:center; gap:24px; }
.language-picker {
  display:inline-flex; align-items:center; gap:7px; padding:7px 10px;
  border:1px solid rgba(255,255,255,.2); border-radius:10px;
  background:rgba(10,17,12,.42); backdrop-filter:blur(12px);
  color:#eef3e9;
}
.language-icon { color:var(--green); font-size:14px; line-height:1; }
.language-picker select {
  border:0; outline:0; background:transparent; color:#f3f4eb;
  font:700 10px 'DM Sans',sans-serif; letter-spacing:.08em; cursor:pointer;
}
.language-picker option { color:#172019; background:#f3f4eb; }

/* Partnerschulen */
.partners-section {
  padding:clamp(64px,8vw,96px) 24px;
  background:#121a15;
  border-top:1px solid rgba(224,239,220,.08);
}
.partners-inner { width:min(1000px,100%); margin:0 auto; }
.partners-section h2 {
  margin:0 0 12px; font-size:clamp(32px,4.5vw,52px);
  font-weight:600; line-height:1.1;
}
.partners-intro { max-width:650px; margin:0 0 34px; color:var(--muted); font-size:14px; line-height:1.8; }
.partner-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.partner-card {
  min-height:205px; display:flex; flex-direction:column; align-items:flex-start;
  padding:23px 22px; border:1px solid var(--line); border-radius:15px;
  background:#151f19;
}
.partner-home { border-color:rgba(194,230,162,.25); }
.partner-logo-wrap {
  width:64px; height:58px; display:grid; place-items:center; margin-bottom:18px;
  overflow:hidden; border-radius:10px; background:#fff;
}
.partner-logo-wrap img { width:100%; height:100%; padding:5px; object-fit:contain; }
.partner-monogram {
  width:100%; height:100%; place-items:center; color:#23382a;
  font:800 23px 'Manrope',sans-serif; background:#e8efe4;
}
.partner-card strong { max-width:100%; margin-bottom:7px; color:#e9eee5; font:700 13px/1.5 'Manrope',sans-serif; }
.partner-card > span { color:#aeb9ad; font-size:11px; }
.partner-card small { margin-top:10px; color:var(--green); font-size:10px; }

/* EU-Hinweis: sichtbar und vollständig, aber visuell zurückhaltend */
.eu-funding {
  width:min(1100px,100%); display:flex; align-items:center; gap:24px;
  margin:28px auto 0; padding:18px 0 4px;
  border-top:1px solid rgba(224,239,220,.08);
}
.eu-emblem-wrap { flex:0 0 205px; display:flex; align-items:center; }
.eu-emblem-wrap img { display:block; width:100%; height:auto; }
.eu-disclaimer { margin:0; color:#7f8c80; font-size:9px; line-height:1.65; }
@media (max-width:760px) {
  .partner-grid { grid-template-columns:1fr; }
  .partner-card { min-height:0; display:grid; grid-template-columns:64px 1fr; column-gap:16px; align-items:center; }
  .partner-logo-wrap { grid-row:1 / span 3; margin:0; }
  .partner-card strong { margin:0 0 3px; }
  .partner-card > span { align-self:start; }
  .partner-card small { margin-top:4px; }
  .eu-funding { flex-direction:column; align-items:flex-start; gap:13px; }
  .eu-emblem-wrap { flex-basis:auto; width:190px; }
}
@media (max-width:620px) {
  .site-header { padding-top:18px; }
  .header-actions { gap:12px; }
  .header-link { font-size:9px; gap:6px; }
  .language-picker { padding:7px 8px; }
}
