/* ---------------------------
   KIT-friendly modern theme
   (Primary: KIT-Grün, Accent: KIT-Blau)
---------------------------- */
:root{
  /* Base */
  --bg: #f6f8fc;
  --card: rgba(255,255,255,0.78);
  --card-strong: rgba(255,255,255,0.92);
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.14);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.68);
  --muted-2: rgba(15, 23, 42, 0.52);

  /* KIT-ish palette */
  --primary: #009682;          /* KIT-Grün */
  --primary-2: #00a892;        /* slightly lighter for gradients */
  --primary-soft: rgba(0,150,130,0.12);

  --accent: #4664AA;           /* KIT-Blau */
  --accent-soft: rgba(70,100,170,0.12);

  /* Effects */
  --shadow: 0 20px 45px rgba(2, 6, 23, 0.10);
  --shadow-soft: 0 14px 28px rgba(2, 6, 23, 0.08);

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);

  background:
    radial-gradient(1200px 520px at 70% 0%, rgba(0,150,130,0.10), transparent 60%),
    radial-gradient(900px 480px at 18% 8%, rgba(70,100,170,0.08), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 55%, #f7f9fe 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
pre { margin: 0; white-space: pre; overflow: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

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

/* ---------------------------
   Buttons
---------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(2,6,23,0.04);
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(2,6,23,0.10);
  text-decoration: none;
}
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: white;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 30px rgba(0,150,130,0.28);
}

.btn-secondary{
  background: rgba(255,255,255,0.92);
  border-color: var(--border-strong);
}

.btn-ghost{
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.btn-mini{
  padding: 7px 10px;
  font-size: 0.86rem;
  border-radius: 999px;
}

.btn-full{ width: 100%; }

/* ---------------------------
   Header / Nav
---------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 255, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.nav{
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}



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

.brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-partner-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
}

.partner-logo {
  height: 32px;
  width: auto;
  background: white;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 2px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,150,130,0.16), rgba(70,100,170,0.08));
  border: 1px solid rgba(0,150,130,0.16);
  color: var(--primary);
  font-weight: 900;
}

.brand-mark.small{
  width: 28px; height: 28px; border-radius: 9px;
}

.brand-logo{
  height: 34px;
  width: auto;
}

.brand-text{
  display: flex;
  flex-direction: column;
  gap: 0px;
  line-height: 1.2;
}

.brand-name{
  font-size: 1rem;
}

.brand-subtitle{
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.76);
}

.nav-links a{
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-links a:hover{
  background: rgba(255,255,255,0.70);
  text-decoration: none;
}

.nav-links a.active{
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid rgba(70,100,170,0.18);
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-burger{
  display: none;
  width: 44px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(2,6,23,0.04);
}

.nav-burger span{
  display: block;
  height: 2px;
  background: rgba(15,23,42,0.70);
  border-radius: 999px;
}
.nav-burger span + span{ margin-top: 6px; }

.mobile-menu{
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 251, 255, 0.80);
  backdrop-filter: blur(10px);
}

.mobile-menu-inner{
  padding: 12px 0 18px;
  display: grid;
  gap: 8px;
}

.mobile-menu-inner a{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.80);
  text-decoration: none;
}

.mobile-menu-inner a.active{
  background: var(--accent-soft);
  border: 1px solid rgba(70,100,170,0.18);
  color: var(--text);
}

/* ---------------------------
   Hero
---------------------------- */
.hero {
  padding-top: 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;   /* aligns video with top */
  gap: 3rem;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-video {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.crumbs{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.crumbs a{ color: rgba(0,150,130,0.95); text-decoration: none; }
.crumbs a:hover{ text-decoration: underline; }
.dot{ opacity: 0.7; }

.hero-title{
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero-logo{
  display: block;
  max-width: 340px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  background: transparent;
  mix-blend-mode: multiply;
}

.hero-subtitle{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 58ch;
}

.hero-buttons{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-row{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(70,100,170,0.14);
  background: rgba(255,255,255,0.65);
  font-weight: 650;
  font-size: 0.86rem;
  color: rgba(15,23,42,0.80);
}

.pill-muted{
  background: rgba(15,23,42,0.04);
  color: rgba(15,23,42,0.62);
}

.meta-sep{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.14);
  margin: 0 4px;
}

.meta-text{
  color: rgba(15,23,42,0.66);
  font-weight: 650;
  font-size: 0.92rem;
}

.hero-art{
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-figure{
  width: min(460px, 100%);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
}

.code-card{
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,150,130,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.60));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.code-card-top{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.code-dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(0,150,130,0.22);
  border: 1px solid rgba(0,150,130,0.16);
}
.code-title{
  margin-left: 4px;
  color: rgba(15,23,42,0.68);
  font-weight: 650;
  font-size: 0.92rem;
  flex: 1;
}

.code-card pre{
  padding: 14px 16px 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(15,23,42,0.88);
}

.hero-glow{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 260px at 70% 10%, rgba(0,150,130,0.12), transparent 60%);
  opacity: 0.75;
}

/* ---------------------------
   Main content / layout
---------------------------- */
.content{
  padding: 16px 0 58px;
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

.stack{ display: grid; gap: 16px; }

.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-compact{
  border-radius: var(--radius);
  background: var(--card-strong);
}

.card-header{
  padding: 18px 18px 10px;
}
.card-header-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-header-text{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-actions{
  display: flex;
  align-items: center;
}
.card-header h2{
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.card-header p{
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 550;
}

.bullets{
  margin: 0;
  padding: 0 18px 18px 36px;
  color: rgba(15,23,42,0.78);
  line-height: 1.75;
  font-weight: 550;
}

.quickstart{
  padding: 0 18px 18px;
  display: grid;
  gap: 14px;
}

.code-card-wrap{
  padding: 0 18px 18px;
}

.step-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.step-title{
  font-weight: 750;
  letter-spacing: -0.01em;
}
.step-body{
  margin-top: 6px;
  color: rgba(15,23,42,0.72);
  font-weight: 550;
  line-height: 1.6;
}

.inline-code{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.80);
  font-size: 0.92rem;
}

.command-row{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-btn{
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 650;
  color: rgba(15,23,42,0.72);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.copy-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(2,6,23,0.10);
  border-color: rgba(0,150,130,0.24);
}

.quick-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.note{
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,150,130,0.18);
  background: rgba(0,150,130,0.07);
  padding: 14px 14px;
  color: rgba(15,23,42,0.78);
}
.note-title{
  font-weight: 800;
  margin-bottom: 6px;
}
.note p{ margin: 0; line-height: 1.6; font-weight: 550; }

.links-grid{
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card{
  display: block;
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.link-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(2,6,23,0.10);
  border-color: rgba(70,100,170,0.26);
  text-decoration: none;
}

.link-card-title{
  font-weight: 800;
  letter-spacing: -0.01em;
}
.link-card-sub{
  margin-top: 6px;
  color: rgba(15,23,42,0.66);
  line-height: 1.5;
  font-weight: 550;
}

/* Sidebar */
.sidebar{
  display: grid;
  gap: 14px;
  position: sticky;
  top: 86px;
}

.people{
  padding: 0 14px 12px;
  display: grid;
  gap: 10px;
}

.person{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.65);
  text-decoration: none;
}

.person:hover{
  border-color: rgba(0,150,130,0.20);
  background: rgba(255,255,255,0.80);
  text-decoration: none;
}

.avatar{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(70,100,170,0.18), rgba(70,100,170,0.08));
  border: 1px solid rgba(70,100,170,0.16);
  color: rgba(70,100,170,0.95);
  font-weight: 900;
}

.person-meta{ display: grid; }
.person-name{
  font-weight: 800;
  letter-spacing: -0.01em;
}
.person-sub{
  margin-top: 2px;
  color: rgba(15,23,42,0.62);
  font-weight: 650;
  font-size: 0.88rem;
}

/* Author row stays the same, just ensure it behaves as a row with action at end */
.person{ display:flex; align-items:center; gap:10px; }
.person-meta{ flex:1; }

/* Copy-email icon button */
.copy-email-icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

.copy-email-icon::before{
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  /* copy icon (KIT-blue stroke) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 9h10v11H9V9Z' stroke='%234664AA' stroke-width='1.8'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1' stroke='%234664AA' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.copy-email-icon:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(2,6,23,0.10);
  border-color: rgba(70,100,170,0.26);
  background: rgba(255,255,255,0.90);
}
.copy-email-icon:active{ transform: translateY(0); }

.copy-email-icon:focus-visible{
  outline: 3px solid rgba(0,150,130,0.25);
  outline-offset: 2px;
}

/* Quick "copied" state */
.copy-email-icon.copied{
  border-color: rgba(0,150,130,0.30);
  background: rgba(0,150,130,0.08);
}
.copy-email-icon.copied::before{
  /* check icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%23009682' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.sidebar-actions{
  padding: 0 14px 14px;
}

.release-list{
  list-style: none;
  margin: 0;
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}

.release{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.65);
}

.release-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.release-tag{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,0.86);
}
.release-date{
  color: rgba(15,23,42,0.56);
  font-weight: 700;
  font-size: 0.86rem;
}
.release-notes{
  margin-top: 6px;
  color: rgba(15,23,42,0.68);
  line-height: 1.55;
  font-weight: 550;
}

.callout{
  padding: 16px 16px;
  background: linear-gradient(180deg, rgba(0,150,130,0.10), rgba(255,255,255,0.85));
  border-color: rgba(0,150,130,0.18);
}
.callout h3{
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.callout p{
  margin: 0 0 12px;
  color: rgba(15,23,42,0.70);
  line-height: 1.6;
  font-weight: 550;
}

/* ---------------------------
   Footer
---------------------------- */
.site-footer{
  border-top: 1px solid rgba(15,23,42,0.08);
  background: rgba(248, 251, 255, 0.70);
  backdrop-filter: blur(10px);
  padding: 20px 0;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.footer-meta{
  margin-top: 6px;
  color: rgba(15,23,42,0.70);
  font-weight: 600;
}

.footer-right{
  display: flex;
  gap: 14px;
  font-weight: 700;
  color: rgba(15,23,42,0.72);
}

/* ---------------------------
   Modal
---------------------------- */
.modal{
  width: min(720px, calc(100% - 24px));
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  padding: 0;
}

.modal::backdrop{
  background: rgba(2,6,23,0.50);
  backdrop-filter: blur(2px);
}

.modal-inner{
  padding: 16px 16px 16px;
}

.modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-header h2{
  margin: 0;
  letter-spacing: -0.02em;
}

.bibtex{
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(248, 251, 255, 0.85);
  padding: 12px 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(15,23,42,0.88);
}

.modal-actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Acknowledgements list */
.ack-list{
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}

/* Make the acknowledgement a clickable card */
.ack-item{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;

  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

.ack-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(2,6,23,0.10);
  border-color: rgba(70,100,170,0.26);
  background: rgba(255,255,255,0.80);
  text-decoration: none;
}

.ack-body{ min-width: 0; }

.ack-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ack-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,0.86);
}

.ack-tag{
  font-weight: 750;
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(70,100,170,0.18);
  background: rgba(70,100,170,0.08);
  color: rgba(15,23,42,0.72);
  white-space: nowrap;
}

.ack-sub{
  margin-top: 6px;
  color: rgba(15,23,42,0.68);
  line-height: 1.55;
  font-weight: 550;
}

.ack-visit{
  display: inline-block;
  margin-left: 6px;
  color: rgba(0,150,130,0.95); /* KIT-Grün */
  font-weight: 750;
}

/* Logo badge */
.ack-logo{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.85);
  overflow: hidden;
}

.ack-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px; /* keeps logo from touching edges */
}


/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ justify-content: flex-start; }
  .hero-media {
    justify-content: center;
    margin-top: 2rem;
  }
  .hero-video {
    max-width: 100%;
  }
  .two-col{ grid-template-columns: 1fr; }
  .sidebar{ position: static; }
}

@media (max-width: 820px){
  .nav-links{ display: none; }
  .nav-burger{ display: inline-block; }
}

@media (max-width: 640px){
  .links-grid{ grid-template-columns: 1fr; }
  .btn{ width: auto; }
}

@media (prefers-reduced-motion: reduce){
  * { transition: none !important; scroll-behavior: auto !important; }
}
